/* Theme Name: Sala Martini */

body {
    font-family: "Open Sans", Arial, Tahoma, Verdana, sans-serif;
    padding-bottom: 160px;
    font-size: 16px;
}

p {
    font-size: 16px;
}

a, a:link, a:visited {
    color: #1c1f2b;
}

#page {
    background: #fff;
    position: relative;
    z-index: 9;
}

.screen-reader-text {
    display: none;
}

.site-title {
    margin: 0;
    padding: 0;
}

.site-title a {
    position: absolute;
    top: 0;
    left: 15px;
    width: 245px;
    height: 115px;
    background: no-repeat url(img/logo.png) 50% 50%;
    background-color: #1a202a;
    background-size: auto 68%;
    overflow: hidden;
    text-indent: -2000px;
    box-shadow: 0 5px 5px rgba(0,0,0,.1);
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}

header.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    height: 80px;
    transition: background .3s ease-out, box-shadow .3s ease-out;
}

header.site-header ul {
    float: right;
    display: none;
    margin: 0;
    padding: 0;
    list-style: none;
    font: 1.3em/2 "Playfair Display";
}

header.site-header ul li {
    margin: 0;
    padding: 0;
    list-style: none;
    float: left;
}

header.site-header ul li a,
header.site-header ul li a:link,
header.site-header ul li a:visited {
    float: left;
    padding: 0 28px;
    height: 80px;
    line-height: 80px;
    color: #fff;
    text-shadow: 1px 1px 5px rgba(0,0,0,.2);
    transition: color .3s ease-out, background .3s ease-out;
}

header.site-header ul li a:hover,
header.site-header:hover ul li a:hover {
    text-decoration: none;
    background: rgba(0,0,0,.05);
    color: #db088c !important;
}

header.site-header:hover,
header.sticky {
    background: #fff;
    box-shadow: 0 5px 5px rgba(0,0,0,.1);
}

header.site-header:hover ul li a,
header.site-header:hover ul li a:link,
header.site-header:hover ul li a:visited,
header.sticky ul li a,
header.sticky ul li a:link,
header.sticky ul li a:visited {
    color: #1c1f2b;
    text-shadow: none;
}

.slider {
    height: 520px;
    background: #100;
}

/*.flexslider .slides li {
    position: relative;
    height: 440px !important;
}*/

.slider .item {
    height: 520px;
    background-size: cover;
    background-position: 50% 75%;
    position: relative;
}

body.home .slider .item,
body.home .slider {
    height: 800px;
}

.slider .item:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: .5;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#7db9e8+0,1e5799+100&0+0,0.5+100 */
    background: -moz-linear-gradient(top,  rgba(125,185,232,0) 0%, rgba(30,87,153,0.5) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  rgba(125,185,232,0) 0%,rgba(30,87,153,0.5) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  rgba(125,185,232,0) 0%,rgba(30,87,153,0.5) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#007db9e8', endColorstr='#801e5799',GradientType=0 ); /* IE6-9 */
}

/*
.offer {
    position: relative;
    margin-top: -140px;
    z-index: 10;
    letter-spacing: .04em;
    /*border-top: 1px solid rgba(255,255,255,.7);* /
}

.offer a {
    width: 16.6666%;
    float: left;
    height: 140px;
    /*background: rgba(255,255,255,.6);* /
    background: rgba(26,32,42,.3);
    color: #fff;
    position: relative;
    transition: background .3s ease-out;
}

.offer a:before {
    content: "";
    position: absolute;
    top: 94px;
    left: 50%;
    transform: translateX(-50%);
    height: 2px;
    background: #fff;
    width: 50px;
}

.offer a:after {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    bottom: 10px;
    right: 10px;
    border: 1px solid rgba(255,255,255,0);
    transition: border .3s ease-out, top .3s ease-out, left .3s ease-out, right .3s ease-out, bottom .3s ease-out;
}

.offer a:hover:after {
    border-color: #fff;
    border-width: 1px;
    top: 20px;
    left: 20px;
    bottom: 20px;
    right: 20px;
}

.offer a b {
    position: absolute;
    top: 43%;
    transform: translateY(-50%);
    left: 40px;
    right: 40px;
    text-align: center;
    font-family: "Playfair Display";
    font-size: 1.35em;
}

.offer a:hover {
    background: rgba(255,255,255,.4);
}
*/

.offer.container-fluid {
    position: relative;
    margin-top: -140px;
    padding-left: 0;
    padding-right: 0;
    z-index: 10;
    letter-spacing: .04em;
    /*border-top: 1px solid rgba(255,255,255,.7);*/
}

.offer.container-fluid .row {
    margin: 0;
}

.offer .row > div {
    padding: 0;
}

.offer a {
    display: block;
    height: 140px;
    /*background: rgba(255,255,255,.6);*/
    background: rgba(26,32,42,.3);
    color: #fff;
    position: relative;
    transition: background .3s ease-out;
}

.offer a:before {
    content: "";
    position: absolute;
    top: 94px;
    left: 50%;
    transform: translateX(-50%);
    height: 2px;
    background: #fff;
    width: 50px;
}

.offer a:after {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    bottom: 10px;
    right: 10px;
    border: 1px solid rgba(255,255,255,0);
    transition: border .3s ease-out, top .3s ease-out, left .3s ease-out, right .3s ease-out, bottom .3s ease-out;
}

.offer a:hover:after {
    border-color: #fff;
    border-width: 1px;
    top: 20px;
    left: 20px;
    bottom: 20px;
    right: 20px;
}

.offer a b {
    position: absolute;
    top: 43%;
    transform: translateY(-50%);
    left: 40px;
    right: 40px;
    text-align: center;
    font-family: "Playfair Display";
    font-size: 1.1em;
}

.offer a:hover {
    background: rgba(255,255,255,.4);
}

footer {
    background: #1c1f2b;
    color: #fff;
    position: fixed;
    z-index: 8;
    bottom: 0;
    left: 0;
    right: 0;
}

footer a,
footer a:link,
footer a:visited {
    color: #fff;
}

footer ul {
    margin: 0;
    padding: 0;
}

footer ul li {
    margin: 0;
    padding: 0;
    float: left;
    width: 20%;
    list-style: none;
    font-family: "Playfair Display";
    font-size: 1.3em;
}

footer ul li a {
    display: block;
    text-align: center;
    padding: 20px 0;
    transition: background .3s ease-out;
}

footer ul li a:hover {
    background: rgba(0,0,0,.5);
    text-decoration: none;
}

footer p {
    padding: 20px;
    text-align: center;
    border-top: 1px solid rgba(0,0,0,.4);
    margin-bottom: 0;
}

.entry-title {
    font-family: "Playfair Display";
    position: relative;
    text-align: center;
    margin: 30px 0 40px;
    position: relative;
    letter-spacing: .02em;
    color: #db088c;
}

.entry-title:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 20%;
    border-top: 1px solid #dedede;
}

.entry-title:after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 20%;
    border-top: 1px solid #dedede;
}

.gallery {

}

.gallery .gallery-item {
    /*float: left;
    width: 25%;*/
    display: block;
    height: 300px;
    background-position: 50% 50%;
    background-size: cover;
    position: relative;
}

.gallery .gallery-icon {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    background-position: 50% 50%;
    background-size: cover;
}

.gallery .gallery-item .zoom {
    opacity: 0;
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%) scale(0);
    width: 80px;
    height: 80px;
    border-radius: 40px;
    border: 3px solid #fff;
    color: #fff;
    font-size: 30px;
    text-align: center;
    line-height: 75px;
    transition: transform .3s ease-out, opacity .3s ease-out;
}

.gallery .gallery-item:after {
    opacity: 0;
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    bottom: 15px;
    right: 15px;
    border: 1px solid #fff;
    background: rgba(255,255,255,0);
    transition: transform .3s ease-out, top .3s ease-out, left .3s ease-out, bottom .3s ease-out, right .3s ease-out, background .3s ease-out;
}

.gallery .gallery-item:hover .zoom {
    opacity: 1;
    transform: translateX(-50%) translateY(-50%) scale(1);
}

.gallery .gallery-item:hover:after {
    opacity: 1;
    top: 30px;
    left: 30px;
    bottom: 30px;
    right: 30px;
    background: rgba(255,255,255,.2);
}

.container-fluid {
    padding-left: 30px;
    padding-right: 30px;
}

table.calendar {
    width: 80%;
    margin: 25px auto;
}

table.calendar caption {
    text-align: center;
    font-size: 1.4em;
    font-weight: bold;
    color: #db088c;
    font-family: 'Playfair Display', serif;
    margin: 10px 0;
}

table.calendar caption span {
    position: relative;
}

table.calendar caption span:after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 0;
    right: 0;
    border-top: 1px solid #eee;
}

table.calendar td,
table.calendar th {
    text-align: center;
    padding: 8px 10px;
    position: relative;
    width: 14.2857%;
}

table.calendar th {
    font-weight: bold;
    font-family: 'Playfair Display', serif;
    padding: 10px;
    font-size: 1.1em;
}

table.calendar td {
    text-align: center;
    background: #fff;
    transition: background .1s ease-out;
    cursor: pointer;
}

table.calendar td.today {
    box-shadow: inset 0 0 0 2px #db088c;
}

table.calendar td.today:before {
    content: "Dzisiaj";
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    padding: 2px 0;
    font-size: .6em;
    text-transform: uppercase;
    font-weight: bold;
    background: #db088c;
    color: #fff;
    letter-spacing: .1em;
}

/*table.calendar td.booked:before {
    content: "Rezerw...";
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    padding: 2px 0;
    font-size: .6em;
    text-transform: uppercase;
    font-weight: bold;
    background: #aaa;
    color: #000;
    letter-spacing: .1em;
}*/

table.calendar td.day:hover {
    background: #db088c;
    color: #fff;
}

table.calendar td.booked:hover {
    background: #000;
    color: #fff;
}

table.calendar td.selected {
    background: #db088c;
    color: #fff;
}

table.calendar .weekend {
    font-weight: 900;
    color: #db088c;
}

table.calendar td.day.booked,
table.calendar td.weekend.booked,
table.calendar td.selected.booked {
    /*box-shadow: inset 0 0 0 2px #aaa;*/
    color: #fff !important;
    background: #000 !important;
}

.reservation-form {
    position: fixed;
    top: 100px;
    right: -320px;
    width: 320px;
    background: #db088c;
    min-height: 360px;
    z-index: 40;
    box-shadow: 0 0 40px rgba(0,0,0,.5);
    transition: right .3s ease-out;
    border-top-left-radius: 7px;
    border-bottom-left-radius: 7px;
}

.reservation-form:hover {
    right: 0;
}

.reservation-form h4 {
    position: absolute;
    top: 130px;
    left: -160px;
    height: 40px;
    background: #db088c;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    color: #fff;
    padding: 10px 20px;
    text-transform: uppercase;
    font-weight: bold;
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
}

.reservation-form form {
    margin: 15px;
    color: #fff;
}

.reservation-form label {
    display: block;
    margin: 10px 0;
}

.reservation-form label b {
    display: block;
    margin-bottom: 10px;
}

.reservation-form input,
.reservation-form textarea {
    width: 100%;
    border: 0;
    padding: 10px;
    color: #1c1f2b;
}

.reservation-form button {
    width: 100%;
    border: 0;
    padding: 10px;
    font-weight: bold;
    text-transform: uppercase;
    color: #fff;
    background: #1c1f2b;
}

@media screen and (max-width: 767px) {
    .reservation-form {
        position: static;
        background: transparent;
        color: #1c1f2b;
        width: auto;
        box-shadow: none;
    }
    .reservation-form h4 {
        position: static;
        transform: none;
        border-radius: 0;
        text-align: center;
    }
    .reservation-form form {
        margin: 15px;
        color: #1c1f2b;
    }
    .reservation-form input,
    .reservation-form textarea {
        border: 1px solid #bbb;
    }

    .offer {
        display: none;
    }
}

.contact-form {
    margin-bottom: 20px;
}

.contact-form:hover {
    right: 0;
}

.contact-form form {
}

.contact-form label {
    display: block;
    margin: 10px 0;
}

.contact-form label b {
    display: block;
    margin-bottom: 10px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid #aaa;
    padding: 10px;
    color: #1c1f2b;
    transition: border .3s ease-out;
}

.contact-form textarea {
    min-height: 100px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #db088c;
    outline: none;
}

.contact-form button {
    width: 100%;
    border: 0;
    padding: 10px;
    font-weight: bold;
    text-transform: uppercase;
    color: #fff;
    background: #1c1f2b;
}

#form-calendar {
    font-size: 1.7em;
    font-family: "Playfair Display";
}
#form-calendar select {
    margin-left: 1em;
}

.news {
    margin-bottom: 60px;
}

.news-title a,
.news-title a:link,
.news-title a:visited {
    font-family: "Playfair Display";
    color: #db088c;
    font-size: 1.2em;
}

a.news-more,
a.news-more:link,
a.news-more:visited {
    display: inline-block;
    color: #db088c;
    font-weight: bold;
    transition: background .3s ease-out, color .3s ease-out;
}

a.news-more:hover {
    text-decoration: none;
}

.news-item p {
    margin: 20px 0;
    color: #444;
}

#map {
    margin: 20px 0 -30px;
    background: #eee;
    height: 400px;
    border-top: 2px solid #ddd;
}

#map p {
    padding: 40px;
    text-align: center;
}

body.page-id-6 .entry-content section {
    position: relative;
    min-height: 400px;
    margin: 150px 0;
}

body.page-id-6 .entry-content section.first {
    margin-top: 50px;
}

body.page-id-6 .entry-content section:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
    background: #eee;
    z-index: 5;
}

body.page-id-6 .entry-content section.even:before {
    right: 0;
}

body.page-id-6 .entry-content section .img {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
    background: #eee;
    z-index: 5;
    background-size: cover;
}

body.page-id-6 .entry-content section.even .img {
    right: 0;
}

body.page-id-6 .entry-content section h2 {
    position: absolute;
    font-family: "Playfair Display";
    font-size: 2.8em;
    z-index: 6;
    border: 2px solid #333;
    padding: 10px 30px;
    left: 50%;
    /*left: auto;
    right: 0;*/
    top: 5%;
    transform: translateX(-50%);
    background: #fff;
}

body.page-id-6 .entry-content section.even h2 {
}

body.page-id-6 .entry-content section p {
    position: absolute;
    z-index: 6;
    /*border: 2px solid #333;*/
    padding: 30px;
    margin: 0;
    left: 50%;
    bottom: 25%;
}

body.page-id-6 .entry-content section.even p {
    left: 0;
    width: 50%;
    text-align: right;
}

body.page-id-6 .entry-content section:nth-child(odd) h2 {}

.news-item img {
    max-width: 100%;
    height: auto;
}

#menu-toggle {
    position: fixed;
    top: 13px;
    right: 15px;
    width: 80px;
    padding: 15px;
    background: #fff;
    border-radius: 3px;
    box-shadow: 0 2px 12px -5px rgba(0,0,0,.3);
    border: 0;
    text-transform: uppercase;
    font: inherit;
    font-weight: bold;
    z-index: 910;
}

#menu-toggle:hover {
    background-color: #1a202a;
    color: #fff;
}

@media screen and (min-width: 768px) {
    .menu-toggle {
        display: none;
    }

    header.site-header ul {
        display: block;
    }
}

@media screen and (max-width: 1199px) {
    header.site-header ul li a,
    header.site-header ul li a:link,
    header.site-header ul li a:visited {
        padding: 0 14px;
    }

    .slider {
        height: 320px;
    }

    .slider .item {
        height: 320px;
        background-size: cover;
        background-position: 50% 75%;
        position: relative;
    }

    body.home .slider .item,
    body.home .slider {
        height: 500px;
    }

    .offer a {
        font-size: .8em;
        letter-spacing: -.04em;
    }
}

@media screen and (max-width: 991px) {
    header.site-header ul li a,
    header.site-header ul li a:link,
    header.site-header ul li a:visited {
        font-size: .8em;
        padding: 0 8px;
    }

    body.page-id-6 .entry-content section p {
        bottom: 10%;
    }
}

@media screen and (max-width: 767px) {
    body {
        padding-bottom: 450px;
    }

    footer ul li {
        float: none;
        display: block;
        width: 100%;
    }

    body.page-id-6 .entry-content section {
        margin: 80px 0;
    }

    body.page-id-6 .entry-content section:before {
        display: none;
    }

    body.page-id-6 .entry-content section .img {
        display: block;
        position: relative;
        height: 330px;
        width: 100%;
        background-size: cover;
        background-position: 50% 50%;
    }

    body.page-id-6 .entry-content section h2 {
        top: 290px;
        margin: 0;
        width: 90%;
        text-align: center;
    }

    body.page-id-6 .entry-content section p,
    body.page-id-6 .entry-content section.even p {
        position: relative;
        width: 100%;
        text-align: center;
        margin-top: 70px;
        left: 0;
    }

    #fullscreen-menu {
        position: fixed;
        z-index: 900;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #fff;
    }

    #fullscreen-menu #menu-menu-glowne {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translateX(-50%) translateY(-50%);
    }

    #fullscreen-menu #menu-menu-glowne {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    #fullscreen-menu #menu-menu-glowne li a {
        display: block;
        padding: 20px;
        font: 1.3em/1.6 "Playfair Display";
        text-align: center;
    }

    header.site-header {
        z-index: 910;
    }
}

@media screen and (max-width: 456px) {
    body.page-id-6 .entry-content section h2 {
        font-size: 2em;
    }
}

.news-item img,
.entry-content img {
    max-width: 100%;
    height: auto;
}