/* google fonts */
/* @import url(https://fonts.googleapis.com/css?family=Oswald|Roboto:400,700|Merienda:700,400); */

/*
 * font-family: 'Oswald', sans-serif;
 * font-family: 'Roboto', sans-serif;
 * font-family: 'Merienda', cursive;
 *
 * colors:
 * "white"		#FFFEE8
 * "gold"		#F7CB54
 * blue			#00529B
 * gray			#333333
 * light gray	#DBDCCE
 */
/** alg. elements **/
/* body */
body {
    background-repeat: no-repeat;
    background-position: 100% -245px;
    background-attachment: fixed;
}

body.iOS {
    background-image: none;
    background: #FFFEE8 !important;
}

#background {
    display: none;
}

body, #background {
    background-size: cover;
    background-position: center top;
}

.iOS .mfp-bg, .iOS #background {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-position: 100% -100px;
}

/* Klasse zum verstecken */
.hide {
	display: none;
}

#container.sidebar>footer {
	padding-top: unset;	
}

/* link a */
a {
    text-decoration: none;
    color: #333333;
}

.entry-content a {
    color: #00529B;
}

/* button */
button {
    cursor: pointer;
}

/* paragraph p */
.entry-content p {
    margin-bottom: 1.6em;
}

aside p {
    margin-bottom: 0.5em;
}

/* list items ul li */
.entry-content ul {
    margin-bottom: 1.6em;
}

.entry-content li {
    position: relative;
    list-style: none;
    line-height: 24px;
    padding-left: 30px;
    margin-bottom: 5px;
}

.entry-content li:before {
    content: '';
    display: block;
    position: absolute;
    left: 0px;
    width: 24px;
    height: 24px;
    float: left;
    margin-right: 15px;
    background: url('img/list_sternchen.png');
}

textarea,
select,
input {
    border: 1px solid #DBDCCE;
    padding: 5px;
    font-size: 17px;
    line-height: 20px;
}

/** most outer elements **/
/* header */
#container.sidebar>header {
    background: #FFFEE8;
}

/* container */
#container {
    background: transparent;
}

/* footer */
#container>footer {
    background: #FFFEE8;
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    text-align: center;
}

#container>footer p:last-of-type {
    margin-top: 10px;
    font-size: 14px;
}

/** inner elements **/
/* header logo */
header .logo {
    text-align: center;
    padding: 40px 0px;
}

/* header nav */
nav ul {
    text-align: center;
}

nav ul li a {
    display: block;
    padding: 13px 0px;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

nav ul ul {
    background-color: rgba(255, 207, 6, 0.15);
}

nav ul ul li a {
    padding: 6px 0px;
    font-size: 16px;
}

nav .current-menu-item>a, nav .current-menu-ancestor>a {
    color: #00529b;
}

.dropdown-toggle {
    height: 50px;
    width: 50px;
    font-size: 25px;
}

/* content */
#content {
    padding: 0px 60px;
}

/* content logo */
#content .logo {
    text-align: center;
    padding: 20px 0px;
}

#content .logo img {
    width: 65%;
}

/* content advent */
#content .advent.container {
    float: left;
    margin-right: 60px;
}

/* content article */
#content article {
    position: relative;
    width: -webkit-calc(100% - 566px);
    width: -moz-calc(100% - 566px);
    width: calc(100% - 566px);
    float: left;
    padding: 40px;
    margin-bottom: 20px;
    border: 9px solid #F7CB54;
    background: #FFFEE8;
}

.entry-content .drow.box:before, #content article:before {
    content: '';
    display: block;
    position: absolute;
    bottom: 20px;
    width: -webkit-calc(100% - 80px);
    width: -moz-calc(100% - 80px);
    width: calc(100% - 80px);
    border-top: 1px solid #F7CB54;
}

.entry-content .drow.box:after, #content article:after {
    content: '';
    display: block;
    position: absolute;
    left: 50%;
    bottom: 10px;
    margin-left: -37.5px;
    width: 75px;
    height: 24px;
    background: url('img/list_sternchen.png') no-repeat 50% 50% #FFFEE8;
}

#content .home article {
    width: -webkit-calc(100% - 678px);
    width: -moz-calc(100% - 678px);
    width: calc(100% - 678px);
    padding: 0px;
    border: 0;
    background: transparent;
}

#content .home article:before, #content .home article:after {
    display: none;
}

.entry-content .drow.box {
    position: relative;
    width: 100%;
    float: left;
    padding: 40px;
    padding-bottom: 50px;
    border: 9px solid #F7CB54;
    margin-bottom: 50px;
    background: #FFFEE8;
}

.entry-content .drow.box:after {
    content: '';
    display: block;
    clear: both;
}

.home .entry-content .drow.box {
    border: 0px;
}

.entry-content *:last-child, .home .entry-content .drow.box:last-of-type *:last-child {
    margin-bottom: 0px;
}

.box.drow.ausverkauft h2 {
    padding-left: 50px;
}

.box.drow.ausverkauft h2:before {
    content: '';
    display: block;
    float: left;
    height: 10px;
    width: 65px;
}

.box.drow.ausverkauft h2:after {
    content: '';
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 258px;
    height: 116px;
    background: url('img/ausverkauft.png') no-repeat 0% 0%;
}

.box.drow.soon h2 {
    padding-left: 50px;
}

.box.drow.soon h2:before {
    content: '';
    display: block;
    float: left;
    height: 10px;
    width: 65px;
}

/*
.box.drow.soon h2:after {
    content: '';
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 258px;
    height: 116px;
    background: url('/wp-content/uploads/2016/09/bald_ist_es_so_weit.png') no-repeat 0% 0%;
}
*/

/* aside */
aside {
    position: fixed;
    right: 60px;
    padding-left: 60px;
}

/* button */
button {
    border: 0px;
    padding: 0px;
    margin: 0px;
    background: transparent;
}

/* entry / content */
.entry-header h1 {
    margin-bottom: 30px;
    font-family: 'Merienda', cursive;
    ;
    font-size: 25px;
    line-height: 30px;
    font-weight: bold;
    color: #00529B;
}

.entry-content h2 {
    margin-bottom: 30px;
    font-family: 'Merienda', cursive;
    font-size: 25px;
    line-height: 30px;
    color: #00529B;
}

/* addon classes */
#content.fixed-background-bottom {
    background-position: bottom right;
    background-attachment: fixed;
}

#content .advent.calendar, #content article, .entry-content .drow.box, .dropshadow {
    -webkit-box-shadow: 4px 4px 8px -1px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 4px 4px 8px -1px rgba(0, 0, 0, 0.25);
    box-shadow: 4px 4px 8px -1px rgba(0, 0, 0, 0.25);
}

#content .home article {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

/* gallery */
.galleryid-14 .gallery-item .gallery-icon {
    /*border: 1px solid #F7CB54;*/
    background: #fff;
}

/* scrollTop */
.back_to_top {
    display: none;
    position: fixed;
    right: 0px;
    bottom: 40px;
    padding: 10px 20px;
    border: 1px solid #DBDCCE;
    background: #FFFEE8;
    cursor: pointer;
    -webkit-box-shadow: 4px 4px 8px -1px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 4px 4px 8px -1px rgba(0, 0, 0, 0.5);
    box-shadow: 4px 4px 8px -1px rgba(0, 0, 0, 0.5);
}

/* tinyMCE */
.advent_target:after {
    content: '';
    display: block;
    clear: both;
}

.advent_target li {
    display: inline-block;
    width: 24%;
    float: left;
    padding: 5px;
    padding-top: 30px;
	padding-bottom: 30px;
    margin-right: 1%;
    /*border: 3px solid #F7CB54;*/
    background: #296EAB;
    background: linear-gradient(#296EAB, #002661);
    text-align: center;
    font-size: 17px;
    line-height: 20px;
    color: #fff;
    -webkit-box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.75);
    word-break: break-word;
}

.advent_target li a {
    color: #fff;
}

.advent_target li:last-of-type {
    margin-right: 0;
}

.advent_target li:before {
    top: 5px;
    left: 50%;
    margin-left: -12px;
}

.advent_target li strong {
    display: inline-block;
    width: 100%;
    font-size: 20px;
}

.advent_target li::before {
	background: unset;	
}

.alignright {
    float: right;
}

.alignleft {
    float: left;
}

.aligncenter {
    display: block;
    margin-right: auto;
    margin-left: auto;
}

.gallery {
    margin-bottom: 1.6em;
}

.gallery-item {
    display: inline-block;
    /*padding: 0 0.4% 0.5% 0;*/
    text-align: center;
    vertical-align: top;
    width: 100%;
}

.gallery-columns-2 .gallery-item {
    max-width: 50%;
}

.gallery-columns-3 .gallery-item {
    max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
    max-width: 25%;
}

.gallery-columns-5 .gallery-item {
    max-width: 20%;
}

.gallery-columns-6 .gallery-item {
    max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
    max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
    max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
    max-width: 11.11%;
}

.gallery-icon img {
    margin: 0 auto;
    display: block;
}

.gallery-caption {
    color: #707070;
    color: rgba(51, 51, 51, 0.7);
    display: block;
    font-family: "Noto Sans", sans-serif;
    font-size: 12px;
    font-size: 1.2 rem;
    line-height: 1.5;
    padding: 0.5em 0;
}

.gallery-columns-6 .gallery-caption, .gallery-columns-7 .gallery-caption, .gallery-columns-8 .gallery-caption, .gallery-columns-9 .gallery-caption {
    display: none;
}

/* magnific popup */
.mfp-close-btn-in .mfp-close {
    top: 30px;
    right: 20px;
    width: 40px;
    height: 40px;
    /* border: 1px solid #000; */
    font-size: 30px;
    background: #FFFEE8;
}

/* responsive */
/* img */
.entry-content img, aside img {
    width: 100%;
    height: auto;
}

/** plugins **/
/* newsletter */
.newsletter th, .newsletter tr {
    padding: 0px 5px 20px 0;
    font-weight: normal;
    text-align: left;
}

.newsletter input {
    padding: 4px 2px;
}

.newsletter .newsletter-submit {
    padding: 5px 15px;
    background: #c20011;
    border-color: transparent;
    border-style: solid;
    border-radius: 4px;
    color: #fff;
}

.newsletter .newsletter-td-privacy a {
    display: inline-block;
    padding: 0px 5px 20px 0;
    margin-left: 28px;
    margin-top: -19px;
}

/* contact form 7 */
.wpcf7-form label {
    display: block;
}

.wpcf7-form select,
.wpcf7-form textarea,
.wpcf7-form input {
    width: 80%;
    box-sizing: border-box;
}

.wpcf7-form input[type="submit"] {
    width: auto;
    padding: 5px 20px;
    color: #fff;
    background: #00529B;
}

/*** responsive ***/
@media screen and (max-width: 1600px) {
    .advent_target li {
        width: 49%;
        margin-right: 2%;
    }

    .advent_target li:nth-child(2), .advent_target li:nth-child(4) {
        margin-right: 0px;
    }
}

@media screen and (max-width: 1500px) {
    #container.sidebar>header, #container.sidebar>footer {
        width: 17%;
    }

    #container.sidebar>div#content {
        width: 83%;
        margin-left: 17%;
    }

    #content .advent.container {
        margin-right: 30px;
    }

    #content .home article {
        width: -webkit-calc(100% - 568px);
        width: -moz-calc(100% - 568px);
        width: calc(100% - 568px);
    }

    #content article {
        width: -webkit-calc(100% - 536px);
        width: -moz-calc(100% - 536px);
        width: calc(100% - 536px)
    }

    aside {
        margin-left: 30px
    }
}

@media screen and (max-width: 1300px) {
    #container.sidebar>header, #container.sidebar>footer {
        width: 19%;
    }

    #container.sidebar>div#content {
        width: 81%;
        margin-left: 19%;
    }

    #content .advent.container {
        width: 100%;
        text-align: center;
        margin-bottom: 30px;
    }

    #content .home article {
        width: 100%;
    }

    .entry-content .drow.box {
        margin-bottom: 30px;
    }

    #content article {
        width: 100%;
        margin-bottom: 30px;
    }

    .advent_target li {
        width: 24%;
        margin-right: 1%;
    }

    .advent_target li:nth-child(2) {
        margin-right: 1%;
    }

    .advent_target li:nth-child(4) {
        margin-right: 0px;
    }

    aside {
        position: relative;
        width: 100%;
        right: auto;
        padding: 0px;
        margin-left: 0px;
        text-align: center;
    }
}

@media screen and (max-width: 1200px) {
    #container.sidebar>header, #container.sidebar>footer {
        width: 20%;
    }

    #container.sidebar>div#content {
        width: 80%;
        margin-left: 20%;
    }
}

@media screen and (max-width: 1100px) {
    #container.sidebar>header, #container.sidebar>footer {
        width: 22%;
    }

    #container.sidebar>div#content {
        width: 78%;
        margin-left: 22%;
    }
}

@media screen and (max-width: 1024px) {
    #container.sidebar>header {
        position: relative;
        width: 100%;
        padding-bottom: 0px;
    }

    header .logo {
        height: 115px;
        padding: 10px 0px;
    }

    header .logo img {
        display: inline-block;
        vertical-align: middle;
    }

    header .logo img:first-of-type {
        position: absolute;
        left: 10px;
        width: 75px;
    }

    header .logo img:last-of-type {
        width: 50%;
        margin-top: 1%;
        margin-left: 25%;
        margin-right: 25%;
    }

    header .logo .second {
        display: inline-block;
    }

    header .button.mobile {
        display: inline-block;
        position: absolute;
        right: 10px;
        top: 20px;
        height: 50px;
        width: 50px;
        vertical-align: middle;
        border: 1px solid #000;
    }

    #container>header>nav.main.top {
        background: #FFFEE8;
    }

    #container>header>nav.main.top ul li {
        border-top: 1px solid #DBDCCE;
    }

    #container>header>nav.main.top ul li:last-of-type {
        border-bottom: 1px solid #DBDCCE;
    }

    #container.sidebar>footer {
        position: relative;
        width: 100%;
        height: 80px;
        padding: 5px;
    }

    #container.sidebar>div#content {
        width: 100%;
        padding: 30px;
        margin-left: 0px;
    }

    #content .logo {
        display: none;
    }
}

/* tablet */
@media screen and (max-width: 768px) {
    header .logo {
        height: 100px;
    }

    header .logo img:last-of-type {
        width: 54%;
        margin-top: 1%;
        margin-left: 23%;
        margin-right: 23%;
    }

    #content article, .entry-content .drow.box {
        padding: 15px;
        padding-bottom: 50px;
    }

    .entry-content .drow.box:before, #content article:before {
        width: -webkit-calc(100% - 30px);
        width: -moz-calc(100% - 30px);
        width: calc(100% - 30px);
    }

    .box.drow.soon h2,
    .box.drow.ausverkauft h2 {
        padding-top: 40px;
    }
}

/* 660px */
@media screen and (max-width: 660px) {
    .advent_target li {
        width: 49%;
        margin-right: 2%;
    }

    .advent_target li:nth-child(2), .advent_target li:nth-child(4) {
        margin-right: 0px;
    }
}

/* phone big */
@media screen and (max-width: 480px) {
    body {
        font-size: 16px;
    }

    #container.sidebar>div#content {
        padding: 15px;
    }

    header .logo {
        height: 90px;
    }

    header .logo img:first-of-type {
        width: 50px;
    }

    header .logo img:last-of-type {
        width: 68%;
        margin-top: 3%;
        margin-left: 15%;
        margin-right: 17%;
    }

    .entry-header h1, .entry-content h2 {
        font-size: 20px;
    }

    .advent_target li {
        width: 100%;
        margin-right: 0px;
    }

    #content article {
        border-width: 5px;
    }

    .gallery-columns-8 .gallery-item {
        max-width: 20%;
    }
}

/* phone */
@media screen and (max-width: 360px) {
    header .logo img:first-of-type {
        top: 20px;
        width: 40px;
    }

    header .logo img:last-of-type {
        width: 63%;
        margin-top: 4%;
        margin-left: 17%;
        margin-right: 20%;
    }

    header .button.mobile {
        height: 44px;
        width: 44px;
    }

    header .button.mobile ul {
        margin-top: -3px;
    }
}

/* cookie */
#cookie-notice {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 15px;
    width: 100%;
    background-color: #FFFEE8;
    color: #333333;
    font-size:
        -webkit-box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    -ms-box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    -o-box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

#cookie-notice a,
#cookie-notice li {
    color: #333333;
    font-family: 'Roboto', sans-serif;
    text-transform: none;
}

#cookie-notice li {
    white-space: normal;
    -webkit-flex: 1 1 auto;
    -moz-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    -o-flex: 1 1 auto;
    flex: 1 1 auto;
}

#cookie-notice a {
    padding: 0;
    display: inline-block;
}

.cookie-notice-inner {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
}

@media screen and (min-width: 481px) {
    #cookie-notice .cookie-close {
        padding-left: 10px;
        padding-left: 0.625rem;
    }
}

@media screen and (max-width: 480px) {
    #cookie-notice .cookie-notice-inner {
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
        -o-flex-direction: column;
        flex-direction: column;
    }

    #cookie-notice .cookie-text {
        margin-bottom: 10px;
        margin-bottom: 0.625rem;
    }

    #cookie-notice .cookie-close {
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: flex;
        -webkit-justify-content: center;
        -moz-justify-content: center;
        -ms-justify-content: center;
        -o-justify-content: center;
        justify-content: center;
    }
}

/*** test ***/
