/************ Custom CSS /************

/** Global **/

a { color: #ff2d41; }
a:focus, a:hover {
text-decoration: none;
color: #d82637;
}

p {
    font-size: 15px;
}

h2 { font-size: 40px; }

.fs20 {font-size: 20px !important;}

.content-section { padding: 100px 0; }

/** Header **/ 

.navbar-brand img {
    width: 50px;
    height: 35px;
}

.btn-danger.top {
    border-radius: 5px;
    padding: 10px 15px;
}

.s9-blue {
    background: #032c61 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.5) !important;
}

@media (min-width: 992px) {
    .navbar-shrink {
        padding-top: 15px;
        padding-bottom: 15px;
    }
}

.masthead .intro-body .brand-heading {
    text-shadow: 0px 0px #000000 !important;
}

#background {
    top: 58%;
}

@media (min-width: 768px) {
    .masthead .intro-body .brand-heading {
        font-size: 80px !important;
    }
}

@media (max-width: 1000px) {
    #background {
        top: 55%;
        left: 75%
    }
}

@media (max-width: 768px) {
    #background {
        display: none !important;
    }
    
    body {
        background: url(../img/tigr-poster.png) no-repeat !important;
        background-size: cover !important;
        background-attachment: fixed !important;
    }
}

@media (min-width: 1800px) {
    #background {
        top: 70%;
    }
}

@media (max-width: 575px)
#background {
display: none !important;
}

.masthead .intro-body .intro-text {
    max-width: 1000px;
    margin: 0 auto;
}

.masthead .intro-body .js-scroll-trigger img {
    max-width: 150px;
    margin-top: 40px;
}

#mainNav .navbar-nav .nav-item:hover {
    background-color: #022655;
    border-radius: 5px;
}

/** O nás **/

.onas-section {
    background-color: #032c61 !important;
    background-image: url('../img/onas2.jpg');
    background-repeat: no-repeat;
    background-position: right top;
    padding: 100px 0 70px;
}

.onas-section a { 
    text-decoration: underline;
}

.onas-mobile { 
    display: none; 
}

@media (max-width: 992px) {
    .onas-mobile { 
        display: block; 
        max-width: 100%;
    }
}


/** Co umíme **/

.coumime-section {
    background: #fff;
}

.coumime-section h2 {
    color: #032c61 !important;
}

.coumime-section .intro {
    color: #032c61 !important;
    max-width: 1000px;
    font-size: 18px;
    margin: 0 auto 35px;
}

.coumime-section a { 
    text-decoration: underline;
}

.card {
    border-radius: 10px;
}

.card .card-image {
    overflow: hidden;
    height: 220px;
    position: relative;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.card .card-image img {
    height: auto !important;
    min-height: 100% !important;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.card .card-content {
    padding: 15px 10px 15px 20px;
    background: #032c61;
    color: #fff;
    border-top: 2px solid #fff;
    text-align: left;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px; 
}

.card:hover .card-content {
    background: #c82333;
}

.card .card-content .card-title {
    font-size: 18px;
    font-weight: 200;
    color: #fff;
    text-transform: none;
    letter-spacing: 0;
    margin: 0;
}

.card .card-content .card-title::after {
    content: '\f0a9';
    font-family: 'Font Awesome 5 Free';
    font-size: 25px;
    font-weight: 800;
    position: absolute;
    right: 15px;
    bottom: 10px;
}

.card-deck .card a {
    text-decoration: none;
}

#show-vyroci img {
    bottom: 0;
    position: absolute;
    left: 0;
}

@media (min-width: 1200px) {
   #show-vyroci img {
    bottom: -60px;
} 
}

@media (min-width: 1200px) {
   #show-celebrity img {
    top: -60px;
    position: absolute;
    left: 0;
} 
}

@media (min-width: 768px) and (max-width: 992px)  {
    #show-celebrity img {
    top: -160px;
    position: absolute;
    left: 0;
} 
    
   #show-vyroci img {
    bottom: -160px;
}     
}

/** Reference **/

.reference-section {
    background: #032c61 !important;
    position: relative;
    overflow: hidden;
}

.reference-section h2 {
    margin: 0 0 60px;
}

.reference-section .content {
    background: #fff;
    text-align: center;
    border-radius: 10px !important;
}

.reference-section .content p {
    margin: 0 0 15px !important;
}

.reference-section .image {
}

.reference-section .image img {
    height: 100%;
    border: 10px solid #fff;
    border-radius: 10px !important;
}

.reference-section .icons a {
    margin: 0 10px;
    text-align: left;
    width: 100%;
    display: block;
}

.reference-section .icons i {
    padding: 15px 20px;
    font-size: 14px;
    background: #ff2d41;
    color: #fff;
    border-radius: 10px;
    width: 75px;
    text-align: center;
    display: inline-block;
}

.reference-section .icons i:hover {
    background: #bd2130;
}

.reference-section .icons i.fa-youtube {
    font-size: 30px;
    margin-bottom: 15px;
}

.reference-section .icons i.pdf {
    font-size: 16px;
    font-weight: bold;
    font-style: normal;
}

.reference-section .desc {
    color: #032c61;
    padding: 20px 15px 10px;
    text-align: left;
}

.reference-section .justify-content-md-center {
    margin: 0 0 60px;
    height: 200px;
}

.carousel-item .col-lg-2 {
    display: inline-block;
    max-width: 200px;
}

.carousel-item .col-lg-2 img {
    border: solid 20px #ffffff;
}

@media (max-width: 992px) {
.reference-section .justify-content-md-center {
    height: auto;
}
}

@media (max-width: 575px) {
.reference-section .icons a {
    width: auto;
    display: inline-block;
}
    
.reference-section .icons i {
    height: 60px;
    float: left;
    margin-top: 15px;
}
    
.reference-section .icons i.fa-youtube {
    margin-bottom: 0px;
}    
    
.reference-section .image{
    background: #fff;
    border-radius: 10px;
    margin-bottom: 10px;
    height: 150px;
}
    
.reference-section .image img{
    max-height: 100%;
}
}

@media (min-width: 1200px) {
  .reference-section .icons a {
    margin: 0 0 0 30px !important;
}
}


@media (max-width: 1199px) {    
.reference-section .content p {
    font-size: 15px;
    line-height: 1.4;
}
}

@media (max-width: 992px) {    
.reference-section .image img {
    height: auto;
}
}

.carousel-control-prev, .carousel-control-next {
    width: 2%;
}

.carousel.slide {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.reference-video {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.video-background {
  background: #032c61;
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
}
.video-foreground,
.video-background iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.video-foreground:after {
    content: "";
    background: rgba(3, 44, 97, 0.7);
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
}


@media (min-aspect-ratio: 16/9) {
  .video-foreground { width: 300%; left: -100%; }
}
@media (max-aspect-ratio: 16/9) {
  .video-foreground { width: 300%; left: -100%; }
}

@media (max-width: 768px) {
  .video-foreground { display: none; }
  .reference-section { padding-bottom: 0; }
}

/** Služby podstránka **/
.sluzby-section {
    background: #fff;
    color: #032c61;
    margin-top: 60px;
}

.sluzby-section p {
    margin: 0 0 20px;
}

.sluzby-section h2 {
    color: #032c61 !important;
    margin-bottom: 20px;
    font-size: 28px;
}

.sluzby-section .gallery {
    margin: 35px 0;
}

.sluzby-section .gallery::after {
    clear: both;
    display: table;
    content: '';
}

.sluzby-section .gallery a {
    width: 160px;
    height: 107px;
    display: block;
    overflow: hidden;
    border-radius: 10px;
    float: left;
    margin-right: 8px;
    margin-bottom: 8px;
}


.sluzby-section .gallery img {
    width: 100%;
    min-height: 100%;
    border-radius: 10px;
}

.sluzby-section .sluzby-menu {
    background: #032c61;
    width: 320px;
    float: right;
    padding: 30px;
    border-radius: 10px;
}

@media (max-width: 992px) {
    .sluzby-section .sluzby-menu {
        float: none;
        margin: 80px auto 0;
    }
}


.sluzby-section .sluzby-menu li a {
    padding: 3px 0 3px 10px;
    display: block;
    text-decoration: underline;
}

.sluzby-section .sluzby-menu li a:hover {
    color: #fff;
}

.sluzby-section .sluzby-menu strong {
    color: #ffffff;
    margin-bottom: 20px;
    display: block;
    font-size: 20px;
    padding-left: 10px;
}

.sluzby-section .video {
    text-align: center;
    margin: 40px 0;
}

.sluzby-section .cta {
    text-align: center;
    margin-top: 40px;
}

.sluzby-section .cta .btn {
    padding: 15px 30px;
    border-radius: 10px;
    margin-top: 15px;
}

/** Významné projekty **/

.projekty-section {
    background: #fff;
}

@media (max-width: 575px) {
 .projekty-section > .container > .row {
    margin-left: 15px !important;
    margin-right: 15px !important;
}
}

.projekty-section h2 {
    color: #032c61 !important;
}

.projekty-section .intro {
    color: #032c61 !important;
    max-width: 1000px;
    margin: 0 auto 35px;
    FONT-SIZE: 18px;
}

.projekty-section .projekt-box {
    background: #032c61;
    padding: 50px;
    text-align: left;
    background-size: cover;
    padding-top: 300px;
    border-radius: 10px;
}

.projekty-section .projekt-box::after {
    display: block;
    position: absolute;
    background-image: linear-gradient(to bottom, rgba(3, 44, 97, 0) 0, #032c61 90%);
    height: 80%;
    width: 100%;
    content: '';
    bottom: 0;
    left: 0;
    border-radius: 10px;
}

/*
.projekty-section .projekt-box:hover::after {
    background-image: linear-gradient(to bottom, rgba(220, 53, 69, 0) 0, #dc3545 100%);
}
*/


.projekty-section .projekt-box .content {
    z-index: 999;
    position: relative;
}

.projekty-section .projekt-box.ref1 {
    background-image: url('../img/vyznamne/vaclavske_namesti.jpg');
}

@media (max-width: 992px) {
    .projekty-section .projekt-box.ref1 {
        margin-bottom:40px;
    }
}

.projekty-section .projekt-box.ref2 {
    background-image: url('../img/vyznamne/vysehrad.jpg');
}

.projekty-section .projekt-box img {
    max-height: 400px;
}

.projekty-section .projekt-box h3 {
    margin: 20px 0 0 0;
    font-size: 26px;
}

.projekty-section .projekt-box p {
    margin: 20px 0 0 0;
}

/** Kontakty **/

.md-input {
    margin-bottom: 10px;
}

.kontakty-section {
    padding: 100px 0 0 !important;
    background: #032c61 !important;
}

.kontakty-section h2 {
    margin-bottom: 80px;
}

.kontakty-section h3 {
    font-size: 23px;
    padding: 20px 0 0px 0;
    margin: 0 0 10px 0;
}

.kontakty-section .contacts {
    font-size: 20px;
}

.kontakty-section form {
    padding: 0 50px 0 0;
}

.kontakty-section .btn-danger {
    color: #fff !important;
    background-color: #dc3545;
    border-color: #dc3545;
    padding: 15px 10px;
    margin: 0 0 20px 0;
    border-radius: 5px;
    cursor: pointer;
}


.kontakty-section .btn-danger:hover {
    color: #fff;
    background-color: #c82333;
    border-color: #bd2130;
}
.md-input .bar:before, .md-input .bar:after {
background: rgba(216,38,55,1) !important;
}

/** Footer **/

footer {
    padding: 0 !important;
}

.footer-section {
    padding: 40px 0px;
    background: #021f38;
    background: -moz-linear-gradient(top, #021f38 0%, #032c61 29%);
    background: -webkit-linear-gradient(top, #021f38 0%,#032c61 29%);
    background: linear-gradient(to bottom, #021f38 0%,#032c61 29%);
    background: linear-gradient(to bottom, #032c61 43%,#021f38 98%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#021f38', endColorstr='#032c61',GradientType=0 );
}

.footer-section .copyright {
    font-size: 12px;
}

.social-icons2 {
    margin: 20px 0;
    padding: 0;
}

.social-icons2 .fab {
    font-size: 40px;
    color: #fff;
    margin-right: 20px;
}

.social-icons2 li {
    display: inline-block;
}

.social-icons2 img {
    height: 50px;
    margin-right: 10px;
}

@media (max-width: 1200px) {
    #mainNav .navbar-nav .nav-item {
        flex: none;
        font-size: 15px;
    }
    
    .reference-section .icons {
        position: relative;
        margin-bottom: 15px;
    }
    
    .reference-section .icons::after {
        clear: both;
        content: '';
        display: block;
    }

}

@media (max-width: 991px) {
.card-deck {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
    
.card-deck .card {
    display: block;
    flex-basis: 100%;
    margin-bottom: 20px;
}
    
.kontakty-section .telefonicky  {
    padding: 30px 15px !important;
}
    
.onas-section {
    background-image: none !important;
}    
}

@media (min-width: 992px) and (max-width: 1199px)  {
.card .card-content {
    height: 90px;
}
.card .card-image {
    height: 200px;
}
.card-title {
    margin-bottom: 0px;
    padding-right: 40px;
}
}

@media (max-width: 575px) {
    h2 {
        font-size: 35px !important;
    }   
}

.udaje {
  font-size: 12px;
}

/*
@media (min-width: 767px) {
    .righticons {
        align-items: center;
        display: flex;
    }
}
*/

@media (min-width: 1230px) {
    .reference-section .justify-content-md-center {
        height: 175px;
    }
}


/* Language switcher */

.languagepicker {
    display: inline-block;
    height: 27px;
    transition: all .3s ease;
    padding: 10px 20px 35px 0;
    vertical-align: top;
    float: left;
    position: relative;
    margin: 0;
}

@media (max-width: 1199px) {
.languagepicker {
    padding: 10px 9px 35px 0;
}
}

@media (max-width: 991px) {
.languagepicker {
    padding: 10px 25px 35px 0;
}
}

.languagepicker a{
	color: #000;
	text-decoration: none;
}

.languagepicker li {
	display: block;
}

.languagepicker li:hover{
}

/*

.languagepicker a:nth-child(2) li {
	display: none;
}

.languagepicker:hover a:nth-child(2) li,
.languagepicker a:nth-child(2):hover li {
    position: absolute;
    top: 40px;
    left: -4px;
    z-index: 9999;
    display: block;
    background: #032c61;
    padding: 4px;
    border-radius: 4px;
}

*/

.languagepicker a {
   float: left;
   margin-right: 5px;
}

.languagepicker li img {
    height: 22px;
    padding: 2px;
}

.languagepicker li img:hover {
    padding: 1px;
	border: 1px solid #fff;
}

.mobilepicker {
    display: none;
}

@media (max-width: 991px) {
    .navbar-expand-lg > .container {
        position: relative;
    }
    
    .mobilepicker {
        display: block;
    }
    
    .mobilepicker {
        position: absolute;
        right: 30px;
        top: 0;
    }
}