
@font-face {
    font-family: 'Kia';
    src: url('../fonts/kial.eot');
    src: url('../fonts/kial.eot?#iefix') format('embedded-opentype'),
        url('../fonts/kial.woff') format('woff'),
        url('../fonts/kial.ttf') format('truetype'),
        url('../fonts/kial.svg#kial') format('svg');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Kia';
    src: url('../fonts/kiab.eot');
    src: url('../fonts/kiab.eot?#iefix') format('embedded-opentype'),
        url('../fonts/kiab.woff') format('woff'),
        url('../fonts/kiab.ttf') format('truetype'),
        url('../fonts/kiab.svg#kiab') format('svg');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Kia';
    src: url('../fonts/kiam.eot');
    src: url('../fonts/kiam.eot?#iefix') format('embedded-opentype'),
        url('../fonts/kiam.woff') format('woff'),
        url('../fonts/kiam.ttf') format('truetype'),
        url('../fonts/kiam.svg#kiam') format('svg');
    font-weight: 400;
    font-style: normal;
}




@font-face {
    font-family:neosanspro;
    src:url(../fonts/neosanspro-light.eot);
    src:url(../fonts/neosanspro-light.eot?#iefix) format("embedded-opentype"),url(../fonts/neosanspro-light.woff) format("woff"),url(../fonts/neosanspro-light.ttf) format("truetype");
    font-weight:100;
    font-style:normal;
}

@font-face {
    font-family:neosanspro;
    src:url(../fonts/neosanspro-regular.eot);
    src:url(../fonts/neosanspro-regular.eot?#iefix) format("embedded-opentype"),url(../fonts/neosanspro-regular.woff) format("woff"),url(../fonts/neosanspro-regular.ttf) format("truetype");
    font-weight:400;
    font-style:normal;
}

@font-face {
    font-family:neosanspro;
    src:url(../fonts/neosanspro-medium.eot);
    src:url(../fonts/neosanspro-medium.eot?#iefix) format("embedded-opentype"),url(../fonts/neosanspro-medium.woff) format("woff"),url(../fonts/neosanspro-medium.ttf) format("truetype");
    font-weight:700;
    font-style:normal;
}


@font-face {
    font-family:neosanspro;
    src:url(../fonts/neosanspro-bold.eot);
    src:url(../fonts/neosanspro-bold.eot?#iefix) format("embedded-opentype"),url(../fonts/neosanspro-bold.woff) format("woff"),url(../fonts/neosanspro-bold.ttf) format("truetype");
    font-weight:900;
    font-style:normal;
}



html {
    /**/
    text-rendering: optimizeLegibility !important;
    -webkit-font-smoothing: antialiased !important;
    font-smooth:auto;
    height:100%;
    margin:0;
    padding:0;
}


body {
    background: #FFFFFF;
    margin:0;
    padding:0;
    color: #4f4f4f;
    table-layout:fixed;
    height:100%;
    font-size:15px;
    position:relative;
    line-height: normal;
    font-family: Kia, sans-serif;
    font-weight: 300;
}


body, body * {
    max-height: 1000000px;
}


*, *:after, *:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-appearance: none;
}

.clearfix:before, .clearfix:after {
    content: '';
    display: table;
}

clearfix:after {
    clear: both;
}

a {
    color: #4f4f4f;
    text-decoration: underline;
}

#body {
    position: relative;
    width: 100%;
    min-height: 100%;
}


header {

    background: #c0001e url(../images/bg_wzory.jpg) no-repeat center top;
    width: 100%;
    overflow: visible;
    font-size: 30px;
    color: #FFFFFF;
    padding: 10px 0 40px 10px;
    font-weight: 700;
    line-height: 1em;
    text-transform: uppercase;
    z-index: 20;
    position: relative;
}


header #logo {
    position: relative;
    z-index: 10;
    margin: 20px auto -80px;
    display: block;

}

main {
    position: relative !important;
    display: block;
    width: 100%;
    z-index: 5;
}


#googlemaps {
    background: #d3d3d3;
    width: 100%;
    position:relative;
    height: 400px;
    bottom: 0;
    left: 0;
    z-index: 0; /* Set z-index to 0 as it will be on a layer below the contact form */
}

    #googlemaps {
        position: fixed !important;
        height: auto;
        top: 80px;

    }


#jak_wygrac {
    position: relative;
    top: 0;
    bottom: 0;
    min-height: 750px;
    height: 100%;
    
    margin-top: 0;
    width: 100%;
    z-index: 10;
    color: #FFFFFF;

    -webkit-transition: all 0.5s 0 ease-in-out;
    -moz-transition: all 0.5s 0s ease-in-out;
    -o-transition: all 0.5s 0s ease-in-out;
    transition: all 0.5s 0s ease-in-out;
}

.mobile #jak_wygrac {
    margin-top: 0 !important;
}


#jak_wygrac_tresc {
    width: 100%;
    background: url(../images/bg.png);
    position: relative;
    height: 100%;
}

#jak_wygrac_bt {
    display: none;
}

#content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 65px 10px 10px 10px;
}


#content h1 {
    margin: 0 0 40px;
    padding: 0;
    font-size: 30px;
    font-weight: 100;
    text-transform: uppercase;
    line-height: 1em;
}

strong {
    font-weight: 700;
}

.krok {
    border: 3px solid #FFFFFF;
    font-size: 21px;
    font-weight: 700;
    width: 36px;
    height: 36px;
    text-align: center;
    vertical-align: middle;
    display: inline-block;
    border-radius: 20px;
    float: left;
}

.opis {
    font-size: 16px;
    text-transform: uppercase;
    vertical-align: middle;
    margin-left: 50px;
    font-weight: 700;
}

.space {
    height: 7px;
    clear: both;
}


#nagrody {
    margin-top: 40px;
    font-size: 20px;
    font-weight: 100;
    text-transform: uppercase;
}


#nagrody h2 {
    font-size: 25px;
    text-transform: uppercase;
    margin: 0 0 20px;
    padding: 0;
    font-weight: 700;
}

.vcenter {
    vertical-align: middle;
    display: inline-block;
}


#nagrody img {
    vertical-align: middle;
    width: 100%;
    max-width: 348px;
    display: block;
    margin: 20px auto;
}

.yellow {
    color: #ffde00;
}

#gdzie {
    font-size: 20px;
    font-weight: 100;
    text-transform: uppercase;
    margin-bottom: 20px;
}

#gdzie img {
    vertical-align: middle;
    width: 100%;
    max-width: 370px;
    margin: 0 auto;
    display: block;

}

#zobacz_regulamin {
    text-align: center;
    margin-bottom: 20px;
}

#zobacz_regulamin a {
    color: #FFFFFF;
    font-size: 16px;
    text-transform: uppercase;
}






#konkurs {
    position: relative;
    width: 100%;
    padding-bottom: 40px;
    perspective: 500px;
    z-index: 5;
}

#konkurs_head {
    background: url(../images/bg_top.jpg) center;
    height: 60px;
}


#konkurs_content {
    max-width: 510px;
    margin: 0 auto;
    padding: 30px;
    color: #626262;
    font-weight: 400;
    text-transform: uppercase;
    background: #FFFFFF;
    position: relative;
    z-index: 5;

}

#wybierz_miasto {
    font-size: 27px;
    margin-bottom: 5px;
}

select {
    width: 100%;
}

.ui-selectmenu-button {
    border-radius: 0;
    background: #FFF;
    font-size: 24px;
    padding: 5px 0 5px 8px;
    line-height: 1em;
    border: 1px solid #c0001e;
    font-family: Kia, sans-serif;
    color: #626262;
    margin-bottom: 20px;
    width: 100% !important;
}

.ui-selectmenu-button span.ui-selectmenu-text {
    line-height: 1em;
    padding: 0 1.5em 0 0;
}

.ui-selectmenu-button span.ui-icon-triangle-1-s {
    margin: 0;
    right: 0;
    top: 0;
    width: 30px;
    height: 100%;
    background: #c0001e url(../images/select_arrow.png) center no-repeat;

}

.ui-menu {
    border: 1px solid #c0001e;
    background:  #c0001e url(../images/bg_wzory.jpg) center;
    font-size: 24px;
    color: #FFFFFF;
    font-family: Kia, sans-serif;

}

.ui-menu li {
    padding: 1px 0 1px 8px;
    margin: 0;
    font-weight: 400;
}

.ui-menu .ui-state-focus {
    background: #960017;
    border: 0;
    margin: 0;
    color: #FFFFFF;

}

#konkurs_content:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.7);
    z-index: 5;
}    

#konkurs_content.miasto:after {
    display: none;
}

.front {
    position: relative;
    z-index: 20;
}

.podpowiedz_label {
    font-size: 24px;
}

.podpowiedz_text {
    border: 1px solid #caccd1;
    padding: 10px 7px;
    margin-bottom: 20px;
    min-height: 80px;
}

.podpowiedz_text .icon {
    float: left;
    margin-right: 10px;
}



#zwieksz {
    background:  #c0001e url(../images/button.jpg) center no-repeat;
    font-size: 24px;
    color: #FFFFFF;
    padding: 15px;
    text-align: center;
    margin-bottom: 20px;
    cursor: pointer;
}

#zwieksz.disabled {
    background:  #696969 url(../images/button_szary.jpg) center no-repeat;
    cursor: auto;
}


#wyslij_zdjecie {
    background: #ba0f20;
    color: #FFFFFF;
    font-size: 21px;
    padding: 2px 8px;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
}

#wyslij_zdjecie.disabled {
    background:  #696969;
    cursor: auto;
}

#udostepnij {
    text-align: right;
    display: inline-block;
    vertical-align: middle;
    color: #b0b0b0;
    font-size: 14px;
    float: right;
    margin-top: 5px;
}

#udostepnij #send, #udostepnij #share, #udostepnij #google {
    width: 23px;
    height: 24px;
    display: inline-block;
    vertical-align: middle;
    margin-left: 5px;
    cursor: pointer;
}

#udostepnij #send {
    background: url(../images/icon_send_off.png) no-repeat top;
}

#udostepnij #send:hover {
    background: url(../images/icon_send_on.png) no-repeat top;
}


#udostepnij #share {
    background: url(../images/icon_fb_off.png) no-repeat top;
}

#udostepnij #share:hover {
    background: url(../images/icon_fb_on.png) no-repeat top;
}

#udostepnij #google {
    background: url(../images/icon_g_off.png) no-repeat top;
}

#udostepnij #google:hover {
    background: url(../images/icon_g_on.png) no-repeat top;
}




#konkurs_form, #jazda_form {
    position: relative;
    max-width: 510px;
    padding: 30px 20px;
    background: #FFF;
    z-index: 4;
    margin: 0 auto;
    display: none;
}


#konkurs_form.loading:after, #jazda_form.loading:after, .zdjecie.loading:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255, 0.8) url(../images/preload.gif) no-repeat center;
}


#konkurs_form.show, #jazda_form.show {
    display: block;
}


#konkurs_form label, #jazda_form label {
    color: #c0001e;
    font-size: 18px;
    font-weight: 600;
    display: block;
    text-transform: uppercase;
    height: 25px;
}

#konkurs_form input, #jazda_form input {
    background: #c0001e url(../images/bg_wzory.jpg) no-repeat center;
    color: #FFFFFF;
    width: 100%;
    font-size: 20px;
    padding: 4px;
    border: 0;
    margin-bottom: 15px;
}

#jazda_form {
    font-size: 0;
}

#jazda_form h1{
    font-size: 33px;
    color: #323232;
    font-weight: 100;
    text-transform: uppercase;
    text-align: right;
    letter-spacing: -0.05em;
    margin: 0;
    line-height: 1.2em;
}

#jazda_form h1 span {
    font-weight: 700;
    color: #ba0f20;
}

#jazda_form h2 {
    letter-spacing: -0.05em;
    font-size: 17px;
    color: #323232;
    font-weight: 400;
    text-transform: uppercase;
    text-align: right;
    margin: 0 0 5px 0;
   
}

#jazda_form small {
    display: block;
    text-transform: uppercase;
    text-align: right;
    font-size: 12px;
    margin: 0 0 15px 0;
}


.thx {
    position: relative;
    margin-top: 25px;
    width: 100%;
    height: 90%;
    padding-top: 1px;
    background: url(../images/bg_white.png);
}

.thx .tresc {
    width: 270px;
    margin: 100px auto 0 auto;
    background: #FFFFFF;
    color: #000000;
    font-size: 21px;
    font-weight: 100;
    text-transform: uppercase;
    text-align: center;
    padding: 20px 0;
    font-weight: 100;
    margin-bottom: 25px;
}

.thx_h1 {
    color: #c0001e;
    font-size: 33px;
    font-weight: 700;
    margin-bottom: 30px;
}

.thx_h2 {
    color: #c0001e;
    font-weight: 400;
    margin-bottom: 27px;
}

.ok_button {
    width: 270px;
    padding: 4px 0;
    color: #FFFFFF;
    background: #c0001e;
    font-weight: 400;
    margin: 0 auto;
    text-align: center;
    font-weight: 700;
    font-size: 25px;
    cursor: pointer;
}



#jazda_form .input_field {
    margin-bottom: 7px;

}

#jazda_form label {
    width: 100%;
    display: block;
    vertical-align: middle;
    text-align: left;
    padding-right: 10px;
    height: auto;
    text-transform: none;
    font-weight: 400;
}

#jazda_form input, #jazda_form select {
    width: 100%;
    display: block;
    vertical-align: middle;
    margin-bottom: 0;
}

#jazda_form .ui-selectmenu-button {
    margin-bottom: 0;
    vertical-align: middle;
    background: #c0001e url(../images/bg_wzory.jpg) no-repeat center;
    color: #FFFFFF;
    padding: 4px;
}

#jazda_form .ui-icon {
    background-color: transparent;
}

#wojewodztwo-menu, #miasto-menu, #dealer-menu, #godzina-menu {
    font-size: 18px;
    max-height: 300px;

}

#jazda_form .ui-selectmenu-text {
    font-size: 20px;
    line-height: 1.2em;
}

input[type="file"] {
    display: none;
}

#konkurs_form .zdjecie {
    height: 160px;
    margin-bottom: 15px;
    position: relative;
    text-align: center;
}

#konkurs_form label .dodaj_zdjecie {
    margin: 0 auto;
    width: 250px;
    height: 160px;
    background: #c6c6c6 url(../images/icon_photo.png) no-repeat center;
    padding-top: 125px;
    color: #FFFFFF;
    font-size: 13px;
    text-align: center;
    cursor: pointer;
    margin-bottom: 15px;
    border: 2px solid #c6c6c6;
}

#konkurs_form .error label .dodaj_zdjecie  {
    border: 2px solid #b90f20;
    color: #b90f20;
}


#photo_img {
    display: none;
    width: 250px;
    height: 160px;
    margin: 0 auto;
    cursor: pointer;
}

#konkurs_form .zgoda label, #jazda_form .zgoda label {
    font-size: 11px;
    color: #626262;
    font-family: neosanspro, sans-serif;
    text-transform: none;
    line-height: 1em;
    display: block;
    margin: 0 auto;
    margin-bottom: 14px;
    font-weight: 400;
    max-width: 600px;
    text-align: left;
    padding: 0 10px 0 25px;
    height: auto;
    position: relative;
    width: auto;
}

#jazda_form .zgoda label {
    padding-right: 0;
}


#formularz input[type="checkbox"], #formularz_jazda input[type="checkbox"] {
    display:none;
}

#formularz input[type="checkbox"] ~ label {

    /*
    display:block;
    cursor: pointer;
    margin: 0 0 15px 40px;
    font-size: 12px;
    line-height: 12px;
    text-align: left;
    */
}

#formularz input[type="checkbox"] ~ label:before, #formularz_jazda input[type="checkbox"] ~ label:before {
    content: '';
    width: 15px;
    height: 15px;
    border: 1px solid #998f74;
    background-color: #FFFFFF;
    display: inline-block;
    cursor: pointer;
    vertical-align: middle;
    position: absolute;
    top: 0;
    left: 0;

}

#formularz input[type="checkbox"]:checked ~ label:before, #formularz_jazda input[type="checkbox"]:checked ~ label:before {
    content: '';
    background: #FFFFFF url(../images/checked.png) no-repeat center;
}

#formularz .error input[type="checkbox"] ~ label::before, #formularz_jazda .error input[type="checkbox"] ~ label::before
/*, .error .ui-widget, .error #opis, #dane .error input */ {
    border: 2px solid #b90f20;
}

#konkurs_form .submit, #jazda_form .submit {
    text-align: center;
}

#konkurs_form #submit, #jazda_form #submit_jazda {
    background: #ba0f20;
    text-transform: uppercase;
    display: inline-block;
    width: auto;
    padding: 8px 15px;
    font-weight: 600;
    font-size: 21px;
    font-family: Kia, sans-serif;
    cursor: pointer;
}

.close {
    position: absolute;
    right: 0;
    top: 0;
    width: 32px;
    height: 32px;
    background: url(../images/close-icon.png);
    cursor: pointer;
    z-index: 10;
}






/* mobile */
@media screen and (min-width: 320px) {
    /*
    body:before {
        display: block;
        text-align: center;
        padding: 5px;
        background: #4f4f4f;
        color: #FFFFFF;
        content:"320px";
    }
    */
}

/* iPhone, etc landscape ---- */
@media only screen and (min-width: 480px) {
    /*
    body:before {
        display: block;
        text-align: center;
        padding: 5px;
        background: #4f4f4f;
        color: #FFFFFF;
        content:"480px";
    }
    */

}


/* iPad, tablets etc portrait ---- */
@media screen and (min-width: 768px) {
    /*
    body:before {
        display: block;
        text-align: center;
        padding: 5px;
        background: #4f4f4f;
        color: #FFFFFF;
        content:"768px";
    }
    */

    main {
        position: absolute;
        display: block;
        left: 0;
        width: 100%;
        bottom: 0;
        top: 80px;
    }

    header {
        background: #c0001e url(../images/bg_top.jpg) no-repeat center top;
        height: 80px;
        position: fixed;
        overflow: visible;
        padding: 25px 0 0 10px;
    }


    header #logo {
        position: absolute;
        top: 10px;
        right: 10px;
    }


    #content {
        padding: 45px 10px 10px 10px;
    }


    #content h1 {
        font-size: 48px;
    }


    #nagrody {
        margin-top: 0;
        font-size: 20px;
        text-align: right;
    }


    #nagrody h2 {
        font-size: 40px;
    }

    #nagrody .vcenter {
        margin-bottom: 60px;
    }

    #nagrody img {
        width: 35%;
        display: inline-block;
    }
    
    #gdzie img {
        display: inline-block;
        width: 40%;
    }

    #jazda_form label {
        width: 230px;
        display: inline-block;
        text-align: right;
    }

    #jazda_form input, #jazda_form select {
        width: 240px !important;
        display: inline-block;
    }

    #jazda_form .ui-selectmenu-button {
        display: inline-block;
        width: 240px !important;
    }


}


/* Laptops, Desktops, etc ---- */
@media screen and (min-width: 1024px) {
    /*
    body:before {
        display: block;
        text-align: center;
        padding: 5px;
        background: #4f4f4f;
        color: #FFFFFF;
        content:"1024px";
    }
    */




}


/* Desktop */
@media screen and (min-width: 1280px) {
    /*
    body:before {
        display: block;
        text-align: center;
        padding: 5px;
        background: #4f4f4f;
        color: #FFFFFF;
        content:"1200px";
    }
    */

        main {
        position: absolute !important;
        }
        
    header {
        font-size: 45px;
        padding: 15px 0 0 40px;
    }


    header #logo {
        right: 40px;
    }


    #jak_wygrac {

    }

    #jak_wygrac.show {
        margin-top: 0 !important;

    }

    #nagrody {
        font-size: 25px;
    }


    #nagrody img {
        margin: 0;
        width: 100%;
    }

#gdzie {
    margin-top: -100px;
}

    #gdzie {
        font-size: 25px;
        margin-bottom: 0;
    }
    
    #gdzie img {
        width: 100%;
    }


    
    #jak_wygrac_bt {
        display: inline-block;
        padding: 5px 110px;
        background: url(../images/bg.png);
        height: 45px;
        font-size: 28px;
        font-weight: 700;
        margin-left: 40px;
        cursor: pointer;
    }


    
    
    #googlemaps {
        position: fixed !important;
        height: auto;
        top: 80px;

    }

    #konkurs {
        position: absolute;
        width: 510px;
        right: 40px;
        top: 60px;
    }


    #konkurs_content {
        height: 825px;
    }

    #konkurs_form, #jazda_form {
        position: absolute;
        display: block;
        top: 60px;
        left: -400px;
        width: 400px;
        height: 825px;
        padding: 30px 20px;
        background: #FFF;
        z-index: 4;
        transform: rotateY(-63deg);
        transform-origin: 100% 100%;

        -webkit-transition: all 0.5s 0 ease-in-out;
        -moz-transition: all 0.5s 0s ease-in-out;
        -o-transition: all 0.5s 0s ease-in-out;
        transition: all 0.5s 0s ease-in-out;

    }
    #jazda_form {
        left: -510px;
        width: 510px;    
    }


    #konkurs_form.show, #jazda_form.show {
        transform: rotateY(0deg);
    }

    #konkurs_form .line {
        position: absolute;
        width: 2px;
        right: 20px;
        top: 55px;
        bottom: 50px;
        background: #c0001e;
    }

    .line2 {
        position: absolute;
        width: 30px;
        left: 0px;
        bottom: 50px;
        background: #c0001e;
        height: 2px;
    }


    #konkurs_form .line2 {
        width: 20px;
        left: auto;
        right: 0;
    }


    .close {

        left: 0;
        right: auto;
    }



}


@media screen and (min-width: 1680px) {
    /*
    body:before {
        display: block;
        text-align: center;
        padding: 5px;
        background: #4f4f4f;
        color: #FFFFFF;
        content:"1680px";
    }
    */
}



img {
    height:auto;
    border:0;
}

.fleft {
    float: left;
}

.fright {
    float: right;
}

.tleft {
    text-align: left;
}

.tright {
    text-align: right;
}

.tcenter {
    text-align: center;
}

.clear { clear:both; height:0px; overflow:hidden; }
.br { clear:both; height:1em; overflow:hidden; }


a { outline: none; }
:focus { -moz-outline-style: none; }
:-moz-any-link:focus { outline: none; }
#sensis, #preload { border:0px solid #f00; width:0px; height:0px; display:none;}

