.youtube-player {
  position: relative;
  /*padding-bottom: 56.23%;*/
  /*height: 0;*/
  height: 100%;
  /* Use 75% for 4:3 videos */
  overflow: hidden;
  max-width: 100%;
  background: #000;
}

.youtube-player iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  background: transparent;
  padding-top: 64px;
}

.youtube-player img {
  bottom: 0;
  display: block;
  left: 0;
  margin: auto;
  max-width: 100%;
  width: 100%;
  position: absolute;
  right: 0;
  top: 0;
  border: none;
  height: auto;
  cursor: pointer;
  -webkit-transition: .4s all;
  -moz-transition: .4s all;
  transition: .4s all;
}

.youtube-player img:hover {
  -webkit-filter: brightness(75%);
}

.youtube-player .play {
  height: 72px;
  width: 72px;
  left: 50%;
  top: 50%;
  margin-left: -36px;
  margin-top: -36px;
  position: absolute;
  background: url("//i.imgur.com/TxzC70f.png") no-repeat;
  cursor: pointer;
}


.youtube-video {
  position: relative;
  padding-bottom: 56.23%;
  height: 0;
  /*height: 100%;*/
   /*Use 75% for 4:3 videos */
  overflow: hidden;
  max-width: 100%;
  background: #000;
}
.youtube-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  background: transparent;
}
#show-video .modal-dialog {
  max-width: 800px;
  width: auto;
  margin-top: 40px;
}
.mini-youtube-image {
  cursor: pointer;
  max-height: 95px;
  height: 95px;
}
.averroes-video {
  /*width: 600px;*/
  /*height: auto;*/
/*600 338*/
}
.wrapper {
  cursor: pointer;
  position: absolute;
  background: rgba(0,0,0,0.55);
  width: 50px;
  height: 32px;
  border-radius: 5px;
  padding-top: 10px;
  margin: 0 auto;
  top: 30px;
  left: 50%;
  -webkit-transform: translate(-50%);
  -ms-transform: translate(-50%);
  transform: translate(-50%);
}
.mini-youtube-image:hover + .wrapper,
.wrapper:hover {
  background: #cd201f;
}
.tri {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 0 7px 14px;
  border-color: transparent transparent transparent #ffffff;
  margin: 0 auto;
}

.video-title {
  font-size: 18px;
  color: #fff;
  text-align: center;
  margin-bottom: 15px;
  font-weight: 500;
}
#show-video .modal-header,
#show-video .modal-body {
  padding: 0;
  background-color: #000;
}
#show-video button.close {
  position: absolute;
  top: 8px;
  right: 8px;
  color: #fff;
  z-index: 2;
}
#show-video .modal-header {
  text-align: left;
}
#show-video .thumbnail-video-wrapper {
  display: inline-block;
  position: relative;
  text-align: center;
  color: #fff;
  margin-bottom: 20px;
  margin-top: 10px;
}