/*
Theme Name:   Joyful
Theme URI:    https://joyful.divisoup.com
Description:  A Child Theme for Divi
Author:       Michelle Nunan
Author URI:   https://divisoup.com
Template:     Divi
Version:      1.0
*/


/*-----Colour Palette-----*/


/*Change values to those used in your child theme*/


/*Red: HEX #B7332C RGB 183,51,44*/


/*Blue: HEX #215073 RGB 33,80,115*/


/*Global Elements*/


/*Typography*/

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif !important;
}


/*-----Main menu styling-----*/


/*Fix the jumping header*/

@media only screen and (min-width: 981px) {
    #page-container {
        padding-top: 89px !important;
    }
    #main-header {
        top: 35px !important;
    }
}

#main-header {
    background: #215073;
}

#top-menu a {
    color: #fff;
    margin-right: 20px;
}

#top-menu a::after {
    position: absolute;
    top: 60%;
    left: 0;
    width: 100%;
    height: 2px;
    background: #fff;
    content: '';
    opacity: 0;
    -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
    -moz-transition: opacity 0.3s, -moz-transform 0.3s;
    -o-transition: opacity 0.3s, -o-transform 0.3s;
    -ms-transition: opacity 0.3s, -ms-transform 0.3s;
    transition: opacity 0.3s, transform 0.3s;
    -webkit-transform: translateY(10px);
    -moz-transform: translateY(10px);
    -o-transform: translateY(10px);
    -ms-transform: translateY(10px);
    transform: translateY(10px);
}

#top-menu a:hover::after,
#top-menu a:focus::after {
    opacity: 1;
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    transform: translateY(0px);
}

#top-menu .current-menu-item a {
    color: #fff !important;
}

#top-menu .current-menu-item a {
    border-bottom: 2px solid #fff;
    padding-bottom: 6px !important;
}

#top-menu .current-menu-item a::after {
    display: none;
}


/*Add icons to menu items*/


/*Coaching*/

.ds-main-menu-home:before {
    font-family: 'FontAwesome';
    content: '\f015';
    color: #fff;
    margin-left: -25px;
    margin-right: 5px;
    float: left;
}

.ds-main-menu-coaching:before {
    font-family: 'FontAwesome';
    content: '\f13d';
    color: #fff;
    margin-left: -25px;
    margin-right: 5px;
    float: left;
}


/*Courses*/

.ds-main-menu-courses:before {
    font-family: 'FontAwesome';
    content: '\f19d';
    color: #fff;
    margin-left: -25px;
    margin-right: 5px;
    float: left;
}


/*Webinars*/

.ds-main-menu-webinars:before {
    font-family: 'FontAwesome';
    content: '\f130';
    color: #fff;
    margin-left: -25px;
    margin-right: 5px;
    float: left;
    vertical-align: middle;
}


/*Blog*/

.ds-main-menu-blog:before {
    font-family: 'FontAwesome';
    content: '\f040';
    color: #fff;
    margin-left: -25px;
    margin-right: 5px;
    float: left;
}


/*Membership*/

.ds-main-menu-membership:before {
    font-family: 'FontAwesome';
    content: '\f0c0';
    color: #fff;
    margin-left: -25px;
    margin-right: 5px;
    float: left;
}


/*Mobile Menu*/


/*Hamburger icon*/

.mobile_menu_bar:before {
    color: #fff;
}

.et_mobile_menu {
    border-top: 3px solid #B7332C;
    background: #215073;
}

.et_mobile_menu li a {
    color: #fff;
}


/*Adjust menu item icons position for mobile*/

@media only screen and (max-width: 980px) {
    .ds-main-menu-home:before,
    .ds-main-menu-coaching:before,
    .ds-main-menu-courses:before,
    .ds-main-menu-webinars:before,
    .ds-main-menu-blog:before,
    .ds-main-menu-membership:before {
        margin-left: -5px;
        margin-top: 10px;
        margin-right: 5px;
    }
    .et_mobile_menu li.current_page_item {
        background: #B7332C;
        padding-left: 30px;
    }
}


/*-----Secondary Menu Styling-----*/

#top-header {
    background: #B7332C;
}

#top-header .container {
    padding-right: 15px;
}


/*Login link styling & icon*/

#et-secondary-nav .ds-secondary-menu-login:before {
    font-family: 'FontAwesome';
    content: '\f007';
    color: #fff;
    margin-left: -25px;
    margin-right: 5px;
    float: left;
}

#et-secondary-menu .et-social-icons {
    padding-right: 0;
    float: left;
}

#et-secondary-menu .et-social-icons {
    padding-right: 0;
    float: right;
}


/*Login icon styling for mobile*/

@media only screen and (max-width: 980px) {
    .ds-secondary-menu-login:before {
        position: absolute;
        font-family: 'FontAwesome';
        content: '\f007';
        color: #fff;
        margin-left: -5px;
        margin-top: 10px;
        margin-right: 5px;
    }
}


/*-----Global Footer styling-----*/

.ds-global-footer-section {
    background-position: top center;
}

.ds-global-footer-cta .et_pb_promo_button {
    background: #B7332C;
    border-color: #B7332C;
}

.ds-global-footer-cta .et_pb_promo_button:hover {
    background: #ffffff;
    color: #B7332C;
    border-color: #B7332C;
}

#et-footer-nav {
    height: 50px;
    margin-top: -50px;
    float: left;
    width: 100%;
}

#et-footer-nav a {
    color: #fff;
}

.bottom-nav {
    width: 100%;
    padding: 10px 0;
    text-align: center;
}

.bottom-nav li {
    padding: 0 10px;
}

#footer-info {
    font-family: 'Poppins';
    color: #fff;
    float: none;
    text-align: center;
}

#footer-info a {
    color: #fff;
}

#footer-bottom {
    background: #B7332C;
}

#footer-info {
    padding-bottom: 0;
    margin-top: -10px;
}


/*Back to top button*/

.et_pb_scroll_top.et-pb-icon {
    background: #B7332C;
    font-size: 25px;
    bottom: 0;
    border-radius: 0;
}


/*Custom button*/

.ds-button {
    background: #B7332C;
    border: 1px solid #B7332C;
    color: #fff !important;
}

.ds-button:hover {
    background: #fff !important;
    color: #B7332C !important;
    border: 1px solid #B7332C !important;
}


/*Title block*/

.ds-title-block {
    background: #215073 !important;
}


/*Divider row*/

@media only screen and (max-width: 1280px) {
    .ds-divider-row {
        display: none;
    }
}


/*Switch column order on mobile*/

@media only screen and (max-width: 980px) {
    .ds-switch-column {
        display: -webkit-flex;
        -webkit-flex-direction: column-reverse;
        display: flex;
        flex-direction: column-reverse !important;
    }
}


/*Slim Bloom Optin styling*/


/* Set the padding for the content */

.ds-slim-optin-section {
    background: #215073 !important;
    z-index: 999;
}

.ds-slim-optin-form .et_bloom_form_content .et_bloom_popup_input input {
    text-align: center;
    border-radius: 0 !important;
}


/* Hide the header area */

.ds-slim-optin-form .et_bloom_form_container .et_bloom_form_header {
    display: none !important;
}


/* Set the font size of the optin text module */

.ds-slim-optin-text {
    padding-top: 5px !important;
    text-transform: uppercase;
    font-size: 19px;
    line-height: 1.2em
}


/*Style the form*/

.ds-slim-optin-form form button span {
    padding: 5px !important;
    font-family: 'Source Sans Pro', Helvetica, Arial, Lucida, sans-serif !important;
    font-size: 18px !important;
}


/* Set the margin for the optin form module */

.ds-slim-optin-form {
    margin: 0px 0;
}

.ds-slim-optin-form .et_bloom_inline_form {
    margin: 10px 0 !important;
}


/* Add a little padding for smaller screens */

@media only screen and (max-width: 1110px) {
    .ds-slim-optin-form {
        margin-bottom: 25px;
        margin-top: 0px;
    }
}


/* Set the font colour for the success and error messages */

.ds-slim-optin-form h2.et_bloom_success_message,
h2.et_bloom_error_message {
    color: #888 !important;
    margin-top: 0px !important;
}


/* Set the border radius for the success and error messages */

.ds-slim-optin-form .et_bloom_form_container h2.et_bloom_error_message,
h2.et_bloom_success_message {
    border-radius: 0px !important;
}


/* Hide the checkmark on success message */

.ds-slim-optin-form .et_bloom_success_container.et_bloom_animate_success span.et_bloom_success_checkmark {
    display: none;
}

@media only screen and (min-width: 1281px) {
    .ds-slim-optin-row {
        width: 100% !important;
        display: block;
    }
    .ds-slim-optin-row-mobile {
        display: none;
    }
}

@media only screen and (max-width: 1280px) {
    .ds-slim-optin-row {
        display: none;
    }
    .ds-slim-optin-row-mobile {
        width: 100% !important;
        display: block;
        padding: 0 40px !important;
    }
    .ds-slim-optin-text {
        padding-top: 18px !important;
    }
}

@media only screen and (min-width: 981px) {
    .ds-slim-optin-form .et_bloom_form_container .et_bloom_form_content {
        padding: 0px !important;
    }
}

@media only screen and (max-width: 980px) {
    .ds-slim-optin-form .et_bloom_form_container .et_bloom_form_content {
        padding-top: 0px !important;
    }
}


/*Footer Slim Bloom Optin*/


/* Set the padding for the content */

.ds-footer-optin-section {
    background: #B7332C !important;
}

.ds-footer-optin-row {
    width: 100% !important;
}

@media only screen and (min-width: 981px) {
    .ds-footer-optin-form .et_bloom_form_container .et_bloom_form_content {
        padding: 0px !important;
    }
}

@media only screen and (max-width: 980px) {
    .ds-footer-optin-form .et_bloom_form_container .et_bloom_form_content {
        padding-top: 0px !important;
    }
}

.ds-footer-optin-form .et_bloom_form_content .et_bloom_popup_input input {
    text-align: center;
    border-radius: 0 !important;
}


/* Hide the header area */

.ds-footer-optin-form .et_bloom_form_container .et_bloom_form_header {
    display: none !important;
}


/* Set the font size of the optin text module */

.ds-footer-optin-text {
    padding-top: 17px !important;
    text-transform: uppercase;
    font-size: 20px;
    line-height: 1.2em
}


/*Style the form*/

.ds-footer-optin-form form button span {
    padding: 5px !important;
    font-family: 'Source Sans Pro', Helvetica, Arial, Lucida, sans-serif !important;
    font-size: 18px !important;
}


/* Set the margin for the optin form module */

.ds-footer-optin-form {
    margin: 0px 0;
}

.ds-footer-optin-form .et_bloom_inline_form {
    margin: 10px 0 !important;
}


/* Add a little padding for smaller screens */

@media only screen and (max-width: 1110px) {
    .ds-footer-optin-form {
        margin-bottom: 25px;
        margin-top: 0px;
    }
}


/*Fullwidth CTA*/

.ds-fullwidth-cta-section {
    background: #215073 !important;
}

.ds-fullwidth-cta,
.ds-fullwidth-cta .fa-arrow-circle-right {
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    transition: all 0.2s;
}

.ds-fullwidth-cta-button {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ds-fullwidth-cta:hover {
    background: #B7332C;
}

.ds-fullwidth-cta:hover .fa-arrow-circle-right {
    padding-left: 5px;
}


/*Subpage header*/

.ds-subpage-header {
    height: calc(100vh - 150px);
    background-position: top right;
}


/*Set the subpage header image overlay pattern*/

.ds-subpage-header:after {
    content: "";
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAG0lEQVQIW2NkYGD4z8DAwMgABXAGNgGwSgwVAFbmAgXxvZSoAAAAAElFTkSuQmCC) repeat;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
}

.ds-subpage-header .header-content {
    width: 55vw;
    margin-top: 20vh;
}

@media only screen and (max-width: 1400px) {
    .ds-subpage-header .header-content {
        width: 55vw;
        margin-top: 5vh;
    }
}

@media only screen and (max-width: 1024px) {
    .ds-subpage-header {
        height: 100vh;
    }
    .ds-subpage-header .header-content {
        width: 80vw;
        margin-top: 35vh !important;
    }
}

@media only screen and (max-width: 767px) {
    .ds-subpage-header .et_pb_fullwidth_header_container {
        width: 90%;
    }
    .ds-subpage-header {
        height: 100vh;
    }
    .ds-subpage-header .header-content {
        width: 91vw;
        margin-top: 30vh !important;
    }
}

.ds-subpage-header h1 {
    color: #B7332C !important;
    text-shadow: 1px 1px #215073;
}

.ds-subpage-header .et_pb_fullwidth_header_subhead {
    text-shadow: 1px 1px #215073;
}

.ds-subpage-header .header-content .et_pb_button_one {
    background: #B7332C;
    margin-right: 15px;
    border: none;
    box-shadow: 1px 1px 5px #215073;
}

.ds-subpage-header .header-content .et_pb_button_two {
    background: #215073;
    margin-left: 0px;
    border: none;
    box-shadow: 1px 1px 5px #48515A;
}

.ds-subpage-header .header-content .et_pb_button_one:hover {
    background: rgba(183, 51, 44, .5);
    box-shadow: 1px 1px 5px #215073;
}

.ds-subpage-header .header-content .et_pb_button_two:hover {
    background: rgba(33, 80, 115, .5);
    box-shadow: 1px 1px 5px #215073;
}

@media only screen and (max-width: 375px) {
    .ds-subpage-header .header-content .et_pb_button_one,
    .ds-subpage-header .header-content .et_pb_button_two {
        padding: 5px 10px !important;
    }
    .ds-subpage-header .header-content .et_pb_button_one {
        margin-right: 8px;
    }
}


/*-----Homepage styling-----*/


/*Homepage header styling*/

.ds-home-header {
    height: calc(100vh - 150px);
    background-position: top right;
}


/*Set the home header image overlay pattern*/

.ds-home-header:after {
    content: "";
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAG0lEQVQIW2NkYGD4z8DAwMgABXAGNgGwSgwVAFbmAgXxvZSoAAAAAElFTkSuQmCC) repeat;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
}


/*Header content area*/

.ds-home-header .header-content {
    width: 55vw;
    margin-top: 20vh;
}

@media only screen and (max-width: 1400px) {
    .ds-home-header .header-content {
        width: 60vw;
        margin-top: 5vh;
    }
}

@media only screen and (max-width: 1024px) {
    .ds-home-header {
        height: 100vh;
    }
    .ds-home-header .header-content {
        width: 80vw;
        margin-top: 35vh !important;
    }
}

@media only screen and (max-width: 767px) {
    .ds-home-header .et_pb_fullwidth_header_container {
        width: 90%;
    }
    .ds-home-header {
        height: 100vh;
    }
    .ds-home-header .header-content {
        width: 91vw;
        margin-top: 30vh !important;
    }
}

.ds-home-header h1 {
    color: #B7332C !important;
    text-shadow: 1px 1px #215073;
}

.ds-home-header .et_pb_fullwidth_header_subhead {
    text-shadow: 1px 1px #215073;
}

.ds-home-header .header-content .et_pb_button_one {
    background: #B7332C;
    margin-right: 15px;
    border: none;
    box-shadow: 1px 1px 5px #215073;
}

.ds-home-header .header-content .et_pb_button_two {
    background: #215073;
    margin-left: 0px;
    border: none;
    box-shadow: 1px 1px 5px #48515A;
}

.ds-home-header .header-content .et_pb_button_one:hover {
    background: rgba(183, 51, 44, .5);
    box-shadow: 1px 1px 5px #215073;
}

.ds-home-header .header-content .et_pb_button_two:hover {
    background: rgba(33, 80, 115, .5);
    box-shadow: 1px 1px 5px #215073;
}

@media only screen and (max-width: 375px) {
    .ds-home-header .header-content .et_pb_button_one,
    .ds-home-header .header-content .et_pb_button_two {
        padding: 5px 10px !important;
    }
    .ds-home-header .header-content .et_pb_button_one {
        margin-right: 8px;
    }
}


/*Lead in quote*/


/*Add the quote marks to the lead in text*/

.ds-lead-in p::before {
    font-size: 14rem;
    font-family: Georgia, serif;
    font-style: normal;
    content: open-quote;
    position: absolute;
    margin-right: 100%;
    color: #215073;
    opacity: 0.3;
    margin-top: 50px;
    display: table-row;
}


/*Testimonial slider*/


/*set the slider container width*/

.ds-testimonial-slider.et_pb_slider .et_pb_container {
    width: 100% !important;
    margin: 0 !important;
}


/*Set the alignment and fade direction for the even (0,2,4,6 etc) slide descriptions*/

.ds-testimonial-slider .et_pb_slide .et_pb_slide_image {
    margin-right: 0 !important;
    width: 35%;
    animation-name: fadeLeft;
    animation-duration: 1s;
}


/*Set the alignment and fade direction for the even (0,2,4,6 etc) slide descriptions*/

.ds-testimonial-slider .et_pb_slide .et_pb_slide_description {
    width: 65% !important;
    animation-name: fadeRight;
    animation-duration: 0.7s;
}


/*Set the alignment and fade direction for the odd (1,3,5,7 etc) slide descriptions*/

.ds-testimonial-slider .et_pb_slide:nth-child(2n) .et_pb_slide_description {
    float: left !important;
    text-align: right;
    width: 65%;
    animation-name: fadeLeft;
    animation-duration: 0.7s;
}


/*Set the alignment and fade direction for the odd (1,3,5,7 etc) slide images*/

.ds-testimonial-slider .et_pb_slide:nth-child(2n) .et_pb_slide_image {
    width: 35%;
    margin-left: 65%;
    margin-right: 0 !important;
    animation-name: fadeRight;
    animation-duration: 1s;
}


/*Adjust for smaller screens*/

@media only screen and (max-width: 1024px) {
    .ds-testimonial-slider.et_pb_slider .et_pb_container {
        width: 89% !important;
    }
    .ds-testimonial-slider .et_pb_slide .et_pb_slide_image,
    .ds-testimonial-slider .et_pb_slide:nth-child(2n) .et_pb_slide_image {
        width: 50% !important;
    }
    .ds-testimonial-slider .et_pb_slide .et_pb_slide_description,
    .ds-testimonial-slider .et_pb_slide:nth-child(2n) .et_pb_slide_description {
        width: 50% !important;
    }
    .ds-testimonial-slider .et_pb_slide:nth-child(2n) .et_pb_slide_image {
        margin-left: 50%;
    }
}

@media only screen and (max-width: 767px) {
    .ds-testimonial-slider.et_pb_slider .et_pb_container {
        width: 100% !important;
    }
    .ds-testimonial-slider .et_pb_slide .et_pb_slide_image,
    .ds-testimonial-slider .et_pb_slide:nth-child(2n) .et_pb_slide_image {
        display: none;
    }
    .ds-testimonial-slider .et_pb_slide .et_pb_slide_description,
    .ds-testimonial-slider .et_pb_slide:nth-child(2n) .et_pb_slide_description {
        width: 100% !important;
        text-align: center;
        animation-name: none !important;
    }
}

@media only screen and (max-width: 600px) {
    .ds-testimonial-slider .et_pb_slide .et_pb_slide_description,
    .ds-testimonial-slider .et_pb_slide:nth-child(2n) .et_pb_slide_description {
        margin-top: 0px;
        padding-top: 100px;
    }
}


/*Homepage CTAs*/


/*Set the background image position*/

.ds-cta-row .et_pb_column {
    background-position: top center;
    background-repeat: no-repeat;
}


/*Set the CTA height and vertically align content*/

.ds-cta {
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


/*Set the CTA overlay colours*/

.ds-cta-one,
.ds-cta-four {
    background-color: rgba(33, 80, 115, .7) !important;
}

.ds-cta-two,
.ds-cta-three {
    background-color: rgba(183, 51, 44, .7) !important;
}


/*Set the CTA overlay colours on smaller screens*/

@media only screen and (max-width: 980px) {
    .ds-cta-four {
        background-color: rgba(183, 51, 44, .7) !important;
    }
    .ds-cta-three {
        background-color: rgba(33, 80, 115, .7) !important;
    }
}


/*Coaching Page*/


/*Set the blurb shadow and background iage size*/

.ds-blurb {
    box-shadow: 0 0 20px #d7d7d7;
    background-size: contain;
    background-position: top center;
    background-repeat: no-repeat;
}


/*Increase the shadow spread slightly on hover*/

.ds-blurb:hover {
    box-shadow: 0 0 30px #d7d7d7;
}


/*Add some padding under the title*/

.ds-blurb h4 {
    padding-bottom: 15px;
}


/*Set the container colour, padding and transition effect*/

.ds-blurb .et_pb_blurb_container {
    padding: 50px 20px 20px;
    background: #fff;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}


/*Bring the background image up*/

.ds-blurb .et_pb_main_blurb_image {
    margin-bottom: -60px;
}


/*Set the content area width and transition effect*/

.ds-blurb .et_pb_blurb_content {
    max-width: 100%;
    cursor: default;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}


/*Move the content area on hover*/

.ds-blurb:hover .et_pb_blurb_content {
    transform: translateY(-40px);
}


/*Style the more info link container*/

.ds-blurb-button-container {
    background: #fff;
    width: 100%;
    display: block;
    height: 10px;
    padding: 15px;
    margin: 0 -20px -20px -20px;
    position: absolute;
    bottom: 20px;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}


/*Move the more info container on hover - this will actually make it look like it isn't moving at all!*/

.ds-blurb:hover .ds-blurb-button-container {
    transform: translateY(40px);
    padding-top: 30px;
}


/*Position the more info link*/

.ds-blurb-button {
    left: 0;
    right: 0;
    width: 70%;
    margin: 0 auto;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}


/*Style the more info link*/

a.ds-blurb-button {
    font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
    color: #ffffff !important;
    background: #B7332C;
    border: 1px solid #B7332C;
    letter-spacing: 0px;
    font-size: 20px;
    text-transform: uppercase;
    font-weight: bold;
    padding: .3em 1em;
    cursor: pointer;
    opacity: 0;
    position: absolute;
    top: -20px;
}


/*Style the more info link on hover*/

a.ds-blurb-button:hover {
    color: #B7332C !important;
    background: #fff;
}


/*Reveal the more info button on blurb hover*/

.ds-blurb:hover a.ds-blurb-button {
    opacity: 1;
}


/*Webinar Page*/

.ds-webinar-blurb .et_pb_blurb_content {
    max-width: 100%;
}

.ds-webinar-blurb .et-pb-icon {
    color: #215073 !important;
}

@media only screen and (max-width: 767px) {
    .ds-webinar-blurb.et_pb_blurb_position_left .et_pb_main_blurb_image {
        display: block;
        width: 100%;
    }
}


/*Blog page*/


/*Blog slider*/

.ds-blog-slider .et_pb_slide_description {
    margin: 16% 8%;
    padding: 40px;
    background: rgba(33, 80, 115, .5);
    text-shadow: none;
}

.ds-blog-grid .et_pb_post {
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.ds-blog-grid .et_pb_post:hover {
    background: #215073;
}

.ds-blog-grid .et_pb_post:hover .post-content p,
.ds-blog-grid .et_pb_post:hover .post-meta,
.ds-blog-grid .et_pb_post:hover a {
    color: #fff;
}

.ds-blog-grid .et_pb_image_container img {
    padding: 40px 40px 0;
}

.ds-blog-grid .post-meta,
.ds-blog-grid .entry-title {
    padding: 0 20px !important;
}

.ds-blog-grid .post-content {
    padding: 0 20px 80px;
}

.ds-blog-grid a.more-link {
    position: absolute;
    margin-top: 20px;
}

.ds-blog-slider .et_pb_button,
.ds-blog-grid a.more-link,
.pagination a {
    font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
    border: 1px solid #B7332C;
    width: 200px;
    color: #fff;
    background: #B7332C;
    padding: 5px 10px;
    text-align: center;
    font-size: 18px;
    border-radius: 0px;
    font-weight: bold;
    font-style: normal;
    text-transform: uppercase;
    text-decoration: none;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.ds-blog-slider .et_pb_button {
    width: auto;
}


/*This styles the readmore button on hover*/

.ds-blog-slider .et_pb_button:hover,
.ds-blog-grid a.more-link:hover,
.pagination a:hover {
    border: 1px solid #B7332C;
    color: #B7332C !important;
    background: #fff;
}

.pagination {
    width: 95%;
    margin: 40px;
}


/*Comment form*/

a.comment-edit-link,
#commentform a {
    color: #B7332C;
}


/*Single post styling*/

.single .et_pb_post_title.et_pb_featured_bg {
    height: 100vh;
}

.single .et_pb_post_title.et_pb_featured_bg .et_pb_title_container {
    margin-top: 20vh;
}

.single .et_pb_post_title.et_pb_featured_bg .et_pb_title_container {
    background-color: rgba(33, 80, 115, .7) !important;
    padding: 3em 1.5em;
    max-width: 50vw;
}

.single .et_pb_post_title.et_pb_featured_bg .et_pb_title_meta_container {
    padding-bottom: 3em;
}


/*Sidebar widget styling*/

#main-content .container:before {
    width: 0;
}

.widgettitle {
    background: #B7332C;
    padding: 1rem;
    color: #fff;
}

.et_pb_widget_area ul {
    background: rgba(72, 81, 90, .1) !important;
    color: #215073;
}

.et_pb_widget ul li a {
    display: block;
    padding: 1rem;
    width: 100%;
    -moz-transition-duration: 0.3s;
    -o-transition-duration: 0.3s;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
}

.et_pb_widget ul li a:hover {
    background: #215073;
    color: #fff !important;
}

.et_pb_widget ul li {
    border-top: 1px solid #fff;
    margin-bottom: 0;
}

.et_pb_widget li a {
    color: #215073 !important;
    text-transform: uppercase;
    font-weight: 500;
}


/*Search widget*/

.widget_search input#s {
    border: 1px solid #215073;
    border-radius: 0;
    color: #215073;
}

.widget_search input#searchsubmit {
    border: 1px solid #215073;
    background: #215073;
    border-radius: 0;
    color: #fff;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 14px;
}


/*Comment area*/

#comment-wrap h1 {
    font-size: 30px !important;
    color: #215073;
}

#comment-wrap span.fn {
    color: #215073;
}

#comment-wrap .et_pb_button {
    color: #fff !important;
    background: #B7332C;
    border: 1px solid #B7332C;
    padding: 5px 10px;
    text-align: center;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

#comment-wrap .et_pb_button:hover {
    color: #B7332C !important;
    background: #fff;
    border: 1px solid #B7332C;
    padding: 5px 10px;
}

#comment-wrap .et_pb_button:hover::after {
    display: none;
}


/*Membership landing page*/


/*Header*/

.ds-membership-header {
    background-position: top left;
    border-bottom: 3px solid #215073;
}

.ds-membership-header .et_pb_fullwidth_header_container {
    width: 60%;
    margin-right: 10%;
}

.ds-membership-header h1 {
    color: #B7332C !important;
    text-shadow: 1px 1px #215073;
}

.ds-membership-header .et_pb_fullwidth_header_subhead {
    font-weight: 500;
    line-height: 1.4em;
    color: #215073;
}

.ds-membership-header .header-content .et_pb_button_one {
    background: #B7332C;
    margin: 0 0 10px 10px;
    border: none;
    box-shadow: 1px 1px 5px #215073;
}

.ds-membership-header .header-content .et_pb_button_two {
    background: #215073;
    margin: 0 0 0 10px;
    border: none;
    box-shadow: 1px 1px 5px #48515A;
}

.ds-membership-header .header-content .et_pb_button_one:hover {
    background: rgba(183, 51, 44, .5);
    box-shadow: 1px 1px 5px #215073;
}

.ds-membership-header .header-content .et_pb_button_two:hover {
    background: rgba(33, 80, 115, .5);
    box-shadow: 1px 1px 5px #215073;
}

@media only screen and (max-width: 1280px) {
    .ds-membership-header {
        background-position: top center;
    }
    .ds-membership-header .et_pb_fullwidth_header_container {
        width: 89%;
    }
}

.ds-membership h4 {
    color: #215073;
}

.ds-membership h2 {
    color: #B7332C;
}

.ds-membership-large h2 {
    color: #B7332C;
    font-size: 40px;
}


/*What's included blurbs*/

.ds-membership-blurb {
    cursor: pointer;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.ds-membership-blurb .et_pb_blurb_content {
    padding: 40px;
    background: #fff;
    box-shadow: 0 0 20px #d7d7d7;
}

.ds-membership-blurb .et-pb-icon {
    color: #B7332C !important;
}

.ds-membership-blurb h4 {
    color: #215073;
}

.ds-membership-blurb:hover {
    box-shadow: 0 0 30px #d7d7d7;
    -ms-transform: scale(1.1, 1.1);
    -webkit-transform: scale(1.1, 1.1);
    transform: scale(1.1, 1.1);
}

.ds-membership-blurb:hover .et_pb_main_blurb_image img {
    box-shadow: 0 0 30px #d7d7d7;
}


/*Question toggles*/

.ds-membership-toggle.et_pb_toggle_close,
.ds-membership-toggle.et_pb_toggle_open {
    background-color: #fff;
    box-shadow: 0 0 20px #d7d7d7;
}

.ds-membership-toggle h5.et_pb_toggle_title {
    color: #215073;
}

.ds-membership-toggle .et_pb_toggle_title:before {
    color: #B7332C;
    font-size: 30px;
}


/*Tesimonials*/

.ds-membership-testimonials .et_pb_main_blurb_image {
    margin-top: -60%;
}

.ds-membership-testimonials .et_pb_main_blurb_image img {
    border-radius: 50%;
    box-shadow: 0 0 20px #d7d7d7;
}

@media only screen and (max-width: 980px) {
    .ds-membership-testimonials {
        margin: 20% 0 !important;
    }
    .ds-membership-testimonials-last {
        margin-bottom: 0 !important;
    }
}


/*Pricing table*/

.ds-membership-pricing .et_pb_pricing_table {
    box-shadow: 0 0 20px #d7d7d7;
    cursor: pointer;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.ds-membership-pricing .et_pb_pricing_table:hover {
    box-shadow: 0 0 30px #d7d7d7;
    -ms-transform: scale(1.1, 1.1);
    -webkit-transform: scale(1.1, 1.1);
    transform: scale(1.1, 1.1);
}

.ds-membership-pricing .et_pb_pricing_heading {
    background: #215073;
    padding: 10px;
}

.ds-membership-pricing .et_pb_featured_table .et_pb_pricing_heading {
    background: #B7332C;
}

.ds-membership-pricing .et_pb_sum {
    color: #215073;
}

.ds-membership-pricing span.et_pb_frequency {
    display: block;
}

.ds-membership-pricing .et_pb_pricing_content {
    padding-bottom: 0;
}

.ds-membership-pricing .et_pb_pricing_content_top {
    border-bottom: none;
}

.ds-membership-pricing .et_pb_button {
    background: #B7332C;
    border: 1px solid #B7332C;
    color: #fff !important;
}

.ds-membership-pricing .et_pb_button:hover {
    background: #fff !important;
    color: #B7332C !important;
    border: 1px solid #B7332C !important;
}


/*Style the bottom login link*/

.ds-membership-login a {
    color: #B7332C;
}
