.map, .gallery, .liberation{
    display: none;
}
.map.active, .gallery.active, .liberation.active{
    display: block;
}
a{
    text-decoration: none;
}
#map {
    position: absolute;
    top: 88px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
}
.leaflet-container {
    background: #c3c2c4;
    outline: 0;
    z-index: -1;
}
.title-icon-span{
    font-family: 'HelveticaNeueCyr';
    font-style: normal;
    font-weight: 300;
    font-size: 12px;
    line-height: 16px;
    color: #140808
}
.marker-div-icon{
    display: flex;
    align-items: center;
    transform: translate(-11px, -10px);
}
.marker-div-icon .my-div-image{
    width: 25px;
    height: 20px;
    background-color: #AA3232;
}
.title-icon-span{
    margin-left: 5px;
    white-space: nowrap;
}
.modal-dialog{
    display: none;
    max-width: calc((100% - 288px)/25*13);
    width: calc((100% - 288px)/25*13);
    margin-top: 40px;
    margin-right: calc((100% - 288px)/25);
    height: calc(100vh - 168px);
    z-index: 3;
}
html[dir='rtl'] .modal-dialog{
    margin-right: auto;
    margin-left: calc((100% - 288px)/25);
}
.modal-dialog.show{
    display: block;
}
.modal-content{
    height: 100%;
    border: none;
}
.modal-header{
    background-color: #5E3535;
    height: 108px;
    padding: 32px 37px 16px 32px;
    align-items: flex-start;
    border: none;
    border-radius: 0;
}
html[dir='rtl'] .modal-header{
    padding: 32px 32px 16px 37px;
}
.modal-title{
    font-family: 'Oswald';
    font-size: 1.5em;
    line-height: 133%;
    color: #FEFEFE;
}
.modal-sub-title{
    margin-top: 4px;
    line-height: 150%;
    color: #EAE6DE;
}
.modal-close{
    cursor: pointer;
}
.modal-close:active svg path{
    fill: #d2cdc3;
}
.modal-body{
    background-color: #EAE6DE;
    padding: 19px 33px 53px 32px;
    height: calc(100% - 164px);
}
html[dir='rtl'] .modal-body{
    padding: 24px 32px 53px 33px;
}
.modal-body__content{
    height: 100%;
    overflow-y: auto;
    padding-right: 17px;
}
html[dir='rtl'] .modal-body__content{
    padding-right: 0;
    padding-left: 17px;
}
.modal-body__descr{
    margin-top: 16px;
    line-height: 150%;
    color: #73726F;
}
.modal-footer{
    height: 54px;
    background-color: #EAE6DE;
    display: block;
    padding: 0;
    border: none;
    border-radius: 0;
}
.modal-footer__wrapper{
    display: flex;
    justify-content:flex-start;
    align-items: center;
    margin: 0;
}
html[dir='rtl'] .modal-footer__wrapper{
    padding-left: 0;
    padding-right: 32px;
}
.modal-footer__item{
    line-height: 150%;
    color: #A39D9D;
    padding: 0 16px 0 19px;
    cursor: pointer;
    height: 100%;
    display: flex;
    align-items: center;
    padding-bottom: 16px;
}
html[dir='rtl'] .modal-footer__item{
    padding: 0 19px 0 16px;
}
.modal-footer__item svg{
    margin-right: 11px;
}
.modal-footer__item span{
    margin-left: 14px;
}
html[dir='rtl'] .modal-footer__item span{
    margin-left: 0;
    margin-right: 14px;
}
.modal-footer__item.active{
    color: #AA3232;
    border-bottom: 2px solid #AA3232;
}
.modal-footer__item .my-tab-image{
    width: 20px;
    height: 20px;
    background-color: #A39D9D;
}
.modal-footer__item.active .my-tab-image{
    background-color: #AA3232;
}
.modal-footer__item:active{
    color: #73726F;
    background-color: #D2CDC3;
}
.modal-footer__item:active svg path{
    fill: #404040;
}
.tabcontent {
    display: none;
}
.header-nav-menu__item .menu-image{
    width: 20px;
    height: 20px;
    background-color: #404040FF;
}
.header-nav-menu__item.active .menu-image{
    background-color: #AA3232;
}

.map-admin{
    height: 350px;
    z-index: 1;
}

.form-check-input{
    margin-right: 8px;
}

.fa.fa-edit.published{
    color: #1ab394;
}
.fa.fa-edit.unpublished{
    color: #c53030
;
}
.leaflet-control-attribution.leaflet-control{
    display: none;
}


body .modal-dialog figure {
    text-align: center;
    padding: 10px;
    margin: 10px 20px;
    display: inline-block;
}


body .modal-dialog figure > figcaption {
    text-align: center;
    display: block;
    line-height: 1.6;
}


body  .modal-body__descr tbody,
body  .modal-body__descr td,
body  .modal-body__descr tfoot,
body  .modal-body__descr th,
body  .modal-body__descr thead,
body  .modal-body__descr tr {
    border-color: inherit;
    border-style: solid;
    border-width: 1px;
}


body  .modal-body__descr p, body  .modal-body__descr ul, body  .modal-body__descr ol, body  .modal-body__descr h1, body  .modal-body__descr h2 {
    padding: revert;
}

.modal-body__descr * {
    word-break: break-word;
}
