
body {
    font-family: 'Lato', sans-serif;
    color: #000;
}

h1 {
    font-size: 48px;
    color: #5c358c;
    line-height: 58px;
    font-weight: 900;
    text-transform: uppercase;
}

h2 {
    font-size: 30px;
    font-weight: 300;
    line-height: 48px;
    letter-spacing: 0.05em;
    text-transform: uppercase;

}

h3 {
}

h4 {
}

h5 {
}

a {
    color: #fff;
}

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

.container {
    clear: both;
    margin: 0 auto;
    max-width: 1300px;
    width: 100%;
}

.container.w1620 {
    max-width: 1620px;
}

#page {
    overflow: hidden;
}

/**
 * HEADER
 */

header {
    background-color: #1b1b1b;
    background-image: url('../images/header-bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    height: 114px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -ms-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
    z-index: 1000;
}

header.active {
    height: 80px;
}

header.active .logo {
    margin-top: 10px;
}
header.active .logo a img {
    height: 60px;
}

.logo {
    float: left;
    margin-top: 19px;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -ms-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}

.logo a {
    display: block;
    overflow: hidden;
}

.logo a img {
    display: block;
    float: left;
    height: 77px;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -ms-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}

#main-menu {
    float: right;
}

#main-menu ul {

}

#main-menu ul li {
    display: inline-block;
    text-transform: uppercase;
    height: 114px;
    line-height: 114px;
    font-size: 18px;
    color: #fff;
    font-weight: normal;
    letter-spacing: 0.05em;
    padding-left: 60px;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -ms-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}

header.active #main-menu ul li {
    height: 80px;
    font-size: 16px;
    line-height: 80px;
}


/**
 * CONTENT
 */

#content {
    overflow: hidden;
}

.text {
    overflow: hidden;
}

.left-side {
    width: 50%;
    height: 100%;
    float: left;
}

.right-side {
    width: 50%;
    height: 100%;
    float: right;
}

.button {
    display: inline-block;
    background-color: #191919;
    font-size: 14px;
    line-height: 30px;
    font-weight: normal;
    letter-spacing: 0.05em;
    color: #fff;
    border: 1px solid #191919;
    padding: 7px 40px;
    text-align: center;
    pointer-events: all;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

.button:hover,
.button:focus {
    background-color: transparent;
    color: #191919;
    border-color: #191919;
}

.square .button:hover,
.square .button:focus {
    background-color: #fff;
    color: #191919;
    border-color: #fff;
}

/**
 * HOME
 */

#home {
    background-image: url('../images/main-bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    height: 826px;
    margin-top: 114px;
    -webkit-transition: margin-top .5s;
    -moz-transition: margin-top .5s;
    -ms-transition: margin-top .5s;
    -o-transition: margin-top .5s;
    transition: margin-top .5s;
}

#home .container {
    height: 100%;
}

.text-wrapper {
    position: relative;
    top: 50%;
    -webkit-transform: translate3d(0, -50%, 0);
    -moz-transform: translate3d(0, -50%, 0);
    -ms-transform: translate3d(0, -50%, 0);
    -o-transform: translate3d(0, -50%, 0);
    transform: translate3d(0, -50%, 0);
}

#home h2 {
    margin-top: 32px;
    color: #767575;
}

#home .slide-text {
    font-size: 18px;
    line-height: 30px;
    letter-spacing: 0.05em;
    margin-top: 25px;
    margin-bottom: 42px;
}

#home .img-wrapper {
    display: none;
}

#home .main-img-rwd img,
#home .img-wrapper img {
    max-width: 100%;
    margin-top:10px;
}

/**
 * SUB-SECTIONS
 */

.section-header {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    height: 170px;
    padding: 0 15px;
}

.section-header.left-header {
    background-image: url('../images/header-bg-left.jpg');
}

.section-header.right-header {
    background-image: url('../images/header-bg-right.jpg');
}

h3 {
    color: #fff;
    font-size: 48px;
    line-height: 60px;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-align: center;
}

.section-header h3 {
    position: relative;
    top: 50%;
    -webkit-transform: translate3d(0, -50%, 0);
    -moz-transform: translate3d(0, -50%, 0);
    -ms-transform: translate3d(0, -50%, 0);
    -o-transform: translate3d(0, -50%, 0);
    transform: translate3d(0, -50%, 0);
}

.section-header h3 span {
    font-weight: 300;
    text-transform: none;
}

.section-main {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

/**
 * PREZENTACJA
 */

#prezentacja .section-header h3 {
    font-size: 24px;
    line-height: 48px;
    text-transform: uppercase;
    font-weight: 900;
}

#prezentacja .section-header h3 span {
    font-weight: 300;
    font-size: 30px;
}

#prezentacja .container {
    margin-top: 60px;
}

.sub-text-wrapper {
    font-size: 18px;
    line-height: 30px;
    color: #000;
    font-weight: 300;
    letter-spacing: 0.05em;
    text-align: justify;
}

.square-container {
    overflow: hidden;
}

.square-container.four-squares {
    margin: 70px -5px;
}

.square {
    padding: 5px;
    width: 25%;
    height: 25vw;
    float: left;
}

.square-content {
    width: 100%;
    height: 100%;
    border: 1px solid #e6e7e8;
    position: relative;
    overflow: hidden;
}

.square-content .square-hover {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(92, 53, 140, 0.9);
    opacity: 0;
    text-align: center;
    pointer-events: none;
    z-index: 5;
    -webkit-transition: opacity 0.5s;
    -moz-transition: opacity 0.5s;
    -ms-transition: opacity 0.5s;
    -o-transition: opacity 0.5s;
    transition: opacity 0.5s;
}

.square-content:hover .square-hover {
    opacity: 1;
}

.square-hover .square-hover-content img {
    display: block;
    margin: 0 auto 75px;
}

.square-hover .square-hover-content {
    width: 100%;
    position: relative;
    top: 50%;
    -webkit-transform: translate3d(0, -50%, 0);
    -moz-transform: translate3d(0, -50%, 0);
    -ms-transform: translate3d(0, -50%, 0);
    -o-transform: translate3d(0, -50%, 0);
    transform: translate3d(0, -50%, 0);
}

.square-content > a{
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.square-content .square-img {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate3d(-50%, -50%, 0);
    -moz-transform: translate3d(-50%, -50%, 0);
    -ms-transform: translate3d(-50%, -50%, 0);
    -o-transform: translate3d(-50%, -50%, 0);
    transform: translate3d(-50%, -50%, 0);
    z-index: -1;
    max-width: 80%;
    max-height: 80%;
}

.square-content .square-img.full-photo {
    max-width: none;
    max-height: 100%;
    min-height: 100%;
    min-width: 100%;
}

/**
 * OPIS PRODUKTU
 */

#opis-produktu .section-main {
    height: 810px;
    background-image: url('../images/description-bg.jpg');
}

#opis-produktu .container {
    height: 100%;
}

#opis-produktu .text-wrapper {
    padding-bottom: 80px;
}

#opis-produktu .left-side {
    position: absolute;
}

#opis-produktu .text-title {
    font-size: 100px;
    line-height: 120px;
    font-weight: 900;
    letter-spacing: 0.05em;
    color: #5c358c;
    margin-bottom: 40px;
}

#opis-produktu .text-subtitle {
    font-size: 18px;
    line-height: 30px;
    color: #000;
    font-weight: 900;
    letter-spacing: 0.05em;
    margin-bottom: 30px;
}

#opis-produktu .img-wrapper {
    height: 100%;
    width: 100%;
    text-align: center;
}

#opis-produktu .img-wrapper img {
    display: inline-block;
    position: relative;
    top: 50%;
    -webkit-transform: translate3d(5%, -55%, 0);
    -moz-transform: translate3d(5%, -55%, 0);
    -ms-transform: translate3d(5%, -55%, 0);
    -o-transform: translate3d(5%, -55%, 0);
    transform: translate3d(5%, -55%, 0);
    max-width: 100%;
}

#opis-produktu .rwd-img-wrapper img {
    max-width: 100%;
}

/**
 * DANE TECHNICZNE
 */

#dane-techniczne .section-main {
    background-image: url('../images/specifications-bg.jpg');
    background-position: center center;
    background-size: auto;
    padding: 50px 0;
}

.specifications-table {
    width: 100%;
}
.specifications-table .title th {
    height: 50px;
    vertical-align: middle;
    font-size: 18px;
    line-height: 24px;
    font-weight: 300;
    padding: 10px 15px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #fff;
    background-color: #5c358c;
}

.specifications-table .title th span {
    font-weight: 900;
}

.specifications-table .table-icon {
    vertical-align: middle;
}

.specifications-table .table-label,
.specifications-table .table-data {
    padding: 10px 20px;
    font-size: 14px;
    line-height: 20px;
    vertical-align: middle;
}


.specifications-table .table-icon img {
    padding: 10px;
    vertical-align: middle;
}

.specifications-table tr td {
    background: #fff;
    border: 1px solid #e6e7e8;
}

.specifications-table tr:nth-of-type(odd) .table-label,
.specifications-table tr:nth-of-type(odd) .table-data {
    background: #f1f2f2;
}

/**
 * AKCESORIA
 */

.square-container.six-squares {
    margin: 10px -5px 0;
}

.square-with-title {
    width: 16.6667%;
    padding: 0 5px;
    float: left;
}

.square-with-title .square {
    width: 100%;
    height: 16.6667vw;
    padding: 0;
    float: none;
}

.square-text-under {
    margin: 50px 0;
    /*min-height: 64px;*/
}

.square-text-under .square-title {
    font-size: 14px;
    line-height: 32px;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: center;
}

.square-text-under .square-subtitle {
    font-size: 14px;
    line-height: 32px;
    font-weight: 300;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: center;
}

/**
 * FILM
 */

#film .section-main {
    background-image: url('../images/video-bg.jpg');
    height: 950px;
}

#film h3 {
    margin-top: 90px;
    margin-bottom: 25px;
}

#film .subtitle {
    font-size: 18px;
    line-height: 30px;
    font-weight: 300;
    color: #fff;
    letter-spacing: 0.05em;
    text-align: center;
    margin-bottom: 60px;
}

#film .video-border {
    margin: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    max-width: 890px;
    width: 100%;
}

#film .video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}

#film .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/**
 * KONTAKT
 */

#kontakt {
    background: #fff;
}

#kontakt .container {
    height: 280px;
}

#kontakt .contact-wrapper {
    padding: 10px 0;
    position: relative;
    top: 50%;
    -webkit-transform: translate3d(0, -50%, 0);
    -moz-transform: translate3d(0, -50%, 0);
    -ms-transform: translate3d(0, -50%, 0);
    -o-transform: translate3d(0, -50%, 0);
    transform: translate3d(0, -50%, 0);
}

#kontakt .right-side {
    text-align: right;
}

#kontakt img,
#kontakt .contact-text,
#kontakt .contact-info {
    display: inline-block;
    vertical-align: middle;
}

#kontakt .contact-text {
    color: #000;
    font-size: 80px;
    line-height: 100px;
    font-weight: 300;
}

#kontakt .contact-text span {
    color: #5c358c;
    font-weight: 900;
}

#kontakt .contact-info {
    font-size: 60px;
    line-height: 80px;
    font-weight: 900;
    color: #000;
    margin-left: 60px;
}

#kontakt .contact-info:hover {
    color: #5c358c;
}

/**
 * FOOTER
 */

footer {
    background-image: url('../images/footer-bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    height: 110px;
}

.footer-main {
    width: 100%;
    position: relative;
    top: 50%;
    -webkit-transform: translate3d(0, -50%, 0);
    -moz-transform: translate3d(0, -50%, 0);
    -ms-transform: translate3d(0, -50%, 0);
    -o-transform: translate3d(0, -50%, 0);
    transform: translate3d(0, -50%, 0);
}

.footer-main .copyright,
.footer-main .copyright-u {
    display: inline;
    overflow: hidden;

    color: #fff;
    font-size: 14px;
    line-height: 36px;
    font-weight: normal;
    letter-spacing: 0.05em;
}

/**
 * FANCYBOX
 */

.fancybox-thumbs>ul>li{
    float: none;
    display: inline-block;
}
.fancybox-thumbs>ul{
    text-align: center;
    white-space: pre-wrap;
}
.fancybox-caption-wrap{
    text-align: center;
}

/**
 *
 */

/*
.specifications-table tbody {
    min-width: 700px;
    display: block;
}

@media screen and (max-width: 720px) {

    .specifications-table {
        table-layout: fixed;
        width: 100%;
        border-collapse: collapse;
    }

    .wrapped-table table {
        position: relative;
        display: block;
        overflow: auto;
    }

    .wrapped-table {
        position: relative;
        max-width: 100%;
        width: 100%;
    }

    .wrapped-table:before {
        display: block;
        position: absolute;
        top: -25px;
        z-index: 10;
        right: 0;
        width: 80px;
        height: 40px;
        background: url("../images/rwd-hand.png") no-repeat left center transparent;
        background-size: contain;
        content: '';

        animation: handShake 2s infinite 0.6s ease-in-out;
        -webkit-animation: handShake 2s infinite 0.6s ease-in-out;
    }
}

@-webkit-keyframes handShake {
    0%, 100% {
        background-position: left center;
    }
    50% {
        background-position: right center;
    }
}

@keyframes handShake {
    0%, 100% {
        background-position: left center;
    }
    50% {
        background-position: right center;
    }
}*/
