/* CSS Document */
body {
  font-family: "Droid Sans", Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: #555;
  background: #fff;
}

#prihlaseni {
  width: 220px;
  height: 120px;
  color: green;
  background-color: #ccf0f0;
  border: 3px solid green;
  padding: 10px;
  position:absolute; /*it can be fixed too*/
  left:0; right:0;
  top:0; bottom:0;
  margin:auto;
}

#kod {
  width: 220px;
  height: 160px;
  color: green;
  background-color: #ccf0f0;
  border: 3px solid green;
  padding: 10px;
  position:absolute; /*it can be fixed too*/
  left:0; right:0;
  top:0; bottom:0;
  margin:auto;
}

#login_error{
  width: 300px;
  height: 30px;
  color: red;
  padding: 10px;
  position:absolute; /*it can be fixed too*/
  left:0; right:0;
  top:200; bottom:0;
  margin:auto;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
}

#hlavicka {
  position:absolute; /*it can be fixed too*/
  left:0;
  right:0;
  top:0;
  margin:auto;
  overflow-x: hidden;
  width: 99%;
  height: 40px;
  font-weight: 600;
  background-color: #0099cc;
  border: 4px solid #3b5998;
  color: #fff;
  padding: 10px 0px 0px 10px; 
  z-index: 101;
}

#hlavicka a {
  color: #FFFF00;
}

#nabidka {
  position: absolute;
  left:0; right:0;
  top:0; bottom:0;
  margin:auto;
  width: 250px;
  height: 100px;
  font-size: 18px;
  font-weight: 400;
  color: #fff;
  border: 4px solid #3b5998;
  padding: 10px 0px 0px 10px;
  top: 60px;
  text-align: center;
}

#nabidka a {
  color: #3b5998;
}

#nabidka a:hover {
  color: #cc0000;
}

#stavby {
  position: absolute;
  top: 70px;
  width: 99%;
  color: #FFFF00;
  z-index: 100;

}

#stavby nahled {
  height: 400px;
  color: #FFFF00;
}

#stavba_detail {
  position: absolute;
  top: 60px;
  width: 98%;
  color: #FFFF00;
}

#dalsi_obrazky {
  display: none;
}

#dalsi_obrazky:target {
  display: block;
}

#soubory{
  position: absolute;
  left:0; right:0;
  top:50px; bottom:0;
  margin:auto;
  width: 600px;
  height: 520px;
  font-size: 16px;
  font-weight: 400;
  color: #000;
  border: 4px solid #3b5998;
  padding: 10px 0px 0px 10px;
  text-align: center;
}

html {
    margin-left: calc(100vw - 100%);
}

.login_tabulka td {
  width: 100%;
//  border: 1px solid #3b5998;
}

.login_tabulka td {
  font-size: 18px;
  font-weight: 400;
  padding: 7px;
}

a {
  color: #3b5998;
  -webkit-transition: 0.2s;
  -o-transition: 0.2s;
  transition: 0.2s;
  text-decoration: none;
}

a:hover, a:active, a:focus {
  color: #cc0000;
  outline: none;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

p {
  margin-bottom: 10px;
}

h1, h2, h3, h4, h5, figure {
  color: rgb(153,51,204);
  font-family: "Droid Sans", Arial, sans-serif;
  font-weight: 400;
  margin: 5px 0 10px 0;
}

:valid {
  color: black
}

:invalid {
  color: red
}

::-webkit-input-placeholder {     /* chrom family */
  color: rgb(178,178,178)
}

:-moz-placeholder {               /* mozilla old family */
  color: rgb(178,178,178)
  opacity: 1;
}

::-moz-placeholder {              /* mozilla new family */
  color: rgb(178,178,178)
  opacity: 1;
}

:-ms-input-placeholder {          /* microsoft family */
  color: rgb(178,178,178)
}

.stavba  {
  float:left;
  width: 350px;
  height: 380px;
  font-size: 14px;
  font-weight: 400;
  color: #000;
  padding: 10px;
  border: 1px solid white;
}
.stavba:hover { 
  background-color: #d6f0fd; 
}

.stavba img {
  max-width: 350px;
  max-height: 200px;
}

.stavba .nahled {
  position: relative;
  height: 280px;
  margin: auto;
  bottom:0;
  text-align: center;
}

.stavba .popis_edit {
  position: relative;
  height: 80px;
  margin: auto;
  bottom:0;
  text-align: center;
}

.stavba .popis_edit a {
  font-size: 18px;
  font-weight: 400;
}

.stavba .popis_edit .popis_edit_titulek, .popis_edit_cislo {
  color: #cc0000;
}

.stavba_info {
  position: relative;
  height: 410px;
  margin: 0 auto;
  text-align: center;
  font-size: 18px;
  font-weight: 400;
  color: #cc0000;
  padding: 3px;
}

.uloz_zpet {
  position: relative;
  height: 30px;
  margin: 0 auto;
  text-align: center;
  font-size: 18px;
  font-weight: 400;
  color: #cc0000;
  padding: 20px;
}

.prace, .poradi {
  display: flex;
  width: 760px;
  margin: 0 auto;
  text-align: right;
  padding: 0 5px 0 0;
}

.sloupec1 {
  flex: 1;
}

.sloupec2 {
  flex: 8;
}

.sloupec3 {
  flex: 1;
}

.stavba_info input, textarea, .obrazek_info .popis_edit input {
  font-family: "Droid Sans", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  padding: 7px;
  margin: 5px;
  border: 2px solid #3b5998;
  border-radius: 4px;
  background-color: #f8f8f8;
  resize: none;
}

.obrazky, .obrazky_zbytek {
  position: relative;
  height: 400px;
  margin: 5px;
  text-align: center;
  font-size: 18px;
  font-weight: 400;
  color: #cc0000;
  padding: 7px;
}

.ostatni {
//  display: hidden;
  background-color: #f8f8f8;
  border: 2px solid #CFCFCF;  
}

.obrazek_info{
  float:left;
  width: 350px;
  height: 400px;
  font-size: 16px;
  font-weight: 400;
  color: #cc0000;
  padding: 7px;
}

.obrazek_info img {
  max-width: 280px;
  max-height: 180px;
}

.obrazek_info .nahled {
  position: relative;
  height: 200px;
  margin: auto;
  bottom:0;
  text-align: center;
}

.obrazek_info .popis_edit {
  position: relative;
  height: 200px;
  margin: auto;
  bottom:0;
  text-align: center;
}

.obrazek_info b {
  color: rgb(0,51,255);
}

.obrazek_info .red b {
  color: rgb(0,204,0);
}

.zprava {
  width: 230px;
  height: 90px;
  font-family: "Droid Sans", Arial, sans-serif;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  color: red;
  background-color: yellow;
  border: 3px solid #2d6898;
  padding: 10px;
  position:absolute; /*it can be fixed too*/
  left:0; right:0;
  top:0; bottom:0;
  margin:auto;
  z-index: 1001;
}

.soubory_vypis {
  overflow: auto;
  overflow: -moz-scrollbars-vertical;
  overflow: "visible";
  overflow-x: auto; 
}

.button_blue {
	display: inline-block;
	text-decoration: none;
	color: #fff;
	background-color: #538fbe;
	padding: 2px 7px;
	font-size: 16px;
	border: 1px solid #2d6898;
	background-image: linear-gradient(bottom, rgb(73,132,180) 0%, rgb(97,155,203) 100%);
	background-image: -o-linear-gradient(bottom, rgb(73,132,180) 0%, rgb(97,155,203) 100%);
	background-image: -moz-linear-gradient(bottom, rgb(73,132,180) 0%, rgb(97,155,203) 100%);
	background-image: -webkit-linear-gradient(bottom, rgb(73,132,180) 0%, rgb(97,155,203) 100%);
	background-image: -ms-linear-gradient(bottom, rgb(73,132,180) 0%, rgb(97,155,203) 100%);
	
	background-image: -webkit-gradient(
		linear,
		left bottom,
		left top,
		color-stop(0, rgb(73,132,180)),
		color-stop(1, rgb(97,155,203))
	);
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	text-shadow: 0px -1px 0px rgba(0,0,0,.5);
	-webkit-box-shadow: 0px 6px 0px #2b638f, 0px 3px 15px rgba(0,0,0,.4), inset 0px 1px 0px rgba(255,255,255,.3), inset 0px 0px 3px rgba(255,255,255,.5);
	-moz-box-shadow: 0px 6px 0px #2b638f, 0px 3px 15px rgba(0,0,0,.4), inset 0px 1px 0px rgba(255,255,255,.3), inset 0px 0px 3px rgba(255,255,255,.5);
	box-shadow: 0px 6px 0px #2b638f, 0px 3px 15px rgba(0,0,0,.4), inset 0px 1px 0px rgba(255,255,255,.3), inset 0px 0px 3px rgba(255,255,255,.5);
	-webkit-transition: all .1s ease-in-out;
	-moz-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
	-webkit-transform: rotateX(20deg);
}

.button_blue:hover {
	background-image: linear-gradient(bottom, rgb(79,142,191) 0%, rgb(102,166,214) 100%);
	background-image: -o-linear-gradient(bottom, rgb(79,142,191) 0%, rgb(102,166,214) 100%);
	background-image: -moz-linear-gradient(bottom, rgb(79,142,191) 0%, rgb(102,166,214) 100%);
	background-image: -webkit-linear-gradient(bottom, rgb(79,142,191) 0%, rgb(102,166,214) 100%);
	background-image: -ms-linear-gradient(bottom, rgb(79,142,191) 0%, rgb(102,166,214) 100%);
	
	background-image: -webkit-gradient(
		linear,
		left bottom,
		left top,
		color-stop(0, rgb(79,142,191)),
		color-stop(1, rgb(102,166,214))
	);
cursor: pointer;
}

.button_blue:active {
-webkit-box-shadow: 0px 2px 0px #2b638f, 0px 1px 6px rgba(0,0,0,.4), inset 0px 1px 0px rgba(255,255,255,.3), inset 0px 0px 3px rgba(255,255,255,.5);
-moz-box-shadow: 0px 2px 0px #2b638f, 0px 1px 6px rgba(0,0,0,.4), inset 0px 1px 0px rgba(255,255,255,.3), inset 0px 0px 3px rgba(255,255,255,.5);
box-shadow: 0px 2px 0px #2b638f, 0px 1px 6px rgba(0,0,0,.4), inset 0px 1px 0px rgba(255,255,255,.3), inset 0px 0px 3px rgba(255,255,255,.5);
	background-image: linear-gradient(bottom, rgb(88,154,204) 0%, rgb(90,150,199) 100%);
	background-image: -o-linear-gradient(bottom, rgb(88,154,204) 0%, rgb(90,150,199) 100%);
	background-image: -moz-linear-gradient(bottom, rgb(88,154,204) 0%, rgb(90,150,199) 100%);
	background-image: -webkit-linear-gradient(bottom, rgb(88,154,204) 0%, rgb(90,150,199) 100%);
	background-image: -ms-linear-gradient(bottom, rgb(88,154,204) 0%, rgb(90,150,199) 100%);
	
	background-image: -webkit-gradient(
		linear,
		left bottom,
		left top,
		color-stop(0, rgb(88,154,204)),
		color-stop(1, rgb(90,150,199))
	);
    -webkit-transform: translate(0, 4px) rotateX(20deg);  
    -moz-transform: translate(0, 4px);  
    transform: translate(0, 4px);  
}

.button_red {
	display: inline-block;
	text-decoration: none;
	color: #fff;
	background-color: #F03C00;
	padding: 2px 7px;
	font-size: 16px;
	border: 1px solid #A50000;
	background-image: linear-gradient(bottom, rgb(210,0,0) 0%, rgb(248,66,0) 100%);
	background-image: -o-linear-gradient(bottom, rgb(210,0,0) 0%, rgb(248,66,0) 100%);
	background-image: -moz-linear-gradient(bottom, rgb(210,0,0) 0%, rgb(248,66,0) 100%);
	background-image: -webkit-linear-gradient(bottom, rgb(210,0,0) 0%, rgb(248,66,0) 100%);
	background-image: -ms-linear-gradient(bottom, rgb(210,0,0) 0%, rgb(248,66,0) 100%);
	
	background-image: -webkit-gradient(
		linear,
		left bottom,
		left top,
		color-stop(0, rgb(210,0,0)),
		color-stop(1, rgb(248,66,0))
	);
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	text-shadow: 0px -1px 0px rgba(0,0,0,.5);
	-webkit-box-shadow: 0px 6px 0px #A50000, 0px 3px 15px rgba(0,0,0,.4), inset 0px 1px 0px rgba(255,255,255,.3), inset 0px 0px 3px rgba(255,255,255,.5);
	-moz-box-shadow: 0px 6px 0px #A50000, 0px 3px 15px rgba(0,0,0,.4), inset 0px 1px 0px rgba(255,255,255,.3), inset 0px 0px 3px rgba(255,255,255,.5);
	box-shadow: 0px 6px 0px #A50000, 0px 3px 15px rgba(0,0,0,.4), inset 0px 1px 0px rgba(255,255,255,.3), inset 0px 0px 3px rgba(255,255,255,.5);
	-webkit-transition: all .1s ease-in-out;
	-moz-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
	-webkit-transform: rotateX(20deg);
}

.button_red:hover {
	background-image: linear-gradient(bottom, rgb(255,140,122) 0%, rgb(255,140,122) 100%);
	background-image: -o-linear-gradient(bottom, rgb(255,140,122) 0%, rgb(255,140,122) 100%);
	background-image: -moz-linear-gradient(bottom, rgb(255,140,122) 0%, rgb(255,140,122) 100%);
	background-image: -webkit-linear-gradient(bottom, rgb(255,140,122) 0%, rgb(255,140,122) 100%);
	background-image: -ms-linear-gradient(bottom, rgb(255,140,122) 0%, rgb(255,140,122) 100%);
	
	background-image: -webkit-gradient(
		linear,
		left bottom,
		left top,
		color-stop(0, rgb(248,66,0)),
		color-stop(1, rgb(248,92,0))
	);
cursor: pointer;
}

.button_red:active {
-webkit-box-shadow: 0px 2px 0px #2b638f, 0px 1px 6px rgba(0,0,0,.4), inset 0px 1px 0px rgba(255,255,255,.3), inset 0px 0px 3px rgba(255,255,255,.5);
-moz-box-shadow: 0px 2px 0px #2b638f, 0px 1px 6px rgba(0,0,0,.4), inset 0px 1px 0px rgba(255,255,255,.3), inset 0px 0px 3px rgba(255,255,255,.5);
box-shadow: 0px 2px 0px #2b638f, 0px 1px 6px rgba(0,0,0,.4), inset 0px 1px 0px rgba(255,255,255,.3), inset 0px 0px 3px rgba(255,255,255,.5);
	background-image: linear-gradient(bottom, rgb(255,140,122) 0%, rgb(255,140,122) 100%);
	background-image: -o-linear-gradient(bottom, rgb(255,140,122) 0%, rgb(255,140,122) 100%);
	background-image: -moz-linear-gradient(bottom, rgb(255,140,122) 0%, rgb(255,140,122) 100%);
	background-image: -webkit-linear-gradient(bottom, rgb(255,140,122) 0%, rgb(255,140,122) 100%);
	background-image: -ms-linear-gradient(bottom, rgb(255,140,122) 0%, rgb(255,140,122) 100%);
	
	background-image: -webkit-gradient(
		linear,
		left bottom,
		left top,
		color-stop(0, rgb(248,66,0)),
		color-stop(1, rgb(248,92,0))
	);
    -webkit-transform: translate(0, 4px) rotateX(20deg);  
    -moz-transform: translate(0, 4px);  
    transform: translate(0, 4px);  
}

 /* Customize the label (the container) */
.container {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 18px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox and radio button */
.container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark, .checkmark_radio {
  position: absolute;
  margin-left: 10px;
  height: 25px;
  width: 25px;
  background-color: #B2E6FF;
}

/* Create a custom radio button */
.checkmark_radio {
  border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark, .container:hover input ~ .checkmark_radio {
  background-color: #2196F3;
}

/* When the checkbox or the radio button is checked, add a blue background */
.container input:checked ~ .checkmark, .container input:checked ~ .checkmark_radio {
  background-color: #2196F3;
}

/* Create the indicator (checkmark/the dot/circle hidden when not checked) */
.checkmark:after, .checkmark_radio:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark/the dot/circle when checked */
.container input:checked ~ .checkmark:after, .container input:checked ~ .checkmark_radio:after {
  display: block;
}

/* Style the checkmark/the dot/circle indicator */
.container .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.container .checkmark_radio:after {
  top: 9px;
  left: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
}  

.zavoj {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-color: #000000 !important;
  opacity: 0.6 !important;
  transition: all 0.5s !important;
  z-index: 1000 !important;
}
