* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.clearfix:after {
    content: "";
    display: table;
    clear: both;
}
body {
    font-family: Roboto;
    color: #333;
    font-size: 12px;
    font-weight: 400;
}
.site-logo {
    padding: 44px 0 21px;
}
.site-logo-item {
    display: block;
    background: url(../logo.png);
    width: 353px;
    height: 85px;
    text-indent: -99999em;
    margin: 0 auto;
	background-repeat: no-repeat;
}

.site-user-item {
    display: block;
    position: absolute;
    top: 30px;
    right: 0px;
    width: 400px;
    margin: 0 auto;
    color: #333;
    font-size: 14px;
    font-weight: 400;
}

.site-user-item button {

}

.site-content-area {
    width: 1140px;
    margin: 0 auto;
}
.block_center{
    width: 400px;
    margin: 40px auto;
}

.field{
    margin: 10px 0px;
}

.tree {
    width: 25%;
    float: left;
}
.share{
    position: absolute;
    right: 5px;
    top: 20px;
    z-index: 10;
    width: 20px;
    height: 20px;
    background: url("/img/share.png");
    background-size: contain;
}

.tree_inner {
    /*width: 100%;*/
    position: relative;
}
.content{
    width: 74%;
    float: right;
    /*border:1px solid #ccc;*/
    border-top: 1px solid #c3a471;
    min-height: 600px;
    margin-top: 2px;
}
.content_inner {
    text-align: center;
}
.list_item_outer {
    width:200px;
    padding:5px;
    margin:5px;
    cursor: -webkit-zoom-in;
    cursor: -moz-zoom-in;
    cursor: zoom-in;
    color: #333;
    text-decoration: none;
    outline: none;
    display: inline-block;
    vertical-align: bottom;
    text-align: center;
}
.list_item {
    height: 230px;
    width: 100%;
    object-fit: cover;
}
.list_item_title {
    font-size: 13px;
    font-weight: 300;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.list_dir {
    font-size:12px;
    text-decoration: none;
}
.list_dir:hover,.active_dir {
    text-decoration: underline;
}
.empty_dir {
    padding: 20px;
    text-align: center;
}
.search {
    /*margin-left: 25%;*/
    width:25%;
    float:left;
}
.site-search-page-form {
    padding:20px 0;
    text-align: center;
}
.site-search-page-form-input,
.site-top-search-form-input{
    height: 30px;
    line-height: 30px;
    padding: 5px;
    font-size: 12px;
    outline:none;
    width: 87%;
    display: inline-block;
    border: 0;
    border-left: 1px solid #c3a471;
    padding-left: 10px;
}
.site-search-page-form-button,
.site-top-search-form-button,
.site-top-search-form-label{
    background:url(../img/search-icon.png) center center no-repeat;
    border:0;
    text-indent:-99999em;
    overflow:hidden;
    outline:none;
    cursor:pointer;
    height: 30px;
    width: 30px;
    line-height: 30px;
    padding: 0;
    vertical-align: middle;
    display: inline-block;
}
.search_header {
    float:left;
    width:75%;
    padding: 30px 0 0 25px;
    text-align: left;
}
.search_header span {
    font-weight: bold;
}
.search_header a {
    color: #c3a471;
    text-decoration: none;
}
.search_header a:hover {
    text-decoration: underline;
}

/* jquery ui */
.ui-accordion .ui-accordion-header {
    background: #fff;
    position: relative;
    padding: 15px 0 15px 25px;
    outline: none;
    border:0;
    border-top:1px solid #c3a471;
    border-radius:0;
    color: #333;
    font-weight: 300;
    font-size: 18px;
    line-height: 20px;
    font-family: Roboto;
}
.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active {
    border:0;
}
.ui-accordion .ui-accordion-header .ui-accordion-header-icon {
    position: absolute;
    left: -10px;
    width: 30px;
    height: 30px;
    top: 10px;
    color: #c3a471;
    margin: 0;
}
.site-catalog-filters .ui-accordion .ui-accordion-header .ui-accordion-header-icon {
    right: 18px;
}
.ui-accordion-header .ui-icon {
    background:url('../img/accordion-icon-down.png');
    background-size: cover;
}
.ui-state-active .ui-icon {
    background:url('../img/accordion-icon-up.png');
}
.ui-accordion .ui-accordion-content{
    border:0;
}
.ui-accordion .ui-accordion-content {
    padding:5px 5px 20px;
}
.site-catalog-filters__sub-row:first-child {
    margin:0;
}
.site-simple-button {
    background-color: #c3a471;
    color: white;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    padding:5px 20px;
}

/* Кнопка скачивания в popup */
.mfp-download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 16px;
    background: #c3a471;
    border-radius: 4px;
    transition: background 0.2s;
}
.mfp-download:hover {
    background: #a88a5c;
    color: #fff;
}
.mfp-download svg {
    flex-shrink: 0;
}
.mfp-bottom-bar {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    padding: 10px 0;
    gap: 15px;
    position: relative;
}
.mfp-bottom-bar .mfp-title {
    flex: 1;
    text-align: left;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mfp-bottom-bar .mfp-download {
    flex-shrink: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.mfp-bottom-bar .mfp-counter {
    flex: 1;
    text-align: right;
}

/* Фикс для отображения изображения и кнопки в пределах экрана */
.mfp-figure {
    display: flex;
    flex-direction: column;
    max-height: 100vh;
    overflow: visible;
}
.mfp-figure figure {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 20px);
    margin: 0;
}
.mfp-img {
    max-height: calc(100vh - 100px) !important;
    object-fit: contain;
}
.mfp-figure figcaption {
    flex-shrink: 0;
}

