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

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

@font-face {
    font-family: 'Ubuntu';
    src: url('/files/fonts/Ubuntu-BI.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
}

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

@font-face {
    font-family: 'Ubuntu';
    src: url('/files/fonts/Ubuntu-RI.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

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

@font-face {
    font-family: 'Ubuntu';
    src: url('/files/fonts/Ubuntu-LI.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
}
* {
	margin: 0px;
	padding: 0px;
}
body {
      color: #4d4c4c;  
	font-size: 75%;
	text-align: left;
	font-family: 'Ubuntu';
	line-height: 1.4;
	height: 100%;
}

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

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


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

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

#hornimenu1, #header{
	width: 960px;
	margin: 0 auto;
      font-family: 'Ubuntu';
	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/logo3.png); 
      background-repeat: no-repeat; 
	background-position: left center; 
	display: inline-block;
	width: 204px;
	height: 119px;
	margin-top: 7px;
}

#logo{
	min-height: 80px;	
}

#nadpis{
	color:  black;
	margin-bottom: 0;
	margin-top: 28px;
	display: inline-block;
	vertical-align: top;
}

#nadpis p{
	font-weight: bold;
	font-family: 'Ubuntu';
	font-size: 30px;
}

#nadpis p.yellow{
	border-left: 7px solid #ffe138;
	padding-left: 5px;
	font-weight: 300;
}
#nadpis p span.blue{
	color: #367676;
}
#nadpis p span.red{
	color: #ff5752;
}
#nadpis p span.cyan{
	color: #00bdfb;
}
#nadpis p span.green{
	color: #73c304;
}		

.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: 18px;
    font-weight: 400;
    padding: 8px 18px 9px 14px;
}

.ddmx .item1:hover, .ddmx .item1-active, .ddmx .item1-active:hover, .ddmx .item1.selected {
    background: url(/files/images/menu_bottom.png) no-repeat bottom center;
}

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

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

 .ddmxlileft .section .ddmxlileft a{
	display: block;
	padding: 5px 8%;
	width: 84%;
	color: black;
	display: block;
	text-decoration: none;
	font-size: 17px;
}

 .ddmxlileft .section .ddmxlileft a:hover{
	background: #ffde39;
}

.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;
}

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

#intro img{
	width: 100%;
	height: auto;
      border-bottom: 3px solid #ffe138;
    	display: block;
}

/* hlavni sloupec */
#main_content {
	height: auto;
	width: 100%;
	display: block;
	background-color: #fffbe8;
}
#main_content > div{
	padding: 15px 0;
	text-align: justify;
	width: 960px;
	margin: 0 auto;
}
.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 p:first-of-type, .kontakt h3{
      font-family: 'Ubuntu';
	margin: 10px 0;
}

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

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

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

#nadpatickou > div{
	width: 950px;
	margin: 0 auto;
}

#nadpatickou .text{
	width: 50%;
	display: inline-block;
	vertical-align: top;
	padding-top: 20px;
}

#map_other p{
	position: absolute;
	display: block;
	padding: 6px 10px;
	background: white;
	-webkit-box-shadow: 0px 0px 7px 1px rgba(0,0,0,0.3);
-moz-box-shadow: 0px 0px 7px 1px rgba(0,0,0,0.3);
box-shadow: 0px 0px 7px 1px rgba(0,0,0,0.3);
	left: 15px;
	top: 15px;	
	color: #4a4949;
}

#map_other p span{
	display: block;
}

#map_other a{
	position: absolute;
	display: block;
	color: #4a4949;
	padding: 6px 10px;
	background: white;
	-webkit-box-shadow: 0px 0px 7px 1px rgba(0,0,0,0.3);
-moz-box-shadow: 0px 0px 7px 1px rgba(0,0,0,0.3);
box-shadow: 0px 0px 7px 1px rgba(0,0,0,0.3);
	text-decoration: none;
	bottom: 15px;
	left: 15px;
}

#map_other a:hover{
	background: #eeff5b;
}

#map_other a{
	left: 10px;
	bottom: 10px;
}

#map_other{
	position: relative;
	padding: 0;
	clear: both;
	width: 49%;
	display: inline-block;
}

#map_other > div{
	position: relative;
	overflow: auto;
}

#main_content #map_other img{
	width: auto;
	height: 200px;
	float: left;
	border: none;	
	margin: 0;
}
#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: 15px;
} 
/* paticka */
#footer {
	color: #4a4949;
	height: auto;
	width: 960px;
	margin: 0 auto;
	text-align: left;
	background: transparent;
	border: none;
}
footer{
  background: url(/files/images/footer-bcg.jpg) no-repeat 56% top;
  z-index: 0;
  width: 100%;

}
#footer a,
#footer a:visited,
#footer a:hover {
	color: #000;
	text-decoration: none;
}
/* 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: #ff5852;
	font-size: 40px;
	font-weight: 300;
	text-align: left;
}

h1.cent{
	text-align: center;
}
h2 {
	color: black;
	font-size: 25px;
	font-weight: normal;
}
h3 {
	color: black;
	font-size: 20px;
	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: #4b4b4b;
  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;
	font-size: 16px;
  
}

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

a,
a:visited {
    color: #2C2C2C;
    font-size: 17px;
}
a:hover {
	text-decoration: underline;
	color: #ff5752;
}
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{
	width: 100%;
	text-align: center;
	margin-bottom: 10px;
}

.banner{
	width: 29%;
	display: inline-block;
	text-align: center;
}

.banner h2{
	text-align: center;
	color: black;
	background: url(/files/images/banner_bottom.png) no-repeat bottom center;
	padding-bottom: 8px;
}

.banner a{
	text-decoration: none;
	display: block;
	position: relative;
}

.banner a .ban_img{
	border: 5px solid white;
}

.banner a:hover .ban_img{
	border: 5px solid #d1e240;
}

.banner .ban_img{
	position: relative;	
}

.banner .ban_img img{
	width: auto;
	border: none !important;
	margin: 0 !important;
}

.banner a:hover .ban_img img{
	border: none !important;
}

.banner a:hover h2{
	background: url(/files/images/banner_bottom_hover.png) no-repeat bottom center;
}

.banner:nth-of-type(2){
	margin: 0 5%;
}

.banner a:before, .banner a:after {
    content: "";
    position: absolute;
    z-index: -1;
    box-shadow: 0 0 15px rgba(0,0,0,0.8);
    top: 80%;
    bottom: 0;
    left: 20px;
    right: 20px;
    border-radius: 80px / 10px;
}

#main_content table {
  border: none;
  width: auto;
  height: auto; 
  width: 100% !important;
}

#main_content td {
  border: 1px solid #E4E4E4;
  padding: 10px;
  line-height: 1.3em;
  font-size: 15px;
  color: #4d4c4c;
  /* display: inline-block; */
    min-width: 32%;
}

.centered_boxes{
	color: #4d4c4c;
	text-align: center;
}
.box{
	padding: 2%;
	width: 46%;
	display: inline-block;
	vertical-align: top;
	float: left;
	margin-bottom: 10px;
	position: relative;
}
.centered_boxes .box{
	width: 26%;
	float: none;
}
.centered_boxes .box:nth-of-type(1),
.centered_boxes .box:nth-of-type(2){
	width: 40%;
}
.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{
	float: right;
}

table.lektori td{
	border: 1px solid #E4E4E4 !important;
}

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

/* hlavicka - odkaz logo */
#head .link_logo  {
	background: url(/files/images/sablona1/logo.png);
	float: left;
	width: 397px;
	height: 78px;
	display: block;
	margin-top: 30px;
    margin-bottom: 10px;
}
/* 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: white;
    height: 35px;	
}

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

#form_main{
  position: relative;
  background: #92cc40;
}

.red{color: #F00;}

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

.form_content{
  	width: 960px;
	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%;
	padding-left: 4%;
	display: inline-block;
	padding-top: 80px;
}

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

.form_content #form_info div p, .form_content #form_info div p a{
	color: white;	
	line-height: 50px;
	font-size: 17px;
      font-weight: bold;
}

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

.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: black;
	font-size: 16px;
	display: block;
      margin-bottom: 5px;
}

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

.form_new input, textarea {  
width: 100%;
}

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

.form_content input.submit,#btn-FormSendMail { 
    background: white;
    border: 2px solid #ffde39;
    color: black;
    width: 140px;
    cursor: pointer;
    font-weight: bold;
    padding-top: 10px;
}
.form_content input.submit:hover,#btn-FormSendMail:hover{
  	background: #ffde39;
	border: 2px solid #ffde39;
}


.form_content fieldset p input { 
  width: 193px;
  
}
.form_content fieldset p textarea { 
  width: 380px;
  height: 127px;
}
.form_content fieldset p.submit,#btn-FormSendMail {

  position: relative;
  margin-bottom: 25px;
	margin-top: 10px;
  float: right;
	margin-right: 3.5%;
}

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

p.gdpr{
    	margin-top: 20px;
    	float: left;
}
p.gdpr a{
    	font-size: 16px;
	color: black;
	text-decoration: underline;
	font-weight: normal;
}
p.gdpr a:hover{
	text-decoration: none;
}

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: #4a4949;
	font-size: 16px;
      font-weight: 300;
}

#footer #footer_text a:hover{
	color: black;
	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 {
  height: auto;
  padding: 10px;
	border: 1px solid #ffe138;
	position: relative;
	margin-bottom: 15px;
	overflow: hidden;
}

.aktuality_col_container .aktuality_box:nth-child(odd){
	background: white;
}
.aktuality_col_container .aktuality_date {
  font-size: 8pt;
  color: #000000;
  display: none;
}
.aktuality_col_container .aktuality_name {
    font-size: 15px;
    height: 2em;
    overflow: hidden;
    margin-bottom: 8px;
}
.aktuality_col_container .aktuality_name a,
.aktuality_col_container .aktuality_name a:visited {
  color: black;
  text-decoration: none;
font-size: 22px;
    font-weight: 300;
}
.aktuality_col_container .aktuality_name a:hover {
  color: black;
  text-decoration: underline;
}

.aktuality_col_container .aktuality_text {
	overflow: hidden;
    height: 3.8em;
    margin-bottom: 10px;
}
.aktuality_col_container .aktuality_text a,
.aktuality_col_container .aktuality_text a:visited {
}
.aktuality_col_container .aktuality_text a:hover {
  color: black;
  text-decoration: none;
}

#main_content .aktuality_col_container .aktuality_img{
	float: right;
	width: 180px;
	height: 120px;
	position: relative;
}

.aktuality_col_container .aktuality_box:nth-child(even) .aktuality_img{
	background: #fffbe8;
      margin-left: 10px;
}
.aktuality_col_container .aktuality_box:nth-child(odd) .aktuality_img{
	background: white;
      margin-left: 10px;
}

#main_content .aktuality_col_container .aktuality_img a{
	display: block;
	width: 180px;
	height: 120px;
}

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

.aktuality_col_container .aktuality_vice_odkaz a{
	display: inline-block;
	vertical-align: bottom;
	width: 120px;
    	text-align: center;
	padding: 5px 1px;
	border: 1px solid #ffe138;
	background: #ffe138;
	color: black;
	text-decoration: none;
      font-size: 15px;
}

.aktuality_col_container .aktuality_vice_odkaz a:hover{
	background: white;
}

.aktuality_vice_odkaz.abs{
	text-align: right;
}

.aktuality_vice_odkaz.abs a{
	display: inline-block;
	vertical-align: bottom;
    	text-align: center;
	padding: 6px 10px;
	border: 1px solid #ffe138;
	background: #ffe138;
	color: black;
	text-decoration: none;
      font-size: 15px;
}

.aktuality_vice_odkaz.abs a:hover{
	background: white;
}

#aktualita{
	background: #fff9e1;
	border: 1px solid #ffe138;
	position: relative;
	padding: 15px;
	padding-bottom: 45px;
}

/**************
FOTOGALERIE
*****************/

#galerie-thumbs {
	margin-top: 15px;
    background-color: white;
    border-radius: 3px;
	-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);
    width: 98%;
    padding: 1% 1%;
    height: auto;
    overflow-x: scroll;
}

#main_content table.galerie-slozky{
	border: none;
}

.galerie-slozky + .galerie_container{
	display: none;
}

#main_content .galerie-slozky tr{
	display: inline;
}

#main_content .galerie-slozky tr td{
	display: inline-block;
	border: none;
}

#main_content .galerie_nahledy td{
	padding: 0;
	box-shadow: none;
	    display: table;
}	

.galerie_slozka{
	text-align: center;
	position: relative;
	width: 298px;
}

.galerie_slozka .fotka{
	padding: 3px;
	background: url(/files/images/slozka.png) no-repeat center top;
	background-size: contain;
	position: relative;
}

.galerie_slozka .fotka a{
	position: relative;
	display: inline-block;
}

.galerie_slozka .fotka img{
	width: 275px !important;
	height: auto !important;
	margin: 0 !important;
}

.galerie_slozka .fotka a{
	border: 6px solid white;
}

.galerie_slozka:hover  .fotka a{
	border: 6px solid #d1e240;
}

.galerie_slozka:hover a:before {
    content: '';
    display: block;
    background: rgba(12, 12, 12, 0.5) url(/files/images/lupa.png) no-repeat;
    width: 100%;
    background-position: center center;
    height: 100%;
    position: absolute;
    z-index: 100;
    top: 0;
    right: 0;
}

.galerie_slozka .img_caption{
	display: block;
	position: absolute;
	bottom: 0;
    	left: 0;
    	right: 0;
	color: white;
	padding: 15px;
	text-align: center;
	background: url(/files/images/foto_bcg.png) repeat left top;
	font-size: 16px;
}

.galerie_container tr{
	display: inline-flex;
}

.galerie_container td{
	border: 3px solid #ead5b6;
      box-shadow: 0px 0px 2px 2px #c7b49c;
	margin: 0 5px;
}

.galerie_fotka, .galerie_fotka_uvodni{
	width: 80%;
	margin: 0 auto;
	text-align: center;
}

.galerie_fotka .velke{
	display: none;
}

.galerie_fotka .velke.activ{
	display: block;
}

.galerie_fotka .velke.activ a{
	-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);
	display: block;
}

.galerie_fotka .velke.activ a img{
	margin: 0 !important;
	width: calc(100% - 10px);
} 

#main_content .thumbs img, #main_content .thumbs img:hover{
	cursor: pointer;
	border: 5px solid white;
	width: auto !important;
    	height: auto !important;
	margin: 0 !important;
}

div.galerie_container table.galerie_table .thumbs:hover{
	border: 3px solid #853d01;
}

div.galerie_fotka img, div.galerie_fotka img:hover, div.galerie_fotka_uvodni img, div.galerie_fotka_uvodni img:hover{
	border: none;
      box-shadow: none;
}

.galerie_container::-webkit-scrollbar
{
  width: 25px;  /* for vertical scrollbars */
  height: 25; /* for horizontal scrollbars */
  border: 5px solid white;
  border-radius: 3px;
}

.galerie_container::-webkit-scrollbar-track{
  background: white;
  border-radius: 3px;
}

.galerie_container::-webkit-scrollbar-thumb{
  background: #d1e240;
  border-radius: 3px;
}

/*************
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: 11px;
	height: 11px;
	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: 28px;
	padding: 6px 10px;
	background: url(/files/images/slide_bcg.png) repeat;
	line-height: 60px;
	text-align: left;
    	top: 324px;
    	width: 30%;
}

.caption p{
	text-align: center;
	color: black;
	font-size: 30px;
	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_name a{
	color: black;
	font-size: 15px;
	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: 15px;
}

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

#aktuality_slide .aktuality_img img{
	border: 3px solid #4d4e42;
	    max-width: 92%;
}

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

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

#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: 34px;
	height: 34px;
	width: 34px;
	background: url(/files/images/act_button.png) no-repeat center center;
	font-size: 15px;
	margin: 0 2px;
}

#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: 980px){

header{
	background-position: initial;	
}

#hornimenu1{
	width: 100%;
}

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

.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%;
}

.reference_box{
	width: 27%;
	padding: 2%;	
}

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

.reference_box:nth-of-type(2n+1) {
    margin: 0 1%;
	margin-bottom: 10px;
}

.reference_col_container.detail .reference_galerie{
	overflow: auto;
}
.centered_boxes .box{
	width: 40%;
}

}

@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;
}
#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;
}
#nadpis{
	display: block;
}
#main_content table.lektori tr{
	display: block;
	margin-bottom: 20px;
	border: 1px solid #E4E4E4 !important;
}
#main_content table.lektori tr:first-of-type{
	display: none;
}
#main_content table.lektori tr td{
	display: block;
	width: calc(100% - 10px) !important;
	text-align: center;
	border: none !important;
}
#main_content table.lektori tr td p{
	margin-bottom: 0;
}

}
	
@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;
}
#nadpis p.yellow{
	border-left: none;
	padding-left: 0;
}

#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;
}


#main_content .galerie-slozky tr td, .galerie_slozka{
	width: 100%;
	padding: 0;
}

.reference_box{
	width: 80%;
    margin: 0 auto;
	margin-bottom: 20px;
	display: block;
}

.reference_box:nth-of-type(3n+1),.reference_box:nth-of-type(2n+1) {
    margin: 0 auto;
	margin-bottom: 20px;
}

.reference_vice_odkaz a{
	    margin-bottom: -2%;
}

.reference_col_container.detail .reference_big, .reference_col_container.detail .reference_text{
	width: 100%;
	float: none;
}

.reference_col_container.detail .reference_text{
	width: 96%;
}

#main_content .reference_col_container.detail .reference_big a{
	max-width: 98%;
}

.reference_col_container.detail .reference_img a{
	max-width: 100%;
}

#main_content .reference_col_container.detail .reference_img img{
	margin: 0;
}

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

#main_content img{
	height: auto !important;
	max-width: calc(100% - 18px);
}

#main_content .aktuality_col_container .aktuality_img a img{
	max-width: 100%;
}

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

#main_content .aktuality_col_container .aktuality_img{
	float: none;
	margin: 0 auto;
}

.aktuality_col_container .aktuality_name, 
.aktuality_col_container .aktuality_text,
.aktuality_col_container .aktuality_vice_odkaz{
	text-align: center;
}

#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;
}

}



    /* Style the button that is used to open and close the collapsible content */
	.collapsible {
		background-color: #eee;
		color: #444;
		cursor: pointer;
		padding: 18px;
		width: 100%;
		border: none;
		text-align: left;
		outline: none;
		font-size: 15px;
	}

	/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
	.active,
	.collapsible:hover {
		background-color: #ccc;
	}

	/* Style the collapsible content. Note: hidden by default */
	.content {
		padding: 10px 18px;
		display: none;
		overflow: hidden;
		background-color: #f1f1f1;
	}


	.subject-group {
		margin: 10px 0;
	}

	.item_calc {
		padding: 10px;
	}

	.item_calc p {
		margin: 0;
	}

	#result {
		margin-top: 20px;
		font-weight: bold;
	}

	/* Container */
	.container {
		width: 100%;
		margin-right: auto;
		margin-left: auto;
		padding-right: 15px;
		padding-left: 15px;
		max-width: 1140px;
		/* Adjust for your breakpoint needs */
	}

	/* Row */
	.row {
		display: flex;
		flex-wrap: wrap;
		margin-right: -15px;
		margin-left: -15px;
	}

	/* Columns */
	.col-md-4 {
		flex: 0 0 33.3333%;
		/* 1/3 width for medium screens */
		max-width: 33.3333%;
		padding-right: 15px;
		padding-left: 15px;
		box-sizing: border-box;
	}

	/* Media Query for Responsive Design */
	@media (max-width: 768px) {
		.col-md-4 {
			flex: 0 0 100%;
			/* Full width for smaller screens */
			max-width: 100%;
		}
	}



	.container label {
		display: block;
		margin: 10px 0;
	}


	.justify-content-left {
		display: flex;
		justify-content: flex-start; /* Aligns items to the left */
	  }
	  
	  .justify-content-center {
		display: flex;
		justify-content: center; /* Centers items */
	  }

	  .justify-content-end {
		display: flex;
		justify-content: right; /* Centers items */
	  }



/* Base Button Styles */
.btn {
	display: inline-block;
	font-weight: 400;
	text-align: center;
	vertical-align: middle;
	user-select: none;
	padding: 0.375rem 0.75rem; /* Adjust for size */
	font-size: 1rem;
	line-height: 1.5;
	border-radius: 0.375rem; /* Rounded corners */
	border: 1px solid transparent;
	text-decoration: none;
	color: #fff;
	background-color: transparent;
	cursor: pointer;
	transition: all 0.2s ease-in-out;
  }
  
  /* Success Button */
  .btn-success {
	background-color: #198754; /* Bootstrap green */
	border-color: #198754;
  }
  
  .btn-success:hover {
	background-color: #157347;
	border-color: #146c43;
  }
  
  /* Danger Button */
  .btn-danger {
	background-color: #dc3545; /* Bootstrap red */
	border-color: #dc3545;
  }
  
  .btn-danger:hover {
	background-color: #bb2d3b;
	border-color: #b02a37;
  }
  

  .d-flex{
	display: flex;
  }

  .justify-content-between {
	display: flex;
	justify-content: space-between; /* Centers items */
  }

  .justify-content-evenly {
	display: flex;
	justify-content: space-evenly; /* Centers items */
  }

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

  .text-right{
	text-align: end;
  }

.form_new .form-group{
 margin 0px;
}
.form_new div.col{
   ;
   padding-left: 0px;
}

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