/*
Theme Name: FAS Porzer Karneval
Theme URI: https://porzer-karneval.de
Author: internetgestalten.de
Author URI: https://internetgestalten.de
Description: ashe Child Theme for porzer-karneval.de
Version: 0.9.6
Template: ashe
Text Domain: porzerkarneval
*/


/* playfair-display-regular - latin */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  src: local(''),
       url('fonts/playfair-display-v30-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('fonts/playfair-display-v30-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* playfair-display-700 - latin */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  src: local(''),
       url('fonts/playfair-display-v30-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('fonts/playfair-display-v30-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}


/* open-sans-regular - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local(''),
       url('fonts/open-sans-v29-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('fonts/open-sans-v29-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* open-sans-600 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  src: local(''),
       url('fonts/open-sans-v29-latin-600.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('fonts/open-sans-v29-latin-600.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* open-sans-700 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: local(''),
       url('fonts/open-sans-v29-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('fonts/open-sans-v29-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}



#popup {
    display: none;
    position: absolute;
    top: 100px;
    left: calc(50% - 350px);
    z-index: 99999;
    border: 5px solid #D2232A;
    width: 700px;
    animation: vonoben 2s 1;
}
@keyframes vonoben {
  from   {top: 0px;}
  to {top: 100px;}
}
.home #popup {
    display: block;
}

#popup img {
    width: 100%;
}
#popclose {
    display: block;
    width: 40px;
    height: 40px;
    background: url('images/popclose.svg') no-repeat center;
    background-size: 40px;
    position: absolute;
    top: -20px;
    right: -20px;
    cursor: pointer;
}

.header-logo {
    display: none;
}

.page-title {
    margin-top: .5em;
    margin-bottom: 1.2em;
}

.post-content h2 {
    margin: 1.5em 0 1em 0;
    font-size: 2em;
}

.has-text-align-center > a > img,
.has-text-align-center > img {
    display: inline-block;
}

/* calender */
#sc_events_calendar_head select {
    font-size: 1em;
    max-height: none;
    width: 49%;
    max-width: none;
    overflow: auto;
    white-space: nowrap;
    text-overflow: none;;
}

#sc_event_category {
    display: none;
}

#sc_events_calendar_head select option {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}

#sc_submit {
    cursor: pointer;
    transition: 0.3s all;
}

#sc_submit:hover {
    background-color: #333;
    color: #fff;
}

#sc_calendar td div.sc_day_div a {
    font-size: 2.4em;
}

.top-bar-socials a {
    line-height: normal;
}

.top-bar-socials i.fa {
    font-size: 1.8em;
    padding-top: 14px;
}

.sc_calendar_submit {
    cursor: pointer;
}

.single-sc_event .sc_event_details {
    display: none;
}

#main-menu li:first-child a {
    padding-left: 16px;
}

#main-menu > li.mobile-only {
    display: none;
}


@media screen and (max-width: 980px) {
 
    #main-menu > li.mobile-only {
        display: inline-block;
    }
    
    #popup {
        left: 20vw;
        width: 60vw;
    }
    
}


@media screen and (max-width: 979px) {
    .mobile-menu-btn {
        display: inline-block;
    }
}

@media screen and (max-width: 640px) {
 
    #page-header .entry-header {
        padding: 80px 0!important;
    }
    
    .home #page-header .entry-header {
        background-position-x:0!important;
    }
    
    
}

@media screen and (max-width: 560px) {
 
    #page-header .entry-header {
        padding: 0!important;
    }
 
    #page-header .entry-header a {
        min-height: 150px;
        display: block;
    }
    
    
    
}


#zugform {
    margin: 2em 0;
}
#zugform h2 ,
#zugform h3 {
    font-size: 2em;
}
.kontaktform {
    margin: 2em 0;
    width: 100%;
}
#zugform textarea,
#zugform input[type="text"] {
    padding: 3px 8px;
    height: 3em;
    font-family: sans-serif;
    width: 100%;
    font-size: 1em;
}
#rechner input {
    padding: 3px 8px;
    height: 2em;
    font-family: sans-serif;
    font-size: 1em;
    width: 4em;
    margin-right: 5px;
}
#zugform textarea {
    height: 8em;
}
#sendbutton {
    padding: 5px 2em;
    background: #d33;
    color: #fff;
    border: none;
    font-size: 1.2em;
    float: right;
    cursor: pointer;
}
#sendbutton:hover {
    background: #fff;
    color: #d33;
    border: 1px solid #d33;
}
#berechnen {
    padding: 5px 2em;
    background: #fff;
    color: #d33;
    border: 1px solid #d33;
    font-size: 1.2em;
}
.errhint {
    background: #d33;
    color: #fff;
    padding: 5px 8px;
}
#zugform input.error {
    border: 2px solid #d33;
}
.successmessage {
    background: green;
    color: #fff;
    padding: 5px 8px;
}