/* created by jevgeni dot virves at regio dot ee 2012-09-26 */

div.loader {
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	right: 0;
	pointer-events: none;
	z-index: 1000;
}

div.loader.hidden {
	display: none;
}

div.loader span {
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	margin: 0;
	padding: 10px 20px 10px 45px;
	background: #fff url('../img/loading.gif') 7px center no-repeat;
	border-radius: 20px;
	opacity: 0.8;
	font-size: 90%;
}

div.messages {
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	right: 0;
	z-index: 1000;
}

div.messages.hidden {
	display: none;
}

div.messages div.errors {
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -50px 0 0 -50px;
	padding: 20px 50px 20px 45px;
	background: #fff url('../img/alert.png') 15px 23px no-repeat;
	border: 2px inset #ccc;
	border-radius: 5px 10px 5px 5px;
    box-shadow: 1px 1px 3px #000;
}


div.messages div.errors span {
	font-weight: bold;
	color: #ff0000;
}
div.messages div.errors span.hidden {
	display: none;
}

div.messages a.close {
	display: block;
	position: absolute;
	top: 3px;
	right: 3px;
	width: 16px;
	height: 16px;
	background: transparent url('../img/close.png') center no-repeat;
	opacity: 0.5;
	text-decoration: none;
	text-indent: -1000px;
}

div.messages a.close:hover {
	opacity: 1;
	text-decoration: none;
}

div.wrapper {
	display: block;
	margin: 0 auto 0 auto;
	width: 70%;
	min-width: 1000px;
	height: 100%;
	min-height: 500px;
	background: #fff;
	visibility: visible;
	overflow: hidden;
}

div.wrapper.admin {
	width: 100%;
	min-width: 800px;
	height: 100%;
	min-height: 400px;
}

div.wrapper.loading {
	visibility: hidden;
}

div.wrapper>.header {
	background: url(../img/pais_pikk.png);

}

div.wrapper.admin>.header {
	display: block;
}

div.wrapper>.toolbar {
	width: 100%;
	background: #535353;
}



div.wrapper>.header>ul, div.wrapper>.toolbar>ul {
	position: absolute;
}

div.wrapper>.header>ul li, div.wrapper>.toolbar>ul li {
	display: inline-block;
    vertical-align: middle;
}

div.wrapper>.header>ul li a, div.wrapper>.toolbar>ul li a {
	color: #fff;
	text-decoration: none;
}

div.wrapper>.header>.languages {
	right: 10px;
	top: 10px;
    width: 60px;
    background: #ffffff;
}
div.wrapper>.header>.languages li {
	display: none;
	padding: 0 5px;
}

div.wrapper>.header>.languages li a {
	color: #3ba3d0;
}

div.wrapper>.header>.languages li.active {
	display: block;
}

div.wrapper>.header>.languages li a:hover,
div.wrapper>.header>.languages li.active a {
	color: #024a68;
}

div.wrapper>.header>.languages:hover {
}
div.wrapper>.header>.languages:hover li {
	display: block;
}


div.wrapper>.toolbar>.layers {
	left: 400px;
	bottom: 4px;
}
div.wrapper>.toolbar>.layers {
	left: 400px;
	bottom: 4px;
}
div.wrapper>.toolbar>.layers li {
    border-bottom: 3px solid transparent;
}
div.wrapper>.toolbar>.layers li a {
	display: inline-block;
	padding: 0 5px;
	color: #fff;
}

div.wrapper>.toolbar>.layers li.active {
    border-bottom: 3px solid #fff;
}

div.wrapper>.toolbar>.tabs-header {
	display: block;
	width: 400px;
	height: 30px;
}

div.wrapper>.toolbar>.tabs-header {
	position: relative;
}
div.wrapper>.toolbar>.tabs-header li {
	display: inline-block;
	float: left;
	clear: none;
}

div.wrapper>.toolbar>.tabs-header a {
	display: inline-block;
	margin: 2px 0 0 2px;
	padding: 3px 18px;
	color: #fff;
}
div.wrapper>.toolbar>.tabs-header a:hover {
	background: #fff;
	color: #000;
}

div.wrapper>.toolbar>.tabs-header li.active a {
	background: #fff;
	color: #000;
}

div.wrapper > .toolbar > .tools {
	right: 5px;
	bottom: 0;
}
div.wrapper > .toolbar > .tools li {
    vertical-align: baseline;
}

div.wrapper.admin > .toolbar > .tools {
	display: none;
}

div.wrapper>.toolbar>.tools a.toggle_fullscreen {
	display: inline-block;
    background: url(../img/nooled_valge.png) no-repeat center center;
    height: 20px;
    width: 17px;
    padding-left: 20px;
}
div.wrapper>.toolbar>.tools a.toggle_print {
    display: inline-block;
    background: url(../img/tryki_valge.png) no-repeat center center;
    height: 20px;
    width: 18px;
}
div.wrapper>.toolbar>.tools a.toggle_help {
    display: inline-block;
    background: url(../img/help.png) no-repeat center center;
    height: 20px;
    width: 30px;
}
div.wrapper>.toolbar>.tools a.home {
    display: inline-block;
    background: url(../img/home.png) no-repeat center center;
    height: 20px;
    width: 30px;
}


div.wrapper>.content {
	display: table;
	width: 100%;
	overflow: hidden;
}

div.wrapper>.content>.sidebar {
	display: block;
	position: absolute;
	left: -404px;
	top: 0;
	height: 100%;
	width: 400px;
	background: #fff;
}

div.wrapper>.content>.map {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 100%;
}

div.wrapper>.footer {
	background: #EFEFEF;
    border-top: 1px solid #cccccc;
    height: 55px;
}

div.wrapper.admin>.footer {
	display: none;
}
div.wrapper > .footer div.disclaimer {
    width: 1000px;
    margin-top: 2px;
	cursor: pointer;
}
div.wrapper > .footer div.disclaimer:hover p {
    color: #223d8c;
}
.displaimer_popup {
    display: block;
    position: absolute;
    bottom: 50px;
    left: 50px;
    background-color: #fff;
    z-index: 2500;
    border: 1px solid #000000;
}
.displaimer_popup.hidden {
	display: none;
}

[href="#displaimer_popup_hide"] {
	display: block;
	position: absolute;
	top: 5px;
	right: 0;
	width: 20px;
	height: 20px;
	text-decoration: none;
	font-weight: bold;
	font-size: 20px;
	line-height: 20px;
	z-index: 2;
}
div.wrapper>.footer div {
	padding: 5px 20px;

}
/*
div.wrapper>.footer div.center-logo {
    position: absolute;
    right: 100px;
    top: 0;
    background: url(../img/logod.png) no-repeat center center;
    width: 251px;
    height: 44px;
}
div.wrapper>.footer div.logo {
	position: absolute;
	right: 0;
	top: 13px;
}
div.wrapper>.footer div.logo a {
	color: #B1B1B1;
	text-decoration: none;
}
*/

div.wrapper > .footer div.logos {
	position: 				absolute;
	top: 							7px;
	right: 						5px;
	bottom:           7px;
	padding:          0;
	white-space:			nowrap;
}

div.wrapper > .footer div.logos > div {
	display:    			inline-block;
	position: 				relative;
	height:     			100%;
	padding:          0;
	margin:           0 7px;
}

div.wrapper > .footer div.logos > div img,
div.wrapper > .footer div.logos > div p {
	display:          inline-block;
	position:         relative;
	float:						left;
	max-height: 			100%;
	margin:           0;
	padding: 					0;
	line-height:      41px;
}

div.wrapper > .footer div.logos a {
	color: 						#b1b1b1;
	text-decoration:	none;
}


/* toggle fullscreen */

div.wrapper.fullscreen>.header,
div.wrapper.fullscreen>.footer {
	/* display: none; */
}

div.wrapper.fullscreen {
	position: absolute;
	margin: 0;
	top: 0;
	left: 0;
	right: 0;
	width: auto;
	height: 100%;
}



/* toggle sidebar */

div.wrapper.sidebar>.content>.sidebar {
	display: block;
	left: 0;
}
div.wrapper.sidebar.mapshift>.content>.map {
	left: 400px;
}

div.wrapper .olControlZoom {
	left: 10px;
}

div.wrapper.sidebar .olControlZoom {
	left: 412px;
}
div.wrapper.sidebar.mapshift .olControlZoom {
	left: 10px;
}

.toggle_sidebar {
	position: absolute;
	right: -4px;
	width: 2px;
	height: 100%;
	background: #fff;
	border-left: solid 1px #666;
	border-right: solid 1px #666;
}

.toggle_sidebar a {
	position: absolute;
	top: 45%;
	left: 2px;
	padding: 2px 5px;
	background: #fff;
	border: solid 1px #666;
	border-left: none;
	text-decoration: none;
}

.toggle_sidebar .open {
	display: inline-block;
    background: url(../img/paneel_lahti.png) no-repeat center center #fff;
    height: 55px;
    width:  5px;
}
.toggle_sidebar .close {
	display: none;
    background: url(../img/paneel_kinni.png) no-repeat center center #fff;
    height: 55px;
    width:  5px;
}

div.wrapper.sidebar .toggle_sidebar .open {
	display: none;
    background: url(../img/paneel_lahti.png) no-repeat center center #fff;
    height: 55px;
    width:  5px;
}
div.wrapper.sidebar .toggle_sidebar .close {
	display: inline-block;
    background: url(../img/paneel_kinni.png) no-repeat center center #fff;
    height: 55px;
    width:  5px;
}








div.wrapper>.header .title {
	padding: 20px;
}
div.wrapper>.header .title a {
	text-decoration: none;
}
div.wrapper>.header .title h1 {
    color: #ffffff;
}



#olMap {
	width: 100%;
	height: 100%;
	background: #738aa0;
}

#olMap.orto,
#olMap.hybrid {
	background: #25434d;	
}

.wrapper #editControl {
	display: none;
}

.wrapper.admin #editControl {
	display: block;
	position: absolute;
	top: 5px;
	right: 150px;
	margin: 0;
	padding: 0 5px;
	background: #0772a1;
}

.wrapper.admin.noeditbar #editControl {
	display: none;
}

#editControl a {
	display: inline-block;
	padding: 5px 0 5px 5px;
	color: #fff;
	text-decoration: none;
}

#editControl input[type='text'] {
	margin: 5px 5px 5px 0;
}

#editControl a:hover {
	text-decoration: underline;
}

#editControl a:focus {
	color: #ff0000;
}

#editControl a.active {
	color: #ff0000;
}

#editControl>#buffer {
	width: 50px;
	background: white;
}

#editControl>#radius {
	width: 50px;
	background: white;
}

#mapTooltip {
	display: none;
	position: absolute;
	top: 100px;
	left: 100px;
	z-index: 1000;
	padding: 0 3px 0 3px;
	border: 1px solid;
	border-color: #CCCCCC;
	background-color: white;
}

div.RegioControlMousePosition {
    top: 5px;
    right: 10px;
    display: block;
    position: absolute;
    font-family: Arial;
    font-size: smaller;
	background-color: #F9F8F0;
	padding: 0 3px 0 3px;
	margin-right: -2px;
}

.wrapper>.content>.sidebar>.tabs-content {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 100%;
	height: auto;
}

.wrapper>.content>.sidebar>.tabs-content>div {
	display: none;
	position: absolute;
	width: 100%;
	height: 100%;
}

.wrapper>.content>.sidebar>.tabs-content>div.active {
	display: block;
}

.wrapper>.content>.sidebar>.tabs-content>div>.header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: auto;
	background: #fff;
}

.wrapper>.content>.sidebar>.tabs-content>div>.header h4 {
	display: block;
	position: relative;
	margin: 0;
	padding: 10px 20px;
	background: #fff;
	font-weight: normal;
	color: #000;
}

.wrapper>.content>.sidebar>.tabs-content>div>.content {
	position: absolute;
	top: 70px;
	left: 0;
	right: 0;
	bottom: 0;
    border-top: 1px solid #cccccc;
	overflow-x: hidden;
	overflow-y: auto;
}




	/*
	transition: left 0.5s;
	-moz-transition: left 0.5s;
	-webkit-transition: left 0.5s;
	-o-transition: left 0.5s;
	background: red;
	*/
	
	
