/*

Tooplate 2117 Infinite Loop

https://www.tooplate.com/view/2117-infinite-loop

*/

@import url("https://fonts.googleapis.com/css?family=Raleway:100,300,400,500,700,900");



body {
	font-family: "Raleway", sans-serif;
	font-size: 1.2em;
  color: #707070;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
a {
  transition: all 0.3s ease;
  color: #38B;
}

a:hover,
a:focus {
  text-decoration: none;
  color: #D40;
}

a:focus {
  outline: none;
}

.btn {
  padding: 8px 32px;
}

.btn:hover {
  background-color: #ced4da;
}
    .li:hover {
        background-color: #ced4da;
    }

blockquote {
  font-size: 0.86em;
  line-height: 1.8em;
}

.tm-section-pad-top {
  padding-top: 80px;
  padding-bottom: 40px;
}

.tm-content-box {
  padding-top: 20px;
  padding-bottom: 40px;
}

.tm-text-primary {
  color: #37A;
}

.tm-font-big {
  font-size: 1.25rem;
}

.tm-btn-primary {
  color: white;
  background-color: #369;
  padding: 14px 30px;
}

.tm-btn-primary:hover,
.tm-btn-primary:focus {
  color: white;
  background-color: #38B;
}

/* Navbar */

.tm-navbar {
    background: url(../img/rtv.svg) no-repeat center;
    background-color: white;
    background-repeat: no-repeat;
    background-position: center;
    position: fixed;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: all 0.3s ease;
    padding-bottom: 15px;
    padding-top: 20px;
}

.tm-navbar.scroll {
  background-color: white;
  border-bottom: 1px solid #e9ecef;
}

.navbar-brand {
  color: white;
  font-size: 1.4rem;
  font-weight: bold;
}

.navbar-brand:hover,
.tm-navbar.scroll .navbar-brand:hover {
  color: #38B;
}

.tm-navbar.scroll .navbar-brand {
  color: #369;
}

.nav-item {
  list-style: none;
}

.tm-nav-link {
  color: black;
}

.tm-navbar.scroll .tm-nav-link {
  color: #369;
}

.tm-navbar.scroll .tm-nav-link:hover,
.tm-navbar.scroll .tm-nav-link.current,
.tm-nav-link:hover {
  color: #FFF;
  background-color: #369;
}

.navbar-toggler {
  border: 1px solid white;
  padding-left: 10px;
  padding-right: 10px;
}

.navbar-toggler-icon {
  color: black;
  padding-top: 6px;
}

.tm-navbar.scroll .navbar-toggler {
  border: 1px solid #707070;
}

.tm-navbar.scroll .navbar-toggler-icon {
  color: #707070;
}

.nav-cont {
}
/* Hero */
#sec-nav {
    height: 100px;
    min-height: 100px;
    position: relative;
}
#infinite {
    background-color: #222;
    background-image: url(../img/pozadi1.jpg);
    background-size: 180%;
    background-repeat: no-repeat;
    height: 100vh;
    min-height: 375px;
    position: relative;
}

@media (min-height: 600px) and (min-width: 1920px) {
  #infinite {
    background-size: 120%;
  }
    .tm-navbar {
        background-position: left 5px;
    }
        #sec-nav {
        height: 80px;
        min-height: 80px;
    }
    .container {
        padding-top: 5px;
    }
}

@media (min-height: 830px) {

    #infinite {
        background-position: center -210px;
    }
    .tm-navbar {
        background-size: contain;
        background-position: center center;
    }
    #sec-nav {
        height: 80px;
        min-height: 80px;
    }

    #tmNav {
        padding-top: 10px;
    }
    .container {
        padding-top: 10px;
    }
}
@media (max-width: 960px) {
    .tm-navbar {
        /* background-size: contain;*/
    }

}
@media (min-width: 829px) {

    .tm-navbar {
        background-size: contain; 
    }
}
    @media (min-height: 680px) and (max-height: 829px) {
        #infinite {
            background-position: center -300px;
        }
        .tm-navbar {
             background-position: left center;
        }
        #sec-nav {
            height: 80px;
            min-height: 80px;
        }

        #tmNav {
            padding-top: 10px;
        }

        .container {
            padding-top: 10px;
        }
    }

    @media (min-height: 500px) and (max-height: 679px) {
        #infinite {
            background-position: center -400px;
        }
        .tm-navbar {
            background-position: left center;
        }
        #sec-nav {
            height: 80px;
            min-height: 80px;
        }

        #tmNav {
            padding-top: 10px;
        }

        .container {
            padding-top: 10px;
        }
    }

    @media (max-height: 499px) and (min-width: 1000px) {
        #infinite {
            background-position: center -450px;
        }
        .tm-navbar {
            background-position: left center;
        }
        #sec-nav {
            height: 80px;
            min-height: 80px;
        }

        #tmNav {
            padding-top: 10px;
        }

        .container {
            padding-top: 10px;
        }
    }

    @media (max-height: 499px) and (max-width: 1000px) {

        #sec-nav {
            height: 60px;
            min-height: 60px;
        }

        #tmNav {
            padding-top: 10px;
        }
    }
@media (max-width: 400px) {
    #infinite {
        height: 120vh
    }
}
@media (max-width: 305px) {
    #infinite {
        height: 140vh; 
        background-size: 500%;
    }
}
@media (min-height: 499px) and (max-width: 1000px) {
    #sec-nav {
            height: 70px;
            min-height: 70px;
        }

        .tm_navbar {
            padding-top: 10px;
        }
    }
@media (min-width: 1500px) {

    #sec-nav {
        height: 110px;
    }
    .tm_navbar {
        background-size: auto 105px;
        height: 100px;
    }

    #tmNav {
        padding-top: 25px;
    }
    .navbar-nav {
        font-size: 30px;
    }
    .tm-section-desc {
        font-size: 20px;
    }

}



    .tm-hero-text-container {
        width: 100%;
        height: 100%;
        display: flex;
        flex-flow: column;
        justify-content: center;
    }

    .tm-hero-text-container-inner {
        margin-top: -90px;
        padding-left: 10%;
        padding-right: 10%;
    }

.tm-hero-title {
    font-size: 3.5rem;
    stroke: black;
    stroke-width: .5px;
    stroke-linejoin: round;
    text-shadow: -2px -2px 5px #000, 2px -2px 5px #000, -2px 2px 5px #000, 2px 2px 5px #000;
}

.tm-hero-subtitle {
    color: white;
    stroke: black;
    stroke-width: .5px;
    stroke-linejoin: round;
    background-color: rgba(0, 0, 0, 0.5);
    text-shadow: -1px -1px 5px #000, 1px -1px 5px #000, -1px 1px 5px #000, 1px 1px 5px #000;
}

    .tm-intro-next {
        position: absolute;
        bottom: 100px;
        left: 0;
        right: 0;
    }

    @media (max-height: 480px) {
        .tm-hero-text-container-inner {
            margin-top: -40px;
        }

        .tm-intro-next {
            bottom: 20px;
        }
    }

    .tm-down-arrow-link {
        display: block;
        margin-top: 18%;
    }

    .tm-down-arrow {
        color: #FFF;
        cursor: pointer;
        background: #357;
        padding: 15px 40px;
        transition: all 0.3s ease;
    }

        .tm-down-arrow:hover,
        .tm-down-arrow:focus {
            color: #FFF;
            background: #37A;
            padding: 20px 50px;
        }

    /* Introduction */

            #introduction {
        padding-bottom: 100px;
    }

    .tm-section-title {
        font-size: 2.6rem;
        font-weight: normal;
    }

    .tm-intro-text {
        font-size: 1.2rem;
    }

    .tm-icon {
        display: block;
        color: #37A;
    }

    .tm-continue {
        padding: 20px 0 30px 0;
    }

    /* zakaznici */
#zakaznici {
    color: white;
    background-image: url(../img/pozadi2.jpg);
    background-size: 140%;
    background-repeat: no-repeat;
    position: relative;
}

   

    .tm-zakaznici-content {
        position: relative;
        z-index: 100;
    }

    .tm-bg-overlay {
        width: 100%;
        height: 100%;
        background: rgba(20, 70, 80, 0.2);
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 0;
    }

    .tm-zakaznici-carousel {
        max-width: 1050px;
        margin: 0 auto;
    }

    .tm-zakaznik-item {
        max-width: 290px;
        margin-left: 35px;
        margin-right: 35px;
    }

        .tm-zakaznik-item img {
            border-radius: 50%;
            margin-bottom: 35px;
        }

        .tm-zakaznik-item figcaption {
            text-align: right;
            font-style: italic;
            font-size: 1.1rem;
        }

    /* Work */

    .tm-section-desc {
        max-width: 650px;
        width: 100%;
        font-size: 0.9rem;
    }

    .tm-onas-container {
        padding-top: 70px;
        padding-bottom: 120px;
    }

    .tm-onas-item {
        margin: 0 15px;
    }

    .slick-dots {
        bottom: -65px;
    }

        .slick-dots li {
            margin: 0 13px;
        }

            .slick-dots li button:hover:before,
            .slick-dots li button:focus:before,
            .slick-dots li.slick-active button:before {
                opacity: 1;
                color: #3ba0dd;
            }

    .tm-zakaznici-carousel .slick-dots li button:before {
        color: white;
        opacity: 0.5;
    }

    .tm-zakaznici-carousel .slick-dots li button:hover:before,
    .tm-zakaznici-carousel .slick-dots li button:focus:before,
    .tm-zakaznici-carousel .slick-dots li.slick-active button:before {
        color: white;
        opacity: 1;
    }

    .slick-dots li button:before {
        font-size: 18px;
    }

    /* Hover Effect */
    /* Common style */
    .grid figure {
        position: relative;
        float: left;
        overflow: hidden;
        background: #3085a3;
        text-align: center;
        cursor: pointer;
    }

        .grid figure img {
            position: relative;
            display: block;
            min-height: 100%;
            max-width: 100%;
            opacity: 0.8;
        }

        .grid figure figcaption {
            padding: 2em;
            color: #fff;
            text-transform: uppercase;
            font-size: 1.25em;
            -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
        }

            .grid figure figcaption::before,
            .grid figure figcaption::after {
                pointer-events: none;
            }

            .grid figure figcaption,
            .grid figure figcaption > a {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
            }

                /* Anchor will cover the whole item by default */
                /* For some effects it will show as a button */
                .grid figure figcaption > a {
                    z-index: 1000;
                    text-indent: 200%;
                    white-space: nowrap;
                    font-size: 0;
                    opacity: 0;
                }

        .grid figure h2 {
            word-spacing: -0.15em;
            font-size: 0.9em;
            font-weight: 300;
        }

            .grid figure h2 span {
                font-weight: 600;
            }

        .grid figure h2,
        .grid figure p {
            margin: 0;
        }

        .grid figure p {
            letter-spacing: 1px;
            font-size: 68.5%;
        }

    /*---------------*/
    /***** Honey *****/
    /*---------------*/

    figure.effect-honey {
        background: #4a3753;
        max-width: 220px;
    }

        figure.effect-honey img {
            opacity: 1;
            -webkit-transition: opacity 0.35s;
            transition: opacity 0.35s;
        }

        figure.effect-honey:hover img {
            opacity: 0.4;
        }

        figure.effect-honey figcaption::before {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 10px;
            background: #38C;
            content: "";
            -webkit-transform: translate3d(0, 10px, 0);
            transform: translate3d(0, 10px, 0);
        }

        figure.effect-honey h2 {
            position: absolute;
            bottom: 0;
            left: 0;
            padding: 1em;
            width: 100%;
            text-align: left;
            -webkit-transform: translate3d(0, -30px, 0);
            transform: translate3d(0, -30px, 0);
        }

            figure.effect-honey h2 i {
                font-style: normal;
                opacity: 0;
                -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
                transition: opacity 0.35s, transform 0.35s;
                -webkit-transform: translate3d(0, -30px, 0);
                transform: translate3d(0, -30px, 0);
            }

        figure.effect-honey figcaption::before,
        figure.effect-honey h2 {
            -webkit-transition: -webkit-transform 0.35s;
            transition: transform 0.35s;
        }

        figure.effect-honey:hover figcaption::before,
        figure.effect-honey:hover h2,
        figure.effect-honey:hover h2 i {
            opacity: 1;
            -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
        }

    .tm-container-onas {
        padding-top: 30px;
    }

    /* Contact */

#contact {
    color: white;
    background-color: #001828;
    background-image: url(../img/pozadi3.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 110%;
    background-blend-mode: exclusion;
    min-height: 300px;
    position: relative;
    padding-bottom: 50px;
    padding-top: 100px;
}

@media (min-width: 991px) and (max-width: 1330px) {
    #contact {
        background-size: auto;
    }

}
    @media (max-width: 991px) and (min-height: 500px) {
       
        #infinite {
            background-image: url(../img/pozadi1mobile.jpg);
            background-size: 100%;
        }

        #zakaznici {
            background-image: url(../img/pozadi2mobile.jpg);
        }

        #contact {
            background-image: url(../img/pozadi3mobile.jpg);
            background-size: 150%;
        }
    }
@media (max-width: 791px) {
    #infinite {
        background-size: 130%;
    }
}
    @media (max-width: 660px) {
        #infinite {
            background-size: 180%;
        }

        #zakaznici {
            background-size: 150%;
        }

        #contact {
            background-size: 185%;
        }
    }

    @media (max-width: 420px) {
        #infinite {
            background-size: 260%;
        }

        #zakaznici {
            background-size: 200%;
        }

        #contact {
            background-size: 300%;
        }
    }

    @media (max-width: 320px) {
        #infinite {
            background-size: 300%;
        }
    }

    .contact-item {
        margin-left: 20px;
        margin-bottom: 50px;
    }

    .item-link {
        align-items: center;
    }

    @media (max-width: 1000px) {
        .item-link {
            display: contents;
        }
    }

    @media (min-width: 1000px) {
        .item-link {
            display: flex;
        }
    }

    @media (max-height: 499px) and (max-width: 1000px) {
        #infinite {
            background-position: center center;
            background-size: 200%;
        }

        #zakaznici {
            background-position: center center;
            background-size: 150%;
        }

        #contact {
            background-position: center center;
            background-size: 185%;
        }
    }

    .item-link i,
    .item-link span {
        color: white;
        transition: all 0.3s ease;
    }

    .item-link:hover i,
    .item-link:hover span {
        color: #3496d8;
    }

    .tm-input {
        margin: 0 0 20px 0;
        width: 90%;
        padding: 8px 20px;
        border-radius: 6px;
        border: 1px solid white;
        background: transparent;
        color: white;
    }

    .tm-btn-submit {
        font-size: 0.9em;
        color: #fff;
        background-color: #369;
        width: 50%;
        margin-bottom: 60px;
    }

        .tm-btn-submit:hover {
            color: #fff;
            background-color: #38B;
        }

    ::placeholder {
        /* Chrome, Firefox, Opera, Safari 10.1+ */
        color: white;
        opacity: 1; /* Firefox */
    }

    :-ms-input-placeholder {
        /* Internet Explorer 10-11 */
        color: white;
    }

    ::-ms-input-placeholder {
        /* Microsoft Edge */
        color: white;
    }

    .tm-footer {
        position: absolute;
        bottom: 35px;
        left: 0;
        right: 0;
        padding: 0 15px;
    }

        .tm-footer a {
            color: #fff;
        }

            .tm-footer a:hover {
                color: #9CF;
            }

    .tm-footer-link {
        color: white;
    }

        .tm-footer-link:hover,
        .tm-footer-link:focus {
            color: #38B;
            text-decoration: none;
        }

    p {
        line-height: 1.9;
    }
@media (min-width: 1500px) {

    #sec-nav {
        height: 110px;
    }

    .tm_navbar {
        background-size: auto 105px;
        height: 100px;
    }

    #tmNav {
        padding-top: 25px;
    }

    .navbar-nav {
        font-size: 30px;
    }

    .tm-section-desc {
        font-size: 20px;
    }
}
    @media (min-width: 900px) {

        .tm-intro-text-container {
            padding-left: 0px;
        }

        .navbar-expand-md .navbar-nav .nav-link {
            padding-right: 30px;
            padding-left: 30px;
        }
    }

    @media (min-width: 1200px) {
        .container {
            max-width: 1275px;
        }

        .tm-container-onas {
            max-width: 1290px;
        }

        .tm-container-contact {
            max-width: 1063px;
        }
    }

    @media (max-width: 991px) {
        .tm-intro-text-container {
            padding-left: 15px;
            padding-top: 30px;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .tm-intro-img {
            display: block;
            margin-left: auto;
            margin-right: auto;
        }

        .tm-btn-submit {
            margin-left: 0;
            margin-top: 20px;
        }
    }

    @media (max-width: 767px) {

        .navbar-nav {
            text-align: right;
        }

        .navbar-collapse {
            background-color: rgb(255, 255, 255);
            padding: 10px;
            border-radius: 3px;
        }

            .navbar-collapse .nav-link {
                color: #707070;
                padding-right: 20px;
            }
    }
@media (max-width: 840px) {
    #tmNav {
        background-size: 100%;
    }
}
@media (max-width: 540px) {
    #tmNav {
        background-image: url(../img/rtv_mobile.svg);
        background-size: 100%;
    }
}

    @media (max-width: 480px) {
        .tm-onas-container {
            max-width: 220px;
            margin-left: auto;
            margin-right: auto;
        }

        .tm-onas-container-2 {
            max-width: 350px;
        }

        .slick-dots li {
            margin: 0 8px;
        }

        .tm-onas-item {
            margin: 0;
        }
    }
