/*
To optimize : 
    what-people-say
    what-is-math
    curriculum
    about
    home
*/


@media only screen and (max-width : 1400px) {
    .halves .half { max-width: 600px; }
    .annon-slider .annon { 
        max-width: 500px;
    }
    .annon-slider .annon p { 
        font-size: 17px;
    }
}

@media only screen and (max-width : 1300px) { 
    .curr-slider .slick-prev { left: 0px; }
    .curr-slider .slick-next { right: 0px; }
}

@media only screen and (max-width : 1200px) { 
    .halves .half { max-width: 490px; }
    .annon-slider .annon { 
        max-width: 450px;
    }
    .promo-text .wrap {
        padding-top: 51px;
    }
    
    /* single lessons */
    .page-lesson-single .item-content .item-info {
        width: 100%;
    }
    
    /* professional dev */
    .featured-videos .video-left, 
    .featured-videos .video-right {

    }
    .featured-videos .f-videos .vid-thumb {
        width: 100%;
    }
    
    /* author info */
    .author-info .video-content-1 .thumb {
        width: 100%;
    }
}

@media only screen and (min-width : 1080px) { 
    .vid-bg {
        display: none;
    }
    .wow-bg {
        display: block;
    }
}

@media only screen and (max-width : 1080px) { 
    .vid-bg {
        display: block;
    }
    .wow-bg {
        display: none;
    }
    
}

@media only screen 
    and (max-width : 1142px)
    and (min-width : 992px) {
        #main-header .hlogo {
            max-width: 150px;
            margin-left: 0px;
        }
        #main-header .navbar .nav-link {
            font-size: 14px;
            margin-left: 0px;
        }
        #main-header .menu-bg {
            height: 76px;
        }
        .games .dgames .testimonials { width: 85%; }
        .testimonials .slick-prev { left: 0px; z-index: 10; }
        .testimonials .slick-next { right: 0px; }
        
        .resources .gally .sub {
            max-width: 220px;            
        }
        
}

@media only screen and (max-width : 992px) {
    #main-header .navbar .s-shop {
        margin-left: 0px;
        margin-top: 5px;
    }    
    #main-header .navbar .nav-link {
        font-size: 14px;
        margin-left: 5px;
        padding: 5px;
        margin-bottom: 5px;
    }    
    #main-header .drop-menu-1 { margin-bottom: 10px; }    
    #main-header .drop-menu-1 ul { width: 100%; }
    #main-header .drop-menu-1 ul li.item-list { width: 100%; margin-bottom: 5px; }    
    #main-header .dm-menu ul { 
        width: 100%;
        margin-bottom: 10px;
    }
    #main-header .dm-menu .dropdown-item {
        white-space:normal; 
    }
    #main-header .navbar-nav .dropdown-menu {
        margin-bottom: 10px;
        width: 100%;
    }
    
    .flexme { 
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }    
    /* 3rd level */
    #main-header .drop-menu-1 .drop-3rd ul {  
        display: block;
    }
    
    /* default */
    #side-Hero h1 { text-align: center;
        line-height: 80%;
    }
    
    /* mailing list */
    .mailing-list .nr-content {
        justify-content: center;
    }
    .mailing-list .wrap {
        padding: 10px 0;
    }
    .mailing-list .white-btn { margin: 20px 0; }
    
    .halves {
        flex-wrap: wrap;        
    }
    .halves .half { max-width: 720px; }
    .annon-slider { 
        padding-bottom: 80px;
    }
    .annon-slider .annon { 
        max-width: 580px;
    }
    .annon-slider .annon p { 
        font-size: 19px;
        margin-left: 25px;
        margin-right: 25px;
    } 
    
    .games .dgames .dcontent .dtext { 
        width: 50%;
        margin-right: 20px;
        margin-left: 20px;
    }
    .games .dgames .testimonials { width: 85%; }
    .testimonials .slick-prev { left: 0px; z-index: 10; }
    .testimonials .slick-next { right: 0px; }
    
    footer .dgroup .dpart-1 {
        max-width: 100%;
    }
    footer .dgroup .dpart-2 {
        margin-left: 50px;
    }
    footer .dgroup .dpart-3 {
        margin-right: 50px;
    }
    
    /* about */
    .what-is-math .dtext { margin-top: 0px; }
    
    /* blog */
    .b-post .thumb {
        margin-right: 20px;
    }
    .b-post {
        margin-left: auto;
        margin-right: auto;
    }
    .page-blog .pagination {
        justify-content: center;
    }
    .blog-posts .post-pagination {
        margin-bottom: 30px;
    }
    .blog-sidebar { 
        max-width: 800px; 
        margin: 0px auto;
    }
    
    .filter-items .item {
        margin: 0 5px 30px;
        width: 300px;
    }
    .filter-items .item-thumb {
        width: 280px;
    }
    
    /* author */
    .author-info .testimonials {
        margin: 23px 20px 23px;
        width: auto;
    }
    
    .page-events .ef_theme_1 .r_content {
        margin-left: 0px;
    }
}

@media only screen and (max-width : 991px) {
    .d-drop { display: block; }
    .m-drop-menu { 
        display: block;
        margin-right: 10px;
    } 
    .lesson-link {
        max-width: 80%;
    }
    /* .lesson-menu { display: block !important; } */
    /* mailing list */
    .drop-3rd { width: 100%; }
    .mailing-list .nr-content h3,
    .mailing-list .nr-content .text {
        margin-left: 0px;
    }
    .mailing-list .nr-content .text {
        border: none;
        padding-left: 0px;
    }
    .mailing-list .nr-content .text,
    .mailing-list .nr-content .btn {
        margin-bottom: 20px;
        margin-left: 0px;
    }
    .mailing-list .white-btn { margin: 0px 0; }
    
    .games .dgames .dcontent {
        flex-wrap: wrap;
    }
    .right-image .dtext {
        margin-right: 0px;
    }
    .games .dgames .dcontent .dtext {
        width: 80%;
        text-align: center;
        margin: 0px auto 30px;
    }
    .games .dgames .dcontent .dtext .pad {
        padding: 0px;
    }
    .games .dgames .dtext hr {
        margin: 0px auto;
    }
    .games .dgames .gicons {
        margin: 0px auto;
        max-width: 500px;
    }
    .games .dgames .gbuttons {
        justify-content: center;
    }
    .games .dgames .dcontent .dimage {
        margin: 0px auto 30px;
    }
    
    .games .dgames .right-image .dimage { display: none; }
    .games .dgames .right-image .dimage-alt { display: block; }
    
    .games .dgames .testimonials { width: 85%; }
    .testimonials .slick-prev { left: 0px; z-index: 10; }
    .testimonials .slick-next { right: 0px; }
    
    .development .dcontent { 
        margin: 0px auto 30px;
    }
    .development .vid-thumb {
        margin: 0px auto;
        min-height: 320px;
        max-width: 570px;
    } 
    
    .resources .gally .main {
        max-width: 720px;
        margin: 0px auto 30px;
    }
    .resources .gally .main-sub .sub {
        max-width: 220px;
    }
    
    .the-vision .our-goal .dcontent {
        width: 100%;
        max-width: 600px;
        margin: 0px auto;
    }
    .the-results .wrap {
        padding: 30px 0;
    }
    .the-results .img-right {
        margin-top: 0px;
    }
    .the-results .img-right .dcontent {
        padding-top: 0px;
    }
    .the-results .img-left .dimage,
    .the-results .img-right .dimage,
    .the-results .title-left .dimage {
        justify-content: center;
        margin-left: 0px;
        margin-right: 0px;
        text-align: center;
    }
    .the-results .title-left .dimage img,
    .the-results .img-right .dimage img {
        margin: 0px;
    }
    
    .the-survey .img-right .dcontent .title {
        text-align: center !important;
    }
    .the-survey .img-right .dcontent {
        text-align: center;
    }
    .the-survey .img-right .dcontent .btn {
        margin-bottom: 30px;
    }
    .the-survey .text-below {
        max-width: 100%;
        margin: 0px auto;
    }
    .the-survey .img-right .dcontent {
        padding-top: 0px;
    }
    
    .page-curriculum .testimonials {
        margin-bottom: 10px;
    }
    
    /* free lessons */
    .page-free-lessons .lessons .le_box {
        margin: 0px auto 20px;
    }
    .lesson-text .wrap {
        padding: 30px 0 20px;
    }
    
    .filter-items .pad {
        margin-bottom: 20px;
    }
    
    /* what people say */
    .card-columns {
        column-count: 2;
    }
    
    /* what is math */
    .page-what-is-math .flex-post .blog-post .fpost {
        margin: 0px 15px;
    } 
    
    .normal .img-right .dimage, 
    .normal .img-right-border .dimage {
        text-align: center;
    }
    .normal .img-right .dimage img {
        margin: 0px;
    }    
}

@media only screen and (max-width : 915px) {
    
    .resources .gally .main-sub .sub {
        max-width: 500px;
    }
    .resources .gally .main-sub {
        justify-content: center;
    }
    
    footer .dgroup .dpart-1 .dcontent,
    footer .dgroup .dpart .social {
        margin-right: 0px;
    }
    
    footer .dgroup .dpart-2, 
    footer .dgroup .dpart-3 {
        margin: 0px 50px;
        max-width: 100%;
    }       
    footer h6 { text-align: center; }
    footer .dgroup .dpart .links {
        justify-content: center;
    }
    
    footer .search-container {
        justify-content: center;
    }
    
    /* about */
    .they-say .testimonials .control-prev {
        left: 0px;
    }
    .they-say .testimonials .control-next {
        right: 0px;   
    }
}

@media only screen and (max-width : 768px) {
    
    #quote-btn {
        margin-bottom: 20px;
    }
    
    .tabbers .wrap {
        padding-bottom: 30px;
    }
    
    .tabbers .gal-3 .timg { 
        margin-bottom: 20px;
    }
    
    .games .dgames .dgame {
        padding-bottom: 0;
    }
    
    .ng-panel .wrap {
        padding: 30px 0 0;
    }
    
    .ng-panel .panels {
        margin-bottom: 20px;
    }
    
    .ng-panel .panels .boxes {
        justify-content: space-around;
    }
    
    .ng-panel .panels .boxes .box-link {
        margin-bottom: 20px;
    }
    
    .page-new-awg .game .game-pic img {
        max-width: 100%;
    }
    
    .page-new-awg .wrap {
        padding: 30px 0 0;
    }
    
    .page-new-awg .game {
        margin-bottom: 30px;
    }
    
    #side-Hero h1 { 
        font-size: 40px; 
        line-height: 150%;
    }
    
    .mobile-hide { display: none !important; }
    .mobile-show { display: inline-block !important;; }
    .mailing-list .nr-content .text,
    .mailing-list .nr-content h3 {
        width: 100%;        
        text-align: center;
    }    
    .lessons .le_box { margin-bottom: 30px; }
    .curr-slider .slick-next,
    .curr-slider .slick-prev {
        z-index: 10;
    }
    .games .dgames .dcontent .dimage {
        width: 65%;
    }
    footer .dgroup .dpart .links {
        justify-content: space-between;
    }
    footer .copyright {
        justify-content: center;
    }
    
    /* about */
    .what-is-math .dimage { justify-content: center; }
    .what-is-math .dtext { 
        margin-bottom: 30px;
        text-align: center;
    }
    .what-is-math .dtext .text-left {
        text-align: center !important;
    }
    .math-team .wrap { padding: 30px 0 0; }
    .press-media .link:hover .press { 
        height: 100%;
    }
    
    /* blog */
    .b-post {
        padding-bottom: 0px;
        margin-bottom: 30px;
    }
    .b-post .post-link { 
        flex-wrap: wrap;
    }
    .b-post .thumb {
        width: 100%;
        margin-right: 0px;
    }
    .blog-list .wrap {
        padding: 30px 0 0;
    }
    
    /* article */
    .single-post article {
        padding-bottom: 0px;
    }
    .single-post .blog-posts {
        margin-bottom: 30px;
    }
    
    /* careers */
    .experience .wrap {
        padding: 20px 0;
    }
    .job-posting .wrap {
        padding: 30px 0;
    }
    .page-careers .video-content-1 {
        margin: 0 0px 20px;
    }
    .job-posting .top .title-top {
        line-height: 90%;
    }
    .job-posting .top,
    .reenie-top .top .title-main {
        margin-bottom: 0px;
    }
    .job-posting .postings .posn {
        margin-bottom: 20px;
    }
    
    /* contact */
    .ncontact {
        background-image: none;
    }    
    .ncontact .pad {
        padding: 30px 0 30px;
    }
    .ncontact .ninfo {
        max-width: 100%;
        text-align: center;
    }
    .ncontact .ninfo .title { 
        text-align: center !important; 
    }
    .ncontact .nform-bg .pad {
        padding: 0px;
        padding-bottom: 10px;
    }
    .ncontact .nform {
        margin: 0px auto;
        text-align: center;
    }
    .ncontact .nform .text-left {
        text-align: center !important;
    }
    .gform-wrap {
        padding-bottom: 0px;
    }
    .ncontact h2 {
        margin-top: 0px;
    }
    
    /* curriculum */
    .curr-gallery .wrap {
        padding: 30px 0 10px;
    }
    .the-vision .wrap {
        padding: 30px 0;
    }    
    .the-vision .our-goal .dcontent {
        width: 100%;
    }
    .the-vision .our-goal .dcontent .dflex-center {
        flex-wrap: wrap;
    }
    .the-vision .our-goal .dcontent .productive,
    .the-vision .our-goal .dcontent .playful {
        max-width: 100%;
        margin: 10px 0;
    }
    
    .the-results .wrap {
        padding: 30px 0;
    }
    .the-results .img-left {
        margin-top: 30px;
    }
    .the-results .img-right {
        margin-top: 0px;
    }
    .the-results .img-left .dimage {
        margin: 0px;
        text-align: center;
    }
    .the-results .img-right .dcontent {
        padding-top: 10px;        
    }
    .the-results .img-right .dimage {
        text-align: center;
        justify-content: center;
        margin-bottom: 0px;
    }
    .the-results .img-right .dimage img {
        margin-right: 0px;
    }
    .the-results .title-left {
        margin-top: 0px;
        margin-bottom: 0px;
    }
    .the-results .title-left .dimage {
        justify-content: center;
    }
    .the-results .title-left .dimage img {
        margin-right: 0px;
    }
    .the-survey .img-right .dcontent {
        padding-top: 0px;
    }
    
    /* free lessons */
    .filter-items .item {
        margin: 0 10px 30px;
    }
    
    .grid-control .filter-counter ul {
        flex-wrap: wrap;
        justify-content: space-evenly;
    }
    .filter-drop .dropme li {
        width: 100%;
        text-align: center;
    } 
    .lesson-grid .wrap {
        padding: 30px 0;
    }
    
    /* single-lesson */
    .page-lesson-single .item-content .item-row {
        margin-top: 0px;
    }
    .page-lesson-single .item-content {
        padding-bottom: 0px;
    }
    .item-content .item-meta {
        margin-bottom: 20px;
    }
    .page-lesson-single .item-content .item-head {
        margin-bottom: 10px;
        flex-wrap: wrap;
    }
    .page-lesson-single .item-content .img-holder img {
        width: 100%;
    }
    .page-lesson-single .item-content .img-holder {
        max-width: 500px; 
        margin: 0px auto 20px;
    }
    .page-lesson-single .item-content .item-info {
        padding: 0px 30px;
    }
    .page-lesson-single .item-content .item-meta .meta-list li .value {
        margin-right: 0px;
    }
    
    .page-lesson-single .item-content .item-head .back {
        width: 100%;
        text-align: right;
    }
    .accord-list .wrap {
        padding: 30px 0 20px;
    }
    .accord-list .a-block .title {
        text-align: left;
    }
    .accord-list .a-block .title h4 {
        font-size: 20px;
        margin-bottom: 0px;
        display: flex;
        align-items: center;
    }
    .accord-list .a-block {
        padding: 9px 50px 9px 10px;
    }
    .accord-list .acc-body {
        padding: 0px 20px 17px;
    }
    
    /* professional development */
    .featured-videos .wrap {
        padding: 30px 0 0;
    }
    .featured-videos .title {
        margin-bottom: 10px;
    }
    .featured-videos .video-left, 
    .featured-videos .video-right {
        margin-bottom: 30px;
    }
    .featured-videos .f-videos .vid-thumb {
        margin-bottom: 10px;
    }
    .top-filter .top {
        flex-wrap: wrap;
    }
    .video-series .wrap {
        padding-top: 20px;
    }
    
    /* shop */
    .shop-main .wrap {
        padding: 30px 0 0;
    }
    .shop-main .top-filter .top {
        flex-wrap: wrap;
    }
    .shop-main .top hr {
        margin: 0px;
    }
    .shop-main .product-group-3 .slick-next {
        right: 0px;
    }
    .shop-main .product-group-3 .slick-prev {
        left: 0px;
    }
    .shop-main .items-curriculum .container,
    .shop-main .items-games .container,
    .shop-main .items-others .container {
        text-align: center;
    }    
    
    .shop-main .product-group-3 .prod-link {
        margin: 0px auto;
    }
    .shop-main .top .title {
        width: 100%;
    }
    .top-filter .top {
        justify-content: center;
    }
    
    .curriculum-top .item-head .btn, .game-top .item-head .btn {
        margin-bottom: 20px;
    }
    
    .shop-related .items-curriculum .ic-top h4 {
        width: 100%;
    }
    .shop-related .items-curriculum .ic-top {
        flex-wrap: wrap;
        margin-bottom: 30px;
    }
    .shop-related .items-curriculum .ic-top .back {
        margin-top: 10px;
        display: inline-block;
        text-align: center;
        width: 100%;
    }
    .shop-related .wrap {
        padding: 10px;
    }
    .shop-related .flex-products {
        margin-bottom: 0px;
    }
    .shop-related .items-curriculum {
        margin-bottom: 30px;
    }
    
    /* author info */
    .author-info .wrap {
        padding: 0px;
    }
    .author-info .bord{
        margin: 0px auto 30px;
    }
    .author-info .top .title { 
        text-align: center !important;
    }
    .author-info .top {
        text-align: center;
    }
    .author-pad { 
        padding: 0px;
        padding-top: 30px;
    }
    .author-info .testimonials .text {
        padding: 20px;
    }
    .title-content-1 .pad {
        padding-top: 10px;
        margin-bottom: 20px;
    }
    .author-info .video-content-1 {
        margin-bottom: 30px;
        margin-left: 0px;
    }
    .background-list .bullet-row {
        padding: 0 30px;
    }
    .background-list .wrap {
        padding: 30px 0 0 0;
    }
    .autobio .wrap {
        padding: 30px 0 10px 0;
    }
    
    /* what people say */
    .card-columns {
        column-count: 1;
    }
    .wps-cards .card {
        max-width: 100%;
    }
    
    .wps-all .wrap {
        padding: 30px 0;
    }
    .wps-all .top {
        margin-bottom: 30px;
    }
    .wps-all .top .title {
        margin-top: 0px;
        margin-left: 0px;
    }
    .wps-all .pad {
        padding-top: 0;
    }
    
    /* what is math */
    .normal .img-right .dcontent {
        padding-top: 0px;
    }
    .normal .img-right .dimage, 
    .normal .img-right-border .dimage {
        text-align: center;
    }
    .normal .img-right .dimage img {
        margin: 0px;
    }
    
    .page-what-is-math .vid-left {
        padding-top: 20px;
        padding-bottom: 0px;
    }
    .math-is-art .testimonials {
        margin-bottom: 10px;
    }
    .math-is-art .testimonials .text {
        padding: 20px;
    }
    .math-is-art .vid-left .vid-link {
        margin: 0px auto 30px;
    }
    .math-is-art .vid-left .dcontent {
        padding-top: 25px;
    }
    
    .page-what-is-math .flex-post .blog-post {
        flex-wrap: wrap;
    }
    .page-what-is-math .flex-post .blog-post .fpost {
        max-width: 100%;
    }
    .page-what-is-math .flex-post .blog-post .post-link {
        display: flex;
        margin-bottom: 10px;
    }
    .what-math-feels .container {
        max-width: 100%;
    }
    .page-what-is-math .flex-post .blog-post {
        padding-top: 15px;
    }
    .page-what-is-math .flex-post .blog-post .feat-img {
        min-width: 270px;
        margin-right: 20px;
        max-height: 180px;
    }
    .page-what-is-math .flex-post .blog-post .top {
        padding-bottom: 10px;
        border-bottom: 1px solid #eee;
    }
    .page-what-is-math .flex-post .blog-post .post-excerpt {
        padding-top: 15px;
    }
    .page-what-is-math .flex-post .blog-post .fpost {
        border-bottom: 1px solid rgba(31, 83, 135, 0.3);
        margin-bottom: 15px;
    }
    
    .what-math-feels .wrap {
        padding: 30px 0;
    }
 
    /* who we help */
    .page-who-we-help .who-we-help .wrap {
        padding: 30px 0;
    }
    .page-who-we-help .top {
        margin-bottom: 30px;
    }
    .page-who-we-help .img-right-border {
        padding-top: 0px;
    }
    .page-who-we-help .m-cat {
        padding-bottom: 10px;
    }
    .who-we-help .title {
        margin-bottom: 0px;
    }
    .page-who-we-help .testimonials .text {
        padding: 20px;
    }
}

@media only screen and (max-width : 668px) { 
    .filter-items .item {
        width: 400px;
        margin-left: 100px;
    }
    .filter-items .item-thumb {
        width: 370px;
    }
}


@media only screen and (max-width : 600px) {
    #side-Hero h1 {
        font-size: 40px;
        line-height: 130%;
    }
    
    /* about */
    .math-team .row { height: auto; }
    
    /* free lessons */
    .filter-items .item {
        width: 400px;
        margin-left: 75px;
    }
    .filter-items .item-thumb {
        width: 370px;
    }
	.box .dlink .dtext p, .box .dlink-alt .dtext p, .lessons .le_box p, .games .dgames .gtext p, .development .dcontent p, .resources .gally .sub h6, footer .dgroup .dpart .links a , 	footer .copyright, #main-header .navbar .nav-link{font-size: 17px;}
	.testimonials .text p{ font-size:18px;}
	footer .dgroup .dpart .links ul li{ margin-bottom:13px;}
	#main-header .dropdown-item, #main-header .dropdown-item ul li a, #main-header .drop-menu-1 .drop-3rd ul li a {
    font-size: 16px;
}
	p{ font-size:17px;}
}

@media only screen and (max-width : 560px) {
    .filter-items .item {
        margin-left: 45px;
    }    
    
    .single-product-wc .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image:first-child img {
        width: 100%;
        min-width: 100%;
    }
    
    .single-product-wc .item-content .item-head,
    .single-product-wc .item-content .item-top {
        width: 100%;
        margin-bottom: 30px;
        text-align: center;
    }
    
    .woocommerce div.product form.cart div.quantity {
        display: none;
    }
    
    .single-product-wc form.cart  {
        text-align: center;
        width: 100%;
    }
}

@media only screen and (max-width : 480px) {

    
    .slick-prev { left: 0px;}
    .slick-next { right: 0px; }
    .games .dgames .dcontent .dtext { width: 100%; }
    
    .games .dgames .gbuttons { flex-wrap: wrap; }
    .games .dgames .gbuttons .btn { margin-bottom: 20px; }
    
    .vid-bg { display: none; }
    .mobile-bg { 
        display: block;
        height: 284px;
    }
    
    .games .dgames .dcontent .dimage {
        width: 100%;
    }
    
    /* padding + margin */
    .mission .wrap { padding: 40px 0 30px; }
    .mission .title { margin-bottom: 0px; }
    .promo-text .wrap { padding-top: 40px; }
    .lessons .wrap { padding: 40px 0; }
    .lessons .sub-title { margin-bottom: 40px; }
    .games .wrap { padding: 40px 0 0px; }
    .games .dgames .dgame { padding-bottom: 0px; }
    .curriculum .wrap { padding: 40px 0; }
    .curr-slider { margin: 20px 0; }
    .development .wrap { padding: 20px 0 40px; }
    .development .dcontent .more { margin-bottom: 40px; }    
    .resources .wrap { padding: 40px 0 0; }
    .resources .gally { margin: 40px 0 20px; }
    
    footer .dgroup .dpart-2, 
    footer .dgroup .dpart-3 { margin: 0px 20px;}
    
    footer .dgroup .dpart .links ul {
        width: 100%;
    }
    footer .dgroup .dpart .links ul li {
        text-align: center;
    }
    footer .dgroup .dpart .links {
        flex-wrap: wrap;
    } 
    footer .copyright { text-align: center; }
    
    /* about */
    .what-is-math .wrap {
        padding: 30px 0;
    }
    .what-people-say .wrap {
        padding: 30px 0;
    }
    .what-people-say .title{
        margin-bottom: 30px;
    }
    .they-say #myTab li { 
        width: 100%; 
        text-align: center;
        margin: 0px;
    }
    .they-say #myTab li:before {
        display: none;
        margin: 0px;
    }
    .they-say #myTab li:first-child {
        margin-left: 0px;
    }
    .math-team .wrap {
        padding: 30px 0 0;
    }
    .math-team .member .bare {
        min-height: auto;
        padding-bottom: 30px;
    }
    
    .press-media .wrap {
        padding: 30px 0;
    }
    .foot-contact .wrap {
        padding: 30px 0;
    }
    
    /* free lessons */
    .lessons .le_box {
        max-width: 100%;
    }
    .page-free-lessons .down-arrow {
        left: 48%;
    }
    
    /* free lessons */
    .filter-items .item {
        width: 330px;
        margin-left: 55px;
    }
    .filter-items .item-thumb {
        width: 310px;
    }    

    /* lesson single */
    .page-lesson-single .item-content .item-info {
        padding: 0px 10px;
    } 
    
    /* shop */
    .shop-main .product-group-3 .prod-link {
    }

    /* what is math */
    .page-what-is-math .flex-post .blog-post .post-link {
        flex-wrap: wrap;
    }
    .page-what-is-math .flex-post .blog-post .feat-img {
        margin: 0px auto 20px;
    }
}

@media only screen and (max-width : 470px) {
    
}

@media only screen and (max-width : 440px) {
    .filter-items .item { margin-left: 0px }
}

@media only screen and (max-width : 400px) {
    
    #side-Hero h1 {
        font-size: 30px;
    }
    
    #main-header .dm-menu li .dropdown-item {
        flex-wrap: wrap;
        padding: 10px;
    }
    #main-header .dm-menu li .dropdown-item img {
        max-width: 45px;
        margin-right: 10px;
    }
    
    .games .dgames .gicons .icon {
        max-width: 60px;
        display: flex;
        align-items: center;
    }

}


@media only screen and (max-width : 370px) {
    #main-header .dm-menu li .dropdown-item img {
        display: none;
    }
}


@media all and (-ms-high-contrast:none) {
    _:-ms-lang(x), .box-row .box { 
        max-height: 355px; 
    }    
    _:-ms-lang(x), .box-row .box .dp-for-ie {
        max-height: 80px;
        overflow: hidden;
    }
    _:-ms-lang(x), .annon-slider, .slick-slide, .promo-text .wrap {
        height: auto;   
    }
}

@media only screen and (max-width : 1200px) { 
	.linkers .flex-item { flex: 0 0 33.33%; }
	.f_cards .dmedia { width: 100%; }
}

@media only screen and (max-width : 767px) { 
	.cardic,
	.linkers { row-gap: 30px; }
	.flexic .flex-item,
	.linkers .flex-item { flex: 0 0 100%; }
	.f_editor p br { display: none; }
	.cardic .title br,
	.linkers .title br { display: none; }
	.f_cards .div-link { min-height: unset; padding: 25px 0; }
}



