@import '../../../styles/vars/breakpoints.css';

:global(.d-slide-colored) .box,
:global(.d-slide-colored) .extended {
  box-shadow: none;
}

:global(.d-slide-colored) .extended {
  background-color: rgb(255,255,255,0.09) !important;
}

.videoTrap{
    width: 100%;
    width: var(--component-max-width);
    max-width: 100%;
}
.wide{
    width: 1140px;
    max-width: 100%;
    .text{
        font-size: rem(24px);
        font-weight: bold;
        letter-spacing: 0.6px;
    }
    .videoBlock {
        @media (--lg-and-up) {
            height: 640px;
        }
    }
}

.box {
    width: 100%;
    border-radius: 20px;
    /* box-shadow: 0 6px 40px 0 rgba(83, 180, 231, 0.4); */
    position: relative;
    margin-bottom: 30px;
    overflow: hidden;
    z-index: 1;
}

.videoBlock {
    /* height: 100%; */
    height: 420px;
    padding-top: 0;
    @media (--md-and-down) {
        height: 310px;
    } 
    @media (--sm-only) {
        height: 400px;
    } 
    @media (--md-only) {
        height: 550px;
    } 
    @media (--xs-only) {
        height: 210px;
    }
}
.extended {
    width: 1140px;
    max-width: 100%;
    background: #fff;
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    border-radius: 20px;
    /* box-shadow: 0 6px 40px 0 rgba(83, 180, 231, 0.4); */
   
    .videoBlock {
        @media (--lg-and-up) {
            height: 100%;
        }
    }

    @media (--md-and-down) {
        flex-wrap: wrap;
    }
    .box {
        flex: 0 0 60%;
        margin-bottom: 0;
        border-radius: inherit !important;
        border-top-right-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
        box-shadow: none;

        @media (--md-and-down) {
            flex-basis: 100%;
            border-top-right-radius: inherit !important;
            border-bottom-left-radius: 0 !important;
        }
    }
    .content {
        flex: 1 1 auto;
        padding: 30px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;

        @media (--md-and-down) {
            flex-basis: 100%;
        }
    }
    .title {
        font-size: rem(24px);
        font-weight: bold;
        line-height: 1.35;
        letter-spacing: 0.6px;
        margin: 15px 0 0;
    }
    .text {
        font-size: rem(16px);
        line-height: 2.1;
        letter-spacing: 0.4px;
        margin-top: 15px;
    }
}
.reversed {
    flex-direction: row-reverse;
    @media (--md-and-down) {
        flex-direction: row;
    }
    .box {
        border-top-left-radius: 0 !important;
        border-bottom-left-radius: 0 !important;
        border-top-right-radius: inherit !important;
        border-bottom-right-radius: inherit !important;

        @media (--md-and-down) {
            border-bottom-right-radius: 0 !important;
            border-top-left-radius: inherit !important;
        }
    }
}

.icon{
    font-size: rem(30px);
    margin-right: 10px;
}

.description{
    font-size: rem(16px);
    line-height: 1.69;
    letter-spacing: 0.4px;
}

.text{
  font-size: rem(20px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.4px;
  &.editing {
    &:active,
    &:focus,
    &:hover {
      width: 100%;
      outline: auto !important;
      outline-color: #4D90FE !important;
      outline-width: 5px !important;
      outline-offset: -2px  !important;
      outline-style: auto  !important;
    }
  }
}

.onMute{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    z-index: 5;
    cursor: pointer;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    transition: opacity 0.3s ease; 
    padding: 20px;
}


.soundBtm{
    padding: 20px;
    border-radius: 16px;
    background-color: rgba(36, 37, 46, 0.8);
    /* position: absolute;
    bottom: 20px;
    right: 20px; */
    display: flex;
    z-index: 10;
    color: #ffffff;
    align-items: center;
    cursor: pointer;
}

:global(.dir--rtl) {
  .icon {
    margin-right: unset;
    margin-left: 10px;
  }
  .extended {
    flex-direction: row-reverse;
  }
  .reversed {
    flex-direction: row;
  }
}