* {
    box-sizing: border-box;
}

body {
    font:
        130% Oxygen,
        Arial,
        Helvetica,
        sans-serif;
    font-weight: 300;
    margin: 11rem 5% 1%;
    color: dimgray;
    background: #f5f5f5;
    min-width: 480px;
}

main section:nth-of-type(3) {
    clear: both;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 1rem 0 2rem;
}

form {
    margin: 1%;
}

input,
button,
a {
    padding: 0.5em 1em;
}

section {
    float: left;
    margin: 0;
    border: 1px solid #efefef;
    border-right: 0;
    border-bottom: 0;
    width: 50%;
    padding: 2rem 8rem;
    background: #fcfcfc;
}

header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: #14b0bf;
    color: whitesmoke;
    padding: 0 4rem;
    text-align: right;
    height: 8rem;
}

main {
    padding: 8rem 0 0 0;
}

iframe {
    width: 100%;
}

article {
    display: none;
    transition: opacity 0.2s ease-in-out;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: auto;
}

.big-header {
    font-size: 4rem;
    position: absolute;
    top: 10vh;
    left: 12%;
    color: dimgray;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    opacity: 0.8;
    border-bottom: 1px solid dimgray;
}

.white {
    color: whitesmoke;
    border-color: whitesmoke;
}

.column-left {
    float: left;
    width: 33%;
}

.column-right {
    float: right;
    width: 33%;
}

.column-center {
    display: inline-block;
    width: 33%;
}

.column {
    text-align: center;
}

.show {
    font-size: 3rem;
    color: whitesmoke;
    transition: all 0.2s ease-in-out;
    text-transform: uppercase;
    margin-top: 42vh;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}

.show-iframe {
    font-size: 1.5rem;
    text-align: center;
}

.show:hover {
    cursor: pointer;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.4);
    color: white;
}

.view0 {
    display: block;
    opacity: 1;
    background-color: #14b0bf;
}

.header-header {
    font-size: 2rem;
    margin: 0;
    display: inline-block;
    float: left;
    line-height: 8rem;
}

.header-form {
    margin: 40vh 0 0;
    text-align: center;
    font-size: 2rem;
}

.header-form input {
    color: dimgray;
    width: 35vw;
    display: block;
    border: 1px solid #ececec;
    margin: 1rem auto;
}

.section-header {
    text-decoration: underline;
    margin: 1rem 0 4rem;
}

.form-header,
.paragraph-header {
    position: absolute;
    top: -1.9rem;
    background: white;
    color: gray;
}

.form-section-form,
.paragraph {
    padding: 2rem;
    border: 1px solid #efefef;
    position: relative;
    margin: 2rem 0;
}

#header-login {
    font-size: 1.5rem;
    margin: 0;
    vertical-align: middle;
    line-height: 8rem;
    display: inline-block;
}

.logout {
    color: whitesmoke;
    display: none;
    margin: 0 1rem;
    line-height: 8rem;
    padding: 0;
}

.logout:hover {
    color: white;
}

.hidden {
    display: none;
}

.error {
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    color: tomato;
}

#fancybutton {
    display: inline-block;
    padding: 0.5em 1em;
    background: #e9e9e9;
    border: 1px solid #b5b5b5;
    border-radius: 3px;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

#fancybutton:hover,
#fancybutton:active {
    background: #b5b5b5;
}

#upload {
    font-size: 1.5rem;
    padding: 2rem 0;
}

#uploadHiddenFile {
    display: none;
}

#temporaryCover {
    width: 630px;
    height: 70px;
    background-color: red;
    position: absolute;
}

.sidebar-nav {
    padding: 9px 0;
}

.dropdown-menu .sub-menu {
    left: 100%;
    position: absolute;
    top: 0;
    visibility: hidden;
    margin-top: -1px;
}

.dropdown-menu li:hover .sub-menu {
    visibility: visible;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.nav-tabs .dropdown-menu,
.nav-pills .dropdown-menu,
.navbar .dropdown-menu {
    margin-top: 0;
}

#uploadHiddenInput {
    display: none;
}

.navbar .sub-menu:before {
    border-bottom: 7px solid transparent;
    border-left: none;
    border-right: 7px solid rgba(0, 0, 0, 0.2);
    border-top: 7px solid transparent;
    left: -7px;
    top: 10px;
}

.navbar .sub-menu:after {
    border-top: 6px solid transparent;
    border-left: none;
    border-right: 6px solid #fff;
    border-bottom: 6px solid transparent;
    left: 10px;
    top: 11px;
    left: -6px;
}

#ua {
    font-size: 12pt;
}

.username-display {
    position: absolute;
    top: 8.5rem;
    right: 4.5rem;
    color: gray;
}

.editablecontainer {
    border: 1px solid gray;
    padding: 1rem 2rem;
}

.editableparagraph {
    border: 1px dotted gray;
    padding: 1rem 2rem;
}

@media all and (max-width: 1023px) {
    body {
        font-size: 100%;
    }

    section {
        width: 100%;
    }

    .header-form input {
        width: 50vw;
    }
}

@media all and (max-width: 640px) {
    .column-left,
    .column-right,
    .column-center {
        display: inline-block;
        width: 100%;
    }

    .column.left .show {
        margin-top: 33vh;
    }

    .column-center .show,
    .column-right .show {
        margin-top: 12vh;
    }

    .column-right .show {
        margin-bottom: 12vh;
    }
}
