/*--------------------------------------------- 
            Responsive styles
----------------------------------------------*/

/* low resolution monitors */
@media screen and (max-width: 1300px) {

    
}


/* tablets landscape */
@media screen and (max-width: 1025px) {

    /* HEADER */
    .top-contacts li:first-child {padding-right: 20px;}


    /* HOMEPAGE */
    .home-donation {background-attachment: scroll;}

    /* TEAM MEMBERS */
    .team-member .card {height: 415px;}
    .team-member .card-img-top {height: 270px;}


    /* CONTACT PAGE */
    .wp-block-column ._form._form_1 {width: 100% !important;}
    
}

/* tablets portrait */
@media screen and (max-width: 800px) {
    
    /* HEADER */
    .navbar-toggler {
        border-radius: 0;
        border: none;
        display: flex;
        flex-direction: column;
        padding: 0;
        overflow: hidden;
        outline: none !important;
        width: 35px;
        height: 30px;
    }
    .navbar-toggler span {
        position: relative;
        display: inline-block;
        width: 35px;
        height: 4px;
        background-color: #292a2b;
        background-image: none !important;
        border-radius: 4px;
        transition: all .3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    .navbar-toggler.collapsed span:nth-of-type(2) {
        margin: 8px 0px;
        transform: translateX(0);
    }
    .navbar-toggler.collapsed span:first-of-type {
        transform: rotate(0);
        top: 0;
    }
    .navbar-toggler.collapsed span:nth-of-type(3) {
        transform: rotate(0);
        top: 0;
    }
    .navbar-toggler span:first-of-type {
        transform: rotate(45deg);
        top: 14px;
    }
    .navbar-toggler span:nth-of-type(3) {
        transform: rotate(-45deg);
        top: -14px;
    }
    .navbar-toggler span:nth-of-type(2) {
        transform: translateX(-100px);
        margin: 10px 0;
    }

    .navbar-collapse {
        display: block !important;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 99;
        width: 100%;
        max-width: 320px;
        height: 85vh;
        background-color: #fff;
        box-shadow: 0 11px 11px 0 rgba(0,0,0, .75);
        transform: translateX(-110%);
        transform-origin: left;
        transition: all cubic-bezier(0.175, 0.885, 0.32, 1.275) .3s;
    }
    .navbar-collapse.show {
        transform: translateX(0);
        transition: all cubic-bezier(0.175, 0.885, 0.32, 1.275) .3s;
        transform-origin: left;
    }
    .navbar-collapse .main-menu {flex-direction: column;}
    .navbar .main-menu .nav-item .nav-link {
        color: #333333;
        display: block;
        border-bottom: 1px solid #e5e5e5;
        padding: 12px 20px;
    }
    .navbar .nav-item {
        margin: 0;
        width: 100%;
    }
    .navbar .nav-item .nav-link.active {
        background-color: #e5e5e5;
        background-image: none;
    }
    .main-menu .wpml-ls-item,
    .main-menu .astm-search-menu.is-menu.popup,
    .navbar .nav-item .nav-link::before {display: none;}


    /* FOOTER */
    .site-footer__contacts address {margin: 0 0 20px 0;}



    /* HOMEPAGE */

    .testimonials-carousel::before, 
    .testimonials-carousel::after {
        width: 90px;
        height: 90px;
    }
    .testimonials-carousel::before {margin-left: -60px;}
    .testimonials-carousel::after {margin-right: -60px;}


    /* DEFAULT PAGE */
    .page-intro {margin-bottom: 70px;}
    .page-template-default .featured-preview {margin: 0 auto 20px;}
}

/* mobiles */
@media screen and (max-width: 418px) {
    #page.site {overflow-x: hidden;}

    /* HEADER */
    .top-contacts {
        display: flex;
        flex-direction: column;
        text-align: center;
        padding-bottom: 6px;
    }
    .top-contacts::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 1px;
        background-color: #e1e1e1;
    }
    .top-contacts li {
        border: none !important;
        padding: 0 !important;
        height: auto;
        line-height: 2;
    }

    #google_language_translator {display: none !important;}
    .navbar {
        padding-left: 15px;
        padding-right: 15px;
    }
    .navbar-collapse {max-width: 100%;}
    .navbar-nav .nav-item.dropdown a::after {right: 15px;}
    .navbar-nav .current-menu-item .nav-link {
        background-color: #43a047;
        color: #fff;;
    }


    .testimonials-carousel::after {display: none;}
    .testimonials-carousel::before {
        margin-left: 0;
        left: 50%;
        transform: translateX(-50%);
        margin-top: -80px;
    }


    /* FOOTER */
    .site-footer__contacts,
    .site-footer__info {text-align: center;}
    .site-footer__contacts .footer-social {
        width: auto;
        float: none;
        display: inline-block;
        margin: 10px auto 0;
    }
    .footer-social li {float: none;}

    /* subscribe form */
    .subscribe-form form {
        margin: 0;
    }
    .subscribe-form ._form-content ._form_element:not(:first-of-type) {
        min-width: 100%;
        flex: 0 0 100%;
    }

    .site-footer__info .copyright {padding: 0 15px;}


    /* PAGINATION */
    .pagination {
        flex-wrap: wrap;
        margin-bottom: 30px;
    }
    .pagination .page-item {margin-bottom: 10px;}

    /* PAGES intro */
    .page-intro {margin-bottom: 60px;}
    .page-intro .entry-title {
        font-size: 36px;
        line-height: 48px;
    }



    /* HOMEPAGE */

    /* slider */
    .main-carousel .carousel-item h2 {font-size: 36px;}


    /* ABOUT us */
    .custom-page-intro {margin-bottom: 20px;}


    /* TEAM member */
    .team-member .card, 
    .team-member .card-img-top {height: auto;}
    .team-member .card-body {padding-bottom: 0;}


    /* RELATED ARTICLES */
    .related-articles-component h2.component-title {
        font-size: 30px;
        text-align: center;
    }
    .related-articles-component .related-item {text-align: center;}
}