html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    overflow: hidden;
}

#container {
    width: 100%;
    height: 100%;
    background: gray;
    position: relative;
    background-image: url(../img/front.png);
    background-size: cover;
}

#top_line {
    width: 100%;
    height: 55px;
    text-align: center;
    position: relative;
    top: 0;
    left: 0;
    z-index: 9;
    opacity: 1;
    background: url(../img/top.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

#top_line span {
    cursor: pointer;
    color: white;
    margin: 0 auto;
    display: block;
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    font-size: 14px;
    white-space: nowrap;
    z-index: 0;
}

#top_line>span {
    min-width: 880px;
}

#top_line ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#top_line a span {
    display: none !important;
}

#top_line #menu {
    position: absolute;
    left: 0;
    top: 0;
    height: 50px;
    z-index: 1;
    background: url(../img/top.png);
}

#fullscreen {
    background-image: url(../img/fullscreen.png);
    position: absolute;
    width: 45px;
    height: 40px;
    background-size: contain;
    background-position: center;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    right: 1%;
    cursor: pointer;
    background-repeat: no-repeat;
    z-index: 1;
}

#switch_page {
    display: inline-block;
    width: 35px;
    height: 23px;
    background-size: contain;
    background-position: center;
    margin: 15px 0 0 10px;
    cursor: pointer;
    background-repeat: no-repeat;
    position: relative;
}

#top_line a span.acitvepage {
    display: block !important;
    color: transparent;
    text-decoration: none;
    border-bottom: 3px solid white;
    width: 100%;
    padding-top: 0px;
    position: absolute;
    bottom: -45px;
}

#switch_page.overview {
    background-image: url(../img/icon-overview.png);
}

#switch_page.map {
    background-image: url(../img/icon-map.png);
}

#switch_page.teams,
#switch_page.teams_ro {
    background-image: url(../img/icon-teams.png);
}

#switch_page.locations {
    background-image: url(../img/icon-locations.png);
}

#switch_page.chat {
    background-image: url(../img/icon-chat.png);
}

#switch_page.log {
    background-image: url(../img/icon-log.png);
}

#switch_page.beheer {
    background-image: url(../img/icon-beheer.png);
}

#loaderror {
    position: fixed;
    background-color: red;
    color: #fff;
    top: 0;
    left: 0;
    padding-top: 55px;
    line-height: 50px;
    width: 100%;
    height: 50px;
    text-align: center;
}

.unauthorized-dashboard #detail{
    text-align: center;
    color: #333333;
    padding: 80px 0 0 20px;
}
.unauthorized-dashboard #detail a{
    color: #333333;
}

@media screen and (max-width:768px) {
    #container.teams-dashboard {
        height: auto;
        min-height: 100%;
        padding-bottom: 20px;
        display: flex;
        flex-direction: column;
    }

    #fullscreen {
        display: none;
    }
}

@media screen and (max-height:800px) {
    #container.overview-screen {
        min-height: 800px;
        overflow: auto;
    }

    #top_line {
        position: fixed;
    }

    body {
        overflow-y: auto;
    }
}