/*
 * Theme name: Kolonie na mazurach
 */

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
    line-height: 1;
}

* { zoom: 1; }

body {
    overflow-x: hidden;
    background: url(images/p1.jpg) no-repeat fixed;
    background-size: cover;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, img { display: block; }

nav ul { list-style: none; }

blockquote, q { quotes: none; }

blockquote:before, blockquote:after, q:before, q:after {
    content: '';
    content: none;
}

a {
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

ins {
    background-color: #ff0000;
    color: #000;
    text-decoration: none;
}

mark {
    background-color: transparent;
    color: #e7501e;
    font-style: normal;
    font-weight: normal;
    font-size: 12px;
    margin: 30px 0;
    display: block;
}

del { text-decoration: line-through; }

abbr[title], dfn[title] {
    border-bottom: 1px dotted;
    cursor: help;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #000;
    margin: 1em 0;
    padding: 0;
}

input, select { vertical-align: middle; }

.clear { clear: both; }

#wrap, #wrap-gallery, #wrap-content, #wrap-about, #wrap-offer, #warp-t {
    width: 4096px;
    border-top: 2px solid #41a62a;
    position: relative;
    background-color: #fff;
}

#wrap-gallery, #wrap-about, #wrap-t {
    background-color: transparent;
    height: 425px;
    border-top: 0;
}

#wrap-gallery, #wrap-t {
    height: auto;
    background: url(images/gallery-bg.png) left bottom no-repeat;
    padding-bottom: 75px;
    clear: both;
}

#wrap-t {
    background: url(images/p3.jpg) fixed no-repeat;
    background-size: cover;
    position: relative;
    padding-bottom: 40px;
}

#wrap-about {
    background: url(images/p2.jpg) fixed no-repeat;
    background-size: cover;
    position: relative;
}

#wrap-about .wrap {
    width: 100%;
    height: 100%;
    background: url(images/about-bg.png) left top no-repeat;
}

#wrap-about .body {
    width: 441px;
    height: 269px;
    background: url(images/cloud.png) center no-repeat;
    padding: 25px 50px;
    position: absolute;
    top: 75px;
}

#wrap-about p {
    color: #525252;
    line-height: 1.5em;
    font-size: 15px;
    margin-bottom: 15px;
}

#wrap-about .body h2 { padding: 5px 0 15px 0; }

#wrap-content, #wrap-offer { border-top: 0; }

#menu {
    width: 240px;
    height: 490px;
    position: absolute;
    background: #fff;
    left: 0;
    top: 0;
    z-index: 2;
}

#menu img { margin: 35px auto 50px auto; }

#menu li a {
    color: #7b8b7f;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 18px;
    display: block;
    padding: 5px 0 5px 50px;
    font-weight: 300;
}

#menu li a:hover {
    background-color: #e7501e;
    color: #fff;
}

#splash {
    height: 490px;
    float: left;
    position: absolute;
    top: 0;
    left: 240px;
    z-index: 1;
}

#splash li {
    width: 750px;
    height: 490px;
    position: relative;
}

.jcarousel-container {
    width: 2250px;
    height: 490px;
    overflow: hidden;
}

.jcarousel-clip {
    width: 2250px;
    height: 490px;
}

.jcarousel-item {
    width: 750px;
    height: 490px;
}

.jcarousel-prev, .jcarousel-next {
    width: 46px;
    height: 48px;
    cursor: pointer;
    position: absolute;
    left: 10px;
    bottom: 0;
    background: url(images/arrows.png) 0 0 no-repeat;
}

.jcarousel-next {
    background: url(images/arrows.png) -46px 0 no-repeat;
    left: 58px;
}

.grid {
    background: url(images/grid.png) left top repeat;
    position: absolute;
    top: 0;
    left: 750px;
    width: 1500px;
    height: 490px;
    z-index: 2;
}

#splash p {
    position: absolute;
    bottom: 90px;
    right: 0;
    font-size: 33px;
    font-style: italic;
    background: url(images/bg.png) left top repeat;
    padding: 10px 30px;
    color: #fff;
    max-width: 500px;
    overflow: hidden;
    line-height: 1.25em;
}

.first-word {
    font-style: italic;
    color: #e7501e;
}

footer {
    background-color: #567250;
    width: 100%;
    height: 445px;
    position: relative;
}

form {
    position: absolute;
    left: 240px;
    top: 25px;
    width: 320px;
}

form input, form textarea {
    -webkit-border-radius: 12px;
    border-radius: 12px;
    border: 3px solid #7a9175;
    width: 320px;
    background-color: #567250;
    padding: 10px 15px;
    color: #7a9175;
    margin-bottom: 15px;
    font-size: 14px;
    font-family: 'Open Sans';
}

form textarea {
    min-width: 320px;
    max-width: 320px;
    min-height: 130px;
    max-height: 130px;
}

form input[type=submit] {
    background-color: #fff;
    padding: 0;
    margin: 0;
    border: 6px solid #7a9175;
    width: 225px;
    height: 55px;
    cursor: pointer;
}

#label {
    margin-bottom: 20px;
    color: #fff;
    font-style: italic;
    font-size: 30px;
}

#info {
    position: absolute;
    left: 650px;
    top: 72px;
    width: 320px;
    height: 355px;
}

#info p {
    line-height: 1.5em;
    color: #fff;
    font-size: 14px;
}

#info > a {
    position: absolute;
    right: 0;
    bottom: 0;
    color: #9db398;
    font-size: 12px;
    padding: 5px 30px 5px 0;
    text-decoration: none;
    display: block;
    background: url(images/nevpix.png) right -2px no-repeat;
}

#content {
    margin: 490px 0 0 240px;
    width: 750px;
    padding-bottom: 20px;
}

#wrap-content .body, #wrap-offer .body { width: 750px; }

.body { margin-left: 240px; }

h2 {
    color: #4dac37;
    font-size: 30px;
    font-style: italic;
    font-weight: normal;
    padding: 50px 0 15px 0;
}

#wrap-offer h2 { padding-top: 10px; }

#wrap-content h2 { padding-top: 25px; }

#wrap-gallery h2, #wrap-t h2 { color: #fff; }

h3 {
    color: #4b4b4b;
    font-weight: normal;
    padding-bottom: 4px;
    font-size: 18px;
    border-bottom: 1px solid #ebebeb;
    margin-bottom: 16px;
}

h3 span { border-bottom: 2px solid #41a62a; }

#content img {
    padding: 0 15px 15px 0;
    float: left;
    clear: both;
    background-color: #fff;
}

.content p, #wrap-content p, #wrap-offer p {
    color: #525252;
    font-size: 15px;
    line-height: 1.5em;
    margin-bottom: 16px;
}
#wrap-offer p:last-of-type {margin-bottom: 0; }

#wrap-offer { padding-bottom: 50px; }

#wrap .content p, #wrap-content p { font-size: 12px; }

#wrap-content p, #wrap-offer p { clear: both; }

#wrap-content li, #wrap-offer li {
    float: left;
    color: #525252;
    font-size: 12px;
    line-height: 1.5em;
    margin: 0 20px 25px 20px;
}

#wrap-offer li {
    clear: left;
    line-height: 1;
}

#wrap-offer p, #wrap-offer li { font-size: 12px; }

#wrap-content .collapse { display: none; }

.more {
    background: url(images/more.png) center bottom no-repeat;
    display: block;
    height: 30px;
    font-size: 12px;
    text-decoration: none;
    margin: 50px auto 0 auto;
    width: 100px;
    font-weight: 300;
    color: #a8a8a8;
    text-align: center;
    clear: both;
}

#nav {
    position: fixed;
    left: 1050px;
    top: 60%;
    width: 64px;
    height: 100px;
    z-index: 3;
}

#nav p {
    width: 64px;
    height: 39px;
    background: url(images/nav.png) 0 -18px no-repeat;
    position: absolute;
    top: 50%;
    margin-top: -32px;
    color: #fff;
    font-weight: 300;
    text-transform: uppercase;
    text-align: center;
    padding-top: 25px;
}

#nav a {
    background: url(images/nav.png) -7px -1px no-repeat;
    width: 21px;
    height: 14px;
    display: block;
    position: absolute;
    left: 50%;
    margin-left: -12px;
}

#nav #up:hover { background: url(images/nav.png) -34px -1px no-repeat; }

#nav #down {
    background: url(images/nav.png) -7px -84px no-repeat;
    bottom: 0;
    margin-left: -11px;
}

#nav #down:hover { background: url(images/nav.png) -34px -84px no-repeat; }

#wrap-gallery .body, #wrap-t .body { width: 750px; }

.gallery, .t {
    float: left;
    clear: left;
    margin-top: 25px;
}

.gallery li, .t li {
    list-style-type: none;
    float: left;
    width: 172px;
    height: 172px;
    margin-right: 20px;
    -webkit-border-radius: 86px;
    border-radius: 86px;
    background: url(images/gallery-li.png) left top repeat;
    position: relative;
}

.gallery li:last-of-type, .t li:last-of-type { margin-right: 0; }

.gallery li a, .t li a {
    display: block;
    margin: 6px 0 0 6px;
}

.gallery li a img, .t li a img {
    -webkit-border-radius: 80px;
    border-radius: 80px;
}

.gallery:nth-of-type(n+2), .t:nth-of-type(n+2) { display: none;; }

.gallery li > span, .t li > span {
    width: 160px;
    height: 160px;
    -webkit-border-radius: 80px;
    border-radius: 80px;
    background: url(images/gallery-transparent.png) left top repeat;
    position: absolute;
    left: 6px;
    top: 6px;
    cursor: pointer;
    -moz-transition: opacity 1s ease;
    -webkit-transition: opacity 1s ease;
    -o-transition: opacity 1s ease;
    transition: opacity 1s ease;
}

.gallery li > span:hover, .t li > span:hover {
    opacity: 0;
}

.gallery li span span, .t li span span {
    position: absolute;
    left: 0;
    top: 0;
    width: 160px;
    height: 160px;
    background: url(images/gallery-plus.png) center no-repeat;
}

#wrap-gallery .body > a, #wrap-t .body > a {
    background: url(images/gallery-button.png) center no-repeat;
    display: block;
    float: left;
    clear: left;
    margin-top: 50px;
    padding: 22px 20px 0 0;
    width: 187px;
    height: 35px;
    text-decoration: none;
    text-align: center;
    font-size: 13px;
    color: #e7501e;
}

#content ul {
    float: left;
    margin: 0 0 25px 25px;
}

#content ul li {
    width: 40%;
    float: left;
    font-size: 12px;
    color: #525252;
    line-height: 1.5em;
    padding-right: 10%;
}

#content ul li:nth-of-type(even) { float: right; }

#send, #error {
    display: block;
    color: #fff;
    text-align: right;
    font-size: 12px;
    margin: -15px 0 10px 0;
}

.error404 { background: none; }

.error404 img { margin: 150px auto 0 auto; }