/* ==========================================================================
   Author's custom styles
   ========================================================================== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,400i,700');
body, html {
	padding-bottom:0px !important;
	position:static !important;
	font-family: 'Montserrat', sans-serif;
}
p {
	font-family: 'Montserrat', sans-serif;
	font-size:16px;
}
p.small {
  font-size: 80% !important;
}
.red {
	color:#bd241f;
}
.lowercase {
  text-transform: lowercase !important; 
}
.black {
  color:#333 !important;
}
.bgfooter {
	background-color: #efefef;
}
#logo {

}
#logosmall img {
	width:40%;
}
h4.lowercase, .lowercase h4 {
  text-transform: initial !important;
}
.logo {
	max-width: 100%
}
.logonext {
	max-width: 90px
}

.container-full {
	margin: 0 auto;
	width: 100%;
}
.center-wrapper {
	text-align: center;
	}
.center-wrapper * {
	margin: 0 auto;
}
span.red {
	color:#bd241f;
}
.margtop {
	margin-top:20px;
}
.margtopmin {
	margin-top:5px;
}
.margin-top-form {
	margin-top:60px;
}
.margin-bottom-sponsor {
  margin-bottom:20px;
}
.margleft {
	margin-left:20px;
}
.inactive *{
	color:#a8a8a8 !important;
}
li.inactive a {
	cursor:default;
}
.buttonwsp {
	margin-top:5px;
}
#sponsorheader img {
	max-height: 40px;
}
#box a {
	text-decoration: none;
	color:#777777;

	-webkit-transition: 0.8s;
    -moz-transition: 0.8s;
    -o-transition: 0.8s;
    transition: 0.8s;
}
#box a:hover {
	color:#bd241f;
}
#social-footer {
	line-height: 29px
}
#footer {
	padding-bottom:20px;
}
#footermap a {
	color:#333333;
}
#socialfooter a {
	color:#333333;
}
#socialfooter a:hover {
	color:#bd241f;
}
.imgmaxwidth img {
	max-width: 100%;
}
#sponsorcontainer img {
	text-align: center;
	margin:0 auto;
}
div#sponsor {
	text-align: center;
  min-height: 75px;
}
#sponsor img {
	max-width: 75%;
}

#sponsor * {
	margin:0 auto;
}
div.socialabsolute {
	position: absolute;
	left:-65px !important;
	top:0px !important;
}
.margbottom {
	margin-bottom:20px;
	padding-bottom:10px;
}

#dormiremangiare p {
	line-height: 15px;
	font-size: 90%;
}
#dormiremangiare h4 {
	font-size: 17px;
}
.margright {
	margin-right: 35px;
}

.nomargtop {
	margin-top:0px !important;
}
.ads {
	padding:20px 0;
}
#Textarea {
	font-size: 9px;
}
.valign {
  display:table !important;
}
.vcontent {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}


/* BOOTSTRAP EDIT */
.nav {
	text-transform: uppercase;
}
.navbar {
	margin-bottom:0px !important;
}
.navbar-default .navbar-nav>li>a {
	padding: 10px 11px !important;
}
.navbar.navbar-default {
    border-width: 0px;
    -webkit-box-shadow: 0px 0px;
    box-shadow: 0px 0px;
    background-color: rgba(0,0,0,0.0);
    background-image: -webkit-gradient(linear, 50.00% 0.00%, 50.00% 100.00%, color-stop( 0% , rgba(0,0,0,0.00)),color-stop( 100% , rgba(0,0,0,0.00)));
    background-image: -webkit-linear-gradient(270deg,rgba(0,0,0,0.00) 0%,rgba(0,0,0,0.00) 100%);
    background-image: linear-gradient(180deg,rgba(0,0,0,0.00) 0%,rgba(0,0,0,0.00) 100%);
}
.navbar .navbar-nav {
    display: inline-block;
    float: none;
}
.navbar .navbar-collapse {
    text-align: center;
}
.navbar-collapse {
	max-height: 500px;
}
ul.nav li.dropdown:hover > ul.dropdown-menu {
    display: block;    
}


.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
  color: #ffffff;
  background-color: #bd241f;
  background-image: none;
  filter: none;
}
.inner {
	margin:20px;
}
img.box {
	border-bottom:1px solid #e9e9e9;
}
.box {
	width: 100%;
}
.rounded {
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
.border {
	border:1px solid #e9e9e9;
}
hr {
	border-top: 1px solid #e9e9e9 !important;
}
img.newsimg {
	max-width: 100%;
}
p.subtitle {
	color:#9f9f9f;
}

a {
	color:#bd241f;
}
a:hover, a:focus {
    color: #bd241f;
    text-decoration: underline;
}
textarea:focus, input:focus, input[type]:focus, .uneditable-input:focus{   
    border-color: rgba(203, 8, 28, 0.8);
    box-shadow: 0 1px 1px rgba(203, 8, 28, 0.075) inset, 0 0 8px rgba(203, 8, 28, 0.6);
    outline: 0 none;
}
.fa {
	line-height: 30px !important;
}

.label-primary {
	background-color:#bd241f;
}
.btn-primary {
	background-color:#bd241f;
	background-image:none;
	background-repeat: none;
	border: 1px solid #a01a16;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open .dropdown-toggle.btn-primary {
  	background-color:#bd241f;
	background-image:none;
	background-repeat: none;
	border: 1px solid #a01a16;
	background-color:#a01a16;
}


.affix {
  position: fixed;
  top: 50px; 
}
.affix-bottom {
  position: absolute;
  top: auto;
}
.affix-top {
	
}
table {
	text-align: center;
	letter-spacing: -1px;
}
#timetables button {
	margin-top:7px;
	background-color: #fff !important
}

/* BLOCCO SOCIAL */
.fb, .tw, .insta, .pint, .yt {
	display: inline-block;
	position: relative;
	text-indent: -9999px;
	width: 50px;
	height: 50px;
	background: url("../img/facebook.png") no-repeat 0 0;
	
	-webkit-transition: all 0.7s ease;
	-moz-transition: all 0.7s ease;
	-o-transition: all 0.7s ease;
	-ms-transition: all 0.7s ease;
	transition: all 0.7s ease;
}
.tw {
	background: url("../img/twttr.png") no-repeat 0 0;
}
.insta {
	background: url("../img/instagram.png") no-repeat 0 0;
}
.pint {
	background: url("../img/pinterest.png") no-repeat 0 0;
}
.yt {
	background: url("../img/youtube.png") no-repeat 0 0;
}
.fb:hover, .tw:hover, .insta:hover, .pint:hover, .yt:hover {
	background-position: 0 -50px;
}

#news {
	line-height: 30px;
}
#instafeed img {
	max-width: 100%;
}
#instafeed p {
	text-align: center;
}

#twitter-widget-0 {
	width:100% !important;
}


ul.regolamento {
	-webkit-padding-start:15px;
	font-size:16px;
}


/* SLIDERONE */
.heightslider {
	height: 639px;
	margin-left:0px;
	margin-right:0px;
}
#wrapper {
	background-color: #fff;
	width: 100%;
	height: 639px;
	overflow: hidden;
	position:absolute;
	left: 0;
}
#wrapper_wrapper {
	width:100%;
	height:639px;
}
#wrapper_ins {
	background-color: #ffffff;
	opacity:0.5;
	max-height:639px;
	width: 100%;
}
#wrapper_ins img {
	max-width:100%;
	height:auto;
} 
#carousel img {
	display: block;
	float: left;
}
#prev, #next {
	background-color: rgba(255, 255, 255, 0.7);
	display: block;
	height: 639px;
	width: 50%;
	top: 0;
	position: absolute;
}
#prev:hover, #next:hover {
	background-color: #fff;
	background-color: rgba(255, 255, 255, 0.8);
}
#prev {
	left: -575px;
}
#next {
	right: -575px;
}
#pager {
	margin-left: -130px;
	position: absolute;
	left: 50%;
	top: 794px;
	padding:5px;
	background: url("../img/bgpager.png");
}
#pager a {
	border: 2px solid red;
	border-radius: 10px;
	display: inline-block;
	width: 10px;
	height: 10px;
	margin: 0 5px 0 0;
}
#pager a:last-child {
	margin:0;	
}
#pager a:hover {
	background-color: rgba(255, 255, 255, 0.5);
}
#pager a span {
	display: none;
}
#pager a.selected {
	background-color: #fff;
}

/* CAROUSEL SPONSOR */
.list_carousel {
	margin: 0 0 30px 60px;
	width: 360px;
}
.list_carousel ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: block;
}
.list_carousel li {
	font-size: 40px;
	color: #999;
	text-align: center;
	/*background-color: red;*/
	width: 50px;
	height: 50px;
	padding: 0;
	margin: 6px;
	display: block;
	float: left;
}
.list_carousel.responsive {
	width: auto;
	margin-left: 0;
	margin-top:10px;
}

/*SLIDER CONTENT SPONSOR HTML */
.contentSlider {
  width: 100% !important;
}
.contentSlider,
.contentSlider .rsOverflow,
.contentSlider .rsSlide,
.contentSlider .rsVideoFrameHolder,
.contentSlider .rsThumbs {
  color: #333;
}

.contentSlider .rsSlide,
.contentSlider .rsOverflow {
}
.contentSlider h3 {
  font-size: 18px;
  line-height: 31px;
  margin: 12px 0 8px;
  color:#bd241f;
  text-transform: uppercase;
}
.contentSlider img {
  max-width: 100%;
  height: auto;
  display: block;
}
.content-slider-bg {
  width: 86%;
  padding: 24px 7%;
}



/*MEDIA QUERIES RESPONSIVE DESIGN EDIT */
@media (max-width: 991px) {
	#logo {
		text-align: center;
	}
	#footerwhere, #footermap, #socialfooter, #footernewsletter, #footercredits  {
		text-align: center;
	}
	
	.navbar .navbar-nav {
        display: inline-block;
        float: none;
    }
    .navbar .navbar-collapse {
        text-align: center;
    }

    .navbar .nav,
	.navbar .nav > li {
	  float:none;
	  display:inline-block;
	  *display:inline; /* ie7 fix */
	  *zoom:1; /* hasLayout ie7 trigger */
	  vertical-align: top;
	}

	.navbar-inner {
	  text-align:center;
	}

}
@media (max-width: 767px) {
	h2 {
		text-align: center;
	}
	#footerwhere, #footerwhere h4, #footerwhere p, #footermap, #socialfooter, #footernewsletter, #footercredits  {
		text-align: center;
	}
	#logo img {
		width:50%;
	}
	#titoloelingue p {
		margin-top:10px;
		text-align: center !important;
	}
	#titoloelingue h2 {
		text-align: center !important;
		font-size:20px;
	}

	.heightslider {
	height: 300px;
	margin-left:0px;
	margin-right:0px;
	}
	#wrapper {
		background-color: #fff;
		width: 100%;
		height: 300px;
		overflow: hidden;
		position:absolute;
		left: 0;
	}
	#wrapper_wrapper {
		width:100%;
		height:300px;
	}
	#wrapper_ins {
		background-color: #ffffff;
		opacity:0.5;
		max-height:300px;
		width: 100%;
	}
	#prev, #next {
		background-color: rgba(255, 255, 255, 0.7);
		display: block;
		height: 300px;
		width: 50%;
		top: 0;
		position: absolute;
	}
	#carousel img {
		max-width: 50% !important;
	}

	.navbar .navbar-nav {
        display: block;
        float: none;
    }
    .navbar .navbar-collapse {
        text-align: center;
    }
    .navbar .nav,
	.navbar .nav > li {
	  float:none;
	  display:block;
	  *display:block; /* ie7 fix */
	  *zoom:1; /* hasLayout ie7 trigger */
	  vertical-align: top;
	}

	.navbar-inner {
	  text-align:center;
	}
}

table.formBlockSurveyTable {
  text-align: left !important;
}


.exh {
    margin-top:25px;
}
.tabletravel {
  text-align: left !important;
}








.disabled {display: visible}

.btn-primary {
    background-color:#a80000;
    background-image:none;
    background-repeat: none;
    border: 0px;
    text-shadow:none;
    color:#ffffff !important;
    /*padding-left: 30px;
    padding-right: 30px;*/
}
.btn-primary.disabled, .btn-primary[disabled], fieldset[disabled] .btn-primary, .btn-primary.disabled:hover, .btn-primary[disabled]:hover, fieldset[disabled] .btn-primary:hover, .btn-primary.disabled:focus, .btn-primary[disabled]:focus, fieldset[disabled] .btn-primary:focus, .btn-primary.disabled.focus, .btn-primary[disabled].focus, fieldset[disabled] .btn-primary.focus, .btn-primary.disabled:active, .btn-primary[disabled]:active, fieldset[disabled] .btn-primary:active, .btn-primary.disabled.active, .btn-primary[disabled].active, fieldset[disabled] .btn-primary.active {

    background-color: #991813;
    color:#f0e3e4;
}






