/* Bloom subscribe box ( footer )
*/

.footer-subscribe .et_bloom_form_content {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    padding: 0 20% 0 20% !important;
}

.footer-subscribe .et_bloom_fields {
    background: white !important;
    padding: 11px 10px 10px 10px !important;
    border-radius: 40px !important;
    display: flex !important;
}

.footer-subscribe .et_bloom_popup_input {
    margin-bottom: 0px !important;
    flex-basis: 83% !important;
    padding-bottom: 0 !important;
}

.footer-subscribe .et_bloom_submit_subscription {
    flex-basis: 15% !important;
}

.footer-subscribe .et_bloom_form_content.et_bloom_1_field.et_bloom_bottom_inline>form>div>button {
    -moz-border-radius: 40px !important;
    -webkit-border-radius: 40px !important;
    border-radius: 40px !important;
    font-size: 12px !important;
}

.et_bloom .et_bloom_form_container .et_bloom_form_content .et_bloom_popup_input input {
    margin-left: 2% !important;
    width: 80% !important;
}

@media only screen and (max-width: 1150px) {
    .footer-subscribe .et_bloom_form_content {
        padding: 0 10% 0 10% !important;
    }
}

@media only screen and (max-width: 850px) {
    .footer-subscribe .et_bloom_form_content {
        padding: 0 !important;
    }

    .footer-subscribe .et_bloom_popup_input {
        flex-basis: 63% !important;
    }

    .footer-subscribe .et_bloom_submit_subscription {
        flex-basis: 35% !important;
    }
}

/* Bloom optin fonts 
*/

.et_bloom_form_text h2,
.et_bloom .et_bloom_optin_1 .et_bloom_form_container h2,
.et_bloom .et_bloom_optin_1 .et_bloom_form_container h2 span,
.et_bloom .et_bloom_optin_1 .et_bloom_form_container h2 strong {
    font-family: 'Museo Sans', Helvetica, Arial, Lucida, sans-serif !important;
}

.footer-subscribe .et_bloom_form_footer p {
    padding: 0 10% 0 10% !important;
    color: white !important;
    font-size: 13px !important;
    line-height: 20px !important;
}

.footer-subscribe .et_bloom_form_footer a {
    color: white !important;
    text-decoration: underline;
    font-size: 13px !important;
    line-height: 20px !important;
}

/* Bloom Terms and Conditions
*/

.terms-ceva {
    padding: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap;
    padding: 20px 10% 10px 10% !important;
    gap: 0px 15px !important;
}

.terms-ceva p {
    color: white;
    line-height: 16px !important;
    font-weight: 300 !important;
    letter-spacing: 0.3px;
    font-size: 13px !important;
}
.terms-ceva a {
    color: white;
    font-weight: 500 !important;
    text-decoration: underline !important;
    font-size: 13px !important;
}


.terms-ceva label {
    width: fit-content !important;
    margin: 0 !important;
}

.terms-box {
    width: 40px !important;
}

.terms-ceva input[type=checkbox] {
    width: 20px !important;
    height: 20px !important;
}

h2.et_bloom_success_message.et_bloom_animate_message {
    margin-top: 0px !important;
}

/* Hide the browser's default checkbox */
.box-left input[type=checkbox] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkmark {
    height: 20px;
    width: 20px;
    display: inline-block;
    background-color: #fff;
    border-radius: 5px;
}

/* On mouse-over, add a grey background color */
.box-left input[type=checkbox]:hover ~ .checkmark {
    background-color: #eee;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    display: none;
}

/* Show the checkmark when checked */
.box-left input[type=checkbox]:checked ~ .checkmark:after {
    display: block;
}

.box-left {
    position: relative;
}

/* Style the checkmark/indicator */
.box-left .checkmark:after {
    position: absolute;
    top: 2px;
    left: 6px;
    width: 4px;
    height: 10px;
    border: solid #d41367;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* Video Popup
 * =============================================
*/

.vpop:hover {
    cursor: pointer;
}

.vpop p {
    padding-top: 5.5px;
}

.play-button:before {
    color: red !important;
    font-size: 60px !important;
}

#video-popup-container {
    display: none;
    position: fixed;
    z-index: 99999 !important;
    width: 75%;
    /* 60% */

    /* left: 50%; /* 50% */
    /* margin-left: -40%; /* -30% */
    /* top: 7%; /* 20% */

    top: 7.5%;
    left: 50%;
    transform: translate(-50%, -50%);

    background-color: #fff;
}

@media only screen and (max-width: 1400px) {
    #video-popup-container {
        top: 15%;
    }
}

@media only screen and (max-width: 980px) {
    #video-popup-container {
        top: 27%;
        width: 90%;
    }
}

@media only screen and (max-width: 768px) {
    #video-popup-container {
        top: 32%;
        width: 90%;
    }
}

@media only screen and (max-width: 550px) {
    #video-popup-container {
        top: 38%;
        width: 90%;
    }
}


#video-popup-close {
    cursor: pointer;
    position: absolute;
    right: -10px;
    top: -10px;
    z-index: 99998 !important;
    width: 25px;
    height: 25px;
    border-radius: 25px;
    text-align: center;
    font-size: 12px;
    background-color: #d41367;
    line-height: 25px;
    color: #ffffff;
}

#video-popup-iframe-container {
    position: absolute;
    z-index: 99997 !important;
    width: 100%;
    padding-bottom: 56.25%;
    border: 2px solid #000;
    border-radius: 2px;
    background-color: #000;
}

#video-popup-iframe {
    z-index: 99999 !important;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: #000;
}

#video-popup-overlay {
    display: none;
    position: fixed;
    z-index: 99995 !important;
    top: 0;
    left: 0;
    background-color: #000;
    opacity: 0.8;
    width: 100%;
    height: 100%;
}

#video-popup-close:hover {
    color: white !important;
    background: red !important;
}

/* Videos Page Styling
*/

.videos_list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 40px 5%;
}

.single_video {
    width: 47.5%;

    background: white;
    position: relative;
}

@media only screen and (max-width: 768px) {
    .single_video {
        width: 100%;
    }
}

.v-image {
    width: 100%;
    transition: all 1s;
    transform: scale(1);
    position: relative;
}

.v-image:hover {
    transition: all 1s;
    transform: scale(1.05);
}


.v-image-container {
    overflow: hidden;
    position: relative;
}

.v-image-container:hover::before {
    font-family: ETmodules;
    content: 'I';
    font-size: 80px;
    position: absolute;
    color: white;
    z-index: 9999;
    left: calc(50% - 45px);
    top: 45%;
}

@media only screen and (max-width: 768px) {
    .v-image-container:hover::before {
        font-size: 60px;
        position: absolute;
        left: calc(50% - 32px);
        top: 45%;
    }
}

.v-text-container {
    font-family: 'Museo Sans', Helvetica, Arial, Lucida, sans-serif !important;
    padding: 20px 30px 20px 30px;
}

.v-text-container h2 {
    font-weight: 600;
    color: #0e4f5c;
    font-size: 21px;
    line-height: 32px;
}

.v-text-container p {
    font-size: 14.5px;
    font-weight: 300;
    letter-spacing: 0.5px;
    color: #0e4f5c;
    margin-bottom: 55px;
}

.v-text-container h5 {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 13px;
    color: #0e4f5c;

    text-decoration: underline;
    text-decoration-color: #ee7623;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 6px;

    position: absolute;
    bottom: 25px;
    left: 30px;
}

/* Resources page - shortcode styling
 * ==============================================================================
 */

.nesha_loadmore {
    width: 100%;
    background: transparent;
    border: 0px solid transparent;
    box-shadow: none;
}

.nesha_loadmore h4 {
    font-family: 'Museo Sans', Helvetica, Arial, Lucida, sans-serif !important;
    width: fit-content;
    margin: 0 auto;
    color: white;
    background: #11869e;

    font-size: 15px;
    font-weight: 600;
    padding: 15px 40px 17px 40px;
    border-radius: 30px;
}

.nesha_loadmore h4:hover {
    background: #054856;
}

/* Divi Tabs
*/

.et-db #et-boc .et-l ul.et_pb_tabs_controls {
    background-color: transparent !important;
}

.et-db #et-boc .et-l ul.et_pb_tabs_controls::after {
    border-top: transparent !important;
}

/* Divi Scroll to Top
*/
.et_pb_scroll_top.et-pb-icon {
    background-color: #11869e !important;
}

.resources_list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 40px 5%;
}

.single_resource {
    width: 47.5%;

    font-family: 'Museo Sans', Helvetica, Arial, Lucida, sans-serif !important;

    background: white;
    position: relative;
}

@media only screen and (max-width: 768px) {
    .single_resource {
        width: 100%;
    }
}

.r-head {
    padding: 20px 30px;
}

.r-body {
    padding: 0px 36px 20px 36px;
}

.single_resource h2 {
    font-weight: 500;
    color: #0e4f5c;
    font-size: 20px;
    line-height: 32px;
}

.single_resource h5 {
    font-weight: 600;
    color: #0e4f5c;
    font-size: 14px;
    line-height: 32px;
    padding-bottom: 30px;
}

.single_resource p {
    font-size: 14.5px;
    font-weight: 300;
    letter-spacing: 0.5px;
    color: #0e4f5c;
    margin-bottom: 50px;
}

.single_resource a {
    font-size: 14.5px;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: #0e4f5c;
    text-decoration: underline;
}

.single_resource .r-body-link {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 13px;
    color: #0e4f5c;

    text-decoration: underline;
    text-decoration-color: #ee7623;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 6px;

    position: absolute;
    bottom: 25px;
    left: 36px;
}

/* Resources Selector Styling
*/

.selector_row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.selector_col {
    padding: 10px 20px;
    margin-right: 10px;
    margin-top: 5px;
    margin-bottom: 5px;
    border-radius: 30px;
}

.sel-active {
    background: #054856;
}

.sel-active a {
    color: white;
}

.sel-inactive {
    background: #f7f7f7;
}

.sel-inactive a {
    color: #054856;
}

#selector_topic {
    display: block;
}

#selector_type {
    display: block;
}


/****************************************************************************************************
 * Divi Based page styles
 ****************************************************************************************************/

/* Portable row - for toggle lists with buttons
*/

.divi-portable-row,
.divi-portable-row-001,
.divi-portable-row-002,
.divi-portable-row-003,
.divi-portable-row-004,
.divi-portable-row-005 {
    margin-bottom: 3px !important;
}

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

    .divi-portable-row,
    .divi-portable-row-001,
    .divi-portable-row-002,
    .divi-portable-row-003,
    .divi-portable-row-004,
    .divi-portable-row-005 {
        margin-bottom: 5px !important;
    }
}

.divi-portable-row p,
.divi-portable-row-001 p,
.divi-portable-row-002 p,
.divi-portable-row-003 p,
.divi-portable-row-004 p,
.divi-portable-row-005 p {
    line-height: 15px !important;
    width: 90%;
    padding-left: 10px !important;
    font-size: 13px !important;
    font-weight: 400;
}

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

    .divi-portable-row p,
    .divi-portable-row-001 p,
    .divi-portable-row-002 p,
    .divi-portable-row-003 p,
    .divi-portable-row-004 p,
    .divi-portable-row-005 p {
        line-height: 15px !important;
        width: 90%;
        padding-top: 1px !important;
        padding-left: 10px !important;
        padding-bottom: 0px !important;
        font-size: 13px !important;
    }

    .divi-portable-row .et_pb_column,
    .divi-portable-row-001 .et_pb_column,
    .divi-portable-row-002 .et_pb_column,
    .divi-portable-row-003 .et_pb_column,
    .divi-portable-row-004 .et_pb_column,
    .divi-portable-row-005 .et_pb_column {
        align-self: flex-start !important;
        padding-bottom: 0px !important;
    }
}

/* Video duration <span>
*/

.time-span {
    font-size: 11px;
    font-weight: 500 !important;
    color: #ee7623 !important;
}

/* Team toggle 
*/

.t-name {
    font-family: 'Museo Sans', Helvetica, Arial, Lucida, sans-serif !important;
    color: #054856;
    font-weight: 600;
    font-size: 24px;

    padding-bottom: 5px !important;
}

.t-name:hover {
    color: #36b0c9;
}

.t-position {
    font-family: 'Museo Sans', Helvetica, Arial, Lucida, sans-serif !important;
    color: #054856;
    font-weight: 500;
    font-size: 16px;

    padding-bottom: 20px !important;
}

.t-about {
    font-family: 'Museo Sans', Helvetica, Arial, Lucida, sans-serif !important;
    color: #054856;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.80rem;
    letter-spacing: 0.7px;
    padding: 0;

    text-decoration: underline;
    text-decoration-color: #d41367;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 8px;
}

.t-about:hover {
    text-decoration: none;
}

.toggle-person .et_pb_toggle_content img {
    border-radius: 50% !important;
    width: 150px !important;
    height: 150px !important;
    margin: 15px 0 !important;
}

.toggle-person .et_pb_toggle_content {
    color: #054856 !important;
    font-weight: 300 !important;
    font-size: 1.01rem !important;
    line-height: 1.7rem !important;
    letter-spacing: 0.5px !important;
}

.toggle-person .et_pb_toggle_content p {
    column-count: 1 !important;
    column-gap: 30px !important;
}

@media only screen and (max-width: 980px) {
    .toggle-person .et_pb_toggle_content p {
        column-count: 1 !important;
        column-gap: 0px !important;
    }
}
