/*  dai tablet in landscape ai desktop */
/*-----------------------------------------------------------------------------------*/
@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .intro .logo {
    top: 2%;
    -webkit-transform: translate3d(-50%, -2%, 0);
    -moz-transform: translate3d(-50%, -2%, 0);
    -ms-transform: translate3d(-50%, -2%, 0);
    -o-transform: translate3d(-50%, -2%, 0);
    transform: translate3d(-50%, -2%, 0);
    padding: 20px;
  }
  .intro .logo img {
    max-height: 160px;
  }
  .intro .hero {
    top: 60%;
    -webkit-transform: translate3d(-50%, -60%, 0);
    -moz-transform: translate3d(-50%, -60%, 0);
    -ms-transform: translate3d(-50%, -60%, 0);
    -o-transform: translate3d(-50%, -60%, 0);
    transform: translate3d(-50%, -60%, 0);
  }
  .intro hgroup {
    margin: 0px 110px;
  }
  .intro h1 {
    font-size: 60px;
    line-height: 70px;
    margin: 0;
    padding: 0;
  }
  .intro h3 {
    font-size: 24px;
    margin-top: 20px;
  }
  header .container {
    width: auto;
  }
  .navbar-collapse {
    font-size: 14px;
    padding-right: 14px;
    padding-left: 14px;
  }
  .section-header {
    margin-bottom: 40px;
    padding: 10px;
    min-height: 118px;
  }
  h1.heading {
    font-size: 40px;
    padding: 10px 10px;
  }
  h1.heading.imm {
    font-size: 32px;
    padding: 10px 10px;
  }
  .widget h2.widget-title {
    font-size: 24px;
    margin: 10px 0px 30px 0px;
  }
  footer .logo-footer img {
    max-height: 160px;
  }
  footer .footer-top .footer-widget h2.widget-title {
    font-size: 24px;
    margin: 0px 0px 15px 0px;
    padding-bottom: 15px;
  }
  footer .footer-top .footer-widget h2.widget-title span.line {
    width: 45px;
    border-top-width: 4px;
  }
  .widget-logoservice div.img-container {
    width: 220px;
    height: 220px;
  }
  .widget-logoservice div.img-container img.img-container-image {
    width: 220px;
    height: 220px;
  }
  .widget-gallery-1 .item {
    height: 260px;
  }
  .widget-gallery-1 .item .img-inner {
    height: 260px;
  }
  .widget-gallery-1 .item .gallery-thumb-image {
    height: 260px;
  }
  .widget-threeimg .imgs-cont img {
    width: 32.4%;
    display: inline;
    padding: 0px;
    margin: 0px 0px 0px 0px;
  }
  .widget-threeimg .imgs-cont img.second {
    margin-left: 2px;
  }
  .widget-threeimg .imgs-cont img.last {
    margin-left: 2px;
  }
  .widget-textimgfull {
    background-attachment: scroll;
  }
  .catalogue-area .box-latest-from-catalogue-int .category-products .img-inner-catalogue img {
    height: 200px;
  }
  .box-latest-from-catalogue-int ul.category-list a.fixed-height.immobiliare {
    height: 410px;
  }
  .widget-immobiliare .box-latest-from-catalogue-int ul.category-list a.fixed-height.immobiliare {
    min-height: 410px;
  }
}
/* dai tablet in portrait fino al landscape e mini desktop */
/*-----------------------------------------------------------------------------------*/
@media (min-width: 768px) and (max-width: 991px) {
  body {
    font-size: 15px;
  }
  header {
    z-index: 1000;
    position: fixed;
    top: 0px;
    left: 0px;
  }
  .navbar-brand {
    display: inline-block;
    cursor: pointer;
  }
  .intro .logo {
    top: 8%;
    -webkit-transform: translate3d(-50%, -2%, 0);
    -moz-transform: translate3d(-50%, -2%, 0);
    -ms-transform: translate3d(-50%, -2%, 0);
    -o-transform: translate3d(-50%, -2%, 0);
    transform: translate3d(-50%, -2%, 0);
    padding: 20px;
  }
  .intro .logo img {
    max-height: 160px;
  }
  .intro .hero {
    top: 63%;
    -webkit-transform: translate3d(-50%, -60%, 0);
    -moz-transform: translate3d(-50%, -60%, 0);
    -ms-transform: translate3d(-50%, -60%, 0);
    -o-transform: translate3d(-50%, -60%, 0);
    transform: translate3d(-50%, -60%, 0);
  }
  .intro .hero hgroup {
    margin: 0px -20px;
  }
  .intro .hero h1 {
    font-size: 50px;
    line-height: 70px;
    font-weight: bold;
    margin: 0;
    padding: 0;
  }
  .intro .hero h3 {
    font-size: 24px;
    font-weight: bold;
    margin-top: 20px;
  }
  .intro .scroll-down {
    bottom: 30px;
  }
  ul.social {
    width: 200px;
    height: 220px;
    position: absolute;
    top: 160px;
    margin-top: 0px;
    margin-left: -40px;
    perspective: 1000px;
    z-index: 9999;
    list-style: none;
  }
  ul.login-area {
    width: 80px;
    height: 40px;
    position: absolute;
    top: 0px;
    right: 0px;
    perspective: 1000px;
    z-index: 1500;
    list-style: none;
  }
  .section-header {
    margin-bottom: 40px;
    padding: 10px;
    min-height: 90px;
  }
  h1.heading {
    font-size: 36px;
    padding: 10px 10px;
  }
  h1.heading.imm {
    font-size: 28px;
    padding: 10px 10px;
  }
  .widget h2.widget-title {
    font-size: 22px;
    margin: 0px 0px 30px 0px;
  }
  footer .footer-top .footer-widget h2.widget-title {
    font-size: 22px;
    margin: 0px 0px 15px 0px;
  }
  footer .footer-top .footer-widget h2.widget-title span.line {
    width: 40px;
    border-top-width: 4px;
  }
  footer .logo-footer img {
    max-height: 160px;
  }
  .widget-textimgfull {
    background-attachment: scroll;
  }
  .widget-logoservice div.img-container {
    width: 200px;
    height: 200px;
  }
  .widget-logoservice div.img-container img.img-container-image {
    width: 200px;
    height: 200px;
  }
  .widget-gallery-1 .item {
    height: 240px;
  }
  .widget-gallery-1 .item .img-inner {
    height: 240px;
  }
  .widget-gallery-1 .item .gallery-thumb-image {
    height: 240px;
  }
  .widget-threeimg .imgs-cont img {
    width: 32.9%;
    display: inline;
    padding: 0px;
    margin: 0px 0px 0px 0px;
  }
  .widget-threeimg .imgs-cont img.second {
    margin-left: 1px;
  }
  .widget-threeimg .imgs-cont img.last {
    margin-left: 1px;
  }
  .catalogue-area {
    padding: 5px;
  }
  .catalogue-area .catalogue-category {
    margin-bottom: 20px;
  }
  .catalogue-area .catalogue-category:hover {
    box-shadow: none;
  }
  .catalogue-area img.img-catalogue {
    float: none;
    max-width: 100%;
    max-height: 100%;
    padding-right: 0px;
  }
  .catalogue-area .panel-title h4 {
    margin-top: 10px;
    font-size: 18px;
    padding: 10px;
  }
  .catalogue-area .panel-body p {
    font-weight: normal;
    font-size: 14px;
    padding-left: 5px;
    padding-bottom: 0px;
  }
  .catalogue-area .box-latest-from-catalogue-int .category-products .img-inner-catalogue img {
    height: 200px;
  }
  .box-latest-from-catalogue-int ul.category-list a.fixed-height.immobiliare {
    height: 410px;
  }
  .widget-immobiliare .box-latest-from-catalogue-int ul.category-list a.fixed-height.immobiliare {
    min-height: 410px;
  }
}
/* Landscape phone to portrait tablet */
/*-----------------------------------------------------------------------------------*/
@media (max-width: 767px) {
  body {
    font-size: 15px;
  }
  header {
    z-index: 1000;
    position: fixed;
    top: 0px;
    left: 0px;
  }
  .intro {
    position: relative;
  }
  .intro .logo {
    top: 15%;
    -webkit-transform: translate3d(-50%, -1%, 0);
    -moz-transform: translate3d(-50%, -1%, 0);
    -ms-transform: translate3d(-50%, -1%, 0);
    -o-transform: translate3d(-50%, -1%, 0);
    transform: translate3d(-50%, -1%, 0);
    padding: 20px;
  }
  .intro .logo img {
    max-width: 350px;
    max-height: 70px;
  }
  .intro .hero {
    top: 70%;
    -webkit-transform: translate3d(-50%, -70%, 0);
    -moz-transform: translate3d(-50%, -70%, 0);
    -ms-transform: translate3d(-50%, -70%, 0);
    -o-transform: translate3d(-50%, -70%, 0);
    transform: translate3d(-50%, -70%, 0);
  }
  .intro .hero hgroup {
    margin: 0px -50px;
  }
  .intro .hero h1 {
    font-size: 30px;
    line-height: 40px;
    font-weight: bold;
    margin: 0;
    padding: 0;
  }
  .intro .hero h3 {
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
  }
  .intro .scroll-down {
    bottom: 15px;
    margin-left: -15px;
    width: 40px;
    height: 40px;
    line-height: 45px;
    border-radius: 50px;
    color: #fff;
  }
  .intro .scroll-down i.fa {
    font-size: 24px;
    padding-top: 8px;
  }
  ul.social {
    width: 36px;
    height: 220px;
    position: absolute;
    top: 80px;
    margin-top: 0px;
    margin-left: -40px;
    perspective: 1000px;
    z-index: 9999;
    list-style: none;
  }
  ul.social li a {
    display: block;
    height: 30px;
    width: 36px;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    color: #fff;
    -webkit-font-smoothing: antialiased;
    padding: 8px;
    text-decoration: none;
    text-align: center;
    transition: background .5s ease .300ms;
    opacity: 0.85;
  }
  .social li a span {
    width: 100px;
    float: left;
    text-align: center;
    background: #222;
    color: #fff;
    margin: -25px 74px;
    padding: 8px;
    transform-origin: 0;
    visibility: hidden;
    opacity: 0;
    transform: rotateY(45deg);
    border-radius: 5px;
    transition: all 0.5s ease 0.3ms;
  }
  .social li span:after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    left: -20px;
    top: 7px;
    border-left: 10px solid transparent;
    border-right: 10px solid #222;
    border-bottom: 10px solid transparent;
    border-top: 10px solid transparent;
  }
  .social li a:hover span {
    visibility: visible;
    opacity: 1;
    transform: rotateY(0);
  }
  ul.login-area {
    width: 80px;
    height: 40px;
    position: absolute;
    top: 80px;
    margin-top: 0px;
    right: -4px;
    perspective: 1000px;
    z-index: 9999;
    list-style: none;
  }
  ul.login-area li a {
    display: block;
    height: 30px;
    width: 36px;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    color: #fff;
    -webkit-font-smoothing: antialiased;
    padding: 8px;
    text-decoration: none;
    text-align: center;
    transition: background .5s ease .300ms;
    opacity: 0.85;
  }
  .navbar-brand {
    display: inline-block;
    cursor: pointer;
  }
  section:before {
    display: block;
    content: "";
    height: 52px;
    margin-top: -52px;
    visibility: hidden;
  }
  .section-header {
    margin-bottom: 40px;
    padding: 5px 5px 10px 5px;
    margin-top: -6px;
    min-height: 90px;
  }
  section .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
  }
  h1.heading {
    font-size: 24px;
    padding: 10px 10px;
  }
  h1.heading.imm {
    font-size: 18px;
    padding: 10px 10px;
  }
  .widget h2.widget-title {
    font-size: 20px;
    margin: 0px 0px 30px 0px;
  }
  footer .logo-footer img {
    max-height: 160px;
  }
  footer .footer-top .footer-widget h2.widget-title {
    font-size: 20px;
    margin: 0px 0px 8px 0px;
  }
  footer .footer-top .footer-widget h2.widget-title span.line {
    width: 35px;
    border-top-width: 3px;
  }
  footer .footer-top .footer-widget .socials ul li a {
    width: 35px;
    height: 35px;
    text-align: center;
  }
  footer .footer-top .footer-widget .socials ul li a i {
    font-size: 18px;
    line-height: 36px;
  }
  footer .footer-bottom {
    padding: 15px 5px;
  }
  footer .footer-bottom p {
    font-size: 13px;
    line-height: 36px;
  }
  .widget-textimgfull {
    background-attachment: scroll;
  }
  .widget-textimg .h2-txt-container {
    padding: 25px;
    float: none;
    width: 100%;
  }
  .widget-textimg.left .wrap-txt-img {
    max-height: auto;
  }
  .widget-textimg.left .wrap-txt-img img.wrap-txt-img-image {
    width: 100%;
    float: none;
    max-height: auto;
  }
  .widget-textimg.right .wrap-txt-img {
    max-height: auto;
  }
  .widget-textimg.right .wrap-txt-img img.wrap-txt-img-image {
    width: 100%;
    float: none;
    max-height: auto;
  }
  .widget-logoservice div.img-container {
    width: 150px;
    height: 150px;
  }
  .widget-logoservice div.img-container img.img-container-image {
    width: 150px;
    height: 150px;
  }
  .widget-catalogue {
    margin-left: 15px;
  }
  .widget-gallery-1 {
    margin-left: 15px;
    margin-right: -10px;
  }
  .widget-gallery-1 .item {
    height: 200px;
  }
  .widget-gallery-1 .item .img-inner {
    height: 200px;
  }
  .widget-gallery-1 .item .gallery-thumb-image {
    height: 200px;
  }
  .widget-threeimg .imgs-cont img {
    width: 32.4%;
    display: inline;
    padding: 0px;
    margin: 0px 0px 0px 0px;
  }
  .widget-threeimg .imgs-cont img.second {
    margin-left: 2px;
  }
  .widget-threeimg .imgs-cont img.last {
    margin-left: 2px;
  }
  .fullsize-map {
    height: 300px;
  }
  .medium-sized-map {
    height: 300px;
  }
  .catalogue-area {
    padding: 5px;
  }
  .catalogue-area .catalogue-category {
    margin-bottom: 20px;
  }
  .catalogue-area .catalogue-category:hover {
    box-shadow: none;
  }
  .catalogue-area img.img-catalogue {
    float: none;
    max-width: 100%;
    max-height: 100%;
    padding-right: 0px;
  }
  .catalogue-area .panel-title h4 {
    margin-top: 10px;
    font-size: 18px;
    padding: 10px;
  }
  .catalogue-area .panel-body p {
    font-weight: normal;
    font-size: 14px;
    padding-left: 5px;
    padding-bottom: 0px;
  }
  .catalogue-area .box-latest-from-catalogue-int .category-products span.list-product {
    margin-left: 15px;
  }
  .catalogue-area .box-latest-from-catalogue-int .category-products span.list-product button.btn {
    margin-bottom: 15px;
  }
  .catalogue-area .product-info {
    margin-bottom: 30px;
    margin-top: 15px;
  }
  .catalogue-area .product-info h2.product-title {
    font-size: 20px;
  }
  .box-latest-from-catalogue-int ul.category-list a.fixed-height {
    width: 100%;
  }
  .box-latest-from-catalogue-int ul.category-list a.fixed-height.immobiliare {
    height: 410px;
  }
  input.bottom-15-xs {
    margin-bottom: 15px;
  }
  .widget-immobiliare .box-latest-from-catalogue-int ul.category-list a.fixed-height.immobiliare {
    min-height: 400px;
  }
  .product-images {
    margin: 10px 0px 0px 0px;
  }
  .product-images .img-inner-rdv {
    /* rdv */
    margin: 0px auto;
    text-align: center;
  }
  .product-images .img-inner-rdv img {
    width: 70%;
  }
  .product-images p.rdv {
    /* rdv */
    text-align: center;
  }
}
/* phones and down */
/*-----------------------------------------------------------------------------------*/
@media (max-width: 480px) and (orientation: portrait) {
  .intro .logo {
    top: 12%;
    -webkit-transform: translate3d(-50%, -1%, 0);
    -moz-transform: translate3d(-50%, -1%, 0);
    -ms-transform: translate3d(-50%, -1%, 0);
    -o-transform: translate3d(-50%, -1%, 0);
    transform: translate3d(-50%, -1%, 0);
    padding: 20px;
  }
  .intro .logo img {
    max-width: 260px;
    max-height: 80px;
  }
  .intro .hero {
    top: 60%;
    -webkit-transform: translate3d(-50%, -60%, 0);
    -moz-transform: translate3d(-50%, -60%, 0);
    -ms-transform: translate3d(-50%, -60%, 0);
    -o-transform: translate3d(-50%, -60%, 0);
    transform: translate3d(-50%, -60%, 0);
  }
  .intro .hero hgroup {
    margin: 0px -30px;
  }
  .intro .hero h1 {
    font-size: 30px;
    line-height: 40px;
    font-weight: bold;
    margin: 0;
    padding: 0;
  }
  .intro .hero h3 {
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
  }
  .navbar-brand {
    padding: 15px;
    font-size: 16px;
    line-height: 26px;
  }
  footer .footer-bottom {
    padding: 15px 0px;
  }
  footer .footer-bottom p {
    float: none;
    text-align: center;
    font-size: 13px;
    line-height: 36px;
  }
  footer .logo-footer img {
    max-width: 260px;
    max-height: 80px;
  }
  .widget-threeimg .imgs-cont img {
    width: 32%;
    display: inline;
    padding: 0px;
    margin: 0px 0px 0px 0px;
  }
  .widget-threeimg .imgs-cont img.second {
    margin-left: 2px;
  }
  .widget-threeimg .imgs-cont img.last {
    margin-left: 2px;
  }
  .catalogue-area {
    padding: 0px;
  }
  .catalogue-area .panel-title h4 {
    font-size: 16px;
  }
  .catalogue-area img.img-catalogue-rdv {
    /* rdv */
    float: none;
    max-width: 100%;
    max-height: 100%;
    padding-right: 5px;
    text-align: center;
    margin: 0px auto;
  }
  .catalogue-area .panel-body p.rdv {
    /* rdv */
    font-size: 12px;
    padding-left: 0px;
  }
  .box-latest-from-catalogue-int {
    margin: 0px;
  }
  .box-latest-from-catalogue-int ul.category-list a.fixed-height.immobiliare {
    height: 440px;
  }
  .widget-immobiliare .box-latest-from-catalogue-int ul.category-list a.fixed-height.immobiliare {
    min-height: 430px;
  }
}
/* media queries for portable pc */
/*-----------------------------------------------------------------------------------*/
@media screen and (min-width: 1200px) and (max-height: 800px) {
  .intro .logo {
    top: 1%;
    -webkit-transform: translate3d(-50%, -1%, 0);
    -moz-transform: translate3d(-50%, -1%, 0);
    -ms-transform: translate3d(-50%, -1%, 0);
    -o-transform: translate3d(-50%, -1%, 0);
    transform: translate3d(-50%, -1%, 0);
    padding: 20px;
  }
  .intro .logo img {
    max-height: 140px;
  }
  .intro .hero h1 {
    font-size: 70px;
    line-height: 90px;
    font-weight: bold;
    margin: 0;
    padding: 0;
    letter-spacing: -1px;
  }
  .intro .hero h3 {
    font-size: 25px;
    font-weight: bold;
    margin-top: 20px;
  }
  footer .logo-footer img {
    max-height: 180px;
  }
}
/* iphone 4 portrait */
/*-----------------------------------------------------------------------------------*/
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (-webkit-device-pixel-ratio: 2) and (device-aspect-ratio: 2/3) and (orientation: portrait) {
  .intro .logo {
    top: 1%;
    -webkit-transform: translate3d(-50%, -1%, 0);
    -moz-transform: translate3d(-50%, -1%, 0);
    -ms-transform: translate3d(-50%, -1%, 0);
    -o-transform: translate3d(-50%, -1%, 0);
    transform: translate3d(-50%, -1%, 0);
    padding: 20px;
  }
  .intro .logo img {
    max-height: 70px;
  }
  .intro .hero {
    top: 65%;
    -webkit-transform: translate3d(-50%, -65%, 0);
    -moz-transform: translate3d(-50%, -65%, 0);
    -ms-transform: translate3d(-50%, -65%, 0);
    -o-transform: translate3d(-50%, -65%, 0);
    transform: translate3d(-50%, -65%, 0);
  }
  .intro .hero hgroup {
    margin: 0px -30px;
  }
  footer .logo-footer img {
    max-height: 100px;
  }
}
/* iphone 4 landscape */
/*-----------------------------------------------------------------------------------*/
/* tablet 16:9 in landscape */
/*-----------------------------------------------------------------------------------*/
@media screen and (min-width: 1024px) and (-moz-device-aspect-ratio: 16/9) and (min-device-aspect-ratio: 16/9) and (orientation: landscape) {
  .intro .logo {
    top: 1%;
    -webkit-transform: translate3d(-50%, -1%, 0);
    -moz-transform: translate3d(-50%, -1%, 0);
    -ms-transform: translate3d(-50%, -1%, 0);
    -o-transform: translate3d(-50%, -1%, 0);
    transform: translate3d(-50%, -1%, 0);
    padding: 20px;
  }
  .intro .logo img {
    max-height: 70px;
  }
  .intro .hero h1 {
    font-size: 60px;
    line-height: 90px;
    font-weight: bold;
    margin: 0;
    padding: 0;
    letter-spacing: -1px;
  }
  .intro .hero h3 {
    font-size: 20px;
    font-weight: bold;
    margin-top: 20px;
  }
  footer .logo-footer img {
    max-height: 100px;
  }
}
@media (min-width: 992px) {
  .navbar-nav {
    width: 100%;
    text-align: center;
    margin: 0px auto;
  }
  .navbar-nav > li {
    float: none;
    display: inline-block;
    margin-left: -3px;
    margin-right: -3px;
  }
}
