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



@font-face {
	font-family: 'Proxima Nova';
	src: url('/files/fonts/ProximaNova-Regular.otf') format('opentype');
	font-weight: 400;
	font-style: normal;
  }
  
  @font-face {
	font-family: 'Proxima Nova';
	src: url('/files/fonts/ProximaNova-Bold.otf') format('opentype');
	font-weight: 700;
	font-style: normal;
  }
  
  @font-face {
	font-family: 'Proxima Nova';
	src: url('/files/fonts/ProximaNova-ExtraBold.otf') format('opentype');
	font-weight: 800;
	font-style: normal;
  }
  



/**********************************/
/*         COMMON COMPONENTS
/**********************************/


.container.container-lg {
    max-width: 1470px;
}

@media (min-width: 1400px){

}
@media (min-width: 1500px){
.container.container-lg {
    max-width: 1470px;
}
}


* {
	margin: 0px;
	padding: 0px;
}
body{
  	background-color: #ffffff;
  	color:  #4d4c4c;  
	
	text-align: left;
	font-family: 'Proxima Nova',sans-serif;
	line-height: 1.4;
	height: 100%;
}
header{
	position: relative; 
	width: 100%; 
	background-color: #fbe9c3;
	border-bottom: 1px solid #fed76c;	
}

.stripe{
	width: 100%;
	margin: 0;
}
.stripe .col-sm-3{
	height: 8px;
    	margin: 0 2px;
    	max-width: calc(25% - 4px);
}
.stripe .col-sm-3.red{
	background: #fa936e;
}
.stripe .col-sm-3.yellow{
	background: #fcca6c;
}
.stripe .col-sm-3.green{
	background: #73d2a8;
}
.stripe .col-sm-3.blue{
	background: #2e75b6;
}


.logo {
    display: inline-block;
    margin: 10px 0;
}

/* horni menu */
#menu_top {
	position: relative;
	display: inline-block;
}

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

#header {
    padding: 5px 0px;
    transition: all 0.5s ease;
}

.odkaz_na_uvod{
    	font-size: 27px;
    	color: black;
    	text-decoration: none;
	font-weight: bold;
	font-family: 'Myriad Pro', Myriad;
	display: inline-block;
	padding-top: 5px;
}
.odkaz_na_uvod:hover{
	color: black;
}

.odkaz_na_uvod span{
	display: inline-block;
	margin-left: 25px;
	vertical-align: top;
    	margin-top: 20px;
}

#nadpatickou .odkaz_na_uvod{

}
#nadpatickou .odkaz_na_uvod img{
	max-width: 300px;
}

#logo{
    	text-align: left;
    	margin-top: 17px;
    	margin-bottom: 13px;
    	position: relative;
	display: inline-block;
}

#hornimenu1{
	text-align: center;
}

#mobile_open, #mobile_close {
    	display: none;
	color: transparent;
}

.ddmx .item1, .ddmx .item1:hover, .ddmx .item1-active, .ddmx .item1-active:hover {
    color: #234378;
    display: block;
    position: relative;
    text-decoration: none;
    text-align: center;
    font-size: 18px;
    font-weight: normal;
    padding: 13px 45px;
	background: #fad37e;
	border: 1px solid #fad37e;
	border-bottom: none;
}


.ddmx .item1.hasKids::before {
    display: inline-block;
    width: 0;
    height: 0;
    color: #E32236;
    margin-right: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}


.ddmx .item1:hover, .ddmx .item1-active, .ddmx .item1-active:hover, .ddmx .selected {
	text-decoration: underline;
}


.ddmxlileft .section{
	display: none;
      width: 230px;
      position: absolute;
      top: 100%;
      display: none;
      z-index: 1000;
	color: #234378;
	background: #fbe9c3;
	border: 1px solid #fbe9c3;
	text-align: left;
}

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

 .ddmxlileft .section .ddmxlileft a{
	display: block;
	padding: 7px 8px;
	padding-left: 20px;
	width: 100%;
	color: #234378;
	display: block;
	text-decoration: none;
	font-size: 17px;
}

.ddmxlileft .section .ddmxlileft a:hover, .ddmxlileft .section .ddmxlileft.selected{
	background: #fff3db;
}

.ddmxlileft a.item2 + .section{
      position: absolute;
      top: 0;
	left: 200px;
	display: none;
	color: #2c2c2c;
	background: #fff3db;
}

.ddmxlileft a.item2 + .section a:hover{
	color: #2c2c2c;
	background: #fbe9c3;
}

.ddmx .ddmxlileftsel, .ddmx .ddmxlileft {
    display: inline-block;
    padding: 0;
    margin: 0;
	margin-right: 6px;
}

.ddmx .ddmxlileftsel:last-of-type, .ddmx .ddmxlileft:last-of-type{
    background-image: none;	
}
#intro{
	position: relative;
      text-align: right;
	display: inline-block;
	vertical-align: top;
	float: right;
}
#intro img{
	width: 100%;
	height: auto;
	width: auto;
	max-height: 165px;
}

/* hlavni sloupec */
#main_content {
	width: 100%;
	height: auto;
	text-align: left;
	position: relative;
	overflow: hidden;	
	display: block;
	
}
#main_content > div{

}
#main_content.default{
	
	
}

#main_content .wrap{
	overflow: hidden;
}

#main_content .left, #main_content .right{
	display: inline-block;
	vertical-align: top;
	float: left;
}
#main_content .left{
	width: calc(100% - 300px);
	margin-right: 20px;
	position: relative;
}

#main_content .right{
	width: 280px;
	float: right;
}

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

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

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

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

#mapa_nadpis{
	max-width: 998px;
	margin: 0 auto;
	margin-top: 5px;
}
#mapa{
	margin: 10px 0;
	border-top: 1px solid #d9d9d9;
}
#mapa > div{
	/*max-width: 998px;*/
	margin: 0 auto;
	position: relative;
}

#mapa > div iframe{
	width: calc(100% - 2px) !important;
	border: 1px solid #d9d9d9;
	max-height: 300px;
}

#main_content td { 
border: 1px solid #E4E4E4; padding: 10px; line-height: 1.3em; 
} 

#nadpatickou{
	background: white;
}
#nadpatickou > div{
	max-width: 1170px;
	display: table;	
	margin: 0 auto;
	padding: 25px 0;
}
#nadpatickou .col{
	display: table-cell;
	padding: 20px 30px;
	vertical-align: middle;
	text-align: center;
	width: 30%;
}
#nadpatickou .col p{
	text-align: center;
}

#nadpatickou .col:nth-of-type(2){
	border-left: 1px solid #fed76c;
	border-right: 1px solid #fed76c;
}

#nadpatickou a.fcb{
	display: inline-block;
	width: 56px;
	height: 56px;
	background: url(/files/images/fcb_green.png) no-repeat center center;
}
#nadpatickou a.button{
	color: black;
	background: #fed76c;
	font-weight: 400;
	text-decoration: none;
	padding: 14px 46px;
	display: inline-block;
}
#nadpatickou a.button:hover{
	background: #ffb702;
	color: black;
}
.toplist{
	display: block;
	text-align: center;
	margin-top: 15px;
}

/* paticka */
#footer{
	background: #fbe9c3;
	padding-top: 30px;
	padding-bottom: 30px;
	position: relative;
}
#footer .footer-col{
	
	display: flex;
	align-items: center;
	flex-wrap: wrap;
flex-direction: column;
	justify-content: center;
}
#footer .footer-col:last-of-type{
    color: white;
	border-right: none;
}
.text-footer, .text-footer a{
    color: white;
	font-size: 18px;
	font-weight: bold;
	text-decoration: none;
}
.text-footer img{
	margin-right: 4px;
	width: 18px;
	height: 18px;
}
.text-footer a:hover, .text-footer a:focus{
	text-decoration: underline;
	color: black;
}
#footer p{
color: #234378;
}
#footer a{
color: #234378;
	text-decoration: none;
}
#footer a:hover, #footer a:focus{
color: #234378;

	text-decoration: underline;
	
}

.text-footer a:hover, .text-footer a:focus{
	text-decoration: underline;
	color: black;
}

#footer #footer_text, #footer #footer_text p, #footer #footer_text a{
	color: black;
	font-size: 17px;
	text-decoration: none;
}
#footer #footer_text a:hover{
	text-decoration: underline;
}
#footer #footer_text > div > a{
	font-weight: bold;
}
#footer #footer_text p.yellow{
	display: inline;
}
#footer #footer_text p.yellow, #footer #footer_text p.yellow a{
	color: black;
}

/* 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: black;
	font-family: 'Proxima Nova',sans-serif;
	
	margin-bottom: 25px;
	position: relative;
	padding-bottom: 5px;


   color: #234378;
    font-size: 33px;
    font-weight: bold;

}

h1.mex-clanek-nazev-anchor-outer{
	margin-bottom: 7px;
}
h2, .h2 {
    color: #234378;
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 35px;

}
h3 {
	color: black;
	font-size: 18px;
	font-weight: bold;
	font-family: 'Proxima Nova',sans-serif;
	clear: both;
	margin-top: 5px;
}
h4 {
	color: #0ea155;
	font-size: 14px;
	font-weight: 600;
}
p, li {
  margin: 0 0 12px 0;
  line-height: 1.3em;
  font-size: 17px;
  font-weight: 300;
  list-style-type: none;
  color: #202020;
}

#main_content ul{
	padding-left: 0;
}

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

#main_content td a[rel="lightbox[all]"] img, #main_content td a[rel="lightbox[all]"] img:hover{
	border: none !important;
	max-width: initial;
}
a,
a:visited {
    color: #202020;
    font-size: 17px;
font-weight: 300;

}
a:hover {
	text-decoration: underline;

}
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 0px 0px;
}


#main_content td {
     border-bottom: 1px solid #fed76c;
    padding: 5px 10px 5px 0;
    line-height: 1.3em;
    font-size: 17px;
    color: #4d4c4c;
    font-weight: 300;
    border-top: none;
    border-left: none;
    border-right: none;
}

#main_content table.doba{
	border: none;
}
#main_content table.doba td{
	border: none;
	font-size: 15px;
	font-wight: normal;
}
#main_content table.doba tr:nth-of-type(even) td{
	background: #fed76c;
}		

#green{
	border-top: 1px solid #fed76c;
	border-bottom: 1px solid #fed76c;
	background: #fff7e1;
}
#green > div{
	width: 100%;
	max-width: 1170px;
	margin: 0 auto;
	padding: 15px 0;
}

#header > .row {
    margin: 0;
    justify-content: space-between;
}
#header .title {
    font-family: 'Myriad';
    font-size: 31px;
    color: black;
    font-weight: normal;
}
.box-links{

	z-index: 500;
}
.box-link{
	display: flex;
	border: 1px solid #fed76c;
	background: white;
	justify-content: center;
	align-items: center;
	width: 180px;
	height: 50px;
	margin-bottom: 5px;
	padding: 5px;
}
.box-link img{
	max-height: 100%;
	max-width: 100%;
}
.box-link.kd:hover, .box-link.ks:focus{
	background: #2e75b6;
	border: 1px solid #2e75b6;
}
.box-link.cvik:hover, .box-link.cvik:focus{
	background: #e9edf2;
	border: 1px solid #e9edf2;
}
.box-link.cvik{
	padding: 0px;
}
.box-link.ic:hover, .box-link.ic:focus {
    background: #73d2a8;
    border: 1px solid #73d2a8;
}




.btn.btn-secondary {
    background: #234378 !important;
    border: 1px solid #234378 !important;
    color: black !important;
}




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

/* hlavicka - odkaz logo */
#head .link_logo  {
	background: url(/files/images/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 
/*********************************/

#popForm, #popForm2, #popKonto{
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;	
	left: 0;
	display: none;
	z-index: 1000;
	background: rgba(50,50,50,0.5);
}
#popForm > div, #popForm2 > div, #popKonto > div{
	width: auto;
	max-width: 500px;
	margin: 0 auto;
	margin-top: 5%;
	background: white;
	position: relative;
-webkit-box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.75);
-moz-box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.75);
box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.75);
}
#popForm > div{
	max-width: 700px;
}
#popForm2 > div{
	padding: 20px;
}
#popKonto > div{
  padding: 20px;
  width: calc(100% - 40px);
}
#form_main, #konto_main{
  position: relative;
  height: auto; 
  padding: 20px;
  width: calc(100% - 40px);
}
#form_main fieldset, #konto_main fieldset, #tritius-login-form fieldset{
	border: none;
}
div#close, div#close2, div#close3 {
    position: absolute;
    top: 0px;
    right: 5px;
    cursor: pointer;
    font-size: 25px;
}
#form_main p, #konto_main p, #tritius-login-form p{
  float: left;
  clear: both;
}
#tritius-login-form label{
	font-size: 16px;
    font-family: "Proxima Nova";
    font-weight: 300;
}
#form_main input, #form_main textarea, #form_main select,
#konto_main input{
  float: right;
  padding: 1.5%;
  width: 60%;
  margin-bottom: 5px;
  color: #000;
  border: 1px solid #fed76c;
  background-color: white;
    font-size: 16px;
    font-family: "Proxima Nova";
    font-weight: 300;
}
#tritius-login-form input[type="text"], #tritius-login-form input[type="password"]{
  color: #000;
  border: 1px solid #fad37e;
  background-color: white;
    font-size: 16px;
    font-family: "Proxima Nova";
    font-weight: 300;
}
#tritius-login-form input[type="submit"]{
    background: #fed76c;
    border: 1px solid #fed76c;
    padding: 5px 25px 7px 25px;
    color: white;
    font-size: 16px;
	border-radius: 0;
}
#tritius-login-form input[type="submit"]:hover{
    background: #fed76c;
}
#form_main select{
	padding: 0 1.5%;
	width: 63%;
}

#form_main input.alert, #form_main textarea.alert, #konto_main input.alert, #tritius-login-form input.alert{
	border: 1px solid red;
}

#form_main textarea{
	height: 100px;
}

h2.form_title{
	font-size: 30px;
	color: #292929;
	font-weight: 300;
	margin-top: 8px;
}

#form_main p.submit, #konto_main p.submit{
	float: right;
	margin-top: 10px;
}

#form_main p.submit input, #konto_main p.submit input{
	padding: 7px 30px;
    	color: black;
    	background: #fed76c;
	cursor: pointer;
	display: inline-block;
	width: auto;
	float: right;
	font-size: 18px;
      font-weight: 400;
	border: 1px solid #fed76c;
}
#konto_main p.submit input{
	float: none;
}

#form_main p.submit input:hover,
#konto_main p.submit input:hover{
	    background: #5cc201;
	color: white;
}
p.red{margin-left: 60px;}

input.alert,
textarea.alert {
  border: solid 1px red;
}
/***************************/
/*  PRODUKTY
/***************************/


.breadcrumb {
    margin: 0;
    border-radius: 0;
    background: none;
    padding: 30px 0;
    
}

.breadcrumb a, .breadcrumb span{
	display: inline-block;
	padding: 0 5px;
}
.breadcrumb a, .breadcrumb{
	color: #3C3C3C;
	font-size: 14px;
}

#knihy{
	position: relative;
	margin: 0 30px;
}
.kniha_box{

	text-align: center;
	position: relative;
}
.kniha_box a.mainLink{
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 10;
}
.kniha_box .title{
	font-weight: 300;
	font-size: 17px;
	text-align: center;
      padding: 26px 52px;
}
.kniha_box .kniha_img{
	margin-bottom: 10px;
	height: 240px;
	position: relative;
	width: 100%;
}
.kniha_box .kniha_img img{
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
}
.kniha_box:hover .title{
	text-decoration: underline;
}

/***************************/
/*  AKTUALITY
/***************************/
article{
	position: relative;
}
.aktuality_col_container {
  width: auto;
  height: auto;
}
.aktuality_col_container .aktuality_box {
  width: auto;
  height: auto;
  overflow: hidden;
  margin-top: 10px;
  padding-bottom: 10px;
  clear: both;
  border-bottom: 1px solid #fed76c;
}
.aktuality_col_container .aktuality_box:last-of-type{
	border-bottom: none;
}
.aktuality_col_container .aktuality_date {
    color: #303030;
    
    font-weight: 300;
    margin-bottom: 5px;
}
.aktuality_col_container .aktuality_name {
  padding: 6px 0px 3px;
}
.aktuality_col_container .aktuality_name a,
.aktuality_col_container .aktuality_name a:visited {
color: #234378;
  font-weight: bold;
    margin-bottom: 35px;
text-decoration: none;

}


.aktuality_col_container .aktuality_name a:hover {
  color: black;
  text-decoration: underline;
text-decoration: none;
}

.aktuality_col_container .aktuality_text {
  text-align: left;
}
.aktuality_col_container .aktuality_text p{
	height: 44px;
	overflow: hidden;
}
.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;
}
.aktuality_col_container .aktuality_img {
  float: left;
  margin-right: 10px;
}
.aktuality_col_container .aktuality_img a{
  width: 212px;
  position: relative;
  height: 150px;
  
  background: #fffcf4;
  display: block;
}
.aktuality_col_container .aktuality_img a:hover{
	background: #fed76c;
}
#main_content .aktuality_col_container .aktuality_img img:hover{
	border: none !important;
}
.aktuality_col_container .aktuality_vice_odkaz {
	    margin-top: 12px;
}

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

.aktuality_col_container .aktuality_vice_odkaz a:hover{
	background: #ffb702;
	border: 1px solid #ffb702;
	color: black;
}

.aktuality_vice_odkaz.abs a{
	position: absolute;
	right: 0;
	top: 25px;	
	display: inline-block;
	vertical-align: bottom;
	width: 177px;
    	text-align: center;
	padding: 8px 3px;
    	border: solid 1px #fed76c;
    	background: #fed76c;
	color: white;
	text-decoration: none;
      font-size: 17px;
}

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

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

.slidesjs-previous {
    background: url(/files/images/prev.png) no-repeat left top;
    left: 15px;
}
.slidesjs-next {
    background: url(/files/images/next.png) no-repeat left top;
    right: 15px;
}
.slidesjs-navigation, .slidesjs-navigation:hover {
    color: transparent;
    position: absolute;
    bottom: 43%;
    height: 62px;
    width: 35px;
    display: block;
    z-index: 100;
}

#header figcaption{
	position: absolute;
	top: 44%;
	max-width: 972px;
      left: 0;
      right: 0;
	margin: auto;
	color: #c2a126;
	font-family: 'Proxima Nova Slab';
	font-size: 36px;
	padding: 0px 20px 5px 20px;
	background: rgba(0,0,0,0.5);
	line-height: 60px;
	text-align: center;
	text-shadow: 2px 2px 1px rgba(0, 0, 0, 1);
}
#header #slides figcaption{

}
/*************
SLIDESHOW AKTUALITY
**************/
#aktuality_slide{
	margin-bottom: 20px;
}
#aktuality_slide .aktuality_box {
	background: #fbe9c3;
	border: 1px solid #fbe9c3;
	position: relative;
	margin-top: 0;
	margin-bottom: 0;
	transition: all 0.5s ease;
}

#aktuality_slide .aktuality_box:hover .btn-terciary, #aktuality_slide .aktuality_box:hover .btn-terciary2, #aktuality_slide .aktuality_box:focus .btn-terciary, #aktuality_slide .aktuality_box:focus .btn-terciary2 {
    background: #011c66;
    border: 1px solid #011c66;
    color: white !important;
}


@media screen and (max-width: 800px){
	#aktuality_slide .aktuality_box {
		padding: 0 15px;
	}
}

#aktuality_slide .aktuality_inner{
	padding: 15px;
	padding-left: 0;
	display: flex;
	flex-direction: column;
	height: 100%;
	max-height: 270px;
}

@media screen and (max-width: 800px){
	#aktuality_slide .aktuality_inner {
		padding: 15px;
		text-align: center;
		padding-bottom: 1.5rem;
	}

	.aktuality_name{
		text-align: center;
	}

	h2.aktuality_name{
		margin: 0 0 1rem 0;
		}

			p.aktuality_date{
		margin-bottom: 1rem !important;
		}

	.aktuality_box .col-md-7{
		padding: 0px !important;
	}

	.mobile-no-padding{
		padding: 0 !important;
	}
		.mobile-text-center{
				text-align: center !important;
			}

	.box-links{
		padding: 0px !important;
	}

	#aktuality_slide .aktuality_img img{
	
		}
}

#aktuality_slide .aktuality_text {
    flex: 1;
    overflow: hidden;
	margin-bottom: 20px;
	color: #323232;
}

#aktuality_slide h2 {
margin-bottom:12px !important;
}

#aktuality_slide .aktuality_name a{
	color: #234378;
	font-size: 19px;
	text-decoration: none !important;
	font-weight: bold;
	height: 2.6em;
    	overflow: hidden;
}

.aktuality_name{
	font-size: 19px;
}

#aktuality_slide .btn-more{
	color: #234378;
	font-size: 18px;
	text-decoration: underline;
}

.aktuality_slide:hover .btn-more {
    color: #e32236;
}

#aktuality_slide .aktuality_date{
color: #323232;
	font-size: 18px;
	font-weight: 300;
	margin-bottom: 30px;
}
#aktuality_slide .aktuality_date:before{
	content: "\f017";
	font-family: "Font Awesome 5 Free"; 
	font-weight: 400;
	color: #e32236;
	margin-right: 6px;
}

#aktuality_slide .aktuality_text p{
    	font-size: 18px;
	font-weight: 300;
    	text-align: center;
}

#aktuality_slide .aktuality_img{
	width: 100%;
	position: relative;
	    height: 270px;
	overflow: hidden;
}


#aktuality_slide .aktuality_img img {
	border: none !important;
	max-width: 100%;
	max-height: 100%;
	width: auto;

	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;

	margin: auto;
}


.aktualita-datum i {
    color: #e32236;
}


.aktualita-table {
    width: 100%;
}

.aktualita-detail-box {
    
background-color: #fbe9c3;
    padding: 20px;
    margin-bottom: 20px;
    margin-right: 20px;
border: 1px solid #fed76c;
}


@media (min-width: 769px) {
	#aktuality_slide .aktuality_img img {
		right: auto;
		margin: auto;
	}
}
.numbering, .numbering.numbering_books{
	width: 100% !important;
}
.slick-dots{
	position: relative;
	bottom: auto;
	margin-bottom: 30px;
}
#main_content .slick-dots li, #green .slick-dots li{
	background: none;
	padding-left: 0;
	margin: 0;
}
#aktuality_slide .slick-slide {
    	margin: 0 15px;
}

#aktuality_slide .slick-list {
    	margin: 0 -15px;
	padding-top: 50px;
}
.slick-dots{
	text-align: left;
}
@media screen and (max-width: 1200px){
	.slick-dots{
		text-align: center;
	}
	.center-div{
		text-align: center;
	}
}
.slick-dots li{
	margin: 0;
}
.slick-dots li button{
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #234378;
}
.slick-dots li button:hover, .slick-dots li.slick-active button{
	background: #e32236;
}
.slick-dots li button:before{
	content: "";
}
#aktuality_slide .aktuality_box:hover, #aktuality_slide .aktuality_box:focus{
    border: 1px solid #011c66;
	
}
#aktuality_slide .aktuality_box:hover .btn-more, #aktuality_slide .aktuality_box:focus .btn-more{
	color: #E32236;
}

#aktuality_slide .aktuality_box:hover .btn-terciary, #aktuality_slide .aktuality_box:focus .btn-terciary{
    background: #011c66;
       border: 1px solid #011c66;
    color: white !important;
}



/***********
event-card
************/



   .event-card {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            max-width: 500px;
            width: 100%;
            display: flex;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }
        
        .event-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        }
        
        .event-card__image-section {
            flex: 1;
            position: relative;
            overflow: hidden;
        }
        
        .event-card__image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
        
        .event-card__content {
            flex: 1;
            padding: 24px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            background-color: #fafafa;
        }
        
        .event-card__title {
            font-size: 24px;
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 16px;
            line-height: 1.3;
        }
        
        .event-card__date-container {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 16px;
        }
        
        .event-card__date-icon {
            width: 18px;
            height: 18px;
            color: #e74c3c;
        }
        
        .event-card__date {
            color: #7f8c8d;
            font-size: 16px;
            font-weight: 500;
        }
        
        .event-card__description {
            color: #34495e;
            font-size: 16px;
            line-height: 1.5;
            margin-bottom: 20px;
            flex-grow: 1;
        }
        
        .event-card__action {
            color: #3498db;
            text-decoration: underline;
            font-size: 16px;
            font-weight: 500;
            cursor: pointer;
            transition: color 0.2s ease;
        }
        
        .event-card__action:hover {
            color: #2980b9;
        }
        
        @media (max-width: 768px) {
            .event-card {
                flex-direction: column;
                max-width: 350px;
            }
            
            .event-card__image-section {
                height: 200px;
            }
            
            .event-card__content {
                padding: 20px;
            }
            
            .event-card__title {
                font-size: 20px;
            }
        }


.vice_odkaz{
	text-align: center;
	margin: 15px 0;
}
.vice_odkaz a{
	display: inline-block;
	font-weight: bold;
	font-size: 17px;
	color: black;
	padding: 7px 10px 8px 10px;
	border: 1px solid #fed76c;
	text-decoration: none;
	background: white url(/files/images/arrow_right.png) no-repeat center right 7px;
	padding-right: 25px;
}
.vice_odkaz a:hover{
	background: #ffb702 url(/files/images/arrow_right_white.png) no-repeat center right 7px;
	color: black;
	border: 1px solid #ffb702;	
}

p.title{
	font-size: 24px;
	font-weight: 400;
	color: #234378;
}
span.round{
	display: inline-block;
	color: white;
	background: #ffb702;
	width: 34px;
	height: 33px;
	border-radius: 30px;
	text-align: center;
    	line-height: 30px;
	margin-right: 10px;
	vertical-align: bottom;
}
span.round.time{
	background: #ffb702 url(/files/images/time.png) no-repeat center center;
}
span.round.katalog{
	background: #ffb702 url(/files/images/lupa.png) no-repeat center center;
}
span.round.konto{
	background: #ffb702 url(/files/images/book.png) no-repeat center center;
}
span.round.fb{
	background: #ffb702 url(/files/images/fcb_small.png) no-repeat center center;
}	
span.round.kalendar{
	background: #ffb702 url(/files/images/kalendar-ico.png) no-repeat center center;
}
span.round.youtube{
	background: #ffb702 url(/files/images/youtube-ico.png) no-repeat center center;
}
span.round.bordered{
	border: 3px solid #ffebb8;
	width: 40px;
	height: 40px;
	border-radius: 46px;
	vertical-align: middle;
}	
a.link{
	display: block;
	border-bottom: 1px solid #fed76c;
	color: black;
	text-decoration: none;
	margin-bottom: 25px;
	height: 35px;
	margin-left: 10px;
      margin-top: 24px;
}
a.link:hover{
	border-bottom: 1px solid #ffb702;
	color: black;
}
a.link span.round.bordered{
	margin-left: -10px;
} 
a.link:hover span.round.bordered{
	border: 3px solid #ffb702;	
}
a.link:hover span.round.katalog{
	background: #ffb702 url(/files/images/lupa.png) no-repeat center center;
}
a.link:hover span.round.konto{
	background: #ffb702 url(/files/images/book.png) no-repeat center center;
}
a.link:hover span.round.fb{
	background: #ffb702 url(/files/images/fcb_small.png) no-repeat center center;
}
a.link:hover span.round.kalendar{
	background: #ffb702 url(/files/images/kalendar-ico.png) no-repeat center center;
}
a.link:hover span.round.youtube{
	background: #ffb702 url(/files/images/youtube-ico.png) no-repeat center center;
}
#kalendar{
	max-width: 100%;
}	
/***********
RESPONSIVE
************/

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

#header > .row{
	margin: 0;
}
#menu_top{
	height: auto;
	width: 100%;
	text-align: center;
}

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

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

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

#reference2{
	text-align: center;
}

.reference2_box, .reference2_box:nth-of-type(3n+3){
	margin-right: 15px;
	margin-left: 15px;
}

.reference_box{
	width: 44%;
	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;
}

#main_content > div,
#green > div{
	width: 96%;
	overflow: hidden;
}

#header .col-md-auto {
    flex-basis: 100%;
    max-width: 100%;
    text-align: center;
}



}

@media screen and (max-width: 900px){
#intro{
	display: none;
}
#logo{
	width: 96%;
	margin: 0 auto;
	display: block;
	text-align: center;
}
}

@media screen and (max-width: 800px){
#mobile_open, #mobile_close{
    text-align: center;
    width: 100%;
    height: 30px;
    padding-bottom: 45px;
    margin-bottom: 10px;
    vertical-align: top;
    cursor: pointer;
	font-size: 25px;
	background-color: transparent;
border: none;
    color: #284178;
}

#mobile_open {
  
    display: block;
}
#mobile_close {
   
}
#hornimenu1 {
    display: none;
    position: absolute;
    left: 0;
    z-index: 500;
    background: #fed76c;
}
#hornimenu1.visible {
    display: block;
    overflow: hidden;
	width: 100%;
}
.ddmx .ddmxlileftsel, .ddmx .ddmxlileft{
	background-image: none;
	display: block;
	margin-right: 0;
}
.ddmxlileft .section {
    width: 100%;
	border-left: none;
	border-right: none;
}
.ddmxlileft .section, .ddmxlileft a.item2 + .section{
	position: relative;
	top: auto;
	left: auto;
}
#main_content .left, #main_content .right{
	width: 100%;
}
#main_content .left{
	margin-bottom: 15px;
}
#main_content table.doba{
    width: 100%;
}
#nadpatickou > div{
	display: block;
}
#nadpatickou .col{
	display: block;
	width: calc(100% - 40px);
	padding: 20px;
	text-align: center;
}
#nadpatickou .col:nth-of-type(2){
	width: calc(100% - 40px);
	padding: 20px;
	border-left: none;
	border-right: none;
}
#nadpatickou .col .mail, #nadpatickou .col .tel{
	display: inline-block;
}
#aktuality_slide .aktuality_box, #aktuality_slide .aktuality_box:nth-of-type(2n+2){
    border-left: none;
    border-right: none;
}
.aktuality_col_container .aktuality_img{
	float: none;
	text-align: center;
}
.aktuality_col_container .aktuality_img a{
	display: inline-block;
}
.aktuality_col_container .aktuality_name,
.aktuality_col_container .aktuality_text p{
	text-align: center;
}
.aktuality_col_container .aktuality_date{
	text-align: center;
}
.aktuality_col_container .aktuality_vice_odkaz{
	margin-top: 5px;
	text-align: center;
}
#main_content .reference_col_container.detail .reference_text img{
	margin-right: 0;
	max-width: calc(100% - 10px);
	float: none;
}
#form_main input, #form_main textarea, #form_main select, #konto_main input{
	width: calc(97% - 2px);
	float: none;
}
#footer_text > div{
	padding: 0;
}
#footer_text .toplist{
	position: relative;
	top: auto;
	right: auto;
	display: block;
}
}
	
@media screen and (max-width: 640px){


#logo{
	width: 96%;
	margin: 10px 2%;
	background-position: top center;
	padding-left: 0;
}

.odkaz_na_uvod span{
	margin-top: 10px;
	margin-left: 0;
}

.box_container {
    display: block;
}

#main_content section.box, #main_content section.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_img a{
	max-width: 100%;
}

#main_content .reference_col_container.detail .reference_img img{
	width: 96% !important;
	margin: 0;
}

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

#main_content img{
	max-width: 94%;
	height: auto !important;
}

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

#header figcaption{
	line-height: 30px;
      font-size: 15px;
}

#header #slides figcaption{
	bottom: 5px;
}

.aktuality_vice_odkaz.abs a{
	position: relative;
	right: auto;
	top: auto;
}

}







div.modal-header {
    background: #fed76c;
}

div.modal-dialog .modal-title {
    color: black;
    font-size: 25px;
    font-weight: 700;
}

div.modal-dialog .modal-header .close {
    margin: 0 0 auto;
    border: 1px solid black;
    border-radius: 5px;
    padding: .4rem .7rem;
    color: black;
    opacity: 1;
    -webkit-transition: all .3s;
    -ms-transition: all .3s;
    transition: all .3s;
}

div.modal-dialog .modal-body {
    background-color: #ffffff;
}


/**********************************/
/*         BUTTONS
/**********************************/

.btn-wrap{
	display: block;
	margin-top: 8px;
	clear: both;
}
.btn,  .camera_wrap .btn{
	text-decoration: none !important;
	font-weight: bold;
	font-size: 17px;
	box-shadow: none !important;
	padding: .375rem .75rem;
	border-radius: 0;
	display: inline-block;
}
.btn.btn:active{
	
}
.btn.btn-primary {
    background: transparent;
    border: 1px solid #234378;
    color: #234378 !important;
    font-size: 18px;
    font-weight: bold;
    padding: 10px 35px;
    position: relative;
    margin-bottom: 10px;
    min-width: 200px;
}
.btn.btn-primary:hover, .btn.btn-primary:focus, .reference_box:hover .btn.btn-primary{
	background: #234378;
	border: 1px solid #234378;
	color: white !important;
}
.btn.btn-secondary{
	background: #234378;
	border: 1px solid #234378;
	color: black !important;
}
.btn.btn-secondary:hover, .btn.btn-secondary:focus, .article-thumb:hover .btn.btn-secondary{
	background: #234378;
	border: 1px solid #234378;
	color: black !important;
}
.btn.btn-terciary{
	background: transparent;
	border: 3px solid #f9d37e;
	color: #234378 !important;
	font-size: 18px;
	font-weight: normal;
	padding: 12px 25px;
	position: relative;
}

.btn.btn-terciary2 {
    background: transparent;
    border: 1px solid #234378;
    color: #234378 !important;
	font-size: 18px;
    font-weight: normal;
	padding: 12px 25px;
    position: relative;
}

.col.mobile-text-center .btn {
    margin-top: auto;
    width: fit-content;
}

.btn.btn-terciary:hover, .btn.btn-terciary:focus{
	background: #f9d37e;
	border: 3px solid #f9d37e;
	color: #234378 !important;
}

.btn.btn-terciary2:hover, .btn.btn-terciary2:focus{
	background: #234378;
	border: 3px solid #234378;
	color: #234378 !important;
}

.btn-icon-group {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 350px;
	
}


.col.mobile-text-center {
  display: flex;
  flex-direction: column;
justify-content: space-between;
}

.col.mobile-text-center .btn {
  margin-top: auto;
  width: fit-content;
}

.btn.btn-icon {
	background: transparent;
	border: 3px solid #fad37e;
	color: #234378 !important;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	padding: 26px 60px;
	display: flex;
	align-items: center;
	gap: 16px;
	width: 100%;
	box-sizing: border-box;
}

.btn.btn-icon i {
	color: #E32236;
	font-size: 26px;
	width: 30px;
	text-align: center;
	flex-shrink: 0;
}

.btn.btn-icon:hover, .btn.btn-icon:focus {
	background: #fad37e;
	border-color: #fad37e;
	color: #234378 !important;
}


.center-div .btn.btn-terciary {
		    margin-bottom: 9px;
    		    margin-right: 6px;
	}

  .center-div .btn.btn-terciary2 {
		    margin-bottom: 9px;
    		    margin-right: 6px;
	}



#btn-FormSendMail {
    background-color: #fed76c;
    border: 1px solid black;
    border-radius: 5px;
    padding: .4rem .7rem;
    color: black;
    opacity: 1;
    -webkit-transition: all .3s;
    -ms-transition: all .3s;
    transition: all .3s;
}
#btn-FormSendMail:hover {
    background-color: #ffb702;
    color: black;
    border: 1px solid black;
    text-decoration: none;
}



.link-fill {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: block;
    color: transparent !important;
    z-index: 1;
}


  .index table {
            border-collapse: collapse;
            border: 3px solid #fad37e;
	      width: 540px;
        }

       .index td {
            padding: 15px 20px;
            background-color: #fbe9c3;
            color: #323232;
            border: 1px solid #fad37e;
	      font-size: 17px;
        }

        .index td:first-child {
            background-color: #fad37e;
        }







.section-boder-a {
  padding: 50px 0;
}

.section-boder-b {
  padding: 50px 0;
}

@media (max-width: 768px) {
  .section-boder-a {
    padding: 20px 0;
  }

  .section-boder-b {
    padding: 20px 0;
  }
}

footer{
	padding: 40px 0;
}

footer p, footer a, footer a:visited{
	color: #234378;
	font-size: 16px;
	text-decoration: none;
}


.searchbox .search_text {
    border: 1px solid #234378;
    border-right: none;
    padding: 0.25em;
    padding-left: 25px;
    font-size: 16px;
    font-weight: 300;
    color: black;
    border-radius: 0;
    width: 300px;
}










/***************************/
/*  AKTUALITY
/***************************/
.article-thumb .aktuality_img {
    	height: 100%;
    	width: 100%;
	margin: 0;
	text-align: center;
	position: relative;
}
.article-thumb{
	position: relative;
    	background: #fbe9c3;
	border: 1px solid #f9d37e;
	padding: 5px;
}
.article-thumb:hover{
	border: 1px solid #f9d37e;
}
.article-thumb .aktuality_img a{
	width: 100%;
	height: 100%;
	display: block;
	position: relative;
	text-align: center;
	overflow: hidden;
}
.article-thumb .aktuality_img img{
   /* 	position: absolute; */
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	max-height: 100%;
	max-width: 100%;
	height: auto !important;
	width: auto !important;
}
h2.aktuality_name {

	font-size: 19px;
	font-weight: bold;
}
.aktuality_date i{
	margin-right: 10px;
	color: #e32236;
}
.text-300{
	
	font-weight: 300;
}
.aktuality_text {
    	height: 2.6rem;
    	overflow: hidden;
	margin-bottom: 10px;
	font-size: 17px;
	
	font-weight: 300;
}
.article-thumb .btn.btn-terciary{
	margin-bottom: 0px;
}
.article-thumb:hover .btn.btn-terciary2, .article-thumb:focus .btn.btn-terciary2{
	background: #234378;
    	border: 1px solid #234378;
    	color: white !important;
}





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


.navbar-toggler {
    	display: block !important;
    	color: #284178;
    	font-size: 25px;
    	vertical-align: middle;
    	outline: none !important;
    	line-height: 25px;
    	width: 100%;
	padding: 10px 10px 17px 10px;
}
.navbar-toggler-icon {
    	font-size: 25px;
    	height: auto;
    	vertical-align: initial;
    	margin-bottom: 0;
    	color: #2d3e78;
}
}







.box-link {
    display: flex;
    border: 1px solid #fed76c;
    background: white;
    justify-content: center;
    align-items: center;
    width: 75px;
    height: 75px;
    margin-bottom: 5px;
    padding: 5px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.box-links {
    gap: 5px;
    z-index: 500;
    display: flex;
    justify-content: center;
    transform: translateY(-10px);
}


@media screen and (max-width: 1460px) {
    .box-links{
	margin-bottom: 0;
}
.box-link{
	display: inline-flex;
	margin: 4px 0;
	height: 47px;
}
}

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

	.box-link{
		
		width: 180px;
		
	}
    }


    @media (min-width: 768px) {
.box-links{
   padding-right: 0px;
}
}

@media screen and (max-width: 800px) {
    .box-links {
        margin-top: 15px !important;
    }
}



/* Normal ( -m.png ) */
.logo-cvik      { background-image: url("/files/images/v2/cvik-m.png"); }
.logo-podkrovi  { background-image: url("/files/images/v2/podkrovi-m.png"); }
.logo-ic        { background-image: url("/files/images/v2/ic-m.png"); }
.logo-kdsvet    { background-image: url("/files/images/v2/kd-m.png"); }

/* Hover ( -b.png ) */
.logo-cvik:hover      { background-image: url("/files/images/v2/cvik-b.png"); }
.logo-podkrovi:hover  { background-image: url("/files/images/v2/podkrovi-b.png"); }
.logo-ic:hover        { background-image: url("/files/images/v2/ic-b.png"); }
.logo-kdsvet:hover    { background-image: url("/files/images/v2/kd-b.png"); }

.logo-cvik, .logo-knihovna, .logo-ic, .logo-kdsvet,.logo-podkrovi{
	background-size: 40px auto;
}

/* Desktop: normal layout */
.h-scroll {
  overflow-x: visible;
}

/* Mobile only */
@media (max-width: 768px) {
  .h-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch; /* iOS momentum scroll */
    scrollbar-width: none;             /* hide scrollbar Firefox */
  }

  .h-scroll::-webkit-scrollbar {
    display: none;                     /* hide scrollbar Chrome/Safari */
  }

  .h-scroll > * {
    display: inline-flex;              /* children sit side by side */
  }
}

@media (max-width: 768px) {
.index table {
    width: auto;
}
}




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


.logo img{
	max-height: 50px;
}

}


.article-thumb .btn.btn-terciary, .article-thumb .btn.btn-terciary2, .article-thumb .btn.btn-terciary3{
    width: 180px;
    margin-top: 5px;
}


.btn.btn-terciary3 {
    background: #224378;
    border: 1px solid #224378;
    color: #ffffff !important;
    font-size: 18px;
    font-weight: normal;
    padding: 12px 25px;
    z-index: 9999;
}


.btn.btn-terciary3:hover {
    background: #ffffff;
    border: 1px solid #224378;
    color: #224378 !important;
}