/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/


/* 
    Created on : 2014-12-10, 13:19:33
    Author     : Marcin
*/


/* Centered texts in each section
* --------------------------------------- */

.section {
    text-align: center;
}


/* Fixed header and footer.
* --------------------------------------- */

#header,
#footer {
    position: fixed;
    display: block;
    width: 100%;
    z-index: 9;
    text-align: center;
    padding: 0;
}

#header {
    height: 100px;
    top: 0px;
}

#footer {
    height: 0px;
    text-align: right;
    z-index: 10;
    margin-bottom: 25px;
    bottom: 0px;
}

#footer a {
    color: #ffffff;
    text-decoration: none;
}

#footer a:hover {
    color: #ffde00;
}


/* Bottom menu
* --------------------------------------- */

#infoMenu {
    bottom: 80px;
}

#infoMenu li a {
    color: #fff;
    z-index: 999;
}

html {
    font-size: 62.5%;
}

body {
    background: url("../img/bg.png")center top repeat-y;
    font-family: 'Roboto';
    overflow: hidden!important;
}

body.page-id-63,
html {
    overflow: auto!important;
}

#page {
    background: url("../img/home-bg.jpg")center top no-repeat;
}

p,
li,
span,
div {
    font-size: 1.4rem;
    color: #000000;
}


/*img{max-width: 80%;}*/

.wrapper {
    width: 1200px;
    margin: 0 auto;
    position: relative;
    height: 100%;
}


/*.center { left: 50%; top: 50%; width: 1200px;}*/


/*.intro{margin-top: 100px; position: relative;}*/

.center {
    position: absolute;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
    width: 1200px;
}

#section0 .intro .center {
    top: 65%;
}

.center-none {
    width: 1200px;
    margin: 150px auto;
}

.configurator {
    width: 1000px;
    padding: 30px 0;
}

div#preloader {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 999999;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #333 url('https://files.mimoymima.com/images/loading.gif') no-repeat center center;
}

#logo {
    float: left;
    margin-top: 30px;
}

#main-menu {
    display: inline-block;
    position: absolute;
    right: 0;
    bottom: 0;
}

#main-menu li {
    display: inline-block;
}

#main-menu li a {
    transition: ease-in all 0.4s;
    font-weight: 700;
    padding: 16px 26px;
    text-decoration: none;
    color: #ffffff;
    font-size: 1.6rem;
}


/* =16px */

#main-menu li a.active,
#main-menu li a:hover {
    color: #000000;
    background: #ffde00;
}

#home0,
#home1,
#home2,
#home3 {
    opacity: 0;
    z-index: 1;
    transition: ease-in all 0.4s;
    transform: translate(0, 0);
    position: absolute;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
}

#home0,
#home1,
#home2 {
    transform: translate(-50%, -100%);
}

#home3 {
    z-index: 2;
    opacity: 0;
}

#home0 {
    z-index: 2;
}

#home0.active,
#home1.active,
#home2.active {
    opacity: 1;
}

#home1.active {
    transform: translate(25%, -100%);
}

#home2.active {
    transform: translate(-100%, -100%);
}

#home3.active {
    opacity: 1;
}

#home0.active {
    transform: translate(-50%, -170%);
}

.more {
    z-index: 10000;
    background: #ffde00;
    padding: 10px 100px;
    color: #000000;
    top: 97%;
    cursor: pointer;
    display: block;
    width: auto;
    font-weight: 700;
    font-size: 1.4rem;
}

.more,
.more-left,
.more-right,
input[type=submit] {
    transition: ease-in all 0.4s;
}

.more:hover .more-left,
.more:hover .more-right,
.more:hover,
input[type=submit]:hover,
.button:hover {
    background: #ffa619;
    color: #ffffff;
}

.more-left {
    position: absolute;
    height: 2px;
    background: #ffde00;
    left: -350px;
    ;
}


/* left: -350px; */

.more-right {
    position: absolute;
    height: 2px;
    background: #ffde00;
    right: -350px;
}

.more-left,
.more-right {
    animation-name: more;
    animation-duration: 4s;
    animation-iteration-count: infinite;
}

@keyframes more {
    0% {
        width: 1px;
    }
    75% {
        width: 300px;
    }
    100% {
        width: 1px;
    }
}

.left-box-wrap,
.right-box-wrap {
    width: 50%;
    position: relative;
    overflow: hidden;
    display: inline-block;
    float: left;
}

.left-box-wrap {
    z-index: 2;
    background: #f2f2f2;
    min-height: 600px;
}

.right-box-wrap {
    z-index: 2;
}

.left-box {
    padding: 10px 20px;
    text-align: left;
}

.right-box {
    padding: 40px 20px;
}

.bg {
    background: #f2f2f2;
}

.mp0 {
    padding: 0;
    margin: 0;
}

.title {
    font-size: 4.8rem;
    text-align: left;
    background: url("../img/header.jpg") left top no-repeat;
    font-family: 'Titillium Web', sans-serif;
    font-weight: 700;
    margin: 0;
    padding: 0;
    line-height: 1.1;
    padding-top: 4px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.content-wrap,
.content-wrap p {
    font-size: 1.4rem;
    color: #000000;
}

.content-wrap ul {
    margin: 15px 0;
    padding: 0;
    padding-left: 30px;
}

.content-wrap ul li {
    padding: 15px 0 15px 30px;
    list-style: none;
    margin: 0;
    background: url("../img/more_arrow.png") 0 20px no-repeat;
}

.menu-spec ul {
    margin: 0;
    padding: 0;
    width: 100%;
    margin-bottom: 50px;
    margin-top: 10px;
}

.menu-spec ul li {
    font-size: 1.6rem;
    display: inline-block;
    vertical-align: top;
    margin: 0;
    padding: 0;
    width: 32.5%;
    font-weight: 700;
}

ul#menu-ramki-samochodowe-angielski>li {
    width: 45%;
}

.menu-spec ul li a {
    transition: ease-in all 0.4s;
}

.menu-spec ul li ul li a {
    padding: 4px 4px;
    display: block;
}

.menu-spec ul li ul li {
    display: block;
    font-size: 1.4rem;
    width: 100%;
}

.menu-spec a {
    color: #000000;
    text-decoration: none;
}

.menu-spec ul li a:hover {
    cursor: auto;
}

.menu-spec ul li ul li a:hover,
.menu-spec ul li ul li a.active {
    background: #ffde00;
    cursor: pointer;
}

#menu-motorbike,
#menu-moped,
#menu-ad {
    width: 32.5%;
    display: inline-block;
}

#menu-motorbike.menu-spec ul li,
#menu-moped.menu-spec ul li,
#menu-ad.menu-spec ul li {
    width: 100%;
}


/* TYMCZASOWE */

.menu-sp ul {
    margin: 0;
    padding: 0;
    width: 100%;
    margin-bottom: 50px;
    margin-top: 10px;
}

.menu-sp ul li {
    font-size: 1.6rem;
    display: inline-block;
    vertical-align: top;
    margin: 0;
    padding: 0;
    width: 32.5%;
    font-weight: 700;
}

.menu-sp ul li a {
    transition: ease-in all 0.4s;
}

.menu-sp ul li ul li a {
    padding: 4px 4px;
    display: block;
}

.menu-sp ul li ul li {
    display: block;
    font-size: 1.4rem;
    width: 100%;
}

.menu-sp a {
    color: #000000;
    text-decoration: none;
}

.menu-sp ul li a:hover {
    cursor: auto;
}

.hover-tooltips {
    position: absolute;
    width: 100%;
    height: 500px;
}

.hover-tooltips img.hm0 {
    position: absolute;
    left: 0;
    transform: translate(-100%, 0);
    transition: linear all 0.4s;
}

.hover-tooltips.active img.hm0 {
    transform: translate(0, 0);
}

#hover-car img.hm0 {
    transform: translate(-100%, 25%);
}

#hover-car.active img.hm0 {
    transform: translate(0, 25%);
}

.overflow-animate {
    width: inherit;
    height: inherit;
    overflow: hidden;
    position: absolute;
}

.hover-tooltips img.hm1 {
    margin-top: 100px;
    z-index: 10;
    position: absolute;
    left: 100%;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.hover-tooltips img.hm2 {
    margin-top: 230px;
    z-index: 10;
    position: absolute;
    left: -10%;
    opacity: 0;
}

.hover-tooltips img.hm1,
.hover-tooltips img.hm2 {
    transition: ease-in all 0.4s;
}

.hover-tooltips.active img.hm1,
.hover-tooltips.active img.hm2 {
    opacity: 1;
}

.hover-tooltips.active img.hm1 {
    left: 50%;
}


/*swiper*/

.device {
    width: 500px;
    max-width: 100%;
    height: 270px;
    padding: 0 50px;
    position: relative;
}

.device .arrow-left {
    transition: ease-in all 0.4s;
    background: url(../img/arrow_l.png) no-repeat center center;
    position: absolute;
    left: 0px;
    top: 50%;
    margin-top: -35px;
    width: 42px;
    height: 70px;
}

.device .arrow-right {
    transition: ease-in all 0.4s;
    background: url(../img/arrow_r.png) no-repeat center center;
    position: absolute;
    right: 0px;
    top: 50%;
    margin-top: -35px;
    width: 42px;
    height: 70px;
}

.device .arrow-right:hover,
.device .arrow-left:hover {
    background-color: #ffde00;
}

.swiper-container {
    height: 270px;
    width: 100%;
}

.content-slide {
    padding: 20px;
    color: #fff;
}

.pagination {
    position: absolute;
    left: 0;
    text-align: center;
    bottom: 5px;
    z-index: 10;
    width: 100%;
}

.swiper-pagination-switch {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 10px;
    background: #999;
    box-shadow: 0px 1px 2px #555 inset;
    margin: 0 3px;
    cursor: pointer;
}

.swiper-active-switch {
    background: #ffde00;
}

.swiper-container img {
    width: 360px;
    height: 230px;
    max-width: 100%;
}

.about-us {
    opacity: 0;
    width: 60%;
    transition: ease-in all 0.4s;
    display: block;
    border: 8px solid #f2f2f2;
    margin: 20px auto;
}

.about-us.active {
    opacity: 1;
}

.about-us-wrap {
    margin-top: 30px;
}


/*ajax*/

.ajax-box.show {
    opacity: 1;
}

.ajax-box {
    min-height: 550px;
    opacity: 0;
    transition: ease-in all 0.4s;
}

.ajax-title {
    margin: 0;
    text-align: left;
    font-size: 30px;
    padding: 20px;
}

.ajax-box,
.ajax-box p {
    color: #000000;
    background: #f2f2f2;
}

.ajax-content {
    padding: 0 20px 80px 20px;
    text-align: left;
}


/*konfigurator*/

.configurator {
    background-color: #f2f2f2;
    min-height: 300px;
}


/*formularze*/

form {
    text-align: left;
}

input,
textarea {
    color: #000000;
    margin: 0 10px 12px 0;
    vertical-align: top;
    border: 1px solid #dbdbdb;
    font-size: 12px;
    padding: 20px;
    display: inline-block;
    width: 250px;
}

textarea {
    min-height: 86px;
    width: 555px;
}

label.error {
    color: red;
    font-size: 1.2rem;
    position: absolute;
    left: 10px;
    margin-top: 4px;
}

input.error,
textarea.error {
    border: 1px solid red;
}

input[type=submit],
.button,
#backToOffert {
    color: #000000;
    border: none;
    height: 86px;
    text-transform: uppercase;
    font-size: 2.4rem;
    width: 228px;
    padding: 0 0 0 90px;
    cursor: pointer;
    text-align: left;
    background: #ffde00 url(../img/submit_bg.png) no-repeat 26px center;
}

#contact_form label.error {
    left: 40px;
}

#contact_form input[type=text],
#contact_form input[type=email] {
    width: 218px;
}

#contact_form input[type=email] {
    margin-right: 0;
}

#contact_form input[type=submit],
.button,
#backToOffert {
    height: 46px;
    display: inline-block;
    line-height: 46px;
    padding: 0 20px;
    background-image: none;
    width: auto;
    font-size: 1.6rem;
}

#contact_form textarea {
    width: 492px;
}

#change-lang {
    display: inline-block;
    float: left;
    position: absolute;
    left: 240px;
    bottom: 10px;
}

#change-lang a {
    margin-right: 5px;
}

#change-lang a img {
    display: inline-block;
}

.slicknav_menu {
    display: none;
    background: #005aa2!important;
}


/*Desktop Medium 1200px*/

@media screen and (max-width: 1441px) {
    .device {
        width: 400px;
    }
    #logo {
        margin: 10px;
    }
    #header {
        height: 70px;
    }
    .about-us {
        width: 50%;
        max-width: 530px;
    }
    .wrapper,
    .center,
    .center-none {
        width: 100%;
        max-width: 100%;
    }
    /*div{max-width: 100%!important;}*/
    .more.center {
        width: auto;
    }
    img {
        max-width: 100%
    }
    #footer a {
        margin-right: 20px;
    }
    .configurator .ajax-wrap {
        padding: 20px 10px;
    }
    /*    #home0{width: 40%;}
    #home1{width: 20%;}
    #home2{width: 20%;}
    #home3{width: 20%;}*/
}

@media screen and (max-height: 900px) {
    #home0 {
        max-width: 50%;
        width: 530px;
    }
    #home1 {
        max-width: 30%;
        width: 280px;
    }
    #home2 {
        max-width: 30%;
        width: 330px;
    }
    #home3 {
        max-width: 30%;
        width: 330px;
    }
}


/*Desktop Medium 1100px*/

@media screen and (max-width: 68.75em) {
    #backToOffert {
        position: absolute;
        top: 110px;
        left: 20px;
    }
    .hover-tooltips {
        display: none!important;
    }
    #frame-desc {
        padding-top: 140px;
        position: relative;
    }
    .ajax-box {
        min-height: 10px;
    }
    #page {
        background: none;
    }
    #logo {
        max-width: 120px;
        height: auto;
        margin: 10px;
    }
    .left-box-wrap,
    .right-box-wrap {
        background: #f2f2f2;
        width: 100%;
        position: relative;
        overflow: hidden;
        display: block;
        float: none;
    }
    input,
    textarea {
        width: 90%!important;
        padding: 4%;
        display: block;
    }
    .slicknav_menu {
        z-index: 99999999!important;
        position: fixed;
        width: 100px;
        right: 0;
        top: 0;
    }
    header {
        position: relative;
    }
    #main-menu {
        display: none;
    }
    .slicknav_menu {
        display: block;
    }
}

@media screen and (max-width: 1025px) {
    .more-left,
    .more-right {
        display: none;
    }
}

@media screen and (max-width: 400px) {
    #change-lang {
        left: 140px;
    }
    .device {
        width: 250px;
    }
}