
.videopuzzles-filter-item__menu {
  padding: 14px 0;
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.2);
  width: 250px;
  position: absolute;
  left: 0px;
  top: calc(100% + 19px);
  z-index: 5;
  display: none;
  background: #fff;
  text-align: left;
}

.videopuzzles-filter-item__menu.active{
  display: block;
}

.videopuzzles-filter-item__menu-item {
  box-sizing: border-box;
  background-color: #fff;
}

.videopuzzles-filter-item__menu-item .redesign-checkbox-wrap {
  padding: 9px 20px;
}

.puzzle-dialog {
  padding: 40px 0;
  flex: 1;
  color: #100D3E;
}

.dialog__header {
  position: relative;
  text-align: center;
  margin-top: 20px;
}

.dialog__link {
  color: #9FA3A7 !important;
  text-align: center;
}

.dialog__link-access {
  display: inherit;
  text-decoration: none;
}

.dialog__link:hover, .dialog__link.active{
  color: #34BE5B !important;
}

.dialog__link:hover svg path, .dialog__link.active svg path{
  fill: #34BE5B;
}

.dialog__link .puzzle-icon {
  transform: rotate(180deg);
  fill: #9FA3A7;
  width: 7px; 
  height: 10px;
  margin-right: 5px;
}

.dialog__header-center{
  text-align: center;
}

.dialog__settings-wrapper{
  position: relative;
}

.dialog__settings{
  color: #9FA3A7;
  cursor: pointer;
  text-align: center;
}

.dialog__settings:hover, .dialog__settings.active{
  color: #34BE5B;
}

.dialog__settings:hover svg path, .dialog__settings.active svg path{
  fill: #34BE5B;
}

.dialog__settings_box{
  right: 0;
  top: 100%;
  margin: 20px 20px 0 0;
  white-space: nowrap;
  left: auto;
  width: auto;
}
.dialog__settings_box::before{
  display: block;
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 20px;
}

.dialog__settings_box .redesign-checkbox-wrap.active .redesign-checkbox{
  background-color: #34BE5B;
  border-color: #34BE5B;
}

.dialog__settings_box .redesign-checkbox-wrap:hover .redesign-checkbox{
  border-color: #34BE5B;
}

.dialog__panel{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid #DEDEDE;
  border-radius: 8px;
  min-height: 270px;
  margin-bottom: 32px;
  padding: 20px;
}
.dialog__panel_grey{
  border: 1px solid transparent;
  background: #F5F5F5;
  min-height: auto;
  padding: 40px;
}

.dialog__panel_title{
  color: #81818B;
  margin-bottom: 40px;
}

.dialog__panel_title.error{
  color: #E34034;
}

.dialog__panel_button{
  position: relative;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 72px;
  height: 72px;
}

.dialog__panel_button path{
  fill: #81818B;
}

.dialog__panel .puzzle-icon svg{
  width: 40px;
  height: 40px;
}

.CircularProgressbar{
  position: absolute;
}

.CircularProgressbar .CircularProgressbar-path{
  stroke: #34BE5B;
  stroke-linecap: butt;
  stroke-width: 5;
}
.CircularProgressbar .CircularProgressbar-trail{
  stroke-width: 5;
  stroke: #DEDEDE;
}

.CircularProgressbar_red .CircularProgressbar-path{
  stroke: #ff0000;
}

.dialog__actions{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.dialog__button{
  box-sizing: border-box;
  display: inline-block;
  cursor: pointer;
  color: #81818B;
  padding: 10px 30px;
}

.dialog__button_green{
  color: white;
  background: #34BE5B;
  border-radius: 6px;
}

.dialog__button_grey{
  color: #100D3E;
  background: #F5F5F5;
  border-radius: 6px;
}

.character{
  cursor: pointer;
}

.character:hover .character__name, .character.active .character__name{
  font-weight: 800;
}

.character:hover .character__image, .character.active .character__image{
  border: 8px solid #FAD96B;
}

.character .character__image{
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  border: 8px solid transparent;
  width: 78px;
  height: 78px;
  margin: 0 auto;
  margin-bottom: 10px;
  overflow: hidden;
}

.character__image_condensed{
  width: 55px;
  height: 55px;
  overflow: hidden;
}

.character__image img, .character__image_condensed img{
  max-width: 100%;
}

.chat{
  margin-bottom: 200px;
  position: relative;
}

.chat__phrase-row{
  flex-wrap: nowrap;
}

.chat__phrase-content{
  display: flex;
  align-items: center;
  padding: 0
}

.chat__phrase-content.reverse{
  flex-direction: row-reverse;
}

.chat__speaker{
  min-width: 33px;
  height: 30px;
  cursor: pointer;
}

.chat__speaker path{
  fill: #9FA3A7;
}

.chat__panel{
  max-width: 70%;
  min-width: 40%;
  border: 1px solid #DEDEDE;
  border-radius: 9px 25px 25px 25px;
  background-color: #fff;
  margin-right: 20px;
  padding: 24px;
  font-weight: 800;
}

.chat__panel_user{
  position: relative;
  background: #F5F5F5;
  border-radius: 28px;
  border: 1px solid transparent;
  margin-right: 50px;
  margin-left: 20px;
  font-weight: 700;
}

.chat__panel div.dialog__like{
  display: none;
}

.chat__panel_user div.dialog__like{
  display: block;
}

.dialog__like{
  position: absolute;
  right: -50px;
  bottom: 0;
  width: 45px;
  height: 45px;
}

.dialog__like img{
  max-width: 100%;
}


.chat__main-text{
  color: #100D3E;
}

.chat__translate{
  margin-top: 8px;
  color: #878F97;
}

.chat__user-text{
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 12px;
  color: #B2BAC5;
}

.chat__actions{
  display: flex;
  flex-wrap: wrap;
  margin-top: 20px;
}

.chat__recorder{
  margin-right: 30px;
}

.chat__recorder, .chat__listen{
  display: flex;
  min-height: 35px;
  min-width: 82px;
  color: #0A7BD1;
  align-items: center;
  font-weight: 700;
  cursor: pointer;
}

.chat__recorder.disabled, .chat__listen.disabled{
  cursor: not-allowed;
  color:#B2BAC5;
}
.chat__recorder.disabled path, .chat__listen.disabled path{
  fill: #B2BaC5;
}

.chat__recorder.active{
  color: #ff0000;
}

.chat__recorder.active .chat__actions-icon{
  color: #ff0000;
  margin-top: 0;
}

.chat__actions-icon{
  margin-right: 8px;
  width: 18px;
  margin-top: 5px;
}

.chat__listen .chat__actions-icon{
  width: 15px;
}

.chat__actions-icon svg{
  width: 100%;
}

.chat__actions-icon path{
  fill: #0A7BD1;
}

.record__icon{
  content: "";
  width: 12px;
  height: 12px;
  background-color: #ff0000;
  border-radius: 50%;
}

.stop__icon{
  content: "";
  width: 15px;
  height: 15px;
  margin-bottom: 6px;
  background-color:#0A7BD1;
}

#soundBars {
  height: 30px;
  display: flex;
  align-items: center;
}

.sound__bar_green .sound__bar{
  background: #34BE5B;
}

.sound__bar {
 background: #0A7BD1;
  width: 3px;
  margin-right: 3px;
  animation: sound linear infinite alternate;
}

@keyframes sound {
  0% {
      height: 3px; 
  }
  100% {  
      height: 28px;        
  }
}

.sound__bar:nth-child(1)  {
  animation-duration: 474ms;
}
.sound__bar:nth-child(2)  {
  animation-duration: 433ms;
}
.sound__bar:nth-child(3)  {
  animation-duration: 407ms;
}
.sound__bar:nth-child(4)  {
  animation-duration: 458ms; 
}
.sound__bar:nth-child(5)  {
  animation-duration: 400ms;
}
.sound__bar:nth-child(6)  {
  margin-right: 0;
  animation-duration: 427ms; 
}

.chat__variant-item{
  background: #FFFFFF;
  border: 1px solid #DEDEDE;
  text-align: center;
  padding: 14px 20px;
  cursor: pointer;
  border-bottom: none;
}
.chat__variant-item:first-child{
  border-radius: 8px 8px 0px 0px;
}

.chat__variant-item:last-child{
  border-radius: 0px 0px 8px 8px;
  border-bottom: 1px solid #DEDEDE;
}

.status__wrapper{
  order: 4;
  margin-top: 30px;
}

.status{
  position: relative;
  background: #F5F5F5;
  border-radius: 12px;
  height: 6px;
  width: 100%;
  margin: 0 auto;
}

.status__bar{
  position: absolute;
  background: #34BE5B;
  border-radius: 26px;
  left: 0;
  top: 0;
  bottom: 0;
}

.dialog__word-black{
  color: #100D3E;
}

.dialog__word-red{
  color: #ff0000;
} 

.dialog__word-green{
  color: #34BE5B;
} 

.dialog__final a{
  display: inline-block;
}

.dialog__final a .dialog__button_green{
  padding: 20px 90px;
}

.dialog__final-image{
  margin: 0 auto 40px auto;
}
.dialog__final-image svg{
  width: 100%;
  height: 100%;
}

.dialog__complexity div{
  display: inline-block;
  content: "";
  width: 4px;
  height: 16px;
  margin-right: 3px;
  background-color: #d6d6d6;
}

.dialog__complexity div.dialog__complexity-green{
  background-color: #34BE5B;
}

.dialog__complexity div.dialog__complexity-orange{
  background-color: #FFB534;
}

.dialog__complexity div.dialog__complexity-red{
  background-color: #E7766A;
}

.puzzle-text_fw_bold{
  font-weight: 800 !important;
}

.dialogs__modal-wrapper{
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: rgba(20, 24, 28, 0.7);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dialogs__modal{
  padding: 30px;
  padding-bottom: 45px;
  text-align: center;
  background-color: #fff;
  box-shadow: 0px 32px 88px rgba(0, 0, 0, 0.319411);
  border-radius: 16px;
}

.dialogs__modal-actions{
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  min-width: 230px;
}

@media only screen and (max-width: 767px){
  .dialog__header{
    align-items: center;
    margin-top: 0;
  }
  .dialog__button{
    width: 100%;
  }
  .status__wrapper{
    order: 0;
    margin-top: 0;
  }
  .dialog__final a {
    display: block;
  }
  .dialog__final a .dialog__button_green{
    padding: 20px 0;
  }
  .chat__panel_user{
    margin-right: 0;
  }
  .chat__panel_user div.dialog__like {
    position: absolute;
    bottom: -15px;
    right: 0;
  }
}

.word-wrapper:hover{
  background-color: #34BE5B;
  color: white;
  border-radius: 3px;
}

.ltr {
  direction: ltr !important;
}

@media only screen and (max-width: 385px){
  .chat__actions{
    flex-direction: column;
    align-items: flex-start;
  }
  .dialogs__modal-actions{
    min-width: auto;
  }
  .redesign-checkbox-text{
    white-space: normal;
  }
  .dialog__settings-wrapper{
    position: initial;
  }
  .dialog__settings_box {
    left: 0;
    right: 0;
    width: 100%;
  }
}
