/*------------------------------------------------------------------------------
Menu
------------------------------------------------------------------------------*/

/* Menu in center of nav bar */
nav {
    /*text-align: center;*/
    /*line-height: 30px;*/
    position: absolute;
    left: 40px;
    top: 65px;
    height: 30px;
}

nav * {
    z-index: 999;
}

/* No list styles */
nav li {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* No margin/padding */
nav ul {
    margin: 0;
    padding: 0;
}

/* Main menu container */
nav > ul {
    display: inline-block;
    width: auto;
    margin: 0 auto;
}

/* Main menu item */
nav > ul > li {
    position: relative;
    display: inline-block;
    height: 30px;
    width: auto;
    cursor: pointer;
    /*border: 1px solid red;*/
}

/* Main menu item */
nav > ul > li li {
    height: 30px;
}

/* Main menu link */
nav li a.menuitem,
nav li div.menuitem {
    display: inline-block;
    width: 100%;
    height: 30px;
    line-height: 30px;
    text-align: left;
    color: #005c94;
    text-decoration: none;
    font-size: 15px;
    padding: 0 10px 0 10px;
    margin: 0;
    white-space: nowrap;
}

/* Menu item hover */
nav a.menuitem:not(.disabled):hover,
nav div.menuitem:not(.disabled):hover {
    color: black;
}

/* Selected item */
nav li a.menuitem.selected,
nav li div.menuitem.selected {
    color: black;
    text-decoration: underline;
}

/* Disabled item */
nav li a.menuitem.disabled,
nav li div.menuitem.disabled {
    opacity: 0.5;
    cursor: default;
}

/* Sub container */
nav ul ul {
    display: none;
    position: absolute;
    top: 30px;
    left: 8px;
    width: auto;
    background-color: white;
    padding: 6px 10px 5px 0;
    border: 1px solid #aac7dd;
    border-radius: 10px;
    -webkit-box-shadow: 0px 2px 8px 2px rgba(19,75,110,0.35);
    -moz-box-shadow: 0px 2px 8px 2px rgba(19,75,110,0.35);
    box-shadow: 0px 2px 8px 2px rgba(19,75,110,0.35);
    min-width: 180px;
}

/* Show submenu's on hover of main menu */
nav > ul > li:hover > ul {
    display: block;
}

@media (max-width: 1050px)
{
    nav { top: 35px; left: 34px; }
}

/*------------------------------------------------------------------------------
Tabs v1
------------------------------------------------------------------------------*/

/*.tabs {*/
    /*position: relative;*/
    /*height: 35px;*/
    /*background-color: #ebeff7;*/
    /*padding: 5px 5px 0 10px;*/
    /*border-bottom: 1px solid #aac7dd;*/
/*}*/

/*.tabs .tab {*/
    /*position: relative;*/
    /*background-color: #f3f5fa;*/
    /*border-bottom: none;*/
    /*width: auto;*/
    /*min-width: 100px;*/
    /*height: 29px;*/
    /*float: left;*/
    /*margin-right: 10px;*/
    /*text-align: center;*/
    /*line-height: 30px;*/
    /*color: #005c94;*/
    /*border-top: 1px solid #aac7dd;*/
    /*border-left: 1px solid #aac7dd;*/
    /*border-right: 1px solid #aac7dd;*/
    /*border-top-left-radius: 6px;*/
    /*border-top-right-radius: 6px;*/
    /*padding-left: 10px;*/
    /*padding-right: 10px;*/
/*}*/

/*.tabs .tab.disabled {*/
    /*opacity: 0.3;*/
    /*background-color: #d0d0d0;*/
    /*color: #808080;*/
    /*border-color: #808080;*/
    /*border-bottom: none;*/
    /*height: 29px;*/
/*}*/

/*.tabs .tab.selected {*/
    /*background-color: white;*/
    /*color: black;*/
    /*border-bottom: none;*/
    /*height: 30px;*/
/*}*/

/*.tabs .tab .state {*/
    /*position: absolute;*/
    /*left: 3px;*/
    /*top: 8px;*/
    /*width: 14px;*/
    /*height: 14px;*/
    /*background-size: 14px 14px;*/
/*}*/

/*.tabs .tab .state.required { display: none; }*/
/*.tabs .tab .state.finished { background-image: url(../images/passed.png); }*/

/*------------------------------------------------------------------------------
Tabs v2
------------------------------------------------------------------------------*/

.tabs {
    display: flex;
    flex-wrap: wrap;
    flex-direction:row;
    justify-content: left;
    height: auto;
    background-color: #ebeff7;
    padding: 0 5px 5px 5px;
    /*border-bottom: 1px solid #aac7dd;*/
}

.tabs .tab {
    position: relative;
    display: inline-block;
    flex: 140px 0 0;
    background-color: #f3f5fa;
    height: 30px;
    text-align: center;
    line-height: 30px;
    color: #005c94;
    border: 1px solid #aac7dd;
    border-radius: 6px;
    margin: 5px;
    padding: 0 15px 0 15px;
    white-space: nowrap;
}

.tabs .tab.disabled {
    opacity: 0.3;
    background-color: #d0d0d0;
    color: #808080;
    border-color: #808080;
    height: 29px;
}

.tabs .tab.selected {
    background-color: white;
    color: black;
    height: 30px;
    border: 2px solid #005c94;
    line-height: 28px;
    font-weight: bold;
}

.tabs .tab .state {
    position: absolute;
    left: 4px;
    top: 4px;
    width: 18px;
    height: 18px;
    background-size: 18px 18px;
}

.tabs .tab .state.required { display: none; }
.tabs .tab .state.finished { background-image: url(../images/tab_passed.png); }
