/* ----------------------------------------------------------------
   Section b
-----------------------------------------------------------------*/
/*=================layout===============*/
.section-b {
    padding: 0 0 80px 0;
    background-color: #1f262d;
    position: relative;
}
/*=================Content==============*/
@media (min-width: 992px){
    .sticky_tab{
        position: fixed;
        background-color: #F6F6F6;
        width: 100%;
        z-index: 998;
        bottom: unset;
        /*-moz-box-shadow: 0 1px 10px rgba(16,16,16,.07);*/
        /*-webkit-box-shadow: 0 1px 10px rgba(16,16,16,.07);*/
        /*box-shadow: 0 1px 10px rgba(16,16,16,.07);*/
    }
    .sticky_tab.gloria-demos-filter{
        height: 70px;
        transition: 0s;
        -webkit-transition: 0s;
        margin-bottom: 0;
        background-color: #fff;
        border-bottom: 1px solid rgba(0,0,0,0.1);
        z-index: 10000;
    }
    .sticky_tab.gloria-demos-filter ul li.active{
        color: var(--color__text);
    }
    .sticky_tab.gloria-demos-filter ul li{
        color: rgba(19,19,19,0.5);
    }
    .sticky_tab + .gloria-main-demos-padding{
        padding-top: 175px;
    }
    .sticky_tab_disable{
        position: absolute;
        top: 0 !important;
        bottom: 0 !important;
    }
}
@media (min-width: 1500px) {
    .section-b .atbs-container {
        width: 100%;
        padding-left: 75px;
        padding-right: 75px;
    }
}
.gloria-demos-filter {
    margin-top: 0;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    background-color: #1f262d;
    width: 100%;
    z-index: 998;
    padding: 0 30px;

}
.gloria-demos-filter ul{
    padding: 0;
    margin-top: -15px;
}
.gloria-demos-filter ul li.active{
    color: #fff;
    opacity: 1;
}
.gloria-demos-filter ul li{
    color: rgba(255,255,255,0.5);
    /*opacity: 0.5;*/
    font-size: 17px;
    line-height: 1.3;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    text-transform: initial;
    margin-right: 40px;
}
.gloria-demos-filter .item-new{
    position: relative;
    /*font-weight: 600;*/
    /*animation: shake-top 4s cubic-bezier(0.455, 0.030, 0.515, 0.955) both infinite;*/
    display: block;
}
.gloria-demos-filter .item-new:before{
    content: '';
    /*color: var(--color__logo);*/
    position: absolute;
    right: -28px;
    top: -5px;
    font-size: 20px;
    background-image: url(../../images/bell.png);
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-size: cover;
    animation: shake-top 3s cubic-bezier(0.455, 0.030, 0.515, 0.955) both infinite;
}

.gloria-main-demos{
    margin: -40px -30px;
}
.mystq{
    width: calc(100% / 4);
    padding: 40px 30px;
    margin: 0;
}
.mystq-inner{
    border: none;
    box-shadow: none;
}
.mystq .thumb{
    margin: 0 0 25px 0;
    transition: 0.3s ease-in-out;
    -webkit-transition: 0.3s ease-in-out;
    box-shadow: 0 1px 10px rgba(16,16,16,.05);
    height: 265px;
    overflow: hidden;
    border-radius: 4px;
}
.mystq .thumb a{
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}
.mystq .thumb a:after{
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    background-color: rgba(255,255,255,0.5);
    webkit-transition: opacity 0.8s cubic-bezier(0.165, 0.840, 0.440, 1.000);
    transition: opacity 0.8s cubic-bezier(0.165, 0.840, 0.440, 1.000);
}
.mystq .thumb img{
    transition: 0.3s ease-in-out;
    -webkit-transition: 0.3s ease-in-out;
}
.mystq .thumb:hover{
    box-shadow: 0 50px 23px -40px rgba(50, 50, 93, 0.15);
    /*transform: translateY(-10px);*/
}
.mystq .thumb:hover a:after{
    opacity: 1;
}
.mystq .thumb:hover img{
    transform: translateY(-30px);
}
.mystq .name{
    width: 100%;
    z-index: 1;
}
.mystq .name a{
    display: block;
    color: #fff;
    transition: 0.3s ease-in-out;
    -webkit-transition: 0.3s ease-in-out;
    font-size: 1.4rem;
    /*font-weight: 600;*/
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
}
.name a:hover{
    color: var(--color__logo);

}

@keyframes shake-top {
    0%,
    100% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transform-origin: 50% 0;
        transform-origin: 50% 0;
    }
    82% {
        -webkit-transform: rotate(8deg);
        transform: rotate(8deg);
    }
    84%,
    88%,
    92% {
        -webkit-transform: rotate(-8deg);
        transform: rotate(-8deg);
    }
    86%,
    90%,
    94% {
        -webkit-transform: rotate(8deg);
        transform: rotate(8deg);
    }
    96% {
        -webkit-transform: rotate(-4deg);
        transform: rotate(-4deg);
    }
    98% {
        -webkit-transform: rotate(4deg);
        transform: rotate(4deg);
    }
}

@media (min-width: 1200px) and (max-width: 1499px){
    .section-b .atbs-container {
        width: 100%;
        padding-left: 35px;
        padding-right: 35px;
    }
    .gloria-main-demos{
        margin: -20px -17.5px;
    }
    .mystq{
        padding: 20px 17.5px;
    }
    .mystq .thumb{
        height: 210px;
        margin-bottom: 30px;
    }
}
@media (max-width: 1199px){
    .section-b .atbs-container {
        width: 100%;
        padding-left: 35px;
        padding-right: 35px;
    }
    .gloria-main-demos{
        margin: -30px -15px;
    }
    .mystq{
        width: calc(100%  / 3);
        padding: 30px 15px;
    }
    .mystq .thumb{
        height: 240px;
    }
}
@media (max-width: 1024px){
    .section-b .atbs-container {
        width: 100%;
        padding-left: 35px;
        padding-right: 35px;
    }
    .mystq{
        width: calc(100%  / 2);
    }
    .mystq .thumb{
        height: 300px;
        margin-bottom: 30px;
    }
}
@media (max-width: 991px){
    .mystq{
        width: calc(100% / 2);
    }
    .mystq .thumb{
        height: 280px;
    }
}
@media (max-width: 768px){
    .section-b .atbs-container {
        width: 100%;
        padding-left: 30px;
        padding-right: 30px;
    }
    .section-b{
        padding-bottom: 50px;
    }
    .gloria-main-demos{
        margin: -25px -15px;
    }
    .mystq{
        width: 50%;
        padding: 25px 15px;
    }
    .mystq .thumb {
        height: 250px;
    }
    .mystq .name a{
        font-size: 1.5rem;

    }
}
@media (max-width: 680px){

    .mystq .thumb {
        height: 200px;
    }

}
@media (max-width: 576px){
    .mystq{
        width: 100%;
    }
    .mystq .thumb{
        height: 330px;
        margin-bottom: 25px;
    }
}
@media (max-width: 480px){
    .mystq{
        width: 100%;
    }
    .mystq .thumb{
        margin-bottom: 20px;
    }
    .mystq .name a{
        font-size: 2rem;
    }
}
@media (max-width: 420px){

    .mystq .thumb{
        height: 245px;
    }
}
@media (max-width: 380px) {
    .gloria-main-demos{
        margin: -20px -7.5px;
    }
    .mystq{
        padding: 20px 7.5px;
    }
    .gloria-demos-filter ul li {
        margin-right: 25px;
    }
    .mystq .name a{
        font-size: 1.6rem;
    }

    .mystq .thumb{
        height: 220px;
    }
}

@media (max-width: 320px) {

    .mystq .thumb{
        height: 200px;
    }
}