/**
 * This file should get overwritten if Method 1 is used. If Method 2 is chosen,
 * remove this comment and start adding your styles to this file.
 */

/* FONT */


@font-face {
  font-family: 'DINPro-Medium';
  src: url('../fonts/DINPro-Medium.eot?#iefix') format('embedded-opentype'),
  		url('../fonts/DINPro-Medium.otf')  format('opentype'),
	     url('../fonts/DINPro-Medium.woff') format('woff'),
		 url('../fonts/DINPro-Medium.ttf')  format('truetype'),
		 url('../fonts/DINPro-Medium.svg#DINPro-Medium') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
    font-family: 'dinlightalternate';
    src: url('../fonts/dinlightalternate-webfont.eot');
    src: url('../fonts/dinlightalternate-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/dinlightalternate-webfont.woff2') format('woff2'),
         url('../fonts/dinlightalternate-webfont.woff') format('woff'),
         url('../fonts/dinlightalternate-webfont.ttf') format('truetype'),
         url('../fonts/dinlightalternate-webfont.svg#dinlightalternate') format('svg');
    font-weight: normal;
    font-style: normal;

}

body {
	font-family: 'DINPro-Medium', Helvetica,Arial,sans-serif;
	font-size: 18px;
}

.lead {
	font-family: 'DINPro-Medium', Helvetica,Arial,sans-serif;
	font-size: 25px;
	
}

h2{
font-family:'dinlightalternate', Helvetica,Arial,sans-serif;
}

h1, h3, h5, h6 {
	font-family: 'DINPro-Medium', Helvetica,Arial,sans-serif;
}

h2 {
	font-size: 54px;
}

h1.page-header {
    margin-top: 40px;
}

h4 {
	font-family: 'DINPro-Medium', Helvetica,Arial,sans-serif;
	font-weight: bold;
}

.grey {
	color: #8a8a8a;
}

.white {
	color: #fff;
}

.list-white {
	color: #fff;
	padding-left: 25px;
    list-style: none;
}

.list {
	padding-left: 25px;
    list-style: none;
	color:#8a8a8a;
}

.list-white li,
.list li {
	position: relative;
}


.list-white li:before {
	display: block;
	position: absolute;
	top: 4px;
    left: -20px;

	content: "";
	width: 11px;
	height: 12px;
	background: url("../images/list-elem-white.png") 0 0 no-repeat;
}

.list-white.lead li:before {
	display: block;
	position: absolute;
	top: 10px;
    left: -20px;

	content: "";
	width: 11px;
	height: 12px;
	background: url("../images/list-elem-white.png") 0 0 no-repeat;
}

.list li:before {
	display: block;
	position: absolute;
	top: 4px;
    left: -20px;

	content: "";
	width: 11px;
	height: 12px;
	background: url("../images/list-elem.png") 0 0 no-repeat;
}

.list.lead li:before {
	display: block;
	position: absolute;
	top: 10px;
    left: -20px;

	content: "";
	width: 11px;
	height: 12px;
	background: url("../images/list-elem.png") 0 0 no-repeat;
}

/* CLASSI MARGINI */

.mar-top-10 { margin-top: 10px; } 
.mar-top-20 { margin-top: 20px; } 
.mar-top-30 { margin-top: 30px; } 
.mar-top-40 { margin-top: 40px; } 
.mar-top-50 { margin-top: 50px; } 
.mar-top-60 { margin-top: 60px; } 

.mar-bot-10 { margin-bottom: 10px; } 
.mar-bot-20 { margin-bottom: 20px; } 
.mar-bot-30 { margin-bottom: 30px; } 
.mar-bot-40 { margin-bottom: 40px; } 
.mar-bot-50 { margin-bottom: 50px; } 
.mar-bot-60 { margin-bottom: 60px; } 

.mar-10 { margin-top: 10px; margin-bottom: 10px; } 
.mar-20 { margin-top: 20px; margin-bottom: 20px; } 
.mar-30 { margin-top: 30px; margin-bottom: 30px; } 
.mar-40 { margin-top: 40px; margin-bottom: 40px; } 
.mar-50 { margin-top: 50px; margin-bottom: 50px; } 
.mar-60 { margin-top: 60px; margin-bottom: 60px; } 


/* NAVBAR */

.navbar-default {
    background-color: #f8f8f8;
    border-color: transparent;
	margin-bottom: 0;


    background: rgba(16,40,82,1);
	background: -moz-linear-gradient(left, rgba(16,40,82,1) 0%, rgba(62,86,129,1) 35%, rgba(62,86,129,1) 50%, rgba(62,86,129,1) 65%, rgba(16,40,82,1) 100%);
	background: -webkit-gradient(left top, right top, color-stop(0%, rgba(16,40,82,1)), color-stop(35%, rgba(62,86,129,1)), color-stop(50%, rgba(62,86,129,1)), color-stop(65%, rgba(62,86,129,1)), color-stop(100%, rgba(16,40,82,1)));
	background: -webkit-linear-gradient(left, rgba(16,40,82,1) 0%, rgba(62,86,129,1) 35%, rgba(62,86,129,1) 50%, rgba(62,86,129,1) 65%, rgba(16,40,82,1) 100%);
	background: -o-linear-gradient(left, rgba(16,40,82,1) 0%, rgba(62,86,129,1) 35%, rgba(62,86,129,1) 50%, rgba(62,86,129,1) 65%, rgba(16,40,82,1) 100%);
	background: -ms-linear-gradient(left, rgba(16,40,82,1) 0%, rgba(62,86,129,1) 35%, rgba(62,86,129,1) 50%, rgba(62,86,129,1) 65%, rgba(16,40,82,1) 100%);
	background: linear-gradient(to right, rgba(16,40,82,1) 0%, rgba(62,86,129,1) 35%, rgba(62,86,129,1) 50%, rgba(62,86,129,1) 65%, rgba(16,40,82,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#102852', endColorstr='#102852', GradientType=1 );
}

.navbar-btn.logo {
    margin-top: 16px;
    margin-bottom: 16px;
}

.navbar-default .navbar-toggle {
    margin-top: 22px;
    border-radius: 0px;
    border-color: #fff;
}

.navbar-default .navbar-toggle:hover, 
.navbar-default .navbar-toggle:focus {
    background-color: #3e5581;
}

.navbar-default .navbar-toggle .icon-bar {
	background: #fff;
}



.navbar-nav>li>a {
    padding-top: 30px;
    padding-bottom: 28px;
}

.navbar-default .navbar-nav>li>a {
    color: #fff;
}

.navbar-default .navbar-nav>.active>a, 
.navbar-default .navbar-nav>.active>a:hover, 
.navbar-default .navbar-nav>.active>a:focus {
    color: #fff;
    background-color: transparent;
    font-weight: bold;
}

#navbar #privacy-policy-cookie {
	display: none;
}




/* TRASFORMAZIONE DEL MENU' IN VERSIONE MOBILE */
/* CAMBIARE PARAMETRO @media */
@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;

        /*padding-left: 0;*/
    }
    .collapse.in{
  		display:block !important;
	}

	#block-locale-language {
    	float: left!important;
	}
}

/* HIDE HOME NAV LINK */

.menu.nav.navbar-nav li.first {
	display: none;
}



/* LANG MENU' */
#block-locale-language {
	float: right;
	display: inline-block;
}

#block-locale-language ul {
	margin: 0;
	padding: 0;
	position: relative;
}

#block-locale-language ul > li {
    display: block;
    position: relative;
    text-align: left;
}

#block-locale-language ul > li > a {
	color: #fff;
    line-height: 16px;
    padding-bottom: 35px;
    padding-top: 35px;
    padding-left: 0px;
    padding-right: 0px;
}

#block-locale-language ul > li > a:hover,
#block-locale-language ul > li > a:focus {
	text-decoration: none;
	/*color: #333;*/
}

#block-locale-language ul > li > a.active {
	display: inline-block;
}

#block-locale-language ul > li > a.active:after {
	content: "\e114";
	font-family: "Glyphicons Halflings";
	font-size: 10px;
	vertical-align: text-bottom;
	margin-left: 4px;
}

#block-locale-language ul > li.unactive {
	position: absolute;
	bottom: 4px;
	left: 0;
	width: 100%;
	display: block;
	z-index: 99;
}

#block-locale-language ul > li.unactive a {
	padding-bottom: 5px;
    padding-top: 5px;
}




/* PAGE ELEM BLOCK */

div[class^='col-'] {
	z-index: 3;
}

.page-elem-block {
	position: relative;
	width: 100%;
	/*min-height: 450px;*/
	/*padding: 60px 0px;*/

	background-position: center;
  	background-size: cover;
	/*
	display: -webkit-box; 
  	display: -moz-box;  
  	display: -ms-flexbox;     
  	display: -webkit-flex;	
  	*/
	display: -webkit-flex; /* Safari */
    -webkit-align-items: center; /* Safari 7.0+ */
  	display: flex;
    align-items: center;
}

@media only screen and (max-width : 768px) {
	.page-elem-block {
		display: block;
	}
}

#leftHalf {
   width: 50%;
   position: absolute;
   top: 0;
   left: 0px;
   height: 100%;

   background-position: right top;
   background-repeat: no-repeat;
}
#rightHalf {
   width: 50%;
   position: absolute;
   top: 0;
   right: 0px;
   height: 100%;
	
   background-position: left top;
   background-repeat: no-repeat;
}
/* #leftHalf e #rightHalf nel mobile */
@media only screen and (max-width : 768px) {
	#leftHalf {
		position: relative;
		width: 100%;

	}
	#rightHalf {
		position: relative;
		width: 100%;
	}
}
/* FINE #leftHalf e #rightHalf nel mobile */


/* ECCEZIONE LOGO HOME MOBILE */

#visualHome #visualHomeImage {
	display: none;
}

@media only screen and (max-width : 768px) {

	#visualHome #leftHalf {
		display: none;
	}

	#visualHome #visualHomeImage {
		display: block;
		width: 100%;
		margin-top: 25px;
	}
}


blockquote {
	border-left: 0px;
	display: inline-block;
	background: #fff;
	color: #324a7a;
	border-radius: 15px;
	padding: 15px 30px;
}

blockquote.quote-inverse {
	background: #3c9092;
	color: #fff;
}


/* CENTRAMENTO VERTICALE */

.v-center-wrap {
	/*background: #c0c0c0;*/
}
 
/* The ghost, nudged to maintain perfect centering */
.v-center-wrap:before {
  	content: '';
	display: inline-block;
	height: 100%;
	vertical-align: middle;
	margin-right: -0.25em;
}

/* The element to be centered, can also be of any width and height */ 
.v-center-cont {
  display: inline-block;
  vertical-align: middle;
  width: 96%;
}


.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
}


/* CARD CON IMMAGINE TONDA */

.cardImageCircle {
	position: relative;
	margin-bottom: 10px;
	margin-left: 15px;
	margin-right: 15px;

	padding-right: 25px;
	padding-left: 25px;
	padding-bottom: 25px;

	background: #ffffff;
	border: 1px solid #e7e7e7;
}

@media only screen and (max-width : 992px) {
	.cardImageCircle {
		margin-bottom: 100px;
	}

	.cardImageCircle.last {
		margin-bottom: 10px;
	}
}

.cardImageIntro {
	margin-bottom: 110px;
}

.cardImageIntro p.leaf {
	margin-bottom: 2px;
}

.cardImage {
	width: 124px;
	height: 124px;
	margin-top: -62px;
	margin-bottom: 25px;
	border-radius: 50%;
	border: 8px solid #ffffff;

	-webkit-box-shadow: 0px 2px 4px 4px rgba(231, 231, 231, 0.5);
	-moz-box-shadow:    0px 2px 4px 4px rgba(231, 231, 231, 0.5);
	box-shadow:         0px 2px 4px 4px rgba(231, 231, 231, 0.5);
	/*
	-webkit-box-shadow: inset 0px -4px 5px 5px rgba(130, 119, 119, 0.38);
	-moz-box-shadow:    inset 0px -4px 5px 5px rgba(130, 119, 119, 0.38);
	box-shadow:         inset 0px -4px 5px 5px rgba(130, 119, 119, 0.38);
	*/
}

.cardImageCircle .btn-stc {
	position: absolute;
	bottom: 15px;
	left: 50%;

	margin-left: -45px;
}

.btn-stc {
	color: #ffffff;
  	background-color: #c44b4c;
  	border-color: #c44b4c;
}

.btn-stc:hover,
.btn-stc:focus {
	color: #ffffff;
  	background-color: #a33f40;
  	border-color: #a33f40;
}





/* GMAP */
#gmap {
	margin-top: 10px;
	margin-bottom: 40px;
	height: 460px;
}

/* CONTATTI */

#contatti {
	padding: 45px 0px 60px;
}

.contatti-intro {
	margin-bottom: 70px;
}

#contatti p,
.contatti p {
	color: #8a8a8a;
}

.item-address {
	margin-top: 20px;
	margin-bottom: 20px;
}

/* WEBFORM */

.webform-client-form {
	margin-bottom: 25px;
	margin-left: 50px;
}

@media only screen and (max-width : 768px) {
	.webform-client-form {
		margin-left: 0px;
	}
}

.form-control,
.resizable-textarea textarea {
	border-radius: 0;
}

.webform-client-form .form-item {
	margin-bottom: 15px;
}

input[type="file"] {
	width: 80%;
    display: inline-block;
}

.form-managed-file button.form-submit {
	width: 20%;
	border-radius: 0;
}

.webform-submit.btn {
	border-radius: 0;
}





/* FOOTER */

footer {
	min-height: 370px;
	padding: 50px 15px;
	background: #314a78 url("../images/bk-footer.png") 0 0 repeat-x;
	color: #fff;
}

#block-menu-block-1 {
	margin: 16px 0px 30px;
}

footer .nav>li>a {
	color: #fff;
	padding: 2px 15px 2px 0px;
	font-size: 16px;
}

footer .nav>li>a:hover, 
footer .nav>li>a:focus,
footer .nav>li>a.active-trail {
    text-decoration: none;
    background-color: transparent;
    color: #fff;
    font-weight: bold;
}

footer p.small {
	font-size: 12px;
}

footer .fot-img {
	float: left;
	margin-left: 37px;
}

footer .fot-img:first-child {
	margin-left: 0;
}

@media only screen and (max-width : 768px) {

	footer .fot-img:LAST-child {
		margin-top: 25px;
	}

}




/* Download */

.btn-glyphicon {     
	width: auto!important;
	padding: 8px; 
	background: #ffffff; 
	margin-right: 4px;
	-webkit-transition: .4s ease-in-out;
    -moz-transition: .4s ease-in-out;
    -o-transition: .4s ease-in-out;
    transition: .4s ease-in-out;
}
.icon-btn { 
	padding: 1px 15px 3px 3px; 
	border-radius:50px;
}

.icon-btn:hover .btn-glyphicon {
	transform:         scale(.7); /* CSS3 */
	-moz-transform:    scale(.7); /* Firefox */
    -webkit-transform: scale(.7); /* Webkit */
	-o-transform:      scale(.7); /* Opera */
	-ms-transform:     scale(.7); /* IE 9 */
}

/* News */

.node-news h3 {
	margin-top: 0;
}

.nw-cont {
    /*overflow: auto;*/
}

.field-name-field-nw-data {
	font-size: 13px;
	margin-bottom: 10px;
}

.view-id-news .views-row .nw-cont {
	margin-bottom: 40px;
	padding-bottom: 20px;
	border-bottom: 1px solid #eee;
}

.view-id-news .views-row:last-child .nw-cont {
	border-bottom: none;
	padding-bottom: 0px;
}


/* login form */

form#user-login {
	max-width: 480px;
	padding-right: 15px;
    padding-left: 15px;
    margin: 50px auto 100px;
}

body.page-user #block-system-main {
	width: 1170px;
	padding-right: 15px;
    padding-left: 15px;
    margin: 50px auto 100px;
}

@media (min-width: 768px) {
	body.page-user #block-system-main {
	    width: 750px;
	}
}
@media (min-width: 992px) {
	body.page-user #block-system-main {
	    width: 970px;
	}
}
@media (min-width: 1200px) {
	body.page-user #block-system-main {
	    width: 1170px;
	}
}

.alert {
	width: 1170px;
	margin: 20px auto;
}
@media (min-width: 768px) {
	.alert {
	    width: 750px;
	}
}
@media (min-width: 992px) {
	.alert {
	    width: 970px;
	}
}
@media (min-width: 1200px) {
	.alert {
	    width: 1170px;
	}
}





