/* 
 *  Owl Carousel - Animate Plugin
 */
.owl-carousel .animated {
  -webkit-animation-duration: 1000ms;
  animation-duration: 1000ms;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}
.owl-carousel .owl-animated-in {
  z-index: 0;
}
.owl-carousel .owl-animated-out {
  z-index: 1;
}
.owl-carousel .fadeOut {
  -webkit-animation-name: fadeOut;
  animation-name: fadeOut;
}

@-webkit-keyframes fadeOut {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}
@keyframes fadeOut {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

/* 
 * 	Owl Carousel - Auto Height Plugin
 */
.owl-height {
  -webkit-transition: height 500ms ease-in-out;
  -moz-transition: height 500ms ease-in-out;
  -ms-transition: height 500ms ease-in-out;
  -o-transition: height 500ms ease-in-out;
  transition: height 500ms ease-in-out;
}

/* 
 *  Core Owl Carousel CSS File
 */
.owl-carousel {
  display: none;
  width: 100%;
  -webkit-tap-highlight-color: transparent;
  /* position relative and z-index fix webkit rendering fonts issue */
  position: relative;
  z-index: 1;
}
.owl-carousel .owl-stage {
  position: relative;
  -ms-touch-action: pan-Y;
}
.owl-carousel .owl-stage:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
.owl-carousel .owl-stage-outer {
  position: relative;
  overflow: hidden;
  /* fix for flashing background */
  -webkit-transform: translate3d(0px, 0px, 0px);
}
.owl-carousel .owl-controls .owl-nav .owl-prev,
.owl-carousel .owl-controls .owl-nav .owl-next,
.owl-carousel .owl-controls .owl-dot {
  cursor: pointer;
  cursor: hand;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.owl-carousel.owl-loaded {
  display: block;
}
.owl-carousel.owl-loading {
  opacity: 0;
  display: block;
}
.owl-carousel.owl-hidden {
  opacity: 0;
}
.owl-carousel .owl-refresh .owl-item {
  display: none;
}
.owl-carousel .owl-item {
  position: relative;
  min-height: 1px;
  float: left;
  -webkit-backface-visibility: hidden;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.owl-carousel .owl-item img {
  display: block;
  width: 100%;
  -webkit-transform-style: preserve-3d;
}
.owl-carousel.owl-text-select-on .owl-item {
  -webkit-user-select: auto;
  -moz-user-select: auto;
  -ms-user-select: auto;
  user-select: auto;
}
.owl-carousel .owl-grab {
  cursor: move;
  cursor: -webkit-grab;
  cursor: -o-grab;
  cursor: -ms-grab;
  cursor: grab;
}
.owl-carousel.owl-rtl {
  direction: rtl;
}
.owl-carousel.owl-rtl .owl-item {
  float: right;
}

/* No Js */
.no-js .owl-carousel {
  display: block;
}

/* 
 * 	Owl Carousel - Lazy Load Plugin
 */
.owl-carousel .owl-item .owl-lazy {
  opacity: 0;
  -webkit-transition: opacity 400ms ease;
  -moz-transition: opacity 400ms ease;
  -ms-transition: opacity 400ms ease;
  -o-transition: opacity 400ms ease;
  transition: opacity 400ms ease;
}
.owl-carousel .owl-item img {
  transform-style: preserve-3d;
}

/* 
 * 	Owl Carousel - Video Plugin
 */
.owl-carousel .owl-video-wrapper {
  position: relative;
  height: 100%;
  background: #000;
}
.owl-carousel .owl-video-play-icon {
  position: absolute;
  height: 80px;
  width: 80px;
  left: 50%;
  top: 50%;
  margin-left: -40px;
  margin-top: -40px;
  background: url("owl.video.play.png") no-repeat;
  cursor: pointer;
  z-index: 1;
  -webkit-backface-visibility: hidden;
  -webkit-transition: scale 100ms ease;
  -moz-transition: scale 100ms ease;
  -ms-transition: scale 100ms ease;
  -o-transition: scale 100ms ease;
  transition: scale 100ms ease;
}
.owl-carousel .owl-video-play-icon:hover {
  -webkit-transition: scale(1.3, 1.3);
  -moz-transition: scale(1.3, 1.3);
  -ms-transition: scale(1.3, 1.3);
  -o-transition: scale(1.3, 1.3);
  transition: scale(1.3, 1.3);
}
.owl-carousel .owl-video-playing .owl-video-tn,
.owl-carousel .owl-video-playing .owl-video-play-icon {
  display: none;
}
.owl-carousel .owl-video-tn {
  opacity: 0;
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  -webkit-background-size: contain;
  -moz-background-size: contain;
  -o-background-size: contain;
  background-size: contain;
  -webkit-transition: opacity 400ms ease;
  -moz-transition: opacity 400ms ease;
  -ms-transition: opacity 400ms ease;
  -o-transition: opacity 400ms ease;
  transition: opacity 400ms ease;
}
.owl-carousel .owl-video-frame {
  position: relative;
  z-index: 1;
}

/* ----------------------------------------------------------- */

/* 
 Home slide top
*/
#slide-top .owl-controls {
    position: absolute;
    top: 50%;
    width: 100%;
}
#slide-top .owl-controls .owl-prev{
    position: relative;
    float: left;
    width: 17px;
    height: 30px;
    margin-left: 30px;
    background-image:url(../images/h-slide1/fr-sx.png);
    background-repeat: no-repeat;
    content: "";
}
#slide-top .owl-controls .owl-next{
    float: right;
    width: 17px;
    height: 30px;
    text-align: right;
    margin-right: 30px;
    background-image:url(../images/h-slide1/fr-dx.png);
    background-repeat: no-repeat;
}

/* 
 Home slide box contatti
*/
#slide-cont .item{
    position: relative;
    height: 350px;
    background-position: center center;
    background-size: cover;
    padding-top: 40px;
    padding-bottom: 40px;
    font-family: "Puritan", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    color: #FFF;
    padding-right: 25px;
    padding-left: 25px;
}
#slide-cont .item.contatti h2{
    color: #000;
}
#slide-cont .item.contatti h2:after{
    background-color: #000;
}
#slide-cont .item .text{
    height: 190px;
    overflow: auto;
}
@media(max-width:1429px){
    #slide-cont .item {
        padding-top: 20px;
        padding-bottom: 20px;
        padding-right: 15px;
        padding-left: 15px;
        height: 250px;
    }
    #slide-cont .item .text{
        height: 145px;
        overflow: auto;
        font-size: 15px;
        line-height: 16px;
    }
}
#slide-cont .owl-controls {
    position: absolute;
    top: 45px;
    right: 0;
    width: 110px;
}
#slide-cont .owl-controls .owl-prev{
    position: relative;
    float: left;
    width: 14px;
    height: 25px;
    margin-left: 30px;
    background-image:url(../images/h-slide2/fr-sx.png);
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
}
#slide-cont .owl-controls .owl-next{
    float: right;
    width: 14px;
    height: 25px;
    text-align: right;
    margin-right: 30px;
    background-image:url(../images/h-slide2/fr-dx.png);
    background-repeat: no-repeat;
    background-size: contain;
}

/* 
 Home slide box testimonianze
*/
#slide-testimonianze .text{
    position: absolute;
    top: 140px;
    width: 90%;
    left: 5%;
    text-align: center;
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    font-size: 30px;
    line-height: 48px;
    color: #000;
    text-shadow:1px 1px 0px #ffffff;
    padding: 0 80px;
}
#slide-testimonianze .text:before{
    content: "";
    position: absolute;
    top: -5px;
    left: 0;
    width: 48px;
    height: 38px;
    background-image: url(../images/h-slide3/virgolette-sx.png);
    background-repeat: no-repeat;
}
#slide-testimonianze .text:after{
    content: "";
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 48px;
    height: 38px;
    background-image: url(../images/h-slide3/virgolette-dx.png);
    background-repeat: no-repeat;
}
#slide-testimonianze .text .autor{
    position: relative;
    display: inline-block;
    font-family: 'Droid Serif', serif;
    font-size: 24px;
    font-weight: 700;
    color: #999;
}
#slide-testimonianze .text .autor:before{
    content: "";
    position: absolute;
    top: 50%;
    left: -35px;
    width: 20px;
    height: 2px;
    background-color: #000;
}
@media(max-width:1429px){
    #slide-testimonianze .text{
        top: 90px;
        font-size: 20px;
        line-height: 26px;
    }   
    #slide-testimonianze .text .autor{
        font-size: 18px;
    }
}
@media(max-width:767px){
   #slide-testimonianze .text{
       top: auto;
       position: relative;
       margin-top: 10px;
       padding: 0;
    }
    #slide-testimonianze .text:before{
        display: none;
    }
    #slide-testimonianze .text:after{
        display: none;
    }
}
#slide-testimonianze .owl-controls {
    position: absolute;
    top: 90%;
    width: 100%;
}
@media(max-width:767px){
   #slide-testimonianze .owl-controls {
       top: auto;
    }
}
#slide-testimonianze .owl-controls .owl-nav{
    display: block;
    text-align: center;
    margin-top: -150px;
}
@media(max-width:1429px){
   #slide-testimonianze .owl-controls .owl-nav{
       visibility: hidden;
    } 
}
#slide-testimonianze .owl-controls .owl-prev{
    position: relative;
    float: left;
    width: 17px;
    height: 30px;
    margin-left: 30px;
    background-image:url(../images/h-slide3/fr-sx.png);
    background-repeat: no-repeat;
    content: "";
}
#slide-testimonianze .owl-controls .owl-next{
    float: right;
    width: 17px;
    height: 30px;
    text-align: right;
    margin-right: 30px;
    background-image:url(../images/h-slide3/fr-dx.png);
    background-repeat: no-repeat;
}
#slide-testimonianze .owl-controls .owl-dots{
    display: block;
    text-align: center;
    margin-top: 150px;
}
#slide-testimonianze .owl-controls .owl-dots .owl-dot{
    display: inline-block;
    margin: 5px;
    width: 10px;
    height: 10px;
    background-color: #FFF;
    -moz-box-shadow: 1px 1px 0px #ffffff;
    -webkit-box-shadow: 1px 1px 0px #ffffff;
    box-shadow: 1px 1px 0px #ffffff;
    
    -moz-border-radius-topleft: 75px;
    -moz-border-radius-topright:75px;
    -moz-border-radius-bottomleft:75px;
    -moz-border-radius-bottomright:75px;
    -webkit-border-top-left-radius:75px;
    -webkit-border-top-right-radius:75px;
    -webkit-border-bottom-left-radius:75px;
    -webkit-border-bottom-right-radius:75px;
    border-top-left-radius:75px;
    border-top-right-radius:75px;
    border-bottom-left-radius:75px;
    border-bottom-right-radius:75px;
}

#slide-testimonianze .owl-controls .owl-dots .owl-dot.active{
    background-color: #9a9a9a;
}
@media(max-width:992px){
    
    #slide-testimonianze .owl-controls .owl-dots{
        display: none;
    }
    
}
@media(max-width:767px){
    #slide-testimonianze .owl-controls .owl-dots{
        display: none;
    }
    #slide-testimonianze .owl-controls .owl-dots .owl-dot{
        background-color: #9a9a9a;
    }
    #slide-testimonianze .owl-controls .owl-dots .owl-dot.active{
        background-color: #fd0c05;
    }
    
}


/* 
 Insegnanti slide
*/
.tendina-image .owl-controls {
    position: absolute;
    top: 50%;
    width: 100%;
}
.tendina-image .owl-controls .owl-prev{
    position: relative;
    float: left;
    width: 30px;
    height: 54px;
    margin-left: 30px;
    background-image:url(../images/ins-slide/fr-sx.png);
    background-repeat: no-repeat;
    content: "";
}
.tendina-image .owl-controls .owl-next{
    float: right;
    width: 30px;
    height: 54px;
    text-align: right;
    margin-right: 30px;
    background-image:url(../images/ins-slide/fr-dx.png);
    background-repeat: no-repeat;
}

@media(max-width:767px){
    .tendina-image .owl-controls {
        position: fixed;
    }
    .tendina-image .owl-controls .owl-prev{
        margin-left: 15px;
    }
    .tendina-image .owl-controls .owl-next{
        margin-right: 15px;
    }
}

/* 
 Home slide top
*/
#slide-det .owl-controls {
    position: absolute;
    top: 50%;
    width: 100%;
}
#slide-det .owl-controls .owl-prev{
    position: relative;
    float: left;
    width: 17px;
    height: 30px;
    margin-left: 30px;
    background-image:url(../images/h-slide1/fr-sx.png);
    background-repeat: no-repeat;
    content: "";
}
#slide-det .owl-controls .owl-next{
    float: right;
    width: 17px;
    height: 30px;
    text-align: right;
    margin-right: 30px;
    background-image:url(../images/h-slide1/fr-dx.png);
    background-repeat: no-repeat;
}




















