.fade {
  opacity: 0;
  -webkit-transition: opacity .15s linear;
  -o-transition: opacity .15s linear;
  transition: opacity .15s linear;
}
.modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1050;
  display: none;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
  outline: 0;
}
.fade.in {
  opacity: 1;
}
.modal-open .modal {
  overflow-x: hidden;
  overflow-y: auto;
}
.modal-dialog {
  position: relative;
  width: auto;
  margin: 10px;
}
.modal.fade .modal-dialog {
  -webkit-transition: -webkit-transform .3s ease-out;
  -o-transition: -o-transform .3s ease-out;
  transition: transform .3s ease-out;
  -webkit-transform: translate(0,-25%);
  -ms-transform: translate(0,-25%);
  -o-transform: translate(0,-25%);
  transform: translate(0,-25%);
}
.modal.in .modal-dialog {
  -webkit-transform: translate(0,0);
  -ms-transform: translate(0,0);
  -o-transform: translate(0,0);
  transform: translate(0,0);
}
.modal-content {
  position: relative;
  background-color: #fff;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  border: 1px solid #999;
  border: 1px solid rgba(0,0,0,.2);
  border-radius: 6px;
  outline: 0;
  -webkit-box-shadow: 0 3px 9px rgb(0 0 0 / 50%);
  box-shadow: 0 3px 9px rgb(0 0 0 / 50%);
}

.modal-header {
  min-height: 16.43px;
  padding: 15px;
  border-bottom: 1px solid #e5e5e5;
}
.close {
  float: right;
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  filter: alpha(opacity=20);
  opacity: .2;
}
button.close {
  -webkit-appearance: none;
  padding: 0;
  cursor: pointer;
  background: 0 0;
  border: 0;
}
.modal-header .close {
  margin-top: -2px;
}
.modal-body {
  position: relative;
  padding: 15px;
}
@media (min-width: 768px){
  .modal-dialog {
    width: 600px;
    margin: 30px auto;
  }
  .modal-content {
    -webkit-box-shadow: 0 5px 15px rgb(0 0 0 / 50%);
    box-shadow: 0 5px 15px rgb(0 0 0 / 50%);
  }
}
.container-fluid {
  padding-right: 0 !important;
  padding-left: 0 !important;
  margin-right: auto;
  margin-left: auto;
}
.cm-how-it-works-group .cm-how-it-works-inner-group {
  min-height: 400px;
  padding: 75px;background-size: cover;
  background-position: center;
  color: #fff;
  background-color: #000;
  font-size: 18px;
  font-weight: 500;
  font-style: normal;
  line-height: normal;
  position:relative;
}
.cm-how-it-works-group .content-wrap {
  max-width: 406px;
  padding-left: 3px;
  padding-top: 19px;
}
.cm-how-it-works-group a.playBtn .btn-inner path {
  fill: #FFED00;
}


.cm-how-it-works-group a.playBtn .btn-inner {
  background-color: #000;
  border-radius: 100%;
  width: 83px;
  height: 83px;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cm-how-it-works-group a.playBtn {
  position: absolute;    cursor: pointer;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  margin: 0px auto;
  text-align: center;
  width: auto;
  padding: 21px;
  left: 50%;
}
.video_content {
  padding: 0 15px;
  padding-top: 30px; 
}
.cm-how-it-works-group {
  position: relative;
}
.cm-how-it-works-group a.playBtn:before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  margin: 0px auto;
  text-align: center;
  background-color: rgb(119,119,127,.4);
  border-radius: 100%;
  padding: 21px;
  left: 50%;
  animation: pulse-border 1500ms ease-out infinite;
  width: 83px;
  height: 83px;
}
.cm-how-it-works-group a.playBtn .btn-inner svg {
  position: relative;
  right: 4px;
  width: 31px;
  height: 31px;
}

@keyframes pulse-border {
  0% {
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
    opacity: 0;
  }
}



@media(max-width:767px){
  .modal.is-visible .modal-transition {
    width: 90%;
  }

  .cm-how-it-works-group .cm-how-it-works-inner-group {
    padding: 30px;
    text-align: center;
    display: flex;
    padding-top: 210px;
    min-height: 330px;
    display: block;
  }
  .cm-how-it-works-group .content-wrap {
    max-width: 100%;
  }
  /*   .cm-how-it-works-group a.playBtn {
  top: 120px;
} */
}

#youtubeVideo.modal {
  position: fixed;background: hsla(0, 0%, 0%, 0.5);
  z-index: 999999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
}

.modal.is-visible {
  visibility: visible;
}

.modal-overlay {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: hsla(0, 0%, 0%, 0.5);
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s linear 0.3s, opacity 0.3s;
}



#youtubeVideo .modal-header {
  min-height: 16.43px;
  padding: 15px;
  border-bottom: 0px !important;
}

#youtubeVideo button.close {
  position: absolute;
  top: 0;
  right: 0;
  padding: 7px 10px;
  border: 0;font-size: 28px;
  color: #b7705b !important;
  opacity: 1 !important;
}