#layout h2,
#layout h4,
#layout a, #layout button {
  display: block;
  line-height: auto;
  text-align: center;
  text-decoration: none;
  -webkit-transform: translate(0, 0);
          transform: translate(0, 0);
  opacity: 0;
}

#layout h2 {
  font-size: 3em;
    color: white;
    margin-bottom: 10px;
    text-align: left;
    width: 100%;
}

#layout h4 {
  font-size: 1.1em;
    color: white;
        margin-bottom: 10px;
    text-align: left;
    width: 100%;
}

#layout a, #layout button {
  font-size: 1.4em;
  color: black;
}  
  
  #layout .btn {
    display: block;
    padding: 5px 10px;
    width: 6em;
    background-color: white;
    border: 2px solid white;
  }
  
  #layout .trs {
    -webkit-transition: all ease-out 0.5s;
       -moz-transition: all ease-out 0.5s;
        -ms-transition: all ease-out 0.5s;
            transition: all ease-out 0.5s;
  }
  
  #layout #slider {
    position: relative;
    height: 100%;
    z-index: 1;
  }
  
  #layout .slide {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    -webkit-transform: translate(-100%, 0);
            transform: translate(-100%, 0);
  }
  
  #layout .slide:before {
  content:"";
  /*background-image: linear-gradient(to right, black, transparent);*/
      background-image: -webkit-linear-gradient(right,rgba(0,0,0,.7) 10%,rgba(0,0,0,0));
      background-image: -moz- oldlinear-gradient(right,rgba(0,0,0,.7) 10%,rgba(0,0,0,0));
      background-image: -o-linear-gradient(right,rgba(0,0,0,.7) 10%,rgba(0,0,0,0));
      background-image: linear-gradient(to right,rgba(0,0,0,.7) 10%,rgba(0,0,0,0));
  position: absolute;
  width: 100%;
  height: 100%;
  top:0;
  left: 0;
  }
  
 
  
  #layout .slideimg {
  object-fit: cover;
      animation: move 40s ease infinite;
    
    -ms-animation: move 40s ease;
    -webkit-animation: move 40s ease;
    -0-animation: move 40s ease;
    -moz-animation: move 40s ease;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
  }
  
  @-webkit-keyframes move {
    0% {
      -webkit-transform-origin: bottom left;
      -moz-transform-origin: bottom left;
      -ms-transform-origin: bottom left;
      -o-transform-origin: bottom left;
      transform-origin: bottom left;
      transform: scale(1.0);
      -ms-transform: scale(1.0);
      /* IE 9 */
      
      -webkit-transform: scale(1.0);
      /* Safari and Chrome */
      
      -o-transform: scale(1.0);
      /* Opera */
      
      -moz-transform: scale(1.0);
      /* Firefox */
    }
    100% {
      transform: scale(1.3);
      -ms-transform: scale(1.3);
      /* IE 9 */
      
      -webkit-transform: scale(1.3);
      /* Safari and Chrome */
      
      -o-transform: scale(1.3);
      /* Opera */
      
      -moz-transform: scale(1.3);
      /* Firefox */
    }
  }
  
  #layout img {
    width: 100%;
    height: 100%;
  }
  
  #layout .ativo {
    opacity: 1;
    -webkit-transform: translate(0, 0);
            transform: translate(0, 0);
  }
  
  #layout .ativo h2,
  #layout .ativo h4,
  #layout .ativo a, #layout .ativo button {
    opacity: 1;
    -webkit-transform: translate(0, 100px);
            transform: translate(0, 100px);
    -webkit-transition: all 0.5s ease-out 0.5s;
       -moz-transition: all 0.5s ease-out 0.5s;
        -ms-transition: all 0.5s ease-out 0.5s;
            transition: all 0.5s ease-out 0.5s;
  }
   
  /*controladores*/
  #layout span {
    position: absolute;
    bottom: 50%;
    width: 43px;
    height: 43px;
    background: #04040430;
    cursor: pointer;
    opacity: 0;
    filter:alpha(opacity=0);
    z-index: 5;
  }
  
  #layout .next {
    right: 10px;
  }
  
  #layout .next:before,
  #layout .next:after {
    left: 21px;
  }
  
  #layout .next:before {
    top: 5px;
    -webkit-transform: rotate(-42deg);
            transform: rotate(-42deg);
  }
  
  #layout .next:after {
    top: 19px;
    -webkit-transform: rotate(-132deg);
            ransform: rotate(-132deg);
  }
  
  #layout .next:before,.next:after,.prev:before,.prev:after {
    position: absolute;
    content: "";
    width: 1px;
    height: 20px;
    background: #fff;
  }
  
  #layout .prev {
    left: 10px;
  }
  
  #layout .prev:before,
  #layout .prev:after {
    left: 18px;
  }
  
  #layout .prev:before {
    top: 5px;
    -webkit-transform: rotate(42deg);
            transform: rotate(42deg);
  }
  
  #layout .prev:after {
    top: 19px;
    -webkit-transform: rotate(132deg);
            transform: rotate(132deg);
  }
   
  #layout:hover span {
    opacity: 0.76;
    filter:alpha(opacity=76);
  }
  
  #layout {
    position: relative;
    margin: 0px auto;
    width: 100%;
    height: 600px;
    overflow: hidden;
  }
   
  #layout .caption {
    position: absolute;
    padding-left: 20px;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 55px;
    font-family: "Kaushan Script","Lato","arial";
    font-size: 22px;
    line-height: 55px;
    color: #fff;
    background: rgb(23 23 23 / 48%);
    z-index: 5;
    display: none;
  }
  
  #layout .carrosel_titulo {
  /*position: absolute;
  bottom: 300px;
  left: 100px;*/
  font-family: "Kaushan Script","Lato","arial";
  }
   
  #layout .carrosel_desc {
  /*position: absolute;
  bottom: 260px;
  left: 100px;*/
  width: 600px;
      text-align: left;
      font-weight: 200;
      font-family: "Kaushan Script","Lato","arial";
      margin-block-start: 0;
    margin-block-end: 20px;
  }
  
  #layout .carrosel_botao {
  /*position: absolute;
  bottom: 180px;
  left: 100px;*/
  font-family: "Kaushan Script","Lato","arial";
  cursor: pointer;
  }

  #layout .hero-vignette {
    background-image: linear-gradient(to bottom, rgba(0,0,0,0) 0, rgba(0,0,0,0.15) 15%, rgba(0,0,0,0.35) 35%, rgba(0,0,0,0.55) 55%, rgba(0,0,0,0.75) 75%,rgba(0,0,0,0.95) 95%, rgba(0,0,0) 100%);
    background-size: 100% 100%;
    background-position: 0 top;
    background-repeat: repeat-x;
    background-color: transparent;
    width: 100%;
    height: 8vw;
    top: auto;
    bottom: -1px;
    opacity: 1;
}

#layout .vignette-layer {
  z-index: 8;
  position: absolute;
  left: 0;
  right: 0;
  }
  
  .boxslide {
      position: absolute;
    bottom: 300px;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-direction: column;
    left: 150px;
    height: fit-content;
  }
  
  
  @media screen and (max-width: 900px) {
  
  #layout .slide {justify-content: center;display: flex;}
  
  #layout .carrosel_titulo, #layout .carrosel_desc, #layout .carrosel_botao {
      left: auto;
      line-height: 1em;
      bottom: 310px;
      text-align: center;
  }
  
  .boxslide {
    position: absolute;
    bottom: 180px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
    left: 0px;
    height: fit-content;
}

.navbarlogoredes {
    display: flex !important;
}
  
  #layout .carrosel_botao {

  }
  
  #layout .carrosel_desc{
    text-align: center;
    padding: 10px;
    width: 80%;
        }
  
  #layout {height: 400px;}
  
  .sub-nav {display: none !important;}
  
  #playerjanela {
  right: 0px !important;
    bottom: 0px !important;
    height: 100vh !important;
    width: 100vw !important;
    min-width: 100% !important;
    min-height: 100% !important;
  }
  #YouTube-player {
  height: 80vh !important;
  }
  
  }
  
  