/*
Theme Name: Yoga Fit Child
Theme URI: http://cmsmasters.net/yoga-fit-child/
Author: cmsmasters
Author URI: http://cmsmasters.net/
Description: Yoga Fit Child Theme
Template: yoga-fit
Version: 1.0.0
License:
License URI:
Text Domain: yoga-fit-child
Tags: one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready
*/

/*
 * HEADER
 */
#header .header_mid .logo_wrap .logo img {
    max-height: 80%;
}

#header .header_mid_inner {
    width: 95%;
}

#main .top_img {
   background: url('img/skyline_long.svg'),
               linear-gradient(to bottom, #668014 0%, #9FC820 50%);
   background-position: calc(70% - 1vw * 0.5) 5px, center center;
   background-repeat: no-repeat;
   background-attachment: scroll;
}

@media only screen and (max-width: 1024px) {
    #main .top_img {
        background-size: 200%;
        background-position: top calc((1024px - 100vw) / 10) left 78.5%, center center
    }
    
    .top_img h1.entry-title {
        font-size: 30px;
        line-height: 1.2;
    }
}

@media only screen and (max-width: 767px) {
    #main .top_img .headline {
        padding-top: 65px;
    }
}

#main .top_img .entry-title .cmsms_theme_icon_back:before {
    margin-left: 0;
    margin-right: 0.4em;
    cursor: pointer;
    text-align: left;
}

#layerslider_1 {
    background: linear-gradient(to bottom, #668014 0%, #9FC820 50%) !important;
}

/*
 * LAYOUT
 */
/* Project & Event */
.cmsms_tt_event .cmsms_tt_event_content_wrap.with_sidebar, .portfolio.opened-article .project .project_content.with_sidebar {
    width: 70%;
}

.cmsms_tt_event .cmsms_tt_event_sidebar, .portfolio.opened-article .project .project_sidebar {
    width: 30%;
}

@media only screen and (max-width: 950px) {
    .cmsms_tt_event .cmsms_tt_event_content_wrap.with_sidebar, .cmsms_tt_event .cmsms_tt_event_sidebar {
        width: 100%;
    }
}

/* Project & Event Sidebar */
.portfolio.opened-article .project .project_sidebar .project_features .project_features_item,
.portfolio.opened-article .project .project_sidebar .project_details .project_details_item,
.cmsms_tt_event .cmsms_tt_event_details .cmsms_tt_event_details_item {
    display: flex;
    justify-content: space-between;
}

.portfolio.opened-article .project .project_sidebar .project_features .project_features_item > div,
.portfolio.opened-article .project .project_sidebar .project_details .project_details_item > div,
.cmsms_tt_event .cmsms_tt_event_details .cmsms_tt_event_details_item > div {
    width: auto;
}

.portfolio.opened-article .project .project_sidebar .project_features .project_features_item .project_features_item_desc,
.portfolio.opened-article .project .project_sidebar .project_details .project_details_item .project_details_item_desc,
.cmsms_tt_event .cmsms_tt_event_details .cmsms_tt_event_details_item .cmsms_tt_event_details_item_desc {
    flex-shrink: 0;
}

.widget .widgettitle {
    margin-bottom: 25px;
}

/*
 * TYPOGRAPHY
 */
q, blockquote {
    padding: 0 0 0 50px;
    margin-top: 10px;
}

q:before, blockquote:before, q:after, blockquote:after {
    line-height: 80px;
}

q:before, blockquote:before {
    top: -10px;
    left: 0;
}

q:after, blockquote:after {
    display: none;
    bottom: 0;
    right: 23px;
}

@media only screen and (max-width: 767px) {
    q, blockquote, html #page q, html #page blockquote {
        padding: 0 0 0 10px;
    }

    q:before, blockquote:before, html #page q:before, html #page blockquote:before {
        top: -30px;
        left: -10px;
    }
}

.cmsms_img.with_caption {
    padding: 0;
    border: none;
    background: transparent;
}

.cmsms_img .cmsms_img_caption {
    font-weight: 300;
}

@media only screen and (max-width: 767px) {
    .mobile_button.cmsms_button {
        font-size: 18px !important;
    }
}


/*
 * Projects
 .portfolio article.project .project_outer {
    border: 1px solid rgb(159, 200, 32);
    box-shadow: rgba(0, 0, 0, 0.3) 0px 2px 3px;
}

.portfolio article.project .project_outer .project_inner {
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 25px;
}
*/

/*
 * BUTTONS
 */
input[type='submit'], button, input[type='button'], .button {
    color: #FFFFFF;
    background-color: #9FC820;
    border: none;
    box-shadow: 0 7px 10px -5px rgba(0,0,0,0.5);
    border-radius: 3px;
    font-size: 100%;
}

input[type='submit']:hover, button:hover, input[type='button']:hover, .button:hover {
    color: #5C7A00;
}

/*
 * ANFRAGEBUTTON
 */
.anfragebutton.cmsms_button {
    font-size: 18px;
    line-height: 40px;
    font-weight: normal;
    font-style: normal;
    border-width: 0px;
    border-style: solid;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    background-color: #9fc820;
    color: #ffffff;
}

/*
 * ICON LISTS
 */
.cmsms_icon_list_items.cmsms_color_type_bg .cmsms_icon_list_item .cmsms_icon_list_icon_wrap .cmsms_icon_list_icon:after {
    border-color: rgba(255,255,255,0.4);
}

.cmsms_icon_list_items.cmsms_icon_list_type_block .cmsms_icon_list_item.cmsms_icon_type_image .cmsms_icon_list_icon {
    background-size: 50%;
}

/*
 * TIMETABLE
 */
.tt_tabs_navigation li a {
    color: #333333 !important;
}

table.tt_timetable td.event {
    position: relative;
    box-shadow: 0px 3px 10px 0px rgba(0,0,0,0.4);
    cursor: pointer;
}

table.tt_timetable .event_container {
    padding: 18px 15px 15px;
}

.tt_timetable.small .event_container a.event_header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 15px;
}
.tt_timetable.small .event_container .event_description {
    padding-top: 20px;
}


/*
 * BLOG WIDGET
 */
.post.cmsms_masonry_type .cmsms_post_cont {
    border: none;
}

.post.cmsms_masonry_type .cmsms_post_cont .cmsms_post_cont_inner {
    padding-left: 0;
    padding-right: 0;
}



/*
 * SIDEBAR
 */
.contact_widget_name, .contact_widget_phone, .adress_wrap {
    padding-bottom: 15px;
}

.contact_widget_name:before, .contact_widget_email:before, .contact_widget_phone:before, .adress_wrap:before {
    color: #9B197B;
}

/*
 * LAYOUT EXTRA CLASSES
 */

/* WIDE_COLUMNS: break at 1024px instead of 768px */
@media only screen and (max-width: 1024px) {
    html .wide_columns .one_first, html .wide_columns .one_half, html .wide_columns .one_third, html .wide_columns .two_third,
    html .wide_columns .one_fourth, html .wide_columns .one_fifth, html .wide_columns .three_fourth,
    html .wide_columns .cmsms_121414 .cmsms_column.one_half, html .wide_columns .cmsms_141412 .cmsms_column.one_half,
    html .wide_columns .cmsms_141214 .cmsms_column.one_fourth, html .wide_columns .cmsms_141214 .cmsms_column.one_half {
        width: 96%;
        float: none;
        clear: both;
    }
}

/* WIDE_ICON_LIST: break icons at 1024px for better readability */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .wide_icon_list.cmsms_icon_list_items.cmsms_icon_list_type_block.cmsms_icon_list_pos_left .cmsms_icon_list_icon_wrap,
    .wide_icon_list.cmsms_icon_list_items.cmsms_icon_list_type_block.cmsms_icon_list_pos_right .cmsms_icon_list_icon_wrap {
        float: none;
        padding: 0;
        padding-bottom: 20px;
    }
    .wide_icon_list.cmsms_icon_list_items.cmsms_icon_list_type_block.cmsms_icon_list_pos_right .cmsms_icon_list_icon_wrap {
        text-align: right;
    }
    .wide_icon_list.cmsms_icon_list_items.cmsms_icon_list_type_block.cmsms_icon_list_pos_right .cmsms_icon_list_icon_wrap .cmsms_icon_list_icon {
        display: inline-block;
    }
}

/* BUTTONS_UP: inside this class: negative margin for all buttons to overlap with preceding elements */
.button_up .button_wrap {
    margin-top: -45px;
}

.button_up .button_wrap .cmsms_button {
    border-bottom: none !important;
}

/* LIGHT_SHADOW: apply light box shadow */
.light_shadow, .cmsms_button.light_shadow {
    box-shadow: 0 7px 10px -5px rgba(0,0,0,0.5);
}

/* [BIG_]SPACER_BOTTOM: apply bottom margin (20px / 50px) */
.spacer_bottom {
    margin-bottom: 20px !important;
}

.big_spacer_bottom {
    margin-bottom: 50px !important;
}

/*
 * NEWSLETTER_WRAPPER
 */
.newsletter_wrapper {
    padding: 20px;
    background-color: #FFFFFF;
    background-image: url('./img/rolled-newspaper-bitmap-copy.png');
    background-repeat: no-repeat;
    background-size: 70%;
    background-position: right bottom;
    border-radius: 2px;
}

.newsletter_wrapper a {
    color: #5b7eac;
}

/*
 * CONTACT FORMS 7
 */
.wpcf7 form.wpcf7-form span.wpcf7-list-item input[type='checkbox'] + span.wpcf7-list-item-label:before, .cmsms-form-builder .check_parent input[type='checkbox'] + label:before,
.wpcf7 form.wpcf7-form span.wpcf7-list-item input[type='radio'] + span.wpcf7-list-item-label:before, .cmsms-form-builder .check_parent input[type='radio'] + label:before,
#slide_top, input[type=text], input[type=tel], input[type=number], input[type=date], input[type=search], input[type=email], input[type=password],
textarea, select, option, fieldset {
    border-color: #9FC820;
}

input[type=text]:focus, input[type=tel]:focus, input[type=search]:focus, input[type=number]:focus,
input[type=date]:focus, input[type=email]:focus, input[type=password]:focus, textarea:focus, select:focus {
    background-color: #D4F376;
}

.wpcf7 form.wpcf7-form span.wpcf7-list-item input[type="checkbox"], .wpcf7 form.wpcf7-form span.wpcf7-list-item input[type="radio"] {
    position: static;
    float: none;
}

.wpcf7-form-control.wpcf7-radio .wpcf7-list-item.first, .wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item.first {
    margin-top: 10px;
}

.wpcf7-form-control.wpcf7-radio .wpcf7-list-item input, .wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item input {
    margin-bottom: 10px;
}

span.wpcf7-not-valid-tip {
    color: #9B197B;
}

div.wpcf7-validation-errors, div.wpcf7-acceptance-missing {
    border-color: #9B197B;
}

div.wpcf7-response-output {
    margin: 2em 0 1em;
    padding: .5em 1em;
}

/*
 * MomSlider
 */
.momslider {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.momslider ul {
    position: relative;
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.momslider ul li {
    position: relative;
    display: block;
    float: left;
    margin: 0;
    margin-right: 10px;
    padding: 0;
}

.momslider ul li:before {
    content: none;
}

.momslider ul li p {
    margin: 0;
    font-style: italic;
    font-weight: 200;
    text-align: justify;
}

.momslider .momslider-title {
    color: #AAA;
    border: 0;
    font-style: normal;
    font-weight: normal;
    text-align: right;
}

.momslider-text .cmsms_theme_icon_quote {
    color: #AAA;
    float: left;
    margin-right: 5px;
}

.momslider .momslider-thumb {
    display: block;
    position: relative;
    float: left;
    max-width: 50%;
    padding-right: 5%;
    padding-top: 3px;
    border: 0;
}

.momslider .momslider-thumb-overlay {
    position:absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.3);
}

.momslider .momslider-next, .momslider .momslider-prev {
    position: absolute;
    top: 40%;
    z-index: 999;
    display: block;
    padding: 1% 1%;
    width: auto;
    height: auto;
    background: #9fc820;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    opacity: 0;
    cursor: pointer;
}

.momslider:hover .momslider-next, .momslider:hover .momslider-prev {
    opacity: 1;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.momslider .momslider-prev {
    border-radius: 0 2px 2px 0;
}

.momslider .momslider-next {
    right: 0;
    border-radius: 2px 0 0 2px;
}

/*
 * MomSlider Homepage
 */
.mom_home .momslider .momslider-thumb-overlay {
    opacity: 0;
}

.mom_home .momslider-next, .momslider .momslider-prev {
    background-color: #3f4a10;
}

.mom_home .momslider ul li p {
    color: #FFF;
}

.mom_home .momslider .momslider-title, .mom_home .momslider .momslider-title a, .mom_home .momslider .cmsms_theme_icon_quote {
    color: #EFEFEF;
}

/*
 * MomSlider Popup
 */
.momslider-popup {
    display:none;
    background:#FFF;
    width: 90vw;
    max-width: 600px;
}

.momslider-popup .momslider-thumb {
    float: left;
    max-width: 30%;
    padding-right: 5%;
    padding-top: 3px;
    border: 0;
}

.ilightbox-loader {
    display: none !important;
}

html.with-featherlight {
    overflow: visible !important;
}

.featherlight .featherlight-close-icon {
    box-shadow: none;
}

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

/*
 * Featherlight Modals
 */
.modal {
    display: none;
}

html.with-featherlight {
    overflow: hidden !important;
}

body .featherlight {
    overflow-y: auto;
}

body .featherlight .featherlight-content {
    box-sizing: border-box;
    width: 90vw;
    max-width: 1200px;
    max-height: auto;
    background-color: #FFF;
    box-shadow: inset 0 20px 20px -20px #000;
    border-bottom: 0;
    padding: 1rem;
    margin: 0 auto;
}

@media only screen and (max-width: 767px) {
    body .featherlight .featherlight-content {
        width: 100vw;
    }
}

.ilightbox-loader {
    display: none !important;
}

body .featherlight .featherlight-close-icon {
    position: fixed;
    box-shadow: none;
    font-size: 2rem;
    width: 2rem;
    padding-left: 0.2rem;
    padding-top: 0.1rem;
    line-height: 1;
}


/*
 * Additional Icon Classes
 */
.cmsms_theme_icon_back:before { content: '\e8bb'; } /* back-button */
.cmsms_theme_icon_prev:before { content: '\e8c2'; } /* arrow open left */
.cmsms_theme_icon_next:before { content: '\e8c3'; } /* arrow open right */
.cmsms_theme_icon_quote:before { content: '\e868'; } /* quote left */

/*
 * Custom Style Classes
 */
.filter-shadow {
    filter: drop-shadow(5px 5px 5px #3f4a10);
}


/*
 * DSGVO Tools
 */
#cookie-notice {
    box-sizing: border-box;
    width: 100%;
    min-width: unset;
}

#cookie-notice .cookie-notice-container {
    padding: 2rem 2rem 1rem 2rem;
    box-sizing: border-box;
}

#cookie-notice #cn-notice-text {
    font-size: 1rem !important;
}
    
#cookie-notice #cn-accept-cookie, #cookie-notice #cn-more-info {
    background-color: #29a510 !important;
    color: #FFFFFF !important;
    border-color: #34db12;
    font-size: 1rem !important;
    padding: 0.3rem 0.5rem;
    text-shadow: 2px 2px 2px rgba(0,0,0, 0.2);
    margin-bottom: 1rem;
}

#cookie-notice #cn-more-info {
    background-color: #707070 !important;
    border-color: #a5a5a5;
}

.sp-dsgvo-framework .row .column:first-child {
    font-weight: bold;
}

@media screen and (max-width: 680px) {
    .sp-dsgvo-framework .row .column {
        margin-bottom: 0.5rem;
    }

    .sp-dsgvo-framework .row .column.column-50 {
        max-width: unset;
    }

}

.sp-dsgvo-framework select {
    padding: 0.2rem 0.2rem 0.2rem 0.5rem;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" height="14" viewBox="0 0 29 14" width="29"><path fill="#d1d1d1" d="M9.37727 3.625l5.08154 6.93523L19.54036 3.625"/></svg>');
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='14' viewBox='0 0 29 14' width='29'%3E%3Cpath fill='%23d1d1d1' d='M9.37727 3.625l5.08154 6.93523L19.54036 3.625'/%3E%3C/svg%3E%0A");
    background-position: center right;
    background-repeat: no-repeat;
}

    









