:root {
  --main-bg-color: #fff;     /*цвет фона хедера и футера*/
  --main-nav-color: #000;    /*цвет букв*/
  --main-content-place-back-color: #e2e4e8;
  --main-content-font-color: #4b4f54;
}
* {
    margin: 0;
    padding: 0;
}

.header{
    min-height: 60px;
    /*outline: 1px solid #212121;*/
    display: table;
}
/*
nav.navbar .dropdown:hover > .dropdown-menu {
    display: block;
}
*/

.overhead{
    background-color: #321149;
    height: 70px;
    padding: 5px;
}
.sub-overhead{
    max-width: 1750px;
    margin: 0 auto;
}
.middle-header{
    background-color: #fff;
    /*border: 1px solid;*/
    box-shadow: 0 2px 5px 1px rgba(33, 33, 33, 0.35);
    /*min-height: 106px;*/
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-content: flex-start;
    align-items: center;
}
.content_block{
    /*width: 800px;
    margin: 10px auto;
    border-radius: 4px;*/
    border: solid 1px #c0c0c0;
    padding: 10px;

}
.base_content{
    margin: 0 auto;
    max-width: 1700px;
}
.content_block ul li{
    list-style: none;
}
.container{
    max-width: 1800px;
}
.img-list-auto{width: 100px;margin-bottom: 10px;margin-top: 10px;}
/*---- таблица начало ---- */
.unit_row {
      padding-left: 10px;
      padding-right: 10px;
      vertical-align:middle;
      display:table-cell;
      text-align: center;
      border-bottom: 1px solid #c2c2c2;
    }
.unit_left_row {
    text-align: left;
}

.head-row{border-bottom: 2px solid #d5d5d5; text-align: center}
.edit-row{position: relative;}

.cart-row:hover .edit-block{
    opacity: 1;
    transition: 1s;
}
.articles-block{
    position: relative;
    outline: 0px solid #fff;
}
.edit-block{
    position:absolute;
    right:0;
    bottom:0;
    /*display: block;
    opacity:0;*/
}
/*
.articles-block:hover .edit-block{
    opacity: 1;
    transition: 1s;
}
*/
.articles-block:hover{
    outline: 2px solid #ff0000;
}
/*---- таблица конец ----*/
.button-next a {
    /*box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.2);*/
    height: 35px;
    display: flex;
    width: 200px;
    border-radius: 4px;
    border: 1px solid #949494;
    margin: 0 auto;
    align-items: center;
    background-color: #d4d4d4;
    background: linear-gradient(to top,  #c2c2c2, #e3e3e3);
    color: #212529;
    /*text-align: center;*/
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /*font-size: 35px;
    font-weight: 800;*/
    font-weight: 400;
    text-decoration: none;
    margin-bottom: 10px;
}
.button-next a:hover {
    background: linear-gradient(to top,  #e3e3e3, #f0f0f0);
}
.big-logo{
    text-align: center;
    margin-bottom: 50px;
    margin-top: 50px;
}
.breadcrumbs{
    height: 50px;
    background-color: #6c757d;
    position: relative;
    padding: 8px 12px 8px 12px;
    position: sticky;
    top: 0px;
    z-index: 101;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.16);
}
.breadcrumbs-text{
    font-style: normal;
    font-weight: 550;
    font-size: 16px;
    line-height: 32px;
    color: #fff;
    height: 32px;
    /*position: absolute;*/
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.breadcrumbs-text a{
    font-style: normal;
    font-weight: 550;
    font-size: 16px;
    line-height: 32px;
    color: #d0d0d0;;
}
#id_name, #id_text, #id_slug, #id_alt, #id_title, #id_alt_thumbnail, #id_description, #id_keywords {
    width: 100%;
}
#id_short_name{
    width: 450px;
}
.border-footer-block{
    height:40px;
}
.add-block{
    width: 40px;
    float: right;
}
.img-art-block{
    text-align: center;
}

.warning_unit_row{
    color: #fb1010;
    text-align: left;
}
.not_warning{
    text-align: left;
}
.GrateWall{
    position: relative;
}
.BorderWall{
    position: absolute;
    /*высота breadcrumbs*/
    top:-56px;
}
.main-content{
    padding: 0 10px;
}
.name-ext-section{
    font-weight: bold;
}
#id_group, #id_section{
    height: 300px;
}
.left-cell{
    text-align: left;
}
.span-link{
    padding: 5px 10px;
    text-decoration: none;
}
.span-link-active{
    /*background-color: #eea0a075;*/
    border-radius: 4px;
    border: 2px solid #f91a1a91;
}
.span-link:hover{
    text-decoration: none;
    color:black;
}
.table_thumb_cell{
    padding-left: 10px;
    padding-right: 10px;
    vertical-align: middle;
    display: table-cell;
    min-width: 100px;
    position: relative;
}
.max_w_row{
    border-bottom: 2px solid #b3b3b3;
}
.warning-cell{
    position: relative;
}
.warning-row{
    color: #c10101b8;
}
/*------------------*/
.warning-block{
    position:absolute;
    display: block;
    opacity:0;
    width: 320px;
    top: -35px;
    color: red;
    padding: 5px;
    border: 1px solid;
    border-radius: 4px 4px 4px 0px;
    text-align: center;
    background-color: white;
    left: 100%;
}
.warning-icon{
    position: absolute;
    top: -17px;
    right: 0px;
    width: 20px;
    height: 20px;
    display: block;
    opacity:0;
}
.warning-cell:hover .warning-block{
    opacity: 1;
    transition: 1s;
}
.warning-cell:hover .warning-icon{
    opacity: 1;
    transition: 1s;
}
.articles-block:hover{
    outline: 2px solid #ff0000;
}
/*------------------*/
.right-elem-row{
    width: 50px;
    display: flex;
    border-left: 2px solid #c2c2c2;
    border-bottom: 2px solid #c2c2c2;
    min-height: 50%;
    position: absolute;
    top: 0px;
    left: 50px;
    border-radius: 0px 0px 0px 6px;
}
.next-elem-row{
    width: 50px;
    display: flex;
    border-left: 2px solid #c2c2c2;
    min-height: 100%;
    position: absolute;
    top: 0px;
    left: 50px;
}
.activ-page{
    border: 2px solid;
    padding: 5px 8px;
    border-radius: 10px;
}
.link-page{
    border: 1px solid;
    padding: 5px 8px;
    border-radius: 10px;
    border-color: #c2c2c2;
    color: #000;
}
.link-page-a{
    text-decoration: none;
    display: inline-flex;
    margin: 2px;
}
.link-page-a:hover{
    text-decoration: none;
}
.button_add_art{
    background-color: #c4c8ff75;
    border: 2px solid #7e87f575;
    border-radius: 4px;
    color: black;
    text-decoration: none;
}
#q-search, #id-q-search, #q-search-code{
    width: 100%;
    padding: 0px 2px;
}
#id-q-search{
    border: 1px solid;
    border-radius: 2px;
    background-color: aliceblue;
    border-radius: 4px;
    cursor: pointer;
}
#dutton-search-code{
    border: 1px solid;
    padding: 1px;
    display: block;
    background-color: aliceblue;
    border-radius: 4px;
    color: var(--bs-body-color);
    text-decoration: none;
}
.pr-section{
    margin-top: 20px;
}
.pr-cart{
    border: 1px solid #c0c0c0;;
    margin-bottom: 5px;
    display: flex;
    border-radius: 4px;
    padding: 2px;
}
.pr-img{
    float:left;
    height: 76px;
}
.pr-desc{
    font-size: 10pt;
    margin: 0 5px;
}
.searsh-container{
    position: absolute;
    right: 30px;
    width: 300px;
    border: 1px solid;
    top: 0px;
    padding: 2px;
    border-radius: 2px;
}
.search-frame{
    border: 1px solid;
    position: absolute;
    width:  99.4%;
    background-color: #fff;
    padding: 5px;
    z-index: 100;
    display: none;
}
.item-result:hover{
    background-color: #dcdadadd;
    cursor: pointer;
}
.item-result a{
    color: black;
    text-decoration: none;
}
.my-list-news a {
    color: #65348A;
    text-decoration: none;
}
.my-list-news a:hover {
    color: #321149;
    text-decoration: none;
}
.errorlist li {
    color: #fb1010;
}
.errorlist {
  position: relative;
  display: inline-block;
  list-style-type: none;
  margin-bottom: 0px;
}
.info-and-search-block{
    position: relative;
    margin: 10px;
    font-size: 10pt;
}
.admin-page{
    margin: 0px 10px;
    min-height: 600px;
    margin-bottom: 100px;
    position: relative;
}
.last_success_report{
    color: deeppink;
}
.hand-thumbs-up{
    width: 20px;
}
.left-navblock{
    background-color: #f6f6ff;
    position: fixed;
    top: 50px;
    z-index: 10;
    width: 16%;
}
.paginator-block{
    text-align: center;
    margin-top: 20px;
    font-size: 10pt;
}


.errorlist:after {
  content: '';
  position: absolute;
  top: 50%;
  right: -10px;
  border: solid red;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
  transform: translate(100%, -50%) rotate(45deg);
  -webkit-transform: translate(100%, -50%) rotate(45deg);
}
#id_type_work li {
    list-style-type: none;
}
.videoContainer {
    position: relative;
    overflow: hidden;
    min-height: 200px;
}

.videoContainer:before {
    content: '';
    display: block;
    padding-top: 56.25%;
}

.videoContainer iframe {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}
.main__subtitle{
    text-align: center;
}
.filter-month{
    float: left;
    margin-right: 5px;
}
#mySelectId{
    padding: 1px 5px;
}
.form-select-link-box{
    margin-bottom: 8px;
}
.big-filter-block{
    margin: 10px;
    font-size: 10pt;
    border-bottom: 1px solid;
    position: relative;
}
.text-block-desc{
    border: 1px solid;
    padding: 4px;
    border-radius: 4px;
    max-width: 350px;
    overflow: hidden;
    height: 62px;
    font-size: 10pt;
}
.submit-button{
    padding: 4px;
    border-radius: 4px;
}
.desc-coll{
    width: 350px
}
.text-block-desc-req{
    max-width: 400px;
    text-align: justify;
}
.desc-coll-req{
    width: 420px;
}
.area_block{
    width: 98%;
    margin: 1%;
    font-size: 10pt;
}
.text-block-desc:hover{
    height: 300px;
    transition: .3s height;
    overflow: auto;
}

.table-cell-group{
    vertical-align: top;
    border-bottom: 1px solid #c2c2c2;
}
.head-row{border-bottom: 2px solid #d5d5d5; text-align: center}
.head-row-left{border-bottom: 2px solid #d5d5d5;}
.button-control{
    height: 20px;
}

.small_prev_img{
    width: 100px;
    margin: 1px;
}

.errorPage{color:#333;background-color:#edeef1;padding:120px 0 150px}
.errorPage__container{display:flex;align-items:center;flex-direction:column}
.errorPage__block{max-width:600px;border-radius:20px;padding:18px 48px 32px;background-color:#fff;margin-bottom:48px;text-align:center}
.errorPage__preview{font-size:60px;color:grey;font-weight:700;margin:0}
.errorPage__title{font-size:26px;font-weight:600;margin:0 0 8px}
.errorPage__text{font-size:18px}
.errorPage__buttons{margin-bottom:36px}
.errorPage__button:not(:last-child){margin-right:16px}

.errorPage__block,.errorPage__buttons{margin-bottom:32px}
}
.errorPage__preview{font-size:60px;color:grey;font-weight:700;margin:0}
.errorPage__title{font-size:26px;font-weight:600;margin:0 0 8px}
.errorPage__text{font-size:18px}

@media screen and (max-width: 1499px){

.searsh-container{
    position: revert;
}

.search-frame{
    width: 794px;
}


}

@media screen and (max-width: 900px){

.searsh-container{
    width: 100%;
    position: revert;
}

.search-frame{
    width: 95.1%;
}


}