﻿body {
    font-family: 'Open Sans', sans-serif;
    color: #555;
    background-color: #fff;
    font-size:15px;
}

a{
    color:#0563C1;
}

a:hover, a:focus{
    color:#0563C1;
}

#pageTopLink {
    opacity: 0.8;
    display: none;
    color: #c32421;
    font-size: 48px;
    position: fixed;
    z-index: 1000;
    bottom: 5px;
    right: 5px;
    text-shadow: 1px 1px 0px #999;
    line-height: 0px;
}

#pageTopLink:hover{
    color:#9E0309;
}

header {
	background-image: url(../Images/header_background.jpg);
	background-color: #000;
	background-attachment: fixed;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
	position: relative;
	text-align: center;
	overflow: auto;
	overflow: hidden;
}

header video {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
}

#titolo {
	padding-top: 70px;
	padding-bottom: 20px;
	background-color: rgba(0, 0, 0, 0.5);
	position: relative;
}

#titolo img {
    max-width:180px;
}

#sottoTitolo {
	padding: 20px 0px;
	background: linear-gradient(to top, rgba(0,0,0,.9), rgba(0,0,0,0));
	position:relative;
}

#sottoTitolo img {
	max-width:250px;
}

#headFooter{
    text-align:center;
    position:absolute;
    bottom:0px;
    width:100%;
}

#contatore{
    color:#fff;
}

.ds-element {
	display: inline-block;
	margin: 0px 20px;
	text-align: center;
}

.ds-element-value{
    font-size:48px;
}

h1{
    font-size:56px; 
    margin:40px 0px 30px;
    font-weight:lighter;
    color:#fff;
}

h1 small{
    margin:30px 0px 0px;
}

h2 {
    font-weight: lighter;
    font-size: 36px;
    margin:0px;
    color:#fff;
}

h1 small, h2 small {
    font-size: 55%;
    display: block;
    font-weight:lighter;
    color:#fff;
}

h3{
    font-size:22px;
    margin-bottom:20px;
}

h4{
    margin-bottom:10px;
}

h3, h4 {
    color: #db1915;
}

.navbar-default {
    background-color: rgba(255,255,255,.9);
}

.navbar-brand{
    padding:5px 15px;
}

.navbar-brand .img-responsive{
    display:inline;
    height:40px;
}

.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
    background-color: #db1915;
    color: #fff;
}

.navbar-default .navbar-link:hover {
    color: #db1915;
}

.navbar-brand span{
    display:none;
}

.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

section{
    padding:50px 0px;
}

section ul{
    list-style-type:none;
    padding:0px;
    margin:0px 0px 30px;
}

section ul li{
    margin-bottom:10px;
}


#descrizione{
    padding:120px 0px;
}

#descrizione, #iscrizione{
    background-color:#eee;
}

#videoPromo{
	margin-top:60px;
}

#videoPromo small{
	display:block;
	text-align:center;
}

#videoPromo .embed-responsive {
	margin-bottom: 30px;
}

#galleria {
	padding: 0px;
}

#iscrizione .panel-body span{
    display:block;
    font-size:48px;
}

#associazione {
    background-color: #db1915;
    color: #fff;
}

#programma ul li{
    margin-bottom:30px;
}

#programma ul li p{
    font-style:italic;
}

#abstract ul li {
	margin-bottom: 30px;
}

#abstract h4 small{
	display:block;
	margin:5px 0px;
	color:#333;
}

#cfp{
	text-align:center;
}

#location{
    text-align:center;
}

#location h4{
    padding:10px;
    font-weight:bold;
}

#patrocini ul li {
	min-height: 150px;
	line-height: 150px;
}

#patrocini ul li span {
	display: inline-block;
	vertical-align: middle;
	line-height: normal;
}

#patrocini ul li img {
	max-width: 100%;
	max-height: 120px;
}

#informazioni {
	overflow: hidden;
	padding: 0px;
	position: relative;
	height: 500px;
}

#info {
	background-image: url(../Images/Info.jpg);
	background-size: cover;
	width: 50%;
	height: 100%;
	float: left;
	position: relative;
	padding: 50px;
	text-align:center;
}

#info div {
	position: absolute;
	margin: 0px auto;
	padding: 50px;
	border-radius: 20px;
	top: 50px;
	bottom: 50px;
	left: 50px;
	right: 50px;
	background-color: rgba(255,255,255,.9);
}

#mappa {
	width: 50%;
	height: 100%;
	float: left;
	background-color: #999;
}

#mappa iframe {
	border: 0px;
	width: 100%;
	height: 100%;
}

#enti .row {
	margin-bottom: 30px;
}

#enti img {
    margin: 20px;
}

footer{
    background-color:#db1915;
    padding:20px 0px;
    color:#fff;
}

footer p{
    margin:0px;
}

@media (max-width:1199px) {
    
    .ds-element-value{
        font-size:36px;
    }

	h1 {
		font-size: 36px;
	}

    h2{
        margin-top:0px;
    }
}

@media (max-width:991px) {
    .navbar-nav > li > a {
        padding: 15px 10px;
    }

	#englishDescription {
		margin-top: 60px;
	}
}

@media (min-width:992px) and (max-width:1199px) {
    .navbar-default .navbar-nav > li > a {
        padding: 15px 10px;
    }
}

@media (min-width:768px) {
    .navTop.navbar-default {
        text-align: center;
        background-color: rgba(255,255,255,.6);
        border: 0px;
    }

    .navTop .navbar-brand {
        display: none;
    }

    .navTop .navbar-right {
        display: table;
        margin: 0px auto;
        float: none !important;
    }

	.navTop.navbar-default .navbar-nav > li > a {
		color: #fff;
	}
}

@media (min-width:768px) and (max-width:991px) {
    .navbar-default .navbar-nav > li > a {
        font-size: 13px;
        padding: 15px 3px;
    }
}
    
@media (max-width:479px) {
    section{
        padding:20px 0px;
    }

    #descrizione{
        padding:40px 20px;
    }

    #location h4{
        font-weight:normal;
        font-size:14px;
    }

	.hidden-xxs {
		display: none !important;
	}

	.col-xxs {
		float: none;
		width: 100%;
		display: block;
	}
}

@media (max-width:767px){
    #titolo {
        /*background-color: rgba(255,255,255,.9);*/
    }

    #titolo img {
        display:none;
    }

	h1 {
		font-size: 36px;
		margin-top: 0px;
	}
    
    h1 small{
        /*color:#000;*/
    }

	#contatore{
		margin-bottom:20px;
	}

    .ds-element {
        margin: 0px 10px;
    }

	#informazioni {
		height: auto;
	}

	#info, #mappa {
		float: none;
		width: 100%;
	}

	#info {
		height: auto;
	}

	#mappa {
		height: 300px;
	}

	#info div {
		position: static;
		height: auto;
		padding: 20px;
		top: 20px;
		bottom: 20px;
		left: 20px;
		right: 20px;
	}
}

@media (min-width:1920px) {
	body {
		font-size: 18px;
	}

    #titolo{
        padding-top:120px;
        padding-bottom:70px;
    }

    #titolo img{
        max-width:200px;
    }

    #sottoTitolo{
        padding:50px 0px;
    }

    h1{
        font-size:82px;
    }
    
    h2 {
        font-size: 48px;
    }

	h3 {
		font-size: 28px;
	}

	h4 {
		font-size: 22px;
	}
}