﻿
html, body {
    overflow-x: hidden;
    height: 100%;
}


body {
    background: #fff;
    padding: 0;
    margin: 0;
    font-family: 'Varela Round', sans-serif;
}

.header {
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
    box-shadow: none;
    background-color: rgba(65,105,225);
    position: fixed;
    height: 60px !important;
    overflow: hidden;
    z-index: 10;
}

.main {
    margin: 0 auto;
    display: block;
    height: 100%;
    margin-top: 60px;
}

.mainInner {
    display: table;
    height: 100%;
    width: 100%;
    text-align: center;
}

    .mainInner div {
        display: table-cell;
        vertical-align: middle;
        font-size: 3em;
        font-weight: bold;
        letter-spacing: 1.25px;
    }

#mapcontainer .ol-zoom {
    top: .5em;
    bottom: auto;
    left: auto;
    right: .5em;
}

.buttonControl {
    border: solid 1px white;
    padding: 5px;
    margin: 10px;
}

#sidebarMenu {
    height: calc(100% - 60px);
    position: fixed;
    left: 0;
    width: 350px;
    margin-top: 60px;
    transform: translateX(-350px);
    transition: transform 350ms ease-in-out;
    background-color: rgba(65,105,225);
    position: relative;
    z-index: 20;
}

#sidebarMenuContainerTop {
    float: left;
    width: 100%;
    height: 150px;
}

#sidebarMenuContainerMid {
    float: left;
    width: 100%;
    overflow-y: scroll;
    height: calc(100% - 350px);
}


#sidebarMenuContainerBottom {
    float: left;
    width: 100%;
    height: 200px;
    padding: 10px;
    background-color: white;
    color: black;
    border: 5px solid gray;
}

.sidebarMenuInner {
    margin: 0;
    font-size: 12px;
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

#shipDetails {
}

.sidebarMenuInner li {
    list-style: none;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    padding: 20px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

    .sidebarMenuInner li span {
        display: block;
        font-size: 14px;
        color: rgba(255, 255, 255, 0.50);
    }

    .sidebarMenuInner li a {
        color: #fff;
        text-transform: uppercase;
        font-weight: bold;
        cursor: pointer;
        text-decoration: none;
    }

.openSidebarMenu:checked ~ #sidebarMenu {
    transform: translateX(0);
}

.openSidebarMenu {
    transition: all 0.3s;
    box-sizing: border-box;
    display: none;
}

.sidebarIconToggle {
    transition: all 0.3s;
    box-sizing: border-box;
    cursor: pointer;
    position: absolute;
    z-index: 99;
    height: 100%;
    width: 100%;
    top: 22px;
    left: 15px;
    height: 22px;
    width: 22px;
}

.spinner {
    transition: all 0.3s;
    box-sizing: border-box;
    position: absolute;
    height: 3px;
    width: 100%;
    background-color: #fff;
}

.horizontal {
    transition: all 0.3s;
    box-sizing: border-box;
    position: relative;
    float: left;
    margin-top: 3px;
}

.diagonal.part-1 {
    position: relative;
    transition: all 0.3s;
    box-sizing: border-box;
    float: left;
}

.diagonal.part-2 {
    transition: all 0.3s;
    box-sizing: border-box;
    position: relative;
    float: left;
    margin-top: 3px;
}

input[type=checkbox]:checked ~ .sidebarIconToggle > .horizontal {
    transition: all 0.3s;
    box-sizing: border-box;
    opacity: 0;
}

input[type=checkbox]:checked ~ .sidebarIconToggle > .diagonal.part-1 {
    transition: all 0.3s;
    box-sizing: border-box;
    transform: rotate(135deg);
    margin-top: 8px;
}

input[type=checkbox]:checked ~ .sidebarIconToggle > .diagonal.part-2 {
    transition: all 0.3s;
    box-sizing: border-box;
    transform: rotate(-135deg);
    margin-top: -9px;
}

.sidebarMenuInner {
    color: white;
    border-bottom-color: white;
    margin: 10px;
    border: 1px solid white;
}

.sideData {
    border: 1px solid white;
}

.tabelHeader {
    font-weight: bold;
    text-align: center;
    font-size: 15px;
}

.table-read {
    border: 1px solid white;
}

#center {
}

#mapcontainer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: 60px;
    z-index: 10;
}

#popup {
    background: rgba(135,180,250,0.8);
    color: white;
    padding: 15px;
    border: 3px solid rgba(65,144,225,0.8);
    border-radius: 20px 20px;
    visibility: hidden;
}
