/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
  color: #5a5a5a;
}


/* CUSTOMIZE THE NAVBAR
-------------------------------------------------- */

/* Special class on .container surrounding .navbar, used for positioning it into place. */
.navbar-wrapper {
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
}
.navbar {
  min-height: 50px;
}
.navbar-brand { min-width: 400px; }
.navbar-brand img {
  max-width: 400px !important;
  position: absolute;
  top: -9px;
  left: -1px;
}

/* Flip around the padding for proper display in narrow viewports */
.navbar-wrapper.container {
  padding-right: 0;
  padding-left: 0;
}
.navbar-wrapper .navbar {
  padding-right: 15px;
  padding-left: 15px;
}
a.navbar-brand h1 {
   font-size: 18px;
   padding: 0px;
   margin: 0px;
}


/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  margin-bottom: 1px;
}
.carousel-indicators li {
    height: 7px;
    border: 1px solid #ccc;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  z-index: 10;
  background: none repeat scroll 0 0 rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  left: 20%;
  padding-right: 30px;
  text-align: right;
}

.carousel-inner > .carousel-item {
  min-width: 100%;
}

.carousel-inner > .carousel-item > img {
  min-width: 100%;
  min-height: 300px;
  display: block;
  height: auto;
}
.carousel-indicators {
    right: 35%;
}
.popover-content {
  color: #5a5a5a;
  font-size: 14px;
}

/* MAIN CONTENT
-------------------------------------------------- */
.jumbotron {
    background-color: rgba(0, 0, 0, 0);
    text-align: center;
    padding-top: 5px;
}
.jumbotron h1, .jumbotron .h1 {
    font-size: 300%;
}

.main {
  padding-right: 15px;
  padding-left: 15px;
}

/* Center align the text within the three columns below the carousel */
.main .col-lg-4 {
  margin-bottom: 20px;
  text-align: center;
}
.main h2 {
  font-weight: normal;
}
.main .col-lg-4 p {
  margin-right: 10px;
  margin-left: 10px;
}

#aside, #content {
    margin-top: 2rem;
}

/* RESPONSIVE CSS
-------------------------------------------------- */
@media (max-width: 767px) {
    .container {
        max-width: 100%;
    }
}
@media (min-width: 768px) {
  .carousel-caption {
    left: 50%;
  }
  /* Remove the edge padding needed for mobile */
  .main {
    padding-right: 0;
    padding-left: 0;
  }

  /* Navbar positioning foo */
  .navbar-wrapper {
    margin-top: 20px;
  }
  .navbar-wrapper.container {
    padding-right: 0px;
    padding-left:  0px;
  }
  .navbar-wrapper .navbar {
    padding-right: 15px;
    padding-left:  15px;
  }

  /* The navbar becomes detached from the top, so we round the corners */
  .navbar-wrapper .navbar {
    border-radius: 4px;
  }

  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 20px;
    font-size: 21px;
    line-height: 1.4;
  }
}

ul.nav li.dropdown:hover > ul.dropdown-menu {
    display: block;
}

.alert-error {
    background-color: #F2DEDE;
    border-color: #EBCCD1;
    color: #A94442;
}
.alert-message {
    background-color: #DFF0D8;
    border-color: #D6E9C6;
    color: #3C763D;
}


/* KALKULACKA */
.head-claim .iconlist > li {
   cursor: pointer;
   display: inline-block;
   font-size: 1.1em;
   font-weight: 700;
   left: 0;
   padding: 8em 0 3.5em;
   position: relative;
   text-transform: uppercase;
   top: 0;
   transition: opacity 0.6s ease 0s;
   width: 150px;
   z-index: 1;
   text-align:center;
}

.head-claim .iconlist > li span small {
   color: #ef9c1a;
   display: block;
   font-family: "srovnavac";
   font-size: 110px;
   font-weight: normal;
   left: 0;
   line-height: 60px;
   margin-left: 14%;
   margin-top: -90px;
   position: absolute;
   right: auto;
   top: 50%;
   transition: color 0.5s ease 0s, margin 0.3s ease 0s;
}
.head-claim .iconlist > li:hover span small {
   margin-top: -100px;
}
.head-claim-hp {
    text-align: center;
}
.head-claim .head-claim-hp > p {
    font-size: 1.5em;
    font-weight: 700;
    opacity: 1;
    transition: opacity 0.6s ease 0.3s;
}
.head-claim .head-claim-hp > .title {
    font-size: 3em;
    font-weight: 400;
}
.head-claim .head-claim-hp a {
   color: #999;
}
.head-claim .head-claim-hp a, .head-claim .head-claim-hp a:hover, .head-claim .head-claim-hp a:active {
   text-decoration: none;
}
.head-claim .iconlist {margin-bottom:0}

.head-title {
    font-size: 2em;
    font-weight: 400;
    text-align: center;
    margin-bottom: 1rem;
}

h1,h2,h3,.site-title,.contentheading, .vag {
    font-family: 'Exo', sans-serif;
}

/* Boot4 issue*/
li.disabled {
  cursor: not-allowed;
}
li.disabled a {
  pointer-events: none;
}

#srovnani .table .card-body .partner:not(:last-child) {
    border-bottom: 1px solid #ced4da;
}
#srovnani .table .card-header  {
    padding: 0.75rem 0;
}
#srovnani .table .card-header .row {
    margin: auto;
    font-size: 0.8rem;
}
#srovnani .table .card-body  {
    padding: 0;
}
#srovnani .cena  {
    font-size: 1.25rem;
}
#srovnani .table .card-body .row {
    margin: auto;
    min-height: 3rem;
}
#srovnani .table .card-body .partner:nth-child(even) {
    background-color: #f8f9fa;
}
#srovnani .table .row .row {
   background-color: transparent;
}
.card-header .fa {
  transition: .3s transform ease-in-out;
}
.card-header.collapsed .fa {
  transform: rotate(90deg);
}
.starhod {
   color: #ffc107;
}


/* vyhodit do BS */
.card.selected {
    border-color: #1b639c;
    -webkit-box-shadow: 0 0 0 0.2rem #1b639c80;
    box-shadow: 0 0 0 0.2rem #1b639c80;
}
div.ngx-select.dropdown div.btn.form-control {
   border: 1px solid #999999;
}

div.ngx-select.dropdown ul.dropdown-menu {
   border: 1px solid #999999;
}

/* animace - obrazky */
#crossfade {
    min-height: 200px;
}

#crossfade > img {
	max-width: 130px;
    position: absolute;
    top: 30%;
    right: 20px;
    color: transparent;
    opacity: 0;
    z-index: 0;
    -webkit-backface-visibility: hidden;
    -webkit-animation: imageAnimation 12s linear infinite 0s;
    -moz-animation: imageAnimation 12s linear infinite 0s;
    -o-animation: imageAnimation 12s linear infinite 0s;
    -ms-animation: imageAnimation 12s linear infinite 0s;
    animation: imageAnimation 12s linear infinite 0s;
}

#crossfade > img:nth-child(2)  {
    -webkit-animation-delay: 1.5s;
    -moz-animation-delay: 1.5s;
    -o-animation-delay: 1.5s;
    -ms-animation-delay: 1.5s;
    animation-delay: 1.5s;
}
#crossfade > img:nth-child(3) {
    -webkit-animation-delay: 3s;
    -moz-animation-delay: 3s;
    -o-animation-delay: 3s;
    -ms-animation-delay: 3s;
    animation-delay: 3s;
}
#crossfade > img:nth-child(4) {
    -webkit-animation-delay: 4.5s;
    -moz-animation-delay: 4.5s;
    -o-animation-delay: 4.5s;
    -ms-animation-delay: 4.5s;
    animation-delay: 4.5s;
}
#crossfade > img:nth-child(5) {
    -webkit-animation-delay: 6s;
    -moz-animation-delay: 6s;
    -o-animation-delay: 6s;
    -ms-animation-delay: 6s;
    animation-delay: 6s;
}
#crossfade > img:nth-child(6) {
    -webkit-animation-delay: 7.5s;
    -moz-animation-delay: 7.5s;
    -o-animation-delay: 7.5s;
    -ms-animation-delay: 7.5s;
    animation-delay: 7.5s;
}
#crossfade > img:nth-child(7) {
    -webkit-animation-delay: 9s;
    -moz-animation-delay: 9s;
    -o-animation-delay: 9s;
    -ms-animation-delay: 9s;
    animation-delay: 9s;
}
#crossfade > img:nth-child(8) {
    -webkit-animation-delay: 10.5s;
    -moz-animation-delay: 10.5s;
    -o-animation-delay: 10.5s;
    -ms-animation-delay: 10.5s;
    animation-delay: 10.5s;
}

/*
@-webkit-keyframes imageAnimation,
@-moz-keyframes imageAnimation,
@-o-keyframes imageAnimation,
@-ms-keyframes imageAnimation,
*/
@keyframes imageAnimation
{
    0% { opacity: 0;
    	-webkit-animation-timing-function: ease-in;
      -webkit-transform: translate3d(-100%, 0, 0);
  		transform: translate3d(-100%, 0, 0);
    }
    6% { opacity: 1;
    	-webkit-animation-timing-function: ease-out;
       -webkit-transform: none;
  		transform: none;
    }
    12% { opacity: 1 }
    15% { opacity: 0 }
    100% { opacity: 0 }
}
@-ms-keyframes imageAnimation
{
    0% { opacity: 0;
    	-webkit-animation-timing-function: ease-in;
      -webkit-transform: translate3d(-100%, 0, 0);
  		transform: translate3d(-100%, 0, 0);
    }
    6% { opacity: 1;
    	-webkit-animation-timing-function: ease-out;
       -webkit-transform: none;
  		transform: none;
    }
    12% { opacity: 1 }
    15% { opacity: 0 }
    100% { opacity: 0 }
}
@-o-keyframes imageAnimation
{
    0% { opacity: 0;
    	-webkit-animation-timing-function: ease-in;
      -webkit-transform: translate3d(-100%, 0, 0);
  		transform: translate3d(-100%, 0, 0);
    }
    6% { opacity: 1;
    	-webkit-animation-timing-function: ease-out;
       -webkit-transform: none;
  		transform: none;
    }
    12% { opacity: 1 }
    15% { opacity: 0 }
    100% { opacity: 0 }
}
@-moz-keyframes imageAnimation
{
    0% { opacity: 0;
    	-webkit-animation-timing-function: ease-in;
      -webkit-transform: translate3d(-100%, 0, 0);
  		transform: translate3d(-100%, 0, 0);
    }
    6% { opacity: 1;
    	-webkit-animation-timing-function: ease-out;
       -webkit-transform: none;
  		transform: none;
    }
    12% { opacity: 1 }
    15% { opacity: 0 }
    100% { opacity: 0 }
}
@-webkit-keyframes imageAnimation
{
    0% { opacity: 0;
    	-webkit-animation-timing-function: ease-in;
      -webkit-transform: translate3d(-100%, 0, 0);
  		transform: translate3d(-100%, 0, 0);
    }
    6% { opacity: 1;
    	-webkit-animation-timing-function: ease-out;
       -webkit-transform: none;
  		transform: none;
    }
    12% { opacity: 1 }
    15% { opacity: 0 }
    100% { opacity: 0 }
}

footer ul {
    display: inline;
}

footer ul.nav {
   display: flex;
   flex-direction: row;
   justify-content: flex-start;
   list-style: none;
   padding-right: 0.7rem;
   white-space: nowrap;
}

footer ul.nav a {
    font-size: 13px;
    padding: 0px;
    margin-bottom: 8px;
}

@media (min-width: 0) {
  .links.card-deck .card {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 calc(100% - 30px);
            flex: 0 0 calc(100% - 30px);
  }
}

@media (min-width: 576px) {
  .links.card-deck .card {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 calc(50% - 30px);
            flex: 0 0 calc(50% - 30px);
  }
}

@media (min-width: 768px) {
  .links.card-deck .card {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 calc(33.3333333333% - 30px);
            flex: 0 0 calc(33.3333333333% - 30px);
  }
}

@media (min-width: 992px) {
  .links.card-deck .card {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 calc(25% - 30px);
            flex: 0 0 calc(25% - 30px);
  }
}

@media (min-width: 1200px) {
  .links.card-deck .card {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 calc(25% - 30px);
            flex: 0 0 calc(25% - 30px);
  }
}