/*

	essentials

*/

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    color: #34343a;
    font-family: 'UniversLTPro-Condensed', Helvetica, Arial, sans-serif;
    text-align: center;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 20px;
    position: relative;
}

body.modal-open {
    margin-right: 15px;
    overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'universCond', Helvetica, Arial, sans-serif;
}

.hidden {
    display: none!important;
}

.modal-overlay {
    display: none;
    position: fixed;
    left: -1%;
    top: -1%;
    width: 103%;
    height: 103%;
    background-color: rgba(31, 31, 33, 0.95);
    z-index: 99;
}

.scroll-box {
    height: 100%;
    width: 100%;
    overflow-y: scroll;
}

.modal-box {
    position: relative;
    background-color: #ffffff;
    max-width: 770px;
    margin: 100px auto;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.modal-header {
    height: 64px;
    border-bottom: 1px solid #d5d5d6;
    position: relative;
}

.modal-header .close-btn {
    width: 64px;
    height: 100%;
    border-right: 1px solid #d5d5d6;
    position: absolute;
    top: 0;
    left: 0;
}

.modal-header .close-btn button {
    width: 100%;
    height: 100%;
    background-color: transparent;
    border: none;
    cursor: pointer;
    outline: none;
}

.modal-header .close-btn button .bg {
    display: block;
    margin: auto;
    width: 16px;
    height: 16px;
    background-color: transparent;
    border: none;
    background-image: url('../img/x.png');
    background-position: top;
    background-repeat: no-repeat;
    background-size: 16px;
}

.modal-header .close-btn button:hover .bg {
    background-position: bottom;
}

.modal-header h2 {
    font-size: 20px;
    text-align: center;
    display: block;
    line-height: 64px;
}

.modal-body {
    padding: 20px;
    padding-top: 64px;
    padding-bottom: 64px;
}

.modal-body .image-box {
    max-width: 640px;
    height: 360px;
    background-color: #34343a;
    margin: auto;
    box-shadow: 0 8px 24px 0 rgba(88, 89, 91, 0.4);
    margin-bottom: 54px;
    overflow: hidden;
    position: relative;
}

.modal-body .image-box > img {
    width: 100%;
    height: auto;
    top: 0;
    position: relative;
    margin: 0!important;
    display: none;
}

.modal-body .image-box > iframe {
    width: 100%;
    height: 100%;
    top: 0;
    position: relative;
    margin: 0!important;
    cursor: pointer;
    display: block;
    display: none;
}

.modal-body .image-box .video-thumbnail {
    position: absolute;
    width: 100%;
    height: auto;
    top: 0;
    left: 0;
    z-index: 99;
}

.modal-body .image-box #play {
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    height: 80px;
    background-image: url('../img/play.png');
    background-size: 100%;
    background-position: top;
    z-index: 999;
    cursor: pointer;
    display: none;
}

.modal-body .image-box .play:hover {
    background-position: bottom;
}

.modal-body h3 {
    font-size: 48px;
}

.modal-body .br {
    width: 140px;
    height: 2px;
    padding: 0 20px;
    margin: 30px auto 40px;
    background-color: #8bcf00;
}

.modal-body p {
    font-size: 20px;
    max-width: 490px;
    margin: auto;
}

.modal-footer {
    position: relative;
    height: 122px;
    border-top: 1px solid #d5d5d6;
}

.modal-footer .hover {
    margin: auto;
    cursor: pointer;
    max-width: 164px;
    position: relative;
    top: -70px;
}

.modal-footer .hover:hover p {
    color: #8bcf00;
}

.modal-footer .hover:hover .image {
    box-shadow: 0 8px 24px 0 rgba(88, 89, 91, 0.6);
}

.modal-footer p {
    font-size: 16px;
    font-weight: bold;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.modal-footer .image {
    width: 164px;
    height: 92px;
    overflow: hidden;
    background-color: #34343a;
    box-shadow: 0 8px 24px 0 rgba(88, 89, 91, 0.4);
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    margin: 40px auto 15px;
}

.modal-footer .image img {
    display: none;
    margin: 0!important;
    width: 100%;
    position: relative;
    top: 0;
}


/*

	essentials

*/

.counter {
    display: none;
}

.clear::after {
    content: "";
    display: table;
    clear: both;
}

.left {
    float: left;
}

.right {
    float: right;
}

.left,
.right {
    width: 50%;
}

.inner {
    max-width: 960px;
    margin: auto;
}

.fs20 {
    font-size: 1em;
}

.green1 {
    color: #9fd406;
}

.green2 {
    color: #67b600;
}

.green3 {
    color: #7ec900
}


/*

	markup

*/

.nav {
    box-shadow: 0 5px 24px 0 rgba(88, 89, 91, 0);
    width: 100%;
    height: 70px;
    overflow: hidden;
    background-color: #7ec900;
    /*
    background: rgba(164, 219, 0, 1);
    background: -webkit-gradient(left top, right top, color-stop(0%, rgba(164, 219, 0, 1)), color-stop(40%, rgba(164, 219, 0, 1)), color-stop(60%, rgba(126, 201, 0, 1)), color-stop(100%, rgba(126, 201, 0, 1)));
    background: -webkit-linear-gradient(left, rgba(164, 219, 0, 1) 0%, rgba(164, 219, 0, 1) 40%, rgba(126, 201, 0, 1) 60%, rgba(126, 201, 0, 1) 100%);
    background: linear-gradient(to right, rgba(164, 219, 0, 1) 0%, rgba(164, 219, 0, 1) 40%, rgba(126, 201, 0, 1) 60%, rgba(126, 201, 0, 1) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#a4db00', endColorstr='#7ec900', GradientType=1);
	*/
    position: relative;
    top: 0;
    left: 0;
    z-index: 96;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.nav.static {
    position: fixed;
    box-shadow: 0 5px 24px 0 rgba(88, 89, 91, 0.3);
}

.progress {
    position: absolute;
    top: 0;
    width: 0;
    height: 100%;
    left: 0;
    right: 50px;
    z-index: 97;
    background-color: #a4db00;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.nav ul {
    list-style: none;
    max-width: 960px;
    margin: auto;
    position: relative;
    z-index: 98;
}

.nav ul li {
    float: left;
    display: block;
    width: 20%;
    line-height: 70px;
    color: #ffffff;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    cursor: pointer;
}

.nav ul li a {
    width: 100%;
    height: 100%;
    display: inline-block;
    text-decoration: none;
    color: inherit;
}

.nav ul li.active {
    /*
    background-color: #a4db00;
    */
}

.nav ul li:last-of-type {
    border-right: none;
}

.nav ul li:last-of-type {
    border-right: none;
}

.nav ul li:hover {
    background-color: rgba(92, 188, 0, 0.7);
}

.header {
    position: relative;
    overflow: hidden;
}

.header h1 {
    position: absolute;
    z-index: 9;
    font-size: 2.4em;
    color: #34343a;
    text-align: center;
    width: 100%;
    top: 12%;
}

.header-img {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: auto;
    padding: 0 20px;
}

.header-img img {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
}

.campaings-container {
    padding: 120px 30px;
}

.campaings-container .heading h2 {
    font-size: 4.8em;
}

.campaings-container .heading p {
    font-size: 1.5em;
    padding: 20px;
    padding-bottom: 40px;
}

.campaings {
    max-width: 1380px;
    margin: auto;
}

.campaing {
    max-width: 400px;
    width: 30%;
    margin: 30px;
    position: relative;
    float: left;
    height: 420px;
}

.campaing .image {
    position: relative;
    top: 0;
    width: 100%;
    height: 30vw;
    overflow: hidden;
    box-shadow: 0 8px 24px 0 rgba(88, 89, 91, 0.4);
    margin-bottom: 30px;
    cursor: pointer;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    overflow: hidden;
}

.campaing .overlay {
    width: 102%;
    height: 102%;
    top: -1%;
    left: -1%;
    z-index: 9;
    position: absolute;
    background: rgba(126, 201, 0, 0);
    background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(126, 201, 0, 0)), color-stop(20%, rgba(126, 201, 0, 0)), color-stop(70%, rgba(127, 201, 0, 0.63)), color-stop(100%, rgba(72, 191, 0, 1)));
    background: -webkit-linear-gradient(-45deg, rgba(126, 201, 0, 0) 0%, rgba(126, 201, 0, 0) 20%, rgba(127, 201, 0, 0.63) 70%, rgba(72, 191, 0, 1) 100%);
    background: -webkit-linear-gradient(315deg, rgba(126, 201, 0, 0) 0%, rgba(126, 201, 0, 0) 20%, rgba(127, 201, 0, 0.63) 70%, rgba(72, 191, 0, 1) 100%);
    background: linear-gradient(135deg, rgba(126, 201, 0, 0) 0%, rgba(126, 201, 0, 0) 20%, rgba(127, 201, 0, 0.63) 70%, rgba(72, 191, 0, 1) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#7ec900', endColorstr='#48bf00', GradientType=1);
    opacity: 0;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.campaing .overlay::after {
    content: "";
    position: absolute;
    width: 28px;
    height: 28px;
    right: 28px;
    bottom: 28px;
    background: url('../img/ikona-lightbox.png');
    background-size: 100%;
}

.campaing h3 {
    font-size: 1.2em;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.campaing p {
    display: block;
    font-size: 1em;
    -webkit-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
    height: auto;
    opacity: 1;
    position: relative;
}

.campaing p::after {
    content: "Prohlédněte si projekt";
    height: auto;
    color: #8d8d97;
    font-weight: normal;
    font-size: 1em;
    opacity: 0;
    background: white;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    text-align: center;
    display: block;
}

.campaing .image:hover {
    top: -8px;
    background-image: url('../img/ikona-lightbox.png');
    background-position: 28px 28px;
    box-shadow: 0 8px 24px 0 rgba(88, 89, 91, 0.6);
}

.campaing .image:hover .overlay {
    opacity: 1;
}

.campaing .image:hover ~ h3 {
    color: #49bd00;
}

.campaing .image:hover ~ p {
    position: relative;
    color: white;
}

.campaing .image:hover ~ p::after {
    opacity: 1;
}

.campaing .image img {
    display: block;
    height: 100%;
    position: absolute;
    left: 50%;
    margin-left: -200px
}


/*
	
	production

*/

.production-container {
    text-align: left;
    background: #48b300 url('../img/bcg.png') no-repeat center center;
    background-size: cover;
    height: 865px;
    padding: 130px 0;
}

.production-container .inner {
    max-width: 960px;
    background: #fff;
    margin: auto;
    height: 100%;
}

.production-container .inner .image {
    position: relative;
    height: 100%;
    overflow: hidden;
    float: left;
}

.production-container .inner .image img {
    position: absolute;
    left: 50%;
    top: 0;
    height: 100%;
    width: auto;
}

.production-container .inner .text {
    font-size: 1em;
    padding: 140px 70px;
    padding-right: 80px;
}

.production-container .inner .text .bold {
    font-weight: bold;
    font-size: 2.4em;
    margin-bottom: 40px;
}


/*

	PEOPLE

*/

.people-container {
    padding: 130px 0;
}

.people-container .heading h2 {
    font-size: 3em;
    margin-bottom: 20px;
}

.people-container .heading p {
    max-width: 535px;
    margin: auto;
    font-size: 1em;
}

.people-container .people-top {
    margin: 120px auto;
}

.people-container .people-top .left {
    border: none;
    border-right: 1px solid #c6c6cb;
}

.people-container .people-top img {
    max-width: 190px;
    position: relative;
    bottom: 0;
}

.people-container h3 {
    font-size: 2.4em;
    margin-bottom: 20px;
}

.people-container .people-top p {
    font-size: 1.5em;
}

.people-text {
    margin-bottom: 50px;
}

.people-text p {
    font-size: 20px;
    max-width: 560px;
    margin: auto;
}

.person {
    float: left;
    width: 20%;
}

.person img {
    width: 100px;
}

.person p {
    font-size: 20px;
    font-weight: bold;
}

.next-container {
    background-color: #34343a;
    padding-top: 130px;
    color: white;
}

.next-container h2 {
    font-size: 2.4em;
}

.next-container p {
    max-width: 560px;
    font-size: 1.5em;
    margin: auto;
    margin-bottom: 70px;
}

.next-container img {
    display: block;
    margin: auto;
}

.next-container img.img2017 {
    max-width: 700px;
    width: 100%;
}

.next-container img.point {
    max-width: 9px;
}

.contact .message {
    font-size: 48px;
    margin: 70px auto 40px;
}

.contact .message span {
    font-size: 30px;
    color: #8d8d97;
}

.contact .links {
    width: 100%;
    margin-bottom: 75px;
}

.contact .links .link {
    width: 33%;
    float: left;
}

.contact .links .link img {
    max-width: 140px;
    position: relative;
    top: 0;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.contact .links .link img:hover {
    top: -8px;
}

.contact .links .link p {
    max-width: 210px;
    font-size: 20px;
    font-weight: bold;
    margin: auto;
}

.triad {
    width: 100%;
    border-top: 1px solid #e2e2e5;
    padding: 35px;
}

.triad img {
    display: block;
    height: 40px;
    width: auto;
    margin: auto;
}

@media screen and (max-width: 946px) {
    .production-container .inner .text {
        font-size: 1em;
        padding: 110px 70px;
    }
}

@media screen and (max-width: 768px) {
    .nav {
        height: 50px;
    }
    .nav ul li {
        line-height: 50px;
    }
    body {
        font-size: 13px;
    }
    .header h1 {
        top: 11%;
    }
    .header-img {
        padding: 0 78px;
    }
    .campaings-container {
        padding: 100px 15px;
    }
    .campaing {
        margin: 15px;
    }
    .production-container {
        height: auto;
    }
    .helper {
        display: inline-block;
        height: 100%;
        vertical-align: middle;
    }
    .production-container .inner {
        max-width: 600px;
    }
    .production-container .inner .image,
    .production-container .inner .text {
        float: none;
        width: 100%;
        min-height: 300px;
    }
    .production-container .inner .image img {
        vertical-align: middle;
        width: 100%;
        left: 0;
        height: auto;
        top: -25%;
    }
    .production-container .inner .text {
        padding: 70px 20px;
        text-align: center;
        font-size: 1.23em;
    }
    .production-container .inner .text p {
        max-width: 400px;
        margin: auto;
    }
    .people-container .heading p {
        font-size: 1.5em;
    }
    .person {
        margin: 0 5%;
    }
    .person:nth-child(1) {
        margin-left: 10%;
    }
    .person:nth-child(3) {
        margin-right: 10%;
    }
    .person:nth-last-of-type(-n+2) {
        display: none;
    }
    .people-container h3 {
        font-size: 36px;
    }
    .next-container img.img2017 {
        max-width: 450px;
    }
    .next-container p {
        max-width: 450px;
        font-size: 1.85em;
    }
}

@media screen and (max-width: 425px) {
    body.modal-open {
        margin-right: 0;
        overflow: hidden;
    }
    .campaing .image:hover .overlay {
        opacity: 0;
    }
    .modal-body h3 {
        font-size: 30px;
    }
    .nav {
        height: 16px;
    }
    .nav.static {
        box-shadow: none;
    }
    .nav ul li {
        color: transparent;
        height: 16px;
        border: none;
    }
    .nav ul li a {
        display: none;
        ;
    }
    .campaings-container .heading h2 {
        font-size: 3.7em;
    }
    .campaings-container .heading p {
        font-size: 1.5em;
    }
    .counter {
        display: block;
        background: #87cc27;
        width: 60px;
        height: 30px;
        border-radius: 15px;
        margin: 20px auto;
        margin-top: 0;
        color: #ffffff;
    }
    .counter span {
        line-height: 30px;
        font-size: 16px;
        letter-spacing: 2px;
    }
    .campaing {
        height: 315px;
        margin-bottom: 10px;
    }
    .campaing h3 {
        max-width: 180px;
        margin: auto;
    }
    .header-img {
        padding: 0;
    }
    .header h1 {
        font-size: 2em;
        top: 8%;
    }
    .campaings-container {
        padding: 50px 0;
    }
    .campaings {
        overflow: scroll;
    }
    .campaing .image:hover {
        top: 0;
        background-image: none;
        box-shadow: 0 8px 24px 0 rgba(88, 89, 91, 0.6);
    }
    .campaings .campaings-secret-continer {
        overflow: scroll;
    }
    .campaings .campaings-secret-continer .campaing {
        width: 217px;
    }
    .campaings .campaings-secret-continer .campaing .image {
        width: 100%;
        height: 217px;
    }
    .production-container {
        padding: 80px 0;
        background-size: contain;
        background-repeat: repeat;
        background-position: top;
    }
    .production-container .inner .image img {
        top: 0%;
    }
    .production-container .inner .text {
        min-height: 0;
        padding: 50px 20px;
    }
    .production-container .inner .text p {
        display: none;
    }
    .production-container .inner .text .bold {
        display: block;
        margin: auto;
        font-size: 1.84em;
    }
    .people-container {
        padding: 70px 20px;
    }
    .people-container .heading h2 {
        font-size: 1.85em;
    }
    .people-container .heading p {
        font-size: 1.23em;
    }
    .people-container .people-top {
        margin-bottom: 0;
        margin-top: 20px;
    }
    .people-container h3 {
        font-size: 24px;
    }
    .people-container .people-top p {
        font-size: 16px;
    }
    .people-container .people-top img {
        max-width: 130px;
    }
    .people-container .people-top .left {
        border: none;
        border-bottom: 1px solid #c6c6cb;
        padding-bottom: 45px;
        margin-bottom: 35px;
    }
    .people-top .left,
    .people-top .right {
        float: none;
        width: 100%;
    }
    .people-top img {
        width: 150px;
    }
    .people-text,
    .people-bottom {
        display: none;
    }
    .next-container {
        padding-top: 70px;
        overflow: hidden;
    }
    .next-container h2 {
        font-size: 1.85em;
        max-width: 200px;
        margin: auto;
    }
    .next-container img.img2017 {
        max-width: 260px;
    }
    .next-container p {
        max-width: 290px;
        font-size: 1.24em;
        margin-bottom: 10px;
    }
    .next-container .point {
        top: 25px;
        position: relative
    }
    .contact .links {
        padding: 0 30px;
    }
    .contact .links .link img {
        max-width: 70px;
    }
    .contact .links .link p {
        display: none;
    }
}

.youtube-player {
    position: relative;
    padding-bottom: 56.23%;
    /* Use 75% for 4:3 videos */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #fff;
    margin: 0;
}

.youtube-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    background: transparent;
}

.youtube-player img {
    bottom: 0;
    display: block;
    left: 0;
    margin: auto;
    max-width: 100%;
    width: 100%;
    position: absolute;
    right: 0;
    top: 0;
    border: none;
    height: auto;
    cursor: pointer;
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

.youtube-player:hover img {
    -webkit-filter: brightness(75%);
}

.youtube-player .play {
    height: 80px;
    width: 80px;
    left: 50%;
    top: 50%;
    margin-left: -40px;
    margin-top: -40px;
    position: absolute;
    background: url("../img/play.png") no-repeat;
    background-size: 100%;
    background-position: top;
    cursor: pointer;
}

.youtube-player:hover .play {
    background-position: bottom;
}

.youtube-player > * {
    -webkit-animation: fadeIn 400ms ease-in-out;
    animation: fadeIn 400ms ease-in-out;
}

@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
}
