﻿
/*.carousel {
    position: relative;
    overflow: hidden;
    width: 706px;
    height: 530px;
}

#myCarouselEventsHeader {
    position: relative;
    overflow: hidden;
    background-image:url(Images/Structure/SfondoSlider.jpg);
    background-repeat:repeat;
    width: 100%;
    height: 330px;
}

    #myCarouselEventsHeader img {
        width: 470px;
        padding:10px 20px;
    }

.FrecceNavigazione .carousel-control {
    position: absolute;
    top: 30%;
    bottom: 0;
    left: 0;
    font-size: 25px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
    color: #fff;
}

    .FrecceNavigazione .carousel-control.left {
        left: 5%;
    }

    .FrecceNavigazione .carousel-control.right {
        left: 95%;
    }



.carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
}



    .carousel-inner > .item {
        display: none;
        position: relative;
        -webkit-transition: 0.6s ease-in-out left;
        -moz-transition: 0.6s ease-in-out left;
        -o-transition: 0.6s ease-in-out left;
        transition: 0.6s ease-in-out left;
        text-align: center;
    }


        .carousel-inner > .item > img, .carousel-inner > .item img {
        }


    .carousel-inner:last-of-type > .item > img, .carousel-inner:last-of-type > .item img {
        width: 100%;
    }

.carousel-fade .carousel-inner .item {
    opacity: 0;
    transition-property: opacity;
}

.carousel-fade .carousel-inner .active {
    opacity: 1;
}

    .carousel-fade .carousel-inner .active.left,
    .carousel-fade .carousel-inner .active.right {
        left: 0;
        opacity: 0;
        z-index: 1;
    }

.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
    opacity: 1;
}

.carousel-fade .carousel-control {
    z-index: 2;
}


@media all and (transform-3d), (-webkit-transform-3d) {
    .carousel-inner > .item {
        -webkit-transition: -webkit-transform 0.6s ease-in-out;
        -moz-transition: -moz-transform 0.6s ease-in-out;
        -o-transition: -o-transform 0.6s ease-in-out;
        transition: transform 0.6s ease-in-out;
    }

        .carousel-inner > .item.next,
        .carousel-inner > .item.active.right {
            -webkit-transform: translate3d(100%, 0, 0);
            transform: translate3d(100%, 0, 0);
            left: 0;
        }

        .carousel-inner > .item.prev,
        .carousel-inner > .item.active.left {
            -webkit-transform: translate3d(-100%, 0, 0);
            transform: translate3d(-100%, 0, 0);
            left: 0;
        }

            .carousel-inner > .item.next.left,
            .carousel-inner > .item.prev.right,
            .carousel-inner > .item.active {
                -webkit-transform: translate3d(0, 0, 0);
                transform: translate3d(0, 0, 0);
                left: 0;
            }
}

.carousel-inner > .active, .carousel-inner > .next, .carousel-inner > .prev {
    display: block;
}

.carousel-inner > .active {
    left: 0;
}

.carousel-inner > .next, .carousel-inner > .prev {
    position: absolute;
    top: 0;
    width: 100%;
}

.carousel-inner > .next {
    left: 100%;
}

.carousel-inner > .prev {
    left: -100%;
}

    .carousel-inner > .next.left, .carousel-inner > .prev.right {
        left: 0;
    }

.carousel-inner > .active.left {
    left: -100%;
}

.carousel-inner > .active.right {
    left: 100%;
}

.carousel-control {
    position: absolute;
    top: 90%;
    bottom: 0;
    left: 0;
    font-size: 25px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
    color: #fff;
}

    .carousel-control.left {
        left: 30px;
    }

    .carousel-control.right {
        left: 55px;
    }

    .carousel-control:hover, .carousel-control:focus {
        outline: 0;
        color: #aaa;
        text-decoration: none;
    }

    .carousel-control .icon-prev, .carousel-control .icon-next, .carousel-control .fa-chevron-left, .carousel-control .fa-chevron-right {
        position: absolute;
        top: 17%;
        z-index: 5;
        display: inline-block;
    }

    .carousel-control .fa-arrow-circle-o-left,
    .carousel-control .fa-arrow-circle-o-right {
        position: absolute;
        top: 35%;
        z-index: 5;
        display: inline-block;
        color: #aaa;
        text-shadow: none;
        font-size: 30px;
    }

        .carousel-control .fa-arrow-circle-o-left:hover,
        .carousel-control .fa-arrow-circle-o-right:hover {
            color: #000;
        }

    .carousel-control .fa-arrow-circle-o-left {
        margin-left: -60px;
    }

    .carousel-control .fa-arrow-circle-o-right {
        margin-left: 40px;
    }




    .carousel-control .icon-prev, .carousel-control .fa-chevron-left {
        left: 50%;
        margin-left: -10px;
    }


    .carousel-control .icon-next, .carousel-control .fa-chevron-right {
        right: 80%;
        margin-right: -10px;
    }


    .carousel-control .icon-prev, .carousel-control .icon-next {
        width: 15px;
        height: 15px;
        margin-top: -10px;
        line-height: 1;
        font-family: serif;
    }

        .carousel-control .icon-prev:before {
            content: '\2039';
        }

        .carousel-control .icon-next:before {
            content: '\203a';
        }*/

/*@media screen and (min-width: 769px)
{
    .carousel-control .fa-chevron-left, .carousel-control .fa-chevron-right, .carousel-control .icon-prev, .carousel-control .icon-next
    {
        width: 15px;
        height: 15px;
        margin-top: -15px;
        font-size: 20px;
    }

    .carousel-control .fa-arrow-circle-o-left,
    .carousel-control .fa-arrow-circle-o-right
    {
        font-size: 20px;
    }

    .carousel-control .fa-chevron-left, .carousel-control .icon-prev
    {
        margin-left: -15px;
    }


    .carousel-control .fa-chevron-right, .carousel-control .icon-next
    {
        margin-right: -15px;
    }
}*/


/*IN HOME*/

/*@media (max-width: 414px)
{
    .myCarouselEvents
    {
        margin: 0;
        padding: 0;
        background-image: none;
        height: auto;
    }

    .carousel-control .fa-arrow-circle-o-left,
    .carousel-control .fa-arrow-circle-o-right
    {
        font-size: 20px;
    }

    .carousel-control .fa-arrow-circle-o-left
    {
        margin-left: -15px;
    }

    .carousel-control .fa-arrow-circle-o-right
    {
        margin-left: -2px;
    }
}*/

/* IPhone e Smartphone */
/*@media only screen (max-device-width: 414px)
{
    .myCarouselEvents
    {
        margin: 0;
        padding: 0;
        background-image: none;
        height: auto;
    }

    .carousel-control .fa-arrow-circle-o-left,
    .carousel-control .fa-arrow-circle-o-right
    {
        font-size: 20px;
    }

    .carousel-control .fa-arrow-circle-o-left
    {
        margin-left: -15px;
    }

    .carousel-control .fa-arrow-circle-o-right
    {
        margin-left: -2px;
    }
}*/

/*@media (min-width: 415px) and (max-width: 768px)
{
    .myCarouselEvents
    {
        margin: 0;
        padding: 0;
        background-image: none;
        height: auto;
        overflow: hidden;
    }

    .carousel-inner div h2
    {
        word-break: break-all;
        font-size: 14px;
    }

    .carousel-control .fa-arrow-circle-o-left,
    .carousel-control .fa-arrow-circle-o-right
    {
        font-size: 20px;
    }

    .carousel-control .fa-arrow-circle-o-left
    {
        margin-left: -15px;
    }

    .carousel-control .fa-arrow-circle-o-right
    {
        margin-left: -2px;
    }
}*/

/* Ipad e Tablet */
/*@media only screen (min-device-width: 415px) and (max-device-width: 768px)
{
    .myCarouselEvents
    {
        margin: 0;
        padding: 0;
        background-image: none;
        height: auto;
        overflow: hidden;
    }

    .carousel-control .fa-arrow-circle-o-left,
    .carousel-control .fa-arrow-circle-o-right
    {
        font-size: 20px;
    }

    .carousel-control .fa-arrow-circle-o-left
    {
        margin-left: -15px;
    }

    .carousel-control .fa-arrow-circle-o-right
    {
        margin-left: -2px;
    }

    .carousel-inner .active.left
    {
        left: -33%;
    }

    .carousel-inner .next
    {
        left: 33%;
    }

    .carousel-inner .prev
    {
        left: -33%;
    }

    .carousel-inner .active.quote.left
    {
        left: -100%;
    }

    .carousel-inner .quote.next
    {
        left: 100%;
    }

    .carousel-inner .quote.prev
    {
        left: -100%;
    }

    .carousel-inner .quote
    {
        text-align: left;
    }

    .carousel-control.left, .carousel-control.right
    {
        background-image: none;
    }

    .item:not(.prev)
    {
        visibility: visible;
    }

    .item.right:not(.prev)
    {
        visibility: hidden;
    }

    .rightest
    {
        visibility: visible;
    }

    .carousel-caption
    {
        position: absolute;
        top: 20px;
        left: 15%;
        z-index: 10;
        text-align: center;
        text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
        font-weight: 700;
        text-transform: uppercase;
        font-family: 'Open Sans Condensed';
        letter-spacing: 1px;
        background-color: rgba(235, 107, 8, 0.85);
        -webkit-border-radius: 0px;
        -moz-border-radius: 0px;
        border-radius: 0px;
        color: #fff;
        font-size: 24px;
        padding: 10px 20px;
        width: auto;
    }

        .carousel-caption.right
        {
            right: 15%;
            top: 180px;
            left: auto;
        }

        .carousel-caption .btn
        {
            text-shadow: none;
        }

    .animated
    {
        -webkit-animation-duration: 1s;
        animation-duration: 1s;
        -webkit-animation-fill-mode: both;
        animation-fill-mode: both;
    }

    @-webkit-keyframes zoomInLeft
    {
        0%
        {
            opacity: 0;
            -webkit-transform: scale3d(.1,.1,.1) translate3d(-1000px,0,0);
            transform: scale3d(.1,.1,.1) translate3d(-1000px,0,0);
            -webkit-animation-timing-function: cubic-bezier(0.55,.055,.675,.19);
            animation-timing-function: cubic-bezier(0.55,.055,.675,.19);
        }

        60%
        {
            opacity: 1;
            -webkit-transform: scale3d(.475,.475,.475) translate3d(10px,0,0);
            transform: scale3d(.475,.475,.475) translate3d(10px,0,0);
            -webkit-animation-timing-function: cubic-bezier(0.175,.885,.32,1);
            animation-timing-function: cubic-bezier(0.175,.885,.32,1);
        }
    }

    @keyframes zoomInLeft
    {
        0%
        {
            opacity: 0;
            -webkit-transform: scale3d(.1,.1,.1) translate3d(-1000px,0,0);
            transform: scale3d(.1,.1,.1) translate3d(-1000px,0,0);
            -webkit-animation-timing-function: cubic-bezier(0.55,.055,.675,.19);
            animation-timing-function: cubic-bezier(0.55,.055,.675,.19);
        }

        60%
        {
            opacity: 1;
            -webkit-transform: scale3d(.475,.475,.475) translate3d(10px,0,0);
            transform: scale3d(.475,.475,.475) translate3d(10px,0,0);
            -webkit-animation-timing-function: cubic-bezier(0.175,.885,.32,1);
            animation-timing-function: cubic-bezier(0.175,.885,.32,1);
        }
    }

    .zoomInLeft
    {
        -webkit-animation-name: zoomInLeft;
        animation-name: zoomInLeft;
    }

    @-webkit-keyframes zoomInRight
    {
        0%
        {
            opacity: 0;
            -webkit-transform: scale3d(.1,.1,.1) translate3d(1000px,0,0);
            transform: scale3d(.1,.1,.1) translate3d(1000px,0,0);
            -webkit-animation-timing-function: cubic-bezier(0.55,.055,.675,.19);
            animation-timing-function: cubic-bezier(0.55,.055,.675,.19);
        }

        60%
        {
            opacity: 1;
            -webkit-transform: scale3d(.475,.475,.475) translate3d(-10px,0,0);
            transform: scale3d(.475,.475,.475) translate3d(-10px,0,0);
            -webkit-animation-timing-function: cubic-bezier(0.175,.885,.32,1);
            animation-timing-function: cubic-bezier(0.175,.885,.32,1);
        }
    }

    @keyframes zoomInRight
    {
        0%
        {
            opacity: 0;
            -webkit-transform: scale3d(.1,.1,.1) translate3d(1000px,0,0);
            transform: scale3d(.1,.1,.1) translate3d(1000px,0,0);
            -webkit-animation-timing-function: cubic-bezier(0.55,.055,.675,.19);
            animation-timing-function: cubic-bezier(0.55,.055,.675,.19);
        }

        60%
        {
            opacity: 1;
            -webkit-transform: scale3d(.475,.475,.475) translate3d(-10px,0,0);
            transform: scale3d(.475,.475,.475) translate3d(-10px,0,0);
            -webkit-animation-timing-function: cubic-bezier(0.175,.885,.32,1);
            animation-timing-function: cubic-bezier(0.175,.885,.32,1);
        }
    }

    .zoomInRight
    {
        -webkit-animation-name: zoomInRight;
        animation-name: zoomInRight;
    }
}

#carouselButtons
{
    margin-left: 0;
    position: absolute;
    top: -40px;
    
    height:80px;
    clear:both;
}

    #carouselButtons button
    {
        background-color: transparent;
        border: none;
        width: 90px;
         cursor: pointer;
        
    }

     
      #carouselButtons button:hover .BtnPlayStop       {
          background-color: rgba(200, 194, 194, 0.75);
        color: #ad0a0a;
      }*/

