/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : Nov 27, 2016, 6:40:06 PM
    Author     : Filippo
*/

.slide-fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 2.0s;
  animation-name: fade;
  animation-duration: 2.0s;
}

.slide-text-container{
    display: none;
}

#slideshow-container{
   border: 0px;
   position: relative;
   background-color: #292c2f;
}


#slideshow-container img{
    width: 100%;
    max-height: 450px;
    object-fit: cover;
}

.slide-text-container, #slideshow-logo-container{
    position: absolute;
    z-index: 1000;
}

#slideshow-logo-container div{
    padding: 5%;
}

.slide-text-container{
    right: 0;
    bottom: 2%;
    margin: 20px;
    padding: 15px;
    max-width: 40%;
    overflow: hidden;
    border-radius: 5px;
    background-color: rgba(0, 0, 0, 0.65);
    color: white;
    font-size: 25px;
}

#slideshow-logo-container{
   float: left;
    height: 100%;
   left: 0px;
   top: 0px;
   width: 35%;
   
   padding: 5px;
   color: #FFFFFF;
   font-weight: bold;
   background-color: rgba(0, 0, 0, 0.8);
}

#slideshow-logo-container div{
    position: absolute; top: 50%; left: 50%; width: 80%; transform: translate(-50%,-50%); resize: vertical; display: inline-block; text-align: center;
}

@-webkit-keyframes fade {
  from {opacity: .01} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .01} 
  to {opacity: 1}
}

@media (max-width: 991px){
    .slide-text-container{
        font-size: 18px;
    }
    
    #slideshow-container img{
    max-height: 400px;
}
}

@media (max-width: 768px){
    .slide-text-container{
        font-size: 16px;
    }
}

@media (max-width: 500px){
    .slide-text-container{
        padding: 10px;
        font-size: 14px;
    }
}

@media (max-width: 700px){
    .slide-text-container{
        max-width: 80%;
    }
    
     #slideshow-logo-container img{
        max-width: 100%;
        max-height: 350px;
    }
    
    
}

@media (max-width: 500px){
    #slideshow-logo-container{
        width: 100%;
    }
    
    #slideshow-logo-container img{
        max-width: 79%;
        max-height: 250px;
    }
}