/* --------------------------------

Primary style

-------------------------------- */
*, *::after, *::before {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  font-size: 1.6rem;
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  color: #333;
  background-color: #fffefc;
}

.modal {
    display:    none;
    position:   fixed;
    z-index:    1000;
    top:        0;
    left:       0;
    height:     100%;
    width:      100%;
    background: rgba( 0, 0, 0, .8 )
                url('../design/layout/ajax-loader-modal.gif')
                50% 50%
                no-repeat;
}

/* When the body has the loading class, we turn
   the scrollbar off with overflow:hidden */
body.loading {
    overflow: hidden;
}

/* Anytime the body has the loading class, our
   modal element will be visible */
body.loading .modal {
    display: block;
}

h1, h2, h3 {
  font-weight: 400;
  line-height: 1.25em;
  text-transform: uppercase;
  margin: 0;
  margin-bottom: 1em;
}
h2, h3 {}

form {
	padding: 0px;
	margin: 0px;
}

img {
	border-color: #c49870;
  vertical-align: bottom; /* this fixes the chrome 1px gap under images */
}

a {
	color: rgba(255, 155, 0, 1);
	text-decoration: none;
  -webkit-transition: .23s ease-in-out;
  -moz-transition: .23s ease-in-out;
  -o-transition: .23s ease-in-out;
  transition: .23s ease-in-out;
}

a:hover, a:focus {
  text-decoration: none;
}

p, td, li, address {
  line-height: 1.8em;
}

p, table, hr {
  margin-bottom: 2em;
}
ul, ol {
  margin-bottom: 0;
}

b, strong {
  font-weight: 400;
}

i, em{
  font-style: italic;
}

dl dt {
  font-weight: 600;
}


/* body */

.levy {
	float: left;
	margin: 0 2em 0 1em;
}
.pravy {
	float: right;
	margin: 0 0 2em 1em;
}
.left {
	float: left;
}
.right {
	float: right;
}

.t-left {
	text-align: left;
}
.t-right {
	text-align: right;
}
.t-center {
	text-align: center;
}

.hide{
  //display: none;
  // fix for screen readers
  position: absolute !important;
  top: -9999px !important;
  left: -9999px !important;
}

.nomargin {margin: 0 0 0 0 !important;}

.cistic {clear:both; height: 1px; line-height: 1px;}

.group:before,
.group:after {
    content: "";
    display: table;
}
.group:after {
    clear: both;
}
.group {
    overflow: hidden;
    zoom: 1; /* For IE 6/7 (trigger hasLayout) */
}

.poznamka {
	font-size: 0.6em;
}

.highligted {
	color: #ffd800;
}

hr {
	line-height: 1px;
  border: none;

  margin: 5rem 0;
  height: 1px;
  background-image: -webkit-gradient(radial, 0 0, 100% 0, from(rgba(183,177,171,255)), to(rgba(183,177,171,0)));
  background-image: -webkit-radial-gradient(circle, rgba(183,177,171,255), rgba(183,177,171,0));
  background-image: -moz-radial-gradient(circle, rgba(183,177,171,255), rgba(183,177,171,0));
  background-image: -o-radial-gradient(circle, rgba(183,177,171,255), rgba(183,177,171,0));
  background-image: radial-gradient(circle, rgba(183,177,171,255), rgba(183,177,171,0));
}

.topindex {
	vertical-align: super;
	font-size: 0.6em;
}

.underline {
	text-decoration: underline;
}

.list{
  margin: 2rem;
  padding: 0 2rem;
  list-style: none;
}

.list li{}
.list li:before {
    content: "";
    border: .5rem solid #66ccff;
    border-radius: 1rem;
    float: left;
    margin: 1rem 1rem 0 -2rem;
}
.list li li:before {
    content: "";
    border: .1rem solid #66ccff;
    border-radius: 1rem;
    float: left;
    margin: 1rem 1rem 0 -2rem;
    width: 1rem;
    height: 1rem;
}

.dl-list {
  display: inline-grid;
  grid-template-columns: auto auto;
}

.dl-list dt {
  color: #c49870;
  text-transform: uppercase;
}
.dl-list dd {
  margin-bottom: 1.6em;
}
.perex{
  font-style: italic;
}

/* SVG fix for IE9, IE10, and IE11 */
img[src*=".svg"] {
  width: 100%;
}

/* layout */
h1, h2 {
  font-size: 2em;
  color: rgba(51, 153, 204, 1);
  font-weight: 300;
}
h1 strong {
  font-weight: 600;
}
.contact h2 {
  margin-bottom: .5em;
}
h2 {
  color: rgba(172,167,148, 1);
  font-size: 1.5em;
}

h3 {
  font-size: 1.25em;
  color: #666;
}
h4 {
  font-size: 1em;
  font-weight: 700;
  color: rgba(51, 153, 204, 1);
}
h5 {
  font-size: 1em;
  font-weight: 700;
  color: rgba(172,167,148, 1);
}
#slogan h1{
  color: #ffffff;
  font-size: 1.875em;
  line-height: 1em;
  font-weight: 700;
  margin-bottom: .25em;
  text-transform: none;
}

section section h1{
  font-size: 1.3em;
}
section section h2{
  margin-bottom: 2em;
}

article, aside, figure, footer, header, hgroup, menu, nav, section { display:block; }




/* hlavicka */
.header{
  margin-top: 10rem;
  height: 70rem;
  background: #f5f5f5 url('../design/layout/ajax-loader.gif') center center no-repeat;
}

.header > .wrapper{
  position: relative;
  margin: 0 auto;
  height: 100%;
  overflow: hidden;
  background-size: cover;
  background-position: top center;
  background-repeat: repeat;
}
#slogan{
  position: absolute;
  bottom: -100%;
  right: 0;
  color: #ffffff;
  text-align: right;
  font-weight: 300;
  line-height: 1.6em;
  background: rgba(51, 153, 204, .75);
  padding: 2rem 3rem;
  visibility: hidden;
  z-index: 2;
}

/* /hlavicka */

/* main */
main#content{
  /*
  background: #fff url('../design/layout/bg-main.png') left bottom no-repeat;
  background-attachment: fixed;
  */
}
main a {
  border-bottom: .1rem solid rgba(255, 155, 0, 0);
  border-style: outset;
}
main a:hover, main a:focus {
  border-bottom: .1rem solid rgba(255, 155, 0, .5);
}
.gallery a,
.gallery a:hover, .gallery a:focus {
  border: 0;
}
main a:hover, main a:focus {
  border-bottom: .1rem solid rgba(255, 155, 0, .5);
}
main article, #sub-footer .wrapper, .footer{
  position: relative;
  margin: 0 auto;
}
main article .pad, main section.pad, #sub-footer .wrapper, .footer,
ul.grid, .novinka.blog .image{
  max-width: 136.6rem;
}
main article .pad, main section.pad {
  margin-left: auto;
  margin-right: auto;
}
.main{
  max-width: 100%;
}

.main .novinka:nth-of-type(2n), .contact-form {
  background: rgba(189, 204, 88, .1);
}

.main article .pad img{
  max-width: 100%;
  height: auto;
}

/* gallery */
.gallery {
  background: #222;
}

.carousel-cell {
  width: 100%;
  height: 200px;
  margin-right: 10px;
  /* center images in cells with flexbox */
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery.is-fullscreen .carousel-cell {
  height: 100%;
}

.carousel-cell-image {
  display: block;
  max-height: 100%;
}

.gallery.is-fullscreen .carousel-cell-image {
  max-width: 100%;
}

/* kontakt */
.kontakt .table{
  display: table;
  width: 100%;
}
.kontakt .cell{
  display: table-cell;
  vertical-align: top;
  width: 50%;
}

/* vylety */
.vylety .novinka.blog .image {
  aspect-ratio: 16 / 9;
}

/* socials */
.twitter, .facebook, .google-plus, .instagram{
  background-image: url('../design/layout/twitter-strip.png');
  background-position: 0 0;
  background-size: cover;
  background-repeat: no-repeat;
  width: 6rem;
  height: 6rem;
  border-radius: 3rem;
}
.instagram{
  background-image: url('../design/layout/instagram-strip.png');
}
.facebook{
  background-image: url('../design/layout/facebook.png');
}
.google-plus{
  background-image: url('../design/layout/google-plus.png');
}
/* socials */


/* SUB FOOTER */
#sub-footer{
  background-color: rgba(51, 153, 204, 1);
  background-image: url('../design/layout/bg-sub_footer-blue.png');
  background-position: bottom center;
  background-repeat: repeat-x;
  width: 100%;
  color: #fff;
  font-weight: 300;
  font-size: 1.4rem;
}
#sub-footer *{
  line-height: 1.6em;
}
#sub-footer p{
  margin-bottom: 1.6em;
}
#sub-footer h1{
  color: #fff;
  font-size: 1.428571em;
  font-weight: 600;
  text-transform: uppercase;
}
#sub-footer a{
  color: #fff;
  border-bottom: .1rem solid rgba(255, 255, 255, 0);
}
#sub-footer a:hover{
  border-bottom: .1rem solid rgba(255, 255, 255, .5);
}
#sub-footer .wrapper{
  display: table;
  height: 100%;
  width: 100%;
}
#sub-footer .pad{
  display: table-cell;
  vertical-align: top;
}

#sub-footer .socials{
  vertical-align: bottom;
  text-align: right;
  position: absolute;
  right: 0;
  bottom: 0;
}
#sub-footer .socials a,
#sub-footer .socials a:hover{
  border: none;
}
#sub-footer .socials a{
  display: inline-block;
  background-position: 0 0;
  opacity: 0.9;
}
#sub-footer .facebook{
  margin: 0 0 0 3rem;
}
#sub-footer .socials a:hover{
  background-position: 0 33.3333%;
  opacity: 1;
}

#sub-footer .address{
}
#sub-footer .contact{
  text-align: right;
}
#sub-footer .contact ul li{
  display: inline-block;
}
#sub-footer .contact ul {}
#sub-footer .sitemap{
  text-align: center;
}

#sub-footer .terms{
  margin-top: 1.6em;
}

#sub-footer .language{
  margin-top: 1.6em;
}
/* /SUB FOOTER */

/* FOOTER */
footer,
#footer{
  background: #333;
}
.footer{
  font-size: 0.9em;
}
.footer li, .footer li a{
  line-height: 2.4rem;
  color: #999;
  text-decoration: none;
}
.footer li a:hover{
  color: #ccc;
  text-decoration: none;
}

.footer .socials{
  vertical-align: bottom;
  text-align: center;
  position: relative;
}
.footer .socials a,
.footer .socials a:hover{
  border: none;
}
.footer .socials a{
  display: inline-block;
  width: 5.9rem;
  height: 5.9rem;
  position: relative;
  margin: -2.45rem 3rem;
  background-position: 0 0;
  opacity: 0.9;
}
.footer .socials a:hover{
  background-position: 0 33.3333%;
  opacity: 1;
}

.footer .socials{
  text-align: center;
}
.footer li:last-of-type{
  text-align: right;
}
/* /FOOTER */



  /* display tweaks */
  ul.footer{
    display: table;
    width: 100%;
  }
  .footer li{
    display: table-cell;
  }
  article,
  aside,
  .footer li{
    vertical-align: middle;
  }
  .col-50{
    width: 50%;
  }
  .col-33{
    width: 33.3333%;
  }
    /* hlavni paddingy */
    header .wrapper,
    .main article .pad,
    #sub-footer .wrapper,
    .footer {
      padding-left: 3rem;
      padding-right: 3rem;
    }
    .kontakt .cell:nth-of-type(2n){
      padding-left: 3rem;
    }
    .main article .pad {
      margin-top: 5rem;
      margin-bottom: 5rem;
    }
    .main .novinka:nth-of-type(2n) article .pad,
    .main .contact-form article .pad{
      margin-top: 0;
      margin-bottom: 0;
      padding-top: 5rem;
      padding-bottom: 5rem;
    }
    section section{
      margin: 0;
    }
    aside,
    .boxes{
      margin-top: 5rem;
      margin-bottom: 5rem;
    }
    #sub-footer,
    .footer{
      padding-top: 3rem;
      padding-bottom: 3rem;
    }
    #sub-footer .sitemap ul,
    #sub-footer .pad p:last-of-type{
      margin-bottom: 0;
    }
    /* /hlavni paddingy */
  /* /display tweaks */
/* /main */
/* responsive tweaks */
  /* max-width */
  @media only screen and (max-width: 120em) { /* 1920 */
  }
  @media only screen and (max-width: 90em) { /* 1440 */
    .header{
      height: 50rem;
    }
  }
  @media only screen and (max-width: 85.3125em) { /* 1365 */
  }
  @media  only screen and (max-width: 79.9375em), /* 1279 */
           /* iPad mini in portrait & landscape */
          only screen
          and (min-device-width : 768px)
          and (max-device-width : 1024px)
          and (-webkit-min-device-pixel-ratio: 1) {
      .header{
        margin-top: 9rem;
      }
  }
  @media only screen and (max-width: 64em), /* 1024 */
          /* iPad mini in portrait & landscape */
          only screen
          and (min-device-width : 768px)
          and (max-device-width : 1024px)
          and (-webkit-min-device-pixel-ratio: 1) {
      .header{
        margin-top: 6rem;
        height: 42.7rem;
      }
      #slogan{
        padding: 2rem;
      }
      /* hlavni paddingy */
      header .wrapper,
      .main article .pad,
      #sub-footer .wrapper,
      .footer {
        padding-left: 2rem;
        padding-right: 2rem;
      }
      .kontakt .cell:nth-of-type(2n){
        padding-left: 2rem;
      }
      .main article .pad {
        margin-top: 3rem;
        margin-bottom: 3rem;
      }
      .main .novinka:nth-of-type(2n) article .pad{
        margin-top: 0;
        margin-bottom: 0;
        padding-top: 3rem;
        padding-bottom: 3rem;
      }
      aside,
      .boxes{
        margin-top: 3rem;
        margin-bottom: 3rem;
      }
      #sub-footer,
      .footer{
        padding-top: 3rem;
        padding-bottom: 3rem;
      }
      .footer .socials a{
        width: 5rem;
        height: 5rem;
      }
  }
  @media  only screen and (max-width: 63.9375em), /* 1023 */
          /* iPad mini in portrait & landscape */
          only screen
          and (min-device-width : 768px)
          and (max-device-width : 1024px)
          and (orientation : portrait)
          and (-webkit-min-device-pixel-ratio: 1),
          /* iPhone X in portrait & landscape */
          only screen
          and (min-device-width : 375px)
          and (max-device-width : 812px)
          and (-webkit-device-pixel-ratio : 3),
          /* iPhone 6, 7, & 8 in portrait & landscape */
          only screen
          and (min-device-width : 375px)
          and (max-device-width : 667px),
          /* iPhone 6, 7, & 8 Plus in portrait & landscape */
          only screen
          and (min-device-width : 414px)
          and (max-device-width : 736px),
          /* iPhone 5 & 5S in portrait & landscape */
          only screen
          and (min-device-width : 320px)
          and (max-device-width : 568px)
          and (-webkit-device-pixel-ratio: 2) {
    .main > article,
    .main .wrapper{
      display: block;
    }
    #sub-footer{
      font-size: 0.9em;
    }
  }
  @media only screen and (max-width: 61.1875em) { /* 979 */
  }
  @media  only screen and (max-width: 56.1875em), /* 899 */
          /* iPhone X in portrait & landscape */
          only screen
          and (min-device-width : 375px)
          and (max-device-width : 812px)
          and (-webkit-device-pixel-ratio : 3),
          /* iPhone 6, 7, & 8 in portrait & landscape */
          only screen
          and (min-device-width : 375px)
          and (max-device-width : 667px),
          /* iPhone 6, 7, & 8 Plus in portrait & landscape */
          only screen
          and (min-device-width : 414px)
          and (max-device-width : 736px),
          /* iPhone 5 & 5S in portrait & landscape */
          only screen
          and (min-device-width : 320px)
          and (max-device-width : 568px)
          and (-webkit-device-pixel-ratio: 2) {
    .kontakt .table{
      display: block;
    }
    .kontakt .cell{
      display: block;
      width: 100%;
    }
    .kontakt .cell:nth-of-type(2n){
        padding-left: 0;
      }
    .kontakt .cell:first-of-type{
      padding-right: 0;
      text-align: left;
    }
  }
  @media  only screen and (max-width: 48em), /* 768 */
          /* iPhone X in portrait & landscape */
          only screen
          and (min-device-width : 375px)
          and (max-device-width : 812px)
          and (orientation : portrait)
          and (-webkit-device-pixel-ratio : 3),
          /* iPhone 6, 7, & 8 in portrait & landscape */
          only screen
          and (min-device-width : 375px)
          and (max-device-width : 667px),
          /* iPhone 6, 7, & 8 Plus in portrait & landscape */
          only screen
          and (min-device-width : 414px)
          and (max-device-width : 736px),
          /* iPhone 5 & 5S in portrait & landscape */
          only screen
          and (min-device-width : 320px)
          and (max-device-width : 568px)
          and (-webkit-device-pixel-ratio: 2) {
    body {
      font-size: 1.6rem;
    }
    h1, h2, h2.birds-type {
      font-size: 1.575em;
    }
    h2, h3 {
      font-size: 1.35em;
    }
    .header{
      height: 30rem;
    }
    .header #slogan {
      font-size: .9em;
      padding: 1em;
    }
    #slogan h1 span {
      font-size: .8em;
    }
  }
  @media  only screen and (max-width: 47.9375em), /* 767 */
          /* iPhone X in portrait & landscape */
          only screen
          and (min-device-width : 375px)
          and (max-device-width : 812px)
          and (orientation : portrait)
          and (-webkit-device-pixel-ratio : 3),
          /* iPhone 6, 7, & 8 in portrait & landscape */
          only screen
          and (min-device-width : 375px)
          and (max-device-width : 667px),
          /* iPhone 6, 7, & 8 Plus in portrait & landscape */
          only screen
          and (min-device-width : 414px)
          and (max-device-width : 736px),
          /* iPhone 5 & 5S in portrait & landscape */
          only screen
          and (min-device-width : 320px)
          and (max-device-width : 568px)
          and (-webkit-device-pixel-ratio: 2) {

  }
  @media  only screen and (max-width: 37.5em), /* 600 */
          /* iPhone X in portrait & landscape */
          only screen
          and (min-device-width : 375px)
          and (max-device-width : 812px)
          and (orientation : portrait)
          and (-webkit-device-pixel-ratio : 3),
          /* iPhone 6, 7, & 8 in portrait & landscape */
          only screen
          and (min-device-width : 375px)
          and (max-device-width : 667px)
          and (orientation : portrait),
          /* iPhone 6, 7, & 8 Plus in portrait & landscape */
          only screen
          and (min-device-width : 414px)
          and (max-device-width : 736px)
          and (orientation : portrait),
          /* iPhone 5 & 5S in portrait & landscape */
          only screen
          and (min-device-width : 320px)
          and (max-device-width : 568px)
          and (-webkit-device-pixel-ratio: 2) {

    .header{
      height: 30rem;
    }
    /* hlavni paddingy */
      header .wrapper,
      .main article .pad,
      #sub-footer .wrapper,
      .footer {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
      }
      .footer{
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
      }
  }
  @media  only screen and (max-width: 37.4375em), /* 599 */
          /* iPhone X in portrait & landscape */
          only screen
          and (min-device-width : 375px)
          and (max-device-width : 812px)
          and (orientation : portrait)
          and (-webkit-device-pixel-ratio : 3),
          /* iPhone 6, 7, & 8 in portrait & landscape */
          only screen
          and (min-device-width : 375px)
          and (max-device-width : 667px)
          and (orientation : portrait),
          /* iPhone 6, 7, & 8 Plus in portrait & landscape */
          only screen
          and (min-device-width : 414px)
          and (max-device-width : 736px)
          and (orientation : portrait),
          /* iPhone 5 & 5S in portrait & landscape */
          only screen
          and (min-device-width : 320px)
          and (max-device-width : 568px)
          and (-webkit-device-pixel-ratio: 2) {
    .header .wrapper,
    .main,
    ul.footer,
    .main > article,
    .banner,
    .footer li{
      display: block;
    }
    .col-33, .col-50{
      width: 100%;
    }
    #sub-footer .col-33{
      display: block;
      width: 100%;
    }
    #sub-footer h1{
      display: block;
    }
    #sub-footer .address,
    #sub-footer .sitemap {
      border-bottom: 1px dotted #fff;
    }
    #sub-footer .address p:last-of-type,
    #sub-footer .sitemap ul {
      margin-bottom: 2em;
    }
    #sub-footer .sitemap,
    #sub-footer .contact {
      text-align: left;
      margin-top: 1em;
    }
    #sub-footer .sitemap ul li {
      display: inline-block;
    }
    #sub-footer .sitemap ul li::after {
      content: '|';
      padding: 0 0.5em;
    }
    #sub-footer .sitemap ul li:last-child::after {
      content: '';
    }
    #sub-footer .socials{
      text-align: left;
    }
    #sub-footer .socials a {
      display: inline-block;
      margin: 0 1em 0 0;
    }
    .footer .socials {
      position: absolute;
      right: 0;
      text-align: right;
      margin-top: -1rem;
    }
    .footer .socials a {
      margin: -1.5rem 1em;
    }
    .footer li:last-of-type {
      text-align: left;
    }
  }
  @media  only screen and (max-width: 25.8125em), /* 413 */
          /* iPhone X in portrait & landscape */
          only screen
          and (max-width: 413px)
          and (-webkit-device-pixel-ratio : 3),
          only screen
          and (max-width: 413px)
          and (-webkit-device-pixel-ratio: 2) {
  }
  @media  only screen and (max-width: 22.5em),  /* 360 */
          only screen and (max-width: 22.5em) and (-webkit-device-pixel-ratio: 1)
          only screen
          and (min-device-width : 320px)
          and (max-device-width : 568px)
          and (orientation : portrait) {
    body {
      font-size: 1.4rem;
    }
    p, td, li, address {
      line-height: 1.6em;
    }
    .header{
      height: 30rem;
    }
  }
  @media only screen and (max-width: 19.9375em) { /* 319 */
  }


/* min-width */
  @media only screen and (min-width: 56.25em) { /* 900 */
  }
  @media only screen and (min-width: 85.375em) { /* 1440 */
    ul.grid{
      max-width: 142.6rem;
    }
  }
  @media only screen and (min-width: 90em) { /* 1440 */
    .main article .pad,
    #sub-footer .wrapper,
    .footer {
      padding-left: 0;
      padding-right: 0;
    }
    .main .grid article .pad{
      padding-left: 3rem;
      padding-right: 3rem;
    }
  }
/* responsive tweaks */
/* resety padingu */
header aside.banner,
aside#sub-footer{
  margin-top: 0;
  margin-bottom: 0;
}

/* transitions */
#slogan.show{
  bottom: 0;
  -webkit-transition: bottom 1500ms ease-in-out;
     -moz-transition: bottom 1500ms ease-in-out;
       -o-transition: bottom 1500ms ease-in-out;
          transition: bottom 1500ms ease-in-out;
}
/* /layout */
