﻿ul {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #1F568B;
}

    ul li {
        display: block;
        position: relative;
        float: left;
        background: #1F568B;
    }

/* This hides the dropdowns */

li ul {
    display: none;
    z-index: 100;
}

ul li a {
    display: block;
    padding: 1em;
    text-decoration: none;
    white-space: nowrap;
    color: #fff;
}

ul li a:hover {
    background: #ddd;
    color: black;
    text-decoration: none;
}

/* Display the dropdown */

li:hover > ul {
    display: block;
    position: absolute;
}

li:hover li {
    float: none;
}

li:hover a {
    background: #1F568B;
}

li:hover li a:hover {
    background: #ddd;
}

.main-navigation li ul li {
    border-top: 0;
    border: none;
    outline: none;
    color: white;
    font-family: inherit;
    margin: 0;
}

/* Displays second level dropdowns to the right of the first level dropdown */

ul ul ul {
    left: 100%;
    top: 0;
}

/* Simple clearfix */

ul:before,
ul:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

ul:after {
    clear: both;
}

#tbheader {
    border-collapse: collapse;
    width: 100%;
}

    #tbheader td, #tbheader th {
        border: 0px solid #ddd;
        padding: 0px;
        background-color: #1F568B;
        color: white;
    }

    #tbheader tr:nth-child(even) {
        background-color: #1F568B;
    }

    #tbheader tr:hover {
        background-color: #ddd;
    }

    #tbheader th {
        padding-top: 12px;
        padding-bottom: 12px;
        text-align: left;
        background-color: #1F568B;
        color: white;
    }

.syncclock {
    color: white;
}

.username {
    color: khaki;
}
.username:hover {
    color: khaki;
    text-decoration:none;
}

/* The Modal (background) */
.s2cvn_modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 25; /* Sit on top */
    padding-top: 500px; /* Location of the box */
    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 */
.s2cvn_modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 60%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
    z-index: 1;
}

.s2cvn_modal-header {
    padding: 2px 16px;
    background-color: seagreen;
    color: white;
}

.s2cvn_modal-body {
    padding: 2px 16px;
}

.s2cvn_modal-footer {
    padding: 2px 16px;
    background-color: seagreen;
    color: white;
}

.page {
    width: 21cm;
    overflow: hidden;
    min-height: 297mm;
    padding: 2.5cm;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: auto;
    background: white;
    clear: both;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.subpage {
    padding: 1cm;
    border: 5px red solid;
    height: 237mm;
    outline: 2cm #FFEAEA solid;
}

@page {
    size: A4;
    margin: 0;
}

@media print {
    @page {
        margin: 0;
        border: initial;
        border-radius: initial;
        width: initial;
        min-height: initial;
        box-shadow: initial;
        background: initial;
        page-break-after: always;
    }
}

.changepassword-container {
    position: relative;
    width: 350px;
    margin: 50px auto;
    margin-top: 20%;
    padding: 20px 40px 40px;
    text-align: center;
    background: #fff;
    border: 1px solid #ccc;
}

.s2cvn_dropbtn {
    background-color: #4CAF50;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.s2cvn_dropdown {
    position: relative;
    display: inline-block;
}

.s2cvn_dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    right:0;
    z-index: 1;
}

    .s2cvn_dropdown-content a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }
    .s2cvn_dropdown-content span {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }

        .s2cvn_dropdown-content a:hover {
            background-color: #f1f1f1;
            text-decoration: none;
        }

.s2cvn_dropdown:hover .s2cvn_dropdown-content {
    display: block;
}

.s2cvn_dropdown:hover .s2cvn_dropbtn {
    background-color: #3e8e41;
}

@media print {
    @page {
        size: A4 landscape;
        /*margin: 11mm 17mm 17mm 17mm;*/
    }
    @page :footer {
        color:#fff;
    }

    @page :header {
        color:#fff;
    } 
    body * {
    visibility: hidden;
    }

    #section-to-print, #section-to-print * {
        visibility: visible;
        color: #ffffff;
    }

    #section-to-print {
        position: absolute;
        left: 0;
        top: 0;
    }
}

#section-to-print {
    background: #AAAAAA;
}
