body, html {
	width: 100%;
	height: 100%;
}



body.home {
	background-image: url("sfondi/home.jpg");
	overflow-x: hidden;
	background-position: center center;
	background-repeat: no-repeat;
	background-attachment: fixed;
}

body.page {
	background-image: url("sfondi/home.jpg");
	overflow-x: hidden;
	background-position: center center;
	background-repeat: no-repeat;
	background-attachment: fixed;
}

body.percorsi {
	background-image: url("sfondi/percorsi.jpg");
	overflow-x: hidden;
	background-position: center center;
	background-repeat: no-repeat;
	background-attachment: fixed;
}

body.bikefriends {
	background-image: url("sfondi/bikefriends.jpg");
	overflow-x: hidden;
	background-position: center center;
	background-repeat: no-repeat;
	background-attachment: fixed;
}

body.sponsor {
	background-image: url("sfondi/sponsor.jpg");
	overflow-x: hidden;
	background-position: center center;
	background-repeat: no-repeat;
	background-attachment: fixed;
}

body.blog {
	background-image: url("sfondi/blog.jpg");
	overflow-x: hidden;
	background-position: center center;
	background-repeat: no-repeat;
	background-attachment: fixed;
}

.loading {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999999;
    background: url(img/logo.png) center no-repeat #fff;
}

.loading .loadbar {
    position:absolute;
    bottom:0px;
    left:0px;
    height:10px;
    background-color:#660000;
    opacity: .8;
    z-index: 99999;
}


[class*="content-top"] {
	position: relative;
	height: 100%;
	z-index: 0;
}


[class*="content-top"] .logo-home {
	width: 100%;
	height: 100%;
	max-width: 350px;
	max-height: 350px;
	position: absolute;
	left: 50%;
	top: 50px;
	transform: translate(-50%, 0);
	background-image: url(img/logo.png);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
}

[class*="content-top"] .logo-frare-home {
	width: 100%;
	height: 100%;
	max-width: 450px;
	max-height: 350px;
	position: absolute;
	left: 50%;
	top: 50px;
	transform: translate(-50%, 0);
	background-image: url(img/logo_frare.png);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
}

.content-top-int {
	background-color: rgba(255,255,255,.4);
}

.grey-bg {
	background-color: #d9dadb;
}


.dark-grey-bg {
	background-color: #3d3d3f;
}

.storia-bg {
	background-color: rgba(140,190,63,.8);
}

.percorsi-bg {
	background-color: rgba(158,122,90,.8);
	color: #fff;
}

.bikefriends-bg {
	background-color: rgba(255,203,6,.8);
}

.news-bg {
	background-color: rgba(216,46,65,.8);
}

.blog-bg {
	background-color: rgba(133,70,3,.8);
	color: #fff;
}


.sponsor-bg {
	background-color: rgba(46,202,17,.8);
}

.regolamento-bg {
	background-color: rgba(238,45,154,.8);
	color: #fff;
}

.contatti-bg {
	background-color: rgba(48,175,224,.8);
	color: #fff;
}

.absolute-lang {
	position: absolute;
	right: 0px;
	top: 0px;
}

.absolute-lang a {
	float: none;
	clear: both;
	display: block;
	padding: 10px 20px 10px 40px;

}

.mappa {
	height: 400px;
}

.size-big {
	font-size: 50px;
	min-width: 50px;
	text-align: center;
}

.float-left {
	float: left;
	margin-right: 25px;
}


.logo-pic {
	position: absolute;
	right: 0px;
	bottom: 0px;
}

.logo-frare-pic {
	position: absolute;
	left: 0px;
	bottom: 0px;
}

.btn-link {
	background-image: linear-gradient(#666, #000);
	color: rgba(255,255,255,.8);
	border-radius: 10px;
	margin-top: 20px;
	border: 0px;
	text-transform: uppercase;
	font-size: 12px;
}

.btn-link span {
	margin-right: 12px;
	border-right: 1px solid #fff;
	padding-right: 12px;
}

.btn-link:hover {
	color: rgba(255,255,255,1);
	text-decoration: none;
}

.footer {
	color: #fff;
	background-color: transparent;
	bottom: 0px;
	position: fixed;
	bottom: 0px;
	left: 0px;
	width: 100%;
	z-index: 100;
}

.footer .container {
	position: relative;
}

.footer p {
   text-align: center;
   font-size: 10px;
   padding: 10px 0px;

}

.footer a {
	color: #efefef;
}

body.home .footer {
	background-color: #d9dadb;
	color: #222;
}

.social {
	display: none;
}

@media screen and (min-width: 768px) {

.container-link {
	background-image: url(forme/int.png);
	background-position: bottom center;
	background-repeat: repeat-x;
	height: 300px;
	bottom: 0px;
}

.home-nav, .container-link {
	position: fixed;
	bottom: 0px;
	left: 0px;
	width: 100%;
	z-index: 100;	
}

.home-nav {
	background-image: url(forme/home.png);
	background-position: bottom center;
	background-repeat: repeat-x;
	height: 400px;
	bottom: 34px;
}

.home-nav .container {
	position: absolute;
	left: 50%;
	bottom: 0px;
	transform: translate(-50%,0%);
}

[class*="lang"] {
	padding: 20px;
}


[class*="lang"] a {
	text-transform: uppercase;
	color: #000;
}

[class*="lang"] a:hover {
	text-decoration: none;
	color: #bbb;
}

[class*="link-flag"] {
   	padding: 20px 20px 20px 40px;
   	background-repeat: no-repeat;
   	background-position: left center;
}

[class*="link-flag"] span {
	display: inline;
}

.link-flag-eng {
	background-image: url(img/eng.png);
}

.link-flag-ita {
	background-image: url(img/ita.png);
}

.link-flag-ted {
	background-image: url(img/ted.png);
}



}

@media screen and (min-width: 1200px) {


.content-top-int {
	overflow: hidden;
}

.social {
	display: block;
	position: absolute;
	right: 0px;
	top: 0;
	height: 30px;
}
.social ul {
	list-style: none;
	margin: 0px;
	padding: 0px;
}

.social ul li a img {
	height: 30px;
	width: 30px;
}

}