/*:root {
    --чыв-color: #fff5d7;
}*/

#xsd-promo-videoform {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    width: 100%;
}

#xsd-promo-videoform .xsd-promo-link {

    position: relative;

    background-color: #3d3941;background-color: var(--main-bg-color);
    color: #fff5d7; color: var(--main-color);

    padding: 1rem 1.5rem 1rem calc(1rem + 52px + 1.5rem);
    float: left;

    max-width: 24rem;

    font-size: 16px;

    min-height: calc(41px + 2rem);

    background-image: none;
    background-repeat: no-repeat;
    background-position: 1rem 1rem;

    box-shadow: rgba(0,0,0,0.4) 2px 2px 8px;
    border-radius: 4px;

}



#xsd-promo-videoform .xsd-promo-link .content {
    min-height: 41px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
#xsd-promo-videoform .xsd-promo-link .content a {
    color: white;
}
#xsd-promo-videoform .xsd-promo-link .content:hover {
    text-decoration: underline;
    cursor: pointer;
}
#xsd-promo-videoform .xsd-promo-link .closeform {
    position: absolute;
    top: -2px;
    right: -2px;
    cursor: pointer;
    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;
    background: #545355;
    border-radius: 4px;
}
#xsd-promo-videoform .xsd-promo-link:before {
    content: '';
    position: absolute;
    width: 80px;
    height: 110px;
    background-image: url(/upload/gambitpro.png);
    background-size: contain;
    background-repeat: no-repeat;
    left: 4px;
    bottom: -5px;
}
#xsd-promo-videoform .xsd-promo-link.closed:before {
    display: none;
}
#xsd-promo-videoform .xsd-promo-link.closed {
    width: calc(52px + 2rem);
    background-color: transparent;
    box-shadow: none;
    background-image: url('images/icon.png');
    cursor: pointer;
}

#xsd-promo-videoform .xsd-promo-link.closed .content, #xsd-promo-videoform .xsd-promo-link.closed .closeform {
    display: none;
}

#promoVideoModal .modal-content {
    background-color: var(--main-bg-color);
    color: var(--main-color);
}
#promoVideoModal .modal-content .close {
    color: var(--main-color);
    text-shadow: none;
}
#promoVideoModal .modal-content h5.modal-title {
    color: var(--main-color);
}
#promoVideoModal .modal-content .modal-header {    border-bottom: 1px solid #1f1d21;  }
#promoVideoModal .modal-content .modal-footer {    border-top: 1px solid #1f1d21;     }

@media (max-width: 768px)
{

#xsd-promo-videoform .xsd-promo-link {
    max-width: 14rem;
}

}