/*
Theme Name:     wp-bootstrap-starter
Description:    Tema Child
Author:         Elce
Template:       wp-bootstrap-starter
Version:        1.0.0
*/

/*-----COOKIE BAR-----*/
#cookie-bar {position:fixed;bottom:0;left:0;width:100%;background-color:#000;height:auto;text-align:center; padding:15px 0;font-size:12px;color:#ffd600;}
#cookie-bar.fixed.bottom {bottom:0;top:auto;}
#cookie-bar p {margin:0; padding:0;}
#cookie-bar a {margin-top:5px;text-transform:uppercase;display:inline-block;text-decoration:none;padding:3px 6px;margin-left:10px;transition: all .3s ease;}
#cookie-bar .cb-enable {background:#ffd600;border:1px solid #262626;color:#000;}
#cookie-bar .cb-enable:hover {background:#000;color:#ffd600;transition: all .3s ease;}
#cookie-bar .cb-disable, #cookie-bar .cb-policy{color:#262626;border:1px solid #262626;background:#FFF;}
#cookie-bar .cb-disable:hover, #cookie-bar .cb-policy:hover{color:#FFF;background:#262626;transition: all .3s ease;}


html,body
{
    padding:0;
    overflow:hidden;
    touch-action: pan-down;
    font-family: 'Open Sans', sans-serif;

}
body
{
    background-color: #ffd600;
}
a, a:hover
{
    color:inherit;
}

h1,h2,h4,h5,h6
{
    margin:0;
    line-height:3.2vh;
    font-weight: 700;
    font-size:18px;
    
}
h3
{
    margin:0;
    line-height:3vh;
    font-weight: 700;
    font-size:18px;
}
.mask
{
    position:absolute;
    top:0px;
    right:0px;
    left:0px;
    bottom:0px;
    overflow: hidden;
}
.over-page
{
    position:absolute;
    top:20px;
    right:20px;
    left:20px;
    bottom:20px;
    width:calc(100% - 40px);
    -webkit-transition: all 0.6s ease-out;
    -moz-transition: all 0.6s ease-out;
    -o-transition: all 0.6s ease-out;
    transition: all 0.6s ease-out;
    overflow: hidden;
}

.device-android #info .title
{
    max-height:calc(33.3vh - 67px);
}
.device-ios #info .title
{
    max-height:calc(33.3vh - 33px);
}

#info .title
{
    position:absolute;
    top:50%;
    left:50%;
    transform:  translateX(-50%) translateY( -100% )  translateY( -16.65vh );
    max-height:calc(33.3vh - 33px);
    width:100%;
    overflow: hidden;
    -webkit-transition: all 11.6s ease-out;
    -moz-transition: all 1.6s ease-out;
    -o-transition: all 1.6s ease-out;
    transition: all 1.6s ease-out;
  
}
#info .logo
{
    position:absolute;
    top:50%;
    left:50%;
    transform:  translateX(-50%) translateY(-50%);
    height:calc(33.3vh );
    max-height:250px;
    width:100%;
    overflow: hidden;
}

#info .logo img
{
    position:absolute;
    top:50%;
    left:50%;
    transform: translateX(-50%) translateY(-50%);
    max-height:  100%;
    max-width: 80%;
    
}


#info .contact
{
        
    -webkit-transition: all 1.6s ease-out;
    -moz-transition: all 1.6s ease-out;
    -o-transition: all 1.6s ease-out;
    transition: all 1.6s ease-out;
    
    position:absolute;
    top:50%;
    left:50%;
    transform:  translateX(-50%) translateY( 16.65vh );
    max-height:calc(33.3vh - 33px);
    width:100%;
    overflow: hidden;

}
#info .logo
{
 -webkit-transition: all 1.6s ease-out;
    -moz-transition: all 1.6s ease-out;
    -o-transition: all 1.6s ease-out;
    transition: all 1.6s ease-out; 
    
 
}
.device-android #info .contact
{
    max-height:calc(33.3vh - 67px) !important;
   
}
    

#info  hr
{
    border: none;
    border-top: 3px dotted white;
    width:50vw;
    max-width:400px;
    margin:10px auto 10px auto;
    padding:0;
    
}
#info  .title hr
{
    margin:20px auto 0px auto;
}
#info  .contact hr
{
    margin:0px auto 11px auto;
}
#info .moved-up
{
    margin-top:-30px;
    opacity:0;
    pointer-events: none;

  
}
#info .fadeOut
{
    opacity:0;
    pointer-events: none;
}

#info .moved-down
{
    margin-top:30px;
    opacity:0;
    pointer-events: none;
  
  
}

#info .title, #info .contact
{
    line-height: 10px;
}
.over-page.moved-right
{
    opacity:0;
    pointer-events: none;
    margin-left:-300px;
}

.over-page.moved-left
{
    opacity:0;
    pointer-events: none;
    margin-left:300px;
}

.animation
{
    -webkit-transition: all 0.6s ease-out;
    -moz-transition: all 0.6s ease-out;
    -o-transition: all 0.6s ease-out;
    transition: all 0.6s ease-out;
}


.cliente_containter , .lavoro_containter
{
    position:absolute;
    top:50%;
    transform: translateY(-50%);
}
.cliente_containter 
{
    width:100%;
}

#clienti .icon, #lavori .icon
{
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain;
     height:17vh;
    -webkit-filter: grayscale(100%); 
    filter: grayscale(100%);
   
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
   
}
#clienti .icon
{
     margin:10px;
}
#lavori .icon
{
    margin:10px 10px 5px 0;
}



#lavori .icon-small-screen
{
    display: none;
}
#lavori .icon-large-screen
{
    display: block;
}
#lavori .icon
{
    height:12vh;
    background-position: 0 50%;
    margin-left:0px;
}
.lavoro
{
    margin-top:5px;
   margin-bottom: 5px;
   line-height:14px;
}
.video-thumb-container
{
    max-width: 180px;
    margin: 0 auto;
}
.device-ios #clienti .icon , .device-android #clienti .icon , #lavori .icon
{
    -webkit-filter: none !important; 
    filter: none !important; 
}
#clienti .icon:hover
{
    -webkit-filter: grayscale(0%); /* Chrome, Safari, Opera */
    filter: grayscale(0%);
}
.device-ios #clienti .icon:hover ,.device-android #clienti .icon:hover 
{
    -webkit-filter: none !important; 
    filter: none !important; 
}
.video-thumb-cliente
{
    font-size: 12px;
    font-weight: 600;
    line-height: 14px;
}
.video-thumb-titolo
{
    font-size: 18px;
    font-weight: 600;
    line-height: 20px;
}
.video-thumb-anno
{
    font-size: 12px;
    font-weight: 600;
    line-height: 14px;
    
}
.video-thumb-link
{
    font-size: 12px;
    font-weight: 600;
    margin-top:10px;
}
.button
{
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    
    background-color:#ffd600;
    box-shadow: 0px 0px 5px #000000;
    color:#000000;
    cursor: pointer;
    font-weight: 800;
    text-transform: uppercase;
}
.lavoro .icon
{
    cursor: pointer;
}

.button:hover , .button.active
{
   background-color:#ad3942; 
   color:#ffffff;

}

#lavori_button
{
    position:absolute;
    top:50%;
    right: -120px;
    transform: translateY(-50%);
    z-index:53;
    width:80px;
    padding-top:18px;
    padding-bottom:18px;
    padding-left:10px;
    border-radius: 10px  0px 0px 10px;
    -webkit-animation: lavoro_button_in 0.35s  linear 0.85s forwards;
   
}
/* Chrome, Safari, Opera */
@-webkit-keyframes lavoro_button_in {
    0% 
    {
        right:-120px;
        
    }
    100% 
    {
        right:0;
       
        
    }
}
   
#language
{
    position:absolute;
    top:-120px;
    left:50%;
    transform: translateX(-50%);
    z-index:13;
    padding-top:10px;
    padding-bottom:10px;
    padding-left:40px;
    padding-right:40px;
    border-radius: 0px  0px 10px 10px;
    -webkit-animation: language_button_in 0.35s  linear 0.2s forwards;
   
}
@-webkit-keyframes language_button_in {
    0% 
    {
        top:-120px;
    }
    100% 
    {
        top:0;
    }
}

#info_button
{
    position:absolute;
    bottom:-120px;
    left:50%;
    transform: translateX(-50%);
    z-index:13;
    padding-top:10px;
    padding-bottom:10px;
    padding-left:20px;
    padding-right:20px;
    border-radius: 40px  40px 0px 0px;
    -webkit-animation: info_button_in 0.35s  linear 1.1s forwards;
   
}
@-webkit-keyframes info_button_in {
    0% 
    {
        bottom:-120px;
    }
    100% 
    {
        bottom:0;
    }
}
#clienti_button
{
    position:absolute;
    top:50%;
    left:-120px;
    transform: translateY(-50%);
    z-index:13;
    padding-top:18px;
    padding-bottom:18px;
    padding-left:20px;
    padding-right:10px;
    border-radius: 0px  10px 10px 0px;
    -webkit-animation: clienti_button_in 0.35s  linear 1.6s forwards;
    
}

@-webkit-keyframes clienti_button_in {
    0% 
    {
        left:-120px;
    }
    100% 
    {
        left:0;
    }
}

.arrow
{
   display:none;
}




.video-cliente
{
    font-size:16px;
    font-weight: 600;
   
}
.video-titolo
{
    font-size:14px;
    font-weight: 600;
     margin-top: 10px;
}
.video-agenzia
{
    font-size:14px;
    font-weight: 600;
    margin-top: 10px;
}
.video-descrizione
{
    font-size:12px;
    
}

.video-titolo span , .video-agenzia span
{
    font-weight: 400;
    
}
.single-video
{
    color:#ffffff;
}
body.single-video
{
    background-color:#000000 !important;
    
}

.rwd-video {
	height: 0;
	overflow: hidden;
	padding-bottom: 56.25%;
	padding-top: 30px;
	position: relative;
}
.rwd-video iframe,
.rwd-video object,
.rwd-video embed {
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
       
}


.fancybox-slide--iframe .fancybox-content {
	width  : 90% !important;
	max-width  : 800px !important;
	margin: 10px !important;
        border: 8px solid #ffd600;
        overflow:auto;
}
.fancybox-button--play,.fancybox-button--fullscreen, .fancybox-button--thumbs
{
    display:none !important;
}


.black-over
{
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    z-index:10;
    opacity: 0;
    color:#ffd600;
    background-color:#000000;
}

.fadeIn-large
{
    opacity: 1 !important;
    pointer-events:auto;
}

.fadeOut-large
{
    opacity: 0;
    pointer-events:none;
}

.otturatore
{
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    z-index:9;
}

.otturatore .otturatore-animation
{
    width:100%;
    height:100%;
    /*background-color: #ff0000;
    opacity:0;*/
}

.otturatore .otturatore-animation.o1
{
    opacity:0.25;
}
.otturatore .otturatore-animation.o2
{
    opacity:0.5;
}
.otturatore .otturatore-animation.o3
{
    opacity:0.75;
}
.otturatore .otturatore-animation.o4
{
    opacity:1;
}

#info .intro-logo .logo
{
    opacity:0;
}

.piva
{
    position:absolute;
    bottom:35px;
    left:35px;
    font-size:10px;   
}
.privacy
{
    position:absolute;
    bottom:10px;
    right:10px;
    font-size:10px; 
    z-index:100;
    pointer-events: none;
}
.fadeIn-large .privacy
{
    pointer-events: auto !important;

}
.piva br, .privacy br
{
   display: none;
}
.piva span, .privacy span
{
   display: inline-block;
}

.frecce-container
{
    position:absolute;
    left:50%;
    margin-left:-30px;
    height:100%;
}
#clienti_indietro
{
    transition: all 2s;
    position:absolute;
    top:calc(13% - 26px);
}
#clienti_avanti
{
    transition: all 2s;
    position:absolute;
    top:calc(87% - 26px);
}

.frecce-container .disabled
{
    
    opacity:0.5;
    pointer-events: none;
}
.video-thumb-container a
{
    text-decoration: none;
}
#lavoro_indietro
{
    transition: all 2s;
    position:absolute;
    top:calc(11% - 26px);
}
#lavoro_avanti
{
    transition: all 2s;
    position:absolute;
    top:calc(89% - 26px);
}
