* {box-sizing: border-box}

/* Set height of body and the document to 100% */
body, html {
    height: 100%;
    margin: 0;
    font-family: Arial;
    background-color: #BAE9FF;
}
a[target="_blank"]::after {
    content: " "url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAVklEQVR4Xn3PgQkAMQhDUXfqTu7kTtkpd5RA8AInfArtQ2iRXFWT2QedAfttj2FsPIOE1eCOlEuoWWjgzYaB/IkeGOrxXhqB+uA9Bfcm0lAZuh+YIeAD+cAqSz4kCMUAAAAASUVORK5CYII=);
}
/* Style tab links */

nav {
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
}

.tablink {
    background-color: #40A2CE;
    color: black;
    float: left;
    border-color: black;
    border-style: solid;
    border-top-width: 0px;
    border-bottom-width: 1px;
    border-left-width: 0.5px;
    border-right-width: 0.5px;
    outline: none;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    padding: 14px 16px;
    font-size: 17px;
    width: 25%;
}

.year_button {
    background-color: #40A2CE;
    color: black !important;
    border-color: #BAE9FF;
    border-style: solid;
    border-width: 1px;
    outline: none;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    padding: 14px 16px;
    font-size: 17px;
    width: 20%;
    height: 20%;
    display: flex;
    justify-content: center;
    align-items: center; 
}

.tablink:hover,.year_button:hover {
    background-color: #BAE9FF;
}


/* Style the tab content (and add height:100% for full page content) */
.tabcontent {
    color: black;
    display: block;
    padding: 4em 2.5em;
    min-height: 100vh;
}

.tabcontent div{
    background-color: white;
    border-color: #40A2CE;
    border-width: 1px;
    border-style: solid;
    margin: 2vw;
    padding: 2vw;
    word-wrap: break-word;
}

.infobox { 
    width: 60%;
    float: right;
}

.infobox:nth-child(2n) {
    float: left;
}

@media (max-width: 800px)
{
    .infobox{
        width: 100%;
        clear: both;
        float: none;
    }
}

.tabcontent div a{
    color: #40A2CE;
}

.tabcontent div ul li {
    list-style-type: "→ "; #&rarr;
}

div img {
    max-width:20%;
    max-height:100%;
    float: right;
    padding: 5px;
    margin: 2px;
    border-color: #40A2CE;
    border-width: 1px;
    border-style: solid;
}

.widerimg {
    max-width: 30%;
}

.imagebox {
    background-image: url("imgs/banner.jpg");
    height: 10vh;
    background-size: cover;
    background-position: center center;
}


.imagebox:nth-child(2n) {
    background-position: center top;
}

.infobox.imagebox{
    height: 25vh;
}

/*.code-example {*/
pre {
    font-family: monospace, monospace;
    border-style: solid;
    border-width: 1px;
    border-color: grey;
    background-color: lightgrey;
    padding: 0.5em;
    font-size: 0.8em;
    display: block;
    white-space:pre-wrap;
}

hr {
    clear: both;
    border-color: #40A2CE;
    border-width: 0.5px;
    border-style: solid;
    margin: 3vh 0vw;
}

.previous-entry {
    text-decoration:none;
    margin: 0.5em;
    padding: 0.5em;
    background-color: #40A2CE;
    color: black !important;
    float: left;
}
.next-entry {
    text-decoration:none;
    margin: 0.5em;
    padding: 0.5em;
    background-color: #40A2CE;
    color: black !important;
    float: right;
}
.imageOnTour:active {
    height: 95vh;
    width: auto;
    max-width: 100%;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    margin: auto;
    text-align: center;
    box-shadow: rgba(0, 0, 0, 0.56) 0px 22px 70px 4px;
}
