// breack point 
$mini_mobile : 500px;
$mobile : 769px;
$tablet: 992px;
@mixin avatar-shadow{
  -webkit-box-shadow: 0px 0px 0px 8px #3d3d3d, 0px 0px 0px 16px #4B4C4B, 0px 0px 0px 24px #828482, 0px 0px 0px 31px #B2B5B2, 0px 0px 0px 39px #DADDDA, 0px 0px 50px 50px rgba(193,187,184,0); 
   box-shadow: 0px 0px 0px 8px #3d3d3d, 0px 0px 0px 16px #4B4C4B, 0px 0px 0px 24px #828482, 0px 0px 0px 31px #B2B5B2, 0px 0px 0px 39px #DADDDA, 0px 0px 50px 50px rgba(193,187,184,0);
}


.container-slide{
    width: 100%;
    .carosello{
        width: 90%;
        margin: 0 auto;
        min-height: 540px;
        @media only screen and (min-width: $mobile ) {
          width: 100%;
        }
    }
    
    .slick-slide{
        img{
            margin: 0 auto;
            max-width: 1000px;
        }
    } 
    .item{
        padding: 0;
        outline: none;
        .item-inner{
            background: #fff;
            text-align: center;
            padding: 0;
        }
        &.item-contenuto{
          padding: 0;
          outline: none;
          background-color: #fff;
          -webkit-box-shadow: 0 0 20px rgb(0,0,0);
          -moz-box-shadow: 0 0 20px rgba(0,0,0,0.15);
          -o-box-shadow: 0 0 20px rgba(0,0,0,0.15);
          box-shadow: 0 0 20px rgb(0,0,0);
        }
        
    }
    
    .slick-slide{
        transform: scale(0.8);
        opacity: 0.3;
        transition: all ease 0.5s;
        max-width: 1000px;
        @media only screen and (min-width: $tablet ) {
          margin: 0 -30px;
        }
    }
    .slick-slide.slick-current{
        transform: scale(1);
        opacity: 1;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .slick-arrow{
        //background-color: #000 !important;
        border-radius: 50%;
        z-index: 999999;
        top: 23%;
        @media only screen and (min-width: $mobile ) {
          top: 50%;
        }
        &.slick-disabled {
          -webkit-opacity: 0.3;
          -moz-opacity: 0.3;
          opacity: 0.3;
          cursor: default;
      }
        
    }
    
    .slick-dots{
      position: absolute;
      bottom: -45px;
      display: block;
      width: 100%;
      padding: 0;
      margin: 0;
      list-style: none;
      text-align: center;
      li {
        width: 5px !important;
        button{
          &:before {
            content: '\0025CB';
            font-size: 30px;
          }
          &:focus{
              &:before {
                content: '\002B24';
                font-size: 18px;
                padding-top: 2px;
              }
          }
          &:hover{
            &:before {
              content: '\002B24';
              font-size: 18px;
              padding-top: 2px;
            }
        }
        }
        &.slick-active{
          button{
            &:before {
              content: '\002B24';
              font-size: 18px;
              padding-top: 2px;
          }
          }
        }
    }

    } 
    
    .item-inner{
      display: flex;
      flex-wrap: wrap;
      /* > * {
        flex-grow: 0;
        //flex-basis:  calc((35rem - 100%) * 999);
      } */
      max-width: 350px;
      @media only screen and (min-width: $mobile ) {
        max-width: 100%;
        
      }
    /* Colonne */
    .col-sx{
        width: 100%;
        height: 250px;
        position: relative;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        //display: block;
        float: left;
        img{
          margin-left: -17px;
          margin-top: -22px;
          @media only screen and (min-width: 420px ) {
            margin-left: -15px;
            margin-top: -23px;
            
          }
          @media only screen and (min-width: $mini_mobile ) {
            margin-left: -46px;
            margin-top: 74px;
            
          }
          @media only screen and (min-width: $mobile ) {
            margin-left: 0;
            margin-top: 42px;
          }
          @media only screen and (min-width: 1400px ) {
            margin: 0 auto;
          }
        }
        @media only screen and (min-width:$mobile ) {
          width: 50%;
          height: 500px;
        }
        
        .avatar-image{
          position: relative;
          background-size: cover;
          background-position: center;
          background-repeat: no-repeat;
          -webkit-border-radius: 67px;
          -moz-border-radius: 67px;
          border-radius: 67px;
          border: none;
          width: 8rem;
          height: 8rem;
          margin: 6.6rem;
          @include avatar-shadow();
          @media only screen and (min-width:$mobile){
            margin: 0 auto;
            margin-top: 5rem;
          }
          @media only screen and (min-width:$tablet){
            margin: 11.6rem;
          } 
        }
        a.play {
          width: 100%;
          height: 100%;
          cursor: pointer;
          border: 0;
          background-color: transparent;
          padding: 0;
          outline: 0;
          img {
            position: absolute;
            top: calc(50% - 54px) !important;
            left: calc(50% - 51px)!important;

            transform: scale(.8);
            transition: all 1s cubic-bezier(.215,.61,.355,1);
            @media only screen and (min-width: $mini_mobile ){
              top: calc(50% - 121px)!important;
              left: calc(50% - 18px)!important;

              
            }
            @media only screen and (min-width: $mobile ){
              top: calc(50% - 71px)!important;
              left: calc(50% - 61px) !important;
            }
           
        }
      }
    }
    
    .col-dx{
        width: 100%;
        float: left;
        //display: block;
        text-align: left;
        padding: 30px;
        h3 {
          text-transform: uppercase;
          width: auto;
          font-size: 1.1em;
          margin-bottom: 0;
          margin-top:0px;
        }
        hr{
          height: 0;
          width: 3rem;
          border: 1px solid #000;
          border-width: 4px 0 0 0;
        }
        @media only screen and (min-width: $mobile ) {
          width: 50%;
        }

    }
  }
    
    /* bottoni */
    .btn-bianco{
      background-color: #fff;
      border: 1px solid #000;
      background-image: none;
      border-radius: 0;
      color: #000;
      display: block;
      max-width: 180px;
      text-align: center;
      &:hover{
        opacity:0.8;
      }
    }

    .btn-arancio{
      background-color: #c4801a;
      border: 1px solid #000;
      color: #ffffff;
      margin-top: 5px;
      display: block;
      max-width: 197px;
      text-align: center;
      &:hover{
        opacity:0.8;
      }
    }
    
    /* Tab */
    ul.tabs {
        width: 90%;
        margin: 0 auto;
        text-align: center;
        padding: 0;
        @media only screen and (min-width: $mini_mobile ) {
          padding: auto;
          
        }
        li {
            list-style:none; 
            margin-right:5px; 
            border-top-left-radius:3px;  
            border-top-right-radius:3px;
              outline:none;
              display: inline-block;
              a {
                cursor:pointer;
                font-family:Arial, Helvetica, sans-serif; 
                font-size: small;
                font-weight: bold; 
                color: #000;;
               padding-top: 5px;
               padding-left: 7px;
               padding-right: 7px;
                padding-bottom: 8px; 
                display:block; 
                background: #FFF;
                text-decoration:none;
                outline:none;
                border-bottom: 1px solid #000;
                &.inactive{
                    padding-top:5px;
                    padding-bottom:8px;
                  padding-left: 8px;
                  padding-right: 8px;
                   outline:none;
                   border-bottom: 0;
                   &:hover {
                    color: #000;
                      outline:none;
                }
                
                }
                &:hover {
                    color: #000;
                      outline:none;
                }
            }
        }
     }

}

/* sick slider */

.slick-next{
  width: 50px !important;
    height: 50px !important;
    background: url('../img/freccia-destra.svg') no-repeat left top !important;
    background-size: contain !important;
    right: 0 !important;
    &:before {
      content: '' !important;
      & svg {
        fill: red;
      }
    }
}
.slick-prev{
    width: 50px !important;
    height: 50px !important;
    background: url('../img/freccia-sinistra.svg') no-repeat left top !important;
    background-size: contain!important;
    left:0 !important;
    &:before {
      content: '' !important;
    }
}

.tab-content{
  width: 100%;
  padding-top: 30px;
  padding-bottom: 30px;
  transition: opacity 0.9s;
  -webkit-transition: opacity 0.9s;
}

/* fslightbox */

.tdm-fslightbox-source {
    display: block;
    width: 370px !important;
    height: 150 !important;
    @media only screen and (min-width: $mini_mobile ) {
      width: 400px !important;
      height: 200px !important;
    }
    @media only screen and (min-width: $mobile ) {
      width: 600px !important;
      height: 300px !important;
    }
    @media only screen and (min-width: $tablet ) {
      width: 900px !important;
      height: 450px !important;
    }
  }
  .col-sx{
    iframe{
      display: none;
    }
  }