﻿body, html {
    height: 100%;
    min-height: 100%;
}

nav.sidebar, .main {
    -webkit-transition: margin 200ms ease-out;
    -moz-transition: margin 200ms ease-out;
    -o-transition: margin 200ms ease-out;
    transition: margin 200ms ease-out;
}

nav.sidebar {
    z-index: 9999!important
}
nav.sidebar a {
    
    height: 100%;
}
    nav.sidebar li.nav-location a {
        background-color: #353030;
        text-align: left;
    }

nav.sidebar li.nav-next-location a {
    color: white;

}

.main {
    padding: 10px 10px 0 10px;
}

.top-bar:nth-child(1) > div.top-bar-container {
    background: #6989aa;
}
.top-bar:nth-child(2) > div.top-bar-container {
    background-color: #eeb534;
}
.top-bar:nth-child(3) > div.top-bar-container {
    background-color: #ca4e32;
}
.top-bar:nth-child(4) > div.top-bar-container {
    background-color: #a5c823;
}
.top-bar:nth-child(5) > div.top-bar-container {
    background-color: #c1912f;
}
.top-bar:nth-child(6) > div.top-bar-container {
    background-color: #4b5c87;
}

div.top-bar-container img {
    width: 32px;
}

.top-bar {
    padding: 10px
}

.table-icon{
    font-size: 18px;
    margin-right: 5px;
    vertical-align: middle;
    padding-bottom: 4px;
    color: #585858
}

.top-bar-item:nth-child(1) {
    font-size: 20px;
    text-align: left;
    font-weight: bold;
}

.top-bar-item:nth-child(2) {
    font-size: 11px;
    font-weight: normal;
    text-align: left;
}

div.top-bar:nth-child(1) > div.top-bar-container > div:nth-child(1) > div.top-bar-item:nth-child(2) {
    color: #bbd2de;
}
div.top-bar:nth-child(2) > div.top-bar-container > div:nth-child(1) > div.top-bar-item:nth-child(2) {
    color: #ede3ce;
}
div.top-bar:nth-child(3) > div.top-bar-container > div:nth-child(1) > div.top-bar-item:nth-child(2) {
    color: #f3a593;
}
div.top-bar:nth-child(4) > div.top-bar-container > div:nth-child(1) > div.top-bar-item:nth-child(2) {
    color: #e1eeb1;
}
div.top-bar:nth-child(5) > div.top-bar-container > div:nth-child(1) > div.top-bar-item:nth-child(2) {
    color: #f2d599;
}
div.top-bar:nth-child(6) > div.top-bar-container > div:nth-child(1) > div.top-bar-item:nth-child(2) {
    color: #b2c0e1;
}

.top-bar-icon {
    margin-top: 6px;
}

.top-bar-container {
    padding-right:0px;
}

.nav > li:hover {
    
    background-color: #5e5858!important;
}
.nav > li:hover > a {
    color: #bfbfbf !important;
}

div.top-bar-container div.col-xs-3 {padding:0}

.top-bar-container {
    color: white;
    padding-bottom: 2px;
    padding-top: 5px;
    padding-left: 10px;
    font-size: 30px;
    text-align: center;
    height: 53px;
    max-height: 53px;
    min-height:53px;
    /*padding-bottom: 15px;
    padding-top: 15px;*/
}

.teste{
    background-color: black;
}

.navbar-default > div.container-fluid > div.navbar-header > ul.nav > li {
    float: left;
}

div#devextreme0 img{
    margin-right: 5px
}

@media(max-width:767px) {
    .navbar-default > div.container-fluid > div.navbar-header > ul.nav > li {
        height: 52px;
        vertical-align: middle;
    }

    .navbar-default > div.container-fluid > div.navbar-header > ul.nav > li > a {
        padding-top: 15px;
        text-align: center
    }

    .navbar-nav {
        margin: 0px
    }

    .navbar {
        min-height: 0;
        margin-bottom: 20px;
        margin-top: 10px;
    }
    .navbar-collapse{
        width: 100%;
    }
}

.navbar-nav {
    height: 100%
}

.nav-location {
    width: 200px !important;
    text-align: center !important;
    height: 100%;
    border: 0px !important;
    float: left !important;
    -webkit-transition: margin 200ms ease-out;
    -moz-transition: margin 200ms ease-out;
    -o-transition: margin 200ms ease-out;
    transition: margin 200ms ease-out;
}


.nav-next-location {
    width: 150px !important;
    border: 0px !important;
    float: left !important;
}

.nav-location-text {
    text-transform: uppercase !important
}

.top-bar-container .col-xs-9 {
    width: 100%;
    z-index: 9
}

.top-bar-container .col-xs-3 {
    position: absolute;
    right: 2px;
    z-index:8
}

@media(max-width: 820px) {
    span.short-sub, span.short-not {
        position: absolute;
        visibility: hidden;
    }

    span.short-sub:before {
        content: "SUBMET.";
        visibility: visible;
    }

    span.short-not:before {
        content: "NOTIF.";
        visibility: visible;
    }

    div.top-bar-container img {
        width: 30px;
    }
}

@media(max-width: 960px) {
    span.short-text {
        position:absolute;
        visibility:hidden;
    }

    span.short-text:before {
        content: "N. APROV.";
        visibility:visible;
    }

    .top-bar-container .col-xs-3 {
        margin-right: 3px;
    }
}

@media(max-width: 772px) {
    span.short-ap, span.short-fe, span.short-ab {
        position: absolute;
        visibility: hidden;
    }

    span.short-ap:before {
        content: "APROV.";
        visibility: visible;
    }

    span.short-ab:before {
        content: "ABERTO";
        visibility: visible;
    }

    span.short-fe:before {
        content: "FECH.";
        visibility: visible;
    }

    .top-bar-container .col-xs-3 {
        margin-right: 5px;
    }
}

@media(max-width: 662px) {
    div.top-bar-item:nth-child(1) {
        float: none !important;
        text-align:center;
    }

    div.top-bar-container > div.col-xs-9 {
        float: none !important;
        width: 100% !important;
        padding: 7px!important;
    }

    div.top-bar-container > div.col-xs-3, div.top-bar-item:nth-child(2) {
        display: none;
    }

    div.top-bar-container {
        padding-right: 10px;
    }
}

@media(max-width: 580px) {
    div.top-bar-container {
        font-size: 20px;
    }
}

@media(max-width: 448px) {
    .navbar-default > div.container-fluid > div.navbar-header > ul.nav > li {
        width: 150px!important;
        font-size: 13px!important;
    }
}

@media(max-width: 380px) {
    .navbar-default > div.container-fluid > div.navbar-header > ul.nav > li {
        width: 130px !important;
        font-size: 12px !important;
    }
}

div.navbar-header {
    height:50px;
    min-height: 50px;
    max-height: 50px;
}

@media(max-width:767px) {
    div.navbar-header{
        position: relative!important;
        top: 0px; 
    }

    nav{
        margin: 0!important;
    }

    body {
        padding: 0;
    }
}

@media(max-width: 1329px) and (min-width: 768px) {
   
    nav.sidebar:hover li.nav-location {
        margin-left: 0px;
    }

    nav.sidebar:hover li.nav-location #titl {
        display: inline;
    }

    

    nav.sidebar:hover li.nav-location img {
        float: none;
    }

    
}

@media(max-width: 1329px) {
    .nav-location img {
        float: right
    }
    li.nav-location a {
        padding-right: 5px;
    }
    .nav-location {
        width: 200px !important;
        margin-left: -160px;
    }

    #titl {
        display: none;
    }
}

@media (min-width: 768px) {
    nav.sidebar {
        position: fixed !important;
    }
    .main {
        position: absolute;
        width: calc(100% - 40px);
        margin-left: 40px;
        float: right;
    }

    nav.sidebar.navbar.sidebar > .container .navbar-brand, .navbar > .container-fluid .navbar-brand {
        margin-left: 0px;
    }

    

    nav.sidebar .navbar-brand, nav.sidebar .navbar-header {
        text-align: center;
        width: 100%;
        margin-left: 0px;
    }

    nav.sidebar a {
        
    }

    nav.sidebar .navbar-nav > li:first-child {
        border-top: 1px #e5e5e5 solid;
    }

    nav.sidebar .navbar-nav > li {
        border-bottom: 1px #e5e5e5 solid;
    }

    nav.sidebar .navbar-nav .open .dropdown-menu {
        position: static;
        float: none;
        width: auto;
        margin-top: 0;
        border: 0;
        -webkit-box-shadow: none;
        box-shadow: none;
       
    }

    nav.navbar-default {
        background-color: #353030!important;
    }
   

    nav.sidebar .navbar-collapse, nav.sidebar .container-fluid {
        padding: 0 0px 0 0px;
    }

    .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
        color: #777;
    }

    .navbar-default > div.container-fluid > div.navbar-header > ul.nav > li {
        float:left;
    }

    nav.sidebar {
        width: 200px;
        height: 100%;
        margin-left: -160px;
        float: left;
        margin-bottom: 0px;
        position: absolute;
        top: 46px;
        bottom: 0;
        left: 0;
        right: 0;
    }

    nav.sidebar li {
        width: 100%;
    }

    nav.sidebar:hover {
        margin-left: 0px;
    }

    .forAnimate {
        opacity: 0;
    }
}

nav.navbar-default {
    background-color: #353030 !important;
}

@media (min-width: 1330px) {

    .main {
        width: calc(100% - 200px);
        margin-left: 200px;
        padding: 25px;
    }

    nav.sidebar {
        margin-left: 0px;
        float: left;
        position: absolute;
        top: 46px;
        bottom: 0;
        left: 0;
        right: 0;
    }
    

        nav.sidebar .forAnimate {
            opacity: 1;
        }
}

nav.sidebar .navbar-nav .open .dropdown-menu > li > a:hover, nav.sidebar .navbar-nav .open .dropdown-menu > li > a:focus {
    color: #CCC;
    background-color: transparent;
}

nav:hover .forAnimate {
    opacity: 1;
}

section {
    padding-left: 15px;
}
