#content-2, #content-3 {
	/*display: none;*/
}

.overflow_block{
	display: block;
	overflow:hidden;
	overflow-y: auto;
	max-height: 70vh;
}

.title_edit {
	background: #fefcf0;
	padding: 15px; 
	border-bottom: 1px solid; 
	border-color:#e9e8c2;
}

.exit {
	width: auto !important;
}

.tab {
	padding-right:40px;
}

.tab-content {
	margin-top: 10px;
}

.tab button {
	width: 100%;
	height: 120px;
}

.tab .col {
	padding: 15px;
}

.form_add{
	padding:25px;
	width:40%;
	height:auto;
	z-index:1;
	position:fixed;
	top:50%;
	left: 50%;
    transform: translate(-50%, -50%);
	background: #FFF;
	border:1px solid;
	border-radius: 8px;
	border-color: #a58a8f;
	margin:auto;
}

.close{
  float: right;
 
}

.btn, .save, .add {
	border: 1px solid;
	border-color: #a58a8f;
	background: none;
	color: #75585e;
	font-weight: bold;	
	width: 40px;
	border-radius: 8px;
	height: 37px;
	margin: 5px;
	vertical-align: middle;
} 

button.btn:not(.del, .helper-tab, .js-uchastok)
{
    width: fit-content !important;
}

#helper-address{
   margin: 0;
  min-height: 65px;
}

.btn:hover, .save:hover, .add:hover {
	border: 1px solid;
	border-color: #a58a8f;
	background-color: #feeaad;
	color: #75585e;
	font-weight: bold;	
} 

.btn_dist{
	color: #000;
	font-weight: normal;
	padding: 5px;
}

.del {
	background: url(/assets/images/del.png) no-repeat center center / contain;
}

.save {
	background: url(/assets/images/save.png) no-repeat center center / contain;
}

.add {
	background: url(/assets/images/add.png) no-repeat center center / contain;
}

.add_new{
	background:none;
	width: auto;
}

input,select {
	border-radius: 4px;
	border-width: 1px;
	width: 100%;
	height: 37px;
	margin: 5px;
}

.breadcrumbs{
	color: rgb(0, 0, 128);
}

span.btn_breadcrumbs{
	color: rgb(0, 0, 128);
	cursor: pointer;
}

.btn-primary{
	width:auto;
	/*background:#6391f4;*/
	border-color:#638bdb;
	/*color: #FFF;*/
	color: #75585e;
}
/*preloader*/
.display-none {
    display: none !important;
}
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,.8);
    z-index: 999;
    opacity: 1;
    transition: all 0.5s;
}
.lds-dual-ring {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lds-dual-ring:after {
    content: " ";
    display: block;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 6px solid #fff;
    border-color: #fff transparent #fff transparent;
    animation: lds-dual-ring 1.2s linear infinite;
}
@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
/*end preloader*/ 

/*Новая админка*/
.helper-admin .tab-button {
    width: 100%;
    min-height: 74px;
    margin-bottom: 8px;
    border: 0;
    border-radius: 0;
    color: #515151;
    white-space: normal;
}

.helper-admin .res-row {
    padding: 10px 0;
    border-bottom: 1px solid #e8e8e8;
    align-items: center;
}

.helper-admin .res-row:hover {
    background: #faf7ed;
}

.helper-admin .breadcrumbs {
    padding: 10px 0;
    color: #777;
}

.helper-admin .btn_breadcrumbs {
    color: #337ab7;
    cursor: pointer;
    text-decoration: underline;
}

.helper-admin .btn_breadcrumbs:hover {
    color: #23527c;
}

.helper-admin .overflow_block {
    max-height: 62vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.helper-admin .helper-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.helper-admin .helper-pagination .active {
    background: #feeaad;
    color: #515151;
}

.helper-admin .helper-success {
    padding: 10px;
    color: #31708f;
}

.helper-admin .helper-error {
    padding: 10px;
    color: #a94442;
}

.form_add {
    position: fixed;
    z-index: 10001;
    top: 5%;
    left: 50%;
    width: min(900px, 92vw);
    max-height: 90vh;
    padding: 25px;
    overflow-y: auto;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .25);
}

.form_add .close {
    position: absolute;
    top: 10px;
    right: 10px;
}

.form_add input {
    width: 100%;
    margin-bottom: 12px;
}

.display-none {
    display: none !important;
}
.form-block {
    position: relative;
}

#helper-suggest {
    position: absolute;
    z-index: 1000;
    top: 100%;
    right: 0;
    left: 0;
    max-height: 320px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #ccc;
    border-top: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .15);
}

#helper-suggest .suggest-item {
    display: block;
    width: 100%;
    padding: 12px 15px;
    margin: 0;
    color: #333;
    text-align: left;
    background: #fff;
    border: 0;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

#helper-suggest .suggest-item:hover,
#helper-suggest .suggest-item:focus {
    color: #000;
    background: #feeaad;
    outline: none;
}
.dist .btn_dist{
    width: 40px !important;
}
.btn_str, .js-rayon{
    padding: 5px 10px;
}

#helper-service-areas {
    max-height: 260px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 5px;
}

.helper-area-row {
    align-items: center;
}

.helper-area-filter-empty {
    padding: 8px 15px;
    color: #989898;
}

.helper-service-header {
    color: #989898;
}

.helper-service-areas-short {
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.helper-service-address {
    margin-top: 6px;
}

.helper-disabled {
    margin-top: 4px;
    color: #a94442;
    font-size: 12px;
}

.helper-row-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}