

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');

html .lesson-list li,
.chatium_body .lesson-title {
  position:relative;
}

.lesson-list li .favorites-btn,
.lesson-title-value .favorites-btn,
.lesson-title h2 .favorites-btn{
  width:38px;
  height:38px;
  background-image:url('https://img.icons8.com/ffffff/like');
  background-size:22px;
  background-position:center;
  background-repeat:no-repeat;
  border-radius:50%;
  /*box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);*/
  top:0px;
  left:5px;
  position:absolute;
  display:block;
  z-index:2;
  cursor:pointer;
}

.lesson-list li .favorites-btn.active,
.lesson-title-value .favorites-btn.active,
.lesson-title h2 .favorites-btn.active{
  background-image:url('https://img.icons8.com/ios-filled/25/C70000/like--v1.png')
}

.favorites-wrapper {
  border-radius:0px;
  /*background:#fff;*/
  padding: 30px 0px;
  /*box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);*/
}

 .favorites-wrapper > h2 {
  /*font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 140%;
  color: #000;
  display:flex;
  align-items: center;
  cursor:pointer;*/
    font-family: var(--font_sub);
    font-weight: 600;
    font-size: 32px;
    text-transform: uppercase;
    color: #998879;
    display:flex;
    align-items: center;
    cursor:pointer;
}

.favorites-wrapper > h2:after {
  content:'';
  background-image:url('https://img.icons8.com/ios/24/forward--v1.png');
  width:24px;
  height:24px;
  flex:0 0 24px;
  margin-left:auto;
  transform:rotate(90deg)
}

.favorites-wrapper .favorites-list {
  margin-top:20px;
  display:none;
}

.favorite-lesson-wrapper {
  position:relative;
}

.favorite-close {
  width:20px;
  height:20px;
  position:absolute;
  background-image:url('https://img.icons8.com/ios/20/c70000/delete-sign--v1.png');
  right:0;
  top:0;
  background-size:cover;
  opacity:1;
  transition:opacity .3s;
  cursor:pointer;
}

.favorite-lesson:hover .favorite-close {
  opacity:1
}


.favorites-wrapper .favorites-list a {
  display:flex;
  align-items: flex-start;
  /*font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;*/
  font-family: Montserrat;
  font-size: 14px;
  font-weight: 400 !important;
  line-height: 18px;
  letter-spacing: 0em;
  text-align: left;  
    
  line-height: 140%;
  color: #545972;
  position:relative;
}

.favorites-wrapper .favorites-list a:not(:last-child) {
  margin-bottom:15px;
}

.favorites-wrapper .favorites-list a:before {
  content:'';
  background-image:url('https://img.icons8.com/sf-regular/24/3275d8/external-link.png');
  background-size:contain;
  background-repeat:no-repeat;
  width:24px;
  height:24px;
  flex:0 0 24px;
  margin-right:5px;
}

/* Окно с уроком */

.al_popWrapper {
    position: fixed;
    top: 0;
    left: 0;
    
    width: 100%;
    height: 100%;
    
    background: rgba(0,0,0,.8);
    z-index: -1000;
    
    opacity: 0;
    transition: all .3s;
}

.al_popup {
    position: fixed;
    top: 50%;
    left: calc(50% + 35px);
    transform: translatey(-50%) translatex(-50%);
    
    padding: 30px 60px;
    width: 100%;
    max-width: 970px;
    
    background: #FFFFFF;
}

.al_popHeader {
    margin-bottom: 20px;
}

.al_popHeader span a {
    font-family: var(--font_sub);
    font-weight: 600;
    font-size: 32px;
    line-height: 100%;
    color: #545972;
}

.al_popHeader span a:hover {
    text-decoration: none;
}

.al_popHeader > a {
    position: relative;
    top: 10px;
    float: right;
    font-family: var(--font);
    font-weight: 600;
    font-size: 15px;
    line-height: 120%;
    color: #998879;
    
    border-bottom: 1px solid transparent;
    transition: all .3s;
}

.al_popHeader > a:hover {
    text-decoration: none;
    color: #545972;
    border-color: #545972;
}

.al_popVideo .container,
.al_popVideo .row,
.al_popVideo .modal-block-content {
    padding: 0 !important;
    margin: 0 !important;
    
    width: 100%;
    max-width: 100%;
}

.al_popVideo iframe {
    width: 100%;
    height: 480px;
}

@media (max-width:1110px) {
    .al_popup {
        max-width: 85vw !important;
    }
}

@media (max-width:1024px) {
    .al_popVideo iframe {
        height: 420px;
    }
}

@media (max-width:768px) {
    .al_popup {
        left: 50%;
        padding: 10px;
        max-width: 95vw !important;
    }
    
    .al_popVideo iframe {
        height: 350px;
    }
}

@media (max-width: 520px) {
    .al_popHeader > a {
        float: left;
    }
    
    .al_popVideo iframe {
        margin-top: 30px;
        height: 180px;
    }
}

@media (max-width: 375px) {
    .al_popVideo iframe {
        margin-top: 30px;
        height: 150px;
    }
}

@media (max-width: 320px) {
    .al_popVideo iframe {
        margin-top: 30px;
        height: 120px;
    }
}
