@import url(https://fonts.googleapis.com/css?family=Lato);
@import url(https://fonts.googleapis.com/css?family=Shadows+Into+Light);
@import url(https://fonts.googleapis.com/css?family=Cinzel:400,700);

body, html {
    height: 100%;
}

body {
	font-family: 'Lato', sans-serif;
    background: url(../img/body/wood.png);
	background-repeat:repeat;
    font-size:15px;
    -webkit-print-color-adjust:exact;
}

body a{
	text-decoration : none;
	font-weight:normal;
	color:blue;
	cursor:pointer;
	text-decoration : underline;	
}

body a:hover {
	text-decoration : none;
	font-weight:normal;
	color:blue;
	cursor:pointer;
	text-decoration : underline;
}

body a:visited {
	text-decoration : none;
	font-weight:normal;
	color:blue;
	cursor:pointer;
	text-decoration : underline;
}

body a:hover:visited {
	text-decoration : none;
	font-weight:normal;
	color:blue;
	cursor:pointer;
	text-decoration : underline;
}

#container {
    width:100%;
    overflow: hidden;
    min-width: 1000px;
    min-height: 100%;
}

/* IE6 hack */
* html #container {
    height: 100%;
}

header {
    width:100%;
    padding-top: 15px;
    padding-bottom:15px;
    color:#fff;
    background-color:#1f1f1f;
    height: auto; overflow: auto;
}
header a, header a:hover {
    text-decoration: none;
    color:#fff !important;
}

footer {
    width: 100%;
    overflow: hidden;
    font-size:15px;
    color:#fff;
    background-color:#1f1f1f;
    position:fixed;
    bottom:0px;
    text-align: right;
    height: auto; overflow: auto;
    padding-top:3px; 
    padding-bottom:3px;
}

main {
    padding-top: 30px;
    float:left;
    min-height: 100vh;
    overflow: auto;
    padding-bottom: 50px;
    border-left: 2px solid #000;
}

main.mainTotale {
    width: 98%;
}

#sidebarDX {
    float:left;
    height: 100vh; padding-bottom: 40px;
    background-color: #fff;
}

nav { float:left;}

nav ul {
    width:100%;
    padding-bottom: 100px;
    /*background-color: #E8E8E8;
    border-right: 2px solid #1f1f1f;
    border-bottom: 2px solid #1f1f1f;*/
}

nav ul a {
    text-decoration: none !important;
    color:#000 !important;
}

nav ul li {
    width:95%;
    padding-left: 5%;
    border-bottom: 1px solid #1f1f1f;
    padding-top:12px;
    padding-bottom:12px;
    background-color:#E8E8E8;
    font-weight: bolder;
    cursor: pointer;
    font-size:15px;
    transition: all 0.5s ease;
}

nav ul li:hover {
    background-color:#1f1f1f;
    color:#fff;
}

nav ul li.active {
    background-color:#aaa;
}
nav ul li.special {
    background-color: #1ab52c;
}
nav ul li.special ul li {
    background-color:#D6FFD4;
}
nav ul li.special ul ul li {
    background-color: #E8FFF1;
}
nav ul li.special ul ul li:hover {
    background-color: #E8FFF1;
    color:#000;
}

nav ul li.special ul li:hover {
    background-color:#1ab52c;
}

nav ul ul {
    position: absolute;
	visibility: hidden;
    background:none;
    height: auto;
    width:100%;
    border:2px solid #000;
    padding:0px;
    margin-top: -34px;
    z-index: 50;
}

nav ul ul ul {
    position: absolute;
	visibility: hidden;
    background:none;
    height: auto;
    width:300%;
    padding:0px;
    margin-top: -35px;
    left:100%;
    z-index: 100;
}

nav ul ul li {
    width: 95%;
    margin:0px;
    background-color: #fff;
    color:#000;
    transition: all 0s ease;
    border-right: 2px solid #000;
    overflow: hidden;
}

nav ul ul ul li {
    width: 100%;
    margin:0px;
    padding-left: 0px;
    background-color: #fff;
    color:#000;
    transition: all 0s ease;
}

nav ul ul ul li #tableRiga tr td {
    padding: 1px;
}

nav ul li:hover ul {
    visibility: visible;
}
nav ul li:hover ul ul {
    visibility: hidden;
}
nav ul ul li:hover ul {
    visibility: visible;
}

#navSpecial ul ul {
    border-bottom: 1px solid #000;
}

main#login {
    width: 100%;
    padding:0%;
    margin:0%;
    text-align: center;
    margin-top:60px;
}