/*************************/
/***   FONTS           ***/
/*************************/

@font-face {
    font-family: 'Ubuntu';
    src: url('../font/Ubuntu-R.ttf') format('truetype');
}

@font-face {
    font-family: 'Ubuntu';
    src: url('../font/Ubuntu-B.ttf') format('truetype');
    font-weight: bold;
}

@font-face {
    font-family: 'Ubuntu';
    src: url('../font/Ubuntu-M.ttf') format('truetype');
	font-weight: 500;
}

@font-face {
    font-family: 'Ubuntu';
    src: url('../font/Ubuntu-L.ttf') format('truetype');
    font-weight: 300;
}

@font-face {
  font-family: OpenSans;
  src: url('../font/OpenSans-Regular-webfont.eot'),
       url('../font/OpenSans-Regular-webfont.svg'),
       url('../font/OpenSans-Regular-webfont.ttf'),
       url('../font/OpenSans-Regular-webfont.woff');
       font-weight: normal; 
       font-style: normal;
}

* {
	margin: 0px;
	padding: 0px;
}
@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:local('Roboto'),local('Roboto-Regular'),url(//fonts.gstatic.com/s/roboto/v15/5M21SdFLkD52QavfmHs6cA.ttf) format('truetype')}
@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:local('Roboto Medium'),local('Roboto-Medium'),url(//fonts.gstatic.com/s/roboto/v15/oOeFwZNlrTefzLYmlVV1UKCWcynf_cDxXwCLxiixG1c.ttf) format('truetype')}
@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:local('Roboto Bold'),local('Roboto-Bold'),url(//fonts.gstatic.com/s/roboto/v15/97uahxiqZRoncBaCEI3aW6CWcynf_cDxXwCLxiixG1c.ttf) format('truetype')}
@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:local('Roboto Italic'),local('Roboto-Italic'),url(//fonts.gstatic.com/s/roboto/v15/OKegwhKhBNN-dhuHI27Hy_esZW2xOQ-xsNqO47m55DA.ttf) format('truetype')}
@font-face{font-family:'Roboto Slab';font-style:normal;font-weight:400;src:local('Roboto Slab Regular'),local('RobotoSlab-Regular'),url('/files/fonts/RobotoSlab-Regular.ttf') format('truetype'),url(//fonts.gstatic.com/s/robotoslab/v6/y7lebkjgREBJK96VQi37Zl02b4v3fUxqf9CZJ1qUoIA.ttf) format('truetype')}
@font-face{font-family:'Roboto Slab';font-style:normal;font-weight:700;src:local('Roboto Slab Bold'),local('RobotoSlab-Bold'),url('/files/fonts/RobotoSlab-Bold.ttf') format('truetype'),url(//fonts.gstatic.com/s/robotoslab/v6/dazS1PrQQuCxC3iOAJFEJSBnJMIPt0VoltfALX9gDFQ.ttf) format('truetype')}
@font-face {
    font-family: 'Roboto Slab';
    src: url('/files/fonts/RobotoSlab-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;

}/*************************/
/***   FONTS           ***/
/*************************/

@font-face {
    font-family: 'Roboto';
    src: url('/files/fonts/Roboto-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Roboto';
    src: url('/files/fonts/Roboto-Bold.ttf') format('truetype');
    font-weight: bold;
}

@font-face {
    font-family: 'Roboto';
    src: url('/files/fonts/Roboto-Light.ttf') format('truetype');
    font-weight: 300;
}

@font-face {
    font-family: 'Roboto';
    src: url('/files/fonts/Roboto-Thin.ttf') format('truetype');
    font-weight: 200;
}


* {
	margin: 0px;
	padding: 0px;
}
body {
  	background-color: #ebf5f7;
  	color:  #ebf5f7;  
	font-size: 75%;
	text-align: left;
	font-family: 'Ubuntu', sans-serif;
	line-height: 1.4;
	height: 100%;
}

#main_content a[rel="lightbox[all]"] img, #main_content > div img{
    	position: relative;
    	display: inline-block;
	border: 3px solid white !important;
	margin: 4px;
}

#main_content a[rel="lightbox[all]"]:hover img{
	border: 3px solid #498790 !important;
}


header{
	position: relative; 
	width: 100%; 
	background-image: url(/files/images/bcg-head.jpg);	
}

/* horni menu */
#menu_top {
	background: white;
	position: relative;
	height: 40px;
	width: 100%;
}

#hornimenu1, #header{
	width: 1020px;
	margin: 0 auto;
      font-family: 'Ubuntu',sans-serif;
	background: transparent;
	border-left: none;
	border-right: none;
	box-shadow: none;
}

#header{
	padding-bottom: 5px;
	position: relative;
	text-align: left;
}

#odkaz_na_uvod{
	background-image: url(/files/images/logo.png); 
      background-repeat: no-repeat; 
	background-position: left center; 
	display: inline-block;
	width: 204px;
	height: 95px;
	margin-right: 35px;
	margin-top: 7px;
}

#kontakt{
	display: inline-block;
	vertical-align: top;
	padding-left: 50px;
    	margin-top: 30px;
	background: url(/files/images/tel-ico.png) no-repeat left center;	
}

#kontakt p, #kontakt a{
	color: #1a8491;	
	font-size: 17px;
	text-decoration: none;
	margin-bottom: 0;
    	line-height: 22px;
}

.searchbox {
    display: inline-block;
    position: relative;
    vertical-align: top;
    margin-left: 65px;
    margin-top: 35px;
}

.searchbox INPUT.search_text {
    background: white;
    font-family: Ubuntu;
    color: #1a8491;
    border: 1px solid #d8ebf0;
    width: 297px;
    margin: 0;
    padding: 8px;
    text-align: left;
    vertical-align: middle;
    font-size: 17px;
}

.searchbox INPUT.submit {
    background: transparent;
    background-image: url(/files/images/lupa.png);
    background-repeat: no-repeat;
    background-position: right center;
    border: none;
    color: #FFFFFF;
    position: absolute;
    right: 15px;
    top: 7px;
    height: 25px;
    width: 25px;
    margin: 0;
    cursor: pointer;
    padding: 0;
}

a.optikaNemec {
    width: 120px;
    height: 71px;
    display: inline-block;
    vertical-align: top;
    float: right;
    margin-top: 20px;
    background: url(/files/images/logo-optika-nemec.png) no-repeat center center;
}

.ddmx .item1, .ddmx .item1:hover, .ddmx .item1-active, .ddmx .item1-active:hover {
    color: black;
    display: block;
    position: relative;
    text-decoration: none;
    text-align: center;
    font-size: 17px;
    font-weight: 300;
    padding: 8px 13px 9px 13px;
}

.ddmx .ddmxlileft:first-of-type .item1 {
    color: transparent;
    width: 18px;
    /* height: 40px; */
    overflow: hidden;
    background: url(/files/images/home.png) no-repeat center center;
    display: inline-block;
}

.ddmx .item1:hover, .ddmx .item1-active, .ddmx .item1-active:hover, .ddmx .item1.selected {
    	background: #ef5177;
	color: white;
}

.ddmx .ddmxlileft:first-of-type .item1:hover, .ddmx .ddmxlileft:first-of-type .item1.selected{
	background: #ef5177 url(/files/images/home-hover.png) no-repeat center center;
}

.ddmxlileft .section{
	display: none;
      width: 200px;
      position: absolute;
      top: 100%;
      display: none;
      z-index: 1000;
	color: black;
	background: white;
	border: 1px solid #d8ebf0;
	border-top: none;
}

 .ddmxlileft .section .ddmxlileft{
	width: 100%;
	background-image: none;
	position: relative;
}

 .ddmxlileft .section .ddmxlileft a{
	display: block;
	padding: 9px 6%;
	width: 84%;
	display: block;
	text-decoration: none;
	font-size: 17px;
}

 .ddmxlileft .section .ddmxlileft a:hover{
	text-decoration: underline;
}

.ddmxlileft a.item2 + .section{
      position: absolute;
      top: 0;
	left: 200px;
      border-top: none;
	display: none;
	color: black;
	background: #b4c902;
}

.ddmxlileft a.item2 + .section a:hover{
	background: white;
}

.ddmx .ddmxlileftsel, .ddmx .ddmxlileft {
    display: inline-block;
    padding: 0;
    margin: 0;
    vertical-align: top;
}

.ddmx .ddmxlileftsel:last-of-type, .ddmx .ddmxlileft:last-of-type{
    background-image: none;	
}
#intro{
	position: relative;
}

#intro img{
	width: 100%;
	height: auto;
}

/* hlavni sloupec */
#main_content {
	height: auto;
	padding: 15px 0;
	text-align: justify;
	width: 1020px;
	margin: 0 auto;
	display: block;
}

.green_box{
	border: 1px solid #30a865;
	color: #30a865;	
	text-align: center;
	padding: 20px;
	font-size: 18px;
      font-family: 'Ubuntu';
}

.kontakt{
	/*width: 330px;
	display: inline-block;*/
}

.kontakt h3{
	display: inline-block;
}

.kontakt p:first-of-type, .kontakt h3{
      font-family: 'Ubuntu',sans-serif;
	margin: 10px 0;
}

.kontakt p{
	margin-bottom: 8px;
}

.kontakt strong, .kontakt strong a{
	color: black;
	font-size: 17px;
}

.kontakt strong a:hover{
	color: #ee5078;
	font-size: 17px;
}

#nadpatickou{
	width: 100%;
	background: #eaf5f7;
}

#nadpatickou > div{
	width: 1020px;
	margin: 0 auto;
    	overflow: hidden;
	display: table;
	margin-bottom: 15px;
}

#nadpatickou .text{
	width: 48.5%;
	display: inline-block;
	vertical-align: top;
	padding-top: 20px;
	display: table-cell;
	background: url(/files/images/aktuality-delitko.png) repeat-y right top;
}

#main_content .map_other {
    position: relative;    
    border: 2px solid #1c8690;
    border-radius: 6px;
    padding: 0;
    float: right;
	padding-left: 307px;
	margin-left: 15px;
}
#main_content .map_other:nth-of-type(1){
	background: url(/files/images/mezirici.jpg) no-repeat left center;
}
#main_content .map_other:nth-of-type(2){
	background: url(/files/images/bites.jpg) no-repeat left center;
}

.map_other > div {
    position: relative;
    overflow: hidden;
}

.map_other > div iframe {
    width: 100% !important;
    margin-top: -130px;
    margin-bottom: -122px;
}

.map_other a {
    right: 10px;
    position: absolute;
    display: block;
    color: white;
    padding: 6px 10px;
    background: #1c8690;
    border-radius: 3px;
    text-decoration: none;
    bottom: 15px;
}

.map_other a:hover {
    	background: #ef5277;
	color: white;
	text-decoration: none;
}

#main_content #map_other img:hover, #main_content .galerie_container img, #main_content .galerie_container img:hover{
	border: none;
}


#main_content table { 
border: none; width: auto; height: auto; 
} 
#main_content td { 
border: 1px solid #E4E4E4; padding: 10px; line-height: 1.3em; font-size: (ten který je na webu standardní v hlavní sekci) 
} 
/* paticka */
#footer {
	color: #4a4949;
	height: auto;
	width: 1020px;
	margin: 0 auto;
	text-align: left;
	background: transparent;
	border: none;
}
footer{
  background: #1b8490;
  z-index: 0;
  width: 100%;

}
#footer a,
#footer a:visited,
#footer a:hover {
	color: #000;
	text-decoration: none;
      font-weight: 300;
}
/* resetovac */
#reset {
	border:  0px none;
	margin:  0px;
	padding: 0px;
	float: none;
	clear: both;
	width: 0px;
	height: 0px;
	line-height: 0px;
	font-size: 0px;
}
/**********************************/
/*         DEFAULTNI HODNOTY
/*********************************/

h1, h2, h3, h4 {
  line-height: 1.3em;
  margin: 0 0 12px 0;
  text-align: left;
}
h1 {
	color: #1c8690;
	font-size: 37px;
	font-weight: 300;
	text-align: left;
      margin-top: 15px;
}

h1.cent{
	text-align: center;
}
h2, h2 a {
	color: #f15575;
	font-size: 26px;
	font-weight: 400;
}
h3 {
	color: #1c8690;
	font-size: 19px;
	font-weight: bold;
	clear: both;
}
h4 {
	color: #0ea155;
	font-size: 14px;
	font-weight: 600;
}
p, li {
  margin: 0 0 12px 0;
  line-height: 1.3em;
  font-size: 17px;
  list-style-type: none;
  color: #4d4c4c;
  font-weight: 300;
}

#main_content ul{
	padding-left: 0;
}

#main_content li, #nadpatickou li{ 
  background: url(/files/images/odr.png) no-repeat left top 7px;
  list-style: none;
	padding-left: 20px;
  
}

img {
	border: none;
	margin: 0; 
	max-width: 100%;
}

a,
a:visited {
    color: #5b5b5b;
    font-size: 17px;
}
a:hover {
	text-decoration: underline;
	color: #f15575;
}
h3 a{
	color: #1c8690 !important;
	font-size: 19px;
	font-weight: bold;
	clear: both;
	text-decoration: none;
}
table {
	border-collapse: collapse;
	border: none;
  margin: 0 0 12px 0;
}
table td {
  vertical-align: top;
  text-align: left;
}
ul, ol {
	list-style-position: outside;
	margin: 0 0 12px 0px;
}

#banners{	
	background: white;
	padding: 15px 0;
}
#banners > div{
	text-align: justify;
	width: 1020px;
	margin: 0 auto;
}

.stretch {
    width: 100%;
    display: inline-block;
    font-size: 0;
    line-height: 0;
}

.banner{
	width: 244px;
	min-height: 240px;
	display: inline-block;
	text-align: center;
	position: relative;
}

.banner .banner_title{
	width: 100%;
	position: absolute;
	bottom: 1px;
	left: 1px;
	right: 1px;
	height: 74px;
	overflow: hidden;
	display: table;
    	text-align: center;
    	vertical-align: middle;
}

.banner h2{
	text-align: center;
	color: #1b8590;
	display: table-cell;
	vertical-align: middle;
    	font-weight: bold;
    	font-size: 24px;
}
.banner:hover h2{
	color: #ef5177;
}

.banner a{
	text-decoration: none;
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 10;
}

.banner:nth-of-type(1){
	background: url(/files/images/banner1.png) no-repeat center bottom;
}
.banner:nth-of-type(2){
	background: url(/files/images/banner2.png) no-repeat center bottom;
}
.banner:nth-of-type(3){
	background: url(/files/images/banner3.png) no-repeat center bottom;
}
.banner:nth-of-type(4){
	background: url(/files/images/banner4.png) no-repeat center bottom;
}


#main_content table {
  border: none;
  width: auto;
  height: auto;
}

#main_content td {
  border: 1px solid #E4E4E4;
  padding: 10px;
  line-height: 1.3em;
  font-size: 15px;
  color: #4d4c4c;
}

.box{
	padding: 2%;
	width: 46%;
	display: inline-block;
	vertical-align: top;
	margin-bottom: 10px;
	position: relative;
}

.box2{
	border: 6px solid #D1E240;
	padding: 2%;
	width: 94%;
	display: inline-block;
	vertical-align: top;
	float: left;
	margin-bottom: 10px;
	position: relative;
	background-color: white;
}

.box.right{
	height: 150px;
	display: table-cell;
}

/**********************************/
/*  MODULY 
/*********************************/

/* clear obtekani */
.clear {
	border:  0px none;
	margin:  0px;
	padding: 0px;
	float: none;
	clear: both;
	width: 0px;
	height: 0px;
	line-height: 0px;
	font-size: 0px;
}
/**********************************/
/*  FORMULARE 
/*********************************/

.form_title{
  border: none;
    margin-bottom: 20px;
    margin-top: 20px;
	color: #1b8590;
	height: 35px;	
}

#form_main div.col{
	width: 32%;
	margin-bottom: 10px;
	display: inline-block;
}

#form_main{
  position: relative;
background: white url(/files/images/bcg-form.jpg) repeat-x bottom left;
}

.red{color: #F00;}

.form_content p{
	margin-bottom: 4px;
}

.form_content{
  	width: 1020px;
	margin: 0 auto;
}

body.index .form_content{
	
}

.form_content fieldset { 
  margin: 0;
  border: 0px solid red;
	width: 68%;
	display: inline-block;
	vertical-align: top;
}

.form_content #form_info{
	width: 25%;

	display: inline-block;
	padding-top: 80px;
}

.form_content #form_info div{
	padding-left: 45px;
}

.form_content #form_info div p, .form_content #form_info div p a{
	color: #4d4c4c;	
	line-height: 50px;
}

.form_content #form_info div p a:hover{
	text-decoration: none;
	color: #f15575;
}

.form_content #form_info div.tel{
	background: url(/files/images/tel.png) no-repeat left center;
}

.form_content #form_info div.mail{
	background: url(/files/images/obalka.png) no-repeat left center;
}

.form_content label{
	color: #4d4c4c;
	font-size: 16px;
	display: block;
}

.form_content input, textarea {  
  margin: 0px;
  margin-top: 5px;
  padding: 0.5em;
  font-size: 16px;
  background: white;
  border-radius: 3px;
  border: 1px solid #a9d9de;
  color: black;
  width: calc(100% - 1.5em);
  font-family: 'Ubuntu';
}

.form_content textarea{
	width: 94%;
	height: 4em;
}

.form_content input.submit { 
  background: transparent;
  border: 1px solid #1c8690;
  color: #1b8590;
  width: 140px;
  cursor: pointer;
  font-weight: bold;
}
.form_content input.submit:hover{
  background: #1c8690;
	color: white;
	border: 1px solid #1c8690;
}

.form_content p.gdpr{
	float: left;
	margin-top: 19px;
}


.form_content fieldset p input { 
  width: 193px;
  
}
.form_content fieldset p textarea { 
  width: 380px;
  height: 127px;
}
.form_content fieldset p.submit {
  position: relative;
  margin-bottom: 25px;
	margin-top: 10px;
  float: right;
	margin-right: 3.5%;
}

p.red{margin-left: 60px;}

input.alert,
textarea.alert {
  border: solid 1px red;
}
#footer_text{ padding: 2em 0; }
#footer #footer_text, #footer #footer_text p, #footer #footer_text a{
	color: white;
	font-size: 16px;
}

#footer #footer_text a:hover{
	color: white;
	text-decoration: underline;
}
/***************************/
/*  PRODUKTY
/***************************/

.reference_box{
  	display: inline-block;
	width: 23.5%;
	margin-right: 1%;
	margin-bottom: 20px;
	text-align: center;
	position: relative;
	vertical-align: top;
}

.reference_img {
    max-height: 159px;
    overflow: hidden;
}

.reference_galerie .reference_img{
	display: inline-block;
	text-align: center;
	margin-right: 5px;
	margin-bottom: 5px;
	width: 265px;
	height: 175px;
	max-height: 100%;
}

.reference_name{
	padding: 8px 0;
}	

.reference_name a{
	color: black;
	text-decoration: none;
	font-size: 15px;
	min-height: 4em;
      display: block;
}

.reference_name a:hover{
	text-decoration: underline;
}

.reference_img img{
	max-width: calc(100% - 18px);
	margin: 0;
	height: auto;
}

.reference_vice_odkaz{
	text-align: center;
}

.reference_vice_odkaz a{
	display: inline-block;
	text-decoration: none;
	color: black;
	padding: 8px;
	background: #d1e240;
	border: 1px solid #b6cb00;
	border-bottom: none;
	font-size: 15px;
}

.reference_vice_odkaz a:hover{
	background: #b6cb00;
}

.produkt_pagination{
	height: 35px;
	margin: 10px 0;
}

.produkt_pagination .strankovani-odkaz, .produkt_pagination .strankovani-sipky{
	border: 1px solid white;
	background: white;
	padding: 1px 5px;
	color: black;
	text-decoration: none;
}

.produkt_pagination b{
	background: #d1e240;
	border: 1px solid #b6cb00;
	padding: 3px 6px;
	line-height: 16px;
      display: inline-block;
}

.produkt_pagination .strankovani-odkaz:hover, .produkt_pagination .strankovani-sipky:hover{
	background: #d1e240;
	border: 1px solid #b6cb00;
}

.reference_col_container.detail .reference_box{
	margin: 0;
	border: none;
	width: 100%;
	padding: 0;
}

.reference_col_container.detail .reference_box > h3{
	clear: both;
}


.reference_col_container.detail .reference_big{
	width: 47%;
	float: left;
	margin-bottom: 10px;
	margin-right: 3%;
}

.reference_col_container.detail .reference_big a{
	display: block;
	width: 100%;
	margin: 0;
-webkit-box-shadow: 0px 0px 7px 2px rgba(0,0,0,0.3);
    -moz-box-shadow: 0px 0px 7px 2px rgba(0,0,0,0.3);
    box-shadow: 0px 0px 7px 2px rgba(0,0,0,0.3);
}

#main_content .reference_col_container.detail .reference_big img{
	width: calc(100% - 10px);
	margin: 0;
	height: auto;
}

.reference_col_container.detail .reference_text{
	width: 100%;
	text-align: justify;
	margin-bottom: 10px;
}

.reference_col_container.detail .reference_text div{
	/*display: inline;
	float: left;*/
}

.reference_col_container.detail .reference_text ul{
	display: inline;
}

.reference_col_container.detail .reference_text ul li{
	list-style-position: inside;
	display: inline-block;
}

.reference_col_container.detail .reference_text h3,
.reference_col_container.detail .reference_text p,
.reference_col_container.detail .reference_text ul,
.reference_col_container.detail .reference_text ul li{
	/*float: left !important;
	clear: right;*/
}

.reference_col_container.detail .reference_text h3{
	clear: none;
}

.reference_col_container.detail .reference_galerie{
	position: relative;
	width: 96%;
	padding: 2%;
	overflow: auto;
	background: white;
-webkit-box-shadow: 0px 0px 7px 2px rgba(0,0,0,0.3);
    -moz-box-shadow: 0px 0px 7px 2px rgba(0,0,0,0.3);
    box-shadow: 0px 0px 7px 2px rgba(0,0,0,0.3);
	text-align: left;
}

.reference_col_container.detail .reference_img a{
	width: auto;
	max-width: calc(100% - 6px);
	max-height: calc(100% - 6px);
	display: inline-block;
	float: left;	
	border: 3px solid white;
	margin-bottom: 20px;
	text-align:center;
}

.reference_col_container.detail .reference_img a:hover{
	
}

.reference_col_container.detail .reference_img a:nth-of-type(3n+1){
	margin: 0 10px;
	margin-bottom: 3px;
}

#main_content .reference_col_container.detail .reference_img img{
	width: auto !important;
	height: auto !important;
	max-width: 100%;
	max-height: 100%;
	margin: 0;
}

.breadcrumb a{
	color: #3C3C3C;
	font-size: 14px;
}

/***************************/
/*  AKTUALITY
/***************************/
.aktuality_col_container {
  width: auto;
  height: auto;
}
.aktuality_col_container .aktuality_box {
  width: 23%;
  margin-right: 1.5%;
  background: white;
  height: auto;
  margin-top: 10px;
  padding-bottom: 10px;
  display: inline-block;
  border: 1px solid #c0dce2;
  position: relative;
  margin-bottom: 30px;
  vertical-align: top;
}
.aktuality_col_container .aktuality_date {
  font-size: 8pt;
  color: #000000;
  display: none;
}
.aktuality_col_container .aktuality_name {
  padding: 4px 10px;
	text-align: center;
      height: 4.8em;
	font-size: 15px;
	overflow: hidden;
    display: table;
    width: calc(100% - 20px);
    vertical-align: middle;

}
.aktuality_col_container .aktuality_name a,
.aktuality_col_container .aktuality_name a:visited {
  font-size: 17px;
  color: black;
  text-decoration: none;
  font-weight: 300;
  vertical-align: middle;
  display: table-cell;	
}
.aktuality_col_container .aktuality_name a:hover {
  color: black;
  text-decoration: underline;
}

.aktuality_col_container .aktuality_text {
  	text-align: center;
	padding: 4px 10px;
	height: 55px;
}
.aktuality_col_container .aktuality_text a,
.aktuality_col_container .aktuality_text a:visited {
  color: #028C3E;
  text-decoration: underline;
}
.aktuality_col_container .aktuality_text a:hover {
  color: black;
  text-decoration: none;
}

#main_content .aktuality_col_container .aktuality_img{
	text-align: center;
	height: 150px;
}

#main_content .aktuality_col_container .aktuality_img a{
	height: 150px;
	width: 100%;
	display: block;
	position: relative;
}

#main_content .aktuality_col_container .aktuality_img img {
	margin: auto;
	border: none !important;
  	width: auto;
    	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}
.aktuality_col_container .aktuality_vice_odkaz {
}

.aktuality_col_container .aktuality_vice_odkaz a{
	position: absolute;
    	left: 0;
    	right: 0;
	bottom: -20px;
    	margin-left: auto;
    	margin-right: auto;
	display: inline-block;
	vertical-align: bottom;
	width: 120px;
    	text-align: center;
	padding: 8px 3px;
	border: 1px solid #c0dce2;
	background: #ebf5f7;
	color: black;
	text-decoration: none;
      font-size: 17px;
	font-weight: 300;
}

.aktuality_col_container .aktuality_vice_odkaz a:hover{
	background: #1c8690;
	color: white;
}

.aktuality_vice_odkaz.abs a{
	position: absolute;
	right: 15px;
	bottom: 15px;	
	display: inline-block;
	vertical-align: bottom;
	width: 163px;
    	text-align: center;
	padding: 7px 13px;
	border: 1px solid #c9e0e4;
	background: #ebf5f7;
	color: black;
	text-decoration: none;
      font-size: 17px;
      font-weight: 300;
}

.aktuality_vice_odkaz.abs a:hover{
	background: #1b8590;
	color: white;
}

#aktualita{
	background: white;
	position: relative;
	padding: 15px;
	padding-bottom: 45px;
      color: #4d4c4c;
      font-size: 17px;
      font-weight: 300;
}


/*************
SLIDESHOW
**************/
#slides{
	position: relative;
	display: none;
	margin: 0;
}	

.slidesjs-pagination{
	position: absolute;
	left: 0;
    	right: 0;
	bottom: 5px;
    	margin-left: auto;
    	margin-right: auto;
	width: 50%;
	text-align: center;
	z-index: 100;
}

.slidesjs-pagination-item{
	display: inline-block;
	margin: 0 2px;
}

.slidesjs-pagination-item a{
	width: 12px;
	height: 12px;
	display: block;
	z-index: 1000;
	background: url(/files/images/slide_button.png) no-repeat center center;
	color: transparent;
}

.slidesjs-pagination-item a:hover, 
.slidesjs-pagination-item a.active{
	background: url(/files/images/slide_button_hover.png) no-repeat left top;
	color: transparent;
}

.caption{
	position:absolute;
    	left:0;
    	right:0;
    	margin-left:auto;
    	margin-right:auto;
	color: black;
	font-size: 25px;
	padding: 15px 10px;
	background: url(/files/images/slide_bcg.png) repeat;
	line-height: 60px;
	text-align: left;
    	top: 20px;
    	width: 40%;
}

.caption p{
	text-align: center;
	color: black;
	font-size: 40px;
	font-weight: 200;
}


/*************
SLIDESHOW AKTUALITY
**************/
#aktuality_slide{

}

#aktuality_slide .aktuality_name,
#aktuality_slide .aktuality_date,
#aktuality_slide .aktuality_text{
	width: 50%;
	float: left;
}
#aktuality_slide .aktuality_name {
    height: 4em;
    overflow: hidden;
}

#aktuality_slide .aktuality_text {
    height: 5.7em;
    overflow: hidden;
    margin-bottom: 10px;
}

#aktuality_slide .aktuality_name a{
	color: black;
	font-size: 17px;
	text-decoration: none;
	font-weight: bold;
}

#aktuality_slide .aktuality_name a:hover{
	text-decoration: underline;
}

#aktuality_slide .aktuality_date{
	color: black;
	font-size: 15px;
}

#aktuality_slide .aktuality_text p{
	color: black;
	font-size: 17px;
}

#aktuality_slide .aktuality_img{
	float: right;
	text-align: right;
	width: 45%;
}

#aktuality_slide .aktuality_img img{
	border: 1px solid #1b8590;
	    max-width: 92%;
	margin-right: 1px;
}

#aktuality_slide .aktuality_vice_odkaz{
	clear: both;
	margin-top: 10px;
}

#aktuality_slide .aktuality_vice_odkaz a{
	background: url(/files/images/odr.png) no-repeat left center;
	padding-left: 20px;
	color: black;
	font-size: 17px;
	font-weight: 300;
}

#aktuality_slide .slidesjs-pagination{
	padding: 0;
	margin: 0;
	position: absolute;
	left: 50%;
    	bottom: 40px;
	z-index: 100;
}

#aktuality_slide .slidesjs-pagination li{
	display: inline-block;
	margin-left: 5px;
	background: none;
	padding-left: 0;
}
	
#aktuality_slide .slidesjs-pagination li a{
	display: block;
	color: #4a4a47;
	text-decoration: none;
	font-weight: bold;
	line-height: 35px;
	height: 35px;
	width: 35px;
	font-size: 15px;
	margin: 0 2px;
	background: transparent;
}

#aktuality_slide .slidesjs-pagination li a.active, #aktuality_slide .slidesjs-pagination li a:hover{
	background: url(/files/images/act_button_hover.png) no-repeat center center;
	color: white;
}

#mobile_open, #mobile_close {
    display: none;
}

/***********
RESPONSIVE
************/

@media screen and (max-width: 1040px){

header{
	background: white;
}

#hornimenu1{
	width: 100%;
	border-top: 1px solid #d8ebf0;
}

#header, #banners > div, #main_content, .form_content, #footer{
	width: 96%;
	margin: 0 auto;
}

.searchbox, #kontakt{
	margin-top: 10px;
	margin-left: 0;
	margin-right: 5px;
}

#banners > div{
	text-align: center;
}

.banner{
	margin: 0 5px;
}

.form_content fieldset{
	width: 65%;
	margin-right: 3%;
	margin-bottom: 15px;
}


.form_content fieldset p input, .form_content fieldset p textarea{
	width: 96%;
	padding: 5px 2%;
}
#menu_top{
	height: auto;
}

.ddmx .ddmxlileftsel, .ddmx .ddmxlileft{
	float: none;
	display: inline-block;
	position: relative;
}

#logo{
	padding: 0;
}

#logo p{
	text-align: left;
}

#nadpatickou{
	width: 96%;
	padding: 0 2%;
}

#nadpatickou > div{
	width: 100%;
}

#map_other{
	background: none;
}

#main_content #map_other img{
	height: auto;
	width: 100%;
	max-width: 100%;
}

figcaption{
	font-size: 20px;
}

.form_content #form_info{
	padding-left: 0;
}


#aktuality_slide .slidesjs-container{
	min-height: 275px;
	height: auto !important;
}

#aktuality_slide .aktuality_img img{
	    max-width: 88%;
}

.aktuality_col_container .aktuality_name {
    height: 5.5em;
}

.aktuality_col_container .aktuality_box{
	width: 30%;
}

#main_content .map_other{
	float: none;
	margin-left: 0;
	
}

}

@media screen and (max-width: 800px){
.form_content #form_info, .form_content fieldset{
	width: 100%;
	padding-left: 0;
	padding-top: 0;
}
#nadpatickou > div{
	display: block;
}
#nadpatickou .text, .box.right{
	display: block;
	width: 96%;
	padding: 5px 2%;
}
.box.right{
	height: auto;
}

}

@media screen and (max-width: 720px){
#mobile_open {
    width: 100%;
    height: 30px;
    padding-top: 8px;
    padding-bottom: 15px;
    background: url(/files/images/hamburger.png) no-repeat center center;
    vertical-align: top;
    cursor: pointer;
    display: block;
}
#mobile_close {
    width: 100%;
    height: 30px;
    padding-top: 8px;
    padding-bottom: 15px;
    background: url(/files/images/close.png) no-repeat center center;
    vertical-align: top;
    cursor: pointer;
}
.ddmx .ddmxlileft:first-of-type .item1{
	width: 100%;
	padding: 8px 0;
}
#hornimenu1 {
    display: none;
    position: absolute;
    left: 0;
    width: 100%;
    z-index: 50;
    background: white;
    padding-bottom: 30px;
}
#hornimenu1.visible {
    display: block;
    overflow: hidden;
}
#hornimenu1.visible .ddmxlileft .section{
	width: 100%;
	position: relative;
	top: auto;
	left: auto;
}
.ddmxlileft .section .ddmxlileft{
	text-align: center;
}
.searchbox, #kontakt{
	width: 100%;
	text-align: center;
	padding: 0;
	background: none;
}
.searchbox form{
	width: 297px;
    	position: relative;
    	margin: 0 auto;
}
.searchbox INPUT.submit {
    top: 5px;
    right: 0;
}
#odkaz_na_uvod{
	width: 100%;
	margin-right: 0;
	background-position: center center;	
}
}


@media screen and (max-width: 640px){

.ddmx .ddmxlileftsel, .ddmx .ddmxlileft{
	display: block;
}

.ddmxlileft .section{
	width: 100%;
}

#logo{
	width: 96%;
	margin: 0 2%;
	background-position: top center;
	padding-left: 0;
}
#logo p{
	text-align: center;
}

#odkaz_na_uvod{
	width: 100%;
	margin-right: 0;
	text-align: center;
	background-position: center center;
}

.banner{
	width: 60%;
	margin-bottom: 10px;
}

#main_content .banner .ban_img img{
	width: 100%;
	max-width: 100%;
}

#nadpatickou .text, #map_other{
	width: 100%;
}

.form_content fieldset{
	width: 100%;
	margin-right: 0;
}

.form_content #form_info{
	display: block;
	padding-top: 0;
	width: auto;
}

#form_main div.col {
    width: 100%;
}

div.box, div.box:nth-of-type(2){
	width: 92%;
	float: none;
	display: block;
	margin: 0 auto;
	margin-bottom: 10px;
}

#aktuality_slide .slidesjs-container{
	min-height: 240px;
}

#aktuality_slide .slidesjs-pagination{
	position: relative;
	right: auto;
	bottom: auto;
}

.aktuality_col_container .aktuality_box{
	width: 47%;
}


#main_content img{
	height: auto !important;
	width: 100% !important;
}

#main_content a[rel="lightbox[all]"]{
	max-width: 94%;
}

div.kontakt, iframe{
	width: 100% !important;
}

.caption{
	bottom: auto;
	top: 0;
    	left: 5px;
    	right: 5px;
	line-height: 30px; 
	width: 60%;     
}

.caption p{
	font-size: 15px;
}

}

.hide-invalid-feedback .invalid-feedback{
    display: none !important;
}

.hide-invalid-feedback .btn-primary{
        background: transparent;
        border: 1px solid #1c8690;
        color: #1b8590;
        width: 140px;
        cursor: pointer;
        font-weight: bold;
        float: right;
        margin-right: 6%;
}



.hide-invalid-feedback .btn-primary:hover {
    background: #1c8690;
    color: white;
    border: 1px solid #1c8690;
}



