html,body,#main {
	width: 100%; height:100%;
	/*-webkit-touch-callout: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;*/
}

@media print {

    html, body, #main  {
      height: 100vh;
      margin: 0 !important; 
      padding: 0 !important;
      overflow: hidden;
    }
	
	
	.print:last-child {
		 page-break-after: auto;
	}
	
	*,:after,:before {
        color:#000!important;
        text-shadow:none!important;
        background:0 0!important;
        -webkit-box-shadow:none!important;
        box-shadow:none!important
    }
	
	#toolbar, #baseButtons, .olControlZoom {
		display:none !important;
	}

}

.splash{
	position:fixed;
	top:0;
	left:0;
	width:100%;
	z-index: 99999;
	opacity:1;
	height:100vh;
	color:#3870a7;
	text-align:center;
	background:url(../images/otworz_sie_na_ciechanow.jpg) center center no-repeat,white;
	line-height:10vh;
}

.splash.display-none{
	position:fixed;
	top:0;
	left:0;
	width:100%;
	opacity:0;
	z-index: -100;
	height:100vh;
	background:white;
	color:#3870a7;;
	text-align:center;
	#line-height:90vh;	
	transition: all 0.5s
}

@keyframes fadeIn{
	to{
		opacity:1;
	}
}

.fade-in{
	opacity:0;
	animation: fadeIn 0.5s ease-in forwards;
}

#main {
	position: absolute;
	top: 0; left: 0;
}
.service-input {
	width:97%;
	padding: 2px 3px;
	margin: 2px 0;
	display: inline-block;
	border: 1px solid #ccc;
	border-radius: 2px;
	box-sizing: border-box;
}
.olImageLoadError {
	background-color: transparent !important;
}

body {
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    font-family: "Open Sans","Helvetica","Arial","Verdana";
    font-size: 75%;
    font-style: normal;
    font-weight: normal;
    margin: 0;
    text-decoration: none;

}

.head-text > h1 {
	display: block;
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    line-height: 0.6;
    font-weight: 600;
}

table td,th {
	font-size: 12px;
}


#header {
	background-position: left top;
    height: 70px;
    margin-right: 0;
}
.head_img {
    background-image: url("../images/logo_min.png");
    background-position: left top;
    background-repeat: no-repeat;
    height: 60px;
	width: 60px;
	margin-left: 20px;
    margin-right: 0;
	position: absolute;
}

.head-text {
    color: #3870a7;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.3);
	position: absolute;
	top: 10px;
	margin-left: 70px;
	line-height: 0.6;
}

#userinfo {
   float:right;
   width:330px;
   height:20px;
   margin-top: 0px;
   margin-right:10px;
   z-index:10;
}

input.inputuserinfocounter{
	border: 0px solid #3870a7;
	padding: 0;
	color: #3870a7;
}

div.olControlZoom a {
	background: rgba(56, 112, 167, 1);
}

div.olControlZoom a:hover{
	background: rgba(56, 112, 167, 0.8);
}
.tundra .dijitToolbar {
    border-bottom: 0px solid #ccc;
    background:#3870a7;
}

.tundra .dijitToolbar .dijitButtonChecked, .tundra .dijitToolbar .dijitToggleButtonChecked {
	background: rgba(255, 255, 255, 0.4);
	border: 1px solid #3870a7;
	padding: 0;
}

.tundra .dijitToolbar .dijitButtonCheckedHover,
.tundra .dijitToolbar .dijitToggleButtonCheckedHover
 {
	background: rgba(255, 255, 255, 0.4);
	border: 1px solid #3870a7;
	padding: 0
}

.tundra .dijitToolbar .dijitButtonHover,
.tundra .dijitToolbar .dijitToggleButtonHover,
.tundra .dijitToolbar .dijitDropDownButtonHover,
.tundra .dijitToolbar .dijitComboButton .dijitButtonContentsHover,
.tundra .dijitToolbar .dijitComboButton .dijitDownArrowButtonHover {
	/* TODO: change this from Hover to Selected so that button is still highlighted while drop down is being used */
	border: 1px solid #3870a7;
	padding: 0;	/* reduce padding to compensate for space taken by border */
	background: rgba(255, 255, 255, 0.4);
}


.tundra .dijitMenuItemIcon {
    height: 18px;
    width: 17px;
}

#toolbar {
	background-color: #fff;
	background: none;
	border-bottom:none;
	top:47px;
    display: block;
    position: absolute;
	
}

.baseButtons {
	color: #fff;
	
}

#toolbar .dijitDisabled {
 	opacity: .5;
}

#loadinggif {
   float:right;
   width:220px;
   height:20px;
   margin-top: 10px;
   margin-right:17px;
   z-index:10;
}

#mapselect {
   float:right;
   width:160px;
   height:24px;
   margin-top: 5px;
   margin-right:17px;
   z-index:10;
   background:black;
}


#menubar {
    height: 0;
    margin-top: 0;
    width: 100%;
}

#footer {
	background-repeat: repeat-x;
	border-top: solid 2px #3870a7 ; /*black;*/
	background-position: bottom;
	background-color: #fff;
}

#footer a {
	font-weight: bold;
}
#middle {
    background: none repeat scroll 0 0 rgb(255, 255, 255);
}
#map {
	background: white;
	border: none !important;
	
}

#footer_logo {
	background-repeat: no-repeat;
	padding-left: 17px;
	padding-top: 17px;
	margin: 3px;
	float: left;
	display: block;

}

#copyright {
	padding-top: .5em;
	float: left;
}

#coordinate-display {
	position: absolute;
	bottom: .5em;
	width: 400px;
	right: 60px;
	margin-right: 40px;
}

/* The Modal (background) */
.modal-left {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 999999; /* Sit on top */
  right: 0;
  top: 71px;
  bottom: 27px;
  width: 303px; /* Full width */
  overflow: hidden; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content-left {
	overflow: hidden;
	border-left:1px solid black;
	background-color: #fefefe;
	width: 100%;
	height: 100%;
}

#ifrLeg {
    border:none;
}

.responsive-iframe {
  width: 100%;
  height: 100%;
}

/* The Close Button */
.close-left {
  color: white;
  float: right;
  font-size: 14px;
  font-weight: bold;
  margin-right:5px;
}

.close-left:hover,
.close-left:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modal-header-left {
  padding: 1px;
  font-size: 14px;
  font-weight: bold;
  background-color: #3870a7;
  color: white;
  height:25px;
  line-height: 25px;
}

.modal-body-left {
	padding: 1px;
	height: calc(100% - 25px);
}
	
/*
.link_button {
    -webkit-border-radius: 4px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    border: solid 1px #3870a7;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
    background: #3870a7;
    color: #fff;
    padding: 2px 3px;
    text-decoration: none;
}*/

.link_button {
    border: solid 1px #3870a7;
    background: #3870a7;
    color: #fff;
    padding: 2px 3px;
    text-decoration: none;
}

/*
.service-button-back {
	-webkit-border-radius: 4px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    border: solid 1px #3870a7;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
    background: #3870a7;
    color: #fff;
    padding: 2px 3px;
    text-decoration: none;
}
*/

.service-button-back {
    border: solid 1px #3870a7;
    background: #3870a7;
    color: #fff;
    padding: 5px 5px;
    text-decoration: none;
}

.service-button-back:hover {
	background: rgba(56, 112, 167, 0.8);
}

.service-button-back:active {
	background: rgba(56, 112, 167, 0.5);
}

a.link_button:hover {
	background: rgba(56, 112, 167, 0.8);
}

a.link_button:active {
	background: rgba(56, 112, 167, 0.5);
}

a.link_button:visited {
    color: #fff;
}