/*Style sheet for Takacs Honig Website*/
body {
    background-image: url("bilder/bgBeesm.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    background-color:lightyellow;
}

#wrapper {
    position: absolute;
    float: left;
    top: 10px;
    left: 10%;
    right: 10%;
    display: block;
    /* White for older browser, rgba for newer */
    background:white;
    background:rgba(255,255,255,.7);
    border-radius: 10px;
}

/*Make HTML layout elments block elements for older browsers*/
header, nav, aside, article, footer, section {
    display: block;
   }

#topbar {
    background: rgba(255, 255, 0, 0.3);
    background-image:url("bilder/bild100.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    float: left;
    top: 0;
    position: relative;
    width: 100%;
    color: rgba(255, 255, 0, 0.5);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}


header {
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
    float: left;
    z-index: 1000;
}


#aktuell {
    color: red;
}

nav {
    position: absolute;
    left: 0;
    right: 0;
    padding: 0;
    display: block;
    float: left;
}
nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
nav ul li {
    float: left;
    width: 25%;
    position: relative;
    z-index: 10;
}
nav a {
    text-decoration: none;
    outline: none;
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    background:rgba(255, 255, 0);
    border-radius: 10px;    
}

#title h1{
    text-align:center;
    margin: 0;
    padding: 0;
}

article {
    color: rgb(80, 80, 80);
    bottom: 20px;
    padding: 10px;
}


/* Window through which the photos slide */
#window {
    width: 30vw;
    padding-top: calc(.5625 * 60vw);
    position: relative;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    }

/* Each image in the show */
#window img {
    z-index: 10;
    position: absolute;
    top: 0;
    left: 30vw;
    height: 100%;
    width: 100%;
    animation-iteration-count: 1;
    }

/* Slide current image off to the left out of view */
#window img.slideout {
    left: -30vw;
    transition-duration: 2s;
    animation-iteration-count: 1;
    }

/* Slide next image into view */
#window img.slidein {
    left: 0;
    transition-duration: 2s;
    animation-iteration-count: 1;
    }


/* Create raised apperance with border, rounded corners, and shadow */
/* Works with images, tables, and block elements (div, p, and headings) */
.raised{
    border:solid 1px gray;
    border-radius: 5px;
    box-shadow: 5px 5px 5px gray;
}

/* ==== Styling for tables in the article secction ==== */
/* Styling for tables as a whole */
article table{
    /* Removes gaps between table cells */
    border-collapse: collapse;
    /* Font size, family, and color */
    font: 12pt Times, "Times New Roman" , Serif;
    color: #4c2e16;
    /* top/bottom and side margins (auto for centering) */
    margin: 1em auto;
}

/* Table header cells */
article th{
    background-color: #4c2e16;
    color: white;
}

/* Header and data cells */
article th,
article td{
    border: solid 1px #5d3f25;
    padding: 2px 4px;
}

/* Given even-numbered rows tan background color */
article tr:nth-child(even){
    background-color: #c6a586;
}

/* Right align content in column 2 data cells */
article td:nth-child(2){
    text-align: right;
}

/* Center content in column 3 data cells */
article td:nth-child(3){
    text-align: center;
}

/* Highlight table row on hover */
article tr:hover{
    background-color: #ff6;
    cursor: default;
}

#contact h2{
    text-align: left;
    margin: 0;
    padding: 0;
}
#contact p{
    margin: 0em;
    padding: 0em;
}
#contact img{
    position: relative;
    float: right;
    right: 0px;
}


#footer {
    background: rgba(255, 255, 0, 0.3);
    width: 100%;
    float: left;
    position: relative;
    bottom: 0px;
    border-radius: 10px;
}
#footer p{
    text-align: left;
    margin: 5px;
    color:rgb(80, 80, 80)
}
