/* iPhone 5 Portrait*/

@media (max-width : 280px) {

    .gdlr-core-pbf-wrapper-container {
        padding: 0 !important;
    }

    .gdlr-core-revolution-slider-item {
        padding: 0 !important;
    }

    .gdlr-core-revolution-slider-item rs-module-wrap {
        width: 280px !important;
        left: 0px !important;
    }

    .gdlr-core-revolution-slider-item rs-module-wrap rs-module {
        width: 280px !important;
    }

    #sliderInitialBackgroundGradientMobile {
        width: 100vh !important;
    }
}

@media (max-width : 380px) {
    .gdlr-core-recent-portfolio-widget-wrap {
        grid-template-columns: repeat(auto-fit, 85px);
    }
}

@media (min-width : 381px) and (max-width : 480px) {
    .gdlr-core-recent-portfolio-widget-wrap {
        grid-template-columns: repeat(auto-fit, 100px);
    }
}

/* Extra Small Devices, Phones (481px to 767px) */

@media (min-width : 401px) and (max-width: 480px) {

}



/* Custom, iPhone Retina (480px and below) */

@media (max-width : 480px) {

}



/* Extra Small Devices, Phones (481px to 767px) */

@media (min-width : 481px) and (max-width: 767px) {

}


@media (max-width : 540px) {

    .frmaster-cause-medium {
        display: flex;
        flex-direction: column;
    }

    .frmaster-cause-medium > div {
        display: flex;
        width: 100% !important;
    }

    .medro-team-wrapper .gdlr-core-personnel-item-holder {
        display: flex;
        flex-direction: column;
    }
    
    .medro-team-wrapper .gdlr-core-personnel-item-holder .gdlr-core-personnel-list-column {
        display: flex;
        justify-content: center;
        text-align: center;
    }
    .medro-sponsor-page-popup-wrapper .modal-container {
        border-radius: 0;
    }

    .medro-sponsor-page-popup-wrapper .modal-window .modal-container {
        margin: 4.5rem auto;
        width: auto;
        padding: 1rem;
        height: 90%;
    }

    .medro-sponsor-page-popup-wrapper .interior {
        display: flex;
        flex-direction: column;
    }

    .medro-sponsor-page-popup-wrapper .btn {
        padding: 0.5em;
    }

    .medro-sponsor-page-popup-wrapper .modal-close {
        right: -12px;
    }

    .chariti-content-area.chariti-item-pdlr {
        padding: 30px 0;
    }

    .medro-contact-page-contact-form div[role=form] {
        padding: 30px 10px 0;
    }

    .medro-contact-page-contact-form div[role=form] p:last-child {
        margin: 0;
    }
}


@media (min-width : 540px) and (max-width: 540px) {

    #sliderInitialLastParagraph {
        margin-top: 60px !important;
        font-size: 10px !important;
    }
    
    .btn-read-more-cause-slider {
        margin-top: 50px !important;
    }

    .gdlr-core-pbf-wrapper-full-no-space {
        max-width: 540px;
    }

}


/** All Small Devices Except Portrait Tablet **/

@media (min-width : 541px) {

    .medro-team-wrapper .gdlr-core-personnel-item-holder {
        display: flex;
        justify-content: space-evenly;
    }
    
    .medro-team-wrapper .gdlr-core-personnel-list-column {
        width: 20%;
    }
}


@media (max-width: 767px) {

    .chariti-body h1 {
        font-size: 32px !important;
    }

    .gdlr-core-recent-portfolio-widget {
        margin-bottom: 0;
        margin-right: 0;
    }

    .chariti-sidebar-area .chariti-widget {
        margin-bottom: 35px;
    }

    .medro-project-single-custom-tab .gdlr-core-tab-item-title-wrap {
        padding-bottom: 12px;
        margin-bottom: 20px;
        border-bottom: 2px solid #1c284f !important;
    }

    .mm-panels>.mm-panel.mm-hasnavbar {
        padding-top: 18px;
    }

    ul.mm-listview li {
        border-color: #ffffff;
    }

    .mm-arrow:after, .mm-next:after, .mm-prev:before {
        border-color: #ffffff;
    }

    #medro-home-page-about-section-id .gdlr-core-pbf-column-content-margin.gdlr-core-js {
        padding: 70px 0 !important;
    }

    .frmaster-cause-item-holder .frmaster-item-pdlr .frmaster-cause-medium {
        margin-bottom: 0 !important;
    }

    .frmaster-cause-item-holder .frmaster-item-pdlr .frmaster-cause-medium .frmaster-cause-thumbnail img {
        border-radius: 15px 15px 0 0;
    }

    .frmaster-cause-item-holder .frmaster-item-pdlr .frmaster-cause-medium .frmaster-cause-medium-content-wrap {
        padding: 20px;
    }

    .frmaster-template-payment .frmaster-page-content {
        padding-top: 20px;
        padding-bottom: 0;
    }

    .frmaster-template-payment .frmaster-page-content, .frmaster-template-payment .frmaster-cause-info-wrap {
        margin-right: 0;
    }

    .frmaster-template-payment .frmaster-payment-bar {
        padding: 30px 20px;
    }

    .frmaster-body .frmaster-container .frmaster-payment-bar-inner {
        margin-bottom: 45px;
    }

    .chariti-sidebar-area {
        padding-top: 0;
        padding-bottom: 0;
    }

    .medro-blog-page-wrapper .gdlr-core-style-blog-full-with-frame .gdlr-core-blog-full-frame {
        padding: 10px !important;
    }

    .gdlr-core-pbf-sidebar-content.gdlr-core-column-40.gdlr-core-pbf-sidebar-padding {
        padding-top: 20px !important;
    }

    .medro-project-single-header-wrap .gdlr-core-title-item-title-wrap {
        padding-bottom: 20px !important;
    }

    .medro-project-single-header-wrap .gdlr-core-item-pdb,
    .gdlr-core-pbf-sidebar-content.gdlr-core-column-40.gdlr-core-pbf-sidebar-padding .gdlr-core-pbf-column-content-margin {
        padding-bottom: 0px !important;
    }

    .medro-project-single-header-wrap .gdlr-core-port-info-item .gdlr-core-port-info-social-share {
        padding-top: 10px;
        margin-bottom: 0;
    }

    .gdlr-core-port-info-item .gdlr-core-port-info-wrap.gdlr-core-with-border {
        padding-bottom: 10px;
    }

    .frmaster-body .frmaster-content-navigation-item-container.frmaster-container {
        padding-left: 35px;
        padding-right: 35px;
    }

    .frmaster-cause-info {
        margin-bottom: 10px;
    }

    .single-cause .frmaster-cause-donation-info {
        margin-bottom: 25px;
    }

    .single-cause .frmaster-cause-donation-info {
        display: flex;
        justify-content: space-between;
    }

    .frmaster-content-navigation-item-outer .frmaster-content-navigation-item:not(:has(a:nth-child(3))) {
        display: flex;
        justify-content: flex-start;
    }

    .frmaster-content-navigation-item-outer .frmaster-content-navigation-item:has(a:nth-child(3)) {
        display: flex;
        justify-content: space-around;
    }

    .frmaster-content-navigation-item-outer .frmaster-content-navigation-item:not(:has(a:nth-child(3)))
    .frmaster-content-navigation-tab:first-child {
        margin-right: 20px;
    }

    .single-cause .frmaster-cause-donation-info > div,
    .frmaster-content-navigation-item-outer .frmaster-content-navigation-tab {
        margin-right: 0;
    }

    .frmaster-content-navigation-item-outer .frmaster-content-navigation-tab {
        padding: 20px 0px;
        font-size: 14px;
    }

    .chariti-footer-wrapper .chariti-widget,
    .chariti-footer-wrapper .widget_text .textwidget {
        text-align: center;
    }

    .chariti-footer-wrapper .chariti-footer-column:first-child .widget_text .textwidget p {
        align-items: center;
        display: flex;
        flex-direction: column;
    }
}


/* All Mobile And Small Devices(800px and below) */

@media (max-width: 800px) {

}



/* For Apple iPad */

@media (min-device-width: 768px) {

    .frmaster-content-navigation-item-container.frmaster-container {
        padding-left: 40px;
        padding-right: 40px;
    }

    .medro-contract-form-container .row {
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
    }
    
    .medro-contract-form-container .col {
        width: 40%;
    }

    .medro-sponsor-page-btn-wrap .gdlr-core-pbf-column-content {
        display: flex;
        justify-content: center;
    }
}

@media (min-device-width: 768px) and (max-device-width: 1023px) {

    .gdlr-core-recent-portfolio-widget-wrap {
        grid-template-columns: repeat(auto-fit, 100px);
    }
}

@media (min-device-width: 768px) and (max-device-width: 1024px) {

    .chariti-header-style-plain.chariti-style-splitted-menu .chariti-navigation {
        padding-left: 0;
        padding-right: 0;
    }

    .medro-about-page-docs-wrapper .gdlr-core-pbf-column-content-margin {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }
    
    .medro-about-page-docs-wrapper .gdlr-core-title-item {
        padding-left: 0px;
        padding-right: 0px;
        font-size: 20px;
    }
    
    .medro-about-page-docs-wrapper .gdlr-core-title-item-title {
        font-size: 20px !important;
    }
    
    .medro-about-page-docs-wrapper .gdlr-core-button {
        padding: 0;
    }

    .frmaster-template-payment .frmaster-payment-bar {
        padding: 25px 20px;
    }

    .gdlr-core-flexslider-nav, .gdlr-core-flexslider .flex-direction-nav,
    .gdlr-core-flexslider-custom-nav {
        display: block;
    }

    .medro-team-wrapper .gdlr-core-flexslider-nav li a {
        width: 32px;
        height: 32px;
        background-color: #1c284f;
        font-size: 25px;
        padding-top: 2px;
    }
}



/* Small Devices, Tablets (768px to 991px) */

@media (min-width : 768px) and (max-width: 991px) {

    #sliderInitialImg rs-sbg {
        position: absolute;
        left: 200px;
    }
    
    .btn-read-more-cause-slider {
        margin-top: 50px !important;
    }

    #sliderInitialLastParagraph {
        margin-top: 60px !important;
        font-size: 14px !important;
    }

    .medro-contact-page-wrapper .gdlr-core-pbf-wrapper-content .gdlr-core-pbf-wrapper-container .gdlr-core-pbf-column {
        width: 100%;
    }
}

@media (min-width : 820px) and (max-width: 820px) {

    #sliderInitialLastParagraph {
        margin-top: 90px !important;
        font-size: 14px !important;
    }
    
    .btn-read-more-cause-slider {
        margin-top: 60px !important;
    }
}


@media (min-width : 768px) and (max-width: 1280px) {

    .chariti-copyright-left, .chariti-copyright-right {
        float: none;
    }

    .chariti-copyright-container {
        text-align: center;
    }
        
    .medro-team-wrapper .gdlr-core-personnel-style-grid.gdlr-core-with-background .gdlr-core-personnel-list-content-wrap {
        padding: 25px 0 0;
    }
}

/* General Styles for 1280 pixel and below */

@media (max-width: 1280px){

}



/* All Mobile And Small Devices(Below 991px (SM & XS in bootstrap)) */

@media (max-width: 991px) {
    

    .medro-contract-form-container {
        margin-top: 20px;
        padding: 10px 10px 20px;
    }

    .medro-contract-form-wrapper .title {
        font-size: 20px;
        margin-top: 0px;
    }

}



/* Medium Devices, Desktops  (992px to 1199px) */

@media (min-width : 992px) and (max-width: 1199px) {

}



/* Medium Devices, Desktops  (1024px) */

@media (min-width : 1024px) {

    .chariti-logo {
        height: 40px;
        line-height: 40px;
        margin-top: -20px;
    }

    .chariti-footer-container .chariti-footer-column:nth-child(3) .chariti-widget-title {
        margin-bottom: 31px;
    }

    .chariti-footer-container .chariti-footer-column:nth-child(3) .textwidget p {
        line-height: 2;
    }

    #sliderInitialImg rs-sbg {
        position: absolute;
        left: 280px;
    }
}



/* All Small Devices and Small Screens (1200px and below)*/

@media (max-width : 1200px) {

    .medro-home-page-thumbnail-wrap .gdlr-core-title-item .gdlr-core-title-item-title {
        font-size: 18px !important;
    }

    .medro-home-page-thumbnail-wrap .gdlr-core-pbf-column-content-margin {
        padding-top: 50px !important;
    }

    .medro-home-page-thumbnail-wrap .gdlr-core-pbf-column:nth-child(2) .gdlr-core-button-item {
        margin-top: 25px;
    } 
    
    .medro-home-page-thumbnail-wrap .gdlr-core-pbf-column:nth-child(3) .gdlr-core-button-item {
        margin-top: 50px;
    }
}


@media (max-width : 1440px) {

    #slider-3-slide-5-layer-0 {
        background: linear-gradient(90deg, rgb(28, 40, 79) 35%, rgba(255, 255, 255, 0) 100%) !important;
    }
}



/* Large Devices, Wide Screens (1200px and above)*/

@media (min-width : 1200px) {

}



/* Laptop Screen */

@media (min-width: 1281px) and (max-width: 1440px){

}