.all_projects_button{
    width: 40px;
    height: 40px;
    border-radius: 50% ;
    border: 1px solid #f2eeee;
    /* padding: 3px 10px 1px 37px; */
    padding: 0;
    box-shadow: 2px 2px 2px #dcdcdc;
    position: relative;
    margin: -5px 0 0 auto;
    cursor: pointer;
}
.all_projects_button.blur{
    -webkit-filter: blur(10px);
    filter: blur(15px);
    transition: filter 0.5s;
}
.all_projects_button::before {
    display: block;
    position: absolute;
    top:63%;
    left:63%;
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    width: 30px;
    height: 30px;
    background: url(/images/all_projects/squares.svg) no-repeat;
    content: ' ';
    background-size: 70%;
}
.all_projects_head {
    display: flex;
    flex-direction: column;
    padding: 20px 0 0;
}
.all_projects{
    position: fixed;
    width: 350px;
    height: calc(100vh - 80px);
    border-radius: 20px;
    border: 1px solid #dcdcdc;
    right: -100%;
    top: 30px;
    z-index: 100;
    background: rgba(256,256,256,0.7);
    padding: 0 0 20px;
    box-sizing: border-box;
    transition: right 1s;
    /* overflow: hidden; */
    text-align: center;
    display: flex;
    flex-direction: column;
}

.all_projects.show{
    right: 20px;
    /* transition: right 1s; */
}
.all_projects_logo {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 17px;
    line-height: 20px;
    color: #3d3d3d;
    padding: 5px 20px;
    margin: 0 auto 10px;
    border: 1px solid #f2f2f2;
    border-radius: 20px;
    box-shadow: 3px 3px 6px #9E9E9E3B;
    background: #ffffffb5;
}
.all_projects_logo_img{

}
.all_projects_logo img {
    margin: 0;
    max-width: 80px;
}
.all_projects_logo .logo_title{
    margin: 5px 0 5px;
}
.all_projects_close{
    position: absolute;
    top: 5px;
    right: 5px;
    width: 25px;
    height: 25px;
    cursor: pointer;
}
.all_projects_close::before {
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: #7485F5;
    content: ' ';
    transform: rotate(45deg);
}
.all_projects_close::after {
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: #7485F5;
    content: ' ';
    transform: rotate(135deg);
}
.by_netwiz{
    margin: 0 0 15px;
    font-size: 15px;
    line-height: 17px;
}
.all_projects h2{
    padding-left: 0;
    font-size: 17px;
    line-height: 20px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0px 0 12px;
    color: #3d3d3d;
}
.all_projects_list_wrapp{
    /* border-radius: 20px;
    border: 1px solid #dcdcdc; */
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    scrollbar-width: var(--scrollbar-ff-width);
    padding: 0 10px 10px;
    border-radius: 20px;
    transition: box-shadow 1s;

}
.shadow .all_projects_list_wrapp{
    box-shadow: 0px -4px 3px 0 #bebcfb;
    transition: box-shadow .1s;
}
.all_projects_list{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 10px 0 10px;
}
.all_projects_list li{
    width: 33.3%;
}

//.all_projects_list li:nth-last-child(2):nth-of-type(4n+2)	{
  //	margin: 0 0 0 5.3333%;
  //}
//.all_projects_list li:last-of-type:nth-of-type(4n+3),
//.all_projects_list li:last-of-type:nth-of-type(4n+2){
  //	margin: 0 auto 0 5.3333%;
  //}
.all_projects_list li p{
    font-size: 11px;
    line-height: 14px;
    text-align: center;
    margin: -3px 0 13px;
    text-transform: uppercase;
    font-weight: 600;
}
.all_projects_img{
    position: relative;
}
.all_projects_img img {
    background: #ffffffb5;
    border-radius: 13px;
    display: block;
    width: 80%;
    margin: 0 auto 12px;
}
.soon .all_projects_img::before {
    display: block;
    position: absolute;
    top:0;
    right: 10%;
    width: 40px;
    height: 40px;
    background: url(/images/all_projects/skoro.svg) no-repeat;
    content: ' ';
    background-position: -40% 140%;
    background-size: 117%;
    z-index: 5;
}
.beta .all_projects_img::before {
    display: block;
    position: absolute;
    top:0;
    right: 10%;
    width: 40px;
    height: 40px;
    background: url(/images/all_projects/beta.svg) no-repeat;
    content: ' ';
    background-position: -40% 140%;
    background-size: 119%;

}
.soon .all_projects_img>img{
    /* filter: grayscale(100%) opacity(50%); */
    filter: grayscale(100%) brightness(120%) opacity(65%);
    transition: filter .3s;
    background: #fff;
}
.soon:hover .all_projects_img img{
    filter: grayscale(30%) brightness(100%) opacity(50%);
    transition: filter .3s;

}

.soon .all_projects_title{
    color: #aaaaaa;
    transition: color 0.3s;
}
.soon:hover .all_projects_title{
    color: #376ffa;
    transition: color 0.3s;
}
@media screen and (max-width: 499px) {
    .all_projects_button{
        width: 40px;
        height: 40px;
        padding: 0;
        border: none;
        box-shadow: none;
        margin: -5px 0 0 auto;
    }
    .all_projects_button::before {
        top: 61%;
        content: ' ';
        background-size: 82%;
    }
    .all_projects{
        position: fixed;
        width: 100%;
        /* height: 100vh; */
        right: 0;
        bottom: -120%;
        top: auto;
        max-height: calc(100vh - 80px) ;
        height: calc(100% - 60px);
        border-radius: 20px 20px 0 0;
        border: 1px solid #dcdcdc;
        z-index: 100;
        background: rgba(256,256,256,0.7);
        transition: bottom .5s;
        /* padding: 20px 0; */
    }
    .all_projects::before {
        display: block;
        position: absolute;
        top: -10px;
        left: calc(50% - 28px);
        width: 56px;
        height: 4px;
        background: rgba(102, 151, 243, .7);
        /* border: 1px solid #ececec; */
        border-radius: 20px;
        content: ' ';
    }
    .all_projects.show{
        right: 0;
        bottom: 0;
        top: auto;
        /* transition: bottom .5s; */
    }

    .all_projects_list_wrapp{
        padding: 0 10px 70px;
    }
}