body {
	width: 1200px;
	font-family: arial, helvetica, sans-serif;
}
form {
	margin: 0;
}
.clearer {
	clear: both;
}
.hide {
    display: none;
}
.error {
    color: #ff0000;
}
.normal-screen {
	position: absolute;
	width: 960px;
	height: 600px;
}
.full-screen {
	height: 100%;
	width: 100%;
}

[class^="icon-"], [class*=" icon-"] {
    display: inline-block;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    *margin-right: .3em;
    line-height: 15px;
    vertical-align: text-top;
}
.icon-search {
    width: 23px;
    height: 23px;
    background: url(../img/otsing_nupp.png) no-repeat;
}
.icon-road {
    background: url(../img/teekond.png) no-repeat;
}
.icon-print {
    background: url(../img/kaart_tryki.png) no-repeat;
}
#print:hover .icon-print {
    background: url(../img/kaart_tryki_aktiivne.png) no-repeat;
}
.icon-envelope {
     background: url(../img/kaart_saada.png) no-repeat;
 }
#send:hover .icon-envelope {
    background: url(../img/kaart_saada_aktiivne.png) no-repeat;
}
.icon-ruler {
    background: url(../img/kaart_joonlaud.png) no-repeat;
}
#ruler:hover .icon-ruler {
    background: url(../img/kaart_joonlaud_aktiivne.png) no-repeat;
}
.icon-fullscreen {
    background: url(../img/kaart_taisekraan.png) no-repeat;
}
#full-screen:hover .icon-fullscreen {
    background: url(../img/kaart_taisekraan_aktiivne.png) no-repeat;
}
.icon-normal-screen {
    background: url(../img/kaart_taisekraan_kinni.png) no-repeat;
}
#full-screen:hover .icon-normal-screen {
    background: url(../img/kaart_taisekraan_kinni_aktiivne.png) no-repeat;
}
.icon-trash {
    background: url(../img/kaart_puhasta.png) no-repeat;
}
#clean-map:hover .icon-trash {
    background: url(../img/kaart_puhasta_aktiivne.png) no-repeat;
}
.icon-left {
    background: url(../img/paneel_sulge.png) no-repeat;
}
#sidebar-toggler:hover .icon-left {
    background: url(../img/paneel_sulge_aktiivne.png) no-repeat;
}
.icon-right {
    background: url(../img/paneel_ava.png) no-repeat;
}
#sidebar-toggler:hover .icon-right {
    background: url(../img/paneel_ava_aktiivne.png) no-repeat;
}
.icon-down {
    background: url(../img/kiht_ava.png) no-repeat left 30%;
}
.icon-up {
    background: url(../img/kiht_sulge.png) no-repeat left 30%;
}

#header {
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
    color: #ffffff;
    background-color: #3F3F3F;
}

#header .title {
	float: left;
	padding: 5px;
    font-size: 22px;
}
#header .language-select {
    margin-top: 5px;
	padding: 5px;
	float: right;
	margin-right: 150px;
    font-size: 12px;
}
#header .language-select span {
    color: #FFBF00;
}
#header .language-select a {
    color: #ffffff;
    text-decoration: none;
    background: url(../img/rippmenyy_nool.png) no-repeat right center;
    padding-right: 15px;
}
#header #language-dropdown {
    position: absolute;
    top: 40px;
    right: 200px;
    background-color: #363636;
    z-index: 30;
    width: 80px;
    font-size: 12px;
}
#header #language-dropdown a {
    padding-left: 5px;
    color: #ffffff;
    text-decoration: none;
}
#header #language-dropdown li:hover {
    background-color: #d5ab14;
}
#header .logout {
    margin-top: 5px;
	padding: 5px;
	float: right;
    font-size: 12px;
}
#header .logout a {
    text-decoration: none;
    color: #ffffff;
}
#bottom-container {
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    bottom: 0;
}
#sidebar {
	position: absolute;
	top: 0px;
	left: 0px;
    width: 300px;
	height: 100%;
	display: block;
}
.tab-header {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 45px;
}
.tab-header li {
    text-align: center;
    float: left;
    width: 145px;
    padding-bottom: 5px;
    padding-top: 5px;
    background-color: #D1D1D1;
    font-weight: bold;
    font-size: 20px;
    vertical-align: middle;
    padding-left: 5px;
}
.tab-header li.search-icon {
    background-image: url(../img/otsing.png);
    background-position: 5% 50%;
    background-repeat: no-repeat;
    padding-left: 15px;
    width: 135px;
}
.tab-header li.category-icon {
    background-image: url(../img/kihid.png);
    background-position: 6% 50%;
    background-repeat: no-repeat;
}
.tab-header li.selected {
    background-color: #ffffff;
}
.tab-header li:hover {
    cursor: pointer;
}

.buttons {
    margin: 20px 0px 5px 20px;
}
#toggle-all-categories {
    font-size: 12px;
    color: #494949;
    text-decoration: none;
}
.category-list {
	margin-top: 2px;
	overflow: auto;
	height: 87%;
}
.category-list ul {
	margin: 0;
	padding: 0;
}
.category-list ul li {
	margin: 0;
	margin-bottom: 3px;
    margin-right: 3px;
}
.category-list ul li .category-item {
	padding: 10px 0px 10px 10px;
	border: 1px solid #B6B6B6;
	border-radius: 5px;
	height: 20px;
    background-color: #EAEAEA
}
.category-list ul li ul.show {
	display: block;
}

.category-list ul li ul {
	display: none;
	margin-top: 3px;
	margin-left: 10px;
}

.category-list ul li .category-item .category-handle {
    float: left;
    background: url(../img/lohistamise_mumm.png);
    width: 16px;
    height: 24px;
    margin-right: 3px;
}
.category-list ul li .category-item .category-handle:hover {
    cursor: move;
}
.category-list ul li .category-item .sub-category {
	float: left;
    width: 22px;
    height: 25px;
    margin-right: 4px;
}
.category-list ul li .category-item .category-name {
	float:left;
}
.category-list ul li .category-item .category-select {
	float:right;
}
.category-list ul li .category-item .category-preview {
    width: 40px;
    height: 40px;
    float: right;
    margin-top: -10px;
    background-color: #D1D1D1;
    border-radius: 0 5px 5px 0;
}
.category-list ul li .category-item .category-preview .preview-box {
    width: 10px;
    height: 10px;
    border: 1px solid;
    border-color: #F0B64C;
    background-color: #F3D190;
    text-align: center;
    vertical-align: middle;
    margin: 14px;
    border-radius: 5px;
}


#left-container {
	position: absolute;
	top: 0px;
	left: 300px;
	right: 0px;
	height: 100%;
}
.full-screen #left-container {
	/*width: 82%;*/
}
.no-sidebar #left-container {
    left: 0;
    margin-left: 0px;
}

.toolbar-layer-links {
	position: absolute;
	top: 5px;
	left: 5px;
    z-index: 30;
    background-color: #666666;
    padding: 5px;
    border-radius: 5px;
}
.toolbar-layer-links .layer-link {
    color: #ffffff;
    padding: 0px 5px 0px 5px;
    text-decoration: none;
    font-size: 15px;
}
.toolbar-layer-links .layer-link:hover {
    border-bottom: 3px solid #FFBF00;
    text-decoration: none;
}
.toolbar-layer-links .active {
    border-bottom: 3px solid #FFBF00;
}

.toolbar-links {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 30;
    background-color: #666666;
    padding: 5px;
    border-radius: 5px;
}
.toolbar-links a{
    padding-left: 5px;
}
.regio-map {
    display: block;
    position: absolute;
	left: 0;
	top: 0px;
    width: 100%;
    height: 100%;
    background: #738aa0;
}


div#olMap {
	margin-top: 10px;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

div.olControlMousePosition {
    top: 40px;
    left: 5px;
    right: auto;
    bottom: auto;
    padding: 0 10px;
    background: #fff;
}
div.olControlOverviewMap {
    bottom: 0px;
    border: 1px solid #000;
}
div.olControlOverviewMap .olControlOverviewMapElement {
    padding: 0;
}
#OpenLayers_Control_minimizeDiv {
    bottom: 0;
}
#olControlOverviewMapMaximizeButton {
    bottom: 0;
}
div.olControlOverviewMap .olButton img {
    padding-bottom: 3px;
}
div.olControlOverviewMap .olButton {
    background-color: #afafaf;
    padding: 5px 0px 0px 5px;
}


#login-form {
    padding-top: 50px;
    width: 300px;
    margin: auto;
	text-align: left;
}
#login-form h1 {
    font-size: 22px;
    color: #3F3F3F;
}
#login-form table {
	margin-top: 50px;
}
#login-form table td {
    padding-bottom: 10px;
}
#login-form table td label {
    padding-right: 10px;
    color: #666666;
}
#login-form table td input[type=submit] {
    background-color: #666666;
    padding: 5px 10px 5px 10px;
    border-radius: 5px;
    color: #ffffff;
}

#send-map-popup {
    position: absolute;
    top: 40%;
    left: 40%;
    z-index: 300;
    border: 1px solid #000;
    background-color: #ffffff;
    padding:10px;
}
#send-map-popup table {
    margin-top: 10px;
}
#close-send-popup {
    position: absolute;
    top: 5px;
    right: 5px;
    background: url(../img/sulge_modaalaken.png) no-repeat;
    width: 10px;
    height: 10px;
}
#send-map-popup h2 {
    font-size: 22px;
}
#send-map-popup tr td {
    padding-bottom: 15px;
    vertical-align: top;
}
#send-map-popup tr td label span {
    color: #ff0000;
}
#send-map-popup tr td p {
    font-size: 11px;
    color: #666666;
}
#send-map-popup tr td input {
    width: 350px;
}
#send-map-button {
    text-decoration: none;
    background-color: #666666;
    padding: 5px;
    border-radius: 5px;
    color: #ffffff;
    float: right;
}
#send-map-button:hover {
    background-color: #9f9f9f;
}

#overlay {
    width: 100%;
    height: 100%;
    z-index: 200;
    position: absolute;
    opacity: .5;
    background-color: #363636;
}

#loading {
    position: absolute;
    top: 40%;
    left: 50%;
    z-index: 400;
    border: 1px solid #000;
    background-color: #9f9f9f;
    padding:10px;
    color: #ffffff;
    border-radius: 5px;
    min-width: 100px;
    text-align: center;
}

/* map popup, tooltip */
#map-popup {
    position: absolute;
    top: 50%;
    right: 40%;
    border-radius: 5px;
    background-color: #666666;
    z-index: 740;
    padding: 10px 20px 10px 10px;
    width: 400px;
    color: #ffffff;
}
#map-popup  tr td {
    vertical-align: top;
    padding-right: 10px;
}
#map-popup #map-popup-close-button {
    text-decoration: none;
    position: absolute;
    top: 5px;
    right: 5px;
    width: 8px;
    height: 8px;
    background: url("../img/sulge_pisi.png") no-repeat;
}
#map-popup #map-popup-close-button:hover {
    background: url("../img/sulge_pisi_aktiivne.png") no-repeat;
}
#map-tooptip {
    position: absolute;
    border-radius: 5px;
    background-color: #666666;
    z-index: 730;
    padding: 0px 10px;
    color: #ffffff;
}
