/*
@author webchrudim.cz
@copyright 2016
*/

* {
    margin: 0;
    padding: 0;
    border: 0;
}

html, body {
  height: 100%;
}

html {
  background: url("/images/back2.jpg") no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-attachment: fixed;
  background-color: #0e0b06;
  
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
 }

body {
    max-width: 100%;
    
    max-height: 100%;
    
    font-size: 15px;
    font-family: 'KabanaBook',Arial, sans-serif;
    margin: 0 auto;
    text-align: center;
    color: #000000;
    
}

.clr {
    clear: both;
}

a {
    text-decoration: none;
    transition: 600ms;
}

a:hover {
    text-decoration: underline;
    transition: 600ms;
}

.small {
  font-size: 10px;
}

/*   ----  CSS OSTATNI ---- */

#head_box {
  position: absolute;
  
  /*height: 13.75%;*/
  /*width: 39.32292%;*/
  /*max-width: 39.32292%;*/
  width: 39%;
  background-color: rgba(255,255,255, 0.5);
  border: 2px solid #000;
  
  padding: 1.0% 0.0%;
  
  font-size: 2.5vw;
  
  margin: auto;
  top: 20px;
  left: 0%;
  right: 0%;
    
  z-index: 1000;
  
  -webkit-border-radius: 25px;
  -moz-border-radius: 25px;
  border-radius: 25px;
}

h1 {
  position: absolute;
  
  /*height: 13.75%;*/
  /*width: 39.32292%;*/
  /*max-width: 39.32292%;*/
  width: 39%;
  background-color: rgba(255,255,255, 0.5);
  border: 2px solid #000;
  
  padding: 1.0% 0.0%;
  
  font-size: 2.5vw;
  font-weight: normal;
  
  margin: auto;
  top: 20px;
  left: 0%;
  right: 0%;
    
  z-index: 1000;
  
  -webkit-border-radius: 25px;
  -moz-border-radius: 25px;
  border-radius: 25px;
}

.bold {
  font-family: 'KabanaBold';
}

.red {
  color: #C1272D;
}

.ari {
  font-family: Arial;
}

.watermark {
  padding-top: 70px; 
  padding-left: 20px;
  overflow: hidden;
  
  background-image: url("/images/hand_w4.png");
  background-repeat: no-repeat;
  background-position: center center;
}

.watermark a {
  display: block;
  width: 230px;
  /*height: 175px;*/
  
  padding: 10px;
  
  background-color: rgba(255,255,255, 0.5);
  color: #000;
  
  border: 2px solid #fff;
  
  -webkit-border-radius: 25px;
  -moz-border-radius: 25px;
  border-radius: 25px;
  
  overflow: hidden;
  
  text-align: center;
  padding: 15px;
}

.watermark a:hover {
  text-decoration: none;
  border: 2px solid #c12b24;
  
  background-color: rgba(255,255,255, 0.75);
}

.watermark a img {
  vertical-align: bottom;
}

.watermark a .emko {
  font-family: 'crop types';
  display: inline-block;
  font-size: 40px;
  color: #c12b24;
}

.watermark a .first_line {
  line-height: 0.9;
}

#box1 {
  /*width: 884px;
  height: 462px;*/
  width: 46.04167%;
  /*height: 38.5%;*/
  height: 42.5%;
  max-height: 100%;
  max-width: 784px;
  /*height: 100%;*/
  background-image:  url("/images/box1.png"), url("/images/red2.png");
  background-repeat: no-repeat, no-repeat;
  background-size: 100% auto, auto;
  background-position: center, center;
  /*background-color: blue;*/
  
  position: absolute;
  margin: auto;
  left: 0%;
  right: 0%;
  top: 12%;
  
}

#box1 .watermark {
  position: absolute;
  
  margin: auto;
  top:0;
  bottom: 0;
  left: 0;
  right: 0;
  
  width: 303px;
  height: 263px;
  
  background-image: url("/images/hand_w4.png");
  background-position: 50% 95%;
}

@media screen and (max-width: 1400px) , screen and (max-height: 800px) {
  #box1 {
  /*dolni box */
    width: 38.66667%;
    height: 42.5%;
 
  }
}

#box2 {
  /* levy */
  
  width: 32.39583%;
  height: 100%;
  background-image: url("/images/box2.png"),url("/images/yel2.png");
  background-repeat: no-repeat, no-repeat;
  background-size: 100% auto, auto;
  background-position: center, right 65%;
  
  margin: auto;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
}

#box2 .watermark {
  position: absolute;
  margin: auto;
  /*top: 0;*/
  right: 0;
  
  bottom: 22%;
  
  width: 253px;
  height: 263px;
  
  background-image: url("/images/hand_w4.png");
  background-position: 25% 85%;
}

#box3 {
  /*dolni box */
  width: 33.66667%;
  height: 48.66667%;
  background-image: url("/images/box3.png"),url("/images/bl2l.png");
  background-repeat: no-repeat, no-repeat;
  background-size: 100% auto, auto;
  background-position: center, center;
  
  position: absolute;
  margin: auto;
  bottom: 0%;
  left: 0%;
  right: 0%;
}

#box3 .watermark {
  position: absolute;
  margin: auto;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  
  width: 301px;
  height: 307px;
  
  background-image: url("/images/hand_w4.png");
  background-position: 30% 95%;
}

@media screen and (max-width: 1400px) , screen and (max-height: 700px) {
  #box3 {
  /*dolni box */
    width: 22.66667%;
    height: 42.5%;
 
  }
}

#box4 {
  /* pravy box */
  /*width: 376px;
  height: 748px;  */
  width: 20.15625%;
  /*height: 70.66667%;*/
  height: 100%;

  background-image: url("/images/box4.png"),url("/images/bl2.png");
  background-repeat: no-repeat, no-repeat;
  background-size: 100% auto, auto;
  background-position: center, center;
  
  margin: auto;
  position: absolute;
  right: 8.3%;
  top: 0;
  bottom: 0;
}

#box4 .watermark {
  position: absolute;
  margin: auto;
  
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  
  width: 301px;
  height: 267px;
  
  background-image: url("/images/hand_w4.png");
  background-position: 20% 60%;
}

#bottom_box {
  position: absolute;

  margin: auto;
  
  right: 2%;
  bottom: 5%;
  z-index: 1000;
  
  padding: 10px 7px 7px 7px;
  background-color: rgba(255,255,255, 0.5);
  border: 2px solid #000;
  
  -webkit-border-radius: 25px;
  -moz-border-radius: 25px;
  border-radius: 25px;
  
  transition: 600ms;
}

#bottom_box:hover {
  text-decoration: none;
  border: 2px solid #c12b24;
  
  background-color: rgba(255,255,255, 0.75);
  
  transition: 600ms;
}

#bottom_box a {
  
  display: relative;
  width: 100%;
  
  /*padding: 16px;*/
  color: #000;
  
  font-size: 1.7vw;
  
  /*
  background-color: rgba(255,255,255, 0.5);
  border: 2px solid #000;
  
  -webkit-border-radius: 25px;
  -moz-border-radius: 25px;
  border-radius: 25px; */
  
  vertical-align: middle;
}

#bottom_box a.text {
  margin: 16px;
  
}

#bottom_box a.fb {
  padding: 0px;
  background: none;
  border: none;  
}

#bottom_box a.fb:hover {
  padding: 0px;
  background: none;
  border: none;  
}

#bottom_box a:hover {
  text-decoration: none;
  /*border: 2px solid #c12b24;
  
  background-color: rgba(255,255,255, 0.75);*/
}  

#bottom_box img {
  margin-left: 10px;
  margin-top: -3px;
  display: inline-block;
  width: 8.5%;
  vertical-align: middle;
}

@media screen and (max-width: 1630px) {
  #box1 {
    background-image: url("/images/box1.png"),url("/images/red2.png");
    background-repeat: no-repeat, no-repeat;
    background-size: 100% auto, auto;
    background-position: center, center;
  }
  
  #box3 {
    background-image: url("/images/box3.png"),url("/images/bl2l.png");
    background-repeat: no-repeat, no-repeat;
    background-size: 100% auto, auto;
    background-position: center, center;
  }
  
  #box3 .watermark {
    width: 301px;
    height: 264px;
  }
  
  #box4 {
    background-image: url("/images/box4.png"),url("/images/bl2.png");
    background-repeat: no-repeat, no-repeat;
    background-size: 100% auto, 80% auto;
    background-position: center, center;
  }
  
  #box4 .watermark {
    width: 250px;
    height: 247px;
  }
} 


@media screen and (max-width: 1230px) {
  #box3 {
    background-image: url("/images/box3.png"),url("/images/bl2l.png");
    background-repeat: no-repeat, no-repeat;
    background-size: 100% auto, 80% auto;
    background-position: center, center;
  }
  
  #box3 .watermark {
    width: 301px;
    height: 264px;
  }
  
  #box4 {
    background-image: url("/images/box4.png"),url("/images/bl2.png");
    background-repeat: no-repeat, no-repeat;
    background-size: 100% auto, 80% auto;
    background-position: center, center;
  }
  
  #box4 .watermark {
    width: 250px;
    height: 257px;
  }
  
  #bottom_box a.text {
    margin: 5px;
  }
} 

@media screen and (max-width: 1060px) {
  #box1 {
    background-image: url("/images/box1.png"),url("/images/red2.png");
    background-repeat: no-repeat, no-repeat;
    background-size: 100% auto, 60% auto;
    background-position: center, center;
  }
  
  #box2 {
    background-image: url("/images/box2.png"),url("/images/yel2.png");
    background-repeat: no-repeat, no-repeat;
    background-size: 100% auto, 60% auto;
    background-position: center, right 70%;
  }
  
  .watermark {
    width: 301px;
    height: 247px;
  
    background-image: url("/images/hnd.png");
    background-repeat: no-repeat;
    background-position: center 180px;
  }
  
  .watermark a {
    width: 210px;
    height: 155px;
    font-size: 16px;
  }
  
  #bottom_box a.text {
    margin: 0 auto;
  }
}

@media screen and (max-width: 890px) {
  html {
    background: url("/images/back_m.jpg") no-repeat center center fixed; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-attachment: fixed;
    background-color: #0e0b06;
  }
  #head_box {
    position: relative;
    float: left;
    width: 90%;
    
    right: 0;
    bottom: 0;
    max-width: 100%;
    margin: 5%;
    float: left;
    font-size: 4.0vw;
    padding: 15px;
  }
  
  h1 {
    position: relative;
    float: left;
    width: 90%;
    
    right: 0;
    bottom: 0;
    max-width: 100%;
    margin: 5%;
    float: left;
    font-size: 4.0vw;
    padding: 15px;
  }
  
  #bottom_box
    {
    position: relative;
    float: left;
    width: 90%;
    margin: 5%;
    
    right: 0;
    bottom: 0;
    max-width: 100%;
    margin-top: 20px;
    
  }

  #bottom_box a
  {
    font-size: 4.0vw;
  }
  
  #bottom_box a.text
  {
    margin: 0 auto;
  }
    
  #box1,
  #box2,
  #box3,
  #box4
  {
    position: relative;
    float: left;
    width: 100%;
    height: 350px;
    right: 0;
    top: 0;
  }
  
  #box1 {
    background-image: url("/images/box1_small.png");
    background-repeat: no-repeat;
    background-size: auto auto;
    background-position: center center;
    margin-bottom: 20px;
  }
  
  #box2 {
    background-image: url("/images/box2_small.png");
    background-repeat: no-repeat;
    background-size: auto auto;
    background-position: center center;
    margin-bottom: 20px;
  }
  
  #box3 {
    background-image: url("/images/box3_small.png");
    background-repeat: no-repeat;
    background-size: auto auto;
    background-position: center center;
    margin-bottom: 20px;
  }
  
  #box4 {
    background-image: url("/images/box4_small.png");
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: center center;
  }
  
  #box1 .watermark,
  #box2 .watermark,
  #box3 .watermark,
  #box4 .watermark {
    width: 100%;
    height: 300px;
    position: relative;
    margin: 0 auto;
    padding: 0;
    bottom: 0;
    
    background-image: url("/images/hand_w4.png");
    background-repeat: no-repeat;
    background-position: center 230px;

  }
  
  #box1 a,
  #box2 a,
  #box3 a,
  #box4 a{
    width: 90%;
    margin: 90px 5%;
    position: relative;
  }
}
