/*
 Theme Name:   District Six Child
 Theme URI:    http://districtsix.co.za/district-six-child/
 Description:  District Six Child Theme
 Author:       Richard Masefield
 Author URI:
 Template:     district-6
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:
 Text Domain:  district-6-child
*/

.single-exhibition div#et-main-area .container {
    width: 100%;
}
@media (max-width: 980px) {
    .et_non_fixed_nav.et_transparent_nav #main-header, .et_non_fixed_nav.et_transparent_nav #top-header, .et_fixed_nav #main-header, .et_fixed_nav #top-header {
        position: fixed;
    }
}
/*submit button center*/

#et_pb_contact_form_0 .et_contact_bottom_container {
    float: none!important;
    text-align: center!important;
}
/*submit button center end*/

.ds-vertical-align {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
/* Smartphones (landscape) ----------- */

@media (max-width: 980px) {
    .twoX2 .et_pb_column {
        max-width: 50% !important;
    }
    .twoX2 .et_pb_column.et_pb_column_1_3:nth-of-type(3) {
        margin: 0 25%;
    }
}
@media (max-width: 479px) {
    .et_pb_section .et_pb_row.twoX2 div.et_pb_column.et_pb_column_1_4 {
        width: 47.25% !important;
    }
}
a:active, a:focus {
    outline: none;
}
.et_fullscreen_slider .et_pb_slides, .et_fullscreen_slider .et_pb_slide, .et_fullscreen_slider .et_pb_container {
    min-height: 100% !important;
    height: 100% !important;
}
/* menu changes ----------- */

@media all and (min-width: 980px) {
    .et_header_style_fullscreen .et_slide_in_menu_container span.et_mobile_menu_arrow {
        visibility: hidden;
    }
    .et_header_style_fullscreen ul#mobile_menu_slide {
        text-align: left;
        /* padding-left: 12%; */
        padding-left: 10%;
        max-width: 50%;
        width: 50%;
    }
    .et_header_style_fullscreen #top-menu-nav, .et_header_style_slide #top-menu-nav, .et_header_style_slide .et_slide_in_menu_container span.mobile_menu_bar.et_toggle_fullscreen_menu, .et_slide_in_menu_container #mobile_menu_slide ul.sub-menu {
        padding-left: 15%
    }
    /*add background image*/
    body #page-container .et_slide_in_menu_container {
        /*background: url('/wp-content/uploads/2018/10/line.jpg') center center !important;*/
        background-color: #1d1d1d;
        background-size: fit !important;
        background-position: right;
    }
    /*take out background overlay*/
    .et_slide_menu_top {
        background: none;
    }
    /*take out background opacity*/
    .et_header_style_fullscreen .et_slide_in_menu_container.et_pb_fullscreen_menu_opened {
        opacity: 1;
    }
    .et_header_style_fullscreen .et_pb_fullscreen_nav_container {
        position: relative;
        width: 70%;
        margin: 0 auto;
    }
    .et_pb_fullscreen_nav_container::before {
        display: block;
        content: "";
        background: #e9e9e9;
        left: 50%;
        height: 40vh;
        width: 2px;
        top: 30vh;
        position: absolute;
    }
    .tickets {
        position: absolute;
        top: -5em;
    }
}
.tickets:hover {
    color: #000000 !important;
    background: #C9BB75 !important;
}
.tickets {
    margin-bottom: 1em;
    padding: 0.55em 3.5em!important;
    font-weight: 500!important;
    color: #ffffff !important;
    font-size: 18px;
    font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif !important;
    transition: color 300ms ease 0ms, color 300ms ease 0ms, background-color 300ms ease 0ms, background-color 300ms ease 0ms;
    background-color: #c9bb75!important;
    border-width: 0px !important;
    border-radius: 0px;
    font-weight: normal;
    font-style: normal;
    text-transform: uppercase;
    text-decoration: none;
}
.et_slide_in_menu_container #mobile_menu_slide .sub-menu li.menu-item-has-children a, .et_slide_in_menu_container #mobile_menu_slide li li a {

    font-weight: 500;
    color: white;
    opacity: 0.6;
    font-size: 0.7em;
    margin: 0;
    padding: 0;

}
.et_slide_in_menu_container #mobile_menu_slide .sub-menu li.menu-item-has-children a:hover{
	opacity: 0.7;
}
.more-link {
    font-size: 18px;
    background: #c9bb75;
    color: white;
    border-width: 0px!important;
    font-weight: 300;
    font-style: white;
    text-transform: uppercase;
    padding: 5px 15px 5px 15px;
}
.et_pb_blog_0 .et_pb_post, .et_pb_blog_0 .et_pb_post .post-content * {
    margin-bottom: 20px
}
.ds-vertical-align {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.et_parallax_bg {
    background-position: bottom center;
}
.et_mobile_device.et-db #et-boc .et_pb_section_parallax .et_pb_parallax_css, .et_mobile_device.et-db #et-boc .et_pb_slides .et_parallax_bg.et_pb_parallax_css {
    background-attachment: scroll;
}
/*
.single-exhibition div#et-main-area .container {
    width: 100%;
}
.single-exhibition div#et-main-area .et_post_meta_wrapper {
    display: none;
}*/

.type-exhibition h1.entry-title {
    display: none !important;
}
.exhibition-template-default #main-content .container {
    width: 100% !important;
    margin: 0px !important;
    border: 0px;
    padding: 0px !important;
}
#tribe-events-content {
    padding: 3%;
}
@media only screen and (max-width: 1240px) {
    #tribe-events-pg-template, .tribe-events-pg-template {
        max-width: 90%;
    }
    #tribe-events-content .tribe-events-calendar div[id*=tribe-events-event-] h3.tribe-events-month-event-title {
        font-size: 68%!important;
        font-weight: 200;
    }
}
.tribe-events-page-title {
    padding-top: 105px;
}
.tribe-clearfix {
    margin: 3%;
}
#tribe-bar-views .tribe-bar-views-list .tribe-bar-views-option a {
    margin-left: 10px;
    margin-right: 10px;
}
@media only screen and (max-width: 1240px) {
    .single-tribe_events .tribe-events-single-event-title {
        padding-top: 7%;
    }
}
.cl-ib.animation_aphelia .cl-ib-image {
    opacity: 0.001!important;
}
.cl-ib.animation_aphelia.hover .cl-ib-image {
    opacity: 1!important;
}
.caldera-grid label {
    font-weight: 300;
    line-height: 1;
}
.caldera-grid .btn {
    border: 1px solid lightgray;
    font-weight: 200;
    text-align: left;
}
.caldera-grid .btn-default {
    background-color: #c8bb75;
    color: white;
}
.caldera-grid .btn {
    font-weight: 400;
}
#contactformtandcs a {
    color: black;
}
.caldera-grid .form-control {
    padding: 22px 12px;
    border-radius: 0px;
}
.caldera-grid .form-control, .caldera-grid output {
    font-weight: 300;
}
@media only screen and (min-width: 1044px) {
    .sub-menu {
        margin-left: -11%;
    }
}
@media only screen and (max-width: 1044px) {
    .et_header_style_fullscreen ul#mobile_menu_slide {
        text-align: left;
        padding-left: 12%;
    }
    .sub-menu {
        margin-left: 5%;
    }
    .et_pb_fullscreen_nav_container {
        padding: 60px 0;
    }
    .et_header_style_left .mobile_menu_bar, .et_header_style_split .mobile_menu_bar {
        padding: 12px 0;
    }
    .et_header_style_fullscreen ul#mobile_menu_slide {
        text-align: left;
        padding-left: 11%;
        width: 100%;
        display: block !important;
        height: auto;
    }
}
.et_post_meta_wrapper {
    padding-left: 30px
}
.post-template-default #tribe-events #main-header {
    background-color: #373D5E;
}
.et_pb_button {
    color: white!important
}