/*
blu: #24a1d8
blu scuro: #0086cc
verde: #4cd137
verde scuro: #3aad28
*/

/* ------------------------------------------------------ */
/* BASIC SETUP */
/* ------------------------------------------------------ */

* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

html,
body {
    background-color: #ffffff;
    color: #555555;
    font-family: 'Roboto', 'Arial', sans-serif;
    font-size: 20px;
    font-weight: 300;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

.clearfix {zoom:1}
.clearfix:after {
    content: '.';
    clear: both;
    display: block;
    height: 0;
    visibility: hidden;
}


/* ------------------------------------------------------ */
/* REUSABLE COMPONENTS */
/* ------------------------------------------------------ */

.row {
    max-width: 1140px;
    margin: 0 auto;
}

section { padding: 80px 0; }

.box { padding: 1%; }

.col { padding: 0 10px}

.center { text-align: center; }

/* ------ HEADINGS ------ */

h2,
h3 {
    font-weight: 300;
    text-transform: uppercase;
}

h1 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #fff;
    font-size: 260%;
    word-spacing: 4px;
    letter-spacing: 1px;
    text-align: center;
}

h2 {
    font-size: 180%;
    word-spacing: 2px;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

h3 {
    font-size: 110%;
    font-weight: 500;
    margin-bottom: 15px;
}

h2:after {
    display: block;
    height: 2px;
    background-color: #00a8ff;
    content: " ";
    width: 100px;
    margin: 0 auto;
    margin-top: 30px;
}

/* ------ PARAGRAPHS ------ */

.long-copy {
    line-height: 145%;
    width: 70%;
    margin-left: 15%;
}

.box p {
    font-size: 90%;
    line-height: 145%;
}

/* ------ ICONS ------ */

.icon-big {
    font-size: 350%;
    display: block;
    color: #24a1d8;
    margin-bottom: 10px;
}

/* ------ LINKS ------ */

a:link,
a:visited {
    color: #24a1d8;
    text-decoration: none;
    padding-bottom: 2px;
    border-bottom: 1px solid #24a1d8;
    -webkit-transition: border-bottom 0.2s, color 0.2s;
    transition: border-bottom 0.2s, color 0.2s;
}

a:hover,
a:active {
    color: #555;
    border-bottom: 1px solid transparent;
}

/* ------ BUTTONS ------ */

.btn:link,
.btn:visited,
input[type=submit] {
    display: inline-block;
    padding: 15px 30px;
    font-weight: 300;
    text-decoration: none;
    border-radius: 4px;
    -webkit-transition: background-color 0.2s, border 0.2s, color 0.2s;
    transition: background-color 0.2s, border 0.2s, color 0.2s;
}

.btn-full:link,
.btn-full:visited,
input[type=submit] {
    background-color: #24a1d8;
    border: 1px solid #24a1d8;
    color: #fff;
    margin-right: 15px;
}

.btn:hover,
.btn:active,
input[type=submit]:hover,
input[type=submit]:active { background-color: #0086cc; }

.btn-full:hover,
.btn-full:active { 
    background-color: #0086cc;
    border: 1px solid #0086cc;
}


/* ------------------------------------------------------ */
/* HEADER */
/* ------------------------------------------------------ */

header {
    /*background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 134, 204, 0.5)), to(rgba(0, 134, 204, 0.5))), url(img/hero.jpg);
    background-image: linear-gradient(rgba(0, 134, 204, 0.5), rgba(0, 134, 204, 0.5)), url(img/hero.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;*/
    background-color: #24a1d8;
    height: 700px;
}

.hero-container {
    position: absolute;
    width: 90%;
    top: 130px;
    left: 5%;
    color: #fff;
    text-align: center;
    letter-spacing: 0.6px;
}

.hero-container p {
    margin-bottom: 20px;
    font-size: 120%;
    line-height: 145%;
}

.hero-container img {
    width: 90%;
    max-width: 900px;
}

.logo {
    height: 36px;
    width: auto;
    float: left;
    margin-top: 45px;
}

.logo-black {
    display: none;
    height: 30px;
    width: auto;
    float: left;
    margin: 15px 0;
}

/* Main navi */
.main-nav {
    float: right;
    list-style: none;
    margin-top: 55px;
    z-index: 9999;
}

.main-nav li {
    display: inline-block;
    margin-left: 40px;
}

.main-nav li a:link,
.main-nav li a:visited {
    padding: 8px 0;
    color: #fff;
    text-decoration: none;
    font-size: 90%;
    border-bottom: 2px solid transparent;
    -webkit-transition: border-bottom 0.2s;
    transition: border-bottom 0.2s;
    letter-spacing: 0.6px;
}

.main-nav li a:hover,
.main-nav li a:active {
    border-bottom: 2px solid #fff;
}


/* Mobile navi */
.mobile-nav-icon {
    position: absolute;
    top: 0px;
    right: 20px;
    cursor: pointer;
    display: none;
}

.mobile-nav-icon i {
    font-size: 200%;
    color: #fff;
}


/* Sticky navi */
.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    -webkit-box-shadow: 0 2px 2px #efefef;
    box-shadow: 0 2px 2px #efefef;
    z-index: 9999;
}

.sticky .main-nav { margin-top: 18px; }

.sticky .main-nav li a:link,
.sticky .main-nav li a:visited {
    padding: 16px 0;
    color: #555;
}

.sticky .logo { display: none; }
.sticky .logo-black { display: block; }


/* ------------------------------------------------------ */
/* IRESERVATION */
/* ------------------------------------------------------ */

.section-ireservation { padding-top: 200px; }
.section-ireservation .long-copy { margin-bottom: 20px; }


/* ------------------------------------------------------ */
/* FEATURES */
/* ------------------------------------------------------ */

.section-features {
    background-image: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)), url(img/back-features.jpg);
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

.section-features p {
    color: #888;
}


/* ------------------------------------------------------ */
/* COME FUNZIONA */
/* ------------------------------------------------------ */

.come-funziona-box:first-child {
    text-align: right;
    padding-right: 3%;
    margin-top: 30px;
}

.come-funziona-box:last-child {
    padding-left: 3%;
    margin-top: 50px;
}

.preview-screen { width: 100%; margin-top: 20px; }

.passi { margin-bottom: 35px; }

.passi div {
    color: #00a8ff;
    border: 2px solid #00a8ff;
    display: inline-block;
    border-radius: 50%;
    height: 40px;
    width: 40px;
    text-align: center;
    padding: 5px;
    float: left;
    font-size: 110%;
    margin-right: 25px;
}


/* ------------------------------------------------------ */
/* CHANNEL MANAGER */
/* ------------------------------------------------------ */

.section-channel-manager { background-color: #f4f4f4; }

.box img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    text-align: center;
}

.loghi-container { margin-top: 30px; }

.loghi-container a:link,
.loghi-container a:visited { border-bottom: 1px solid transparent; }

.loghi-container .box {
    background-color: #fff;
    border-radius: 8px;
    text-align: center;
}


/* ------------------------------------------------------ */
/* FORM */
/* ------------------------------------------------------ */

.contact-form {
    width: 60%;
    margin: 0 auto;
}

input[type=text],
input[type=email],
select,
textarea {
    width: 100%;
    padding: 7px;
    border-radius: 3px;
    border: 1px solid #ccc;
}

textarea { height: 100px; }

input[type=checkbox] { margin: 10px 5px 10px 0; }

*:focus { outline: none; }

.note-legali {
    font-size: 80%;
    margin-top: 30px;
}


/* ------------------------------------------------------ */
/* POLICY */
/* ------------------------------------------------------ */

.section-policy { padding: 30px 0;}

.section-policy h1 {
    font-size: 140%;
    text-align: left;
    margin-bottom: 50px;
}
.section-policy h3 { margin-top: 30px; }

.section-policy .logo {
    height: 36px;
    width: auto;
    float: none;
    margin-top: 0;
    margin-bottom: 50px;
    text-align: center; 
}
.section-policy .logo img { height: 30px; }

.section-policy .logo a { border-bottom: 1px solid transparent; }

.section-policy h1,
.section-policy h3 { color: #333; }

.section-policy .long-copy p,
.section-policy .long-copy li {
    margin-bottom: 20px;
}

.section-policy .long-copy li {
    margin-left: 20px;
}


/* ------------------------------------------------------ */
/* FOOTER */
/* ------------------------------------------------------ */

footer {
    background-color: #333;
    padding: 50px;
    font-size: 80%;
}

.footer-nav {
    list-style: none;
    float: left;
}

.logo-footer {
    float: right;
}

.logo-footer img {
    width: 80%;
}

.logo-footer a:link,
.logo-footer a:visited { border-bottom: 1px solid transparent; }

.footer-nav li {
    display: inline-block;
    margin-right: 20px;
}

.footer-nav li:last-child { margin-right: 0; }

.footer-nav li a:link,
.footer-nav li a:visited {
    text-decoration: none;
    border: 0;
    color: #888;
    -webkit-transition: color 0.2s;
    transition: color 0.2s;
}

.footer-nav li a:hover,
.footer-nav li a:active { color: #cbcbcb; }

footer p {
    color: #888;
    text-align: center;
    margin-top: 30px;
}


/* ------------------------------------------------------ */
/* Animations */
/* ------------------------------------------------------ */

.js--wp-1,
.js--wp-2,
.js--wp-3 { 
    opacity: 0;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
}

.js--wp-4 { 
    -webkit-animation-duration: 1s; 
    animation-duration: 1s;
}

.js--wp-1.animated,
.js--wp-2.animated,
.js--wp-3.animated { opacity: 1; }