/*
Theme Name:   Divi child theme
Description:  Write here a brief description about your child-theme
Author:       dontscreenusou
Author URL:   https://dontscreenusou.wpengine.com
Template:     Divi
Version:      1.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  Divi-child
*/

/* Write here your own personal stylesheet */

/* header menu */

a {
    line-break: auto;
}

#et_top_search {
    float: right;
    margin: 3px 0 0 22px;
    position: relative;
    display: block;
    width: 98px;
    height: 98px;
    margin-top: -42px;
    background-color: #EBF0F5;
    transition: all 250ms 100ms;
    cursor: pointer;
}

.mobile_menu_bar::before {
    color: #333 !important;
}

div#et_top_search:hover {
    background-color: #dfeefc;
}

span#et_search_icon {
    position: absolute;
    left: calc(50% - 10px);
    top: calc(50% - 10px);
    transition: all 250ms 100ms;
}

form.et-search-form {
    background: #EBF0F5 !important
}

header.et-fixed-header span#et_search_icon {
    position: absolute;
    left: calc(50% - 8px);
    top: calc(50% - 7px);
}

header.et-fixed-header #et_top_search {
    float: right;
    margin: 3px 0 0 22px;
    position: relative;
    display: block;
    width: 78px;
    height: 78px;
    margin-top: -32px;
    background-color: #EBF0F5;
}

li.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-71078 {
    width: 182px;
    text-align: center;
}

li.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-71078::before {
    content: '';
    transition: all 250ms 100ms;
    background-color: #FCF400;
    position: absolute;
    left: calc(50% - 85px);
    top: -17px;
    height: 50px;
    width: 170px;
    border-radius: 50px;
    z-index: 0;
}

header.et-fixed-header li.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-71078::before {
    left: calc(50% - 80px);
    top: -13px;
    height: 40px;
    width: 160px;
}

li.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-71078.et-hover:hover>a, li.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-71078.et-hover>a:hover {
    opacity: 1 !important;
    color: #50c4e6 !important;
}

/* end header menu*/

.dsuo-opt-in .et_pb_newsletter_fields {
    display: flex;
    flex-direction: row;
    align-content: space-between;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: unset;
    max-width: 900px;
}

.dsuo-opt-in .et_pb_newsletter_fields>p.et_pb_newsletter_button_wrap {
    flex-basis: 200px;
}

/* accordion */

.dsuo-accordion .et_pb_toggle_content {
    padding-top: 60px;
    position: relative;
}

.dsuo-accordion.et_pb_toggle_item.et_pb_toggle_open::after {
    content: '-';
    position: absolute;
    font-size: 28px;
    font-weight: 600;
    color: #2a557f;
    left: calc(50% - 90px);
    top: 10px;
    z-index: 1;
}

.dsuo-accordion.et_pb_toggle_item.et_pb_toggle_close::after {
    content: '+';
    position: absolute;
    font-size: 28px;
    font-weight: 600;
    color: #2a557f;
    left: calc(50% - 90px);
    top: 10px;
    z-index: 1;
}

/* learn more */

button.read-more-text-button {
    color: #FCF400;
    background-color: transparent;
    border: none;
    text-transform: uppercase;
    font-size: 14px;
    cursor: pointer;
    margin-top: 20px;
}

button.read-more-text-button:hover {
    text-decoration: underline;
    font-weight: 600;
}

.dsuo-sidebar-social .dsuo-sidebar-social-wrapper {
    display: flex;
    justify-content: space-between;
}

.dsuo-sidebar-social .dsuo-sidebar-social-wrapper img {
    width: calc(20% - 5px);
}

.dsuo-sidebar-social-wrapper a {
    transition: transform 150ms ease-in-out;
}

.dsuo-sidebar-social-wrapper a:hover {
    transform: scale(1.1);
}

.dsuo-sidebar-search {
    background-color: #50C4E6;
    padding: 20px;
}

.dsuo-sidebar-search h3 {
    font-family: 'Londrina Solid', display!important;
    color: #fff;
    font-size: 26px;
    line-height: 36px;
    text-transform: uppercase;
}

.dsuo-sidebar-search form.et_pb_searchform>div {
    display: flex;
}

.dsuo-sidebar-search input.et_pb_s {
    height: 67px;
    border-radius: 35px;
    border: none;
    width: calc(100% - 100px);
    margin-right: 10px;
    font-size: 20px;
    font-weight: 700;
    padding: 20px;
    color: #333;
}

.dsuo-sidebar-search input.et_pb_searchsubmit {
    background-color: yellow;
    border: none;
    background-image: url(https://dontscreenusou.wpengine.com/wp-content/uploads/2021/08/Icon-search-1.svg);
    background-repeat: no-repeat;
    background-position: center;
    width: 67px;
    height: 67px;
    border-radius: 50px;
    background-size: 37px;
    cursor: pointer;
    transition: transform 150ms ease-in-out;
}

.dsuo-sidebar-search input.et_pb_searchsubmit:hover {
    transform: scale(1.1);
}

ul#wp-admin-bar-root-default {
    top: -65px;
}

.dsuo-zoom-hover {
    transition: transform 150ms ease-in-out;
    cursor: pointer;
}

.dsuo-zoom-hover:hover {
    transform: scale(1.1);
}

.dsuo-post-media-share .dsuo-post-media-share--wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}

.dsuo-section-title.dark-blue::before {
    background-image: url(/wp-content/uploads/2021/08/wave-dark-blue.svg);
}

.et_pb_svg_logo #logo {
    max-width: 205px;
    padding: 10px 0px;
}

.grecaptcha-badge {
    visibility: hidden !important;
}

.wp-pagenavi>* {
    border-radius: 50px;
    border: none !important;
    border: none;
    background-color: #fff;
    padding: 15px !important;
}

a.page {
    width: 52px;
    height: 52px;
    display: inline-block;
    position: relative;
    text-align: center;
}

.wp-pagenavi span.current {
    height: 52px;
    width: 52px;
    display: inline-block;
    text-align: center;
    background-color: #ebf0f5;
}

.email-function--richard-dawkins-wrapper input, .email-function--richard-dawkins-wrapper select, .form-dsuo-theme input, .form-dsuo-theme select {
    height: 60px;
    padding: 20px;
    border: none;
    border-bottom: solid 1px #979797;
    width: 100%;
}

.form-dsuo-theme select, .email-function--richard-dawkins-wrapper select {
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position-x: calc(100% - 10px);
    background-position-y: 15px;
}

.email-function--richard-dawkins-wrapper input.wpcf7-form-control.wpcf7-submit, .form-dsuo-theme input.wpcf7-form-control.wpcf7-submit {
    background-color: #50C4E6;
    color: #fff;
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: -0.5px;
    font-weight: bold;
    border: none;
    width: auto;
    padding: 20px 40px;
    border-radius: 50px;
}

.email-function--richard-dawkins-wrapper .email-function--privacy-wrapper, .form-dsuo-theme .email-function--privacy-wrapper {
    font-weight: 14px;
    letter-spacing: 1px;
    line-height: 19px;
    margin-bottom: 40px;
    color: #333;
}

.form-dsuo-theme textarea.wpcf7-form-control.wpcf7-textarea {
    border: none;
    width: 90%;
    border-bottom: solid 1px #979797;
}

.form-dsuo-theme h3 {
    color: #50C4E6;
    font-size: 50px;
    line-height: 80px;
    letter-spacing: -1.15px;
    font-family: 'Londrina Solid';
    text-transform: uppercase;
}

.dsuo-homepage-video-section>div {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: wrap;
}

.dsuo-homepage-video-section>div>div {
    width: calc(33% - 10px);
}

.dsuo-meta p.et_pb_title_meta_container {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-direction: row-reverse;
}

.dsuo-meta span.published::before {
    content: "\e023";
    font-family: 'ETmodules';
    color: #333;
    margin: 0 10px;
    speak: none;
    font-style: normal;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
}

.dsuo-footer-menu .et_pb_menu__wrap {
    justify-content: flex-end;
}

.dsuo-footer-menu .et_pb_menu__wrap #menu-item-71551 a {
    color: #FCF400 !important;
}

ul#wp-admin-bar-root-default {
    top: 0px;
}

.big-button button.read-more-text-button {
    height: 71px;
    width: auto;
    text-align: center;
    background-color: #50C4E6;
    border-radius: 50px;
    padding: 20px 50px;
    color: #2A557F;
    font-size: 22.4px;
    line-height: 31px;
    letter-spacing: -0.7px;
    font-weight: bold;
}

.read-more-event.hide-all.label-read-more.big-button {
    text-align: center;
}

div#pum-71659 {
    background-color: #294b71cf;
}

div#popmake-71659 {
    padding: 0px;
    background-color: transparent;
    box-shadow: none;
}

div#pum-71659 button.pum-close.popmake-close::before {
    content: '';
    background-image: url(/wp-content/uploads/2021/08/Icon-close-2.svg);
    width: 70px;
    height: 80px;
    position: absolute;
    top: 20px;
    right: 20px;
    background-position: top right;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 3;
    filter: drop-shadow(0px 2px 24px rgba(0, 0, 0, 0.5));
}

div#pum-71659 button.pum-close.popmake-close {
    z-index: 1;
    background-color: transparent;
    background: none;
    color: transparent;
    box-shadow: none;
    text-shadow: none;
    border: none;
}

div#pum-71659 a.et_pb_newsletter_button.et_pb_button {
    background-color: #FCF400;
    border-radius: 50px;
    padding: 20px;
    border: none;
    color: #2A557F;
    text-transform: uppercase;
    font-weight: bold;
}

.dsuo-homepage-top-cta-section {
    position: absolute;
    bottom: 30px;
}

.dsuo-opt-in .et_pb_newsletter_fields .et_pb_contact_field_last_phone {
    margin-right: 20px;
}

.dsuo-footer-social-media--wrapper>div {
    margin-right: 5px !important;
}

.media-posts article, .search-result article {
    min-height: 485px;
}

header#main-header .container {
    width: 90%;
}

@media (max-width: 1025px) {
    .container {
        width: 100%;
    }
}

@media (max-width: 980px) {
    .post.type-post .post-content {
        margin-top: 30px;
    }
    .post-template-default li.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-71078 {
        float: left;
        left: 0px;
        margin-left: 0px
    }
    button.read-more-text-button {
        padding-left: 0px;
    }
    .et_pb_svg_logo #logo {
        padding: 5px 0px;
        max-width: 105px;
        width: 100%;
        height: 100%;
        left: 0px;
        max-height: 100%;
    }
    .wp-pagenavi>* {
        border-radius: 50px;
        border: none !important;
        border: none;
        background-color: #fff;
        padding: 9px !important;
    }
    a.page {
        width: auto;
        height: auto;
        display: inline-block;
        position: relative;
        text-align: center;
    }
    .wp-pagenavi span.current {
        height: auto;
        width: auto;
        display: inline-block;
        text-align: center;
        background-color: #ebf0f5;
    }
    .media-posts article {
        min-height: auto;
    }
    .dsuo-homepage-video-section>div>div {
        width: calc(50% - 10px);
    }
    #top-menu-nav li.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-71078::before {
        display: none;
    }
    #mobile_menu li.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-71078::before {
        display: none;
    }
    li.menu-item.menu-item-type-custom.menu-item-object-custom.current-menu-item.current_page_item.menu-item-71078 {
        margin-left: 0px;
        position: relative;
        left: 0px;
        display: inline-block;
    }
    .dsuo-opt-in .et_pb_newsletter_fields .et_pb_contact_field_last_phone {
        margin-right: 10px;
    }
    .dsuo-sidebar-search input.et_pb_s {
        height: 50px;
        width: calc(100% - 50px);
    }
    .dsuo-sidebar-search input.et_pb_searchsubmit {
        width: 50px;
        height: 50px;
        border-radius: 50px;
        background-size: 20px;
        cursor: pointer;
    }
    li.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-71078>a {
        color: #294b71;
    }
    li.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-71078 {
        background-color: #fcf400;
        border-radius: 50px;
    }
    .dsuo-facebook-iframe-wrapper>div {
        display: flex;
        margin: auto;
    }
    div#pum-71659 button.pum-close.popmake-close::before {
        width: 60px;
        height: 60px;
        top: 0px;
        right: 10px;
    }
    .dsuo-mobile-footer-menu {
        position: relative;
        width: 100%;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: center;
        align-items: center;
    }
    .dsuo-mobile-footer-menu a {
        color: #fff;
        margin: 0 8px;
        font-size: 10px;
        letter-spacing: -0.5px;
        font-weight: bold;
    }
    .dsuo-mobile-footer-menu a.get-involved {
        color: #FCF400;
    }
    header#main-header.et-fixed-header {
        position: fixed;
        transition: none;
    }
    div#et_top_search::before {
        transition: none;
    }
    div#et_top_search {
        width: 50px;
        transition: none;
    }
    header#main-header.et-fixed-header div#et_top_search {
        width: 50px;
        transition: none;
    }
    span#et_search_icon {
        transition: none;
    }
    #et_search_icon::before {
        top: 11px;
    }
    header.et-fixed-header #et_search_icon::before {
        top: -6px !important;
        left: -2px;
        transition: none;
    }
    .et-search-field {
        font-size: 15px;
        padding-left: 30px;
    }
    .container.clearfix.et_menu_container {
        width: 100%;
    }
    .et_header_style_left #et-top-navigation, .et_header_style_left .et-fixed-header #et-top-navigation {
        padding-top: 24px;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: flex-end;
        justify-content: space-between;
        align-content: flex-start;
        direction: rtl;
    }
    .dsuo-opt-in a.et_pb_newsletter_button.et_pb_button {
        font-size: 16px;
        height: 40px !important;
        padding-top: 7px !important;
        padding-bottom: 7px !important;
    }
    .dsuo-opt-in input#et_pb_signup_email {
        height: 40px;
        padding-top: 5px !important;
        padding-bottom: 5px !important;
        padding-left: 10px !important;
    }
    .dsuo-opt-in .et_pb_newsletter_fields p {
        margin-right: 10px;
    }
}

/* animations */

.long-wave-animation::before {
    animation: wave-long infinite 20000ms ease-in-out
}

.wave-animation::before {
    animation: wave infinite 2500ms ease-in-out
}

.sun-animation::before {
    transform: rotate(-70deg);
    animation: sun-animation infinite 5s ease-in-out;
}

.star-animation::after, .star-animation::before {
    transform: skewY(5deg);
    animation: star-animation infinite 5s ease-in-out;
}

.ocean-animation::before, .ocean-animation::after {
    transform: skewX(0deg) translateX(0px);
    transform-origin: 10% 90%;
    animation: ocean-animation infinite 5s ease-in-out;
    overflow: hidden;
}

.fish-animation::before {
    transform: scaleX(1) translateX(0px);
    animation: fish-animation infinite 10000ms ease-in-out;
}

.hand-animation::before {
    transform: rotate(0deg);
    animation: hand-animation infinite 2.5s ease-in-out;
}

.butterfly-animation::after {
    transform: scaleX(1);
    animation: butterfly-animation infinite 1000ms ease-in-out;
}

@keyframes butterfly-animation {
    0% {
        transform: scaleX(1);
    }
    50% {
        transform: scaleX(0.95);
    }
}

@keyframes hand-animation {
    0% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(10deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

@keyframes fish-animation {
    0% {
        transform: scaleX(1) translateX(0px);
    }
    50% {
        transform: scaleX(1.3) translateX(-100px);
        opacity: 0.3;
    }
}

@keyframes star-animation {
    50% {
        transform: skewX(-5deg);
    }
    100% {
        transform: skewY(5deg);
    }
}

@keyframes ocean-animation {
    0% {
        transform: skewX(0deg) translateX(0px);
    }
    33% {
        transform: skewX(5deg) translateX(-2px);
    }
    66% {
        transform: skewX(-5deg) translateX(2px);
    }
}

@keyframes sun-animation {
    50% {
        transform: rotate(30deg);
    }
    100% {
        transform: rotate(-70deg);
    }
}

@keyframes wave-long {
    0% {
        transform: skewX(0deg);
        background-position-x: 0px;
    }
    33% {
        transform: skewX(10deg);
        background-position-x: -100px;
    }
    66% {
        transform: skewX(-10deg);
        background-position-x: 100px;
    }
}

@keyframes wave {
    0% {
        transform: skewX(0deg);
    }
    33% {
        transform: skewX(25deg);
    }
    66% {
        transform: skewX(-25deg);
    }
}