/*
Theme Name: A casa mia 2
Theme URI: https://www.linkedin.com/in/aurelio-petrone-13680859
Author: Aurelio Petrone
Author URI: https://www.linkedin.com/in/aurelio-petrone-13680859
Description: Tema personalizzato per BB A casa mia
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

*/


/* BOOTSTRAP */

.form-group {
    position: relative;
}
body > ul {
    display: none;
}

body{
        padding-top: 137px;
}

@media (min-width: 768px){
.navbar-right {
    float: right!important;
    margin-right: 0px !important;
}
}
.full_width{
    width: 90% !important;
    position: relative;
    padding: 0px;
    margin: 0 auto;
}
.mid_width {
    width: 90% !important;
    margin: 0 auto;
}
.container-fluid {
    width: 100%;
    position: relative;
    margin: 0 auto;
    padding: 0px 32px;
}

.margin_mobile{
    margin-top: 32px;
}





.img-responsive{
    width: 100%;
}
.img_fascia{
    width: 100%;
}

img.alignright { float: right; margin: 0 0 1em 1em; }
img.alignleft { float: left; margin: 0 1em 1em 0; }
img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignright { float: right; }
.alignleft { float: left; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }



.padding_32{
    padding: 32px;
}
/*  ----------------------------    */

.clear{
    clear: both;
}

body{
    font-family: "Baskerville", serif;
    font-size: 18px;

}
p{
    font-size: 18px;
}
h1{
    font-size: 30px;
    text-transform: uppercase;
    margin: 64px 0;
}
h1:first-of-type {
    margin-top: 32px !important;
}
h2{
    font-size: 30px;
    font-style: italic;
    margin: 32px 0;
}
h3{
    margin: 32px 0;
}
h4 {
    font-style: italic;
    font-size: 22px;
}
@media screen and (max-width: 600px){
    img.size-medium.alignright {
        width: 100%;
        margin: 16px auto;
    }
    img.size-medium.alignleft {
        width: 100%;
        margin: 16px auto;
    }
}


nav.navbar.navbar-default {
    border: none;
    background: none;
    box-shadow: none;
    padding-top: 33px;
    padding-bottom: 32px;
    background: #fff;
}

.navbar-default .navbar-nav>li>a {
    color: #000;
    font-size: 13px;
    text-transform: uppercase;
}

@media (min-width: 1180px){
    .navbar-default .navbar-nav>li>a {
        font-size: 15px;
    }
}


.navbar-brand>img {
    display: block;
    width: 160px;
    position: relative;
}

li.current-menu-item a::after{
   content: '';
   width: 70%;
   display: block;
   border-bottom: 1px solid #111;
   position: absolute;
   bottom: 0px;
   left: 15%;
}
a.navbar-brand {
    padding: 0px;
    margin-left: 15px !important;
}


button.navbar-toggle {
    padding: 12px 10px;
    border-radius: 2px;
    border-color: #111 !important;
}

    .navbar-header {
        height: 72px;
    }







/* HOMEPAGE */



ul#language_select {
    padding: 0px;
    list-style: none;
    margin-top: 16px;
}
ul#language_select li{
    padding: 9px;
    list-style: none;
    border: 1px solid #000;
    display: inline-block;
    font-style: italic;

}


/* LISTINO */

table.price_table{
    margin: 0 auto;
}

table.price_table td {
    padding: 0 16px;
    line-height: 16px; 
    display: inline-block;
    font-size: 16px;
}
table.price_table td:first-child {
    padding: 8px 16px 8px 0;
    line-height: 16px;
    width: 180px;
    font-style: italic;
}

table.price_table td:nth-child(2) {
    text-align: right;
    padding: 0 0 0 16px;
    line-height: 16px; 
    width: 32px;
   
}
table.price_table td:nth-child(3) {
    line-height: 16px; 
    width: 32px;
    text-align: right;
    padding: 0 0 0 16px;  
}

@media screen and (min-width: 600px){

    table.price_table td {
        padding: 0 32px;
        line-height: 64px; 
        display: inline-block;
        font-size: inherit;
       
    }
    table.price_table td:first-child {
        padding: 0 32px 0 0;
        line-height: 32px;
        width: 60%;
        font-style: italic;
    }

    table.price_table td:nth-child(2) {
        text-align: right;
        padding: 0 0 0 32px;
        line-height: 64px; 
        width: 20%;
       
    }
    table.price_table td:nth-child(3) {
        line-height: 64px; 
        width: 20%;
        text-align: right;
        padding: 0 0 0 32px;

       
    }

}





/* ALTRO */

.title{
    font-size: 30px;
    font-style: italic;
    margin-top: 64px;
    margin-bottom: 32px;
}

h3{
    font-weight: bold;
    font-size: 20px;
    text-transform: uppercase;
    margin-bottom: 32px;
}

p.font_12 {
    font-size: 12px;
    line-height: 14px;
} 


/* FORM CONTATTI */

.form_flex {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -ms-flex-negative: inherit;
        flex-shrink: inherit;
    -ms-flex-pack: justify;
        justify-content: space-between;
    -ms-flex-direction: column;
        flex-direction: column;
}
.form_flex > div {
    width: 100%;
    position: relative;
}


@media screen and (min-width: 600px){
    .form_flex {
        -ms-flex-direction: row;
            flex-direction: row;
    }
    .form_flex > div {
        width: 49%;

    }
}

.form-control {
    border-radius: 2px;
    font-size: 18px;
    border: 1px solid #111;
    padding: 20px;
    height: auto;
}
.form-control-small {
    font-size: 10px;
    padding: 16px;
    width: 100%;
}

.form-control-border{
    border-right: none;
}
.no-border-input .form-control {
    border: none;
    box-shadow: none;
    border-radius: 0px;
    border-bottom: 1px solid #333
}

.no-border-input ::-webkit-input-placeholder {
    font-style: italic;
}
.no-border-input ::-moz-placeholder {
    font-style: italic; 
}
.no-border-input ::-moz-placeholder {
    font-style: italic;  
}
.no-border-input ::-ms-input-placeholder {  
    font-style: italic; 
}

.form-group ::-webkit-input-placeholder {
    color: #111;
}
.form-group ::-moz-placeholder { 
    color: #111;
}
.form-group ::-moz-placeholder {  
    color: #111;
}
.form-group ::-ms-input-placeholder {   
    color: #111;
}


/* ICONE */

h3.icon_treno {
    background: url(img/icona3.png);
    background-repeat: no-repeat;
    text-indent: 36px;
    background-size: 64px;
    line-height: 40px;
    background-position: -17px -3px;
    margin-bottom: 24px;
}
h3.icon_aereo {
    background: url(img/icona1.png);
    background-repeat: no-repeat;
    text-indent: 36px;
    background-size: 64px;
    line-height: 40px;
    background-position: -14px -2px;
    margin-bottom: 24px;
}
h3.icon_auto {
    background: url(img/icona2.png);
    background-repeat: no-repeat;
    text-indent: 36px;
    background-size: 64px;
    line-height: 40px;
    background-position: -18px -2px;
    margin-bottom: 24px;
}


/* CAROUSEL
-------------------------------------------------- */

.carousel {
  max-height: 100%;
  margin-bottom: 60px;
  height:auto;
}
.carousel-caption {
  z-index: 10;
    background: rgba(0, 0, 0, 0.45);
}

.carousel .item {
  max-height: 100%;
  background-color: #777;
}
.carousel-inner > .item > img {
 /*  position: absolute;*/
  top: 0;
  left: 0;
  min-width: 40%;
  max-width: 100%;
  width: 100%;
  margin-right:auto;
  margin-left:auto;
  height:auto;

}

.carousel-control{
    display: none;
}

.galleria_immagini.fullscreen-on .carousel-control{
    display: block;
}

a.carousel-fullscreen-on {
    position: absolute;
    top: 16px;
    right: 16px;
    color: #fff;
    text-shadow: -1px -1px 5px #333;
    z-index: 99999999;
}
a.carousel-fullscreen-off {
    display: none;
    position: absolute;
    top: 16px;
    right: 16px;
    color: #fff;
    text-shadow: -1px -1px 5px #333;
}

.galleria_immagini{
    margin: 0 auto;
    width: 100%;
}


/* BUTTONS */

.btn.btn-primary {
    background: #fcfcfc;
    color: #111;
    border-radius: 0;
    border: 1px solid #111;
    font-size: 20px;
    text-shadow: none;
    padding: 16px 32px;
    /* margin-top: 32px; */
}

.btn.btn-form{
    background: #fcfcfc;
    color: #111;
    border-radius: 0;
    text-shadow: none;
    border-color: #111;
    /* margin-top: 32px; */
}

/* DATEPICKER */


div#ui-datepicker-div {
    font-family: Basckerville, serif;
    background: #EFEFEF;
    z-index: 99999 !important;
}

.ui-datepicker-header.ui-widget-header.ui-helper-clearfix.ui-corner-all {
    background: none;
    border: none;
}

a.ui-state-default {
    background: none !important;
    border: none !important;
}

div#ui-datepicker-div {}


.ui-datepicker th  {
    color: #999 !important;
    font-weight: 300;
}

.ui-datepicker-title {
    /* color: #999; */
    font-style: italic;
    font-size: 18px;
}


a.ui-state-default.ui-state-active {
    background: #bbb !important;
    border-radius: 3px;
    padding-right: 12px;
}

a.ui-state-default {
    text-align: center !important;
}




/* LANGUAGE */

li.menu-item:hover > a {
    color: #9e9e9e !important;
    transition: 0.1s ease-out all;
}

.qtranxs-lang-menu > a{
   display: none !important;
}
.qtranxs-lang-menu ul.sub-menu li{
   display: inline-block;
   margin-right: 16px;
}

.qtranxs-lang-menu ul.sub-menu a{
    color: #111;
}

.qtranxs-lang-menu ul.sub-menu {
    list-style: none !important;
    display: inline-block;
    padding: 18px;
    width: 200px;

}

.qtranxs-lang-menu {
    background: #efefef;
    transition: 0.1s ease-out all;
}

.qtranxs-lang-menu:hover {
    background: #d4d0d0;
    color: #333 !important;
}

.qtranxs-lang-menu:hover > a {
    background: #d4d0d0;
    color: #333 !important;
}


ul.sub-menu .qtranxs-lang-menu-item:hover > a {
    transition: 0.1s ease-out all;
    text-decoration: none;
}

@media screen and (min-width: 600px){

    .qtranxs-lang-menu:hover ul.sub-menu {
        height: auto;
    }

    .qtranxs-lang-menu ul.sub-menu {
        list-style: none !important;
        padding: 0px;
        position: absolute;
        width: 112px;
        top: 36px;
        box-shadow: 0px 0px 4px #c5c5c5;
        left: -1px;
        background: #efefef;
        z-index: 9999;
        font-size: 16px;
        overflow: hidden;
        height: 0px;
        transition: 0.1s ease-out all;
    }
    .qtranxs-lang-menu ul.sub-menu a{
        color: #333 !important;
        font-size: 12px;
        text-transform: uppercase;
    }
    .qtranxs-lang-menu ul.sub-menu a > img{
        position: relative;
        top: -2px;
    }

    .qtranxs-lang-menu ul.sub-menu li{
       margin-right: auto;
       display: block;
       padding: 16px;
    }

    .qtranxs-lang-menu ul.sub-menu li:hover {
        background: #d4d0d0;
    }

    

    .qtranxs-lang-menu > a{
       display: block !important;
       text-transform: uppercase;
        font-size: 14px !important;
    }

    .qtranxs-lang-menu > a > img{

        top: -2px;
        position: relative;

    }
}




/* HERO IMAGE */
.shadow{
        box-shadow: 0px 11px 11px -10px #999;

}

.hero_image{
    width: 100%;
    height: 400px;
    overflow: hidden;
    margin-top: -32px;
    box-shadow: 0px 11px 11px -10px #999;
}

.hero_image img{
    object-fit: cover;
    height: 400px;

}

.hero_image_full{
    width: 100%;
    height: 300px;
    overflow: hidden;
    box-shadow: 0px 11px 11px -10px #999;

}

.hero_image_full img{
    object-fit: cover;
    height: 300px;

}


/* HR */

hr{
    margin: 32px auto;
}

/* PAGE_CONTAINER */

.container.page_container {
    padding: 32px 15px;
}



#modal_termini .modal-body {
    padding: 64px;
    background: #ededed;
}


/* CIAO */


@media (max-width: 1000px) {
  .navbar-header {
      float: none;
  }
  .navbar-left,.navbar-right {
      float: none !important;
  }
  .navbar-toggle {
      display: block;
  }
  .navbar-collapse {
      border-top: 1px solid transparent;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
  }
  .navbar-fixed-top {
      top: 0;
      border-width: 0 0 1px;
  }
  .navbar-collapse.collapse {
      display: none!important;
  }
  .navbar-nav {
      float: none!important;
      margin-top: 7.5px;
  }
  .navbar-nav>li {
      float: none;
  }
  .navbar-nav>li>a {
      padding-top: 10px;
      padding-bottom: 10px;
  }
  .collapse.in{
      display:block !important;
  }
}

.carousel-inner {
    position: relative;
    width: 100%;
    overflow: visible;
}


.alert-info {
    background-image: -webkit-linear-gradient(top,#efefef 0,#ececec 100%);
    background-image: -o-linear-gradient(top,#efefef 0,#ececec 100%);
    background-image: -webkit-gradient(linear,left top,left bottom,from(#efefef),to(#ececec));
    background-image: linear-gradient(to bottom,#efefef 0,#ececec 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffefefef', endColorstr='#ffececec', GradientType=0);
    background-repeat: repeat-x;
    border-color: #eaeaea;
}



@keyframes animationFrames{
  0% {
    transform:  scaleX(1.00) scaleY(0.00) ;
  }
  70% {
    transform:  scaleX(1.00) scaleY(0.00) ;
  }
  100% {
    transform:  scaleX(1.00) scaleY(1.00) ;
  }
}

@-moz-keyframes animationFrames{
  0% {
    -moz-transform:  scaleX(1.00) scaleY(0.00) ;
  }
  70% {
    -moz-transform:  scaleX(1.00) scaleY(0.00) ;
  }
  100% {
    -moz-transform:  scaleX(1.00) scaleY(1.00) ;
  }
}

@-webkit-keyframes animationFrames {
  0% {
    -webkit-transform:  scaleX(1.00) scaleY(0.00) ;
  }
  70% {
    -webkit-transform:  scaleX(1.00) scaleY(0.00) ;
  }
  100% {
    -webkit-transform:  scaleX(1.00) scaleY(1.00) ;
  }
}

@-o-keyframes animationFrames {
  0% {
    -o-transform:  scaleX(1.00) scaleY(0.00) ;
  }
  70% {
    -o-transform:  scaleX(1.00) scaleY(0.00) ;
  }
  100% {
    -o-transform:  scaleX(1.00) scaleY(1.00) ;
  }
}

@-ms-keyframes animationFrames {
  0% {
    -ms-transform:  scaleX(1.00) scaleY(0.00) ;
  }
  70% {
    -ms-transform:  scaleX(1.00) scaleY(0.00) ;
  }
  100% {
    -ms-transform:  scaleX(1.00) scaleY(1.00) ;
  }
}

@keyframes slideInFromTop{
  0% {
    transform:  translateY(-100px);
  }
  70% {
    transform:  translateY(-100px);
  }
  100% {
    transform:  translateY(0px);
  }
}

@-moz-keyframes slideInFromTop{
  0% {
    -moz-transform:  translateY(-100px);
  }
  70% {
    -moz-transform:  translateY(-100px);
  }
  100% {
    -moz-transform:  translateY(0px);
  }
}

@-webkit-keyframes slideInFromTop{
  0% {
    -webkit-transform:  translateY(-100px);
  }
  70% {
    -webkit-transform:  translateY(-100px);
  }
  100% {
    -webkit-transform:  translateY(0px);
  }
}

@-o-keyframes slideInFromTop{
  0% {
    -o-transform:  translateY(-100px);
  }
  70% {
    -o-transform:  translateY(-100px);
  }
  100% {
    -o-transform:  translateY(0px);
  }
}

@-ms-keyframes slideInFromTop{
  0% {
    -ms-transform:  translateY(-100px);
  }
  70% {
    -ms-transform:  translateY(-100px);
  }
  100% {
    -ms-transform:  translateY(0px);
  }
}



nav.navbar.navbar-default {
    animation: slideInFromTop ease-out 1.5s;
    animation-iteration-count: 1;
    transform-origin: 50% 50%;
    animation-fill-mode:forwards; /*when the spec is finished*/
    -webkit-animation: slideInFromTop ease-out 1.5s;
    -webkit-animation-iteration-count: 1;
    -webkit-transform-origin: 50% 50%;
    -webkit-animation-fill-mode:forwards; /*Chrome 16+, Safari 4+*/
    -moz-animation: slideInFromTop ease-out 1.5s;
    -moz-animation-iteration-count: 1;
    -moz-transform-origin: 50% 50%;
    -moz-animation-fill-mode:forwards; /*FF 5+*/
    -o-animation: slideInFromTop ease-out 1.5s;
    -o-animation-iteration-count: 1;
    -o-transform-origin: 50% 50%;
    -o-animation-fill-mode:forwards; /*Not implemented yet*/
    -ms-animation: slideInFromTop ease-out 1.5s;
    -ms-animation-iteration-count: 1;
    -ms-transform-origin: 50% 50%;
    -ms-animation-fill-mode:forwards; /*IE 10+*/
}


.container{

    animation: animationFrames ease-out 1s;
  animation-iteration-count: 1;
  transform-origin: 50% 50%;
  animation-fill-mode:forwards; /*when the spec is finished*/
  -webkit-animation: animationFrames ease-out 1s;
  -webkit-animation-iteration-count: 1;
  -webkit-transform-origin: 50% 50%;
  -webkit-animation-fill-mode:forwards; /*Chrome 16+, Safari 4+*/ 
  -moz-animation: animationFrames ease-out 1s;
  -moz-animation-iteration-count: 1;
  -moz-transform-origin: 50% 50%;
  -moz-animation-fill-mode:forwards; /*FF 5+*/
  -o-animation: animationFrames ease-out 1s;
  -o-animation-iteration-count: 1;
  -o-transform-origin: 50% 50%;
  -o-animation-fill-mode:forwards; /*Not implemented yet*/
  -ms-animation: animationFrames ease-out 1s;
  -ms-animation-iteration-count: 1;
  -ms-transform-origin: 50% 50%;
  -ms-animation-fill-mode:forwards; /*IE 10+*/
}
