@import url(//fonts.googleapis.com/css?family=Montserrat:400,700);

@import url(//fonts.googleapis.com/css?family=Hind:400,700);
/* font-family: 'Montserrat', sans-serif; */
/* font-family: 'Hind', sans-serif; */
@media only screen and (min-width: 1199px) and (max-width: 1400px) {
  
}
/*  dai tablet in landscape ai desktop */
/*-----------------------------------------------------------------------------------*/
@media only screen and (min-width: 980px) and (max-width: 1199px) {
  header #map-canvas {
    height: 300px;
  }
  header h1 {
    font-size: 36px;
    margin-bottom: 20px;
  }
  header h1 span {
    margin-top: -10px;
  }
  header h1 span small {
    margin-top: 5px;
    line-height: 0.5;
    font-size: 18px;
  }
  section.elements {
    margin-top: -20px;
  }
  #testoSeo {
    max-height: 280px;
    overflow: scroll;
  }
  .localita-dropdown {
    top: 130px;
    right: 25px;
  }
}
/* dai tablet in portrait fino al landscape e mini desktop */
/*-----------------------------------------------------------------------------------*/
@media (min-width: 768px) and (max-width: 979px) {
  header #map-canvas {
    height: 340px;
  }
  header h1 {
    font-size: 36px;
    margin-bottom: 20px;
  }
  header h1 span {
    margin-top: -10px;
  }
  header h1 span small {
    margin-top: 5px;
    line-height: 0.5;
    font-size: 18px;
  }
  .navbar .nav > li > a {
    font-size: 13px;
    padding: 10px 15px 10px;
    margin-right: 3px;
  }
  .navbar .nav > li > a:hover {
    color: #222222;
    text-decoration: none;
    background-color: transparent;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    border: 1px solid #d32f2f;
    padding: 10px 15px 10px;
  }
  section.elements {
    margin-top: -20px;
  }
  section.elements .grid {
    padding: 1.5em 0 0 1.5em;
    max-width: 100%;
    margin: 0 auto;
  }
  section.elements .grid li {
    padding: 0 1.2em 0.5em 0;
    margin-bottom: 0.8em;
  }
  div.box .inner h2 {
    font-size: 14px;
  }
  div.box .inner .moreinfo {
    visibility: visible;
    top: 10px;
    right: 10px;
    background-color: rgba(210, 50, 50, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.4);
  }
  #map-canvas-item {
    height: 450px;
  }
  .item-inner h2 {
    font-size: 18px;
  }
  .item-inner p {
    text-align: left;
    line-height: 18px;
    font-size: 13px;
  }
  #testoSeo {
    max-height: 420px;
    overflow: scroll;
  }
  .localita-dropdown {
    top: 130px;
  }
}
/* Landscape phone to portrait tablet */
/*-----------------------------------------------------------------------------------*/
@media (max-width: 767px) {
  .infoWindowContent {
    min-width: auto;
    min-height: 150px;
  }
  header {
    padding: 15px 15px 15px 15px;
  }
  header #map-canvas {
    height: 200px;
  }
  header h1 {
    font-size: 24px;
    margin-bottom: 15px;
  }
  header h1 span {
    margin-top: -10px;
  }
  header h1 span small {
    margin-top: 5px;
    line-height: 0.5;
    font-size: 14px;
  }
  .navbar-default {
    min-height: 60px;
  }
  .navbar-default .navbar-collapse,
  .navbar-default .navbar-form {
    width: 100%;
    margin-left: 0px;
  }
  nav {
    padding: 10px 10px 0px 10px;
  }
  nav .btn.btn-paginesi.pull-right {
    position: absolute;
    right: 15px;
    top: 10px;
  }
  .navbar-nav {
    margin: 7.5px -15px 7.5px 0px;
  }
  .navbar-nav li {
    margin-top: 3px;
  }
  section.elements {
    margin-top: -20px;
  }
  section.elements .grid {
    padding: 1.5em 0 0 1.5em;
    max-width: 100%;
    margin: 0 auto;
  }
  section.elements .grid li {
    padding: 0 1.2em 0.5em 0;
    margin-bottom: 0.8em;
  }
  div.box .inner h2 {
    font-size: 14px;
  }
  #map-canvas-item {
    height: 300px;
    margin-right: 0px;
  }
  .item-inner {
    margin-top: 0px;
    padding-right: 15px;
  }
  .item-inner h2 {
    font-size: 18px;
  }
  .item-inner p {
    text-align: left;
    line-height: 18px;
    font-size: 13px;
  }
  .item-inner .logo-address img {
    float: left;
    padding-bottom: 10px;
  }
  .fullscreen .modal-content .modal-header {
    padding: 8px 10px;
  }
  .fullscreen .modal-content .modal-header .btn.btn-paginesi {
    display: inline-block;
    padding: 5px 10px;
    margin-bottom: 0;
    font-size: 12px;
  }
  div.box .inner .info ul li {
    margin: 0px 3px -5px 0px;
    width: 33px;
    float: left;
  }
  div.box .inner .info ul li i.fa {
    padding: 7px 5px;
    font-size: 16px;
    color: #d32f2f;
    background-color: #fff;
    border: 1px solid #fff;
    width: 32px;
    height: 32px;
  }
  #testoSeo {
    max-height: 250px;
    overflow: scroll;
  }
  .localita-dropdown {
    top: 90px;
    right: 15px;
  }
  .localita-dropdown .localita-button {
    background: transparent;
    box-shadow: none;
    font-weight: bold;
    padding-right: 0px;
    font-size: 18px;
  }
  .localita-dropdown .localita-button i.fa {
    width: 42px;
    height: 42px;
    border-radius: 50px;
    padding: 12px 12px;
    background-color: #d32f2f;
    color: #fff;
    box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.3);
    margin-right: 0px;
  }
  .localita-dropdown .localita-button i.fa:hover {
    box-shadow: none;
  }
}
/* phones and down */
/*-----------------------------------------------------------------------------------*/
@media (max-width: 480px) and (orientation: portrait) {
  header {
    padding: 15px 15px 15px 15px;
  }
  header #map-canvas {
    height: 200px;
  }
  .fullscreen .modal-content .modal-header {
    padding: 8px 10px;
  }
  .fullscreen .modal-content .modal-header .btn.btn-paginesi {
    display: inline-block;
    padding: 5px 10px;
    margin-bottom: 0;
    font-size: 12px;
  }
  .item-inner .logo-address {
    border-top: 1px dotted #ccc;
    margin-bottom: 10px;
    padding: 5px;
  }
  .item-inner .logo-address img {
    float: none;
    display: block;
    padding: 5px 5px 15px 5px;
    text-align: center;
    margin: 0px auto;
  }
  .item-inner .logo-address p.address {
    text-align: left;
    line-height: 18px;
    font-size: 13px;
    color: #777;
    padding-top: 10px;
  }
  .item-inner .info {
    margin: 10px 0px 0px 0px;
  }
  #map-canvas-item {
    height: 250px;
    margin-right: 0px;
  }
  #testoSeo {
    max-height: 380px;
    overflow: scroll;
  }
}
/* media queries for portable pc */
/*-----------------------------------------------------------------------------------*/
@media screen and (min-width: 1200px) and (max-height: 800px) {
  header {
    padding: 20px 15px;
  }
  header #map-canvas {
    height: 400px;
  }
  #testoSeo {
    max-height: 350px;
    overflow: scroll;
  }
}
