.sectionourvolunteers_block {}

.sectionourvolunteers_block .inner_wrp {
    width: 100%;
}

.main_sectionvolunteers {
    max-width: 100%;
    width: 100%;
    display: flex;
}

.volunteer_wrapper {
    max-width: 100%;
    width: 100%;
    position: relative;
    display: flex;
}

.volunteer_wrapper .volunteer_box {}

.volunteer_wrapper .volunteer_box.volunteer_box_big {
    min-height: 350px;
    width: calc((100% /8)*2);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    -webkit-border-radius: 32px;
    -moz-border-radius: 32px;
    border-radius: 32px;
}

.volunteer_wrapper .volunteer_box.volunteer_box_big .box_vol {
    height: 100%;
    width: 100%;
    max-width: 100%;
    background-repeat: no-repeat;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    overflow: hidden;

}

.volunteer_wrapper .volunteer_box.volunteer_box_big .box_vol.box_image .box_img_src {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    transition: all 250ms ease-in-out;
    -webkit-transition: all 250ms ease-in-out;
    -moz-transition: all 250ms ease-in-out;
    -o-transition: all 250ms ease-in-out;
}

.volunteer_wrapper .volunteer_box.volunteer_box_big .box_vol.box_image {

    transition: all 250ms ease-in-out;
    -webkit-transition: all 250ms ease-in-out;
    -moz-transition: all 250ms ease-in-out;
    -o-transition: all 250ms ease-in-out;
}

.volunteer_wrapper .volunteer_boxes_small {
    display: flex;
    max-width: calc(100% - ((100% /8)*2));
    width: 100%;
    flex-wrap: wrap;
}

.volunteer_wrapper .volunteer_box[box_type='icon'] {
    pointer-events: none;
}

.volunteer_wrapper .volunteer_box.volunteer_box_small {
    min-height: 175px;
    width: calc(100% / 6);
}

.volunteer_wrapper .volunteer_box.volunteer_box_small .box_vol {
    height: 100%;
    width: 100%;
    max-width: 100%;
    background-repeat: no-repeat;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    overflow: hidden;

}

.volunteer_wrapper .volunteer_box.volunteer_box_small .box_vol.box_image .box_img_src {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    transition: all 250ms ease-in-out;
    -webkit-transition: all 250ms ease-in-out;
    -moz-transition: all 250ms ease-in-out;
    -o-transition: all 250ms ease-in-out;
}

.volunteer_wrapper .volunteer_box.volunteer_box_small .box_vol.box_image {

    transition: all 250ms ease-in-out;
    -webkit-transition: all 250ms ease-in-out;
    -moz-transition: all 250ms ease-in-out;
    -o-transition: all 250ms ease-in-out;
}


.volunteer_wrapper .volunteer_box.volunteer_box_small .box_vol.box_icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.volunteer_wrapper .volunteer_box.volunteer_box_small .box_vol.box_icon img {
    transition: all 250ms ease-in-out;
    -webkit-transition: all 250ms ease-in-out;
    -moz-transition: all 250ms ease-in-out;
    -o-transition: all 250ms ease-in-out;
}


@media only screen and (max-width: 1439px) {
    .volunteer_wrapper .volunteer_box.volunteer_box_big {
        min-height: 100%;
    }

    .volunteer_wrapper .volunteer_box.volunteer_box_small {
        min-height: auto;
    }

    .volunteer_wrapper .volunteer_box.volunteer_box_small .box_vol.box_icon img {
        max-width: calc(100% - 50px);
        height: auto;
    }
}

#volunteer-popup {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    /*background: white;*/
    /*box-shadow: 0 0 25px rgba(0, 0, 0, 0.25);*/
    max-width: 100%;
    width: 100%;
    display: none;
    overflow: hidden;
    -webkit-border-radius: 18px;
    -moz-border-radius: 18px;
    border-radius: 18px;
    height: 100%;

}

#volunteer-popup .popup-inner {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    background-color: #04AEEF;
}

#volunteer-popup .popup-image {
    width: calc((100% /8)*2);
    height: 360px;
    background-size: cover;
    background-position: center;
    /*border-radius: 12px;*/
}

#volunteer-popup .popup-info {
    padding: 50px 50px 50px 90px;
    box-sizing: border-box;
    max-width: calc((100% - (100% /8)*2));
    width: 100%;
    display: flex;
    justify-content: space-between;
}

#volunteer-popup .close-popup {
    position: absolute;
    right: 10px;
    top: 7px;
    cursor: pointer;
    border: 0px;
    background-color: transparent;
    color: #fff;
    font-size: 30px;
    line-height: 1;
}

#volunteer-popup .popup-left {
    max-width: 300px;
    width: 100%;
}

#volunteer-popup .popup-left .popup-left-top {
    margin-bottom: 50px;
    padding-top: 25px;
    box-sizing: border-box;
}

#volunteer-popup .popup-left .popup-left-top .popup-name {
    color: #FFFEFE;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 600;
    margin-bottom: 5px;
}

#volunteer-popup .popup-left .popup-left-top .popup-title {
    color: #FFFEFE;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 400;
}

#volunteer-popup .popup-left .popup-left-achivements {}

#volunteer-popup .popup-left .popup-left-achivements .popul-left-clock {
    padding-left: 45px;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
    margin-bottom: 24px;
}

#volunteer-popup .popup-left .popup-left-achivements .popul-left-clock:before {
    content: '';
    width: 39px;
    height: 39px;
    background-image: url('images/our_volunteer_clock.png');
    background-repeat: no-repeat;
    background-size: contain;
    top: 0px;
    left: 0px;
    display: block;
    position: absolute;
    z-index: 20;
}

#volunteer-popup .popup-left .popup-left-achivements .popul-left-clock .popup-hours {
    color: #FFFEFE;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 400;
}

#volunteer-popup .popup-left .popup-left-achivements .popul-left-clock .popup-since {
    color: #FFFEFE;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 400;
}

#volunteer-popup .popup-left .popup-left-achivements .popul-left-acc {
    padding-left: 45px;
    box-sizing: border-box;
    position: relative;
    z-index: 10
}

#volunteer-popup .popup-left .popup-left-achivements .popul-left-acc:before {
    content: '';
    width: 39px;
    height: 39px;
    background-image: url('images/our_volunteer_award.png');
    background-repeat: no-repeat;
    background-size: contain;
    top: 0px;
    left: 0px;
    display: block;
    position: absolute;
    z-index: 20;
}

#volunteer-popup .popup-left .popup-left-achivements .popul-left-acc .popup-achievement {
    color: #FFFEFE;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 400;
}

#volunteer-popup .popup-right {
    max-width: calc(100% - 300px - 100px);
    width: 100%;

}

#volunteer-popup .popup-right .quote_image {
    width: 111px;
    height: 59px;
    background-image: url('images/image_right_quote.png');
    background-repeat: no-repeat;
    background-size: contain;
    margin-left: auto;
    margin-bottom: 20px;
    display:none;

}

#volunteer-popup .popup-right .quote_holder {
    padding: 20px 15px 20px 30px;
    box-sizing: border-box;
    position: relative;
    border: 0 solid #fff;
    padding-top: 0;
    padding-bottom: 0;
    /*max-width:calc(100% - 43px);*/
    width: 100%;

}

#volunteer-popup .popup-right .quote_holder .popup-quote {

    box-sizing: border-box;
    color: #FFFEFE;
    padding: 0px;
    padding-right: 15px;
    border: 0px solid #fff;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;

    /*height: 180px;
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
    overflow-x: hidden;
    pointer-events: auto*/



    height: auto;
    overflow-y: visible; 
    /*max-height: 180px; */
    max-height: 100%; 
    overflow-y: auto;
    overflow-x: hidden;
    pointer-events: auto;
    position: relative; 
}

#volunteer-popup .popup-right .quote_holder:after {
    content: '';
    width: 12px;
    height: 32px;
    background-image: url('images/our_volunteer_braket_left.png');
    background-repeat: no-repeat;
    background-size: contain;
    top: 0px;
    left: 0px;
    display: block;
    position: absolute;
    z-index: 20;
}

#volunteer-popup .popup-right .quote_holder:before {
    content: '';
    width: 13px;
    height: 31px;
    background-image: url('images/our_volunteer_braket_right.png');
    background-repeat: no-repeat;
    background-size: contain;
    bottom: -8px;
    right: 0px;
    display: block;
    position: absolute;
    z-index: 20;
}
.display_none {
    display: none !important;
}


@media only screen and (max-width: 1440px) {
    #volunteer-popup .popup-info {
        padding: 25px 50px;
    }
}

@media only screen and (max-width: 1280px) {}


@media (max-width: 1279px) {
    .volunteer_wrapper .volunteer_boxes_small {
        display: grid;
        grid-auto-flow: column;
        grid-template-rows: repeat(2, 1fr);

        grid-auto-columns: minmax(150px, 200px);
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        gap: 0px;
        padding: 0;
        scrollbar-width: none;
        
    }

    .volunteer_wrapper .volunteer_boxes_small::-webkit-scrollbar {
        display: none;
        /* Chrome/Safari */
    }

    .volunteer_wrapper .volunteer_box.volunteer_box_small {
        scroll-snap-align: start;
        flex: 0 0 auto;
        min-width: 120px;
        width: auto !important;
        height: 100%;
        display: flex;
        align-items: stretch;
    }

    .volunteer_wrapper .volunteer_box.volunteer_box_big {
        min-width: 250px;
    }

    .volunteer_box_small .box_vol.box_image {
        cursor: pointer;
    }

    /* Remove hover scale on mobile for stability */
    .volunteer_wrapper .volunteer_box.volunteer_box_small:hover .box_vol.box_icon img,
    .volunteer_wrapper .volunteer_box.volunteer_box_small:hover .box_vol.box_image .box_img_src {
        transform: scale(1);
    }


}


@media (max-width: 1110px) {
    #volunteer-popup .popup-info {
        padding: 25px;
    }

    #volunteer-popup .popup-left .popup-left-top {
        padding-top: 0px;
        margin-bottom: 25px;
    }

    #volunteer-popup .popup-left .popup-left-top .popup-name {
        font-size: 20px;
    }

    #volunteer-popup .popup-left .popup-left-achivements .popul-left-acc .popup-achievement,
    #volunteer-popup .popup-left .popup-left-achivements .popul-left-clock .popup-since,
    #volunteer-popup .popup-left .popup-left-achivements .popul-left-clock .popup-hours,
    #volunteer-popup .popup-left .popup-left-top .popup-title {
        font-size: 14px;
    }

    #volunteer-popup .popup-right {
        max-width: calc(100% - 320px);
        width: 100%;
    }

    #volunteer-popup .popup-right .quote_holder .popup-quote {
        font-size: 14px;
    }

    #volunteer-popup .popup-image {
        max-width: 250px;
        min-width: 250px;
        height: auto;
    }

    #volunteer-popup .popup-info {
        max-width: calc(100% - 250px);
    }

    #volunteer-popup .popup-info {
        padding: 21px;
    }

    .quote_image {
        display: none;
    }

    #volunteer-popup .popup-inner {
        height: 100%;
    }

    #volunteer-popup .popup-right {
        display: flex;
        align-items: center;
    }

    #volunteer-popup .popup-right .quote_holder .popup-quote {}
}

@media (max-width: 900px) {
    #volunteer-popup .popup-right {
        min-width: 370px;
    }

    .popup-left-achivements {
        display: none;
    }

    #volunteer-popup .popup-info {
        flex-direction: column;
    }

    #volunteer-popup .popup-right,
    #volunteer-popup .popup-left {
        max-width: 100%;

    }
}

@media (max-width: 767px) {
    #volunteer-popup .popup-right {
        min-width: auto;
    }

    #volunteer-popup .popup-right .quote_holder .popup-quote {
        height: 150px;
    }
}

@media (max-width: 600px) {
    .volunteer_wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .volunteer_wrapper .volunteer_box.volunteer_box_big {
        width: 100dvw;
        max-width: 100%;
        min-width: unset;
        height: 100dvw;
    }

    .volunteer_wrapper .volunteer_boxes_small {
        display: flex;
        flex-wrap: wrap;
        max-width: 100%;
        overflow: visible;
        grid-auto-flow: unset;
        grid-template-rows: unset;
        grid-auto-columns: unset;
    }

    .volunteer_wrapper .volunteer_box.volunteer_box_small {
        width: 50% !important;
        min-width: unset;
        flex: 0 0 50%;
    }

    #volunteer-popup {
        
        position: static !important;
        width: 100%;
        height: auto;
        max-width: 100%;
        overflow: visible;
        
    }

    #volunteer-popup .popup-inner {
        flex-direction: column;
        height: auto;
    }

    #volunteer-popup .popup-image {
        width: 100%;
        height: auto;
        min-height: 200px;
    }

    #volunteer-popup .popup-info {
        max-width: 100%;
        width: 100%;
        flex-direction: column;
        padding: 20px;
    }

    #volunteer-popup .popup-left,
    #volunteer-popup .popup-right {
        max-width: 100%;
        width: 100%;
    }

    #volunteer-popup .popup-right {
        margin-top: 20px;
    }

    #volunteer-popup .popup-right .quote_holder .popup-quote {
        height: auto;
        max-height: 200px;
    }
    .volunteer_wrapper .volunteer_box.volunteer_box_big {
        order:1;
    }
    .volunteer_wrapper .volunteer_boxes_small{
        order:3;
    }
    #volunteer-popup {
        order:2;
    }
    .volunteer_wrapper .volunteer_box.volunteer_box_big.active ,
    .volunteer_wrapper .volunteer_box.volunteer_box_big.active .box_vol {
        -webkit-border-top-left-radius: 23px;
        -webkit-border-top-right-radius: 23px;
        -moz-border-radius-topleft: 23px;
        -moz-border-radius-topright: 23px;
        border-top-left-radius: 23px;
        border-top-right-radius: 23px;
        -webkit-border-bottom-right-radius: 0px;
        -webkit-border-bottom-left-radius: 0px;
        -moz-border-radius-bottomright: 0px;
        -moz-border-radius-bottomleft: 0px;
        border-bottom-right-radius: 0px;
        border-bottom-left-radius: 0px;
    }
    #volunteer-popup .popup-inner{
        -webkit-border-top-left-radius: 0px;
        -webkit-border-top-right-radius: 0px;
        -moz-border-radius-topleft: 0px;
        -moz-border-radius-topright: 0px;
        border-top-left-radius: 0px;
        border-top-right-radius: 0px;
        -webkit-border-bottom-right-radius: 23px;
        -webkit-border-bottom-left-radius: 23px;
        -moz-border-radius-bottomright: 23px;
        -moz-border-radius-bottomleft: 23px;
        border-bottom-right-radius: 23px;
        border-bottom-left-radius: 23px;
    }
    #volunteer-popup .popup-image {
        display:none;
    }
    #volunteer-popup .popup-right .quote_holder .popup-quote {
        max-height:initial;
        height:auto;
    }
    #volunteer-popup .popup-left .popup-left-top .popup-name {
        font-size:24px;
    }
    #volunteer-popup .popup-left .popup-left-achivements .popul-left-acc .popup-achievement, 
    #volunteer-popup .popup-left .popup-left-achivements .popul-left-clock .popup-since, 
    #volunteer-popup .popup-left .popup-left-achivements .popul-left-clock .popup-hours, 
    #volunteer-popup .popup-left .popup-left-top .popup-title {
        font-size:16px;
    }
}
@media (max-width: 600px) {
    #volunteer-popup .popup-right .quote_holder {
        padding:0px;
    }
    #volunteer-popup .popup-right .quote_holder:before {
        display:none;
    }
    #volunteer-popup .popup-right .quote_holder:after {
        display:none;
    }
    .volunteer_wrapper .volunteer_box[box_type='icon'] {
        display:none !important;
    }
}