/*---------- GLOBAL STYLES ----------*/
/*---------- 
#F2F2F2 fondo
#A5132A ROSSO 
#666 testo 
#8A7D76 marroncino
 
 ----------*/


html {  
    overflow-y: scroll;
    -webkit-backface-visibility: hidden;
    backface-visibility: initial;
} 
  
html, 
body {
	box-sizing: border-box;
	margin:0;
	padding:0;
	height:100%;
} 
body {
    -webkit-animation-delay: 0.1s;
    -webkit-animation-name: fontfix;
    -webkit-animation-duration: 0.1s;
    -webkit-animation-iteration-count: 1;
    -webkit-animation-timing-function: linear;
    font-family: Open Sans;
	color:#666;
	background:#F2F1F1;
    -webkit-font-smoothing: subpixel-antialiased;
}


*,
*:before,
*:after {
  box-sizing: inherit;
}


@-webkit-keyframes fontfix {
    from { opacity: 1; }
    to   { opacity: 1; }
}

/* TEXT SELECTION */
::selection { background: #A5132A; color:#FFF; }  
::-moz-selection { background: #A5132A; color:#FFF;  }  
::-webkit-selection { background: #A5132A;  color:#FFF; }  
:focus {
    outline: none;
}  

.hide { display:none; }

a {
   color:#A5132A;
}
a:hover,
a:focus {
    text-decoration: none;
    outline: none; 
	color:#8A7D76;
} 

.error { background:#ed5050; color:#FFF; padding:5px; }
.sent { background:#baf17a; color:#000; padding:5px;  }

img:not(#logo) { max-width:100%; height:auto; }

hr {  border-top: 1px solid #e40613; margin: 0 0 5px;  }
#wrapper {  min-height:100%; position:relative; }


.equal {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display:         flex;
  flex-wrap: wrap;
}
.equal > [class*='col-'] {
  display: flex;
  flex-direction: column;
}





/*---------- TYPOGRAPHY ----------*/ 
h1, h2, h3, h4, h5, h6 {
	font-weight: 300;
	line-height: 1.1;
    margin: 10px 0;
} 
h1 {
    font-weight: 200;
    letter-spacing: 0px;
} 
h2 { 
    font-weight: 200;
    line-height: 1.2; 
}
h3 {
    font-weight: 200;
    font-size: 30px;
    letter-spacing: 0px;	    
} 
h4 {
	font-size: 20px;
    letter-spacing: 0px;
} 
h3 .smaller {
    font-size: 20px;
    font-weight: 400;
}
h5 {
    font-size: 18px;
    letter-spacing:0px;
    line-height: 1.2;
}
h5 small {
    font-size: 13px;
    letter-spacing:0px;
}
h6 {
    font-size: 13px;
    letter-spacing:0px;
}
h6 small {
    font-size: 14px;
    letter-spacing:0px;
} 
b, strong { font-weight: 700;  }
p {
	font-size: 14px;
    line-height: 1.75;
	font-weight: 400; 
} 
.titolo { font-weight:700; font-size:18px; }


@media (min-width: 992px) {
    h1 {
        font-size: 66px;
        letter-spacing: -1px;
    }
    h1 small {
        font-size: 66px;
        letter-spacing: 0px;
    }
    h2 {
        font-size: 55px;
        letter-spacing: -0.05em;
    }
    h2 small {
        font-size: 40px;
        letter-spacing: 0px;
    } 
} 
@media (max-width: 992px) { 
    h1 {
        font-size: 56px;
        letter-spacing: -1px;
    } 
    h2 {
        font-size: 40px;
        letter-spacing: -0.05em; 
    }
    h2 small {
        font-size: 40px;
        letter-spacing: 0px;
    }
} 
@media (max-width: 680px) { 
}
@media (max-width: 480px) { 
  
}





/*----- Back to Top Button -----*/
#back-to-top {
    position: fixed;
    color: #fff;
	background-color: #A5132A;
    z-index: 9900;
    line-height: 26px;
    bottom: 15px;
    right: 20px;
    display: none;
    cursor: pointer;
    border-radius: 2px;
    height: 30px;
    width: 30px;
    display: block;
    text-align: center;
    opacity: 0;
    transition: background-color 0.1s linear;
    -moz-transition: background-color 0.1s linear;
    -webkit-transition: background-color 0.1s linear;
    -o-transition: background-color 0.1s linear;
}
#back-to-top:hover {
    color: #fff;
    background-color: #8A7D76;
}
#back-to-top .icon {
    font-size: 10px;
}
/*---------- CONTAINER ----------*/
#container { padding-top:185px; padding-bottom:0px;}
@media (max-width: 992px) {
	#container {
		margin-top: 0px;
	}
}

/* GOOGLE MAPS */
.map {
	height:400px !important;
	border-bottom: 1px solid #ccc;
	margin-bottom:30px;
}
.map-legend {
	text-align:center;
}
.location {
	padding:24px;
	border-left:16px solid #fff;
	border-right:16px solid #fff;
	background-size:cover;
	background-position:center center;
	position:relative;
	color:white;
}
.location-1 {
	border-bottom:8px solid white;
	background-color:#554738;
	background-image:url( 'images/coffee_bg.jpg');
}
.location-2 {
	border-top:8px solid white;
	background-color:#383838;
	background-image:url( 'images/office_bg.jpg');
}

.location::after {
	content:"";
	background-color:inherit;
	opacity:.65;
	position:absolute;
	left:0;
	right:0;
	top:0;
	bottom:0;
}
.location--inner {
	position:relative;
	z-index:1;
}
.location img {
	display:inline-block;
	margin:24px 0 12px;
	/* setting width and height instead results in a strange behavior in Safari */
	-webkit-transform:scale(2);
	transform:scale(2);	
}

@media screen and (min-width: 1024px) {
	
	.map, .map-legend {
		height:100%;
	}
	.desk-three-forth {
		float: left;
		width:75%;
	}
	.desk-one-forth {
		width:25%;
	}
	.map-legend, .location {
		display:flex;
		flex-direction:column;
	}
	.location {
		border-left:none;
		min-height:50%;
		justify-content:center;
		align-items:center	
	}
	.location-1 {
		border-top:16px solid white;
	}
	.location-2 {
		border-bottom:16px solid white;
	}
}

/* if using sprites */
.marker-icon {
	background-image:url("images/markers/svg/Arrows.svg");
	display:inline-block;
	width:48px;
	height:48px;
	margin:24px 0 12px;
	/* setting background-size instead results in a strange behavior in Safari */
	-webkit-transform:scale(2);
	transform:scale(2);
}
.marker-office {
	background-position:48px 0;
}

/*---------- THEME  ----------*/
section { width:100%; max-width:940px; margin:0 auto;  }
section.header { text-align:center; background:#F2F1F1; }
#logo { margin:35px auto 20px; }
#navbar { background:#FFF; width:100%; display:block;  margin-bottom:-10px;}


.homepic { width:320px;  margin:0 auto; }
.homelogo {
	width:320px;
    height:54px;
    background:#e9e7e7;
    margin:0px auto; 
	text-align:center; 
	white-space: nowrap;
	}
.homelogo:before,
.homelogo_before {
    content: "";
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}
.homelogo img {
	vertical-align: middle;
    max-height: 54px;
    max-width: 320px;
	}


.homelogo-parent  {
	max-width:320px;
	 margin:5px auto; 
	}
/*
#homelinks a:hover img{ 
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
  filter: alpha(opacity=80);
  -moz-opacity: 0.8;
  -khtml-opacity: 0.8;
  opacity: 0.8;
}

#homelinks a:hover .homelogo-parent {
	 transition: all 0.1s ease-in-out;
    max-width: 320px;
    margin: -17px auto 22px;
}
*/
#menu {
    padding: 0px 15px;
    list-style: none;
	background:#FFF;
} 

#menu li {
	display:inline-block;
	}
#menu li.pull-right{
	float:right;
	}
#menu li a{
    color: #666;
    font-weight: 700;
	font-size:13px;
	display:inline-block;
	padding: 10px 15px;
	}
#menu li a:hover{
    color: #A5132A;
	}

#menu li > .submenu {display:none;  background:#FFF; padding: 0; }
#menu li:hover > .submenu {display:block !important;   }
.submenu li{ float:none;  display:block !important;  }
/*.subhover li.active:hover > .submenu li { display:block !important; }*/

.shadow{ 
	position:relative;
	}
.shadow:after { 
	content: "";
    display: block;  bottom:0; z-index:3; /*position:absolute;*/
    background: url('../img/shadow.png') center top no-repeat;
	background-size: contain;
	background-size: 100% 100%;
    height: 18px;
	}



.nav-small #logo { margin: 5px auto; width: 150px; }

header div{ position:fixed;  margin: 0px auto; width:100%; z-index:3;}

section.red { background:#A5132A; margin-top:10px; padding:35px; color:#FFF;  font-weight:300; font-size:14px; line-height:16px; }

section.form { padding:35px;  }

section.footer-top { position:relative; background:#F5F4F4;  color:#A51D31; font-size:14px; text-align:center }

.contacticon img { display:block; margin:0 auto; padding:20px 0 10px 0; }

@media (min-width: 768px) {  
	.ophilogofot {margin-left:-30px; }
}

.bg-gr { background:#DDDDDD; }

section.footer-bot {  background:#DDDDDD; padding:10px; }

section.footer-red { background:#A5132A; margin:0px; padding:10px; color:#FFF;  font-weight:300; font-size:13px; text-align:center; margin:0 auto;}


.row {
    margin-right: 0px;
    margin-left: 0px;
}  


.col1 {
	width:45%; float:left;
	}

.col2 {
	width:45%; float:left; margin-left:10%;
	}

@media (max-width: 767px) { 
	.col1, .col2 {
	width:100%; float:none;margin-left:0;
	}
}

label { width:100%; display:block; font-size:11px; font-weight:300; }
input[type=text],textarea { width:100%; background:#dcdbdb; border:1px solid #9e9d9d; margin-bottom:10px; }
input[type=text]{ height:31px; }
textarea{ height:160px; }
input[type=submit]{ font-weight:700; font-size:18px; color:#FFF; background:#a5132a; border:0px; padding:2px 15px; float:right; clear:both; 
	-webkit-border-radius: 16px;
	-moz-border-radius: 16px;
	border-radius: 16px;
	transition: all 0.4s ease-in-out;
	}
input[type=submit]:hover{  color:#FFF; background:#8a7d76; 
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	
	}


/* xs Extra small devices (phones, less than 768px) */
@media (max-width: 767px) { }

/* sm Small devices (tablets, 768px and up) */
@media (min-width: 768px) {  }

/* md Medium devices (desktops, 992px and up) */
@media (min-width: @screen-md-min) { }

/* lg Large devices (large desktops, 1200px and up) */
@media (min-width: @screen-lg-min) {  }


.privacytext { text-align:left !important;}