﻿body {
    font-family: Arial;
    -webkit-print-color-adjust: exact;
}
.content {
    padding: 10px;
}

.reno-background {
    background-color: #005664;
}

.reno-foreground {
    color: #005664;
}

.logo-img {
    padding-top: 30px;
    background: white;
}

.head-logo {
    position: absolute;
    display: block;
    z-index: 100;
    top: 6px;
    left: 15px;
}

.logo-img img {
    display: block;
}
.beskeder-btn {
    display: block;
    margin-bottom:1em;
}
.beskeder {
    display:none;
}
.reno-navbar {
    border-bottom: 0.5em solid #005664;
    background-color: white;
    min-height: 50px;
}

.ugerapport-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas: "rapport";
}

.ugerapport {
    grid-area: rapport;
}

.main-menu.navbar {
    margin-bottom: 0;
    float: right;
    bottom: 0;
    right: 0;
    border: none;
    clear: both;
    padding: 40px 0 15px 0;
    border-radius: 0;
}

.main-menu .navbar-collapse {
    padding-left: 0;
    padding-right: 0;
}

.main-menu .navbar-nav > li {
    margin-left: 15px;
}

    .main-menu .navbar-nav > li:first-child {
        margin-left: 0;
    }

    .main-menu .navbar-nav > li > a {
        font-size: 20px;
        letter-spacing: 0.1em;
        padding: 5px 0;
        color: #005664;
        font-weight: normal;
        border-bottom: 1px solid #FFF;
    }

        .main-menu .navbar-nav > li > a:hover,
        .main-menu .navbar-nav > li.active > a {
            color: #ee3124;
            border-bottom: 1px solid #ee3124;
            background: none;
        }

    .main-menu .navbar-nav > li.hide-dt {
        display: none;
    }


/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 120px auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
    max-width: 1140px;
}

.radio.radiobuttonlist input[type="radio"],
.checkbox.checkboxlist input[type="checkbox"] {
    margin-left: 0;
}

.radio.radiobuttonlist label,
.checkbox.checkboxlist label {
    padding-left: 10px;
}

.navbar-nav > li > .dropdown-menu {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.dropdown-menu {
    border: 1px solid #ccc;
    border: 1px solid rgba(0,0,0,.15);
    left: 4px;
}

    .dropdown-menu li a {
        font-size: 20px;
        color: #005664;
    }

        .dropdown-menu li a:hover {
            font-size: 20px;
            color: #005664;
        }


/*ugerapport css*/
.hrow {
    border: solid 1px black;
    border-bottom-width: 3px;
}

.hcell1 {
    border: solid 1px black;
    text-align: left;
    background-color: #F5F5F5;
    font-size: 12px !important;
}

.hcell2 {
    border-left: solid 1px black;
    text-align: center;
    background-color: #F5F5F5;
    font-size: 12px !important;
}

.cell3 {
    border: solid 1px black;
    padding: 5px;
    text-align: left;
    vertical-align: top;
    font-size: 10px !important;
}

.cell3-newsort {
    border-top-width: 2px;
}

.cell4 {
    border: solid 1px black;
    padding: 5px;
    text-align: left;
    vertical-align: top;
    font-size: 9px !important;
}

.cell4-newsort {
    border-top-width: 2px;
}

.cell-middle-row {
    border: solid black;
    border-width: 3px 1px;
    text-align: center;
    background-color: #F5F5F5;
    font-size: 12px !important;
}

.cell3 table {
    width: 100%;
    height: 100%;
}

.cell3 span {
    width: 100%;
    height: 100%;
    display: block;
}

.cell4 table {
    width: 100%;
    height: 100%;
}

.cell4 span {
    width: 100%;
    height: 100%;
    display: block;
}

.hcell-green {
    background: #5FF442;
}

.hcell-yellow {
    background: #FFFF00;
}

.no-right-border {
    border-right-width: 0;
}

.no-left-border {
    border-left-width: 0;
}

.less-margin {
    margin-top: 10px;
}

select.form-control:not([size]):not([multiple]) {
    height: unset !important;
}

.tooltips {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
}

    .tooltips .tooltiptexts {
        visibility: hidden;
        background-color: lightskyblue;
        color: #fff !important;
        text-align: center;
        border-radius: 6px;
        padding: 5px;
        /* Position the tooltip */
        position: absolute;
        z-index: 1;
        top: 100%;
        left: 50%;
        margin-left: -60px;
    }

    .tooltips:hover .tooltiptexts, .tooltiptexts.hovering {
        visibility: visible;
    }

.tooltip-table {
    color: black !important;
    width: 200px;
}

@media only screen and (min-width:3700px) {
    .beskeder-btn {
        display: none;
        margin-bottom: unset;
    }
    .ugerapport-grid {
        display: grid;
        grid-gap:1em;
        grid-template-columns: 1fr 1180px;
        grid-template-areas: "rapport beskeder";
    }

    .ugerapport {
        grid-area: rapport;
    }

    .beskeder {
        grid-area: beskeder;
        display:grid; 
        grid-template: "1fr 1fr" "1fr 1fr" "1fr 1fr"; 
        grid-gap:1em;
    }
}

@media only screen and (min-width:769px) {
    .dropdown:hover .dropdown-menu {
        display: block !important;
    }
}

@media only screen and (max-width:768px) {
    .reno-navbar {
        padding-bottom: 5px
    }

    .logo-img {
        padding-top: 0;
        padding-left: 10px
    }

    .main-menu .navbar-nav > li.hide-dt {
        display: block;
    }

    .main-menu .navbar-nav > li a {
        padding-left: 15px;
    }

    .main-menu .navbar-nav {
        margin: 7.5px 0;
    }

    header .container {
        padding: 0;
    }

    .header-top-menu {
        display: none;
    }

    .main-menu.navbar {
        width: 100% !important;
        min-height: 40px;
        padding: 5px 0;
    }

    .navbar-toggle {
        border-radius: 0;
        margin-bottom: 0;
        margin-right: 15px;
        margin-top: 0;
        padding: 5px;
        position: relative;
    }

        .navbar-toggle > span {
            font-size: 22px;
            color: #005664;
            text-transform: uppercase;
            letter-spacing: 0.1em;
        }

    .main-menu .navbar-collapse {
        width: 100%;
        padding-top: 40px;
        max-height: 100%;
    }

    .navbar-collapse.in {
        overflow-y: hidden;
    }
}
