/*
  file:         style.css
  author:       EH-Italia
  project:      new yourindex web application
  modify:       190215-1715 m.ferrari@ehitalia.it
  description:  css style project
*/

/* main
*/
.adv{
  text-align: center;
  clear: both;
  margin-top: 50px;
}
body, html
  {
  font-family: Raleway, sans-serif;
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
  color: darkgray;
  font-weight: 300;
  width: 100% !important;
  height: 100% !important;
  }

h2
  {
  margin: 0 0 20px 0;
  font-weight: 500;
  font-size: 34px;
  color: white;
  text-transform: uppercase;
  }

h3
  {
  font-size: 22px;
  font-weight: 500;
  color: darkgray;
  }

h4
  {
  font-size: 24px;
  text-transform: uppercase;
  font-weight: 400;
  color: darkgray;
  }

h5
  {
  text-transform: uppercase;
  font-weight: 700;
  line-height: 20px;
  }

p
  {
  font-size: 16px;
  }

p.intro
  {
  margin: 12px 0 0;
  line-height: 24px;
  }

a
  {
  color: green;
  }

a:hover,
a:focus
  {
  text-decoration: none;
  color: darkgray;
  }

ul, ol
  {
  list-style: none;
  }

.clearfix:after
  {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
  }

.clearfix
  {
  display: inline-block;
  }

* html .clearfix
  {
  height: 1%;
  }

.clearfix
  {
  display: block;
  }

ul, ol
  {
  padding: 0;
  webkit-padding: 0;
  moz-padding: 0;
  }

hr
  {
  height: 2px;
  width: 70px;
  text-align: center;
  position: relative;
  background: cornflowerblue;
  margin: 0;
  margin-bottom: 40px;
  border: 0;
  }

.btn:active,
.btn.active
  {
  background-image: none;
  outline: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
  }

a:focus,
.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus
  {
  outline: none;
  outline-offset: none;
  }

img
  {
  max-width: 100%;
  }







/* navigation
*/
#menu
  {
  padding: 20px;
  transition: all 0.8s;
  }

#menu.navbar-default
  {
  background-color: rgba(248, 248, 248, 0);
  border-color: rgba(231, 231, 231, 0);
  }

#menu a.navbar-brand
  {
  font-family: "Dancing Script", cursive;
  font-size: 36px;
  color: orangered;
  font-weight: 700;
  letter-spacing: 1px;
  }

#menu.navbar-default .navbar-nav > li > a
  {
  text-transform: uppercase;
  color: ivory;
  font-weight: 500;
  font-size: 15px;
  padding: 5px 0;
  border: 2px solid transparent;
  letter-spacing: 0.5px;
  margin: 10px 15px 0 15px;
  }

#menu.navbar-default .navbar-nav > li > a:hover
  {
  color: orangered;
  }

.on
  {
  background-color: #262626 !important;
  padding: 0 !important;
  padding: 10px 0 !important;
  }

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus
  {
  color: green !important;
  background-color: transparent;
  }

.navbar-toggle
  {
  border-radius: 0;
  }

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus
  {
  background-color: orangered;
  border-color: orange;
  }

.navbar-default .navbar-toggle:hover > .icon-bar
  {
  background-color: white;
  }

.section-title
  {
  margin-bottom: 70px;
  }

.section-title .overlay
  {
  padding: 80px 0;
  background: rgba(0, 0, 0, 0.6);
  }

.section-title p
  {
  font-size: 22px;
  color: rgba(255, 255, 255, 0.8);
  }

.section-title hr
  {
  margin: 0 auto;
  margin-bottom: 40px;
  }

.btn-custom
  {
  text-transform: uppercase;
  color: white;
  background-color: skyblue;
  border: 0;
  padding: 14px 20px;
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.5px;
  border-radius: 0;
  margin-top: 20px;
  transition: all 0.5s;
  }

.btn-custom:hover, .btn-custom:focus,
.btn-custom.focus, .btn-custom:active,
.btn-custom.active
  {
  color: white;
  background-color: orangered;
  }









/* header
*/
.intro h1
  {
  font-family: "Dancing Script", cursive;
  color: white;
  font-size: 7.5em;
  font-weight: 400;
  margin-top: 0;
  margin-bottom: 10px;
  }

.intro span
  {
  color: #A7C44C;
  font-weight: 600;
  }

.intro p
  {
  color: white;
  font-size: 32px;
  font-weight: 300;
  margin-top: 10px;
  margin-bottom: 40px;
  }

header .intro-text
  {
  padding-top: 150px;
  padding-bottom: 100px;
  text-align: center;
  }

header .intro-text img
  {
  max-width: 90%;
  }










/* about
*/
#about
  {
  padding: 80px 0;
  }

#about h3
  {
  font-size: 20px;
  }

#about .about-text
  {
  margin-left: 10px;
  color: black;
  }

#about .about-img
  {
  display: inline-block;
  position: relative;
  }

#about p
  {
  line-height: 24px;
  margin: 15px 0 30px;
  }

#about ul
  {
  margin-left: 40px;
  color: black;
  text-align: left;
  font-size: 12pt;
  list-style-type: disc;
  }








/* pricelist-section
*/
#pricelist-section
  {
  padding: 80px 0 60px 0;  /* top right bottom left */
  }

#pricelist-section .section-title h2
  {
  color: white;
  }

#pricelist-section img
  {
  width: 300px;
  box-shadow: 15px 0 mediumseagreen;
  }

#pricelist-section h1
  {
  text-transform: uppercase;
  color: gray;
  }

#pricelist-section hr
  {
  background: gray;
  }

#pricelist-section h3
  {
  color: gray;
  text-transform: capitalize;
  font-size: 14pt;
  font-weight: normal;
  font-style: italic;
  letter-spacing: 1px;
  }

#pricelist-section .price
{
  margin-top: -20px;
  color: white;
  background: lightgray;
  text-transform: uppercase;
  font-size: 18pt;
  font-weight: bold;
  letter-spacing: 1px;
}

#pricelist-section .alert-msg
  {
  color: magenta;
  background: cyan;
  text-transform: uppercase;
  font-weight: normal;
  letter-spacing: 1px;
  }

#pricelist-section .menu-section hr
  {
  margin: 0 auto;
  }

#pricelist-section .menu-section
  {
  margin: 0 20px 80px;  /* top right bottom left */
  }

#pricelist-section .menu-section-title
  {
  font-size: 26px;
  display: block;
  font-weight: bold;
  color: gray;
  margin: 20px 0;
  text-align: center;
  }

#pricelist-section .menu-item
  {
  margin: 35px 0;
  font-size: 18px;
  }

#pricelist-section .menu-item-name
  {
  padding-right: 30px;
  font-weight: bold;
  font-size: 17px;
  color: gray;
  border-bottom: 2px dotted paleturquoise;
  }

#pricelist-section .menu-item-description
  {
  font-style: italic;
  font-size: 15px;
  }












/* gallery
*/
#gallery
  {
  padding-bottom: 80px;
  }

#gallery .section-title
  {
  background-size: cover;
  margin-bottom: 80px;
  }

#gallery h1
  {
  color: white;
  font-size: 24pt;
  text-transform: uppercase;
  letter-spacing: 1pt;
  }

#gallery hr
  {
  background: white;
  }

#gallery h2
  {
  color: white;
  font-size: 12pt;
  text-transform: uppercase;
  letter-spacing: 3pt;
  }

.categories
  {
  padding-bottom: 30px;
  text-align: center;
  }

ul.cat li
  {
  display: inline-block;
  }

ol.type li
  {
  display: inline-block;
  margin: 0 10px;
  padding: 20px 0;
  }

ol.type li a
  {
  color: #999;
  font-weight: 500;
  font-size: 14px;
  padding: 12px 24px;
  background: #EEE;
  border: 0;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  }

ol.type li a.active
  {
  color: white;
  background-color: green;
  }

ol.type li a:hover
  {
  color: white;
  background-color: green;
  }

.gallery-item
  {
  margin: 15px 0;
  }

.gallery-item .hover-bg
  {
  overflow: hidden;
  position: relative;
  text-align: center;
  text-align: -webkit-center;
  }

.hover-bg .hover-text
  {
  position: absolute;
  text-align: center;
  margin: 0 auto;
  color: white;
  background: rgba(0, 0, 0, 0.6);
  padding: 30% 0 0 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: all 0.5s;
  }

.hover-bg .hover-text > h4
  {
  opacity: 0;
  color: white;
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
  transition: all 0.3s;
  font-size: 17px;
  letter-spacing: 0.5px;
  font-weight: 500;
  }

.hover-bg:hover .hover-text > h4
  {
  opacity: 1;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateY(0);
  transform: translateY(0);
  }

.hover-bg:hover .hover-text
  {
  opacity: 1;
  }









/* services
*/
#services
  {
  /* top right bottom left; */
  margin: 80px 0 -80px 0;
  padding: 80px 0 0 0;
  background-color: gainsboro;
  }

/* row with alternate background colors
*/
#services .loop:nth-child(even) .loop-row
  {
  background: powderblue;
  }

#services .loop:nth-child(odd) .loop-row
  {
  background: rosybrown;
  }

#services .section-title .overlay
  {
  background: salmon;
  background-size: cover;
  }

#services h1
  {
  color: orangered;
  text-align: center;
  }

#services hr
  {
  background-color: orangered;
  text-align: center;
  }

#services img
  {
  width: 360px;
  }

#services .section-title h2
  {
  background-size: cover;
  color: orangered;
  font-size: 16px;
  letter-spacing: 3pt;
  padding: 0 0 40px 0;
  }

#services h3
  {
  font-weight: bold;
  color: royalblue;
  margin-top: 80px;
  }

#services p
  {
  color: black;
  }

#services ul
  {
  margin-left: 40px;
  color: black;
  text-align: left;
  font-size: 12pt;
  list-style-type: disc;
  }

#services .loop-row
  {
  margin: -80px 0 80px 0;
  }

#services .loop-image
  {
  padding: 80px 0;
  }







/* offers
*/
@media only screen and (max-width: 960px)
  {
  .offers-img
    {
    max-width: 70%;
    }
  }

@media only screen and (max-width: 768px)
  {
  .offers-img
    {
    max-width: 60%;
    }
  }

#offers
  {
  background: darkkhaki;
  /* top right bottom left */
  padding: 80px 0 0 0;
  }

/* row with alternate background colors
*/
#offers .loop:nth-child(odd) .loop-row
  {
  background: rosybrown;
  }

#offers .loop:nth-child(even) .loop-row
  {
  background: darkcyan;
  }

#offers .section-title .overlay
  {
  background: salmon;
  background-size: cover;
  }

#offers hr
  {
  background-color: white;
  }

#offers h1
  {
  color: white;
  text-align: center;
  }

#offers h2
  {
  color: white;
  text-align: center;
  font-size: 12pt;
  text-transform: uppercase;
  letter-spacing: 3pt;
  }

#offers h3
  {
  /* top right bottom left */
  padding: 0 0 0 0;
  color: gold;
  font-size: 18pt;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 3pt;
  }

#offers .section-title
  {
  padding-left: 0;
  padding-top: 80px;
  padding-bottom: 120px;
  padding-right: 0;
  margin-top: -120px;
  }

#offers ul
  {
  color: white;
  font-weight: 400;
  font-size: 18px;
  }

#offers .loop .loop-row .section-title p
  {
  color: white;
  margin-left: 100px;
  margin-right: 100px;
  font-weight: 400;
  font-size: 18px;
  }







/* events
*/
#events
  {
  /* top right bottom left */
  margin: 0 0 -80px 0;
  padding: 40px 0 0 0;
  background-color: lightsteelblue;
  }

/* row with alternate background colors
*/
#events .loop:nth-child(even) .loop-row
  {
  background: pink;
  }

#events .loop:nth-child(odd) .loop-row
  {
  background: mistyrose;
  }

#events h1
  {
  color: orangered;
  text-align: center;
  }

#events .section-title h2
  {
  background-size: cover;
  color: orangered;
  font-size: 16px;
  letter-spacing: 3pt;
  padding: 0 0 40px 0;
  }

#events .section-title hr
  {
  background-color: orangered;
  text-align: center;
  }

#events img
  {
  width: 320px;
  }

#events h3
  {
  color: royalblue;
  margin-top: 100px;
  margin-bottom: 30px;
  font-size: 18pt;
  font-weight: bold;
  text-transform: uppercase;
  }

#events p
  {
  color: black;
  }

#events ul
  {
  margin-left: 40px;
  color: black;
  text-align: left;
  font-size: 12pt;
  list-style-type: disc;
  }

#events .events-date
  {
  margin-top: 40px;
  color: royalblue;
  text-align: right;
  font-size: 18pt;
  font-weight: bold;
  }

#events .events-address
  {
  margin-bottom: 40px;
  color: royalblue;
  text-align: right;
  font-size: 12pt;
  font-weight: bold;
  font-variant: small-caps;
  font-style: italic;
  letter-spacing: 1.5px;
  }

#events .loop-row
  {
  margin: -80px 0 80px 0;
  }

#events .loop-image
  {
  padding: 80px 0;
  }









/* posts (articoli)
*/
#posts
  {
  /* top right bottom left; */
  padding: 0 0 0 0;
  background: lightpink;
  }

#posts .overlay
  {
  padding: 80px 0 80px 0;
  }

#posts .section-title
  {
  background-size: cover;
  margin-bottom: 100px;
  }

#posts .section-title h1
  {
  color: mediumvioletred;
  text-transform: uppercase;
  }

#posts .section-title h2
  {
  background-size: cover;
  color: mediumvioletred;
  font-size: 16px;
  letter-spacing: 3pt;
  }

#posts .section-title hr
  {
  background-color: mediumvioletred;
  }

#posts h3
  {
  font-size: 28px;
  font-weight: bold;
  color: hotpink;
  }

#posts .posts-text
  {
  text-transform: none;
  }

#posts p
  {
  line-height: 18px;
  margin: 15px 0 30px;
  color: black;
  }

#posts a
  {
  line-height: 14px;
  color: mediumvioletred;
  }

#posts a:hover
  {
  line-height: 14px;
  color: mediumvioletred;
  font-weight: bold;
  }




/* single-post (articolo)
*/
#single-post
  {
  padding: 180px 0 0 0; /* top right bottom left */
  background: white;
  }

#single-post .overlay
  {
  padding: 120px 0 80px 0;
  background: lavender;
  }

#single-post .section-title
  {
  background-size: cover;
  margin-bottom: 100px;
  }

#single-post .single-post-img
  {
  padding: 100px 0 0 0; /* top right bottom left */
  width: 100%;
  hight: 100%;
  }

#single-post h2
  {
  color: dimgray;
  text-align: left;
  text-transform: uppercase;
  }

#single-post hr
  {
  background: dimgray;
  width: 100%;
  }

#single-post h3
  {
  color: dimgray;
  text-align: center;
  font-size: 14pt;
  text-transform: uppercase;
  letter-spacing: 3pt;
  }

#single-post h4
  {
  color: dimgray;
  text-align: center;
  font-size: 12pt;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 3pt;
  }

#single-post .single-post-text
  {
  text-transform: none;
  }

#single-post h5
  {
  color: dimgray;
  text-align: center;
  font-style: italic;
  font-size: 12pt;
  text-transform: none;
  }

#single-post p
  {
  color: black;
  text-align: left;
  font-size: 12pt;
  margin: 10px 0 0 0; /* top right bottom left */
  }

#single-post ul
  {
  color: black;
  margin: 8px 0 0 36px; /* top right bottom left */
  text-align: left;
  font-size: 12pt;
  list-style-type: disc;
  }

#single-post li
  {
  margin-bottom: 6px;
  }

#single-post a
  {
  color: dimgray;
  font-style: italic;
  font-weight: normal;
  }

#single-post a:hover
  {
  color: red;
  font-weight: bold;
  }





/* news
*/
#news
  {
  color: rgba(255, 255, 255, 0.5);
  }

#news .overlay
  {
  padding: 120px 0 80px 120px;
  background: darkcyan;
  }

#news .section-title
  {
  background-size: cover;
  margin-bottom: 100px;
  }

#news h2
  {
  color: ivory;
  }

#news h3
  {
  color: white;
  text-align: left;
  font-weight: bold;
  font-size: 20px;
  margin: 5px 0;
  }

#news hr
  {
  background: red;
  }

#news p
  {
  color: ivory;
  text-align: left;
  font-size: 14px;
  margin: 10px 0;
  }

#news img
  {
  width: 480px;
  padding-top: 60px;
  }

#news .thumbnail
  {
  background: transparent;
  border: 0;
  }

#news .thumbnail .news-img
  {
  display: inline-block;
  position: relative;
  margin-bottom: 40px;
  }

#news .thumbnail .news-img:before
  {
  display: block;
  content: '';
  position: absolute;
  top: 68px;
  right: 8px;
  bottom: 8px;
  left: 8px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  }

#news .thumbnail .caption
  {
  padding-top: 10px;
  }

#news .thumbnail .caption p
  {
  color: ivory;
  text-align: left;
  font-size: 16px;
  font-style: none;
  margin: 10px 0;
  }











/* callout
*/
#callout
  {
  padding: 80px 0;
  color: white;
  background: mistyrose;
  background: -moz-linear-gradient(top, mistyrose 50%, lightpink 100%);
  background: -webkit-linear-gradient(top, mistyrose 50%, lightpink 100%);
  background: linear-gradient(to bottom, mistyrose 50%, lightpink 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='$c-reservation-bgms1', endColorstr='$c-reservation-bgms2', GradientType=0);
  }

#callout h1
  {
  font-family: "Open Sans", sans-serif;
  color: deeppink;
  font-size: 42pt;
  font-weight: bolder;
  font-style: italic;
  }

#callout h2
  {
  font-family: "Open Sans", sans-serif;
  color: gray;
  font-size: 42pt;
  font-weight: bold;
  }


#callout h3
  {
  color: white;
  font-size: 18pt;
  font-weight: bold;
  }






/* contact
*/
#contact
  {
  padding: 100px 0 60px 0;
  background: gainsboro;
  }

#contact .section-title p
  {
  color: gray;
  }

#contact .section-title h1
  {
  color: skyblue;
  }

#contact .section-title hr
  {
  background-color: skyblue;
  }

#contact .section-title h2
  {
  color: skyblue;
  text-align: center;
  font-size: 16px;
  letter-spacing: 3pt;
  }

#contact form
  {
  padding: 0;
  }

#contact h3
  {
  text-transform: uppercase;
  font-size: 20px;
  font-weight: 400;
  color: gray;
  }

#contact .text-danger
  {
  color: #CC0033;
  text-align: left;
  }

label
  {
  font-size: 12px;
  font-weight: 400;
  font-family: "Open Sans", sans-serif;
  float: left;
  }

#contact .form-control
  {
  display: block;
  width: 100%;
  padding: 6px 12px;
  font-size: 16px;
  line-height: 1.42857143;
  color: gray;
  background-color: white;
  background-image: none;
  border: 1px solid ivory;
  border-radius: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-transition: none;
  -o-transition: none;
  transition: none;
  }

#contact .form-control:focus
  {
  border-color: #999;
  outline: 0;
  -webkit-box-shadow: transparent;
  box-shadow: transparent;
  }

.form-control::-webkit-input-placeholder
  {
  color: darkgray;
  }

.form-control:-moz-placeholder
  {
  color: darkgray;
  }

.form-control::-moz-placeholder
  {
  color: darkgray;
  }

.form-control:-ms-input-placeholder
  {
  color: darkgray;
  }

#contact .contact-item
  {
  margin: 20px 0 40px 0;
  }

#contact .contact-item span
  {
  font-weight: 400;
  color: lightgray;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: inline-block;
  }

#contact .contact-item p
  {
  font-size: 16px;
  }





/* footer
*/
#footer
  {
  background: linear-gradient(75deg, lightskyblue, beige);
  margin: 0 0 60px 0; /* top right bottom left */
  }

#footer h3
  {
  color: black;
  font-weight: 400;
  font-size: 18px;
  text-transform: uppercase;
  margin-bottom: 20px;
  }

#footer .copyrights
  {
  padding: 20px 0;
  margin-top: 50px;
  background: white;
  }

#footer .social
  {
  margin: 20px 0 30px 0;
  }

#footer .social ul li
  {
  display: inline-block;
  margin: 0 20px;
  }

#footer .social i.fa
  {
  font-size: 48px;
  padding: 4px;
  color: orange;
  transition: all 0.3s;
  }

#footer .social i.fa:hover
  {
  color: orangered;
  font-weight: bold;
  }

#footer p
  {
  font-size: 15px;
  color: black;
  }

#footer a
  {
  color: gray;
  font-weight: bold;
  }

#footer a:hover
  {
  color: orangered;
  font-weight: bold;
  }





/* custom css
*/
img
  {
  max-width: 100%;
  }





/* media query tablet
*/
@media only screen and (max-width: 768px)
  {
  #menu a.navbar-brand
    {
    padding: 0 10px;
    }

  header .intro-text img
    {
    max-width: 90%;
    display: none;
    }
  }

/* media query smartphone
*/
@media only screen and (max-width: 400px)
  {
  .navbar-toggle
    {
    background-color: white;
    }
  }



