/** Main background **/
#main{
    position: relative !important;
    hyphens: auto;
}

@media only screen and (min-width: 460px) {
    #main{
        hyphens: initial;
    }
}

.main_color{
    background-color: transparent;
}

#main:before {
    background: url("../images/main-background.svg") left -770px top 10px repeat-y !important;
    background-size: 2070px auto;
    display: flex;
    justify-content: center;
    font-size: 20px;
    z-index: -2;
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
}

#top:not(.home) #main:after {
    background: rgba(111, 143, 156, 0.06);
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: -1;
}

.home #main:before {
    background: url("../images/main-background-home.svg") left -570px top 10px repeat-y !important;
    background-size: 2070px auto;
    display: flex;
    justify-content: center;
    font-size: 20px;
    z-index: -2;
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;

}

@media only screen and (min-width: 1235px) {
    #main:before {
        background: url("../images/main-background.svg") center 100px repeat-y !important;
    }

    .home #main:before {
        background: url("../images/main-background-home.svg") center 100px repeat-y !important;
    }
}

.responsive .boxed#top {
    width: 100%;
    max-width: 100%;
}

#main {
    background-color: transparent;
}
.avia-section{
    background-color: transparent;
    position: relative;
    z-index: 1;
}

#top #main .container_wrap_first > div > main.content {
    padding-top: 0;
    padding-bottom: 0;
}

#top #main .container_wrap_first > div > main.content .post-entry-type-page {
    padding: 0 0 50px;
}

@media only screen and (min-width: 1235px) {
    #top #main .container_wrap_first > div > main.content .post-entry-type-page {
        padding: 36px 0 150px;
    }
}

.container_wrap.container_wrap_first,
#main .container_wrap {
    padding-top: 25px;
    border-top-width: 0;
}

@media only screen and (min-width: 920px) {
    #top #main .container_wrap_first > div > main.content {
        padding-top: 50px;
    }

    .container_wrap.container_wrap_first,
    #main .container_wrap {
        padding-top: 0;
    }

    .responsive.html_boxed.html_header_sticky #header {
        width: 100%;
        max-width: 100%;
        left: 0;
    }

    .responsive.html_boxed.html_header_sticky #header #header_main {
        max-width: 100%;
        /*max-width: 90%;*/
        margin: 0 auto;
    }
}

#top .css-event-form,
#top .widget_wp_sidebarlogin,
#top .em-events-admin-list{
    background: #fff;
    padding: 30px;
}

#top .widget_wp_sidebarlogin {
    margin: 0 auto;
    max-width: 480px;
}

#top .wpcf7 input[type="text"],
#top .wpcf7 input[type="password"],
#top .wpcf7 input[type="email"],
#top .css-event-form input[type="text"],
#top .css-event-form input[type="password"],
#top #loginform input[type="text"],
#top #loginform input[type="password"],
#top #em-wrapper #post-search-input{
    border-bottom: 1px solid #000;
}

#top #em-wrapper #post-search-input {
    max-width: 480px;
}

#top #em-wrapper tr.alternate {
    background-color: rgba(0, 0, 0, .05);
}

#top .css-event-form .wp-editor-container{
    border: 1px solid #dcdcde;
}

#top #event-form #event-name {
    width: auto;
    margin: 0!important;
    padding: 8px 6px;
}

#top #event-form .inside:not(.field) {
    margin-bottom: 0;
}

#top .css-event-form .alternate-selector {
    display: flex;
    flex-flow: row;
    white-space: nowrap;
    justify-items: center;
}

#top .css-event-form .field .alternate-selector select {
    margin-right: 1rem;
    margin-bottom: 0;
}

#top .css-event-form .field .alternate-selector input {
    margin-right: 0.75rem!important;
}

#top .css-event-form .field .alternate-selector label {
    display: flex;
    flex-flow: row;
    margin-right: 1.5rem;
    align-items: center;
}

#top .wpcf7 .wpcf7-form > p,
#top .css-event-form .field {
    display: flex;
    width: 100%;
    max-width: 640px;
    margin-bottom: 1rem;
}

#top .css-event-form .field.flex-col{
    flex-flow: column;
    align-items: flex-start;
}

#top .css-event-form .field select {
    border: 1px solid #dcdcde;
}

#top .css-event-form .field input {
    margin: 0!important;
}

#top .css-event-form .em-duration-range {
    flex-flow: row;
    display: flex;
    align-items: center;
    white-space: nowrap;
    margin-bottom: 1rem;
}

#top .css-event-form .em-duration-range input {
    margin: 0 1rem!important;
}

#top .css-event-form .field input[type="checkbox"] {
    margin: 0 1rem 0 0!important;
}

#top .wpcf7 .wpcf7-form label,
#top .css-event-form .field label {
    display: flex;
    flex-flow: column;
    flex: 50% 0 1;
    margin-right: 3rem;
}

#top .css-event-form .field label[for="em_attributes[veranstaltungsort]"] strong {
	color: #98c220;
}

#top .wpcf7 .wpcf7-form label.wide {
	flex: 100% 0 1;
}

#top .wpcf7 .wpcf7-form .wpcf7-list-item {
	margin: 0!important;
}

#top .wpcf7 .wpcf7-form .wpcf7-list-item label {
	flex-flow: row;
	margin: 0;
	flex: auto;
	align-items: baseline;
}

#top .wpcf7 .wpcf7-form .wpcf7-list-item label .wpcf7-list-item-label {
	margin-left: 0.5rem;
}

#top .css-event-form .field label.flex-row {
    flex-flow: row;
    align-items: center;
}

#top .css-event-form .event-attributes strong:first-letter {
    text-transform: uppercase;
}



/* typography */
/*.template-page .entry-content-wrapper > .entry-content h2 {*/
/*    font-size: 18px;*/
/*    text-transform: none;*/
/*    letter-spacing: calc(0.3em / 18);*/
/*    font-weight: bold;*/
/*}*/

/*.template-page .entry-content-wrapper > .entry-content p {*/
/*    font-size: 16px;*/
/*    letter-spacing: calc(0.4em / 16);*/
/*    font-weight: normal;*/
/*    line-height: 1.3em;*/
/*}*/

/*@media only screen and (min-width: 1235px) {*/
/*    .template-page .entry-content-wrapper > .entry-content h2 {*/
/*        font-size: 40px;*/
/*        letter-spacing: calc(0.67em / 40);*/
/*    }*/

/*    .template-page .entry-content-wrapper > .entry-content p {*/
/*        font-size: 20px;*/
/*        letter-spacing: calc(0.5em / 20);*/
/*    }*/
/*}*/

#top #mailpoet_form_1 form.mailpoet_form {
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
}
#top #footer > .container .flex_column #mailpoet_form-2.widget{
    margin-top: 30px;
}

#mailpoet_form_1 .mailpoet_paragraph{
    position: relative;
    height: 62px;
}
#mailpoet_form_1 .mailpoet_paragraph label.mailpoet_text_label{
    position: absolute;
    bottom: 0;
    padding-top: 5px;
    left: 0;
    right: 0;
    color:#979797;
    font-size: 11px;
    letter-spacing: calc(2.05em / 11);
    font-weight: bold;
    border-top: 1px solid #000000;
}
#mailpoet_form_1 .mailpoet_paragraph input.mailpoet_text{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}
#mailpoet_form_1 .mailpoet_paragraph input.mailpoet_text:focus{
    box-shadow: none;
    background: transparent;
    border-color: transparent;
}
#mailpoet_form_1 .mailpoet_paragraph input.mailpoet_text:-webkit-autofill,
#mailpoet_form_1 .mailpoet_paragraph input.mailpoet_text:-webkit-autofill:hover,
#mailpoet_form_1 .mailpoet_paragraph input.mailpoet_text:-webkit-autofill:focus{
    background-color: transparent !important;
    transition: background-color 5000s ease-in-out 0s;
}

#mailpoet_form_1 .mailpoet_paragraph.last{
    text-align: right;
}
#mailpoet_form_1 .mailpoet_paragraph.last input{
    background: white;
    color: black;
    border-bottom: 1px solid #98C220 !important;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: calc(0.23em/14);
    padding-bottom: 2px !important;
}
#mailpoet_form_1 .mailpoet_required{
    display: none;
}

.mailpoet_validate_success{
	font-size: 16px;
	line-height: 1.2;
	width: 80%;
}

#top.home #main #av_section_1 #home-hero .big-preview > a {
    height: 350px;
}
#top.home #main #av_section_1 #home-hero .big-preview img{
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    margin: 0 auto;
}

.fc-head, .fc-head-container, .fc-day-header {
    background: #98C220;
}

.wpfc-more, .ui-state-highlight, .ui-widget-header {
    background: #98C220 !important;
    border-color: #98C220 !important;
}

.category-abgesagt > a {
    border-color: darkred !important;
    color: darkred !important;
}

.bottom-padding {
    padding-bottom: 100px !important;
}

#pojo-a11y-toolbar.pojo-a11y-toolbar-left .pojo-a11y-toolbar-toggle {
    top: 40px;
}

.slide-entry .slide-meta time {
	display: none;
}

.slide-entry .entry-content {
	font-size: 18px;
}

.slide-entry .read-more-link a {
	color: #000000;
  	border-bottom: 1px solid #98C220;
	font-size: 14px;
	font-weight: 700;
	line-height: 23px;
	height: 23px;
}

.slide-entry .read-more-link a:hover {
	color: #000000;
	text-decoration: none
}

.slide-entry .more-link-arrow {
	display: none;
}

.avia-content-slider h3.slide-entry-title {
	color: #000!important;
}

.avia-content-slider .slide-image {
	margin-bottom: 1rem!important;
}

.avia-content-slider-inner {
    padding-bottom: 1px!important;
    box-sizing: content-box;
}

@media only screen and (max-width: 767px){
	.avia-content-slider .slide-entry {
		margin: 1rem 0!important;
	}
}

.template-search #s {
    border: 1px solid #000!important;
}

.wpfc-calendar-wrapper tr {
	background-color: transparent!important;
}