html, body {
	width:100%;
	height:100%;
}

body.modal-open {
    overflow: visible;
    position: absolute !important;
    width: 100%;
    height:100%;
	padding-right: 0px !important;
}


.loading {
    position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 9999;
	background: url(../img/logo.png) center no-repeat #fff;
}

.loading .loadbar {
	position:absolute;
	bottom:0px;
	left:0px;
	height:10px;
	background-color:#15949f;
	opacity: .8;
	z-index: 99999;
}

.home {
	width:100%;
	height:100%;
	max-height:750px;
	background-position:center right;
	background-repeat:no-repeat;
	background-size:cover;
	background-attachment: scroll;
	position:relative !important;
	z-index:0;
	overflow: hidden;
	background-color:#0f0f11;
}

.logo {
	display:none;
}

.welcome {
	color:#FFF;
	background-color: rgba(0,0,0,.8);
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
}


.barra {
	position:absolute !important;
	bottom:0px;
	left:0px;
	text-align:center;
	width:100%;
	z-index:100;
	display: inline-block;
	margin:0px;
	padding:0px;
}

.barra .container {
  background-color:rgba(23,147,162,.8);
  margin:0px auto;
  color:#b5e8f2;
 }

.content {
	padding:50px 0px;
	border-bottom:1px solid #efefef;
	background-position: center center;
	background-repeat:no-repeat;
	background-attachment:fixed;
	background-size:cover;
}

.mappa {
	height:600px;
}

.mappaimm {
	height:100%;
}

.interne {
	margin-top:50px;
}

.cerca {
	background-color:#efefef;
	padding-left:0px;
	padding-right:0px;
}

.cerca div {
  background-color:#15949f;
  padding:20px 15px;
}

.form-control{
        -webkit-appearance:none;
        -moz-appearance: none;
        -ms-appearance: none;
        -o-appearance: none;
        appearance: none;
}

.thumbnail {
	box-shadow: 0 0 10px 0px rgba(0,0,0,0.1);
	padding-bottom:50px;
}

.thumbnail b {
	color:#1a95ac;
	text-transform:uppercase;
	font-weight:500;
}

.thumbnail:hover {
	box-shadow: 0 0 10px 0px rgba(0,0,0,0.4);
}

.thumbnail .sfumatura {
	display:none;
}

.preview {
	background-position:center center;
	background-repeat:no-repeat;
	background-size:cover;
	margin-bottom:20px
}

footer {
	padding:50px 0px 50px 0px;
	background-position:center center;
	background-repeat:no-repeat;
	background-size: cover;
	background-image:url(../img/foot.jpg);
	background-attachment:fixed;
}

footer p {
	color:#FFF;
	font-size:10px;
}

footer a {
	color:#FFF;
}


.fiaip {
	background-image:url(../img/fiaip-fimaa-pordenone.png);
	background-position:center center;
	background-repeat:no-repeat;
	background-size:contain;
	height:200px;
}

@media (orientation: landscape) {

.home {
	background-size:cover;
	background-position:center center;
	background-repeat:no-repeat;
	background-size:contain;
}

.welcome {
	display: block;
	padding:80px 20px;
	position:relative !important;
	background-color: transparent;
	left: unset;
	top: unset;
	transform: unset;
}

.welcome h1 {
	font-size:36px;
}
.welcome h1, .welcome p {
	text-shadow:
    2px 0px 0 #000,
   -1px -1px 0 #000,  
    1px -1px 0 #000,
   -1px  1px 0 #000,
    1px  1px 0 #000;
}

.barra {
	display: none;
}

}

@media (min-width: 768px) {

.home {
	background-attachment:fixed;
	background-size:cover;
}

.logo {
	display:block;
}

.welcome {
	padding:200px 20px;
	background-color: transparent;
	left: unset;
	top: unset;
	transform: unset;
	width: 750px;
}

.barra {
	display: inline-block;
}

.cerca {
	padding-left:15px;
	padding-right:15px;
}

.cerca div {
  background-color:#15949f;
  padding:20px 0px;
}


.homesrv {
	height:300px;
	overflow:hidden;
}


.thumbnail {
   padding-bottom:60px;
   position:relative;
	width:100%;
	height:500px;
    display: block;
	overflow:hidden;
}

.thumbnail p, .thumbnail img {
	z-index:888;
}

.thumbnail  .btn {
	position:absolute;
	right:5px;
	bottom:5px;
	z-index:222;
}

.thumbnail .sfumatura {
	position:absolute;
	width:100%;
    height:100px;
	bottom:0px;
	left:0px;
	z-index:111;
	display:block;
	background-image:url(../img/sfumatura.png);
	background-position:bottom;
	background-repeat:repeat-x;
}


footer {
	padding:100px 0px 100px 0px;
	background-position:center center;
	background-repeat:no-repeat;
	background-size: cover;
	background-image:url(../img/foot.jpg);
	background-attachment:fixed;
}



footer p {
	font-size:20px;
}

.fiaip {
	height:400px;
	background-position:top center;
}

.modal {
  text-align: center;
  padding: 0!important;
}

.modal:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  margin-right: -4px;
}

.modal-dialog {
  display: inline-block;
  text-align: left;
  vertical-align: middle;
}

.modal-lg {
    width: 700px;
}

}

@media (min-width: 992px) {
	.welcome {
		width: 970px;
	}
}

@media (min-width: 992px) {
	.welcome {
		width: 1170px;
	}
}

.modal-body {
    max-height: calc(100vh - 210px);
    overflow-y: auto;
}