/* Bootstrap overrides */
@media screen and (min-width: 768px) and (max-width: 991px) {
  .container {
    max-width:  950px;
    margin-right: 0;
    margin-left: 0;
  }
}



@font-face {
  font-family: suitcaseTypeFoundryPepi;
  src: url("../fonts/Suitcase Type Foundry - Pepi Bold Bold.otf") format("opentype");
}


@font-face {
  font-family: suitcaseTypeFoundryPepi;
  font-weight: bold;
  src: url("../fonts/Suitcase Type Foundry - Pepi Bold Bold.otf") format("opentype");
}

@font-face {
  font-family: suitcaseTypeFoundryPepi;
  font-style: italic;
  src: url("../fonts/Suitcase Type Foundry - Pepi Bold Bold Italic.otf") format("opentype");
}

@font-face {
  font-family: suitcaseTypeFoundryRudi;
  src: url("../fonts/Suitcase Type Foundry - Rudi Bold Regular.otf") format("opentype");
}

@font-face {
  font-family: suitcaseTypeFoundryRudi;
  font-style: italic;
  src: url("../fonts/Suitcase Type Foundry - Rudi Bold Italic.otf") format("opentype");
}

html {
  /*max-width: 100vw;*/
  overflow-x: hidden;
}

body {
  font-family: Roboto;
  font-family: suitcaseTypeFoundryPepi;
}

.hidden {
  display: none !important;
}

h4 {
  font-size: 24px;
}

p {
  font-family: Roboto, sans-serif;
  font-size: 17px;
}

.darujme-form {
  text-align: center;
  padding: 35px 0px 60px;
}

.js-amount-text {
  font-size: 13px;
  padding-top: 5px;
  margin: 0;
  opacity: .8;
}

.amount-info {
  font-size: 17px;
  padding: 0;
  margin: 10px auto 15px auto;
}

.btn-amount {
  box-sizing: border-box;
  display: inline-block;
  padding: 12px 10px;
  margin-right: 5px;
  background: rgba(255,255,255,.9);
  color: #555;
  font-family: Roboto, sans-serif;
  border-radius: 3px;
  cursor: pointer;
  border: rgba(0, 0, 0, .1) 1px solid;
}

.btn-amount.active {
  background: #333;
  color: #fff;
  font-weight: 600;
}

.btn-amount input[type="radio"] {
  margin-right: 5px;
}

.btn-amount input[type="number"] {
  max-width: 100px;
  font-family: Roboto, sans-serif;
  margin: -5px 0;
  padding: 3px;
  border-radius: 3px;
  border: 0;
  background: #fff;
}

.btn-amount input[type="number"]:focus {
  background: #fff;
  outline: none;
}

.give-monthly {
  margin: 15px 0 20px 0;
}

.give-monthly:hover {
  cursor: pointer;
}


.btn-pojistit {
  display: inline-block;
  padding: 18px 35px 15px;
  font-size: 20px;
  background: #f9da05;
  color: #000;
  min-width: 320px;
  margin: 0;
  border-radius: 10px 0 10px 0;
  background-image: none !important;
  text-align: center;
  text-transform: uppercase; 
}

.btn-pojistit:hover {
  text-decoration: none;
  color: #000;
}

.payment-info {
  font-size: 12px;
  padding-top: 10px;
  margin: 0;
  opacity: .8;
}

.payment-info img {
  position: relative;
  top: -2px;
}

.footer {
  padding-bottom: 10px;
}


.footer a, .footer span {
  display: inline-block;
  margin-left: 15px;
  font-family: Roboto, sans-serif;
  color: #000;
}

.footer a.oziveni-link {
  font-family: suitcaseTypeFoundryPepi;
}

.oziveni-link:hover {
  color: #000;
}

.footer svg {
  position: relative;
  top: 5px;
}


.modal-open .modal {
    background: rgba(255,255,255,.9);
}



#bg-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../img/bkg.jpg') no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  pointer-events: none;
}

#bg-wrapper-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .4);
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  pointer-events: none;
}


a {
  color: #71a0d5;
  pointer-events: auto;
}

a:focus, a:hover {
  color: #71a0d5;
  /* color: white; */
  /* background-color: black; */
  text-decoration: underline;
}

.site-wrapper {
  /*width: 100%;*/
}

article.content {
  padding-right: 1.4em;
}

article.content h1 {
  text-transform: uppercase;
  font-family: suitcaseTypeFoundryRudi;
  /* margin-bottom: 1.5em; */
  padding-top: 0.5em;
}

#page-index {
  pointer-events: none;
  z-index: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

#index-left-arrow:after {
  content: "↑";
}

#logo {
  /* margin-top: 10vh; */
  /* max-width: 40%; */
  max-height: 50vh;
}
#claim {
  color: white;
  font-family: suitcaseTypeFoundryRudi;
  margin-top: 2em;
  text-align: center;
  padding-bottom: 5vh;
}
#claim h2 {
  line-height: 1.35em;
}

#kampanporada {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1061;
}
#kampanporada img {
  max-height: 17em;
}
#poradatext, #poradatext-white {
  font-family: suitcaseTypeFoundryRudi;
  position: fixed;
  right: 0;
  top: 50%;
  transform-origin: bottom center;
  -webkit-transform: translate(50%,-50%) rotate(-90deg);
  -moz-transform: translate(50%,-50%) rotate(-90deg);
  -ms-transform: translate(50%,-50%) rotate(-90deg);
  -o-transform: translate(50%,-50%) rotate(-90deg);
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
  transform: translate(50%,-50%) rotate(-90deg);
  z-index: 1062;
}
#poradatext a, #poradatext a:visited{
  color: black;
}
#poradatext a:hover, #poradatext-white a:hover{
  color: #71a0d5;
}
#poradatext-white a, #poradatext-white a:visited{
  color: white;
}

.mobilni-darujme {

}

.btn-pojistit {
  background-image: url('../img/noise.png');
  background-size: contain;
}

#darujme {
  display: none;
  position: absolute;
  right: 0;
  top: -9px;
  font-size: 0.8em;
  text-align: center;
  color: transparent;
  /* font-family: suitcaseTypeFoundryRudi; */
  /* font-weight: bold; */
  /* width: 100%; */
  z-index: 1060;
}

#darujme a {
  color: white;
}

#darujme td:hover, #darujme td:focus {
  /* background-color: white; */
  /* color: black; */

}

#darujme .tg td a:hover {
  color: #71a0d5;
}

#darujarrow {
  position: relative;
}

.tg  {border-collapse:collapse;border-spacing:3px;}
.tg td {
  background-image: url('../img/noise.png');
  background-size: 150px;
  background-color: transparent;
  font-size:14px;
  padding:10px 5px;
  border-style:solid;
  border-color:white;
  border-width:9px;
  overflow:hidden;
  word-break:normal;
  width:46%;
  color: white;
}
/* .tg th{font-size:14px;font-weight:normal;padding:10px 5px;border-style:solid;border-width:1px;overflow:hidden;word-break:normal;} */
.tg .tg-baqh{text-align:center;vertical-align:top}
.tg .large-font {font-size: 2em}

.tg .last-col {
  background-color: transparent;
  background-image: none;
}

.tg .cell-clickable:hover {
  background-color: #71a0d5 !important;
  background-image: none;
  cursor: pointer;
}

.tg #last-row {
  background-image: url('../img/tabulkaspodek.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

#darujmelogo {
  position: absolute;
  left: 9px;
  bottom: -1em;
  /* width: 1em; */
}

#darujmelogo img {
  height: 1em;
}

#tabletriangle {
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 1.1em solid transparent;
  border-bottom: 1.1em solid transparent;

  border-left: 1.1em solid black;
  position: absolute;
  bottom: 10px;
  right: 0px;
  /* width: 0; */
  /* height: 0; */
}

#noisearrow {
  position: absolute;
  bottom: 18px;
  right: -3.55em;
  background-image: url('../img/noise_tri.png');
  background-repeat: no-repeat;
  background-size: contain;
  width: 100px;
  /* height: 150px; */
  height: 49px;
}

/* Animacky */
.klistata {
  position: fixed;
  top: -15em;
  /* left: 50%; */
}

.kliste img{
  width: 100px;
}

#kliste1, #kliste2 {
  position: relative;
  /*width: 100px;*/
  /*height: 100px;*/
}

#kliste1 {
  left: 500%;
  top: 50%;
}
#kliste2 {
  /* right: 30%; */
}

#pistalka {
  /* margin: 0 auto; */
  background-image: url('../img/PISTALKA_ZLOBI.gif');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  /*height: 1000px;*/
  width: 100%;
  min-height: 12em;
  z-index: 1090;
  cursor: pointer;
}

#anim-sekacka {
  pointer-events: none;
  position: fixed;
  /*top: 20%;*/
  left: -100%;
  animation: driveright 20s infinite linear;
  z-index: 99999;
}

#anim-sekacka img {
  width: 40vw;
}

@keyframes driveright {
  0%   {left: -100%; top: 20%; transform: scaleX(1);}
  2%   {top: 21%;}
  4%   {top: 20%;}
  6%   {top: 21%;}
  8%   {top: 20%;}
  10%  {top: 21%;}
  12%  {top: 20%;}
  14%  {top: 21%;}
  16%  {top: 20%;}
  18%  {top: 21%;}

  20%  {top: 20%;}
  22%  {top: 21%;}
  24%  {top: 20%;}
  26%  {top: 21%;}
  28%  {top: 20%;}
  20%  {top: 21%;}
  22%  {top: 20%;}
  24%  {top: 21%;}
  26%  {top: 20%;}
  28%  {top: 21%;}

  30%  {top: 20%;}
  32%  {top: 21%;}
  34%  {top: 20%;}
  36%  {top: 21%;}
  38%  {top: 20%;}
  30%  {top: 21%;}
  32%  {top: 20%;}
  34%  {top: 21%;}
  36%  {top: 20%;}
  38%  {top: 21%;}

  40%  {top: 20%;}
  42%  {top: 21%;}
  44%  {top: 20%;}
  46%  {top: 21%;}
  48%  {top: 20%;}
  40%  {top: 21%;}
  42%  {top: 20%;}
  44%  {top: 21%;}
  46%  {top: 20%;}
  48%  {top: 21%; transform: scaleX(1);}

  50%  {left: 100%; top: 20%; transform: scaleX(-1);}
  52%  {top: 21%;}
  54%  {top: 20%;}
  56%  {top: 21%;}
  58%  {top: 20%;}
  50%  {top: 21%;}
  52%  {top: 20%;}
  54%  {top: 21%;}
  56%  {top: 20%;}
  58%  {top: 21%;}

  60%  {top: 20%;}
  62%  {top: 21%;}
  64%  {top: 20%;}
  66%  {top: 21%;}
  68%  {top: 20%;}
  60%  {top: 21%;}
  62%  {top: 20%;}
  64%  {top: 21%;}
  66%  {top: 20%;}
  68%  {top: 21%;}

  70%  {top: 20%;}
  72%  {top: 21%;}
  74%  {top: 20%;}
  76%  {top: 21%;}
  78%  {top: 20%;}
  70%  {top: 21%;}
  72%  {top: 20%;}
  74%  {top: 21%;}
  76%  {top: 20%;}
  78%  {top: 21%;}

  80%  {top: 20%;}
  82%  {top: 21%;}
  84%  {top: 20%;}
  86%  {top: 21%;}
  88%  {top: 20%;}
  80%  {top: 21%;}
  82%  {top: 20%;}
  84%  {top: 21%;}
  86%  {top: 20%;}
  88%  {top: 21%;}

  90%  {top: 20%;}
  92%  {top: 21%;}
  94%  {top: 20%;}
  96%  {top: 21%;}
  98%  {top: 20%;}
  90%  {top: 21%;}
  92%  {top: 20%;}
  94%  {top: 21%;}
  96%  {top: 20%;}
  98%  {top: 21%; transform: scaleX(-1);}

  100% {left: -100%; top:20%; transform: scaleX(1);}
}

/* SNOW */
.snowfall-flakes {
  pointer-events: none;
}

.play-spot {
  line-height: 24px;
}

.play-spot svg {
  position: relative;
  top: 4px;
  left: -4px;
}

.index-nav {
  max-width: 700px;
  margin: 0 auto;
}

.index-nav a {
  display: block;
  padding: 12px 15px;
  margin: 8px auto;
  background: transparent;
  color: #fff;
  border: #fff 2px solid;
  border-radius: 10px 0 10px 0;
  font-weight: normal;
  transition: all 0.2s ease;
}

.index-nav a:hover {
    background: #fff;
  color: #000;
  text-decoration: none
}


/* NAVBAR 2 */

#navbar2 {
  z-index: 1050;
  text-align: left;
}
.navbar2-white #navbar2 a {
  color: white;
}
.navbar2-black #navbar2 a {
  color: black;
  display: block;
}
#navbar2 a:hover {
  text-decoration: underline;
}
#navbar2 .row {
  margin-bottom: 1.5em;
}

.navbar2-black #navbar2 a.active {
  color: #71a0d5;
  position: relative;
}

.navbar2-black #navbar2 a.active:before {
  display: block;
  width: 20px;
  height: 20px;
  position: absolute;
  left: -22px;
  top: -3px;
  font-size: 20px;
  color: #71a0d5;
  content: "→";
}

#homepage-logo h1{
  /* margin-bottom: -1em; */
  position: absolute;
  top: -4.8em;
  padding-top: 0;
}
#homepage-logo img {
  height: 3.3em;
}
.navbar2-white #homepage-logo {
  display: none;
}

/* HEADING */
.heading {
  min-height: 20vh;
}

/* FOOTER */

#fixed-footer {
  position: fixed;
  bottom: 0;
  width: calc(100% - 17px);
  /*height: 10em;*/
  background: black;
  /* background-color: ; */
  /*animation: hidenav 0.3s 1 forwards;*/

  background:linear-gradient(
    0deg,
    white 0%,
    rgba(255,255,255,0.95) 70%,
    rgba(255,255,255,0.9) 80%,
    rgba(255,255,255,0.8) 85%,
    rgba(255,255,255,0) 100%
    )

}

#fixed-footer #desktop-menu {
  display: none;
}

/* MOBILE MENU  NAVBAR*/

#mobile-menu {
  display: none;
  margin-bottom: 2em;
  margin-top: 4em;
}

.nav-item {
  margin-top: 1em;
  /* margin-bottom: 0.8em; */
  text-indent: -1em;
  padding-left: 1em;
}
.navbar {
  padding: 0;
  margin-top: 0.5em;
}
.navbar-toggler {
  /* background-color: white; */
}
.navbar-nav {
  background-color: white;
}
ul.navbar-nav > li:last-child {
  margin-bottom: 1em;
}
#mobile-navbar {
  z-index: 9999;
}
.navbar-collapse {
  z-index: 9999;
}


#footer-menu-shower {
  position: fixed;
  bottom: -0.1em;
  left: 50%;
  transform: translateX(-50%);
  background-color: black;
  width: 4em;
  height: 2em;
  border-top-left-radius: 50%;
  border-top-right-radius: 50%;
}

#fixed-footer .btn-nav {
  margin-bottom: 0.3em;
  margin-top: 0.3em;
  font-weight: 900;
  border-radius: 5px;
}

#fixed-footer a {
  color: black;
}

#fixed-footer a:focus, #fixed-footer a:hover {
  color: white;
  /*background-color: black;*/
  text-decoration: none;
  background-image: url('../img/noise.png');
  background-size: 150px;
}

@media screen and (min-width: 768px) {
  article.content {
    padding-right: 0;
    /*overflow-y: hidden;*/
    /* padding-bottom: 20vh; */
  }

  article.content h1 {
    margin-bottom: 1.5em;
    padding-top: 1em;
    white-space: nowrap;
  }

  #index-left-arrow:after {
    content: "←";
  }

  #mobile-navbar {
    display: none;
  }

  #fixed-footer .row{
    display: initial;
  }

  #fixed-footer #desktop-menu {
    display: flex;
  }

  #footer-menu-shower {
    display: none;
  }

  #mobile-menu {
    display: none;
  }

  #fixed-footer .row {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 3em;
    padding-right: 3em;
    margin-bottom: 1em;
    /* margin-top: 1em; */
    /* height: 18vh; */
  }

  #fixed-footer .btn-nav {
    height: 100%;
    margin: 1.5em 0.4em 0;
    padding: 0.8em 1.2em;
  }

  .mobilni-darujme {
    display: none;
  }

  #darujme {
    display: table;
  }

  #logo {
    margin-top: 10vh;
  }


}

@media screen and (max-width: 900px) {
  article.content {
    /* padding-bottom: 25vh; */
  }
}

/* MODALS */
.modal-header {
  border-bottom: 0px;
  padding-bottom: 0;
}

.modal-body {
  padding-top: 0;
}

.modal-content {
  border: 0.5em solid #71a0d5;
  border-radius: 0px;
}

.modal-backdrop {
  background-color: transparent;
}