/*
Theme Name: Fabula
Theme URI: https://www.trigloo.it/
Author: Pino Galvagno
Author URI: https://www.pinogalvagno.com/
Description: Simple theme for fabula srl
Version: 0.0.1
Text Domain: fabula
Tags: featured-images, threaded-comments, translation-ready

*/

/* 
All style editing is done via scss/_bscore_custom.scss
*/


#form_contact-form fieldset{border:0;}

.rwd-video {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
  }
  .rwd-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .yellow{background-color:#fcea10!important;}
  .yellow a{color:#031337!important;}


  .clltoaction-style-default.style-5 .content-wrapper {
    background-color: #009fe3;
}

a.btn-default, button.btn-default, div.btn-default {
  background: linear-gradient(95deg, #10418a  15%, #f6ca3f 100%) 95%/200% 100%;
}

.inner .content{min-height: 163px;}

.home .inner .content{min-height: 63px;}

.slider-bg-image.bg-image4 {
  background-image: url(img/FBL-home-video-1290x620.jpg);
}

.white{background-color: #FFF;}


.video-wrapper {
    width: 100%;
    height: 100%;
    position: absolute!important;
    overflow: hidden;
}


.video-wrapper iframe {
  position: absolute!important;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  transform: translate(-50%, -50%);
  pointer-events:none;
}

.video-wrapper::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: .6;
}

@media (min-aspect-ratio: 16/9) {
  .video-container iframe {
    /* height = 100 * (9 / 16) = 56.25 */
    height: 56.25vw;
  }
}
    
@media (max-aspect-ratio: 16/9) {
  .video-container iframe {
    /* width = 100 / (9 / 16) = 177.777777 */
    width: 177.78vh;
  }
}

@media screen and (max-width:1100px) {
	.video-wrapper iframe {
		width: 180%;
	}
}

@media screen and (max-width:900px) {
	.video-wrapper iframe {
		width: 300%;
	}
}




.theme-gradient, .counter-style-1 .count-number {
  text-transform: inherit!important;
}
