/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */
html,body {

  margin:0;
  padding:0;
  overflow-x: hidden;
}
body {
  /*
  padding-top: 3rem;
  padding-bottom: 3rem; 
  */
  font-family: 'Fira Sans', sans-serif;
  color: #5a5a5a;
}

h1,h2,h3,h4,h5,h6,p {
  font-family: 'Fira Sans', sans-serif;
  color: #5a5a5a;
}
h1 {
  color:#007589;
  border-collapse: separate;
  border-spacing: 16px 0;
  border-spacing: 1rem 0;
  display: table;
  font-size: 1.6em;
  text-transform: uppercase;
  font-weight: 700;
  line-height: .25;
  margin: 1em 0 3em 0;
  /*margin: 1em 0 3em .5em;*/
  table-layout: auto;
  text-align: center;
  white-space: nowrap;
  width: 100%;
}
/*
  h1 span {
    color:#666;
    font-size: 60%;
    line-height: 60%;
  }
*/
h1:before,h1:after {
  border-top: 3px double #007589;
  content: '';
  display: table-cell;
  width: 50%;
  border-top-style: solid;
}
h1 span {
  line-height: 200%;
}
h2 {
  color:#007589;
  margin-top: 0;
}
a, a:link, a:visited {
  color:#007589;
  text-decoration: none;
}

header {
  height: 102px;
}

ul.iscritti li {
  font-size: 90%;
}

.btn-primary, .btn-primary:hover {
  color:#fff !important;
  background-color: #007589;
  border-radius: 0;
}
/*--------------------------------------------------------------
  Preloader
--------------------------------------------------------------*/
.page-loader {
  position: fixed;
  background: #007589;
  bottom: 0;
  right: 0;
  left: 0;
  top: 0;
  z-index: 9998;
}

.loader {
  position: absolute;
  border-left: 2px solid #ffffff;
  border-top: 2px solid rgba(255, 255, 255, 0.2);
  border-right: 2px solid rgba(255, 255, 255, 0.2);
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  height: 46px;
  width: 46px;
  left: 50%;
  top: 50%;
  margin: -23px 0 0 -23px;
  text-indent: -9999em;
  font-size: 10px;
  z-index: 9999;
  -webkit-animation: load 0.8s infinite linear;
  -moz-animation: load 0.8s infinite linear;
  ms-animation: load 0.8s infinite linear;
  o-animation: load 0.8s infinite linear;
  animation: load 0.8s infinite linear;
}

.loader,
.loader:after {
  border-radius: 50%;
  width: 46px;
  height: 46px;
}


/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  margin-bottom: 2rem;

  -webkit-box-shadow: 0px 22px 75px -60px rgba(0,0,0,1);
  -moz-box-shadow: 0px 22px 75px -60px rgba(0,0,0,1);
  box-shadow: 0px 22px 75px -60px rgba(0,0,0,1);
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  bottom: 3rem;
  z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel-item {
  max-height: 560px; /*32rem;*/
  background-color: #fff;
}
.carousel-item > img {
  width:100%;
  margin:0 auto;
}
/*
.carousel-item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
}
*/  /*height: 560px; /*32rem;*/

header {

}
.navbar-light .navbar-nav .nav-item .nav-link {
  font-weight: 600;
  font-size: 90%;
  text-transform: uppercase;
}
.navbar-light .navbar-nav .nav-item.active .nav-link {
  background-color: #007589;
  color: #fff;
  padding:4px;
  margin-top: 4px;
}

.dropdown-menu {
    margin-top: 16px; /* 26px */
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    left: 50%;
    right: auto;
    text-align: left;
    transform: translate(-50%, 0);
    
    background-color:#007589;
    border: 0;
    border-radius: 0;
}

.dropdown-menu:before {
  position: absolute;
  top: -7px;
  left: 50%;
  right: auto;
  display: inline-block;
  border-right: 7px solid transparent;
  border-bottom: 7px solid #ccc;
  border-left: 7px solid transparent;
  border-bottom-color: #007589;/*rgba(0, 0, 0, 0.2);*/
  content: '';
}

.dropdown-menu a {
  color:#fff;
}
.dropdown-item {
  color:#fff;
  text-transform: uppercase;
  font-size: 90%;
}
.dropdown-item:hover {
  background: transparent;
  color:#fff;
  text-decoration: underline;
}


 
/* MARKETING CONTENT
-------------------------------------------------- 

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 1.5rem;
  text-align: center;
}
.marketing h2 {
  font-weight: 400;
}
.marketing .col-lg-4 p {
  margin-right: .75rem;
  margin-left: .75rem;
}
*/

/* Featurettes
------------------------- */

.featurette-divider {
  margin: 5rem 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
.featurette-heading {
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.05rem;
}


/* Footer
------------------------- */
footer {
  background-color: #007589;
  padding: 1rem 0;
  margin-top: 4rem;

  -webkit-box-shadow: 0px -22px 75px -60px rgba(0,0,0,1);
  -moz-box-shadow: 0px -22px 75px -60px rgba(0,0,0,1);
  box-shadow: 0px -22px 75px -60px rgba(0,0,0,1);
}
footer:last-child {
  margin-top:0;
  background-color:#fff;
  color:#666;
  padding:0;
}
  footer p {
    color:#fff;
    font-size: 70%
  }
    footer:last-child p {
      color:#666;
      text-align: center;
    }
  footer a, footer a:link, footer a:visited {
    color:#ddd;
  }
    footer:last-child a, footer:last-child a:link, footer:last-child a:visited {
      color:#999;
    }
footer li {
  line-height: 100%;
  font-size: 90%;
  text-transform: uppercase;
}
footer:last-child p {
  line-height: 160%;
  font-size: 90%;
  padding-top:.8em;
}

/* ==========================================
   FORM COMPONENTS
   ========================================== */
label.unique {
  text-transform: uppercase;
  font-size: 1.2em;
  text-align: left;
  color: #7e7e7e;
  display: block;
  margin-top: 20px;
}
label.unique.active {
  color: #005f79;
}
label.unique.active input,
label.unique.active textarea {
  border-color: #005f79 !important;
}
label.unique input,
label.unique textarea {
  border-bottom: 1px solid #d0d0d0 !important;
  max-height: 200px;
  font-size: 1em;
  resize: vertical;
  padding: 10px 0;
  display: block;
  border: none;
  width: 100%;
  color: #333;
  font-weight: normal;
}
label.error {
  font-size: 0.9em;
  color: #d9534f;
  margin-top: 0;
}
form button {
  margin-top: 20px;
  outline: none;
  min-width: 150px;
  font-size: 1.2em !important;
}
.transition, label.unique, label.unique input, label.unique textarea, nav.navbar, section.services .service, section.services .service .icon, section.services .service .icon i, section.gallery .item a, footer ul.contact a, footer ul.contact li, #scrollTop, .reservation-overlay #close {
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
}
/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 40em) {
  /* Bump up size of carousel content 
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }
  */
  .featurette-heading {
    font-size: 50px;
  }

}

@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 7rem;
  }
}


/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575px) { 
  header {
      height: 70px;
  }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767px) { 
  
  h1 {
    padding:0;
    margin: 1em 0;
    font-size: 1em;
  }
  .navbar-brand {
    width: 60%;
  }
  .carousel {
    margin-bottom: 1em;
  }


  .dropdown-menu {
    position: relative !important;
    margin:0;
    padding:1em;
    background: transparent;

  }
    .dropdown-menu:before {
      border: 0 none;
    }
    .dropdown-menu a {
       color:#000 !important;
    }
    .dropdown-item {
      color:#000 !important;
      text-transform: uppercase;
      text-align: center;
    }
    .dropdown-item:hover {
      color:#007589 !important;
    }
  .carousel-indicators {
    display: none;
  }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991px) { }

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199px) {  }



