/*****************************
 *  VÍDEOS RESPONSIVOS 
 *  Vídeos presentes em sanfonas do asa/biblioteca
 ******************************/
/* .video, */
.video {
  width: 75%;
  min-width: 310px;
  margin: 15px auto;
  display: flex;
}

/* .embed-youtube */
.embed-youtube {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
}

/* .embed-youtube iframe, */
.embed-youtube iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  border: none;
}

.wp-block-video video {
  width: 100%;
  height: auto;
}

/*****************************
 *  PLAY / MODAL
 ******************************/
.linkassiste {
  display: inline-block;
  position: relative;
}

.linkassiste button {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  border: none;
  border-radius: 100px;
  background: rgb(15, 170, 117, 0.5);
  color: transparent;
  -webkit-transform: translate3d(-50%, -50%, 0);
  -moz-transform: translate3d(-50%, -50%, 0);
  transform: translate3d(-50%, -50%, 0);
  transition: all 0.5s;
}

.linkassiste button:before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 20px 0 20px 30px;
  border-color: transparent transparent transparent #ffffff;
  position: absolute;
  top: calc(50% - 20px);
  left: calc(50% - 10px);
}

.linkassiste button:hover,
.linkassiste button:focus {
  background: rgb(15, 170, 117, 0.7);
  transition: all 0.5s;
  border: none;
  outline: none;
}

video#bgvid {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  transform: translateX(-50%) translateY(-50%);
  background-size: cover;
  transition: 1s opacity;
}

#video {
  width: 100%;
  height: 100%;
  margin: 0px;
  padding: 0px;
  position: fixed;
  top: 1%;
  z-index: 1040;
  display: none;
}

#controlButtons {
  position: absolute;
  top: 50px;
  left: 20px;
  z-index: 1041;
}

#stopvideobt {
  position: absolute;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  background: rgb(15, 170, 117, 0.5);
  color: #f1f1f1;
  font-size: 32px;
  font-weight: bold;
  text-align: right;
  border-radius: 50%;
  transition: 1s;
}

#stopvideobt i {
  display: flex;
  align-items: center;
  font-size: 25px;
  line-height: 0;
}

#stopvideobt:hover,
#stopvideobt:focus {
  background: rgb(15, 170, 117, 0.7);
  text-decoration: none;
  cursor: pointer;
  transition: 1s;
}

#videoIframeContainer {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1040;
  display: none;
}

#videoIframePlayer {
  /* optional */
  width: 100%;
  height: 100%;
}

/*--------------------------------------------------------------
 ## Video module
 --------------------------------------------------------------*/
.video-module {
  width: auto;
  display: inline-block;
  cursor: pointer;
  position: relative;
}

.video-module h4 {
  margin: 0;
  font-size: 14px;
  color: #0faa75;
}

.video-module .btn-play {
  background: #282828;
  color: #fff;
  width: 40px;
  height: 40px;
  -webkit-border-radius: 50px;
  border-radius: 50px;
  text-align: center;
  line-height: 40px;
  font-size: 12px;
  cursor: pointer;
  display: inline-block;
  -webkit-transition: 0.15s ease-in-out;
  -o-transition: 0.15s ease-in-out;
  transition: 0.15s ease-in-out;
  -webkit-transition-property: color, background, border-color;
  -o-transition-property: color, background, border-color;
  transition-property: color, background, border-color;
}

.video-module .btn-play.btn-brand {
  background: #174ee2;
  border-color: #174ee2;
}

.video-module .btn-play.outline {
  background: transparent;
  color: #282828;
}

.video-module .btn-play.outline.btn-brand {
  color: #174ee2;
}

.video-module .btn-play.shadow {
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
}

.video-module .btn-play .icon {
  margin-left: 5px;
}

.video-module.preview {
  width: 100%;
}

.video-module.preview img {
  float: left;
  -webkit-transition: opacity 0.2s ease-in-out;
  -o-transition: opacity 0.2s ease-in-out;
  transition: opacity 0.2s ease-in-out;
}

.video-module.preview .btn-play {
  position: relative;
  margin-top: 30px;
}

.video-module.preview .btn-play.outline {
  color: #fff;
  border-color: #fff;
}

.video-module.preview .btn-play + h4 {
  margin-bottom: -35px;
}

.video-module.preview h4 {
  color: #fff;
  margin-top: 15px;
  opacity: 0;
  -webkit-transform: translateY(3px);
  -ms-transform: translateY(3px);
  transform: translateY(3px);
  -webkit-transition: 0.14s ease-in-out;
  -o-transition: 0.14s ease-in-out;
  transition: 0.14s ease-in-out;
  -webkit-transition-property: opacity, -webkit-transform;
  transition-property: opacity, -webkit-transform;
  -o-transition-property: opacity, transform;
  transition-property: opacity, transform;
  transition-property: opacity, transform, -webkit-transform;
}

.video-module.preview:hover img {
  opacity: 0.8;
}

.video-module.preview:hover h4 {
  opacity: 1;
  -webkit-transform: none;
  -ms-transform: none;
  transform: none;
}

.video-module.boxed {
  min-height: 100px;
  padding: 1.6rem 0 2rem 0;
}

.video-module.boxed .btn-play {
  position: absolute;
  top: 50%;
  left: 0;
  margin-top: -30px;
  z-index: 5;
}

.video-module.boxed .btn-play.outline {
  background: #fff;
}

.video-module.boxed .content-center {
  width: -webkit-calc(100%);
  width: calc(100%);
  height: 25px;
  margin-left: 30px;
  text-align: center;
}

.video-module.boxed .content {
  background: #f0f0f0;
  display: inline-block;
  padding: 5px 25px 4px 30px;
  -webkit-border-radius: 0 50px 50px 0;
  border-radius: 0 50px 50px 0;
}

.video-module.boxed.outline .btn-play.outline {
  background: transparent;
}

.video-module.boxed.outline:hover .btn-play {
  background: transparent;
}

.video-module.boxed.outline .content {
  background: transparent;
  border-left-width: 0px;
}

.video-module.boxed:hover .btn-play {
  background: #fff;
  color: #282828;
}

.video-module.boxed:hover .btn-play.btn-brand {
  color: #174ee2;
}

.video-module.boxed:hover .btn-play.outline {
  background: #282828;
  color: #000;
}

.video-module.boxed:hover .btn-play.outline i {
  color: #fff !important;
}

.video-module.boxed:hover .btn-play.outline {
  background: #282828;
}

.video-module.boxed:hover .btn-play.outline.btn-brand {
  background: #174ee2;
}

.video-module.with-anim .btn-play:after,
.video-module.with-anim .btn-play:before {
  content: "";
  border: 1px solid;
  border-color: inherit;
  width: 150%;
  height: 150%;
  -webkit-border-radius: 50px;
  border-radius: 50px;
  position: absolute;
  left: -25%;
  top: -25%;
  opacity: 1;
  -webkit-animation: 1s videomodule-anim linear infinite;
  animation: 1s videomodule-anim linear infinite;
}

.video-module.with-anim .btn-play:before {
  -webkit-animation-delay: 0.5s;
  animation-delay: 0.5s;
}

.video-module.btn-brand-color-hover:hover .btn-play .icon {
  color: #174ee2 !important;
}

@-webkit-keyframes videomodule-anim {
  0% {
    -webkit-transform: scale(0.68);
    transform: scale(0.68);
  }

  100% {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
    opacity: 0;
  }
}

@keyframes videomodule-anim {
  0% {
    -webkit-transform: scale(0.68);
    transform: scale(0.68);
  }

  100% {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
    opacity: 0;
  }
}

.video-module-popup {
  background: rgba(40, 40, 40, 0.9);
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999999999;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease-in-out;
  -o-transition: opacity 0.3s ease-in-out;
  transition: opacity 0.3s ease-in-out;
}

.video-module-popup .video {
  width: 70%;
  height: 77%;
  margin: 0 auto;
  position: relative;
  top: 10%;
  -webkit-transform: scale(0.9);
  -ms-transform: scale(0.9);
  transform: scale(0.9);
  -webkit-transition: -webkit-transform 0.3s ease-in-out;
  transition: -webkit-transform 0.3s ease-in-out;
  -o-transition: transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
}

.video-module-popup .video iframe {
  margin: 0;
  width: 100%;
  height: 100%;
}

.video-module-popup .close {
  color: #fff;
  width: 90px;
  height: 90px;
  line-height: 90px;
  font-size: 50px;
  text-align: center;
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
}

.video-module-popup.open {
  opacity: 1;
}

.video-module-popup.open .video {
  -webkit-transform: none;
  -ms-transform: none;
  transform: none;
}

@media screen and (max-width: 768px) {
  .video-module.preview .btn-play {
    margin-top: 0px;
  }
}
