p.wrapper {
    display:flex;
    flex-flow:column;
}
.wrapper > * {
    flex: 1 0;
}
.index-wrapper {
    display:flex;
    flex-flow:column;
}
.index-wrapper > * {
    flex: 1 0;
}

.sidebar {
    order: 1;
    width:100vw;
    height:10%;
    background-color: #ffffff;
    display: flex;
    flex-flow: column;
    justify-content: center;
}
.sidebar .sidenav-head {
    margin-bottom: 25px;
}
.sidebar .sidenav-head img {
    width:50vw;
    height:auto;
    top:0;
    display: block;
    margin-left:auto;
    margin-right:auto;
}
.sidebar ul {
    padding-left: 75px;
    padding-right: 75px;
    display: flex;
    flex-flow: row;
    align-items: flex-start;
    justify-content: space-between;
}
.sidebar ul li {
    list-style-type: none;
}
.sidebar ul li a {
    font-family: Calibri, sans-serif;
    font-size: max(min(5vw, 25px), 15px);
    color: #ff522b;
    font-weight:600;
    text-decoration: none;
}

.content-container {
    order: 1;
    /* Full height */
    height: 100vh;
}
.content-container .header {
    font-family: Calibri, sans-serif;
    color: #ff522b;
}

.index-content-container {
    order: 1;
    display:flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    /* Full height */
    height: 100vh;
    box-sizing: border-box;
}
.index-content-container .index-content {
    position:relative;
    order: 1;
    width: 100%;
    height: 100%;
    overflow:auto;
}
.index-content-container .index-content img{
    width: 500px;
    height: 500px;
}

.index-content-container .index-content .index-nav {
    display: none;
}

.postit {
    margin: 15px;
    width: 240px;
    min-height:175px;
    max-height:175px;
    font-family: Calibri, sans-serif;
    color: #ff522b;
    font-size:12px;
    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;
}
.postit .postit-header {
    font:Calibri;
    color:#ff522b;
    font-weight:550;
    background:#f8e3dd;
    font-size:12px;
    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;
}

.read-content-container {
    order: 1;
    display: flex;
    flex-flow: column;
    align-items: center;
    /* Full height */
    height: 100vh;
    background: #ffffff;
}
.read-content-container .header {
    font-family: Calibri;
    color: #f8e3dd;
}

.page-content-container {
    order: 1;
    padding-top: 1%;
    position: relative;
    padding-bottom: 5%;
}
.page-content-container .leftbuttons {
    display:none;
}
.page-content-container .rightbuttons {
    display: none;
}
.nav-sides {
    position:absolute;
    z-index:10;
    height: 100%;
    width: 100%;
    top:0px;
    display: flex;
    flex-flow:row;
}
#go-left {
    z-index:10;
    order: 1;
    width:50%;
    height:100%;
}
#go-right {
    z-index:10;
    order: 2;
    width:50%;
    height:100%;
}
.selPage-container {
    order: 2;
    width: 100%;
    display: flex;
    flex-flow:row;
    justify-content: center;
    padding-bottom: 20px;
}
#selPage {
    order: 2;
    padding-left: 3%;
    padding-right: 3%;
}

.page-content {
    position: relative;
    width: 100vw;
    height: 144.57vw;
}
.page-content img {
    z-index: 1;
    width: 100vw;
    height: auto;
}
#page-selection {
    order: 1;
}

.text-content-container {
    display: flex;
    flex-flow: column;
    justify-content: center;
    max-width: 800px;
    padding-top: 4vh;
    padding-left: 10vw;
    padding-right: 10vw;    
}
.text-content {
    font-family: Calibri, sans-serif;
    color: #ff522b;
    font-size: max(min(1.5vw, 25px), 15px);
    text-align: left;
}
.text-content a {
    color: #ff522b;
    text-decoration: underline;
}

.social-media {
    display: flex;
    flex-direction: row;
    justify-content: flex-left;
    align-items: center;
    padding-top: 2.5vh;
    padding-bottom: 20px;
}
.social-media a img {
    max-height: 50px;
    max-width: 50px;
    margin-right: 10px;
}