p.justify {text-align: justify}

/* RESPONSIVITA' */

.forced-max-half {max-width: 48%; float: left;}
.navbar-toggle{margin-top:18px}


/* FOOTER */
.subscribe input[text] {width: 90%!important; max-width: 300px}
.back-to-top {z-index: 99999;}

/* INDEX */
.avviso{
	border: 2px solid #EDA200;
 	border-radius: 5px; 
	-moz-border-radius: 5px; 
	-webkit-border-radius: 5px; 
	background: #eee
}
.motto {
	padding-top:20px; padding-bottom:20px; border-top:0; border-bottom:0; background: #0085D1;
	background-image: -ms-radial-gradient(center, ellipse farthest-side, #0085D1 0%, #3C65AB 150%);
	background-image: -moz-radial-gradient(center, ellipse farthest-side, #0085D1 0%, #3C65AB 150%);
	background-image: -o-radial-gradient(center, ellipse farthest-side, #0085D1 0%, #3C65AB 150%);
	background-image: -webkit-gradient(radial, center center, 0, center center, 258, color-stop(0, #0085D1), color-stop(150, #3C65AB));
	background-image: -webkit-radial-gradient(center, ellipse farthest-side, #0085D1 0%, #3C65AB 150%);
	background-image: radial-gradient(ellipse farthest-side at center, #0085D1 0%, #3C65AB 150%);
	color: white
}
.light-section .testimonials .testimonial-content p , .light-section .testimonials{
	color: white;
}
.owl-next {
	border-radius: 2px 9px 9px 2px !important; 
	-moz-border-radius: 2px 9px 9px 2px !important; 
	-webkit-border-radius: 2px 9px 9px 2px !important; 
}
.owl-prev {
	border-radius: 9px 2px 2px 9px !important; 
	-moz-border-radius: 9px 2px 2px 9px !important; 
	-webkit-border-radius: 9px 2px 2px 9px !important;  
}
.row-corsi {
	background: gray;
	color: white!important;
	border-radius: 5px; 
	-moz-border-radius: 5px; 
	-webkit-border-radius: 5px; 
	background-image: -ms-radial-gradient(center top, ellipse farthest-side, #737373 -10%, #525252 100%);
	background-image: -moz-radial-gradient(center top, ellipse farthest-side, #737373 -10%, #525252 100%);
	background-image: -o-radial-gradient(center top, ellipse farthest-side, #737373 -10%, #525252 100%);
	background-image: -webkit-gradient(radial, center top, 0, center top, 258, color-stop(-10, #737373), color-stop(100, #525252));
	background-image: -webkit-radial-gradient(center top, ellipse farthest-side, #737373 -10%, #525252 100%);
	background-image: radial-gradient(ellipse farthest-side at center top, #737373 -10%, #525252 100%);
}
.row-corsi .big-title h1{color: white;}
.row-corsi .service-boxed .imghex {
	position: absolute; 
	width: 84%;
	top: -10px;
}
.row-corsi .service-boxed .imghex img{

	width: 150px !important;
	margin: 0 auto
}
.catage{width: 35% !important}
.catore{width: 60% !important}

@media (max-width: 991px) {
	.row-corsi .service-boxed .imghex {
	width: 90%;
	top: -30px;
	}
}
.btn-system.border-btn{background:#DEE6F2}
.row-corsi .service-boxed{
	background: white;
	color: black;
	padding-top: 110px !important;
}
.service-invito p {color: white!important;}
.service-boxed:hover {
	border-color: #0085D1;
	box-shadow: 0 0 6px rgba(0,0,0,.4);
	-o-box-shadow: 0 0 6px rgba(0,0,0,.4);
	-moz-box-shadow: 0 0 6px rgba(0,0,0,.4);
  	-webkit-box-shadow: 0 0 6px rgba(0,0,0,.4);
}
.service-content{
	text-align: left
}
.schedule div{
	width: 48%; text-align: left; margin: 0 1%; margin-bottom: 10px; display: block; float: left;
}
.schedule div:last-child{margin-bottom: 0;}

.schedule h4{
	clear: both; margin-top: 20px; padding-bottom: 3px
}
.schedule h4 span{
	padding-bottom: 3px
}

.icon-rotate {-ms-transform: rotate(-14deg); /* IE 9 */
    -webkit-transform: rotate(-14deg); /* Chrome, Safari, Opera */
    transform: rotate(-14deg);}
	
.mail-subscribe-widget form input[type="text"] {width: 160px}	
	
	/* ABOUT */
.team-member {margin-bottom: 30px}	
.team-member .member-photo .member-name {
	min-width: 130px;
	-webkit-border-radius: 2px 25px 2px 2px;
	-moz-border-radius: 2px 25px 2px 2px;
	-o-border-radius: 2px 25px 2px 2px;
	right: -10px; bottom: -10px
}
.team-member .member-photo .member-name span {
	padding-right: 20px;
	-webkit-border-radius: 2px 2px 25px 2px !important;
	-moz-border-radius: 2px 2px 25px 2px !important;
	-o-border-radius: 2px 2px 25px 2px !important;
}

@media (max-width: 991px) {
	.member-name {bottom: -10px !important;}
	.team-member {margin-bottom: 30px;}
}

	/* ATTIVITA' */
.img-corso {float: right; max-width: 250px;}

#ascrail2000 div{width: 16px !important}

/* MEDIA */
.thumbnailimage {width: 100%}
.portfolio-filter ul li a::first-letter, .portfolio-details a span::first-letter {text-transform: uppercase !important}

/* ARTICOLI */
.smallpost {height: 290px; overflow: hidden; width: 33.3333% !important; display: inline !important;}
.smallpost .post-content {padding: 0; }
.smallpost .post-content h2{font-size: 12pt}
#pagination {display: block; clear: both;}

/* VIDEO GALLERY */
.videothumb-yt{
	border-top: 20px  solid black; border-bottom: 19px  solid black; border-left: none; border-right: none
}
@media (min-width: 580px) AND (max-width: 650px) {
	.videothumb-yt{
	border-top: 24px  solid black; border-bottom: 24px  solid black; border-left: none; border-right: none
	}
}
@media (min-width: 651px) AND (max-width: 768px) {
	.videothumb-yt{
	border-top: 31px  solid black; border-bottom: 31px  solid black; border-left: none; border-right: none
	}
}

/* GALLERIE */
.ultimagalleria img{ transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-webkit-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out; width: 100%}

.ultimagalleria img:hover{ opacity: 0.8;
    filter: alpha(opacity=80); /* For IE8 and earlier */}
.ultimagalleria ar h4{ transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-webkit-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;}
.ultimagalleria a:hover h4{ color: #257AF4}


/* CAROUSEL HEADER */
.sliding-header{
  position: relative; 
  display: block;
}
.sliding-header__slides{
  list-style-type: none;
  padding: 0;
  margin: 0
}

.sliding-header__slide img{
  width: 100%
}


.sliding-header__slide{
  width: 100%;
  display:none;
  opacity: 1;
  margin: 0;
  padding: 0;
  transition: 0.5s ease-in-out all
}
.sliding-header__slide[aria-current="true"]{
  display:block;
}

.sliding-header__slide.sliding-header__slide--fade-in {
  opacity: 0;
}
.sliding-header__slide:not(.sliding-header__slide--fade-out)[aria-current="false"]{
  display: none
}
.sliding-header__slide.sliding-header__slide--fade-out[aria-current="false"] {
  opacity: 0;
  display: block;
  position: absolute;
  top:0
}


/* Controls */
.sliding-header__controls{
  position: absolute;
  bottom: 1rem;
  width: 100%;
  display: flex;
  justify-content: center;
}
.sliding-header__controls button{
  width: 2rem; height: 0.35rem;
  display: inline-block;
  margin: 5px;
  border: none;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  opacity: 0.4;
  transition: ease-in-out 0.3s all
}
.sliding-header__controls button:hover, .sliding-header__controls button:focus, .sliding-header__controls button[aria-current="true"]{
  opacity: 1;
}

/* left and right buttons */
.sliding-header__left, .sliding-header__right{
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  padding: 0;
  margin: 0;
  width: 4rem;
  height: 97%;
  border: 0;
  background-color: transparent;
  transition: ease-in-out 0.3s background-color
}

.sliding-header__left:after, .sliding-header__right:after{
  content:"";
  width: 1.5rem;
  height: 1.5rem;
  display: block;
  border:6px solid white;
  border-top: 0;
  border-right: 0;
  transform: translate(25%) rotate(45deg);
  opacity: 0;
  transition: ease-in-out 0.3s all
}
.sliding-header__left:hover, .sliding-header__right:hover{
background: rgb(0,0,0);
background: -moz-radial-gradient(circle, rgba(0,0,0,0.3591706946450455) 0%, rgba(0,0,0,0) 66%);
background: -webkit-radial-gradient(circle, rgba(0,0,0,0.3591706946450455) 0%, rgba(0,0,0,0) 66%);
background: radial-gradient(circle, rgba(0,0,0,0.3591706946450455) 0%, rgba(0,0,0,0) 66%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000",endColorstr="#000000",GradientType=1);
}

.sliding-header__left:hover:after, .sliding-header__right:hover:after{
  opacity: 1;
}

.sliding-header__right{
  right: 0;
  left: auto;
  transform: rotate(180deg)
}