.wrapper {
    display:flex;
    flex-flow:row;
    height: 100vh;
    width: 100%;
}
.wrapper > * {
    flex: 1 0;
}
.index-wrapper {
    display:flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100vh;
}
.index-wrapper > * {
    flex: 1 0;
}

.sidebar {
    order: 1;
    z-index: 10;
    position: fixed;
    width: 300px;
    left: 0;
    height: 100vh;
    background-color: #ffffff;
    
    display: flex;
    flex-flow: column;
}
.sidebar .sidenav-head {
    text-align: center;
    margin-left: 0px;
    margin-bottom: 50px;
}
.sidebar .sidenav-head img {
    padding-top: 15px;
    width:85%;
    height:auto;
    top:0;
}
.sidebar ul li {
    list-style-type: none;
    margin-left: 50px;
}
.sidebar ul li a {
    font-family: Calibri, sans-serif;
    font-size: max(min(5vw, 18px), 7.5px);
    color: #ff522b;
    font-weight:500;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.index-wrapper .sidebar {
    display: none;
}

.content-container {
    order: 1;
    /* Full height */
    height: 100vh;
}
.content-container .header {
    font-family: Calibri;
    color: #f8e3dd;
}
.index-content-container {
    order: 1;
    display:flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* Full height */
    height: 100%;
    width: 100%;
}

.read-content-container {
    order: 1;
    /* Full height */
    height: 100vh;
    width: calc(100vw - 300px);
    position: absolute;
    left: 300px;
    background: #f5f5f5;
}

.bg-div {
    z-index: -1;
    position: fixed;
    height: 100vh;
    width: 100vw;
    background-color: #f5f5f5;
}

.index-content-container .index-content {
    position: relative;
    order: 1;
    height: 500px;
    width: 500px;
}
.index-content-container .index-content img {
    height:500px;
    width:500px;
    z-index:-10;
}

.index-content-container .index-content .index-nav {
    position:absolute;
    left:325px;
    top: 0px;
    height: 100%;
    width: 25%;
    margin-right: 8%;
}
.index-content-container .index-content .index-nav ul {
    margin-top: 40%;
    padding-left: 22%;
    text-align: right;
}
.index-content-container .index-content .index-nav ul li {
    list-style-type: none;
    margin-left: 50px;
}
.index-content-container .index-content .index-nav ul li a {
    font-family: Calibri, sans-serif;
    font-size: max(min(5vw, 15px), 7.5px);
    color: #ff522b;
    font-weight:300;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.postit {
    margin: 15px;
    width: 55%;
    height: 40%;
    font-family: Calibri, sans-serif;
    color: #ff522b;
    font-size:100%;
    text-align:left;
    background: #f8e3dd;
    background: -moz-linear-gradient(-45deg, #f8e3dd 81%, #f8e3dd 82%, #f8e3dd 82%, #f8e3dd 100%);
    background: -webkit-gradient(linear, left top, right bottom, color-stop(81%,#f8e3dd), color-stop(82%,#f8e3dd), color-stop(82%,#f8e3dd), color-stop(100%,#f8e3dd));
    background: -webkit-linear-gradient(-45deg, #f8e3dd 81%,#f8e3dd 82%,#f8e3dd 82%,#f8e3dd 100%);
    background: -o-linear-gradient(-45deg, #f8e3dd 81%,#f8e3dd 82%,#f8e3dd 82%,#f8e3dd 100%);
    background: -ms-linear-gradient(-45deg, #f8e3dd 81%,#f8e3dd 82%,#f8e3dd 82%,#f8e3dd 100%);
    background: linear-gradient(135deg, #f8e3dd 81%,#f8e3dd 82%,#f8e3dd 82%,#f8e3dd 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f8e3dd', endColorstr='#f8e3dd',GradientType=1 );
    border-bottom:2px solid #fbefdf;
    border-left:2px solid #fbefdf;
    border-right:2px solid #fbefdf;
    overflow:auto;
}
.postit p {
    padding-top:5px;
    padding-left:15px;
    padding-right:10px;
}
.postit .postit-header {
    font-family: Calibri, sans-serif;
    color:#ff522b;
    font-weight:550;
    background:#f8e3dd;
    font-size:15px;
    text-align:left;
    border-top:2px solid #fbefdf;
}
.postit .postit-header #close {
    float:right;
    padding-right:10px;
    font-size:20px;
    font-weight:300;
}
.postit .postit-header p {
    padding-left:15px;
    padding-top:25px;
}

.page-content-container {
    order: 1;
    display: flex;
    flex-flow: row;
    justify-content: flex-start;
    align-items: center;
    overflow:auto;
    position: relative;
    padding-top: 2%;
    padding-left: 10%;
    box-sizing: border-box;
    background: #f5f5f5;
    padding-bottom: 1%;
}
.page-content-container .leftbuttons {
    display: flex;
    flex-flow: column;
    align-self: flex-start;
    align-items: flex-end;
}

.page-content-container #leftbutton {
    width: 33px;
    height: 56px;
    margin-right:9px;
    margin-top:9px;
    background: url("/assets/single_arrows_sprite.png") -10px -86px;
}
.page-content-container #leftbutton:hover {
    width: 33px;
    height: 56px;
    margin-right:9px;
    margin-top:9px;
    background: url("/assets/single_arrows_sprite.png") -10px -10px;
}
.page-content-container #leftbutton-last {
    width: 65px;
    height: 62px;
    margin-right: 9px;
    background: url("/assets/double_arrows_sprite.png") -95px -10px;
}
.page-content-container #leftbutton-last:hover {
    width: 65px;
    height: 62px;
    margin-right: 9px;
    background: url("/assets/double_arrows_sprite.png") -95px -92px;
}
.page-content-container .rightbuttons {
    order:5;
    align-self: flex-end;
}
.page-content-container #rightbutton {
    order:1;
    width: 33px;
    height: 56px;
    margin-left:9px;
    margin-bottom:9px;
    background: url("/assets/single_arrows_sprite.png") -116px -10px;
}
.page-content-container #rightbutton:hover {
    order:1;
    width: 31.5px;
    height: 58px;
    margin-left:9px;
    margin-bottom:9px;
    background: url("/assets/single_arrows_sprite.png") -63px -10px;
}
.page-content-container #rightbutton-last {
    order: 2;
    width: 65px;
    height: 62px;
    margin-left:9px;
    background: url("/assets/double_arrows_sprite.png") -10px -10px;
}
.page-content-container #rightbutton-last:hover {
    order: 2;
    width: 65px;
    height: 62px;
    margin-left:9px;
    background: url("/assets/double_arrows_sprite.png") -10px -92px;
}

.nav-sides {
    display:none;
}

.selPage-container {
    width: 100%;
    display: flex;
    flex-flow:row;
    justify-content: flex-start;
    padding-bottom: 20px;
    padding-left: 10%;
    box-sizing:border-box;
}
#selPage {
    font-family: Calibri, sans-serif;
    order: 2;
    padding-left: 1vw;
    padding-right: 1vw;
    text-align: center;
    margin:0 400px;
}

.page-content {
    order: 1;
    width: 700px;
    height: 1012px;
}
.page-content img {
    width: 700px;
    height: auto;
}
#page-selection {
    order: 1;
}

.text-content-container {
    display: flex;
    flex-flow: column;
    justify-content: center;
    max-width: 600px;
    position: absolute;
    left: 350px;
    padding-top: 10vh;
    padding-left: 2vw;
}
.text-content {
    font-family: Calibri, sans-serif;
    color: #ff522b;
    font-size: max(min(1.5vw, 15px), 15px);
    text-align: left;
}

.text-content a {
    color: #ff522b;
    text-decoration: underline;
}
.social-media {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding-top: 2.5vh;
}
.social-media a img {
    max-height: 50px;
    max-width: 50px;
    margin-right: 10px;
}