@media only screen and (min-width: 1400px) and (max-width: 4000px) {

}

@media only screen and (min-width: 767px) and (max-width: 991px)  {

}       

@media only screen and (min-width: 0px) and (max-width: 1024px)  {

    .nav-btn {
        z-index: 10000;
        width: 36px;
        height: 42px;
        cursor: pointer;
        position: relative;
        margin: 19px 5px 0 0;
        display: block;
        padding-right: 35px;
    }

    .nav-btn span {
        display: block;
        border-radius: 20%;
        height: 4px;
        background-color: #3c5a5d;
        position: absolute;
        right: 0;
        top: 0;

        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);

        -webkit-transition: .1s ease-in-out;
        -moz-transition: .1s ease-in-out;
        -o-transition: .1s ease-in-out;
        transition: .1s ease-in-out;

        -webkit-transform-origin: left center;
        -moz-transform-origin: left center;
        -o-transform-origin: left center;
        transform-origin: left center;
    }

    .nav-btn span:nth-child(1) {width:100%;}
    .nav-btn span:nth-child(2) {width:100%; top: 7px;}
    .nav-btn span:nth-child(3) {width:100%; top: 14px;}

    .nav-btn:hover span:nth-child(2) {width: 100%;}
    .nav-btn:hover span:nth-child(3) {width: 100%;}

    .nav-btn.open {transition-duration: .3s;}
    .nav-btn.open span {box-shadow: none; background-color: #3c5a5d; right: -5px;}

    .nav-btn.open span:nth-child(1) {width:100%; transform: rotate(45deg); top: -3px;}
    .nav-btn.open span:nth-child(2) {opacity: 0;}
    .nav-btn.open span:nth-child(3) {width:100%; transform: rotate(-45deg); top: 22px;}

    nav {
        overflow: hidden;
    }

    nav.open {
        height: 100%;
    }

}




/*credit*/

@media(min-width: 1460px) {
    span.count-info,
    .credit .size-block span.count-info {
        font-size: 30px;
        line-height: 36px;
    }

    .credit .count-info-block:nth-child(2) h5.title-info {
        height: auto;
    }

    .credit .count-info-block,
    .credit .size-block {
        padding: 40px 30px 36px 30px;
    }

    .credit .size-block .canvas-block {
        width: 325px;
        height: 325px
    }

    .credit .size-block .canvas-block .returned {
        margin-top: 110px;
    }
}





/*invite-a-friend*/

@media(min-width: 1460px) {
    .invite-a-friend .friend-offer h1 {
        text-align: left;
        margin-left: 100px;
        padding: 152px 0;
        color: white;
        font-size: 63px;
        margin-bottom: 80px;
        max-width: 725px;
        line-height: 72px;
    }
}






/*credit*/

@media(max-width: 1200px) and (min-width: 992px) {
    .credit .count-info-block:nth-child(3) h5 {
            margin-bottom: 10px;
        }
    }

@media(max-width: 1200px) {

    .custom-container {
        padding-top: 18px;
    }

    .size-block .total-price span {
        margin-bottom: 10px;
    }

    .size-block .canvas-block {
        margin: 0 auto;
        width: 292px;
        height: 292px;
    }

    /*.credit .count-info-block:nth-child(2) .col-sm-4:nth-child(2) h5,*/
    /*.credit .count-info-block:nth-child(2) .col-sm-4:nth-child(2) span {*/
    /*    text-align: center;*/
    /*}*/

    
    .profile form a.button.button-outline-primary {
        width: auto;
        display: table;
        margin: 0 auto;
    }




}

@media(max-width: 1024px) {
    
    .button {
        padding: 15px 42px;
    }

    h5.title-info,
    .credit .count-info-block .contributions {
        font-size: 14px;
        line-height: 19px;
    }
}

@media(max-width: 992px) {
    .credit .size-block {
        margin-bottom: 20px;
    }

    .credit .count-info-block .contributions {
        height: auto;
    }

    /*.credit .count-info-block:nth-child(2) .col-sm-4:nth-child(2) h5,*/
    /*.credit .count-info-block:nth-child(2) .col-sm-4:nth-child(2) span {*/
    /*    text-align: left;*/
    /*}*/
}


@media(max-width: 1024px) {
    .mobile-block {
        position: absolute;
        z-index: 10001;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 200px;
        top: 15px;
        left: 20px;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }

    header.show-menu .mobile-block {
        position: fixed;
    }
    .mobile-block a img {
        width: 75px;
    }


    header nav {
        margin-left: -250px;
    }

    header.show-menu nav {
        margin-left: 0;
        box-shadow: 0 0 6px 4px rgb(128 127 128 / 15%);
    }
    .custom-container {
        padding: 0;
        margin-left: 0;
    }

    header nav .logo {
        opacity: 0;
    }
}


@media(max-width: 767px) {
    .profile {
        padding-bottom: 45px;
    }



    .credit .count-info-block:nth-child(2) h5.title-info {
        height: auto;
    }

    .credit .count-info-block .next-contribution span {
        margin-top: 10px;
    }

    .credit .count-info-block:last-child {
        margin-bottom: 0;
    }
}

@media(max-width: 575px) {
    .credit .count-info-block .contributions {
        text-align: left;
        margin-top: 15px;
    }

    nav.second-nav ul.my-docs li {
        padding: 0 20px 12px 16px;
        line-height: 20px;
    }

    nav.second-nav ul.my-docs li a {
        font-size: 13px;
    }


}


@media(max-width: 532px) {
    .credit .count-info-block .next-contribution span {
        margin-top: 6px;
        text-align: left;
    }
    .credit .count-info-block:nth-child(2) span.count-info {
        margin-bottom: 20px;
    }
}

@media(max-width: 425px) {

    h1.info-heading {
        font-size: 29px;
        margin: 45px 0 25px 0;
        line-height: 38px;
    }

    .credit .count-info-block a.button {
        font-size: 13px;
        padding: 11px 17px;
    }


}

@media(max-width: 418px) {
    .credit .count-info-block:nth-child(3) h5 {
        margin-bottom: 15px;
    }
}

@media(max-width: 375px) {
    .credit .size-block .canvas-block {
        width: 250px;
        height: 250px;
    }

    .credit .size-block .canvas-block .returned {
        margin-top: 68px;
    }

    .credit .size-block .canvas-block .remaining {
        margin-bottom: 60px;
    }
}



/*personal-documents*/

@media(max-width: 992px) {
    .contract-credit .contract-and-terms a {
        display: block;
        margin-top: 15px;
        margin-right: 0;
    }

    .sec-heading {
        margin-bottom: 25px;
    }
}

@media(max-width: 575px) {
    .contract-credit,
    .profile form{
        margin-top: 30px;
    }
}

@media(max-width: 425px) {
    .contract-credit .contract-and-terms a {
        font-size: 15px;
    }

    .contract-credit .contract-and-terms a img {
        margin-top: -1px;
    }

    .contract-credit,
    .profile form {
        padding: 30px 20px;
    }

}




/*invite a friend*/

@media(max-width: 1200px) {
    .what-we-offer {
        padding: 0;
    }
    .invite-a-friend .friend-offer h1 {
        font-size: 45px;
        line-height: 54px;
        margin-left: 50px;
        padding: 94px 0;
        margin-bottom: 50px;
    }
}

@media(max-width: 1024px) {
    .invite-a-friend .friend-offer h1 {
        padding: 80px 0;
        font-size: 35px;
        line-height: 44px;
        margin: 0 20px 40px 70px;
    }

    .invite-a-friend .friend-offer {
        background-size: cover;
    }
}

@media(max-width: 992px) {
    .what-we-offer .offer-info {
        margin-bottom: 55px;
    }

    .invite-a-friend-form form {
        margin-top: 0;
    }
}

@media(max-width: 767px) {
    .invite-a-friend .friend-offer h1 {
        margin-bottom: 0;
    }

    .what-we-offer .offer-info {
        margin-bottom: 0;
        margin-top: 50px;
    }
}

@media(max-width: 575px) {
    .invite-a-friend .friend-offer h1 {
        padding: 70px 0;
        margin-left: 20px;
    }

    .what-we-offer .offer-info p {
        margin: 0;
    }

    .invite-a-friend-form form a.button {
        width: 100%;
    }
}

@media(max-width: 425px) {

    .what-we-offer .offer-info {
        margin-top: 45px;
    }

    .invite-a-friend .friend-offer h1 {
        font-size: 28px;
        line-height: 33px;
        padding: 45px 0;
    }

    .what-we-offer .offer-info img {
        max-width: 88px;
        max-height: 60px;
        margin-bottom: 8px;
    }

    .what-we-offer .offer-info h5 {
        margin-bottom: 4px;
        font-size: 19px;
    }

    .what-we-offer .offer-info p {
        font-size: 15px;
    }
}


/*invite-a-friend-form*/

@media(max-width: 992px) {
    .invite-a-friend-form form .form-group {
        width: 100%;
    }
}

@media(max-width: 767px) {
    .invite-a-friend-form {
        margin-top: 45px;
    }
}

@media(max-width: 575px) {
    .invite-a-friend-form form .social-networks {
        margin-top: 35px;
    }
}



/*join-now*/

@media(max-width: 1200px) {
    .join-now {
        padding: 80px 20px 80px 45px;
    }
}

@media(max-width: 1024px) {
    .join-now {
        padding: 50px 20px 45px 25px;
    }

    .join-now h3 {
        font-size: 34px;
        line-height: 41px;
        margin-bottom: 20px;
    }
}

@media(max-width: 767px) {
    .join-now {
        padding: 50px 20px 40px 20px;
        margin: 55px 0 0 0;
    }
}

@media(max-width: 575px) {
    .join-now h3 {
        font-size: 23px;
        line-height: 32px;
    }

    .join-now {
        padding: 40px 20px 30px 20px;
    }
}

@media(max-width: 320px) {
    .join-now h3 {
        line-height: 30px;
        font-size: 20px;
    }
}

/*sec-nav*/

@media(max-width: 1200px) {
    nav.second-nav ul li {
        padding: 0 0 0 34px;
        margin-left: 40px;
    }

    nav.second-nav ul li a {
        font-size: 13px;
    }

    nav.second-nav ul li a img {
        width: 28px;
        margin-top: -1px;
    }
}

@media(max-width: 1024px) {
    nav.second-nav {
        margin: 0;
        padding: 20px 0 0 0;
    }
}

@media(max-width: 1024px) and (min-width: 992px) {
    .profile .second-nav a.button {
        float: right;
        position: relative;
        left: 60px;
    }
}

@media(max-width: 992px) {
    .second-nav a.button {
        display: table;
        margin: 15px 0 0 auto;
    }
}

@media(max-width: 767px) {

    h1.info-heading {
        text-align: center;
    }

    nav.second-nav ul {
        justify-content: flex-end;
        margin-top: 0;
        padding-top: 4px;
    }

    nav.second-nav ul li {
        padding: 0;
        margin: 5px 0 0 32px;
        height: 30px;
    }

    nav.second-nav ul li a {
        font-size: 0;
    }

    nav.second-nav a.button,
    nav.second-nav ul li span  {
        display: none;
    }


    nav.second-nav ul li a img {
        position: static;
        width: 25px;
    }

}

@media(max-width: 425px) {
    .mobile-block a img {
        width: 70px;
    }

    .mobile-block {
        width: auto;
    }

    .nav-btn {
        margin-left: 20px;
    }
    .nav-btn span:nth-child(1),
    .nav-btn span:nth-child(2),
    .nav-btn span:nth-child(3),
    .nav-btn:hover span:nth-child(2),
    .nav-btn:hover span:nth-child(3){
        width: 28px;
    }

    .nav-btn.open span:nth-child(1) {
        width: 25px;
    }
    .nav-btn.open span:nth-child(3) {
        width: 25px;
        top: 15px;
    }

    nav.second-nav ul {
        padding-top: 0;
    }

    nav.second-nav ul li {
        margin: 7px 0 0 28px;
    }

    nav.second-nav ul li a img {
        width: 22px;
    }
}




/*footer*/

@media(max-width: 1200px) {
    footer ul {
        text-align: center;
    }

    footer .copyright {
        margin-top: 20px;
        text-align: center;
        font-size: 15px;
    }
}

@media(max-width: 425px) {
    footer ul li {
        margin-bottom: 10px;
    }

    footer .copyright {
        font-size: 15px;
    }
}