 
/* SCROLLBAR */

html::-webkit-scrollbar {
    width: 9px;
}
 
/* Track */
html::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 4px rgba(133,133,133,0.3); 
    -webkit-border-radius: 7px;
    border-radius: 7px;
}
 
/* Handle */
html::-webkit-scrollbar-thumb {
    -webkit-border-radius: 7px;
    border-radius: 7px;
    background: rgba(133,133,133,0.3); 
    -webkit-box-shadow: inset 0 0 4px rgba(133,133,133,0.1); 
}
html::-webkit-scrollbar-thumb:window-inactive {
	background: rgba(133,133,133,0.3); 
}

/**/ 
 
body {
    margin: 0;
    background-color:#000;
}
body.richiesta {
    background-color:#fff;
}   

/*** STILI GENERALI ***/

.bottone-rosso-xl {    
	color: white;
	display: inline-block;
	font-weight: bold;
	border: none;
	cursor: pointer;
	width: 100%;
	height: 50px;
	line-height: 50px;
	padding: 0;
	text-transform: lowercase;
	text-align: center;
	font-size: 16px;
	margin-bottom: 0px;
	background: url(/img/red-button-preventivo-bg.png) repeat-x;
}

/*** POPUP SEMPLICE ***/

#wrapper {
    padding: 20px 80px;  
}

/*** POPUP STILE GALLERY ***/

#gallery_wrapper {
    width: 1086px;
    height: 586px;
    margin: 0 auto;    
}

#lx-col-popup {
    width: 730px;
    float: left;
    margin: 22px 24px;
    position: relative;
}
       
#lx-col-popup .slide .pic-cont {
    display: table;
    width: 730px; 
    background-color: #000;
    height: 542px;
}
    
#lx-col-popup .slide.bikemap-embed > div {
    text-align: center !important;
    background: transparent !important;
}

#lx-col-popup .slide .pic-inner-cont {
    display: table-cell;
    width: 730px; 
    height: 542px;  
    vertical-align: middle;
    text-align: center;
}

#lx-col-popup .slide img {
    max-width: 730px;  
    max-height: 542px;
    image-rendering: -webkit-optimize-contrast;
    filter: none; 
-webkit-filter: blur(0px); 
-moz-filter: blur(0px); 
-ms-filter: blur(0px);
filter:progid:DXImageTransform.Microsoft.Blur(PixelRadius='0');
}

#rx-col-popup {
    width: 250px;
    height: 500px;
    padding: 64px 32px 22px 24px;
    float: right;  
    background-color: #fff;
    border-left: 1px solid #dadddd; 
    position: relative;
} 
        
#rx-col-popup .bollino-nazione {
    margin-top: -43px;   
    margin-left: -7px;
    margin-bottom: 14px;
}         

#rx-col-popup .title {
    line-height: 22px;
    font-size: 18px;
}            

#rx-col-popup .subtitle {
    color: #489324;
    padding-bottom: 10px;   
    background: url(/img/dotted-h-border.png) bottom repeat-x;  
}  
    
#rx-col-popup .text {
    padding-top: 7px;   
    max-height: 380px;
    overflow-y: auto;
    margin-top: 10px;
    padding-right: 10px;
}  

/* SCROLLBAR */

#rx-col-popup .text::-webkit-scrollbar {
    width: 9px;
}
 
/* Track */
#rx-col-popup .text::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 4px rgba(133,133,133,0.3); 
    -webkit-border-radius: 7px;
    border-radius: 7px;
}
 
/* Handle */
#rx-col-popup .text::-webkit-scrollbar-thumb {
    -webkit-border-radius: 7px;
    border-radius: 7px;
    background: rgba(133,133,133,0.3); 
    -webkit-box-shadow: inset 0 0 4px rgba(133,133,133,0.1); 
}
#rx-col-popup .text::-webkit-scrollbar-thumb:window-inactive {
	background: rgba(133,133,133,0.3); 
}

/**/ 
 
#rx-col-popup .social-galleries {
    position: absolute;
    bottom: 22px;
}  

#rx-col-popup .social-galleries ul {
    padding: 0;
    margin: 0;
    list-style: none;  
    overflow: hidden;
}     

#rx-col-popup .social-galleries ul li {
    float: left;
}     
     
#rx-col-popup #foto-video {
    margin-bottom: 15px;
}       
     
#rx-col-popup #foto-video li {
    font-size: 12px;
    line-height: 16px;   
    cursor: pointer;
}       

#rx-col-popup #foto-video li:first-child {
    width: 127px;
}     

#rx-col-popup .social-galleries .ico {
    background: url(/img/controls_custom.png) -98px 0px no-repeat;  
    height: 16px;
    width: 22px;
    float: left;
    margin-right: 6px;
}   

#rx-col-popup .social-galleries .video .ico {
    background: url(/img/controls_custom.png) -98px -16px no-repeat;  
}        

/* POPUP STILE GALLERY: slideshow */

#foto-gallery-popup,
#video-gallery-popup {
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    width: 730px;
    height: 542px;
}

#video-gallery-popup {
    z-index: 9;
}

#video-gallery-popup {
    text-align: center;
    line-height: 542px;
}
    
#video-gallery-popup iframe {
    vertical-align: middle;
}

#foto-gallery-popup .foto-3d {
	width:726px;
	height:538px;
}

.foto-3d iframe {
	width: 100%;
	height: 100%;
}

.slides_container {
    width: 730px;
    height: 542px;
}

.slides_container .slide {
    width: 730px;
    height: 542px;
    background-color: #2a2a2a;  
    background-position: center center;
    background-repeat: no-repeat;
    -moz-transform:rotate(0.001deg);
}

#gallery-popup {
    overflow: hidden;
    background-color: #000;
}  

#gallery-popup .prev,
#gallery-popup .next,
#gallery-popup .video-prev,
#gallery-popup .video-next {
    width: 29px;
    height: 47px;
    background: url(/img/frecce_slide.png) -30px 0px no-repeat;  
    text-indent: -9999px;
    position: absolute;
    top: 249px;
    right: 16px;
    z-index: 550;       
    outline: medium none;
}

#gallery-popup .prev.hidden,
#gallery-popup .next.hidden,
#gallery-popup .video-prev.hidden,
#gallery-popup .video-next.hidden {
    display: none !important;
}

#gallery-popup .prev,
#gallery-popup .video-prev {
    background: url(/img/frecce_slide.png) -30px -48px no-repeat;  
    left: 16px;
}   

#gallery-popup .prev.active-arrow,
#gallery-popup .video-prev.active-arrow {
    background-position: 0px -48px;  
}   

#gallery-popup .next.active-arrow,
#gallery-popup .video-next.active-arrow {
    background-position: 0px 0px;  
}   

.mask-rx,
.mask-lx {
    height: 542px;
    width: 20%;
    position: absolute;
    top: 0;
    left: 0;
}         
 
.mask-rx {
    left: auto;   
    right: 0;    
}

#gallery-popup .didascalia {
    position: absolute;
    bottom: 0;
    z-index: 500;
    color: white;
    width: 700px;
    padding: 0 15px;
    height: 35px;
    line-height: 35px;
    background-color: rgba(0,0,0,0.7);
    font-size: 12px;  
    text-align: left;
    opacity:0;
    transition:opacity 0.2s linear;
}          

#foto-gallery-popup.hover .didascalia {
    opacity:1;
}

/*** GOOGLE MAP ***/

#mappa {
    width: 100%;
    height: 100%;
    margin: 0 auto;
} 

#mappa a:hover {
    text-decoration: underline;
}

#mappa img {
    max-width: none;
}

#gmap-info hr {
    margin: 4px 0;
}

/*** POPUP NEWSLETTER ***/

.popup-newsletter {
    overflow: hidden;     
    width: 981px;
}  

.popup-newsletter * {
    box-sizing: border-box;
    line-height: 24px;
}

.popup-newsletter .box-title {
    display: none;
}

.popup-newsletter #rx-col-popup,
.popup-newsletter #lx-col-popup {
    margin: 0;
    height: 547px;
}

.popup-newsletter #lx-col-popup {
    max-width: 448px;
}

.popup-newsletter #rx-col-popup {
    max-width: 533px;
    width: 533px;
    border: none;
    padding: 0;
}

.popup-newsletter .newsletter-cont {
    padding: 52px 40px 70px 38px;
    position: relative;
    height: 422px;
}

.popup-newsletter form > p:first-child {
    font-size: 16px;
}

.popup-newsletter .form-row {
    margin-bottom: 14px;
}

.popup-newsletter label {
    color: #666;
    font-weight: bold;
    display: inline-block;
}

.popup-newsletter label,
.popup-newsletter .privacy-input {
    width: 87px;
}

.popup-newsletter textarea, 
.popup-newsletter input[type="text"], 
.popup-newsletter input[type="datetime"], 
.popup-newsletter input[type="datetime-local"], 
.popup-newsletter input[type="date"], 
.popup-newsletter input[type="month"], 
.popup-newsletter input[type="time"], 
.popup-newsletter input[type="week"], 
.popup-newsletter input[type="number"], 
.popup-newsletter input[type="email"] {
  background-color: #fff;
  border: 2px solid #c9c9c9;
  border-radius: 3px;
  display: inline-block;
  min-height: 36px;
  min-width: 50px;
  padding: 0 0.4em;
  vertical-align: middle;
  width: 363px;
}

.popup-newsletter .check-row {
    margin-top: 28px;
}

.popup-newsletter .check-row * {
    line-height: 19px;
}

.popup-newsletter .check_label {
    width: 363px;
}

.popup-newsletter .check_label a {
    color: #666;
    font-weight: bold;
    line-height: 19px;
}

.popup-newsletter input[type="radio"] {
    margin: 5px 0 0;
}

.popup-newsletter .privacy-input,
.popup-newsletter .privacy-input p {
    float: left;
    text-align: center;
}

.popup-newsletter .privacy-input label {
    width: auto;
    line-height: 19px;
}

.popup-newsletter .bottone-reset {
    display: none;
}

.popup-newsletter #mc_embed_signup_scroll .bottone-rosso {
  background: #ff2b00;
  border: 0 none;
  border-radius: 3px;
  color: #ffffff;
  cursor: pointer;
  display: inline-block;
  font-family: "Helvetica Neue",Arial,Helvetica,Verdana,sans-serif;
  font-size: 13px;
  font-weight: 700;
  height: 36px;
  letter-spacing: 0.01em;
  line-height: 36px;
  margin-right: 0;
  overflow: hidden;
  padding: 0 18px;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  position: absolute;
  bottom: 17px;
  right: 40px;
}

.popup-newsletter .bottone-rosso:hover {
    background: #f8ac00;
}

.popup-newsletter #ajax-loading-ico {
  bottom: 20px;
  display: none;
  left: 150px;
  position: absolute;
}

.popup-newsletter #mce-success-response {
    color: #489223;
}

.popup-newsletter #mce-error-response {
	margin-top: 25px;
	color: #FF2B00;
}

/*** PRIVACY POPUP ***/

.privacy-popup {
    background: white;
}