/* NAV TOGGLE */
.nav-toggle {
    position: absolute;
    top: 0;
    right: 0;
}

.nav-toggle span {
    background: #fff;
}

.nav-toggle.active span {
    background: #fff;
}

/* RWD MENU */
.rwd-menu {
    top: 80px;
    padding-top: 10px;
    background-color: #1b1b1b;
    background-image: linear-gradient(to top ,#37264d ,#1b1b1b);
}

.rwd-menu ul > li > ul {
    display: none;
}

.rwd-menu ul > li.active > ul {
    display: block;
}

.rwd-menu ul > li {
    border: none;
}

.rwd-menu ul > li > a {
    font-size: 16px;
    line-height: 24px;
    font-weight: 300;
    color: #fff;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.rwd-menu ul > li.active > a {
    font-weight: bold;
}

.rwd-menu ul > li.active > ul > li:last-child {
    border-bottom: 0;
}

.rwd-menu ul > li ul {
    border-bottom: 1px solid #000;
}

.rwd-menu ul > li > ul {
}

.rwd-menu ul > li > ul > li > ul {
}

.rwd-menu ul > li > ul > li > ul > li > ul {
}

/*--------------- RESPONSIVE -------------*/
@media screen and (max-width: 1700px) {
    #dane-techniczne .section-main {
        background: #fff;
    }
}

@media screen and (max-width: 1600px) {
    #kontakt .container {
        height: 240px;
    }

    #kontakt .left-side img {
        width: 220px;
    }

    #kontakt .contact-text {
        font-size: 64px;
        line-height: 80px;
    }

    #kontakt .contact-info {
        font-size: 48px;
        line-height: 64px;
        margin-left: 30px;
    }
}

@media screen and (max-width: 1500px) {
    #home {
        height: 650px;
    }

    #opis-produktu .section-main {
        background: #fff;
        height: 700px;
    }

    #opis-produktu .img-wrapper img {
        -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);
    }
}

@media screen and (max-width: 1440px) {
    #main-menu ul li {
        padding-left: 25px;
        font-size: 16px;
    }

    .square-with-title {
        width: 33.3334%;
    }

    .square-with-title .square {
        height: 33vw;
    }

    .square-text-under {
        margin: 30px 0;
        min-height: 56px;
    }

    .square-text-under .square-title,
    .square-text-under .square-subtitle {
        line-height: 28px;
    }
}

@media screen and (max-width: 1300px) {
    h1 {
        font-size: 40px;
        line-height: 48px;
    }

    h2 {
        font-size: 26px;
        line-height: 40px;
    }

    #home h2 {
        margin-top: 16px;
    }

    #home .slide-text {
        font-size: 16px;
        line-height: 24px;
        margin-top: 12px;
        margin-bottom: 32px;
    }

    #opis-produktu .text-title {
        font-size: 80px;
        line-height: 100px;
        margin-bottom: 30px;
    }

    #opis-produktu .text-subtitle {
        font-size: 16px;
    }

    #opis-produktu .text-subtitle br {
        display: none;
    }

    .sub-text-wrapper {
        font-size: 16px;
    }

    #kontakt .contact-text {
        font-size: 54px;
        line-height: 72px;
    }
}

@media screen and (min-width: 1140px) {
    .rwd-menu,
    .nav-toggle {
        display: none;
        display: none !important;
    }
}

@media screen and (max-width: 1139px) {
    .rwd-hide {
        display: none;
    }

    .text img {
        max-width: 100%;
        max-width: 100% !important;
    }

    .container {
        width: 100%;
    }

    .body-block {
        position: fixed;
        width: 100%;
    }

    h1 {
        font-size: 36px;
        line-height: 44px;
    }

    h2 {
        font-size: 24px;
        line-height: 36px;
    }

    h3 {
        font-size: 40px;
    }

    header {
        background: #1b1b1b;
    }

    #main-menu {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    #home {
        margin-top: 80px;
        height: 500px;
        background: #fff;
    }

    #home .img-wrapper {
        display: block;
        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 {
        width: 50%;
        height: 50vw;
    }

    .square-container.four-squares {
        margin-top: 40px;
        margin-bottom: 40px;
    }

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

    #prezentacja .section-header h3 span {
        font-size: 24px;
    }

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

    #film .section-main {
        height: auto;
    }

    #film h3 {
        margin: 40px 0 15px;
    }

    #film .subtitle,
    #film .video-border {
        margin-bottom: 30px;
    }

    #kontakt .container {
        height: 180px;
    }

    #kontakt .left-side img {
        width: 180px;
    }

    #kontakt .contact-text {
        font-size: 48px;
        line-height: 64px;
    }

    #kontakt .contact-info {
        font-size: 40px;
        line-height: 54px;
    }
}

@media screen and (max-width: 980px) {
    #kontakt .container {
        height: 160px;
    }

    #kontakt .left-side img {
        width: 160px;
    }

    #kontakt .contact-text {
        font-size: 40px;
        line-height: 54px;
    }

    #kontakt .contact-info {
        font-size: 32px;
        line-height: 48px;
    }
}

@media screen and (max-width: 900px) {
    h1 {
        font-size: 30px;
        line-height: 36px;
    }

    h2 {
        font-size: 20px;
        line-height: 30px;
    }

    #home .slide-text br {
        display: none;
    }

    #prezentacja .section-header h3 span {
        font-size: 20px;
    }

    #prezentacja .section-header h3 {
        line-height: 40px;
    }

    .section-header {
        height: 130px;
    }

    #opis-produktu .text-title {
        font-size: 60px;
        line-height: 80px;
        margin-bottom: 20px;
    }

    #opis-produktu .text-subtitle,
    .sub-text-wrapper {
        line-height: 26px;
    }

    #kontakt {
        padding: 20px 0;
    }

    #kontakt .container {
        height: auto;
    }

    #kontakt .left-side,
    #kontakt .right-side {
        width: 100%;
        height: auto;
        text-align: center;
    }

    #kontakt .contact-wrapper {
        padding: 0;
        top: 0;
        -webkit-transform: none;
        -moz-transform: none;
        -ms-transform: none;
        -o-transform: none;
        transform: none;
        display: inline-block;
    }

    #kontakt .contact-text {
        font-size: 64px;
        line-height: 80px;
    }

    #kontakt .contact-info {
        font-size: 48px;
        line-height: 64px;
    }

    #kontakt .left-side img {
        width: 200px;
    }

}

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

    h2 {
        font-size: 18px;
        line-height: 27px;
    }

    #prezentacja .section-header h3 {
        font-size: 20px;
        line-height: 32px;
    }

    #prezentacja .section-header h3 span {
        font-size: 18px;
    }

    .square-with-title {
        width: 50%;
    }

    .square-with-title .square {
        height: 50vw;
    }

    .square-text-under {
        margin: 20px 0;
    }
}

@media screen and (min-width: 706px) {
    footer .show-hide {
        display: block !important;
    }
}

@media screen and (max-width: 720px) {
    #opis-produktu .text-title {
        font-size: 54px;
        line-height: 72px;
    }
}

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

    .text img {
        max-width: 100%;
        max-width: 100% !important;
        width: inherit;
        width: inherit !important;
        height: auto;
        height: auto !important;
    }

    .text table,
    .text iframe,
    .text object {
        max-width: 100%;
        max-width: 100% !important;
        width: 100%;
        width: 100% !important;
    }

    h1 {
        font-size: 40px;
        line-height: 48px;
    }

    h2 {
        font-size: 24px;
        line-height: 36px;
    }

    h3 {
        font-size: 32px;
    }

    #home .img-wrapper img {
        max-width: 100%;
    }

    #home {
        height: auto;
    }

    .left-side,
    .right-side {
        width: 100%;
        height: auto;
    }

    .text-wrapper {
        top: 0;
        margin: 30px 0;
        -webkit-transform: none;
        -moz-transform: none;
        -ms-transform: none;
        -o-transform: none;
        transform: none;
    }

    #home .slide-text br {
        display: block;
    }

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

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

    #opis-produktu .section-main {
        height: auto;
    }

    #film h3 {
        margin: 15px 0 10px;
    }

    #film .subtitle {
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 20px;
    }

    #kontakt .contact-text {
        font-size: 48px;
        line-height: 64px;
    }

    #kontakt .contact-info {
        font-size: 40px;
        line-height: 54px;
    }

    #kontakt .left-side img {
        width: 180px;
    }

    footer {
        height: auto;
    }

    .footer-main {
        padding: 15px;
        text-align: center;
        top: 0;
        -webkit-transform: none;
        -moz-transform: none;
        -ms-transform: none;
        -o-transform: none;
        transform: none;
    }

    .footer-main .copyright {
        display: inline-block;
        width: 100%;
    }
    .footer-main .copyright-u {
        display: inline-block;
    }

    .footer-main .copyright,
    .footer-main .copyright-u {
        line-height: 20px;
    }

    .specifications-table tr {
        display: block;
        border-bottom: 1px solid #aaa;
        border-left: 1px solid #aaa;
        border-right: 1px solid #aaa;
    }

    .specifications-table tr.title {
        border-color: #5c358c;
    }

    .specifications-table .table-icon {
        display: block;
        width: 100%;
        float: left;
        text-align: center;
    }

    .specifications-table .table-label,
    .specifications-table .table-data {
        overflow: hidden;
        display: block;
        width: 100%;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }

    .specifications-table tr td {
        border: none;
    }

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








}

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

    .text {
        word-wrap: break-word;
    }

    .square {
        width: 100%;
        height: 100vw;
    }
}

@media screen and (max-width: 520px) {
    .section-header {
        height: 100px;
    }

    h3 {
        font-size: 24px;
    }

    #kontakt .left-side img {
        width: 120px;
    }

    #kontakt .right-side img {
        width: 26px;
    }

    #kontakt .contact-text {
        font-size: 36px;
        line-height: 44px;
    }

    #kontakt .contact-info {
        font-size: 24px;
        line-height: 36px;
        margin-left: 10px;
    }

    #kontakt .left-side .contact-wrapper {
        padding-bottom: 10px;
    }
}

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

    h1 {
        font-size: 34px;
        line-height: 40px;
    }

    h2 {
        font-size: 18px;
        line-height: 24px;

    }

    .text {
        word-wrap: break-word;
    }

    .button {
        width: 100%;
    }

    .square-container.four-squares {
        margin-top: 30px;
        margin-bottom: 30px;
    }

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

    #opis-produktu .text-title {
        font-size: 48px;
        line-height: 60px;
    }

    .square-with-title {
        width: 100%;
    }

    .square-with-title .square {
        height: 100vw;
    }
}

@media screen and (max-width: 420px) {
    *[id^=fancybox] {
        display: none;
        display: none !important;
    }

    .square-content .fancy {
        display: none;
    }



    h1 {
        font-size: 28px;
        line-height: 34px;
    }

    #home .slide-text br {
        display: none;
    }

    #prezentacja .section-header h3 {
        font-size: 18px;
        line-height: 24px;
    }

    #prezentacja .section-header h3 span {
        font-size: 16px;
    }

    #opis-produktu .text-title {
        font-size: 40px;
        line-height: 48px;
    }
}

@media screen and (max-width: 380px) {
    #prezentacja .section-header h3 {
        font-size: 16px;
        letter-spacing: 0;
    }

    .square-text-under {
        min-height: 40px;
    }

    .square-text-under .square-title,
    .square-text-under .square-subtitle {
        line-height: 20px;
    }

    #kontakt .left-side img {
        width: 100px;
    }

    #kontakt .contact-text {
        font-size: 30px;
        height: 36px;
    }
}

/**
 * FANCYBOX
 */

@media all and (min-width: 800px) {

    .fancybox-thumbs {
        top: auto;
        right: 0;
        bottom: 0;
        left: 0;
        box-sizing: border-box;
        padding: 10px;
        width: auto;
        height: 95px;
        background: rgba(0, 0, 0, 0.3);

    }

    .fancybox-show-thumbs .fancybox-inner {
        right: 0 !important;
        bottom: 95px;
    }

}

