	:root{
	    --white: #f9f9f9;
	    --black: #36383F;
	    --grey: #85888C;
	}

	* {
	     margin:0px;
	     padding:0px;
	     box-sizing: border-box;
	     scrollbar-width: thin;
	     scrollbar-color: #A0A0A0 #F3B8B8
	}
	input[type="text"] {
	     font-family: inherit;
	     font-size: inherit;
	     line-height: inherit;
	     margin: 0;
	}
	input[type="text"]:focus {
	     outline: none;
	}
	.text-field {
	     margin-bottom: 0px;
	     width: 100%;
	}
	.text-field__label {
	     display: block;
	     margin-bottom: 0px;
	}

	.w_90 {
	     width:90px;
	     min-width:90px;
	     max-width:90px;
	}

	.w_120 {
	     width:120px;
	     min-width:120px;
	     max-width:120px;
	}





	.text-field__input {
	     display: block;
	     width: 100%;
	     height: calc(2.25rem + 2px);
	     padding: 4px;
	     font-family: inherit;
	     font-size: 1rem;
	     font-weight: 400;
	     line-height: 1.5;
	     color: #212529;
	     background-color: #fff;
	     background-clip: padding-box;
	     border: 1px solid #bdbdbd;
	     border-radius: 0.25rem;
	     transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
	}
	.text-field__input::placeholder {
	     color: #212529;
	     opacity: 0.4;
	}
	.text-field__input:focus {
	     color: #212529;
	     background-color: #fff;
	     border-color: #bdbdbd;
	     outline: 0;
	     box-shadow: 0 0 0 0.2rem rgba(158, 158, 158, 0.25);
	     flex-grow: 1;
	}
	.text-field__group {
	     display: flex;
	     width: 100%;
	}
	.text-field__btn {
	     display: inline-block;
	     font-weight: 400;
	     line-height: 1.5;
	     color: #212529;
	     text-align: center;
	     vertical-align: middle;
	     cursor: pointer;
	     -webkit-user-select: none;
	     -moz-user-select: none;
	     user-select: none;
	     background-color: #eee;
	     border: 1px solid #bdbdbd;
	     padding: .375rem .75rem;
	     font-size: 1rem;
	     border-radius: .25rem;
	     transition: background-color .15s ease-in-out;
        }
	.text-field__btn:hover {
	     background-color: #bdbdbd;
	}
	.text-field__group .text-field__input {
	     border-top-right-radius: 0;
	     border-bottom-right-radius: 0;
	     position: relative;
        }
	.text-field__group .text-field__btn {
	     border-radius:0px;	
	     position: relative;
	     border-top-left-radius: 0;
	     border-bottom-left-radius: 0;
	     border-left-width: 0;
	}
	body {
	     background: #FFF;
	     color: #000;
	     font-family: Arial, sans-serif;
	     font-size: 14px;
             overflow:hidden;
	}

	#header {
	     width: 100%;
	     height: 55px;
	}
	 
	#container {
	     margin: auto auto;
	     text-align: center;
	     width: 100%;
	     height: 100vh;
	}
 
	#navigation {
	     width: 100%;
	     height: 38px;
	     background-color:#f0f0f0; 	
	     text-align: -webkit-center;
	}
        	
	#sidebar {
	     float: left;
	     width: 250px;
	     height: calc(100vh - 133px);
	     background-color:#ffffff; 	
	     overflow-y: auto;
	     overflow-x: none;

 
	}

	#content {
	     float: right;
	     width: calc(100vw - 250px);
	     height: calc(100vh - 133px);
	     background-color:#f0f0f0; 	
	}
 
	#clear {
	     clear: both;
	}
 
	#footer {
	    width: 100%;
	    height: 40px;
	}
	#left_content{
	    width: 100%;
	    float: left;
	    overflow-y: auto;
	    height: calc(100vh - 133px);
	    max-height: calc(100vh - 133px);
	}
	#right_content{
	    width: 50%;
	    float: left;
	    overflow-y: auto;
	    height: calc(100vh - 133px);
	    max-height: calc(100vh - 133px);
	    display:none;
	}
	.card{
	    width: 100%;
	    border-radius: 5px;
	    border: 1px;
	    background: #FFFFFF;
	    border-color: #bea4a4;
	    border-style: solid;
	    text-align:left;
	    margin-bottom:5px;	
	}
	.card_header{
	    width: 100%;
	    border-top-left-radius: 5px;
	    border-top-right-radius: 5px;
	    background: #F0F0F0;
	    padding: 5px;
	    border-bottom-width: 1px;
	    border-bottom-style: solid;
	    border-bottom-color: #D0D0D0;	
	}
	.card_footer{
	    width: 100%;
	    border-bottom-left-radius: 5px;
	    border-bottom-right-radius: 5px;
	    background: #F0F0F0;
	    padding: 5px;
	    border-top-width: 1px;
	    border-top-style: solid;
	    border-top-color: #D0D0D0;	
	}
	.card_body{
	    width: 100%;
	    background: #FFFFFF;
	    padding: 5px;
	}


	.header{
	    background-color: #FFFFFF;
	    top: 0;
	    width: 100%;
	    height: 55px;
	}
	.logo{
	    display: inline-block;
	    color: #000000;
	    margin-left: 10px;
	    padding-top: 16px;
	}

	.nav{
	    width: 100%;
	    height: 100%;
	    position: fixed;
	    background-color: #f0f0f0;
	    overflow: hidden;
	}

	.menu a{
	    display: block;
	    padding: 19px;
	    color: #000000;
	}
	.menu a:hover{
	    background-color: var(--grey);
	}
	
	.nav{
	    max-height: 0;
	    transition: max-height .5s ease-out;
	}
	.hamb{
	    cursor: pointer;
	    float: right;
	    padding: 26px;
	}
	.hamb-line {
	    background: #000000;
	    display: block;
	    height: 2px;
	    position: relative;
	    width: 24px;
	}

	.hamb-line::before,
	.hamb-line::after{
	    background: #000000;
	    content: '';
	    display: block;
	    height: 100%;
	    position: absolute;
	    transition: all .2s ease-out;
	    width: 100%;
	}
	.hamb-line::before{
	    top: 5px;
	}
	.hamb-line::after{
	    top: -5px;
	}
	.side-menu {
	    display: none;
	}
	.side-menu:checked ~ nav{
	    max-height: 100%;
	    z-index: 10;
	}
	.side-menu:checked ~ .hamb .hamb-line {
	    background: transparent;
	}
	.side-menu:checked ~ .hamb .hamb-line::before {
	    transform: rotate(-45deg);
	    top:0;
	}
	.side-menu:checked ~ .hamb .hamb-line::after {
	    transform: rotate(45deg);
	    top:0;
	}
	@media (min-width: 768px) {
	    .nav{
	        max-height: none;
	        top: 0;
	        position: relative;
	        float: right;
	        width: fit-content;
	        background-color: transparent;
	
	    }
	    .menu li{
	        float: left;
	    }
	    .menu a:hover{
	        background-color: transparent;
	        color: var(--grey);
	    }
	    .hamb{
	        display: none;
	    }
	}
        @media (max-width: 768px){
	    #sidebar {
	        float:none;
		width:100%;
		height:unset;
	    }
	    #content {
	        float:none;
		width:100%;
		height:unset;
	    }
	    #left_content {
	        float:none;
		width:100%;
		height: calc(50vh - 67px);
		max-height: calc(50vh - 67px);
	    }
	    #right_content {
	        float:none;
		width:100%;
		height: calc(50vh - 67px);
		max-height: calc(50vh - 67px);
	    }
	    #footer{
	        display:none;
	    }
	    body {
		overflow:initial;
	    }


	}	

	a{
	    text-decoration: none;
	}
	ul{
	    list-style: none;
	}
	.text-field__group .last_button{
		background-color:#e96d6d;
		color: #FFFFFF
	}
	.table {
	    width: 100%;
	    border: none;
	    margin-bottom: 20px;
	}
	.table thead th {
	    font-weight: bold;
	    text-align: left;
	    border: none;
	    padding: 10px 15px;
	    background: #d8d8d8;
	    font-size: 14px;
	    border-left: 1px solid #ddd;
	    border-right: 1px solid #ddd;
	}
	.table tbody td {
	    text-align: left;
	    border-left: 1px solid #ddd;
	    border-right: 1px solid #ddd;
	    padding: 10px 15px;
	    font-size: 14px;
	    vertical-align: top;
	}
	.table thead tr th:first-child, .table tbody tr td:first-child {
	    border-left: none;
	}
	.table thead tr th:last-child, .table tbody tr td:last-child {
	    border-right: none;
	}
	.table tbody tr:nth-child(even){
	    background: #f3f3f3;
	}


.modal-overlay {
    position: fixed; /* Фиксированное положение, чтобы окно оставалось на месте */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Полупрозрачный фон */
    display: flex; /* Используем Flexbox для выравнивания */
    justify-content: center; /* Центрирование по горизонтали */
    align-items: center; /* Центрирование по вертикали */
    z-index: 1000; /* Чтобы окно было поверх всего другого контента */
    visibility: hidden; /* Изначально скрыто */
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}
.dropdown-menu{
    border: 1px;
    border-style: solid;
    border-color:#000000;
    width:176px;
    background:#FFFFFF;
}
.modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    position: relative; /* Для абсолютного позиционирования кнопки закрытия */
    width:80%;
    height:80%;

}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.2em;
    cursor: pointer;
}

/* Стиль для отображения модального окна */
.modal-overlay.active {
    visibility: visible;
    opacity: 1;
}