/*************************/
/***   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: #ffffff;
  	color:  #4d4c4c;  
	font-size: 75%;
	text-align: left;
	font-family: Roboto,sans-serif;
	line-height: 1.4;
	height: 100%;
}
header{
	position: relative; 
	width: 100%; 
	background: #f4faff url(/files/images/bcg.jpg) no-repeat center bottom;
}
.default header{
	background: #fcfeff url(/files/images/header.jpg) no-repeat center bottom;
}

#stripe{
	text-align: center;
	background: #002446;
	padding: 3px 0;
}
#stripe p, #stripe a{
	font-weight: 300;
	color: white;
	text-decoration: none;
	display: inline-block;
	font-size: 16px;
	margin-bottom: 0;
	line-height: 27px;
}
#stripe p{
	margin: 0 8px;
}
#stripe a:hover{
	text-decoration: underline;
	color: #98cdff;
}
#stripe p.mail a{
	background: url(/files/images/obalka.png) no-repeat left center;
	padding-left: 30px;
}
/*#stripe p.mail a:hover{
	background: url(/files/images/obalka_hover.png) no-repeat left center;
}*/
#stripe p.tel a:first-of-type{
	background: url(/files/images/tel.png) no-repeat left center;
	padding-left: 30px;
}
/*#stripe p.tel a:first-of-type:hover{
	background: url(/files/images/tel_hover.png) no-repeat left center;
}*/
#stripe p.fcb a{
	background: url(/files/images/fcb.png) no-repeat left center;
	padding-left: 35px;
}
/*#stripe p.fcb a:hover{
	background: url(/files/images/fcb.png) no-repeat left center;
}*/
#stripe p.doba span{
	color: #c2a126;
	font-weight: normal;
}	

/* horni menu */
#menu_top {
	position: relative;
	width: 100%;
}

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

#header{
	position: relative;
	text-align: left;
	display: block;
	width: 1024px;
	margin: 0 auto;
}

.odkaz_na_uvod{
    	text-decoration: none;
	display: block;
}

#logo{
    	margin: 5px 0;
    	position: relative;
	display: inline-block;
	vertical-align: top;
	margin-right: 40px;
}
p.nadpis{
	color: black;
	font-size: 26px;
	font-weight: 300;
	display: inline-block;
	vertical-align: top;
	margin-top: 37px;
}
p.nadpis strong{
	font-weight: bold;
}
p.zaruka{
	position: absolute;
	top: -10px;
	z-index: 100;
	right: 0;
}
#intro{
	position: relative;
      text-align: center;
}

#intro > div{
	max-width: 1024px;
    	margin: 0 auto;
	position: relative;
}
#intro #slides{
	max-width: 1200px;
	margin: 0 auto;
	position: relative;
}
#intro img{
	width: 100%;
	height: auto;
	display: block;
}
#intro figcaption{
	background: rgba(0,0,0,0.5);
	z-index: 100;
	position: absolute;
	bottom: 30px;
	left: 10px;
	right: 10px;
	padding: 10px;
	text-align: center;
	color: white;
	font-weight: normal;
	font-size: 26px;
}

/* hlavni sloupec */
#main_content {
	height: auto;
	padding: 15px 0;
	text-align: left;
	width: 1024px;
	margin: 0 auto;
	position: relative;
	display: block;
	overflow: hidden;
}
#left_col{
	width: 250px;
	float: left;
	margin-right: 15px;
	margin-bottom: 15px;
}
.ddmylileft{
	border-top: 1px solid #db0404;
	border-radius: 3px;
}
.ddmy .ddmylileft a{
	background: #c00101;
   	background: linear-gradient(#db0404, #c00101);
	border-top: 1px solid #ef9292;
	color: white;
	padding: 15px 30px;
	font-size: 17px;
	font-weight: normal;
	display: block;
	border-radius: 3px;
	margin-bottom: 1px;
	text-decoration: none;
}
.ddmy .ddmylileft a:hover, .ddmy .ddmylileft a.selected{
	color: white;
	text-decoration: none;
	background: #ab0101;
	border-top: 1px solid #ab0101;
}
#mobile_open, #mobile_close {
    display: none;
    color: transparent;
    height: 0;
}
#content{
	overflow: hidden;
}

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

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

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

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

#mapa_nadpis{
	margin: 0 auto;
	margin-bottom: 10px;
}
#mapa{
	margin: 10px 0;
	display: table;
	width: 100%;
}
#mapa > div{
	display: table-cell;
	margin: 0 auto;
	position: relative;
	height: 300px;
	width: 60%;
	max-height: 300px;
}
#mapa > div:nth-of-type(2){
	background: url(/files/images/lokace.jpg) no-repeat center center;
	background-size: cover;
	overflow: hidden;
	border-bottom: 4px solid white;
}
#mapa > div iframe{
	max-height: 300px;
	width: 100%;
}
.default #mapa{
	width: calc(100% - 320px);
}
.default #mapa > div{
	height: 240px;
	border: 3px solid white;
	width: 50%;
}
.default #mapa > div iframe{
	height: 240px;
}	
#main_content table { 
border: 1px solid #E4E4E4; width: auto; height: auto; 
} 
#main_content td { 
border: 1px solid #E4E4E4; padding: 10px; line-height: 1.3em; 
} 


/* paticka */
#footer {
	color: #4a4949;
	height: auto;
	width: 960px;
	margin: 0 auto;
	text-align: left;
	background: transparent;
	border: none;
}
footer{
  background: #002446;
  z-index: 0;
  width: 100%;

}
#footer a,
#footer a:visited,
#footer a:hover {
	color: #d3e7ff;
	text-decoration: none;
}
#footer_text{ padding: 2em 0; overflow: hidden;}
#footer #footer_text, #footer #footer_text p, #footer #footer_text a{
	color: white;
	font-size: 15px;
}

#footer #footer_text a:hover{
	color: #98cdff;
	text-decoration: underline;
}

#footer .col{
	display: inline-block;
	vertical-align: top;
	float: right;
}

#footer .col:nth-of-type(3){
	width: calc(56% - 20px);
	padding: 15px;
	padding-left: 0;
	
}
#footer .col:nth-of-type(3) > div:nth-of-type(1) {
	padding-bottom: 15px;
	border-bottom: 1px solid #1c4a75;
}
#footer .col:nth-of-type(3) > div:nth-of-type(2) {
	padding-top: 15px;
}
#footer .col:nth-of-type(1),#footer .col:nth-of-type(2){
	padding: 15px;
	width: calc(22% - 35px);
	border-left: 1px solid #1c4a75;
	min-height: 105px;
}
#footer .col p{
	margin-bottom: 4px;
}
#footer .col p strong{
	margin-bottom: 10px;
    	display: block;
}
/* 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: 'Roboto',sans-serif;
	font-size: 26px;
      font-weight: normal;
}
h2 {
	color: black;
	font-size: 24px;
	font-weight: 300;
	font-family: 'Roboto',sans-serif;
      margin-top: 20px;
}
h3 {
	color: black;
	font-size: 18px;
	font-weight: bold;
	font-family: 'Roboto',sans-serif;
	clear: both;
}
h4 {
	color: black;
	font-size: 14px;
	font-weight: bold;
}
p, li {
  margin: 0 0 12px 0;
  line-height: 1.3em;
  font-size: 17px;
  font-weight: 300;
  list-style-type: none;
  color: black;
  text-align: justify;
}

#main_content ul{
	padding-left: 0;
}

#main_content li{ 
  background: url(/files/images/tick.png) no-repeat left top 6px;
  list-style: none;
	padding-left: 25px;
  
}

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

#main_content a[rel="lightbox[all]"] img{
	border: 3px solid white;
	margin: 4px;
}
#main_content a[rel="lightbox[all]"] img:hover{
	border: 3px solid #cae5ff !important;
}
a,
a:visited {
    	color: black;
	font-weight: 300;
    	font-size: 17px;
}
a:hover {
	text-decoration: none;
	color: #ce0202;
}
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 table {
  border: 1px solid #ffffff;
  width: auto;
  height: auto;
}

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

.blue{
	background: #ebf6ff;
}
.blue > div, .white > div{
	width: 100%;
	max-width: 1024px;
	margin: 0 auto;
	padding: 30px 0;
	overflow: hidden;
}
.blue > div > div{
	overflow: hidden;
}
.blue li{
	background: url(/files/images/odr.png) no-repeat left top 7px;
	padding-left: 15px;
	list-style: none;
}
.blue .col{
	display: inline-block;
	vertical-align: top;
	width: 59%;
}
.blue .col:first-of-type{
	width:40%;
}
.white p.lined{
	padding-bottom: 15px;
	text-align: center;
	border-bottom: 1px solid black;
	margin-bottom: 25px;
}
.formBox{
	float: right;
	margin-top: 35px;
}
.formBox p{
	font-size: 24px;
	text-align: center;
}
.formBox p.bubble{
	height: 54px;
	background: url(/files/images/otaznik.png) no-repeat center center;
}
.formBox p.button{
	border-top: 1px solid #db0404;
    	border-radius: 3px;
}
.formBox p.button a{
	background: #c00101;
    	background: linear-gradient(#db0404, #c00101);
    	border-top: 1px solid #ef9292;
    	color: white;
    	padding: 15px 30px;
    	font-size: 24px;
    	font-weight: normal;
    	display: block;
   	border-radius: 3px;
    	margin-bottom: 1px;
    	text-decoration: none;
	font-weight: 300;
	cursor: pointer;
}
.formBox p.button a:hover{
    	color: white;
    	text-decoration: none;
    	background: #ab0101;
    	border-top: 1px solid #ab0101;
}
/**********************************/
/*  FORMULARE 
/*********************************/

#popForm, #popForm2{
	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{
	width: auto;
	max-width: 500px;
	margin: 0 auto;
	top: calc(50% - 210px);
	background: white;
	position: relative;
	border-radius: 8px;
-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;
}
#form_main {
  position: relative;
  padding: 20px;
  height: auto; 
  width: calc(100% - 40px);
}
#form_main fieldset{
	border: none;
}
div#close, div#close2 {
    position: absolute;
    top: 0px;
    right: 5px;
    cursor: pointer;
    font-size: 25px;
}
#form_main p {
  float: left;
  clear: both;
  text-align: left;
}
#form_main p.gdpr{
    clear: left;
    margin-top: 18px;
}
#form_main p.submit{
	clear: right;
}
#form_main input, #form_main textarea {
  float: right;
  padding: 1.5%;
  width: 60%;
  margin-bottom: 5px;
  color: #000;
  border: 1px solid rgb(207,216,221);
  background-color: rgb(240,241,243);
    font-size: 15px;
    font-family: "Roboto";
    font-weight: 300;
}

#form_main input.alert, #form_main textarea.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{
	float: right;
	margin-top: 10px;
    border-top: 1px solid #db0404;
    border-radius: 3px;
}

#form_main p.submit input{
    background: #c00101;
    background: linear-gradient(#db0404, #c00101);
    border-top: 1px solid #ef9292;
    color: white;
    padding: 5px 30px;
    font-size: 24px;
    font-weight: normal;
    display: block;
    border-radius: 3px;
    margin-bottom: 1px;
    text-decoration: none;
    font-weight: 300;
	width: auto;
	cursor: pointer;
}

#form_main p.submit input:hover{
    color: white;
    text-decoration: none;
    background: #ab0101;
    border-top: 1px solid #ab0101;
}


/**********************************/
/*  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;
}

/***************************/
/*  PRODUKTY
/***************************/

h2.ref_title{
	text-align: center;
	margin-top: 15px;
	font-weight: 300;
}
.reference_box{
  	display: block;
	width: 100%;
	margin-bottom: 10px;
	text-align: center;
	position: relative;	
}
.reference_img{
    	overflow: hidden;
	text-align:center;
	width: 100%;
	height: 170px;
	background: #ebf6ff;
}
#left_col .reference_img img{
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto !important;
	border: none !important;
}
#left_col .reference_img a[rel="lightbox[all]"]:hover img{
	border: none !important;
}

/*************
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: 'Roboto Slab';
	font-size: 36px;
	padding: 0px 20px 5px 20px;
	background: url(/files/images/slide_bcg.png) repeat;
	line-height: 60px;
	text-align: center;
	text-shadow: 2px 2px 1px rgba(0, 0, 0, 1);
}
#header #slides figcaption{

}
/***********
RESPONSIVE
************/

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

#hornimenu1{
	width: 100%;
}

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

.form_content{
	width: 96%;
	margin: 0 auto;
	height: auto;
}

#footer .col:nth-of-type(1), #footer .col:nth-of-type(2){
	min-height: 130px;
}
.formBox{
	float: none;
	margin-top: 0;
}
.default #mapa{
	width: 100%;
}
}

@media screen and (max-width: 800px){
p.nadpis, #logo, p.zaruka{
	margin-top: 0;
	display: block;
	text-align: center;
	position: relative;
	top: auto;
	right: auto;
	margin-right: 0;
	margin-top: 5px;
}
#intro figcaption{
	display: none;
}
#left_col{
	float: none;
	width: 100%;
	margin-right: 0;
}
#mobile_open, #mobile_close {
    text-align: center;
    width: 100%;
    height: 30px;
    padding-top: 10px;
    padding-bottom: 15px;
    margin-bottom: 10px;
    vertical-align: top;
    cursor: pointer;
    color: #db0404;	
	font-weight: bold;
}
#mobile_open {
    background: url(/files/images/hamburger.png) no-repeat center bottom;
    display: block;
}
#mobile_close {
    background: url(/files/images/close.png) no-repeat center bottom;
}
#levemenu1 {
    display: none;
    position: absolute;
    left: 0;
    z-index: 50;
    background: white;
	    width: 100%;
	text-align: center;
}
#levemenu1.visible {
    display: block;
    overflow: hidden;
}
#main_content .reference_col_container.detail .reference_text img{
	margin-right: 0;
	max-width: calc(100% - 10px);
	float: none;
}
#footer .col:nth-of-type(1), #footer .col:nth-of-type(2), #footer .col:nth-of-type(3){
	width: 100%;
	padding: 10px 0;
	border: none;
	min-height: 0;
	text-align: center;
}
#mapa > div:nth-of-type(2){
	display: none;
}
#footer .col p{
	text-align: center;
}
#form_main input, #form_main textarea{
	width: calc(97% - 2px);
}
.reference_box {
    width: 45%;
    display: inline-block;
}
h2.ref_title, .reference_box{
	display: none;
}
#mapa_nadpis{
	text-align: center;
	margin-top: 20px;
}
}
	
@media screen and (max-width: 720px){
.blue .col, .blue .col:first-of-type{
	width: 100%;
}
#popForm > div, #popForm2 > div{
	top: calc(50% - 270px);
}
}

@media screen and (max-width: 640px){
#logo{
	width: 96%;
	margin: 10px 2%;
	background-position: top center;
	padding-left: 0;
}
#logo p{
	padding-top: 80px;
	text-align: center;
}

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

}




