* {
    /*font-family: Helvetica;*/
    font-family: "Times New Roman", Times, serif;
    /* serif, Tahoma, Arial, Helvetica; */
    /* font-style: normal; */
}

html {
    font-size: 1em;  /* Mindestschriftgröße wird dem Browser, bzw. dem Nutzer überlassen! */
}

h1 {
    font-size: 1.5rem;
}

h2 {
    font-size: 1.3rem;
}

h3 {
    font-size: 1.2rem;
}

a {
	font-family: Tahoma, Arial, Helvetica, sans-serif;
}

/* HEADER */
header {
    height:215px;
    overflow:hidden;
    background-color: unset;
}

#logo_right {
    position:relative;
    height:215px;
    width: 400px;
    float: right;
    background-image: url("../assets/7header_eyecatcher.jpg");
    background-size: contain;
}

#logo_left {
    position:absolute;
    top: 50px;
    left: 35%;
    /* height:150px; */
    height: 80px;
    width: 150px;
    float: left;
    background-image: url("../assets/ptitle2.png");
    background-size: auto;
    background-repeat: no-repeat;
    z-index: 100;
    text-align: center;
    padding-top: 77px;
}

#logo_bies {
    color: rgb(92,67,38);
	font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 18px;
    letter-spacing: 3.6px;
}

#logo_cosmetic {
    color: rgb(178,189,7);
	font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 3.6px;
}

#header_bow {
	background-image: url("../assets/pbow_header.png");
	background-size: 100%;
	background-repeat: no-repeat;
	width: inherit;
	height: inherit;
	position: relative;
	/* top: 153px; */
	/* background-position-y: 150px; */
	background-position: center bottom;
}

/* NAVIGATION */
#topnav a, #mainnav a {
    text-decoration: none;
    /* font-size:0.8rem; */
    color: #543c20;
}

#topnav a.home {
    width: 14px;
    height: 14px;
    margin: 2px 0 0 0;
    background-image: url(../assets/phome.gif);
    background-repeat: no-repeat;
    background-position:  0px -14px;
    display:inline-block;
}

#topnav a.home:hover {
    background-position:  0px 0px;
}
#topnav ul, #mainnav ul {
   list-style: none;
}

#topnav li{
    float: left; 
    padding: 0 3px 0 0;
}

#topnav a:hover {
    text-decoration: underline;
    color: #b3bd00;
}

#topnav{
    padding: 1rem;
}

#mainnav {
    /* background-color: #C5C28C; */
    background: rgba(196, 202, 143, 0.15);
    padding: 10px 10px;
    /*height: 50px;*/
    /* font-size:1.2rem; */
}


#topnav {
    position: absolute;
    float: left;
    z-index:100;
}

nav a:nth-child(1) {
    padding-left: 0;
}

nav ul li {
    display: inline;
}

nav ul a {
    text-decoration: none;
    /* font-size:0.8rem; */
    color: #543c20;
    padding: 8px 10px;
}
nav ul a:hover {
    /*background-color: #E8E5BE;*/
    font-weight: bold;
}

#breadcrumbs {
    font-size:90%;
    padding-left: 10px;
    margin-top: 16px;
}

#breadcrumbs a {
    text-decoration: none;
    /* font-size:0.8rem; */
    color: #543c20;
}
#breadcrumbs a:hover {
    color: #b3bd00;
}

/* CONTENT */
    

body {
    max-width: 90%;
    margin: 0 auto;
    color: #543C20;
    background-color:#EEE3D2;
}


#page {
    background-color: white;
    box-shadow: 3px 0px 7px 0px grey; 
    overflow:auto;
}

main {
    /*
    width:50%;
    */
    /* padding: 1em; */
    /* overflow:auto; */
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-direction: column-reverse;
    -webkit-flex-direction: column-reverse;
    flex-direction: column-reverse;
    clear: both;
}
.hide-me-on-narrow {
    display: none;
}

@media all and (min-width: 700px) {
    .hide-me-on-narrow {
        display: initial;
    }
}

@media all and (min-width: 30em) {
    main {
        -ms-flex-direction: row-reverse;
        -webkit-flex-direction: row-reverse;
        flex-direction: row-reverse;
    }
}

img {
    width: 100%;
    /* margin: 0 auto 1em auto; */
    /* height: auto; */
    margin-left: auto;
    margin-right: auto;
    /* box-shadow: 3px 0px 7px 0px grey;  */
    /* float: left; */
    /* display:block; */
}

.picture {
	box-shadow: 3px 0px 7px 0px grey;
}

.picture_no_shadow {
	box-shadow: 0px 0px 0px 0px;
}

.image {
    text-align: center;
}

.content {
    flex: 2 1 auto;
    /* flex: 4 1 0; */
    padding: 15px;
}


.content .line {
	height: 1px;
	background-color: #b3bd00;
	border: 0;
	padding: 0;
	margin: 10px 0 10px 0;
	overflow: hidden;
}


.content img{
    /* margin: 20px; */
    display: block;
    max-width: 700px;
}

/* Liste mit Quadraten */
.content ul{
    list-style: square;
    margin-left: 2em;
}

.content li {
	padding: 0px 0 0 10px;
	line-height: 160%;
}


/* Liste mit Lippenstift */
/*
.content ul{
    list-style: none;
}

.content li {
	margin: 0 0 8px 16px;
	padding: 0 0 0 40px;
	background: url(/assets/lippenstift_links_60px.png) no-repeat top left;
	line-height: 160%;
	background-size: 30px;
	background-position-y: 8px;
}
*/

.teaserelement{
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
}

.teaserelement article{
    /*flex: 1 0 calc(40% - 10px);*/
    flex: 1 0 45%;
    margin: 0px 30px 10px 0px;
}

.teaserpicture {
    /* width: 152px; */
    width: 30%;
    max-width: 200px; 
    float: right;
    margin: 0 0 10px 10px;
}

.teaserpictureleft {
    /* width: 152px; */
    float: left;
    margin: 0px 10px 10px 0px;
}

.teaserpicture img {
    box-shadow: 3px 0px 7px 0px grey;
}
/* Clearfix */    
.clearer {
    clear: both;
}

p {
    margin: 1em 0;
}

/*article {
    width: auto;
    display: inline-block;
}
*/

.content hr{
    border: 0 none;
    background-color: #b3bd00;
    color: #b3bd00;
    height: 1px;
}

.content .sidepictureright {
	float: right;
	padding: 0;
	margin: 10px 0 10px 20px;
	/* width: 176px; */
    width: 30%;
    max-width: 200px; 
}

.content .sidepictureleft {
	float: left;
	padding: 0;
	margin: 10px 20px 10px 0;
	/* width: 176px; */
    width: 30%;
    max-width: 200px; 
}

.content a{
    color: #B3BD00;
}

.table_angebote {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 20px 2fr 20px 2fr;
    grid-template-columns: 1fr 2fr 2fr;
    grid-auto-flow: column;
    grid-column-gap: 20px;
}

.column-teaserpicture{
    -ms-grid-column: 1;
    grid-column: 1;
}

.column-left{
    -ms-grid-column: 3;
    grid-column: 2;
}

.column-right{
    -ms-grid-column: 5;
    grid-column: 3;
}

.column-teaserpicture img{
    box-shadow: 3px 0px 7px 0px grey;
}

article {
    /*margin: 1em 0.2em; */
    /* padding: -1em 1em 1em 0; */
    text-align: justify;
}

h1 {
    margin: 0.5em 0 0.5em 0;
/*	padding-bottom: 10px;
	padding-top: 10px;
*/
    /* font-family: Tahoma; */
    /* font-size: 1.5rem; */
    font-weight: normal;
/*	border-color: #b3bd00;
	border-width: 1px;
	border-bottom-style: solid;
	border-top-style: solid;
*/
}

#asidewrapper {
    /* margin: 0 1em; */
    /* min-width: 300px; */
    max-width: 300px;
    min-width: 15em;
    padding: 15px;
    /* flex-basis: auto; */
    /* flex-grow: 1; */
}

aside a{
    /* float: right; */
    color: #B3BD00;
    text-decoration: none;

}
#special a {
    /* margin: 2em 0; */
    line-height:1em;
}

#special p {
    /* margin: 2em 0; */
    /* text-align: justify; */
}

aside a:hover {
    text-decoration: underline;
}

a{
    /* float: right; */
    color: #B3BD00;
    text-decoration: none;

}

a:hover {
    text-decoration: underline;
}

#special{
    margin-bottom: 1em;
    padding: 0.3em;
    background-color: #e2e5d3;
}

#special hr{
    margin-top:6.5px;
    margin-bottom: 6.5px;
}

aside h2 {
    /* font-size: 1rem; */
    font-weight: bold;
    /* margin: 10px 0 5px 0; */
    padding: 0;
    color: #543C20;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}


aside img {
    /* width: 80%; */
    /* margin: 0; */
    /* height: auto; */
    box-shadow: 3px 0px 7px 0px grey; 
    /* display:block; */
}
.slide-left {
	/*-webkit-animation: slide-left 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
	        animation: slide-left 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;*/
	-webkit-animation: slide-left 2s;
	        animation: slide-left 2s;
}

.slide-right {
	/*-webkit-animation: slide-right 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
	        animation: slide-right 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;*/
	-webkit-animation: slide-right 2s forwards;
	        animation: slide-right 2s forwards;
}
/* ----------------------------------------------
 * Generated by Animista on 2018-10-23 20:48:38
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation slide-right
 * ----------------------------------------
 */
@-webkit-keyframes slide-right {
  0% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  100% {
    -webkit-transform: translateX(50px);
            transform: translateX(50px);
  }
}

@media screen and (max-width: 960px) {
    body {
        max-width: 100%;
    }
    
    #logo_left {
        left: 35%;
    }

    @-webkit-keyframes slide-right {
        0% {
            -webkit-transform: translateX(0);
            transform: translateX(0);
        }
        100% {
            -webkit-transform: translateX(10px);
            transform: translateX(10px);
        }
    }
}


@media screen and (max-width: 800px) {
    #logo_left {
        left: 30%;
    }
    #mainnav {
    }
}

@media screen and (max-width: 500px) {
    #logo_left {
        left: 20%;
    }
    #mainnav {
    }
}

@media screen and (max-width: 500px) {
    #logo_left {
        left: 20%;
    }
    #mainnav {
    }
}
@keyframes slide-left {
  0% {
    -webkit-transform: translateX(50px);
            transform: translateX(50px);
            opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
            opacity: 1;
  }
}

@keyframes fade-in {
  0% {
            opacity: 0;
  }
  100% {
            opacity: 1;
  }
}
