/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
color: #5a5a5a;
font-family: 'Roboto', sans-serif;
font-weight:400;
/*background:url("../img/background.jpg");
background:url("../img/background-texture.png");*/
background-image:url("../img/concrete-wall.png");
background-repeat:repeat;
background-position:center;
background-color:#DADADA;
overflow-x: hidden;
}
h4{
font-size: 16px;
line-height: 1.3;
}
.mt70{
margin-top:70px;	
}
.pt-70{
padding-top:70px;	
}
.logo{
height: 50px;
}
.texture{
background-image:url("../img/background-texture.png")	
}
.rightgrey img{
padding-top:20px;	
}
.navbar{
background-color:#666;
/*background-image:url("../img/dark-denim.png");*/
/*background: #fff linear-gradient(-45deg, rgba(51, 51, 51, 0.3) 0px, transparent 30%) repeat scroll 0 0;*/
background-color:#fff;
border-bottom: solid 5px #0c2b59;
box-shadow: 0 3px 7px 0 rgba(0, 0, 0, 0.35);
min-height:70px;
}
.navbar  .nav > li > a {
color: #0c2b59;
font-size:12px;
text-transform:uppercase
}
.featurette .col-md-4 div
{
background-color:#0c2b59;	
}
.text{
padding-left:20px;
padding-right:20px;
padding-bottom:10px;
color:#fff;
font-size:13px;
}
h2{
font-weight:300;	
}
h2 strong{
font-weight:800;	
}
.navbar .nav > li > a:hover {
background-color: #0c2b59;
color: #fff;
}
.navbar-brand {
padding: 0px 15px;
}
.casetta{
margin-top: 10px;
color:#0c2b59;
}
.casetta:hover{
color: #337ab7;
}
/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
height: 500px;
}
.internal {
height: 400px;
}

/* Since positioning the image, we need to help out the caption */
.carousel-caption {
z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel .item {
height: 500px;
background-color: #777;
}
.carousel-inner > .item > img {
position: absolute;
top: 0;
left: 0;
min-width: 100%;
height: 500px;
filter: grayscale(50%);
}
.internal .item {
height: 400px;
}
.internal .carousel-inner > .item > img {
height: 400px;
}
video#bgvid { 
position: fixed; right: 0; bottom: 0;
min-width: 100%; min-height: 100%;
width: auto; height: auto; z-index: -100; 
background: url(loop-hd.jpg) no-repeat;
background-size: cover; 
z-index: 0;
}
#cercar, #scrivir, #chiamar, #menur, #richiamar, #linguer{
	display:none;
	position:absolute;
	width:calc(100% - 20px);
	padding:10px;
	background-color:#5a5a5a;
	margin-top:82px;
	z-index:255;
	color:#FFF;
	cursor:pointer;
}
#cerca_nascosto{
position: fixed;	
top:95px;
bottom: 0px;
width:960px;
left:50%;
margin-left: -490px;
border: solid 2px #fff;
display:none;
background: rgba(255, 255, 255, 0.95);
z-index:255;
padding:20px;
overflow:auto;
color:#5a5a5a;
}
#cerca_nascosto a{
color:#0c2b59;
}
/* MARKETING CONTENT
-------------------------------------------------- */
.marketing .col-lg-4 {
margin-bottom: 20px;
text-align: center;
}
.marketing h2 {
font-weight: normal;
margin: 40px 0;
}
.marketing .col-lg-4 p {
margin-right: 10px;
margin-left: 10px;
}


/* Featurettes
------------------------- */
.parallax {
/* The image used */
background-image: url("/img/parallax.jpg");

/* Set a specific height */
height: 300px;

/* Create the parallax scrolling effect */
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
.featurette{
margin-bottom: 40px;
}
.overtext{
text-align: center;
position: relative;
bottom: 50px;
height: 50px;
width: 100%;
background-color: rgba(255,255,255,0.8);
padding: 3px;
font-size: 14px;
}
.hovering{
text-align: left;
display: block;
position: absolute;
top: 160px;
height: 220px;
width: 100%;
background-color: rgba(255,255,255,0.9);
padding: 8px;
font-size: 14px;
-moz-transition: all .5s ease-out;
-webkit-transition: all .5s ease-out;
transition: all .5s ease-out;
cursor:pointer;
}
.homegrid:hover .hovering{
top: 0px;
}
.homegrid{
overflow: hidden;
margin: 2px;
padding: 0px;
width:calc(25% - 4px);
}
.homegrid a:hover{
color:#fff;
}
.homegrid img{
-moz-transition: all .25s ease-out;
-webkit-transition: all .25s ease-out;
transition: all .25s ease-out;
}
.homegrid:hover img{
moz-transform: scale(1.5);
-webkit-transform: scale(1.5);
transform: scale(1.5);
}
.featurette-heading {
font-weight: 300;
line-height: 1;
letter-spacing: -1px;
}
.featurette hr{
width: 100%;
height: 1px;
background-color: #00778b;
}
.featurette .btn{
border: 1px solid #00778b;
}
.featurette a{
font-weight: 500;
color:#0C2B59;
}
.footer .lighter{
height: 180px;
padding: 20px;
}
.footer input, .footer .btn{
height:50px;
}
.footer input{
background-color: transparent;
color: #fff;
border: 1px solid #fff;
border-radius: 2px;
}
footer{
height: 30px;
margin-right: -15px;
margin-left: -15px;
position: fixed;
bottom: 0;
width: 100%;
background-color:#2B2B2B;
z-index: 9;
}
footer .fa-2x {
    font-size: 1em;
}
.navbar-brand{
height:70px;
}
.navbar-default .navbar-brand:hover{
background: #fff;
}
.navbar-brand img{
height:60px;
}
.navbar-nav > li > a {
    padding-bottom: 25px;
    padding-top: 25px;
	color:#0c2b59;
}
footer p{
line-height: 30px;
margin: 0;
}
footer .col-md-5ths{
height: 60px;
padding: 5px;
}
.reqform .lighter{
height: 400px;
font-size: 18px;
}
.carousel .about{
height: 400px;
font-size: 18px;
}
.reqform input[type="text"], .reqform input[type="date"], .reqform input[type="number"], .reqform select, .reqform textarea{
color: #00778b;
height: 40px;
background: #fff;
border: none;
border-radius: 2px;
padding: 3px;
}
.reqform .btn{
background: transparent;
border: 2px solid #00778b;
}
.reqform h3{
font-weight: 700;
}
.contform input[type="text"], .contform input[type="email"], .contform select{
background: transparent;
color: #00778b;
height: 40px;
border: 1px solid #00778b;
border-radius: 2px;
padding: 4px;

width: 100%;
}
.contform textarea{
background: transparent;
color: #00778b;
border: 1px solid #00778b;
border-radius: 2px;
padding: 4px;
width: 100%;
}
.contform .btn{
background: transparent;
border: 1px solid #00778b;
float: right;
width: 300px;
font-weight: 700;
}
.phone a{
font-size: 20px;
margin-top: 5px;
margin-left: 5px;
font-weight: 700;
}
.points p{
padding-top: 20px;
padding-right: 50px;
}
.points h2{
margin-bottom: 40px;
}
.box{
height: 100px;
line-height: 100px;
}
.title{
text-transform:uppercase;
font-size: 16px;
}
.upper{
text-transform:uppercase;
}
.routebar{
font-size: 18px;
padding: 5px;
}
.grey{
color: #9b9b9b;
}
.greybg{
/*background-color: #ececec;*/
background: #fff linear-gradient(45deg, rgba(51, 51, 51, 0.4) 0px, transparent 40%) repeat scroll 0 0

}
.blackbg{
background-color:#424242;
}
.lgtgrey{
background-color: #f9f9f9;
}
.greybrd{
border: 2px solid #ececec;
}
.images .greybrd{
height: 180px;
margin-right: 20px;
}
.rightgrey{
/*border-right: 1px solid #5a5a5a;*/
}
.lighter{
background-color: rgba(255,255,255,0.3);
color: #FFF;
}
.darker{
background-color: rgba(0,0,0,0.3);
}
.marketing .btn, .request .btn{
border: 1px solid #00778b;
}

.request hr{
width: 300px;
height: 2px;
}
#checkprivacy{
float: left;
}
.blue{
color: #0c2b59;
/*text-shadow:2px 1px #999;*/
}
.h2, h2 {
font-size: 26px;
margin-bottom:0px;
}
.white, .footer a{
color: #fff;
}
.footer a{
font-size:12px;
text-transform:uppercase;
}
.whitebg{
background-color: #fff;
}
.bluebg{
/*background-color: #fff;*/
background: #fff linear-gradient(45deg, rgba(51, 51, 51, 0.4) 0px, transparent 40%) repeat scroll 0 0
}

.cyanbg{
background-color: #46AABB;
}
.cyan{
color: #44074D;
}
.foreight{
height: 230px;
}
.three{
height: 360px;
}
.three p{
font-size: 18px;
}
.bigpad{
padding: 50px;
}
.cat1{
background-color: rgba(81,45,97,0.9);
}
.cat2{
background-color: rgba(62,174,222,0.9);
}
.cat3{
background-color: rgba(118,153,66,0.9);
}
.cat4{
background-color: rgba(74,133,23,0.9);
}
.cat5{
background-color: rgba(38,86,156,0.9);
}
.cat6{
background-color: rgba(47,140,233,0.9);
}
.cat7{
background-color: rgba(67,152,179,0.9);
}
.cat8{
background-color: rgba(30,73,147,0.9);
}
.cat9{
background-color: rgba(225,106,18,0.9);
}
.cat10{
background-color: rgba(75,21,0,0.9);
}
.cat11{
background-color: rgba(45,46,73,0.9);
}
.cat12{
background-color: rgba(91,162,117,0.9);
}
.mt-20{
margin-top: 20px;
}
.mt-40{
margin-top: 40px;
}
.mt-60{
margin-top: 60px;
}
.mt-80{
margin-top: 80px;
}
.mt-100{
margin-top: 100px;
}
.mb-20{
margin-bottom: 20px;
}
.mb-40{
margin-bottom: 40px;
}
.mb-60{
margin-bottom: 60px;
}
.mb-80{
margin-bottom: 80px;
}
.mb-100{
margin-bottom: 100px;
}

.pt-20{
padding-top: 20px;
}
.pt-40{
padding-top: 40px;
}
.pt-60{
padding-top: 60px;
}
.pt-80{
padding-top: 80px;
}
.pb-20{
padding-bottom: 20px;
}
.pb-40{
padding-bottom: 40px;
}
.pb-60{
padding-bottom: 60px;
}
.pb-80{
padding-bottom: 80px;
}
.fullwidth{
width: 100%;
}
.halfwidth{
width: 48%;
margin-right: 5px;
}
.padded{
padding: 10px;
}
a:focus, a:hover{
color:#79A1DB;
text-decoration:none;
}
.hovering a{
font-size:16px;
font-weight:400;
line-height:20px;
}
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:focus, .navbar-default .navbar-nav > .active > a:hover {
    background-color: #0c2b59;
    color: #fff;
}
/* RESPONSIVE CSS
-------------------------------------------------- */
.col-xs-5ths,
.col-sm-5ths,
.col-md-5ths,
.col-lg-5ths {
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 1px;
}

.col-xs-5ths {
    width: 20%;
    float: left;
}

@media (min-width: 768px) {
    .col-sm-5ths {
        width: 20%;
        float: left;
    }
}

@media (min-width: 992px) {
    .col-md-5ths {
        width: 20%;
        float: left;
    }
}

@media (min-width: 1200px) {
    .col-lg-5ths {
        width: 20%;
        float: left;
    }
}
@media (min-width: 768px) {
/* Navbar positioning foo */
.navbar-wrapper {
margin-top: 20px;
}
.navbar-wrapper .container {
padding-right: 15px;
padding-left: 15px;
}
.navbar-wrapper .navbar {
padding-right: 0;
padding-left: 0;
}

/* The navbar becomes detached from the top, so we round the corners */
.navbar-wrapper .navbar {
border-radius: 4px;
}

/* Bump up size of carousel content */
.carousel-caption p {
margin-bottom: 20px;
font-size: 21px;
line-height: 1.4;
}

.featurette-heading {
font-size: 50px;
}
}

@media (min-width: 992px) {
.featurette-heading {
margin-top: 120px;
}
}
@media (max-width: 1024px) {
.hovering {
top: 110px;
}
}
@media (max-width: 768px) {
.hovering {
top: 80px;
}
/*
.hovering p, .hovering .btn{
display: none;
}
*/
.homegrid {
    margin: 2px;
    overflow: hidden;
    padding: 0;
    width: calc(100% - 4px);
}
}
@media (max-width: 760px) {
.hovering {
top: 180px;
height: 300px;
}
.footer span{
display: none;
}

.homegrid {
    margin: 2px;
    overflow: hidden;
    padding: 0;
    width: calc(100% - 4px);
}
}
@media (max-width: 480px) {
.box{
height: 50px;
line-height: 50px;
padding: 0px;
}
.box img{
width: 50px;
}
.rightgrey img {
    padding-top: 0px;
}
.navbar-default .navbar-collapse{
    width: 100%;
    overflow-x: hidden;
}
}
