/* Beta ribbon
body:after{
  content: "beta";
  position: fixed;
  z-index: 500;
  width: 80px;
  height: 25px;
  background: #EE8E4A;
  top: 7px;
  left: -20px;
  text-align: center;
  font-size: 13px;
  font-family: sans-serif;
  text-transform: uppercase;
  font-weight: bold;
  color: #fff;
  line-height: 27px;
  -ms-transform:rotate(-45deg);
  -webkit-transform:rotate(-45deg);
  transform:rotate(-45deg);
}

*/
/* Cambio colori */
#superfish-1 > li > a:hover, #superfish-1 > li.active-trail > a, #superfish-1 > li.sfHover > a,
.color-1,
a {
	color: #b4112c;
}

.node a {
	text-decoration: underline;
}

.footer-wrapper,
#backtotop:before,
#superfish-1 > li ul {
	background: #b4112c;
}

#backtotop:before {
	box-shadow: 0 0 0 4px #b4112c;
}

#superfish-1 > li > a {
	color: #343434;
}



.btn a {
	box-sizing: border-box;
	background: #b4112c;
	border: 3px solid #b4112c;
	color: #fff;
	text-decoration: none;
	padding: 10px;
	display: block;
	text-align: center;
	width: 15em;
}
.btn a:hover {
	background: #fff;
	color: #b4112c;
	border: 3px solid #b4112c;
}

#superfish-1 > li ul li > a:hover, #superfish-1 > li ul li.active-trail > a, #superfish-1 > li ul li.sfHover > a {
	color: #fff;
}

/* HEADER */
.header-section-1 {
    background: #fff;
    padding: 24px 0 0;
    z-index: 99;
}

.header-section-1 .col2 {
    float: right;
    padding: 47px 0 40px;
}




/* MENU */
#superfish-1 > li ul {
    width: 241px !important;
}

#superfish-1 > li ul li {
    font-size: 14px;
}

/* SLIDER CENTRALE */

.view-slider .flex-caption h2 {
	color: #fff;
}


/* Contenuti */
blockquote {
	font-style: italic;
}

.img-content {

}

.img-content.right {
	float: right;
	margin: 0 0 0 15px;
}

.img-content.left {
	float: left;
	margin: 0 15px 0 0;
}

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

/* Griglia immagini */
.gallery-grid {
	margin: auto;
	width: 83%;
}

.gallery-grid li {
	background: none;
	padding: 10px;
	margin: 0;
	display: inline-block;
}

.gallery-grid li img {
	max-width: 100%;
}

/* Tabella corteo */
table.corteo {
	width: 83%;
	margin: auto;
}



	table.corteo tr td:nth-of-type(2n) {
		font-size: 16px;
		vertical-align: middle;
		font-weight: bold;
	}
	/*@ER pagine corteo storico*/

	body.corteointerno img{
		max-width:100%;
	}

	body.corteointerno .panels-flexible-region-16-center{	width:100%;}

	body.section-alabardieri #header,
	body.corteointerno #header{	width:1170px;	margin:0 auto;}



	body.section-alabardieri #main,
	body.corteointerno #main{	padding-top:0;}

	body.section-alabardieri #main-wrapper .container-12,
	body.section-alabardieri #main-wrapper .grid-12,
	body.corteointerno #main-wrapper .container-12,
	body.corteointerno #main-wrapper .grid-12{	width:100%;	padding:0;	margin:0;}

	body.section-alabardieri .contenutostorico,
	body.corteointerno .contenutostorico{	background-color:#fff;	overflow:hidden;width:1170px;	margin:0 auto;	padding-bottom:100px;}




	body.section-alabardieri .left,
	body.section-alabardieri .right,
	body.corteointerno .left,
	body.corteointerno .right{	width:50%;	float:left;	}

	body.section-alabardieri .centered,
	body.corteointerno .centered{	text-align:center;}

	body.corteointerno .centered p{	text-align:left;}
	body.section-alabardieri h5,body.corteointerno h5{	margin-top:45px;	font-size:24px;	margin-bottom:25px;	text-transform:lowercase;}

	body.section-alabardieri h5:first-letter,
	body.corteointerno h5:first-letter{	text-transform:uppercase;}

	body.section-alabardieri h4,
	body.corteointerno h4{	height:300px;	line-height:300px;	font-size:65px;	text-align:center;	background-color:#d2232a;	color:#fff;	text-transform:uppercase;}

	body.section-alabardieri .section,body.corteointerno .section{	margin-bottom:150px;}

	body.corteointerno p.descrizione{
	font-size:20px;
	font-style:italic;
	text-align:center;
	}

	body.corteointerno strong{
		text-transform:uppercase;
	}

	body.corteointerno .stickup.header-section-1 .grid-12,
	body.section-alabardieri .stickup.header-section-1 .grid-12{
		margin-left:0;
	}

	body.corteointerno .stickup.header-section-1.isStuck .grid-12,
	body.section-alabardieri .stickup.header-section-1.isStuck .grid-12{
		margin-left:15px;
	}

	body.page-fotogallery table td{
		width:25%;
		float:left;
	}

	body.page-fotogallery .views-label.views-label-field-img-gallery{
		display:none;
	}


@media(max-width:1250px){
			body.corteointerno .contenutostorico {
    		width: 940px;
            }

            body.corteointerno #header{	width:940px;	margin:0 auto;}
            body.section-alabardieri h4,
	body.corteointerno h4{
		font-size:60px;
	}
	}

	@media(max-width:995px){
			body.corteointerno .contenutostorico {
    		width:748px;
            }

            body.corteointerno #header{	width:748px;	margin:0 auto;}

            body.corteointerno h4{
		font-size:50px;
	}
	}

	@media(max-width:767px){
			body.corteointerno .contenutostorico {
    		width:90%;
            }

            body.corteointerno #header{	width:90%;;	margin:0 auto;}

            body.section-alabardieri .left,
	body.section-alabardieri .right,
	body.corteointerno .left,
	body.corteointerno .right{	width:100%;	float:none;	}

	       body.corteointerno h4{
		font-size:35px;
	}
	}

	@media(max-width:450px){
		       body.corteointerno h4{
		font-size:25px;
	}
	}


body.page-fotogallery h4{
	padding-bottom:50px;
	font-size:35px;
}

#bandi-home {
	padding: 1em;
}

#social-home {
	margin: -3em auto 5em !important;
	overflow: hidden;
}

#social-home div.grid-4 {
	margin: 0 0.6em !important;
}


.view-ultime-news .views-row {
	float: left;
	width: 100%;
}

.view-ultime-news .img-news-home {
	display: block;
	float: left;
	margin: 0 2em 0 0;
	width: 40%;
}

.view-ultime-news h2 {
	font-weight: 600;
}

/* Finestra modale */
/* Outer */
.popup {
    width:100%;
    height:100%;
    display:none;
    position:fixed;
    top:0px;
    left:0px;
	z-index: 100;
	background: rgba(0,0,0,.5)
}

/* Inner */
.popup-inner {
    max-width:700px;
    width:90%;
    padding:40px;
    position:absolute;
    top:50%;
    left:50%;
    -webkit-transform:translate(-50%, -50%);
    transform:translate(-50%, -50%);
    box-shadow:0px 2px 6px rgba(0,0,0,1);
    border-radius:3px;
    background:#fff;
}

/* Close Button */
.popup-close {
    width:30px;
    height:30px;
    font-weight: 600;
    padding-top:4px;
    display:inline-block;
    position:absolute;
    top:0px;
    right:0px;
    transition:ease 0.25s all;
    -webkit-transform:translate(50%, -50%);
    transform:translate(50%, -50%);
    border-radius:1000px;
    background:rgba(0,0,0,0.8);
    font-family:Arial, Sans-Serif;
    font-size:20px;
    text-align:center;
    line-height:100%;
    color:#fff;
}

.popup-close:hover {
    -webkit-transform:translate(50%, -50%) rotate(180deg);
    transform:translate(50%, -50%) rotate(180deg);
    background:rgba(0,0,0,1);
    text-decoration:none;
}

form#formAccreditiStampa{

    background-color: #B4112C;
    border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;

    padding: 35px;

}

form#formAccreditiStampa label{
display:block!important;
color:#fff;
}

form#formAccreditiStampa small{
color:#fff;
}

form#formAccreditiStampa a{
color:#fff;
text-decoration:underline;
font-weight:bold;
}


form#formAccreditiStampa input[type="text"],
form#formAccreditiStampa input[type="email"],
form#formAccreditiStampa input[type="file"]{
width:100%!important;
}

form#formAccreditiStampa input[type="file"]{
color:#fff;
}

form#formAccreditiStampa input[type="submit"]{
	background-color: #fff;
    bottom: -5px;

    margin-bottom: 35px;
    margin-right: 35px;
    padding: 5px 10px;

    right: 0;
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	color:#B4112C;
}


p.success{
border-color:1px solid green;
background-color:green;
    color: #fff;
    padding: 15px;
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
}

p.alert{
border-color:1px solid orange;
background-color:orange;
    color: #fff;
    padding: 15px;
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
}
form#formAccreditiStampa input.orange,
.orange{
border:2px solid orange;
}

span.bold{
font-weight:bold;
}

body.accredito h4{
background-color:#D2232A;
    color: #fff;
    font-size: 45px;
    height: 180px;
    line-height: 180px;
}


ul.right.accreditation{
float:right;
margin-top: -45px;
}

ul.right.accreditation li{
width:40%;
float:left;
margin:0 0 0 10px;
padding:0;
}

.blog_usernames_blog.last{
display:none!important;
}
li.views-row-5,
li.views-row-6,
li.views-row-7,
li.views-row-8{
margin-left:15px!important;
}
.studi_documentazione h4 a {	font-weight: 600;	text-decoration: none;}
.studi_documentazione .node-teaser {	width: 100%;	}
.studi_documentazione .node-footer {	text-align: right;}
.view-studi-e-documentazione td {	width: 100%;	}
.node-blog iframe,.view-studi-e-documentazione iframe {	margin: auto;	display: block;	margin-bottom: 1rem;}

.view-studi-e-documentazione img {	float: left;	max-width: 40%;	margin-right: 1rem;}
/*
#studi_documentazione #node-307 .field-name-body .field-item p{
	display: block;
}

#node-307 .field-name-body .field-item p{
	display: none;
}
#studi_documentazione #node-308 .field-name-body .field-item p{
	display: block;
}

#node-308 .field-name-body .field-item p{
	display: none;
}*/

.grigio{
background-color:#ccc;
overflow:hidden;
}

.left50saluto{
width: 50%; float: left;

}
.left50saluto img{
padding: 36px 55px;
}
.right50saluto{
width: 50%; float: right;

}
.right50saluto p{
padding: 46px 55px;
margin-bottom:15px;
}

@media(max-width:995px){
.left50saluto,
.right50saluto
 {
    width: 100%;
    float: none;
    text-align: center;
}
}