* {
    box-sizing: border-box;
}

/*General*/
html, body {
    /*font-family: "Open Sans", sans-serif;*/
    height: 100%;
    min-height: 100vh;
    background-size: cover;
    background-image: url("../static/img/plane.jpg");
    background-repeat: no-repeat;
    background-attachment: fixed;
}

ul {
    list-style: inherit;
}

form li + li {
    margin-top: 1em;
}

label {
    /* Uniform size & alignment */
    display: inline-block;
    text-align: left;
}

input:invalid {
    border: 2px dashed red;
}

input:valid {
    border: 2px solid black;
}

.highlight_button {
    color: darkblue;
}

.container {
    display: table;
    width: 100%;
    height: 100%;
}

#menuicon {
    display: none;
    width: 100%;
    color: white;
    font-size: 30px;
    cursor: pointer;
    padding: 10px 10px;
}

.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    left: 0;
    background-color: #6d9cbf;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    white-space: nowrap;
}

.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 50px;
    text-align: center;
    color: #ffffff;
    display: block;
    transition: 0.3s;
}

.sidenav a:hover {
    color: #51c3f1;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

.tableexp {
    position: relative;
    height: auto;
    min-height: 100%;
    width: 100%;
}

#prinav {
    width: 270px;
    z-index: 1;
    left: 0;
    padding-top: 50px;
    background-color: rgba(255, 255, 255, 0.16);
    overflow-x: hidden;
    vertical-align: text-top;
    /* transition: 0.5s; */
    white-space: nowrap;
}

#prinav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 20px;
    color: #ffffff;
    display: block;
    transition: 0.3s;
    text-shadow: 1px 1px 1px rgb(47, 46, 47);
}

#prinav a:hover {
    color: #51c3f1;
}

#main {
    position: relative;
    height: 100%;
    width: auto;
    top: 0px;
    text-align: left;
    vertical-align: top;
    margin-left: 20px;
    margin-right: 20px;
    padding: 10px 20px 20px 20px;
}

#content {
    width: 100%;
    min-height: 100vh;
    top: 50px;
    left: 10px;
    right: 10px;
    padding: 20px 30px;
    background-color: rgba(224, 225, 225, 0.7);
    text-align: justify;
}

.section {

    width: 100%;
    top: 50px;
    left: 10px;
    right: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 20px 15px;
    border: azure;
    background-color: rgba(247, 248, 248, 0.7);
}


.textcontent {
    font-style: normal;
    font-size: medium;
}

.splitsection {
    display: flex;
    flex-direction: row;
    margin: 10px;
}

.splitsection_small {
    flex: 38%;
    padding-right: 10px;
}

.splitsection_large {
    flex: 62%;
    padding-left: 10px;
}

.splitsection_small_img {
    max-width: 100%;
    object-fit: contain;
    height: auto;
    border-radius: 8px;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.splitsection_small_img_round {
    max-width: 80%;
    border-radius: 50%;
}

.tile_button_container_center {
    text-align: center;
}

.tile_button, .tile_button:visited, .tile_button:active .tile_button:link {
    display: inline-block;
    font-size: 20px;
    font-family: verdana, sans-serif;
    color: white;
    border-style: none;
    padding: 10px 20px;
    background-color: #395980;
    text-decoration: none;
    margin: 10px 10px 10px 10px;
}

.tile_button:hover {
    background-color: #466d9d;
    text-decoration: none;
}

.tile_button:disabled {
    background-color: #1b283b;
    color: dimgray;
}

#btnToggleSolution {
    margin-top: 15px;
    border: none;
    background-color: rgb(29, 65, 170);
}

#solution {
    padding-top: 30px;
    display: none;
    animation-duration: 1.5s;
    animation-name: slidein;
}

@keyframes slidein {
    from {
        color: transparent;
        background-color: transparent;
    }

    to {
        color: black;
        background-color: transparent;
    }
}

.bottom {
    position: absolute;
    bottom: 0;
    left: 0px;
    right: 0px;
    color: white;
    background-color: rgba(29, 65, 170, 0.7);
    text-align: center;
    padding: 10px;
    margin-top: 7px;
}

/*Checkbox*/
.slider-checkbox {
    position: relative;
}

.slider-checkbox input {
    margin: 0px;
    margin-top: 1px;
    cursor: pointer;
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    -moz-opacity: 0;
    -khtml-opacity: 0;
    opacity: 0;
    position: absolute;
    z-index: 1;
    top: 0px;
    left: 0px;
    background: red;
    width: 40px;
    height: 20px;
}

.slider-checkbox input:checked + .label:before {
    background-color: #1877c1;
    content: "\f00c";
    padding-left: 6px;
}

.slider-checkbox input:checked + .label:after {
    left: 21px;
}

.slider-checkbox .label {
    position: relative;
    padding-left: 46px;
}

.slider-checkbox .label:before, .slider-checkbox .label:after {
    position: absolute;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    transition: background-color 0.3s, left 0.3s;
}

.slider-checkbox .label:before {
    content: "\f00d";
    color: #fff;
    box-sizing: border-box;
    font-family: 'FontAwesome', sans-serif;
    padding-left: 23px;
    font-size: 12px;
    line-height: 20px;
    background-color: #888;
    left: 0px;
    top: 0px;
    height: 20px;
    width: 40px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

.slider-checkbox .label:after {
    content: "";
    letter-spacing: 20px;
    background: #fff;
    left: 1px;
    top: 1px;
    height: 18px;
    width: 18px;
}

/*Clock*/
#clockdiv {
    width: 100%;
    font-family: sans-serif;
    color: #ffffff;
    display: inline-block;
    font-weight: 100;
    text-align: center;
    font-size: 30px;
}

#clockdiv .link {
    margin-top: 40px;
}

#clockdiv > div {
    padding: 10px;
    border-radius: 3px;
    background: rgb(57, 89, 128);
    display: inline-block;
}

#clockdiv div > span {
    padding: 15px;
    border-radius: 3px;
    background: #6d8ba9;
    display: inline-block;
}

.smalltext {
    padding-top: 5px;
    font-size: 16px;
}

/* End of clock */

.inputhint_parent > .span:hover {
    opacity: 1;
    transform: translate(-50%, 0);
}

.inputhint {
    position: absolute;
    left: 50%;
    bottom: 100%;
    opacity: 0;
    margin-bottom: 1em;
    padding: 1em;
    background-color: #000;
    font-size: .6em;
    line-height: 1.6;
    text-align: left;
    white-space: nowrap;
    transform: translate(-50%, 1em);
    transition: all .15s ease-in-out;
}

/*Why do we need the following line??*/
/*::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    width: 0;
    height: 0;
    border: .5em solid transparent;
    border-top-color: #000;
    transform: translate(-50%, 0);
}*/

.fpl_wrapper {
    display: flex;
    flex-direction: column;
}

.fpl_row {
    display: flex;
    flex-direction: row;
}

.fpl_element {
    margin-left: 5pt;
    margin-right: 5pt;
}

@media only screen and (max-width: 1000px) {
    #menuicon {
        display: block;
    }

    .sidenav {
        padding-top: 15px;
    }

    .sidenav a {
        font-size: 18px;
    }

    .container {
        display: block;
    }

    #prinav {
        display: none;
    }

    .splitsection {
        display: flex;
        flex-direction: column;
        margin-left: auto;
        margin-right: auto;
        width: 80%;
        padding-top: 20px;
    }

    .splitsection_small {
        display: block;
        margin-right: auto;
        margin-left: auto;
        flex: 38%;
    }


    .splitsection_large {
        diplay: block;
        padding-top: 20px;
    }


    .splitsection_small_img {
        top: 0;
        transform: none;
        position: relative;
    }

    .button {
        display: inline-block;
    }

    .bottom {
        position: fixed;
        bottom: 0px;
        left: 0;
        right: 0px;
    }
}