*, ::after, ::before {
    box-sizing: border-box;
}
a {
    color: #007bff;
    text-decoration: none;
    background-color: transparent;
}
a, .ndash-item a h3, .ndash-item a h4, a.ndash-item h3, a.ndash-item h4 {
    -webkit-text-decoration-skip: objects;
    -webkit-transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    transition-duration: 0.3s;
}
a:hover {
    color: #0056b3;
    text-decoration: underline;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: left;
    background-color: #fff;
	font-size: .875rem;
}
body {
    background: #fff url(../imgs/pattern_new_small.png) center repeat;
    font-family: 'Open Sans', sans-serif;
}

.text-danger {color: red;}
.error { color: red; background: #ffe6e6; padding: 10px; border-radius: 4px; margin-bottom: 15px; }
.success { color: green; background: #e6ffe6; padding: 10px; border-radius: 4px; margin-bottom: 15px; }
form div { margin-bottom: 15px; }
label { display: block; margin-bottom: 5px; font-weight: bold; }
input[type="text"], input[type="email"], input[type="password"], select, textarea {
	width: 100%; padding: 8px; border: 1px solid #ddd; border-radius: 4px;
}
button { background: #007bff; color: white; padding: 10px 20px; border: none; border-radius: 4px; cursor: pointer; }
button:hover { background: #0056b3; }
img {
    vertical-align: middle;
    border-style: none;
}
.input-success {
	background: #9effb4;
}
.input-spinner {
	position: absolute;
    right: 10px;
    top: 12px;
}

/* Основные стили */
.color-picker-container {
  display: none;
  position: absolute;
  margin-top: 5px;
  box-shadow: 0 2px 10px rgba(0,0,0,.2);
  background: #fff;
}

.hue-slider {
  width: 30px;
  height: 200px;
  background-image: linear-gradient(to bottom, red, yellow, green, cyan, blue, purple);
  cursor: pointer;
}

.sat-lum-panel {
  width: 200px;
  height: 200px;
  background: radial-gradient(at center, white, black);
  cursor: pointer;
}

.current-color-indicator {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #fff;
}

.close-btn {
  font-size: 14px;
  padding: 5px 10px;
  margin-bottom: 5px;
}

#colorHexField {
  width: 100px;
  padding: 5px;
  text-align: center;
}

/* Основная кнопка для активации цветового селектора */
#mainColorInput {
  padding: 5px;
  width: 200px;
}


.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}


.text-center {
    text-align: center !important;
}

.btn-secondary {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}
.main-page-link-right {
    position: absolute;
    right: 15px;
    top: 6px;
}
.btn {
    padding: .320rem .30rem;
    font-size: .75rem;
}
.btn:hover {
    color: #212529;
    text-decoration: none;
}
.btn-secondary:hover {
    color: #fff;
    background-color: #5a6268;
    border-color: #545b62;
}
.ndash-item {
    padding: 25px;
    background-color: #d6ddeb;
    text-align: left;
    min-height: 130px;
    display: flex;
    align-items: center;
    position: relative;
}
.ndash-item a, a.ndash-item {
    color: #ececec;
}
.mb0 {
    margin-bottom: 0;
}
.tc {
    text-align: center;
}
.ndash-item h3, .ndash-item h4 {
    color: #222;
    font-size: 18px;
    text-transform: uppercase;
}
a, .ndash-item a h3, .ndash-item a h4, a.ndash-item h3, a.ndash-item h4 {
    -webkit-text-decoration-skip: objects;
    -webkit-transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    transition-duration: 0.3s;
}
.ndash-item a:hover, a.ndash-item:hover, a.ndash-item:hover h4 {
    text-decoration: none;
    color: #e82964;
}

/* header page */
.header-wrap .main-link {
    position: absolute;
    top: 2px;
    left: 15px;
}
.small_h {
    font-size: 18px;
}
.mt10 {
    margin-top: 10px;
}
.header-wrap .main-link-right {
    position: absolute;
    top: 2px;
    right: 15px;
}
.breadcrumbs {
    margin: 10px 0;
}
.tt_u {
	text-transform: uppercase;
}
/* end */

/* footer page */
.pagination {
	margin-bottom: 50px;
}
.pagination-info {
	float: right;
}
/* end */

/* suggestions */
.suggestions-list {
  position: absolute;
  background: white;
  border: 1px solid #ccc;
  max-height: 150px;
  overflow-y: auto;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.suggestions-list div {
  padding: 8px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
}

.suggestions-list div:hover,
.suggestions-list div.active {
  background-color: #e0e0e0;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
/* Основной контейнер подсказок */
.suggestions-container {
    display: none; /* Изначально скрыт */
    position: absolute; /* Абсолютное позиционирование */
    /*top: calc(100% + 5px);*/ /* Ниже поля ввода, с небольшим отступом */
    left: 0; /* Слева от поля */
    right: 0; /* Растягиваемся на ширину родителя */
    max-width: 100%; /* Максимальная ширина равна ширине поля */
    min-width: 100%; /* Минимальная ширина тоже равна ширине поля */
    background-color: #fff; /* Белый фон */
    border: 1px solid #ccc; /* Тонкая рамка */
    border-radius: 4px; /* Закругленные углы */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Легкая тень */
    z-index: 1000; /* Над всеми элементами */
    overflow-y: auto; /* Прокрутка, если много подсказок */
    max-height: 200px; /* Ограничение высоты */
}

/* Отдельные пункты подсказок */
.suggestion-item {
    padding: 8px 12px; /* Внутренние отступы */
    cursor: pointer; /* Курсор руки */
}

/* Наведение мыши */
.suggestion-item:hover {
    background-color: #f0f0f0; /* Светлая подсветка */
}

/* Активная ссылка */
.suggestion-link {
    color: #007bff; /* Цвет ссылки */
    text-decoration: none; /* Без подчеркивания */
}

/* Наведение на ссылку */
.suggestion-link:hover {
    text-decoration: underline; /* Подчеркивание при наведении */
}

/* Дополнительные стили для адаптивности */
@media (max-width:768px) {
    .suggestions-container {
        font-size: 14px; /* Мелкий шрифт на маленьких экранах */
    }
}
/* end */

/* tables */
.table thead th {
    vertical-align: middle;
}
.table.reports-list-table td, .table.reports-list-table th {
    padding: .375em !important;
}
table.table-striped.reports-list-table td, table.table-striped.reports-list-table th {
    padding: .5em;
}
#report-result-table td {
    vertical-align: middle;
    padding: .2em !important;
}
#report-result-table td a {
    padding: .09rem .30rem;
}
.table tbody td {
	position: relative;
}
/* end */

/* login */
.form-signin {
    width: 100%;
    max-width: 330px;
    padding: 15px;
    margin: 0 auto;
}
.login-container {
	display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-align: center;
    -ms-flex-pack: center;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    padding-top: 40px;
    padding-bottom: 40px;
/*     background-color: #f5f5f5; */
}
.error, .formError {
	color: #721c24;
	background-color: #f8d7da;
	border-color: #f5c6cb;
	padding: 10px;
	border: 1px solid transparent;
	border-radius: 4px;
	margin-bottom: 15px;
}
/* login end */

/* register */
.formError {
	display: none;
}
/* end register */



@media (min-width:576px) {
    .container {
        max-width:540px
    }
}

@media (min-width:768px) {
    .container {
        max-width:720px
    }
}

@media (min-width:992px) {
    .container {
        max-width:960px
    }
}

@media (min-width:1200px) {
    .container {
        max-width:1140px
    }
}

@media (min-width:1600px){
	.container-new, .container {
		max-width: 1600px;
	}
	
	.hidden-xl {
		display: none;
	}
}