@font-face {
    font-family: KUNSTLER;
    src: url("font/KUNSTLER.woff");
}
body, html {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    line-height: 28px;
    margin: 0;
    padding: 0;
}
header {
    background: url("../img/finestra_sul_mare_01.jpg") no-repeat right;
    background-size: cover;
    height: 100vh;
    width: 100%;
}
header h1 {
    text-align: center;
    line-height: 100px;
    margin: 0;
    padding-top: 25vh;
}
header h1 span.font_one {
    font-family: sans-serif;
    font-size: 44px;
    font-weight: lighter;
    color: white;
    text-shadow: 1px 1px #666, -1px -1px #666;
}
header h1 span.font_two {
    font-family: KUNSTLER;
    font-size: 128px;
    font-weight: lighter;
    color: white;
    text-shadow: 2px 2px 2px #666;
}
header div {
    text-align: center;
    padding-top: 50px;
}
header div a {
    text-decoration: none;
    padding: 10px 30px;
    font-size: 18px;
    font-weight: lighter;
    background: none;
    background-color: #85c8f2bb;
    color: #006896;
    border-radius: 5px;
    border: thin solid #006896;
    margin: 50px 30px;
    cursor: pointer;
}
header div a img {
    margin-right: 15px;
    margin-bottom: -1px;
}
nav {
    position: absolute;
    font-family: sans-serif;
    width: 100%;
    height: 60px;
    text-align: right;
    background-color: #ffffff;
    left: 0;
    top: 100vh;
    z-index: 100;
    box-shadow: 1px 0px 5px #666;
}
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    height: 60px;
}
nav ul li {
    display: inline-block;
    margin: 0 5px;
    text-transform: uppercase;
}
nav ul li a {
    display: block;
    text-decoration: none;
    color: #006896;
    padding: 0 25px;
    line-height: 60px;
}
nav ul li a:hover {
    background-color: #85c8f2bb;
}
nav ul li a.selected {
    background-color: #85c8f2bb;
}
#section_one {
    background: -moz-linear-gradient(-45deg, rgba(243,226,199,1) 0%, rgba(182,141,76,0) 50%, rgba(233,212,179,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(-45deg, rgba(243,226,199,1) 0%,rgba(182,141,76,0) 50%,rgba(233,212,179,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(135deg, rgba(243,226,199,1) 0%,rgba(182,141,76,0) 50%,rgba(233,212,179,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    color: #333;
    padding: 120px 35px 50px 35px;
    margin: 0 auto 5px auto;
    text-align: center;
}
#section_one #left-img {
    margin-right: -25px;
}
#section_one #right-img {
    margin-left: -25px;
}
#section_one #left-img, #section_one #right-img {
    width: 30%;
    max-width: 450px;
}
#section_one #center-img {
    position: relative;
    z-index: 10;
    width: 40%;
    max-width: 550px;
    box-shadow: 2px 0 10px #999, -2px 0 10px #999;
}
#section_one a.button {
    display: block;
    padding: 10px 25px;
    text-decoration: none;
    background-color: #dcb485;
    width: 340px;
    margin: 0 auto 10px auto;
    border-radius: 5px;
    color: #ffffff;
}
#section_one a.button:hover {
    color: #333;
}
#section_one #webcam {
    text-align: center;
}
#section_one #webcam p {
    padding: 10px 25px;
    text-decoration: none;
    background-color: #dcb485;
    max-width: 340px;
    margin: 0 auto 10px auto;
    border-radius: 5px;
    color: #ffffff;    
}
#section_one #webcam iframe {
    width: 100%;
    max-width: 640px;
    height: 380px;
}
#camere {
    margin-bottom: -5px;
}
#camere h2 {
    text-align: center;
    display: none;
}
#camere figure {
    display: inline-block;
    width: calc(25vw - 6px);
    margin: -5px -1px;
}
#camere figure img {
    width: 100%;
}
#maps {
    margin-bottom: -23px;
}
footer {
    background-color: #333;
    min-height: 150px;
    color: #aaa;
    padding-top: 25px;
    padding-bottom: 25px;
    overflow-x: hidden;
}
footer p {
    font-size: 0.8rem;
}
footer div.footer_widget {
    display: inline-block;
    vertical-align: text-top;
    width: 40%;
    padding-left: 50px;
    border-left: thin solid #444;
}
footer #widget1 a {
    text-decoration: underline;
    color: #aaa;
}
footer #widget2 p {
    line-height: 52px;
}
footer #widget2 a {
    text-decoration: none;
    padding: 10px;
    margin-right: 6px;
    background-color: #aaa;
    border-radius: 5px;
    color: white;
    border: thin solid white;
}
footer #widget2 a:hover {
    color: #333;
}
footer hr {
    border-color: #666;
    width: 50%;
    margin: 25px auto 0 auto;
}
footer #consulente {
    text-align: center;
    margin-bottom: 0;
}
footer #consulente a {
    text-decoration: none;
    color: #666;
}
.font_one {

}
.font_two {

}

@media screen and (max-width:960px) {
    header h1 span.font_one {
        font-size: 36px;
    }
    header h1 span.font_two {
        font-size: 96px;
    }
    header div a {
        padding: 5px 15px;
        font-size: 18px;
        border-radius: 5px;
        border: thin solid #006896;
        margin: 10px;
        cursor: pointer;
    }
}
@media screen and (max-width:768px) {
    nav ul li {
        font-size: 14px;
        margin: 0;
    }
    nav ul li a {
        padding: 0 10px;
    }
    header h1 {
        line-height: 48px;
    }
    header h1 span.font_one {
        font-size: 20px;
        text-shadow: 1px 1px 1px #666;
    }
    header h1 span.font_two {
        font-weight: 600;
        font-size: 48px;
        text-shadow: 2px 2px 2px #666, 1px 1px #333;
    }
    header div a {
        display: block;
        width: 200px;
        font-weight: 400;
        padding: 10px 35px;
        margin: 20px auto;
    }
    #section_one h2 {
        line-height: 42px;
    }
    #section_one p {
        text-align: justify;
    }
    #section_one a.button {
        width: 100%;
        padding: 5px 2px;
    }
    #camere figure {
        width: calc(33.3vw - 7px);
        margin: -5px -1px;
    }
    footer div.footer_widget {
        display: block;
        vertical-align: text-top;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        padding: 20px;
        border-left: none;
        border-top: thin solid #444;
    }
}
@media screen and (max-width:768px) and (orientation:landscape) {
    header div a {
        display: inline-block;
        width: 28%;
        font-weight: 400;
        padding: 10px;
        margin: 0;
    }
    .hide {
        display: none;
    }
}
@media screen and (max-width:480px) {
    .hide {
        display: none;
    }
    #section_one #webcam iframe {
        height: 200px;
    }    
    #camere figure {
        width: 100%;
        margin: -5px -1px;
    }
}
