/* Between Medium and Small size 1600 */
@media only screen and (max-width: 1900px) and (min-width: 1600px) {
    .topBtn {
        /*bottom: 0;*/
        /*right: 5rem;*/
    }
}

/* Between Medium and Small size 1600 */
@media only screen and (max-width: 1600px) and (min-width: 1366px) {
    .topBtn {
        /*bottom: 0;*/
        /*right: 5rem;*/
    }
}

/* Between Medium and Small size 1366x 1281 */
@media only screen and (max-width: 1366px) and (min-width: 1281px) {
    .topBtn {
        /*bottom: 0;*/
        /*right: 1rem;*/
    }
}

/* Between Medium and Small size 1280x 800 */
@media only screen and (max-width: 1280px) and (min-width: 1199px) {
    .topBtn {
        /*bottom: 0;*/
        /*right: 1rem;*/
    }
}

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

    .mmulti-option li,
    .mmulti-option li:nth-child(2),
    .mmulti-option li:nth-child(5) {
        width: 48%;
    }

    .mmulti-option li:nth-child(odd) {
        margin-right: 2%;
    }

    .donate-form {
        max-width: 100%;
    }

    .donate-form .form-list {
        padding: 2rem 1rem;
    }
}

@media only screen and (max-width: 1198px) and (min-width: 1025px) {
    .topBtn {
        /*bottom: 0;*/
        /*right: 1rem;*/
    }

    .SiteHeader .logo {
        width: 90%;
    }
}

@media only screen and (max-width: 1200px) and (min-width: 990px) {
    .navbar .navbar-nav li.nav-item {
        padding: 0 0.8rem;
    }
}

/* iPad size 1024x768--------------------------- */
@media only screen and (max-width: 1025px) and (min-width: 990px) {
    .topBtn {
        /*bottom: 0;*/
        /*right: 1rem;*/
    }

    .SiteHeader .logo {
        width: 90%;
    }

    .section h2.heading {
        font-size: 2.3rem;
    }

    .section p.sub-heading {
        font-size: 1.1rem;
    }

    .project-detail h3 {
        margin-bottom: 0;
    }

    .classifiBox .classifi h3.title,
    .classifiBox .classifi p span {
        font-size: 1.2rem;
    }

    .fundsMeta .goal {
        font-size: 0.85rem;
    }

    .nav-footerlink ul li a {
        padding: 0.5rem 1rem 1.5rem;
    }

    .footer-copyright {
        margin: 1.5rem 1.2rem 0;
    }

    .donateproject-detail h3 {
        font-size: 1rem;
    }
}

@media only screen and (max-width: 1200px) and (min-width: 600px) {
    .nav-footerlink ul li a {
        padding: 0.5rem 0.5rem 1.3rem;
    }
}

@media only screen and (max-width: 992px) and (min-width: 768px) {
    .donate-form-in {
        flex: auto;
        max-width: 100%;
    }
}

@media only screen and (max-width: 992px) {
    .donate-form-in {
        flex: auto;
        max-width: 100%;
    }

    .maskkking {
        place-self: center;
        width: 14rem;
        height: 10rem;
        mask-image: url(https://s4.aconvert.com/convert/p3r68-cdx67/a9ycu-1jxdf.svg);
        -webkit-mask-size: 15rem 10rem;
        mask-size: 23rem 29rem;
    }

    .topBtn.donateBtn {
        /*top: 3rem;*/
        /*right: 0.5rem;*/
    }

    .page-wrapper {
        margin-top: 85px;
    }

    .form-row > div > label {
        margin-top: 1rem;
    }

    .fundBOX .panel-box {
        width: 85%;
    }

    .legend {
        width: 80%;
    }

    .maskkking {
        place-self: center;
        width: 14rem;
        height: 10rem;
        mask-image: url(https://s4.aconvert.com/convert/p3r68-cdx67/a9ycu-1jxdf.svg);
        -webkit-mask-size: 14rem 10rem;
        mask-size: 23rem 29rem;
    }
}

/* iPad size 800x600--------------------------- */
@media only screen and (max-width: 992px) and (min-width: 501px) {

    .w-50,
    .w-30,
    .footer_copyright img,
    .donateBox img {
        width: 100% !important;
    }

    .project-list .col-md-9,
    .project-list .col-md-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .donateBox800 .col-md-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    /*.topBtn {*/
    /*    bottom: 0;*/
    /*    !*right: 0;*!*/
    /*    width: 45px;*/
    /*    height: 45px;*/
    /*}*/

    /*.topBtn a {*/
    /*    width: 45px;*/
    /*    height: 45px;*/
    /*}*/

    .SiteHeader,
    .l-nav-sub {
        display: none;
    }

    .mm-SiteHeader {
        display: block;
    }

    * {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        /*-o-box-sizing: border-box;*/
        box-sizing: border-box;
        /* adds animation for all transitions */
        -webkit-transition: .25s ease-in-out;
        -moz-transition: .25s ease-in-out;
        -o-transition: .25s ease-in-out;
        transition: .25s ease-in-out;
    }

    .page-wrapper {
        margin-top: 55px;
    }

    .HomePageBanner {
        margin-top: 55px;
    }

    .HomePage {
        padding: 2rem 0 2rem 2rem;
    }

    .HomePage h2,
    .HomePage h3 {
        margin-bottom: 0;
    }

    .HomePage p {
        font-size: 1rem;
    }

    .section h2.heading {
        font-size: 2.3rem;
    }

    .section p.sub-heading,
    .classifiBox .classifi h3.title,
    .classifiBox .classifi p span {
        font-size: 1.1rem;
    }

    .project-detail h3 {
        margin-bottom: 0;
    }

    .funds-list .funds-detail h3 {
        height: 85px;
    }

    .nav-footerlink ul li a {
        padding: 0.5rem 1.3rem 1rem;
    }

    .socialMedia {
        top: 0;
        position: relative;
        right: 0;
        margin: 0 0 0 0.5rem;
    }

    .footer-copyright {
        margin: 1rem 0 0 1rem;
        overflow: hidden;
    }

    .form-list .panel-box,
    .form-button-area .panel-box {
        width: 100%;
    }
}

@media only screen and (max-width: 768px) {
    .heading-s {
        font-size: 1.4rem;
        line-height: 1.6rem;
    }


    .carousel_title h5 {
        font-size: 1.4rem;
        line-height: 1.5rem;
        letter-spacing: -0.1rem;
    }

    .carousel_title p {
        font-size: 1rem;
    }

    .progressBOX .progress-already b,
    .progressBOX .progress-goal b {
        font-size: 1rem;
    }

    .legend {
        width: 88%;
    }

    .maskkking {
        place-self: center;
        width: 21rem;
        height: 16rem;
        mask-image: url(https://s4.aconvert.com/convert/p3r68-cdx67/a9ycu-1jxdf.svg);
        -webkit-mask-size: 21rem 15rem;
        mask-size: 23rem 29rem;
    }

    .bgc-L {
        padding-left: 15px;
    }

    .bgc-R {
        padding-right: 15px;
    }

    .bgc-L-movie {
        padding-right: 0;
    }

    .bgc-R-movie {
        padding-left: 0;
    }

    /*.module_img_cycle {*/
    /*    width: 60vw;*/
    /*    height: 60vw;*/
    /*    margin: 0 auto;*/
    /*}*/

    .module_img_rectangle_full {
        margin: 0;
        height: 15rem !important;
        width: 30rem;
        max-width: 100%;
    }

    .articleBOX .articleBOX_bg {
        -webkit-border-top-left-radius: 15px;
        -webkit-border-top-right-radius: 15px;
        -moz-border-radius-topleft: 15px;
        -moz-border-radius-topright: 15px;
        border-top-left-radius: 15px;
        border-top-right-radius: 15px;
    }

    /*.topBtn.donateBtn {*/
    /*    width: 100%;*/
    /*    !*right: 0;*!*/
    /*    left: 0;*/
    /*    !*top: auto;*!*/
    /*    bottom: 0;*/
    /*    height: auto;*/
    /*}*/

    /*.topBtn.donateBtn a {*/
    /*    width: 100% !important;*/
    /*    border-radius: 0;*/
    /*    height: auto;*/
    /*}*/

    /*.topBtn.donateBtn a span {*/
    /*    width: auto;*/
    /*    padding: 1rem 0;*/
    /*    margin: 0 auto;*/
    /*    font-size: 1rem;*/
    /*    line-height: initial;*/
    /*}*/

    .projectTop {
        bottom: 4.2rem;
    }

    .projectFooter {
        margin-bottom: 4rem;
    }

    .goal {
        float: left;
        padding: 0.5rem 0;
        font-size: 0.9rem;
        width: 100%;
    }

    .footer-copyright li span.line:before {
        display: none;
    }

    .vrl {
        writing-mode: initial;
        width: auto;
    }

    .vertical_title {
        width: 100%;
    }

    .vrl_line {
        width: 60px;
        height: 1px;
        vertical-align: middle;
    }

    .threeImg {
        width: 100%;
        height: 3rem;
        overflow: hidden;
    }

    /* about */
    .web {
        display: none;
    }

    .mob {
        display: block;
    }

    .about_in {
        padding: 1rem;
    }

    .about_in h3 {
        font-size: 1.5rem;
        line-height: 1.8rem;
    }

    .article-big {
        font-size: 1.3rem;
        margin: 0.8rem auto;
    }

    .titleIcon {
        width: 8rem;
    }

    .area-R {
        text-align: left;
        padding-left: 10px;

    }

    .area-L {
        width: 100%;
        border-right: none;
        float: none;
        text-align: center;
        margin: 0;
    }

    .area-R {
        padding-left: 0;
        width: 100%;
        float: none;
        margin: 0;
        text-align: center;
    }


    .titleLine {
        text-align: center;
        padding: 4rem 0;
    }

    .titleLine:before,
    .titleLine:after {
        display: none;
    }

    .about_in iframe {
        height: 290px !important;
    }

    .notice-in {
        padding: 1rem;
    }

    .notice-in span {
        font-size: 1.2rem;
    }

    .notice-in span:nth-child(2) {
        font-size: 1.2rem;
    }
}

@media (max-width: 600px) {
    .nav-footerlink ul:nth-child(1) li {
        width: 30%;
        margin: 0 auto;
        text-align: center;
    }

    .donate-form .form-list {
        padding: 2rem 0;
    }

    .w-open {
        display: none;
    }

    .m-open {
        display: block;
    }

    .pie {
        height: 300px;
        width: 300px;
        position: relative;
        display: block;
        vertical-align: top;
        margin: 0 auto;
    }

    .pie::before {
        content: "";
        display: block;
        position: absolute;
        z-index: 1;
        width: 200px;
        height: 200px;
        background: #fff;
        border-radius: 50%;
        top: 50px;
        left: 50px;
    }

    .slice {
        position: absolute;
        width: 300px;
        height: 300px;
        clip: rect(0px, 300px, 300px, 150px);
        animation: bake-pie 1s;
    }

    .slice span {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        background-color: black;
        width: 300px;
        height: 300px;
        border-radius: 50%;
        clip: rect(0px, 300px, 300px, 150px);
    }

    .pie-word {
        position: absolute;
        z-index: 3;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
    }

    .pie-word b {
        font-size: 1.5rem;
        margin: 0 5px;
    }

    .pie-word p {
        border-bottom: 1px solid;
        margin: 0;
        padding: 0;
        line-height: 1.5rem;
    }

    .nav-footerlink ul:nth-child(1) li {
        width: 30%;
        margin: 0 auto;
        text-align: center;
    }

    .tabconbox {
        margin-bottom: 1rem;
    }

    .tabconbox .change {
        flex-direction: row;
    }

    .tabconbox .tabcon {
        flex-direction: column;
        padding: 1.5rem 0;
    }

    .tabcon-img {
        text-align: center;
        flex-basis: auto;
    }
}

/* 660px and mobile--------------------------- */
@media (max-width: 500px) {

    .w-30,
    .searchBar .btn,
    .donateBox img,
    .form-button-area .panel-box .btn,
    .popupBox .btnBox {
        width: 100%;
    }

    /*.topBtn {*/
        /*right: 0;*/
    /*    width: 45px;*/
    /*    height: 45px;*/
    /*}*/

    /*.topBtn a {*/
    /*    width: 45px;*/
    /*    height: 45px;*/
    /*}*/

    .SiteHeader,
    .l-nav-sub {
        display: none;
    }

    .mm-SiteHeader {
        display: block;
    }

    * {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        /*-o-box-sizing: border-box;*/
        box-sizing: border-box;
        /* adds animation for all transitions */
        -webkit-transition: .25s ease-in-out;
        -moz-transition: .25s ease-in-out;
        -o-transition: .25s ease-in-out;
        transition: .25s ease-in-out;
    }

    .page-wrapper {
        margin-top: 0;
    }

    .HomePageBanner {
        margin-top: 55px;
    }

    .index-embed {
        margin-top: 0;
    }

    .HomePage {
        padding: 1rem;
    }

    .HomePage h2 {
        font-size: 1.5rem;
        text-align: center;
        margin-bottom: 0;
    }

    .HomePage h3 {
        font-size: 1rem;
        text-align: center;
        margin-bottom: 0.3rem;
    }

    .HomePage p {
        font-size: 1rem;
    }

    .section {
        padding: 1rem 0 1rem;
    }

    .section h2.heading {
        font-size: 1.6rem;
        margin-bottom: 1rem;
        text-align: center;
    }

    .section p.sub-heading {
        font-size: 1rem;
        width: 100%;
        text-align: center;
        margin: 0 auto 0.5rem;
        line-height: 1.7;
    }

    .classifiBox .col-md-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .classifiBox {
        width: 100%;
        margin: 1rem auto 2rem;
    }

    .classifiBox .classifi h3.title,
    .classifiBox .classifi p span {
        font-size: 1rem;
    }

    .nav-footerlink ul li::first-line {
        display: none;
    }

    .nav-footerlink ul li {
        width: 20%;
        text-align: center;
    }

    .nav-footerlink ul li a {
        padding: 1.5rem 0 0;
        font-size: 0.9rem;
    }

    .socialMedia {
        top: 0;
        position: relative;
        right: 0;
        margin: 0.8rem auto;
        width: 80%;
    }

    .socialMedia li {
        width: 25% !important;
    }

    .socialMedia li a {
        padding: 0.5rem 0.8rem 0.8rem !important;
    }

    .footer-copyright {
        margin: 1rem 1.2rem 0;
    }

    .footer-copyright li.w-50 {
        width: 100% !important;
    }

    .article-sub-heading {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .searchBar .form-control {
        margin-bottom: 0.8rem;
    }

    .pagination {
        padding: 0;
        margin-bottom: 1rem;
    }

    .page-link {
        padding: 0.5rem 1rem;
    }

    .donate-form {
        margin: 0.5rem 0 0;
    }

    .form-list .panel-box,
    .form-button-area .panel-box {
        width: 100%;
        margin: 2rem auto;
    }

    .form-list .panel-box,
    .form-button-area .panel-box {
        width: 95%;
        margin: 0.8rem auto;
    }

    .popupBox {
        padding: 1.5rem 1rem !important;
    }

    .popupBox h2 {
        font-size: 1.6rem;
    }

    .popupBox .donationBox .row {
        padding: 0.5rem 0 0.5rem;
    }

    .credit-table ul li {
        width: 100%;
        float: left;
        border-bottom: 1px solid #dee2e6;
        border-right: 1px solid #dee2e6;
        padding: 1rem;
    }


}


@media only screen and (max-width: 480px) {
    .btn-red {
        font-size: 1rem;
    }
}

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

    .mmulti-option li,
    .mmulti-option li:nth-child(2),
    .mmulti-option li:nth-child(5) {
        width: 80%;
    }

    .donate-money .col-6:nth-child(odd) {
        padding-right: 5px;
    }

    .donate-money .col-6:nth-child(even) {
        padding-left: 5px;
    }

    .pie {
        height: 200px;
        width: 200px;
        position: relative;
        display: block;
        vertical-align: top;
        margin: 0 auto;
    }

    .pie::before {
        content: "";
        display: block;
        position: absolute;
        z-index: 1;
        width: 150px;
        height: 150px;
        background: #fff;
        border-radius: 50%;
        top: 25px;
        left: 25px;
    }

    .slice {
        position: absolute;
        width: 200px;
        height: 200px;
        clip: rect(0px, 200px, 200px, 100px);
        animation: bake-pie 1s;
    }

    .slice span {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        background-color: black;
        width: 200px;
        height: 200px;
        border-radius: 50%;
        clip: rect(0px, 200px, 200px, 100px);
    }

    .pie-word {
        position: absolute;
        z-index: 3;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        white-space: nowrap;
    }

    .pie-word b {
        font-size: 1.5rem;
        margin: 0 5px;
    }

    .pie-word p {
        border-bottom: 1px solid;
        margin: 0;
        padding: 0;
        line-height: 1.5rem;
    }

    .maskkking {
        place-self: center;
        width: 14rem;
        height: 11rem;
        mask-image: url(https://s4.aconvert.com/convert/p3r68-cdx67/a9ycu-1jxdf.svg);
        -webkit-mask-size: 14rem 10rem;
        mask-size: 23rem 29rem;
    }

    .module_img_arrow {
        width: 15rem;
        height: 10rem;
    }

    .p2 {
        padding: 1.2rem;
    }
}

@media only screen and (min-width: 349px) and (max-width: 459px) {
    .heading-s {
        margin-bottom: 5rem;
    }
}
