*, *:before, *:after { 
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	box-sizing: border-box;
}


html {
	font-family: 'Roboto', sans-serif;
}

body {
	background: url("/design/top_background.png") top center no-repeat #f7f7f8;
	font-size: 20px;

	color: #343c40;
}

h1,h2,h3 {
	margin-top: 0;
	padding: 0;


	font-style: normal;
	width: 100%;
	text-align: left;
	/*border-bottom: 1px solid #e0e2e4;*/
	padding-bottom: 7px;
	font-size: 1.4em;	
}
h2 {
	font-size: 1.3em;
}

h3 {
	margin-bottom: 10px;
	font-size: 1em;
}

a {
	color: #222222;
	text-decoration: none;
}

a:hover {
	text-decoration: none;
	opacity: 0.6;
}

input, select, textarea {
	width: 100%;
	margin-top: 10px;
	display: block;
	padding: 2%;
	border: 1px solid #e0e2e4;
	border-radius: 2px;
	
	font-size: 1em;
}
textarea {
	min-height: 210px;
}

select {
	width: 100%;	
	padding: 2% 0;
}


input[type=submit], input[type=button], .btn, button{
	width: 100%;
	margin-top: 20px;
	padding: 15px;
	font-weight: bold;
	color: #FFF;
	/*background-color: #2175B4;	*/
	background-color: #f0a100;

	border:1px solid #ea8d00;
	border-radius: 2px;
	cursor: pointer;
}

.btn {
	width: 96%;	
	text-align: center;
	background-color: #f8f8f8;
	border: 1px solid #e0e2e4;	
	color: #999;

}
.btn:hover {
	border: 1px solid #ccc;
	color: #333;
}

input[type=checkbox], input[type=radio]{
	width: auto;
	display: inline-block;	
}


label {
	display: block;
	text-align: left;
}

.check-label {
	margin-top: 10px;
}

ul {
	padding: 0;
	margin: 0;	
}

li {
	list-style: none;
	margin: 10px 0;	
}

li div {
	display: inline-block;
}


/*   Modules  */

#topWrapper {
	position: absolute;	
	z-index: -1;
	left: 0;
	top: 0;
}

.contentTop {
	padding: 30px;
	/*height: 90px;*/
	/*margin-bottom: 15px;*/
	padding-bottom: 25px;
	width: 100%;

	/*border-bottom: 1px solid #eee;

	background: #fff;*/
}

.contentTop .logo {
	margin: 0 auto;


	height: 30px;	
	width: 200px;
	display: block;
	
}

/*.constrainer {
	margin: 0 auto;
	width: 700px;
}*/

.wrapper {
	margin: 50px auto;
	width: 900px;
	/*border: 1px solid #eee;*/
	border-top: none;

	background: #fff;

	height: 100%;
}

.content {
	position: relative;
	padding: 25px;
}


.content h1 {
	margin-bottom: 0;
}

.footer {
	width: 100%;
	text-align: center;
	background:	#ededf0;
	border-bottom: 2px solid #e0e2e4;
	padding: 4px 0;
}

.footer a {
	color: #666;
	text-decoration: none;	
}
.footer a:hover {
	color: #333;
}





/* Controls */

.controls_icon {
	height: auto;
	min-height: 95px;
 	width: 33%;	
	float: left;
	margin-bottom: 4%;
	list-style: none;
	line-height: 1.123em;
	overflow: hidden;
	word-wrap: break-word;
	word-break: break-word;

}

.controls_icon div {
	display: block;
}

.controls {
	overflow: hidden;
	text-align: left;	
}

.controls .fa {
	margin-bottom: 10px;
	font-size: 2em;	
}

.controls-header {
	text-align: center;
}


.sortable h3 {
	border: none;	
}

.sortable {
	margin: 0;
	padding: 0;	
	margin-top: 10px;
	overflow: hidden;
}

.sortable li{
	position: relative;
	list-style: none;
	border: 2px solid #e0e2e4;
	padding: 4px;
	margin-bottom: 4px;
}

.cover {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 2;
}

.cover .click {
	position: absolute;
	bottom: 2px;
	right: 8px;

	z-index: 3;	
}
.cover .editArea {
	position: relative;
	top: 0;
	z-index: 3;
}

.minicolors-theme-default .minicolors-input {
	height: 20px;
	width: 96%;
	display: inline-block;
	padding: 2%;
}
.minicolors-theme-default.minicolors {
	width: 100%;
}
.minicolors-theme-default .minicolors-swatch {
	top: 10%;
	left: 0;
	min-height: 88%;
}

.loginMsg{
	display: block;
	width: 100%;
	margin: 30px 0 0;
	
	font-style: italic;
	font-size: 0.8em;
	
	background-color: #e0e2e4;
	padding: 2%;
	
	color: #933;
	border: 1px solid #333;
	
	border-radius: 2px;
}
.form {
	width: 400px;
	margin: 0 auto;
}


/* 
	Form 
*/

.mapContainer{
	overflow: hidden; 
	height:500px;
	/*width: 96%; */
	margin: 0 auto;
	clear: both;
	background-color: #f8f8f8;
	border: 1px solid #e0e2e4;
	border-radius: 4px;
	padding: 2% 2%;
}

.map {
	height: 100%;
	width: 100%;
	margin: 0  auto;
}

.ui-datepicker select.ui-datepicker-month, .ui-datepicker select.ui-datepicker-year{
	display: inline-block;
	margin-right: 2%;
}

.fullForm li {
	margin: 0;
}

.fullForm > li:nth-child(even){
	background: #f9f9f9;

	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
}

.fullForm li > div {
	display: block;	
}

/*.fullForm label {
	min-width: 96%;
	display: inline-block;	
}*/

.fullForm input[type=radio] {
	min-width: 2%;
	display: inline-block;	
}

.form-selector {
	background: #eee;
	/*max-height: 175px;*/
	overflow: auto; 	
	display: inline-block;
	border: 1px solid #e0e2e4;
	border-radius: 4px;
	padding: 15px;

	text-align: center;

}

.form-selector label {
	margin-bottom: 15px;
	display: inline-block;	
}

.formTypeDescription {
	margin-bottom: 15px;
}

.dateTo, .dateFrom {
	display: inline-block; 
	vertical-align: top;
	font-size: .7em;
}

.scrollDown {
	margin-bottom: 15px;

	text-align: center;
	font-size: 20px;
}

.scrollDown-icon {
	margin-right: 10px;
	color: #0a67ad !important;
}


.archive-h2 {
	margin-top: 25px;
	margin-bottom: 0;
}

.archive-list {
	padding-top: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid #ccc;
	cursor:pointer;
}
.archive-list-element {
	padding-right: 5px;	
}
.archive-list-element i {
	
    display: inline-block;
    margin-left: 8px;
    font-size: .9em;
    color: #999;

}
.backarea {
	background: #f2f2f2;
	text-align: center;
}

.user-delete { 
	margin-top: 15px;
	color: #e80000;
}

/* Form display */
.field-table {
	margin-top: 20px;
	margin-bottom: 20px;
}

.field-row {
	position: relative;
	margin: 0;
	
	border:1px solid #919191;
	border-bottom: none;
}
.field-row:nth-child(2n) {
	background: #f9f9f9;
}
.field-row:last-child {
	border-bottom:1px solid #919191;
}
.field-col {
	padding: 15px;
	width: 50%;
	vertical-align: middle;

	font-size: 14px;
}

.field-col.col-1 {
	font-weight: bold;

	border-right: 1px solid #919191;
	margin-right: -1px;
}
.field-col.col-2{
	border-left: 1px solid #919191;
	text-align: right;
}

.field-row .tools{
	position: absolute;
	right: 0;
	top: 2%;
	display: none;
	
	font-size: 0.7em;
}

.field-col.col-2:hover + .tools, .tools:hover{
	display: block;
}

/* Edit Form */
.editForm {
	margin-bottom: 25px;
}

.editForm-row {
	padding: 15px;
	margin: 0;
	padding-top: 10px;
	padding-bottom: 10px;

	border:1px solid #919191;
	border-bottom: none;

	font-size: 25px;
}

.editForm-row:nth-child(2n) {
	background: #f9f9f9;
}

.editForm-row:last-child {
	border-bottom:1px solid #919191;
}

.editForm-header {
	font-size: 25px; 
	font-weight: bold;

	color: #fff;
	background: #2175B4;
	
}

.editForm-header .fa {
	margin-right: 15px;
	font-size: 35px;
}

.editForm-col-1 {
	width: 75%;
}

.editForm-col-2 {
	width: 20%;
	text-align: right;

	font-size: 35px;

	color: #ea0000;
}
.editForm-col-2.headercol {
	font-size: 25px;
	color: #fff;
}

.editForm-new {
	margin-top: 35px;
	margin-bottom: 20px;
	font-size: 25px;

	color: #f0a100;
}

/* Print form */
.print-link {
	float: right;
}


/* Helpers */

.lowlight {
	background: #f9f9f9;

	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
}

.text-center {
	text-align: center;
}

.shadow {
	/*box-shadow: 0 8px 17px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);*/
	box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
}

.block {
	display: block;	
}

.inBlock{
	display: inline-block;
}

.pt0 {
	padding-top: 0;
}

.alert {
	margin-left: 10px;

	color: #e80000;
	font-weight: normal;
	font-style: italic;
}

.hide-for-xlarge {
	display: none;
}

.right {
	float: right;	
}

.fullWidth {
	width: 100%;
}

.fullWidth-5 {
	width: 95%;
}

.pointer {
	cursor: pointer;
}

#controllAreaContent{
	width: 100%;	
}
.controllAreaFirst, .controllAreaFirstProv {
	width: 100%;	
}

.controllAreaFirst input[type="text"], .controllAreaFirstProv input[type="text"] {
	width: 24%;	
	padding: 6px;
    box-sizing: border-box;
	display: inline-block;
	
	margin-right: 1%;
}
.controllAreaFirst input[type="text"]:last-of-type, .controllAreaFirstProv input[type="text"]:last-of-type  {
	width: 25%;	
	margin-right: 0;
}

.emailContent {
	font-size: 12px;
	margin: 0 auto;
	min-width: 300px;	
}

.controllAreas{
	width: 100%;
    border-collapse: collapse;
	border: 1px solid #919191;	
}
.controllAreas th {
	font-weight: normal;
    text-align: center;
	border-bottom:  1px solid #919191;	
	border-right:  1px solid #919191;	
	background-color: #f2f2f2;
}
.controllAreas td {
	position: relative;
	text-align: center;
	border-bottom:  1px solid #919191;
	border-right:  1px solid #919191;		
}
.controllAreas tr:nth-child(2n) {
	background: #f9f9f9;
}
.controllAreas td:hover .tools {
	display: block;
}


.showPrint {
	display: none;	
}
.mapImage{
	min-width: 100%;	
}

/* New openlayers map */

#map {
	width: 850px;
	height: 850px;
}

.ol-popup {
	position: absolute;
	min-width: 320px;
	background-color: white;
	-webkit-filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
	filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
	padding: 15px;
	border-radius: 10px;
	border: 1px solid #ccc;
	bottom: 3px;
	left: -50px;
}

.ol-popup:after, .ol-popup:before {
	top: 100%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

.ol-popup:after {
	border-top-color: white;
	border-width: 10px;
	left: 48px;
	margin-left: -10px;
}

.ol-popup:before {
	border-top-color: #cccccc;
	border-width: 11px;
	left: 48px;
	margin-left: -11px;
}

.ol-popup-closer {
	text-decoration: none;
	position: absolute;
	top: 2px;
	right: 8px;
}

.ol-popup-closer:after {
	content: "✖";
}

@media all and (max-width: 1200px) {
	/*.constrainer {*/
	.wrapper {
		margin: 0;
		width: 100%;
	}

	/*.controls_icon {
		width: 50%;
	}*/

	.hide-for-xlarge {
		display: block;
	}
	
	.dateTo, .dateFrom {
		margin-bottom: 25px;
		margin-right: 15px;
	}
	/*.dateTo > div, .dateFrom > div {
	width: 100%;
	}*/
	
	.controllAreaFirst input[type="text"], .controllAreaFirst input[type="text"]:last-of-type,
	.controllAreaFirstProv input[type="text"], .controllAreaFirstProv input[type="text"]:last-of-type {
		width: 50%;
		margin-right: 0;
	}
	.controllAreaFirst input[type="text"]:nth-child(odd), .controllAreaFirstProv input[type="text"]:nth-child(odd)  {
		width: 49%;	
		margin-right: 1%;
	}
}

@media all and (max-width: 630px) {
	.controls_icon {
		width: 50%;
	}

	.form {
		width: 100%;
	}

	.content {
		padding: 15px;
	}

	.sortable li {
		padding-bottom: 30px;
	}

	.cover .click {
		font-size: 30px;
	}

	.editForm-header .fa {
		display: none;
	}

	.fancybox-inner img {
		width: 100%;
	}
	
	.controllAreaFirst input[type="text"], .controllAreaFirst input[type="text"]:nth-child(odd), .controllAreaFirst input[type="text"]:last-of-type,
	.controllAreaFirstProv input[type="text"], .controllAreaFirstProv input[type="text"]:nth-child(odd), .controllAreaFirstProv input[type="text"]:last-of-type{
		width: 100%;	
		margin-right: 0;
	}

}



@media all and (max-width: 480px) {
	.check-label {
		width: 100%;
	}


	.dateTo, .dateFrom {
		width: 100%;
		margin-bottom: 20px;
	}
	.dateTo > div, .dateFrom > div {
		width: 100%;
	}

	.form-selector {
		width: 100%;
	}

	.editForm-header,
	.editForm-col-2.headercol,
	.editForm-row {
		font-size: 18px;
	}

}
@media print {
	.hidePrint {
		display: none;	
	}
	.showPrint {
		display: block;	
		width: 100%;
		
	}
	.showPrint img{
		margin: 0 auto;		
	}
	.shadow {
		box-shadow: none;	
	}
}


@page {
    size: auto;   /* auto is the initial value */
    margin: 0;  /* this affects the margin in the printer settings */
}

