/*
 * Main style for belvedere template.
 *
 * Renamed main.css -> main-v2.css: that asset is served with a 1-year
 * Cache-Control and no cache-busting, so edits to it (static map image +
 * "get directions" button replacing the old interactive Google Maps JS
 * embed - see "Map style" below and includes/map.php) wouldn't reach
 * visitors with a cached copy - a brand-new, never-before-requested
 * filename is needed to guarantee a fresh load (see includes/head.php).
 */

/* General style */
body {
    width: 100%;
    height: 100%;
    position: relative;
    font-size: 1.5vw;
    font-family: 'Poppins', serif;
    color: #000000;
}

section {
    position: relative;
    overflow: hidden;
    width: 94%;
    padding: 0 3%;
}

.close {
    width: 70%;
    padding-left: 15%;
    padding-right: 15%; 
    padding-top: 4em;
    padding-bottom: 4em;
}

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

b {
    font-weight: bold;
}

i {
    font-style: italic; 
}

p {
    line-height: 1.5em;
}

.right {
    float: right;
    right: 0;
}

.left {
    float: left;
    left: 0;
}

.bg {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.grey {
    color: #BBB7B7;
}

.white {
    color: #FFFFFF;
}

.black {
    color: #000000;
}

.bgGrey {
    background-color: #E7E7E5;
}

.bgDarkGrey {
    background-color: #333333;
}

.bgBlack {
    background-color: #000000;
    color: #FFFFFF;
}

.bgWhite {
    background-color: #FFFFFF;
}

.bgBeige {
    background-color: #BA8C63;
}

.beige {
    color: #BA8C63;
}

.button, input[type="submit"] {
    padding: .4em 1.5em;
    text-align: center;
    display: inline-block;
    text-transform: uppercase;
    border-radius: 30px;
    border: 0;
    font-weight: 700;
    transition: all .5s linear;
    font-family: 'Poppins', sans-serif;
}

.imgBorder {
    border: 3px solid;
}

.button.transparent {
    border: 2px solid;
}

.title {
    font-size: 3em;
    margin-bottom: .2em;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

.subtitle {
    font-size: 2.5em;
    margin-bottom: 1em;
    font-weight: 700;
}

.surtitle {
    text-transform: uppercase;
    font-size: .9em;
    margin-bottom: 1em;
}

.textBig {
    font-size: 1.5em;
    line-height: 1.3em;
}

.smallText {
    font-size: .8em;
}

.center {
    text-align: center;
}

.photo {
    display: block;
    width: 33%;
    float: left;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.bannerPhoto {
    padding: 14em 0;
}

div.cover {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/* Header style */
header {
    position: fixed;
    z-index: 15;
    width: 100%;
    padding-top: .5em;
    background-color: rgba(255, 255, 255, 1);
    padding-bottom: .5em;
    font-family: 'Poppins', sans-serif;
}

header a {
    color: #000000;
    cursor: pointer;
}

header a.scroll {
    position: relative;
}

header > div.right nav a.scroll:after {
    content: "";
    position: absolute;
    z-index: -1;
    right: 0;
    width: 0;
    bottom: -5px;
    background: #BA8C63;
    height: 3px;
    transition-property: width;
    transition-duration: 0.3s;
    transition-timing-function: ease-out;
}

header div.right nav a.scroll:hover {
    color: #BA8C63;
}

header div.right nav a.scroll:hover:after,
header div.right nav a.scroll:focus:after,
header div.right nav a.scroll:active:after {
    left: 0;
    right: auto;
    width: 100%;
}

header > a#logo {
    width: 20%;
    display: block;
    margin-left: 3%;
    transition: all .5s linear;
}

header > a#logo img {
    width: 100%;
}

header div.right {
    margin-right: 2%;
    width: 72%;
    text-align: right;
    transition: all .5s linear;
    text-transform: uppercase;
    font-size: .8em;
}

header h3 {
    display: inline-block;
    margin-left: 2%;
}

header div.right nav {
    margin-right: 5%;
    margin-top: 1.3em;
}

header div.right nav a {
    margin-right: 2em;
}

header div.right nav a.bgBeige {
    padding: 12em 0.5em 1.17em 0.5em;
}

header div.right ul.menuLang {
    position: absolute;
    margin-left: 1em;
    top: 1.4em;
    right: 1em;
    transition: all .5s linear;
}

header div.right ul.menuLang li {
    text-align: center;
    margin-bottom: .2em;
    border-radius: 5px;
    background-color: #FFFFFF;
}

header div.right ul.menuLang li a {
    font-size: 1em;
    width: 2.5em;
    padding: .7em 1em;
    line-height: 2em;
}

header ul.menuLang li a.hiddenLang {
    display: none;
}

header.scroll {
    background-color: #FFFFFF!important;
    border-bottom: 1px solid #F4F3F3;
    overflow: initial;
}

/* Image header section */
div#imageHeader  {
    text-align: center;
    background-image: url('/images/layout/header.jpg');
}

div#imageHeader div {
    width: 100%;
    padding: 11em 0 8em 0;
    background-color: rgba(0, 0, 0, .3);
}

div#imageHeader div h1 {
    font-size: 2em;
    text-align: left;
    color: #FFFFFF;
    margin-left: 5%;
    line-height: 1.3em;
}

/* About section style */
section.close p.textBig {
    margin: 1em 0;
}

/* Map style */
section#mapSection {
    width: 100%;
    padding: 0;
    position: relative;
}

section#mapSection div#map {
    height: 25em;
    overflow: hidden;
}

section#mapSection div#map img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

section#mapSection > a.button {
    position: absolute;
    bottom: 2em;
    left: 0;
    right: 0;
    margin: auto;
    width: fit-content;
}


/*Section slider style*/
section#bigSlider {
    width: 100%;
    padding:0;
}

section#bigSlider a#prev,
section#bigSlider a#next {
    display: block;
    position: absolute;
    top: 5.5em;
    color: #FFFFFF;
    font-size: 2.5em;
    z-index: 10;
}

section#bigSlider a#prev {
    left: 2%;
}

section#bigSlider a#next {
    right: 2%;
}

section#bigSlider a.slidesjs-previous.slidesjs-navigation,
section#bigSlider a.slidesjs-next.slidesjs-navigation {
    display: none;
}

/*Rooms section style*/
section#rooms {
    width: 100%;
    padding: 0;
}

section#rooms div#room1,
section#rooms div#room2,
section#rooms div#room3 {
    overflow: hidden;
    margin: 4em 0;
}

section#rooms div.imgContainer {
    width: 45%;
}

section#rooms div.imgContainer a.first {
    display: block;
    position: relative;
    width: 100%;
}

section#rooms div.imgContainer a.first i {
    position: absolute;
    bottom: 0.3em;
    right: 1%;
    font-size: 2em;
    color: #FFFFFF;
}

section#rooms div.imgContainer a.row {
    display: inline-block;
    width: 32.73%;
}

section#rooms div.imgContainer a img {
    width: 100%;
}

section#rooms div.textContainer {
    width: 45%;
    padding: 3em 5%;
}

section#rooms div.textContainer p {
    line-height: 1.5em;
}

/* Preview Categories Icons section style */
section.previewCategoriesIcons {
    width: 100%;
    display: block;
    overflow: hidden;
    height: 26em;
    padding: 0;
    background-color: #d8bea6;
}

section.previewCategoriesIcons > div.left {
    width: 50%;
    height: 100%;
}

section.previewCategoriesIcons > div.right {
    width: 50%;
    height: 100%;
}

section.previewCategoriesIcons div.left p {
    padding: 0 7%;
    margin-top: 1em;
}

section.previewCategoriesIcons h3 {
    padding: 0 7%;
    margin-top: 3em;
}

section.previewCategoriesIcons p.textBig {
    line-height: 1.2em;
    margin-top: 0;
}

section.previewCategoriesIcons > div.left > div.bgBeige > .titleThin h2 {
    font-size: 2em;
}

section.previewCategoriesIcons > div > div.bgBeige > .titleThin {
    margin-bottom: 3em;
    font-size: 1em;
    margin-top: 2em;
    padding: 0 5%;
}

section.previewCategoriesIcons > div.left > div.bgBeige > p {
    font-size: 1.1em;
}

section.previewCategoriesIcons .category {
    width: 40%;
    padding: 2em 5%;
    height: 4em;
    text-align: center;
    font-size: 1em;
    border-radius: 10px;
}

section.previewCategoriesIcons .category img {
    width: 25%;
    margin-bottom: .5em;
}

section.previewCategoriesIcons .category h3 {
    margin-bottom: .5em;
    font-size: 1.2em;
    font-weight: bold;
}

section.previewCategoriesIcons .category p {
    line-height: 1em;
    font-size: .8em;
}

/* Location style*/
section#location {
    padding: 0;
}

section#location div.left {
    background-image: url('/images/layout/luogosanto.jpg');
    padding: 17em 25%;
}

section#location div.right {
    width: 42%;
    padding: 0 3%;
    padding-top: 4em;
}

section#location div.right h3,
section#location div.right h2 {
    margin-bottom: 1em;
}

section#location div.right p.greyText {
    color: #CCC;
    font-size: .7em;
    margin-top: 3em;
}

section#location a.button {
    font-size: .8em;
    margin-top: 1em;
    margin-right: 2%;
    text-transform: uppercase;
    border: 1px solid;
    border-radius: 20px;
}

/* Contact form section */
section#form {
    width: 100%;
    padding: 0;
}

section#form > div {
    padding: 3em 5%;
    background-color: rgba(186, 140, 99, .4);
}

section#form p.surtitle {
    text-align: center;
}

section#form h2 {
    margin-bottom: 4%;
    text-align: center;
    font-size: 1.5em;
}

section#form form div.left {
    width: 65%;
}

section#form form div.right {
    width: 32%;
    margin-left: 3%;
}

section#form form div.bottom {
    width: 100%;
    overflow: hidden;
}

section#form form div.bottom input.button {
    margin-top: .8em;
    font-size: .8em;
}

section#form input[type="text"], section#form textarea {
    font-size: .7em;
    font-family: 'Roboto', sans-serif;
    height: 4em;
    border: 0;
    background-color: #FFFFFF;
    padding: 1em;
    margin-bottom: 1.5em;
    color: #383838;
    display: block;
    width: 100%;
    float: left;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
    -webkit-border-radius: 10px;
    -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #AAA;
    border-radius: 10px;
}

section#form textarea {
    height: 10em;
}

section#form input[name="name"], section#form input[name="email"] {
    width: 49%;
}

section#form input[name="start"], section#form input[name="end"] {
    width: 29%;
}

section#form input[name="email"], section#form input[name="end"] {
    margin-left: 2%;
}

section#form input[name="subject"] {
    width: 70%;
}

section#form input[name="phone"] {
    width: 38%;
    margin-left: 2%;
}

section#form select {
    width: 100%;
    font-size: .7em;
    margin-top: .5em;
    margin-bottom: 4em;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-border-radius: 2px;
    -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
    -webkit-padding-end: 20px;
    -webkit-padding-start: 2px;
    -webkit-user-select: none;
    background-size: 1em;
    background-image: url('/images/layout/arrow.png');
    background-position: 97% center;
    background-repeat: no-repeat;
    border: 1px solid #AAA;
    color: #555;
    overflow: hidden;
    padding: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

section#form label {
    line-height: 3em;
    cursor: pointer;
    font-size: .8em;
}

section#form label a {
    text-decoration: underline;
}

section#form  div.right h5 {
    font-size: 1.1em;
    margin-bottom: .5em;
}

section#form  div.right p {
    line-height: 1.3em;
}

section#form div.right input[type="submit"] {
    border: 0;
    float: right;
    cursor: pointer;
}

#subjectSpecial {
    display: none !important;
}

/* Footer style */
footer {
    overflow: hidden;
    padding-top: 2em;
    padding-bottom: 2em;
}

footer h2 {
    text-transform: uppercase;
    margin-bottom: .5em;
}

footer a {
    text-decoration: underline;
}

footer > div {
    width: 40%;
    padding: 2em 5%;
    float: left;
}

footer > div.right {
    margin-top: 5em;
}

footer > div p {
    margin-bottom: .5em;
}

footer > div > img {
    width: 80%;
    margin-bottom: 1em;
}

footer > div.right h3 {
    margin-bottom: 1em;
}

footer > div.right a {
    padding: 1.5em 5%;
    display: block;
    text-decoration: none;
    font-size: 1em;
}

footer > div.right p {
    margin-top: 1.3em;
}

/* Screen size adjustments */
@media screen and (max-width: 780px) {

    /* General style */
    body, html {
        font-size: 2.2vw;
    }

    .close {
        width: 86%;
        padding-left: 7%;
        padding-right: 7%;
    }

    header {
        padding-top: .2em;
        padding-bottom: .2em;
    }

    header div.right nav a.nav {
        display: none;
    }

    header > a#logo {
        width: 30%;
    }

    header div.right {
        width: 40%;
        padding-top: .6em;
    }


    section#rooms div.imgContainer {
        width: 70%;
        padding: 0 15%;
    }

    section#rooms div.textContainer {
        width: 80%;
        padding: 3em 10%;
        text-align: center;
    }

    section.previewCategoriesIcons {
        height: unset;
    }

    section.previewCategoriesIcons > div.left {
        width: 100%;
        height: 100%;
    }

    section.previewCategoriesIcons > div.right {
        width: 100%;
        height: 100%;
        padding-bottom: 2em;
    }

    section.previewCategoriesIcons .category {
        width: 23%;
    }

    section.previewCategoriesIcons .category img {
        width: 35%;
        margin-bottom: 0.5em;
    }

    section#location {
        margin: 0;
        width: 100%;
    }

    section#location div.left {
        background-image: url('/images/layout/luogosanto-mobile.jpg');
        padding: 10em 50%;
    }

    section#location div.right {
        width: 80%;
        padding: 3em 10%;
        text-align: center;
    }

    section#form form div.left {
        width: 100%;
    }

    section#form form div.right {
        width: 100%;
        margin-left: 0;
    }

    section#form form div.bottom {
        width: 100%;
        overflow: hidden;
        padding-top: 2em;
    }

    .sliderCont {
        width: 85%;
        padding-left: 7.5%;
        padding-right: 7.5%;
    }

    section#contactPreview > div {
        width: 40%;
        height: 18em;
    }

    section#mapSection div#overMap {
        width: 50%;
    }
}

/* Screen size adjustments */
@media screen and (max-width: 500px) {

    /* General style */
    body, html {
        font-size: 4vw;
    }

    .title {
        font-size: 2.4em;
    }

    .subtitle {
        font-size: 1.8em;
    }

    .textBig {
        font-size: 1.3em;
    }

    header > a#logo {
        width: 47%;
    }

    header div.right nav {
        margin-right: 15%;
        font-size: .9em;
    }

    header div.right ul.menuLang {
        top: .8em;
    }

    div#imageHeader  {
        text-align: center;
        background-image: url('/images/layout/header-mobile.jpg');
    }

    div#imageHeader div h1 {
        text-align: center
    }

    section#bigSlider a#prev, section#bigSlider a#next {
        top: 3em;
        font-size: 1.5em;   
    }

    section#rooms div.imgContainer {
        width: 100%;
        padding: 0;
    }

    section#rooms div.imgContainer a.row {
        display: inline-block;
        width: 32.44%;
    }

    section.previewCategoriesIcons > div.left {
        text-align: center;
    }

    section.previewCategoriesIcons .category {
        width: 40%;
    }

    section#location a.button {
        font-size: 1em;
        margin-top: 2em;
    }

    section#form input[type='text'] {
        width: 100%;
        margin-left: 0;
    }

    section#form select {
        margin-bottom: 2em;
    }

    section#form form div.bottom {
        text-align: center;
    }

    .button, input[type="submit"] {
        float: none;
    }

    .sliderCont {
        width: 95%;
        padding-left: 2.5%;
        padding-right: 2.5%;
    }

    div#menu {
        position: relative;
        padding-top: 3em;
        padding-bottom: 3em;
    }

    div#reviewsBox {
        display: block;
        width: 90%;
        padding: 4em 5%;
        margin-bottom: 2em;
    }

    footer {
        text-align: center;
    }

    footer > div {
        width: 90%;
        padding: 1em 5%;
    }

    footer > div.right {
        margin-top: 0;
        text-align: center;
    }

    footer > div.right a {
        font-size: 1em;
    }

}