#header {
  background-color: white;
  height: 3em;
  z-index: 90;
  box-shadow: 0px 2px 2px 0px rgba(209, 209, 209, 1);
}

#header_top_line {
  margin: auto;
  max-width: 64em;
}

#logo {
  float: left;
}

#logo img {
  height: 100%;
  display: block;
  padding: 5px 0;
  height: 2.4em;
}

#banner_box {
  float: left;
  height: 100%;
  padding-top: 0.6em;
  position: relative;
}

#login_box {
  float: right;
  height: 100%;
  padding-top: 0.8em;
  position: relative;
}

#login_box span {
  text-decoration: none;
  cursor: pointer;
}

#login_box span:hover {
  text-decoration: underline;
}

#login_box_hide {
  display: none;
  position: absolute;
  top: 0;
  background-color: white;
  z-index: 50;
  
  width: 200px;
  height: 400px;
  
}

#register_box_hide {
  display: none;
  position: absolute;
  top: 0;
  background-color: white;
  z-index: 50;
  width: 200px;
  height: 400px;
}


#header_top {
  width: 100%;
  height: 30em;
  position: relative;
  /*background: transparent url("../image/bg_top.jpg") no-repeat center center;*/
}

#mobileMenuIcon, #mobileSearchIcon {
	display: none;
}

#mobileMenuWrap {
	position: relative;
	display:none;
}

@media screen and (max-width: 950px){
	#banner_box.banner_box_login {
		display:none;
	}
}

@media screen and (max-width: 768px){
	
	
	#mobileMenuWrap {
		display:block;
	}
	
	#header_top, #login_box, #fb_obal, #banner_box {
		display: none;
	}
	
	#mobileMenuIcon, #mobileSearchIcon {
		cursor: pointer;
		display: inline-block;
	}
	
	#mobileMenuIcon.active, #mobileSearchIcon.active {
		background: #32859c;
	}
		
	#mobileMenuIcon img, #mobileSearchIcon img {
		width: 2em;
		height: 2em;
		padding: 5px;
	}
		
	#mobileMenuIcon {
		float: left;
	}
	
	#mobileSearchIcon {
		float: right;
	}
}

#mobileMenu, #mobileSearch {
	display:none;
	position: absolute;
	left:0px;
	width: 100%;
	background: white;
	z-index: 10000;
}

#mobileSearch {
	border-bottom: solid #3fabca 1px;
}

#mobileMenu a {
	display:block;
	padding: 10px;
	text-decoration:none;
	border-bottom: solid #3fabca 1px;
}

#mobileMenu a:hover {
	background: #3fabca;
	text-decoration:underline;
}

#hledej_box_obal {
  height: 100%;
  position: relative;
  text-align:center;
}

#motto {
  font-size: 220%;
  line-height: 150%;
  color: white;
  text-shadow: 0px 2px 1px black;
  text-align: center;
  /*font-family: Times New Roman, serif;*/
  position: relative;
  top: 2em;
}

#motto .zluta {
  color: #ffd24b;
}

#hledej_box {
	display: inline-block;
  margin: auto;
  position: relative;
  /*left: 50%;*/
  top: 11em;
  /*margin-left: -8.75em;
  margin-top: -1em;*/
}

#hledej_obal {
  border: 1px solid #a9a9a9;
  border-style: solid;
  border-width: 1px;
  border-color: #a9a9a9 #d1a110 #a9a9a9 #a9a9a9;
  padding: 0 0.3em 0 0.8em;
  float: left;
  height: 2em;
  border-radius: 0.9em 0 0 0.9em;
  box-shadow: 0px 0px 2px #a9a9a9 inset; 
  overflow: hidden;
  background-color: white;
}

#hledej_in {
  width: 15.5em;
  line-height: 1.5em;
  height: 75%;
  display: inline-block;
  border: none;
  /*font-style: italic;*/
  color: #363636;
  margin: 0.3em 0;
}

#hledej_in_mobile_wrap {
	padding: 20px;
}

#hledej_in_mobile {
	padding: 5px;
	font-size: 120%;
	width: 100%;
	box-sizing: border-box;
	display:block;
}

#hledej_button {
  width: 2.5em;
  height: 2em;
  display: inline-block;
  cursor: pointer;
  border: 1px solid #a9a9a9;
  border-style: solid;
  border-width: 1px;
  border-color: #a9a9a9 #a9a9a9 #a9a9a9 #d1a110;
  float: left;
  border-radius: 0 0.9em 0.9em 0;
  background-image: url("../image/tlacitko_lupa.png"), linear-gradient(#f5c943, #e8b20e);
  background-repeat: no-repeat;
  background-position: center;
  box-shadow: 0px 0px 2px #a9a9a9 inset; 
}

#hledej_button:hover {
  background-image: url("../image/tlacitko_lupa.png"), linear-gradient(#e8b20e, #f5c943);
}

#vysledek_hledani_wrap {
  position: absolute;
  top: 17em;
  width: 100%;
  background: transparent;
}

.vysledek_hledani {
  background-color: white;
  display: none;
  text-align:left;
}

.vysledek_hledani a {
	display:block;
}

#vysledek_hledani {
	position: relative;
  max-width: 64em;
  margin: auto;
  border: 1px solid #d1d1d1;
  border-radius: 0.3em;
  background-color: white;
  z-index: 10; 
}

  
.vysledek_hledani .hledej_zobak {
  background-image: url("../image/hledani_zobak.png");
  height: 9px;
  width: 16px;
  position: absolute;
  top: -9px;
  left: 59%;
}

#vysledek_hledani_mobile .hledej_zobak {
	left: 50%;
	margin-left:-8px;
}

.vysledek_hledani .hledej_zavri {
  background-image: url("../image/zavri_tlacitko.png");
  height: 26px;
  width: 26px;
  position: absolute;
  top: -13px;
  right: -13px;
  cursor: pointer;
}

#vysledek_hledani_mobile .hledej_zavri {
	display:none;
}

.vysledek_hledani .vysledek_box .hledej_nazev {
  color: #363636;
}

.vysledek_hledani .vysledek_box .hledej_rozloha, 
.vysledek_hledani .vysledek_box .hledej_pocet_obyvatel, 
.vysledek_hledani .vysledek_box .hledej_hlavni_mesto, 
.vysledek_hledani .vysledek_box .hledej_jmeno { 
  padding-top: 0.3em;
}

.vysledek_hledani .vysledek_box .hledej_datum {
  padding-top: 0.3em;
}

.vysledek_hledani .vysledek_box .hledej_text {
  display: table-cell;
  color: #696969;
}

.vysledek_hledani .vysledek_box {
  float: left;
  width: 33.3%;
  height: 5em;
  cursor: pointer;
}

#vysledek_hledani_mobile .vysledek_box {
	float: none;
	width: 100%;
	height: auto;
}

.vysledek_hledani .vysledek_box:hover {
  background-color: #fec824;
}

.vysledek_hledani .vysledek_box_in {
  /*padding: 0.3em;*/
  padding: 0.8em;
  font-size: 80%;
}

.vysledek_hledani .vysledek_box_in .obrazek {
  float: left;
  padding-right: 0.8em;
  display: table-cell;
  height: 4.6em;
}

.vysledek_hledani .vysledek_box_in .obrazek img {
  width: 6.25em;
  border-radius: 0.3em;
}

.vysledek_hledani .linka {
  width: 100%;
  border-bottom: 1px solid #c9c9c9;
}

#vysledek_hledani_mobile .linka {
	display:none;
}

.dalsi_vysledky {
  width: 100%;
  height: 2.7em;
  background-color: #fec824;
  border-radius: 0 0 0.3em 0.3em;
  cursor: pointer;
}

.dalsi_vysledky div {
  text-align: center;
  line-height: 2.7em;
}

#bg_lvl_2 {
	display: none;
	position: fixed;
	top: 0%;
	left: 0%;
	width: 100%;
	height: 100%;
	background-color: black;
	z-index: 1101;
	-webkit-opacity: 0.6;
	-moz-opacity: 0.6;
	opacity:.60;
	filter: alpha(opacity=60);
}

#bg_lvl_1 {
	display: none;
	position: fixed;
	top: 0%;
	left: 0%;
	width: 100%;
	height: 100%;
	background-color: black;
	z-index: 1000;
	-webkit-opacity: 0.6;
	-moz-opacity: 0.6;
	opacity:.60;
	filter: alpha(opacity=60);
}

#login_seting_box, 
#register_seting_box {
  /*width: 12.500em;*/
  z-index: 10001;
  background-color: white;
  position: absolute;
  top: 0;
  left: 0;
  display: none;
  border: 1px solid #d1d1d1;
  border-radius: 0.3em;
  box-shadow: 0px 1px 2px #a9a9a9;
}

#login_seting_box {
  width: 11.8em;
}

#login_seting_box .login_zobak {
  background-image: url("../image/hledani_zobak.png");
  height: 9px;
  width: 16px;
  position: absolute;
  top: -9px;
  left: 60%;
}

#register_seting_box .registrace_zobak {
  background-image: url("../image/hledani_zobak.png");
  height: 9px;
  width: 16px;
  position: absolute;
  top: -9px;
  left: 85%;
}

#register_seting_box .registrace_radek,
#login_seting_box .login_radek {
  margin: 0.5em 0;
  position: relative;
}

#register_seting_box .registrace_radek .input_obal,
#register_seting_box .registrace_radek .select2-container,
#login_seting_box .login_radek .input_obal {
  float: left;
  display: table-cell;
  width: 48%;
  font-size: 100%;
  /*font-style: italic*/
}

#register_seting_box .registrace_radek .checkbox_obal, 
#login_seting_box .login_radek .checkbox_obal {
  float: left;
  display: table-cell;
  width: 1.5em;
  height: 1.5em;
  cursor: pointer;
  border: 1px solid #d1d1d1;
  border-radius: 0.3em;
  padding: 0.3em;
  -webkit-box-sizing:border-box;
  -moz-box-sizing:border-box;
  box-sizing: border-box;
}

.login_radek input[type="checkbox"] {
  display: none;
}

.registrace_radek input[type="checkbox"] {
  display: none;
}

.agree_rules {
  color: #353535;
  border: medium none;
  /*font-style: italic;*/
  line-height: 1.5em;
  margin-left: 1em;
}

.registrace_radek input[type=checkbox]:checked + label {
  background: transparent url("../image/check_green.png") no-repeat center center;
}

.login_radek input[type=checkbox]:checked + label {
  background: transparent url("../image/check_green.png") no-repeat center center;
}

#login_seting_box .login_radek .input_obal {
  width: 100%;
}

#register_seting_box .registrace_radek .input_obal:nth-child(2),
#register_seting_box .registrace_radek .select2-container:nth-child(2),
#login_seting_box .login_radek .input_obal:nth-child(2) {
  float: right;
}

.registrace_radek .nebo,
.login_radek .nebo {
  line-height: 2em;
  width: 100%;
  text-align: center;
}

.registrace_radek .nebo span,
.login_radek .nebo span {
  padding: 0.5em;
  background-color: white;
  position: relative;
  z-index: 1;
}

.registrace_radek .nebo:before,
.login_radek .nebo:before {
   border-top: 1px solid rgb(203, 203, 203);
  content: "";
  display: block;
  height: 1px;
  position: absolute;
  top: 50%;
  width: 100%;
  z-index: 1;
}

#register_seting_box {
  /*width: 13.250em;*/
}

#s2id_register_pohlavi,
#s2id_register_mesic {
  float: left !important;
}

#s2id_register_den,
#s2id_register_rok {
  float: right !important;
}

#login_seting_box_in,
#register_seting_box_in {
  padding: 0.313em;
  position: relative;
}

.input_box {
  height: 1.5em;
  line-height: 1.5em;
  border: 1px solid #aaa;
  position: relative;
  box-sizing: border-box;
}

.input_obal {
  width: 100%;
  border: 1px solid #d1d1d1;
  border-radius: 0.3em;
  padding: 0.3em;
  -webkit-box-sizing:border-box;
  -moz-box-sizing:border-box;
  box-sizing: border-box;
}

.zustat_prihlasen,
.zapomel_heslo {
  line-height: 1.5em;
  height: 1.5em;
  color: #343434;
}

.zustat_prihlasen label {
  cursor: pointer;
}

.zapomel_heslo {
  font-size: 70%;
  cursor: pointer;
}

.zapomel_heslo:hover {
  text-decoration: underline;
}

.zustat_prihlasen input {
  vertical-align: middle;
  cursor: pointer;
}

#register_seting_box .tlacitko {
  width: 48%;
  float: right;
}

#header .tlacitko {
  background-color: #fec824;
  cursor: pointer;
  border: none;
  box-shadow: 0px 2px 0px #b78d0c;
}

#header .tlacitko input{
  background-color: #fec824;
  cursor: pointer;
  color: #353535;
}


#login_email,
#login_password,
#login_submit,
#register_jmeno,
#register_prijmeni,
#register_nick,
#register_email,
#register_heslo,
#register_heslo_,
#register_pohlavi,
#register_submit,
#datum_narozeni {
  width: 100%;
  min-width: 10em;
  border: none;
  /*font-style: italic;*/
}

.registrace_radek #kal_datum_narozeni {
  top: 2.5em;
}

#register_seting_box_in_wait {
  background-color: white;
  opacity: 0.5;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 500;
  display: none;
}

#fb_login_obal {
  display: none;
}

#alert_box {
	width: 15.625em;
	border: 1px solid #aaa;
	z-index: 1101; 
	position: fixed;
	top: 50%;
	left: 50%;
	margin-left: -9.375em;
	margin-top: -3.125em;
	background-color: white;
	display: none;
}

#alert_box_in{
	padding: 0.313em;
}

#alert_box_nadpis {
	background-color: gray; 
	color: white;
}

#alert_box_nadpis_text {
	line-height: 1.875em; 
	font-weight: bold; 
	float: left; 
	height: 1.875em; 
	text-align: left; 
	padding: 0 0.313em; 
	width: 12.500em; 
	overflow: hidden; 
	white-space: nowrap
}

.alert_box_krizek {
	display: block; 
	z-index: 50; 
	opacity: 1; 
	padding: 0px; 
	margin: 0.313em;
}

#alert_box_text {
	text-align: justify;
	font-size: 80%;
}

#alert_box_tlacitka {
	margin-top: 0.313em;
}

#profil {
	/*opacity: 0.6;*/
	position: relative;
	top: -0.6em;
	right: 0;
	float: right;
	height: 1.875em; 
	/*width: 1.875em;*/
	/*transition: all .3s ease-in-out;*/
  margin-right: 1em;
}

.odhlaseni {
  float: right;
  margin-top: 0.1em;
}

#mapa_edit {
	position: relative;
	top: -0.2em;
	right: 0;
	float: right;
	height: 1.875em; 
	transition: all .3s ease-in-out;
}

#mapa_edit div, #banner_box div{
  padding: 0.3em 1em;
  border-radius: 0.5em;
}


#banner_box a {
  text-decoration: none;
}

.tlacitko_banner {
	
}

#mapa_edit:hover {
	opacity: 1;
}

#profil img,
#mapa_edit img {
	height: 1.875em; 
	float: right; 
	margin-top: 0.4em; 
	cursor: pointer;
}

#profil_menu {
	display: none;
	position: absolute;
	top: 2.5em;
	right: 0.188em;
	z-index: 50;
	background-color: white;
	text-align: left;
  border: 1px solid #d1d1d1;
  border-radius: 0.3em;
  box-shadow: 0px 1px 2px #a9a9a9;
  width: 15em;
  padding: 0.313em;
}

#profil_menu .delete_ikona,
#mapa_edit_menu .delete_ikona {
	position: absolute; 
	top: 0.313em; 
	right: 0.313em;
}

#profil_obrazek {
	/*margin: 0.313em; */
	border: 1px solid #353535; 
	/*width: 3.125em; */
	float: left;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  cursor: pointer;
}

#profil_obrazek img {
	float: left;
  width: 50px;
  height: 50px;
}

#profil_info {
	float: left; 
  margin-left: 1em;
	/*padding: 0.313em; */
	font-size: 90%;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

#mapa_edit_menu {
	display: none;
	position: absolute;
	top: 2.5em;
	right: 2.000em;
	z-index: 50;
	background-color: white;
	text-align: left;
	border: 1px solid #d1d1d1;
  border-radius: 0.3em;
  box-shadow: 0px 1px 2px #a9a9a9;
  width: 15em;
}

.mapa_edit_menu_box a{
	color: #353535; 
	text-decoration: none;
}

.mapa_edit_menu_box a:hover{
	text-decoration: underline;
}

.mapa_edit_menu_box div{
	padding: 0.313em 0.313em 0px 0.313em; 
	font-size: 90%;
}

.mapa_edit_menu_box div:hover {
	text-decoration: underline;
	cursor: pointer;
}

.hledej_rozloha sup {
  vertical-align: top; 
  position: relative; 
  top: -0.5em;
}

#edit_profil_foto_background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 90;
  display: none;
  background-color: black;
  opacity: 0.5;
}

#edit_profil_foto {
  position: absolute;
  top: 10%;
  left: 50%;
  width: 64em;
  margin-left: -32em;
  z-index: 101;
  display: none;
  opacity: 0;
  background-color: white;
  border-radius: 0.3em;
  padding: 0.5em;
  -webkit-box-sizing:border-box;
  -moz-box-sizing:border-box;
  box-sizing: border-box;
}

#edit_profil_foto .zavri_tlacitko {
  position: absolute;
  top: -13px;
  right: -13px;
  height: 26px;
  width: 26px;
  background-image: url("../image/zavri_tlacitko.png");
  cursor: pointer;
  z-index: 100;
}

.profile_foto {
  background-color: gray;
  height: 10em;
  width: 10em;
  background-color: #e4e4e4;
  border: 4px dashed #8c8c8c;
  cursor: pointer;
  padding: 0.5em;
  -webkit-box-sizing:border-box;
  -moz-box-sizing:border-box;
  box-sizing: border-box;
  float: left;
}

#profile_vyber_soubory_foto .popis {
  padding: 0;
  margin: 0;
}
  
#profile_vyber_soubory_foto .popis div {
  text-align: center;
  font-size: 80%;
  padding-top: 3em;
}

#foto_editor_obal {
  height: 10em;
  width: 52.5em;
  float: right;
  background-color: #e4e4e4;
}

#foto_editor_obal .text {
  text-align: center;
  font-size: 120%;
  padding-top: 3.5em;
}

#foto_editor_obal img {
  text-align: center;
  display: block;
  max-width: 52.5em;
  margin: auto;
}

#profile_filelist_obal{
  background-color: gray; 
  padding: 0.5em; 
  width: 62em;
  height: calc(100% - 2em);
  display: none;
  position: absolute;
  z-index: 100;
}

#profile_filelist {
  width: 100%; 
  height: 29em;
  color: white; 
  box-sizing: border-box; 
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  padding-top: 1em;
}

#fb_login_login {
  width: 100%;
}

#fb_obal {
  float: left;
  width: 8em;
  margin: 1em 0 0 2em;
}

#fb_obal .fb-like span {
  width: 6em !important;
}

