/*!
 * Start Bootstrap - Stylish Portfolio v5.0.1 (https://startbootstrap.com/template-overviews/stylish-portfolio)
 * Copyright 2013-2018 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-stylish-portfolio/blob/master/LICENSE)
 */
html,
body {
  height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

@font-face {
    font-family: 'abradelight';
    src: url('jason_vandenberg_-_abrade_light-webfont.woff2') format('woff2'),
         url('jason_vandenberg_-_abrade_light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'spectralextrabold';
    src: url('spectral-extrabold-webfont.woff2') format('woff2'),
         url('spectral-extrabold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'abradebook';
    src: url('jason_vandenberg_-_abrade_book-webfont.woff2') format('woff2'),
         url('jason_vandenberg_-_abrade_book-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@keyframes blink {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 100;
    }
}

body {
  font-family: 'abradelight';
}

.btn-xl {
  padding: 1.25rem 2.5rem;
}

.content-section {
  padding-top: 7.5rem;
  padding-bottom: 7.5rem;
}

.content-section-heading h2 {
  font-size: 3rem;
}

.content-section-heading h3 {
  font-size: 1rem;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
}

#warning-message { display: none; }
@media only screen and (orientation:portrait){
    #warning-message { 
      position: absolute;
      top: 0;
      left: 0;
      margin: auto;
      display: block; 
      background-image: url(../img/turn-landscape.png);
      z-index: 1;
      background-repeat: no-repeat;
      background-position: center;
      width: 100%;
      height: 100%;
      opacity: 0;
      animation: blink 1s;
      animation-iteration-count: 3;
    }
}

.masthead {
  position: absolute;
  display: table;
  width: 100%;
  height: auto;  
  top: 40px;
}

.masthead h1 {
  font-size: 4rem;
  margin: 0;
  padding: 0;
}

.carousel-inner > .item{
  height: 92vh;
}

.carousel-inner .item img {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  display: block;
  max-width:80vw;
  max-height:70vh;
  width: auto;
  height: auto;
}

/*
inspired from https://codepen.io/Rowno/pen/Afykb 
*/
.carousel-fade .carousel-inner .item {
  opacity: 0;
  transition-property: opacity;
  transition: opacity 1.5s ease-out;
}

.carousel-fade .carousel-inner .active {
  opacity: 1;
  transition: opacity 1.5s ease-out;
}

.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
  left: 0;
  opacity: 0;
  z-index: 1;
}

.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
  opacity: 1;
}

.carousel-fade .carousel-control {
  z-index: 2;
}


/* Menu vertical Side menu */

.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 3;
  top: 0;
  left: 0;
  background-color: #111;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
  display: none;
}

.sidenav a {
  padding: 10px 15px;
  text-decoration: none;
  color: white;
  display: block;
  transition: 0.3s;
  font-size: 1.1em;
  z-index: 2;
}

.sidenav a:hover {
  color: white;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 2em;
  margin-left: 0px;
}

@media screen and (max-width: 600px) {
  .sidenav{
    display: inline-block; 
  }
}

/* Menu horizontal */
#myTopnav{
  /*background-color: white;*/
}
.topnav {
  overflow: hidden;
  background-color: white;
  width: 100vw; 
  display: flex;
  align-items: center;
  padding-left: 8vw;
  height: 60px;
  z-index: 3;
  position: absolute;
}

.topnav-vize{
  background-color: transparent;
}

.topnav a {
  float: left;
  color: white;
  padding: 14px 30px;
  text-decoration: none;
  font-size: 1em;
}

.topnav .menu-icon{
  color: black;
  font-size: 2em;

}

.topnav .menu-icon:hover{
  color: black;
}

@media(max-width: 600px){
  .topnav{
    padding-left: 15px;
    background-color: white;
  }
  .topnav a{
    padding: 14px 0px;
  }
  .topnav-vize{
    padding-left: 15px;
    background-color: transparent;
    background: transparent;
  }

  #myTopnav{
    background: transparent;
  }
  .topnav .menu-icon{
    color: black;
    font-size: 2em;
  }
  .topnav .menu-icon-vize{
    color: white;
  }
}

.topnav a:hover {
  color: white;
}

.topnav .active {
  text-decoration: underline;
  color: white;
}

#topnavText{
  display: none;
}

.topnav-text{
  text-transform: uppercase;
  letter-spacing: 3px;

}
.topnav-text:hover{
  text-decoration: underline;
}

.topnav-text:visited{
  color: white;
}


@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.menu-icon {
    float: left;
    display: block;
  }
  #topnavText{
    display: none;
  }
  
}

@media screen and (max-width: 600px) {
  .topnav.responsive {
    position: relative;
  }
  .topnav.responsive .menu-icon {
    position: absolute;
    left: 15px;
    top: -4px;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}



/* IDEA */
.portfolio {
  display: block;
  max-width: 100vw;
  max-height: 100vh;
  width: auto;
  height: auto;
  margin-top: 60px;
  padding-top: 30px;
}

.portfolio-img{
}

.portfolio-img img{
  height: auto;
  width: auto;
  max-height: 100vh;
  max-width: 90vw;
  animation: blink 20s;
  animation-iteration-count: 1;
}

@media(max-width: 600px){
  .portfolio{
    padding-left: 0px;
  }
  .portfolio-img{
    padding-left: 15px;
  }
}

@media(max-height: 500px){
  .portfolio-img img{
    height: auto;
    width: auto;
    max-height: 80vh;
    max-width: 85vw;
  }
}

@media(max-height: 400px){
  .portfolio-img img{
    height: auto;
    width: auto;
    max-height: 75vh;
    max-width: 85vw;
  }
}

/*  VIZE */
.vize{
  height: 100vh; 
}

.carousel-vize .item {
  height: 100vh;
}

.carousel-vize .item img {
  max-width: 100%;
  max-height: 100%;
  display:block;
  width: 100%; 
  height: 100%;
  object-fit: cover;
  pointer-events: none !important;
}

.carousel-control-vize .vize-right{
  right: 0;  
  position: absolute;
  top: 50%;
}

.carousel-control-vize .vize-left{
  left: 0; 
  position: absolute;
  top: 50%;
}

.carousel-control-vize .vize-right img{
  width: 5vw;
  max-width: 70%;
}

.carousel-control-vize .vize-left img{
  width: 5vw;
  max-width: 70%;
}

.carousel-control-vize{
  opacity: 1;
  text-shadow: none;
}



/*  APARTMANY */
.apartmany{
  overflow: auto;
  margin: auto;
  width: 100vw;
  margin-top: 50px;
}

.container-apartmany{
  padding: 0;
  width: auto;
}

.carousel-apartmany .item img {
  max-width: 95vw;
  max-height: 95vh;
}

.carousel-apartmany > .item {
     
}

.carousel-control{
  z-index: 1;
}
.carousel-control-apartmany .apartmany-right{
  right: 0;  
  position: absolute;
  top: 50%;
}

.carousel-control-apartmany .apartmany-left{
  left: 0; 
  position: absolute;
  top: 50%;
}

.carousel-control-apartmany .apartmany-right img{
  width: 5vw;
  max-width: 70%;
}

.carousel-control-apartmany .apartmany-left img{
  width: 5vw;
  max-width: 70%;
}

.carousel-control-apartmany{
  opacity: 1;
  text-shadow: none;
}

.carousel-control.left, .carousel-control.right{ 
    background: none !important;
    filter: progid:none !important;
}

/* SITUACE */
.situace{
  margin-top: 50px;
}
.situace .container{
  width: 85vw;
}

.situace-img{
  max-width: 100%;
}

/*  KONTAKT   */
.contact{
  overflow: auto;
  
  padding-top: 5vh;
  width: 100vw;
  height: 105vh;
  margin-top: 60px;
}

.contact-text{
  padding-left: 30px;
}

@media(max-width: 600px){
  .contact{
    padding-left: 0px;
  }
  .contact-text{
    padding-left: 15px;
  }
}
.contact-img{
  width: 10em;
}

.contact-name{
  font-family: 'abradelight';
  font-size: 5rem;
  white-space: nowrap;
}

.contact-adresa{
  font-family: 'spectralextrabold';
  font-size: 2.5rem;
  margin-top: -15px;
}

.contact-mail{
  font-family: 'abradebook';
  font-size: 2.3rem;
}

.contact-cislo{
  font-family: 'abradebook';
  font-size: 2.3rem;
  line-height: 0;
}

.contact-situace-img{
  max-width: 120%;
}

footer.footer {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

footer.footer .social-link {
  display: block;
  height: 4rem;
  width: 4rem;
  line-height: 4.3rem;
  font-size: 1.5rem;
  background-color: #1D809F;
  -webkit-transition: background-color 0.15s ease-in-out;
  transition: background-color 0.15s ease-in-out;
  -webkit-box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.1);
}

footer.footer .social-link:hover {
  background-color: #155d74;
  text-decoration: none;
}

a {
  color: black;
}

a:hover, a:focus, a:active {
  color: black;
}

.btn-primary {
  background-color: #1D809F !important;
  border-color: #1D809F !important;
  color: #fff !important;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  background-color: #155d74 !important;
  border-color: #155d74 !important;
}

.btn-secondary {
  background-color: #ecb807 !important;
  border-color: #ecb807 !important;
  color: #fff !important;
}

.btn-secondary:hover, .btn-secondary:focus, .btn-secondary:active {
  background-color: #ba9106 !important;
  border-color: #ba9106 !important;
}

.btn-dark {
  color: #fff !important;
}

.btn {
  -webkit-box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.1);
  font-weight: 700;
}

.bg-primary {
  background-color: #1D809F !important;
}

.text-primary {
  color: #1D809F !important;
}

.text-secondary {
  color: #ecb807 !important;
}
