/*
Theme Name:     Divi-child
Theme URI:      
Description:    Divi child theme.
Author:         Me
Author URI:     
Template:       Divi
Text Domain:    divi-child
Version:        1.0.0
*/

body:not(.wp-admin) {
    font-family: 'Gaegu', cursive;
    font-weight: 300;
}

body.et_cover_background {
    background-color: #e5e5e5;
    background-size: auto !important;
}

#main-content {
    background-color: transparent;
}

.et_boxed_layout #page-container {
    background: #e5e5e5 url('assets/img/site-bg.png') repeat center !important;
}

.et_pb_scroll_top.et-pb-icon {
    border-radius: 0;
    background: #64826d;
}

.et_pb_section {
    background-color: transparent;
}

.md_font_gaegu,
.md_font_gaegu * {
    font-family: 'Gaegu', cursive !important;
}

.header_no_padding h1,
.header_no_padding h2,
.header_no_padding h3,
.header_no_padding h4,
.header_no_padding h5,
.header_no_padding h6 {
    padding-bottom: 0;
}

body .mfp-iframe-holder .mfp-close {
    font-size: 30px;
    font-family: 'Open Sans', Arial, sans-serif;
    font-weight: 200;
    top: -40px;
    opacity: .75;
}

body .mfp-iframe-holder .mfp-close:active {
    position: absolute;
    top: -40px;
}

.mfp-fade.mfp-bg {
    opacity: 0;
    -webkit-transition: all 0.15s ease-out;
    -o-transition: all 0.15s ease-out;
    transition: all 0.15s ease-out;
}

.mfp-fade.mfp-bg.mfp-ready {
    opacity: 0.8;
}

.mfp-fade.mfp-bg.mfp-removing {
    opacity: 0;
}

.mfp-fade.mfp-wrap .mfp-content {
    opacity: 0;
    -webkit-transition: all 0.15s ease-out;
    -o-transition: all 0.15s ease-out;
    transition: all 0.15s ease-out;
}

.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
    opacity: 1;
}

.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
    opacity: 0;
}

#sidebar .et_pb_widget {
    margin-bottom: 75px;
}

#sidebar .et_pb_widget:last-child {
    margin-bottom: 0;
}

@media (max-width: 980px) {
    #logo {
        max-height: 95%;
    }

    .nav li li a,
    .et_mobile_menu li a {
        font-size: 20px;
    }

    .et_boxed_layout #page-container {
        width: 100%;
    }

    .md_mobile_center {
        text-align: center;
    }

    #sidebar .et_pb_widget {
        margin-bottom: 50px;
    }
}

/*---------------------------------------------------------------------
Header
---------------------------------------------------------------------*/
#main-header {
    background-color: transparent;
    -webkit-box-shadow: none;
    box-shadow: none;
}

#main-header #top-menu li a {
    font-size: 28px;
    position: relative;
    font-weight: 400;
}

#top-menu-nav > ul > li > a:hover {
    opacity: 1;
}

#top-menu-nav > ul > li > a::after {
    content: '';
    position: absolute;
    left: 0;
    top: 18px;
    width: 100%;
    height: 2px;
    opacity: 0;
    background-color: #64826d;
    -webkit-box-shadow: 0px 2px 4px rgba(100, 130, 109, 0.25);
    box-shadow: 0px 2px 4px rgba(100, 130, 109, 0.25);
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

#top-menu-nav > ul > li > a:hover::after {
    opacity: 1;
}

#top-menu li.current-menu-item > a {
    color: #6c6c6c;
}

/*---------------------------------------------------------------------
Front Page
---------------------------------------------------------------------*/
body #page-container a.md_button_fix {
    background-color: #b5c7ba !important;
}

.front-page-blog .et_pb_ajax_pagination_container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.front-page-blog .et_pb_ajax_pagination_container article {
    width: 48%;
    margin-bottom: 0;
}

.front-page-blog .et_pb_ajax_pagination_container article .entry-title,
.front-page-blog .et_pb_ajax_pagination_container article .post-content {
    display: none;
}

.global-gallery .et_pb_gallery_item {
    clear: none !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
}

@media (min-width: 981px) {
    .global-gallery .et_pb_gallery_item {
        width: 25% !important;
    }
}

@media (max-width: 980px) {
    .global-gallery .et_pb_gallery_item {
        width: 33% !important;
    }

    .mobile_border_radius_none {
        border-radius: 0 !important;
    }

    .anneslise,
    .tyler {
        opacity: 1 !important;
        background-color: rgba(0, 0, 0, .75);
    }
}

@media (max-width: 479px) {
    .front-page-blog .et_pb_ajax_pagination_container article {
        width: auto;
    }

    .global-gallery .et_pb_gallery_item {
        width: 100% !important;
    }
}

/*---------------------------------------------------------------------
About Page
---------------------------------------------------------------------*/
body a.md_about_button_fix:hover {
    background-color: rgba(100, 130, 109, 0.8) !important;
}

.md_about_transform {
    -webkit-transform: translateX(25px);
    -ms-transform: translateX(25px);
    transform: translateX(25px);
}

.md_toggle .et_pb_toggle_title {
    padding: 25px 50px 20px 50px;
    border-left: 12px solid rgba(100, 130, 109, 0.8);
    background-color: #c4c4c4;
    -webkit-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
}

.md_toggle .et_pb_toggle_title::before {
    content: '\35';
    right: 20px;
    font-size: 40px;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
}

.md_toggle.et_pb_toggle_open .et_pb_toggle_title::before {
    content: '\33';
}

.md_toggle .et_pb_toggle_title::after {
    content: 'Q.';
    position: absolute;
    left: 25px;
    top: 50%;
    font-size: 40px;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.md_toggle .et_pb_toggle_content {
    position: relative;
    margin-left: 25px;
    padding: 15px 25px 15px 60px;
    border-left: 11px solid rgba(100, 130, 109, 0.5);
    background-color: #e3e4e4;
    -webkit-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
}

.md_toggle .et_pb_toggle_content::before {
    content: 'A.';
    position: absolute;
    left: 30px;
    top: 50%;
    font-size: 40px;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

@media (max-width: 980px) {
    .md_about_transform {
        -webkit-transform: none;
        -ms-transform: none;
        transform: none;
    }
}

/*---------------------------------------------------------------------
Blog, Archive
---------------------------------------------------------------------*/
.blog .md_blog_archive_container,
.archive .md_blog_archive_container {
    width: auto !important;
    max-width: none !important;
}

.blog #left-area,
.archive #left-area {
    padding-right: 10%;
}

.blog article.et_pb_post,
.archive article.et_pb_post {
    margin-bottom: 75px;
    font-family: 'FISHCHIPS', Helvetica, Arial, Lucida, sans-serif;
}

.blog article h2,
.archive article h2 {
    padding: 25px 50px 15px;
    margin-bottom: 25px;
    border-radius: 0 60px 60px 60px;
    -webkit-box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
    background-color: #94a99b;
    font-size: 48px;
    color: #ffffff;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
}

.blog .md_post_content_wrapper,
.archive .md_post_content_wrapper {
    padding-left: 50px;
}

.blog #left-area article .post-meta,
.archive #left-area article .post-meta {
    margin-bottom: 5px;
    font-size: 27px;
    line-height: 1;
    color: #000000;
}

.md-embed-container {
    position: relative;
    margin-bottom: 30px;
    overflow: hidden;
    max-width: 100%;
    height: auto;
}

.md-embed-container iframe,
.md-embed-container object,
.md-embed-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.blog .entry-featured-image-url,
.archive .entry-featured-image-url {
    float: left;
    width: 33%;
    margin-right: 30px;
    border: 4px solid #6C6C6C;
}

.blog .md_archive_content,
.archive .md_archive_content {
    margin-bottom: 30px;
    font-size: 25px;
    line-height: 1;
}

.blog .md_read_more,
.archive .md_read_more {
    clear: both;
}

.blog .md_read_more a,
.archive .md_read_more a {
    padding-top: 5px !important;
    padding-bottom: 0 !important;
    line-height: 1.9 !important;
}

.blog .md_read_more a::after,
.archive .md_read_more a::after {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);;
}

.md_horizontal_line {
    position: relative;
    padding-top: 70px;
}

.md_horizontal_line::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 33%;
    height: 1px;
    background-color: #64826d;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}

.wp-pagenavi {
    margin-bottom: 0;
    padding-top: 0;
    text-align: left;
    font-family: 'FISHCHIPS', Helvetica, Arial, Lucida, sans-serif;
}

.wp-pagenavi a,
.wp-pagenavi span {
    font-size: 36px !important;
    color: #64826d !important;
}

.wp-pagenavi span.current {
    font-weight: bold !important;
}

.wp-pagenavi span.current,
.wp-pagenavi a:hover {
    color: #64826d !important;
}

.wp-pagenavi .nextpostslink,
.wp-pagenavi .previouspostslink {
    font-weight: bold !important;
    color: #64826d !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.blog #left-area .wp-pagenavi,
.archive #left-area .wp-pagenavi {
    padding-left: 50px;
}

.blog #sidebar,
.archive #sidebar {
    padding-top: 25px;
}

#sidebar .widgettitle {
    padding: 30px 50px 20px;
    background-color: #9e9e9e;
    border-radius: 50px 50px 0 50px;
    font-size: 48px;
    text-transform: uppercase;
    color: #ffffff;
    -webkit-box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
}

#sidebar .et_pb_widget .widgettitle + ul {
    margin-left: 25px;
    padding: 30px 50px 10px;
    -webkit-box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
    border-radius: 50px 0 50px 50px;
    background-color: #c4c4c4;
    font-family: 'FISHCHIPS', Helvetica, Arial, Lucida, sans-serif;
    font-size: 27px;
}

#sidebar .et_pb_widget .widgettitle + ul ul li {
    margin-bottom: 0;
}

#sidebar .et_pb_widget .widgettitle + ul li {
    position: relative;
    padding-left: 20px;
}

#sidebar .et_pb_widget .widgettitle + ul li::before {
    content: '*';
    position: absolute;
    left: 0;
    top: 24px;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

#sidebar .et_pb_widget .widgettitle + ul li a {
    color: #000000;
}

.md_archive_block_link .et_pb_column {
    position: relative;
}

.md_archive_block_link .et_pb_column::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 100%;
    height: 50px;
    width: 1px;
    background-color: rgba(100, 130, 109, 0.8);
    -webkit-box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.25);
    box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.25);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}

@media (max-width: 980px) {
    .blog #left-area,
    .archive #left-area {
        padding-right: 0;
    }

    .blog article.et_pb_post,
    .archive article.et_pb_post {
        margin-bottom: 50px;
    }

    .blog article h2,
    .archive article h2 {
        padding: 25px 30px 25px;
        font-size: 38px;
    }

    .blog .md_post_content_wrapper,
    .archive .md_post_content_wrapper {
        padding-left: 25px;
        padding-right: 25px;
    }

    .blog .entry-featured-image-url,
    .archive .entry-featured-image-url {
        float: none;
        width: auto;
        margin-right: 0;
        border: 4px solid #6C6C6C;
    }

    .md_horizontal_line {
        padding-top: 50px;
    }

    .wp-pagenavi {
        margin-bottom: 50px;
    }

    .blog #left-area .wp-pagenavi,
    .archive #left-area .wp-pagenavi {
        padding-left: 25px;
    }

    .blog #sidebar,
    .archive #sidebar {
        padding-top: 0;
    }

    #sidebar .widgettitle {
        border-radius: 0 50px 50px 50px;
        font-size: 38px;
    }

    #sidebar .et_pb_widget .widgettitle + ul {
        padding: 30px 25px 10px;
    }
}

/*---------------------------------------------------------------------
Video Template
---------------------------------------------------------------------*/
.single-videos #main-content .container {
    padding-top: 0;
    max-width: 1200px !important;
}

.single-videos #main-content .et_post_meta_wrapper {
    margin-bottom: 50px;
}

/*---------------------------------------------------------------------
Single
---------------------------------------------------------------------*/
.single article {
    padding-bottom: 0 !important;
    font-family: 'FISHCHIPS', Helvetica, Arial, Lucida, sans-serif !important;
    font-size: 33px;
    line-height: 1.2em;
}

.single #main-header {
    margin-bottom: 75px;
}

.single.et_pb_pagebuilder_layout.et_full_width_page .et_post_meta_wrapper {
    width: 90%;
    max-width: 1200px;
}

.single article .entry-title {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
}

.single article .post-meta {
    font-family: 'FISHCHIPS', Helvetica, Arial, Lucida, sans-serif !important;
    line-height: 1;
}

@media (max-width: 980px) {
    .single article {
        font-size: 25px;
        line-height: 1em;
    }

    .single #main-header {
        margin-bottom: 50px;
    }

    .single article .entry-title {
        font-size: 38px;
    }

    .single article .post-meta {
        font-size: 27px !important;
    }
}

/*---------------------------------------------------------------------
404
---------------------------------------------------------------------*/
.error404 #main-content .container {
    max-width: 1200px !important;
}

/*---------------------------------------------------------------------
Footer
---------------------------------------------------------------------*/
@media (max-width: 980px) {
    #footer-columns .et_pb_column {
        margin-bottom: 50px !important;
    }

    #footer-columns .et_pb_column:last-child {
        margin-bottom: 0 !important;
    }

    #footer-columns > div:nth-child(2) {
        border: none !important;
    }
}