@import url('slideshow.css');

@font-face{
  font-family: century_raj;
  src: url('/font/gothic.ttf');
}

body{
  font-family: verdana;
  font-size: 14px;
  line-height: 150%;
  background-color: white;
  margin: 0px;
  padding: 0px;
  text-align: left;
  height: 100%;
}

html{
  text-align:center;
  height: 100%;
}

/*----------------------------------------------------------------------------*/
/* page sections */

#main {
  width: 95%;
  max-width: 1400px;
  margin: 0 auto;
}

#header {
  width:100%;
  padding-top: 15px;
  margin-bottom: 15px;
}

.logo img{
  width: 270px;
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: 3%;
}

.contact{
  float: right;
  text-decoration: none;
  display: inline-block;
  color: black;
}

.contact td{
  padding: 3px;
  font-size: 16px;
  vertical-align: middle;
}

.contact td::before{
  margin-right: 20px;
  font-size: 23px;
  color: #f65959;
  vertical-align: middle;
}

.contact td a{
  text-decoration: none;
  color: black;
}

.contact td a:hover{
  color: #f65959;
}

#header .contact{
  font-size: 16px;
  line-height: 2.0;
}

.header-icon{
  float: right;
  text-align: center;
  margin-top: 25px;
}

.header-icon a, .header-icon a:visited{
  color: #4F4F4F;
  text-decoration: none;
}

.header-icon a:hover{
  color: #dd0c0c;
}

.header-icon:first-of-type{
  margin-right: 42px;
}

.header-icon:not(:last-of-type) {
  margin-left: 25px;
  padding-left: 25px;
  border-left: 1px solid #e0e0e0;
}

.header-icon span{
  display: block;
}

.header-icon span:first-of-type{
  font-size: 50px;
}

.header-icon span:last-of-type{
  font-size: 17px;
  font-weight: bold;
  font-family: century_raj;
  margin-top: 15px;
}

#footer .contact{
  border-left: 1px solid rgb(176,176,176);
  padding-left: 25px;
}

#content {
  padding: 10px 3% 30px 3%;
  margin: 0 auto;
}

.with_menu #content{
  display: inline-block;
  padding-left: 1.5%;
  width: calc(77% - 20px);
  float: right;
}

#footer {
  text-align: center;
  clear: both;
  width: 98%;
  background-color: #089f08;
  padding: 20px 1% 20px 1%;
  margin-bottom: 20px;
  box-shadow: 0px 3px 10px 3px rgba(200,200,200, 0.3);
  color: white;
}

#footer a {
  color: white !important;
  text-decoration: none;
}

#footer a:hover{
  text-decoration: underline !important;
}

#footer img{
  vertical-align: middle;
  display: inline-block;
  width: 150px;
}

#footer div{
  display: inline-block;
  vertical-align: middle;
  text-align: center;
  margin-left: 30px;
}

#footer div span{
  margin-right: 10px;
}

#footer div span::before{
  margin-left: 10px;
  margin-right: 10px;
}

#footer div hr{
  background-color: #09b709;
  margin-top: 10px;
  margin-bottom: 10px;
}

/*----------------------------------------------------------------------------*/

#search-box{
  width: 350px;
  display: inline-block;
  vertical-align: top;
  padding-top: 53px;
  margin-left: 330px;
}

#search-box input{
  width: 250px;
  border-color: #b3b3b3;
  border-radius: 3px;
}

#search-box button{
  padding: 8px 10px;
  font-size: 12px;
  color: #9a9a9a;
  border: 1px solid #b3b3b3;
  background-color: white;
  border-radius: 3px;
}

#search-box button:hover, #search-box input:hover{
  color: #3a3a3a;
  border-color: #3a3a3a;
}

.search-item{
  display: block;
  border-bottom: 1px solid #e0e0e0;
  padding-top: 15px;
  padding-bottom: 15px;
}

.search-item h2{
  margin-top: 14px;
  margin-bottom: 0px;
}

.search-item-img{
  display: inline-block;
  vertical-align: middle;
  width: 150px;
  height: 150px;
  margin-right: 30px;
  background-size: cover;
  background-position: center;
  border-radius: 3px;
}

.search-item-desc{
  width: calc(100% - 181px);
  display: inline-block;
  vertical-align: middle;
}

.search-item-desc p:nth-of-type(2){
  text-decoration: underline;
}

.search-item:hover .search-item-desc p:nth-of-type(2){
  text-decoration: none;
}

/*----------------------------------------------------------------------------*/

/*#slideshow{
  width: 100%;
  height: 400px;
  background-image: url('/images/slideshow/01.jpg');
  background-size: cover;
  background-position: center center;
  box-shadow: 0px 3px 10px rgba(0,0,0,0.3);
  z-index: 48;
  animation: slideshow;
  animation-duration: 30s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

@keyframes slideshow {
  0%   {background-image: url('/images/slideshow/01.jpg');}
  15%   {background-image: url('/images/slideshow/01.jpg');}
  20%  {background-image: url('/images/slideshow/02.jpg');}
  35%  {background-image: url('/images/slideshow/02.jpg');}
  40%  {background-image: url('/images/slideshow/03.jpg');}
  55%  {background-image: url('/images/slideshow/03.jpg');}
  60%  {background-image: url('/images/slideshow/06.jpg');}
  75%  {background-image: url('/images/slideshow/06.jpg');}
  80%  {background-image: url('/images/slideshow/07.jpg');}
  95%  {background-image: url('/images/slideshow/07.jpg');}
}*/

#welcome{
  font-family: century_raj;
  font-size: 20px;
  margin-top: 40px;
  margin-bottom: 40px;
}

#nase-nabidka{
  display: inline-block;
  width: calc(92% - 330px);
  padding-right: 4%;
  margin-right: 4%;
  vertical-align: top;
  border-right: 1px solid grey;
}

#kde-nas-najdete{
  display: inline-block;
  width: 320px;
  vertical-align: top;
}

.person-contact{
  font-size: 16px;
  line-height: 280%;
  margin-top: 20px;
  vertical-align: middle;
}

.person-contact a{
  text-decoration: none;
}

.person-contact a:hover{
  color: #dd0c0c !important;
}

.person-contact span::before{
  margin-right: 20px;
  font-size: 30px;
  color: #f65959;
  vertical-align: middle;
}

.person-foto{
  margin-top: -25px;
  width: 90px;
  float: right;
  border-radius: 45px;
}

#take-na{
  list-style: none;
  font-size: 16px;
  padding-left: 0px;
}

#take-na li{
  margin-bottom: 10px;
}

#take-na li:before{
  margin-right: 15px;
  font-size: 22px;
  vertical-align: middle;
}

#take-na a{
  text-decoration: none;
  vertical-align: middle;
}

/*------------------------------------------------------------------------------*/

.product_cat, .cat{
  position: relative;
  display: inline-block;
  width: 32%;
  text-decoration: none;
  margin-top: 15px;
  box-shadow: 0px 3px 5px rgba(0,0,0,.3);
  height: 250px;
}

.product_cat, .cat, .product_cat div, .cat div{
  /*border-radius: 4px;*/
}

.product_cat span, .cat span{
  /*border-radius: 4px 4px 0px 0px;*/
}

.product_cat ul{
  /*border-radius: 0px 0px 4px 4px;*/
}

.cat{
  width: 32%;
}

.home .product_cat{
  height: 274px;
}

.product_cat:hover, .cat:hover{
  animation: shadow 0.5s;
  box-shadow: 0px 4px 8px rgba(0,0,0,.3);
}

@keyframes shadow {
  from  {
    box-shadow: 0px 3px 5px rgba(0,0,0,.3);
  }
  to {
    box-shadow: 0px 4px 8px rgba(0,0,0,.3);
  }
}

.product_cat div ul{
  display: none;
  margin: 0px;
  padding: 20px 20px 20px 40px;
  position: absolute;
  top: 0px;
  left: 0px;
  width: calc(100% - 60px);
  height: 174px;
  color: white;
  background-color: rgba(0, 0, 0, .6);
}

.product_cat div ul li{
  line-height: 130%;
  margin-bottom: 2px;
}

.home .product_cat div ul li{
  line-height: 150%;
}

.product_cat:not(:nth-of-type(3n+1)), .cat:not(:nth-of-type(3n + 1)){
  margin-left: 2%;
}

.product_cat div, .cat div{
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  height: 250px;
}

.home .product_cat div{
  height: 250px;
  padding-top: 25px;
}

.product_cat span, .cat span{
  position: absolute;
  left: 0px;
  bottom: 0px;
  font-weight: bold;
  display: block;
  padding: 20px;
  width: calc(100% - 40px);
  color: white;
  background-color: rgba(148,8,8,.8) /*rgba(221,12,12, .8)*/; /*rgba(8,159,8, .8);*/
  font-family: century_raj;
}


#page_info{
  width: 280px;
  display: inline-block;
  /*float: right;*/
  margin-left: 80px;
  margin-bottom: 50px;
  vertical-align: top;
}

#product_content{
  width: calc(100% - 370px);
  display: inline-block;
  vertical-align: top;
}

.cat_doc{

  /*border-radius: 4px;*/
  margin-top: 3%;
  background-color: #f4f4f4;
  /*box-shadow: 0px 3px 10px 3px rgba(200,200,200, 0.3);*/
}

.cat_doc a{
  display: block;
  padding: 3%;
  color: black;
  text-decoration: none;
}

.cat_doc:hover{
  background-color: #089f08;
}

.cat_doc:hover a, .cat_doc.objednat a{
  color: white !important;
}

.cat_doc a::before{
  text-decoration: none !important;
  margin-right: 10px;
  font-size: 30px;
  vertical-align: middle;
  margin-top: -3px;
  margin-left: -10px;
}

.cat_doc.objednat{
  padding-top: 10px;
  padding-bottom: 7px;
  background-color: #dd0c0c;
  text-align: center;
}

.cat_doc.objednat:hover, .cat_doc.dotaz:hover{
  background-color: #f65959;
  color: white;
}

.cat_doc.dotaz{
  padding-top: 10px;
  padding-bottom: 7px;
  border: 1px solid #dd0c0c;
  text-align: center;
}

.page_img{
  width: 100%;
  box-shadow: 0px 3px 10px 3px rgba(200,200,200, 0.3);
}

#gallery_in_content {
  width: 100%;
  height: 500px;
  overflow: auto;
}

#gallery_in_content img{
  max-width: 100%;
  display: block;
  margin: 0 auto;
  margin-bottom: 5px;
}

#gallery_in_content_n {
  width: 100%;
  height: 220px;
  overflow: auto;
}

#gallery_in_content_n table{
  -moz-box-shadow: none !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

#gallery_in_content_n table tr td{
  background-color: white;
  padding: 5px;
}

#gallery_in_content_n img{
  height: 180px !important;
  max-width: 1000px !important;
}

/*----------------------------------------------------------------------------*/

.rada{
  display: block;
  text-decoration: none;
  padding-bottom: 10px;
}

.rada h2{
  background-color: white !important;
  color: black !important;
  display: block;
  box-shadow: none;
}

.rada img{
  float: left;
  width: 250px;
  margin-right: 30px;
}

.rada p{
  font-size: 16px;
}

.rada .ctete{
  display: inline-block;
  border-radius: 4px;
  color: black;
  background-color: white;
  border: 2px solid #089f08;
  padding: 8px 10px;
  font-size: 16px;
  font-family: century_raj;
  font-weight: bold;
}

.rada .ctete:hover{
  color: white;
  background-color: #089f08;
}


/*----------------------------------------------------------------------------*/
/* menu */

.main_menu{
  box-shadow: 0px 3px 10px 3px rgba(200,200,200, 0.3);
}

.main_menu, .vertical_menu{
  background-color: #089f08;
  padding: 10px;
}

.vertical_menu {
  background-color: white;
  width: calc(100% - 20px);
}

#vertical_menu{
  width: 19%;
  display: inline-block;
}

.main_menu{
  padding-left: calc(3% - 15px);
  background-size: auto 100%;
  background-repeat: no-repeat;
  background-position: right center;
  line-height: 250%;
  margin-top: 0px;
}

.main_menu li, .vertical_menu li{
  list-style: none;
}

.vertical_menu li{
  padding-top: 5px;
  /*border-bottom: 1px solid #e0e0e0;*/
}

.main_menu li{
  display: inline;
}

.main_menu a {
  border-right: 1px solid #078707;
  font-family: century_raj;
  font-size: 17px;
}

.main_menu li:first-of-type a::before{
  content: '\e81a';
  font-family: "stavebniraj";
  font-style: normal;
  font-weight: normal;
  speak: none;
  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  text-align: center;
  font-variant: normal;
  text-transform: none;
  line-height: 1em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin-right: 10px;
}

.main_menu a, .vertical_menu a{
  text-decoration: none;
  display: inline-block;
  padding: 7px 15px 7px 15px;
  color: white;
}

.vertical_menu a{
  background-color: #f4f4f4;
  width: calc(100% - 30px);
  margin-bottom: 5px;
  display: block;
  color: black;
}

.vertical_menu .submenu ul{
  border-left: 1px solid #dd0c0c;
}

.vertical_menu .submenu ul li{
  border-bottom: none;
}

.vertical_menu .submenu ul li:not(.active) a:not(:hover){
  background-color: #f4f4f4;
  color: black;
  padding-right: 15px;
}

.vertical_menu a:hover, .vertical_menu .active a{
  color: white;
  background-color: #ac0909;
  border-color: white;
}

.vertical_menu .submenu ul{
  display: none;
  padding-left: 20px;
}

.vertical_menu .active ul{
  display: block;
}

.main_menu a:hover, .main_menu .active a{
  color: black;
  background-color: white;
}

.show_menu, .show_menu_v{
  background-color: #089f08;
  padding: 15px 22px;
  box-shadow: 0px 3px 10px 3px rgba(200,200,200, 0.3);
  color: white;
  font-size: 18px;
  font-family: century_raj;
  display: none;
}

.show_menu span, .show_menu_v span{
  margin-right: 10px;
}

.show_menu_v{
  display: none;
  background-color: #dd0c0c;
}

/*----------------------------------------------------------------------------*/

.objednavka table{
  box-shadow: none !important;
  width: 100%;
  max-width: 900px;
  min-width: 600px;
}

.objednavka td {
  font-size: 16px;
  background-color: white;
  padding: 10px !important;
}

.objednavka td:not(.no_border){
  border-bottom: 1px solid #e0e0e0;
}

.objednavka input, .objednavka textarea {
  width: calc(100% - 22px);
  min-width: 400px;
}

.objednavka textarea {
  height: 100px;
}

.objednavka input:not([type="radio"]):hover, .objednavka textarea:hover, .objednavka input:not([type="radio"]):focus, .objednavka textarea:focus{
  border-color: #089f08;
  border-width: 2px;
  margin: -1px;
  border-radius: 4px;
}

input[type="radio"]{
  width: auto;
  min-width: auto;
}

.checks{
  line-height: 180%;
  margin-bottom: 20px;
}

.require_elem{
  color: #dd0c0c;
  font-weight: bold;
}

.err{
  color: #dd0c0c;
  display: block;
  margin-top: 5px;
}

.alert{
  color: white;
  display: block;
  padding: 10px 20px;
  font-weight: bold;
  font-family: century_raj;
}

.alert.positive{
  background-color: #089f08;
}

.alert.negative{
  background-color: #dd0c0c;;
}

/*----------------------------------------------------------------------------*/
/* other styles */

hr{
  width: 100%;
  margin-top: 20px;
  margin-bottom: 20px;
  height:1px;
  border-width:0;
  background-color:#e0e0e0;
  clear: both;
}

#content a, #content a:visited{
  color: black;
}

#content a:hover{
  text-decoration: none;
}

h1 {
  font-size: 30px;
  font-weight: normal;
  border-bottom: 1px solid #f32929;
  /*background-color: #f32929;
  color: white;
  border-radius: 4px;*/
  padding-bottom: 10px;
  /*padding: 10px 40px;*/
}

.headline_bg{
  margin-top: 20px;
  margin-bottom: 30px;
  min-height: 250px;
  background-size: cover;
  background-position: center;
  /*border-radius: 4px;*/
  position: relative;
}

.headline_bg h1{
  border-bottom: none;
  color: white;
  background-color: rgba(0, 0, 0, .6);
  position: absolute;
  overflow: hidden;
  bottom: 0px;
  margin: 0px;
  /*border-radius: 0px 0px 4px 4px;*/
  padding: 15px 30px;
  width: calc(100% - 60px);
}

h2 {
  font-size: 20px;
  width: calc(100% - 50px);
  font-weight: normal;
  margin-top: 20px;
  margin-bottom: 20px;
  /*margin-left: -42px;*/
  padding: 3px 25px;
  display: inline-block;
  color: white !important;
  background-color: #089f08 !important;
  /*box-shadow: 0px 3px 5px rgba(0,0,0,.3);*/
}

h2 span{
  color: white !important;
}

h3 {
  font-size: 20px;
  font-weight: normal;
  line-height: 150%;
  vertical-align: top;
}

h4 {
  font-size: 18px;
  font-weight: normal;
  margin-top: 20px;
  margin-bottom: 10px;
}

h1, h2, h3 {
  font-family: century_raj;
  line-height: 150%;
}

p {
  line-height: 150%;
}

li {
  line-height: 150%;
}

iframe{
  max-width: 100%;
}

#content img:not(.gallery_in_content_img){
  max-width: 100%;
  height: auto !important;
}

#content table{
  border-collapse: collapse;
  box-shadow: 0px 3px 10px 3px rgba(200,200,200, 0.3);
}

#content td{
  padding: 2px 10px 2px 10px;
}

#content tr:nth-of-type(2n + 1){
  background-color: rgb(224,224,224);
}

.no_style{
  box-shadow: none !important;
}

.no_style tr{
  background-color: white !important;
}

.no_style td{
  padding: 7px !important;
}

.table_scroll{
  overflow: auto;
  max-width: 100%;
}

input, select, textarea{
  border-radius: 2px;
  padding: 8px 10px;
  border: 1px solid grey;
}

button{
  border-radius: 4px;
  color: black;
  background-color: white;
  border: 2px solid #089f08;
  padding: 10px 12px;
  font-size: 16px;
  font-family: century_raj;
  font-weight: bold;
}

button:hover{
  color: white;
  background-color: #089f08;
}

/*---------------------------------------------------------------------------------------------------------*/

@media screen and (max-width: 1473px) {
  #search-box {
    margin-left: calc(95vw - 1090px);
  }
}

@media screen and (max-width: 1230px) {
  #search-box{
    display: block;
    width: 100%;
    margin-left: 0px;
    padding-top: 10px;
  }

  #search-box input{
    width: calc(100% - 66px);
  }
}

@media screen and (min-width: 1200px){
  .product_cat:hover div ul{
    display: block;
  }
}

@media screen and (max-width: 1160px) {
  #search-box {
    width: 100%;
    margin-left: 0px;
    padding-top: 10px;
  }

  .gsc-control-cse{
    padding-left: 0px !important;
    padding-right: 0px !important;
  }
}


@media screen and (max-width: 1100px){
  #page_info{
    width: 200px;
    margin-left: 20px;
  }

  .person-contact span::before{
    display: none;
  }

  #page_info h2{
    padding-left: 20px;
    margin-left: -20px;
  }

  #product_content{
    width: calc(100% - 230px);
  }
}

@media screen and (max-width: 1000px){
  .product_cat:not(:nth-of-type(3n+1)), .cat:not(:nth-of-type(3n + 1)){
    margin-left: 0px;
  }

  .product_cat:not(:nth-of-type(2n+1)), .cat:not(:nth-of-type(2n + 1)){
    margin-left: 2%;
  }

  .product_cat, .cat{
    width: 47%;
  }
}

@media screen and (max-width: 990px) {
  .header-icon{
    margin-top: 40px;
  }

  .header-icon:first-of-type{
    margin-right: 25px;
  }

  .header-icon:not(:last-of-type) {
    margin-left: 15px;
    padding-left: 15px;
  }

  .header-icon span:first-of-type{
    font-size: 30px;
  }

  .header-icon span:last-of-type{
    font-size: 16px;
    margin-top: 10px;
  }
}

@media screen and (max-width: 900px) {
  #footer div{
    display: block;
    margin: 0px auto;
  }

  #footer img{
    margin-bottom: 20px;
  }

  #content p{
    text-align: justify;
  }
}

@media screen and (max-width: 850px) {
  .logo img{
    width: 200px;
  }

  .header-icon{
    margin-top: 30px;
  }

  .header-icon span:first-of-type{
    font-size: 25px;
  }

  .header-icon span:last-of-type{
    font-size: 14px;
  }

  .product #product_content, .product #page_info{
    display: block;
    width: 100%;
  }

  .product #page_info{
    border-top: 1px solid #e0e0e0;
    margin-top: 20px;
    padding-top: 20px;
    margin-left: 0px;
  }

  .cat_doc{
    margin-top: 5px;
  }

  .person-contact span::before{
    display: inline;
  }
}

@media screen and (max-width: 750px) {
  .with_menu #content{
    width: calc(66.5% - 5px);
  }

  .with_menu #vertical_menu{
    width: 29%;
  }

  #nase-nabidka, #kde-nas-najdete{
    width: 100%;
    display: block;
  }

  #nase-nabidka{
    border-right: none;
  }

  #kde-nas-najdete{
    border-top: 1px solid #e0e0e0;
    margin-top: 20px;
  }

  #slideshow{
    height: 170px;
  }
}

@media screen and (max-width: 700px) {
  .logo img{
    width: 150px;
  }

  .header-icon{
    margin-top: 20px;
  }

  .header-icon:first-of-type{
    margin-right: 15px;
  }

  .header-icon:not(:last-of-type) {
    margin-left: 10px;
    padding-left: 10px;
  }

  .header-icon span:first-of-type{
    font-size: 20px;
  }

  .header-icon span:last-of-type{
    margin-top: 8px;
  }
}

@media screen and (max-width: 680px) {
  .footer_contact{
    display: block;
  }
}

@media screen and (min-width: 601px) {
  .with_menu #vertical_menu{
    display: inline-block !important;
  }
}

@media screen and (max-width: 600px) {
  .with_menu #content, .with_menu #vertical_menu{
    display: block;
    width: 96%;
    padding-left: 3%;
    padding-right: 3%;
  }

  .with_menu #vertical_menu{
    padding-left: 0px;
    display: none;
  }

  .show_menu_v{
    display: block;
  }
}

@media screen and (max-width: 580px) {
  .header-icon:first-of-type{
    display: none
  }

  .header-icon:nth-of-type(2) {
    border-right: none;
    margin-right: 20px;
  }

  .rada img{
    float: none;
    margin: 0px auto;
    max-width: 100%;
    width: auto;
    max-height: 300px;
  }
}

@media screen and (min-width: 501px) {
  #main_menu{
    display: block !important;
  }
}

@media screen and (max-width: 500px) {
  .logo img{
    width: 250px;
    max-width: 80%;
  }

  .header-icon{
    display: none;
  }

  .show_menu{
    display: block;
  }

  #main_menu{
    display: none;
  }

  #main_menu li {
    padding: 10px 15px;
    display: block;
    border-bottom: 1px solid #078707;
  }

  #main_menu li a{
    border: none;
    display: block;
  }
}
@media screen and (max-width: 350px) {
  .product_cat:not(:nth-of-type(2n+1)), .cat:not(:nth-of-type(2n + 1)) {
    margin-left: 0px;
  }

  .product_cat, .cat {
    width: 100%;
  }
}