

body {
    color: #333;
    font-family: "Trebuchet MS", Arial, sans-serif;
    font-size: 18px;
    background-color: #f8f9fa;
	margin: 0;
  font-family: "Ubuntu", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.header-box {
  display: flex;
    background: #7c81801e;
    margin: 15px;
    color: #5e5e5e;
    padding: 15px;
    border-radius: 15px;
    font-size: 16px;
}
 
#container {
    margin: auto;
    width: 100%;
    max-width: 1200px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    padding: 20px 0;
    
}

#above1 {
	width: 100%; 
	max-width: 345px;
	text-align: center; 
	display: inline-block; /*display: table-cell;*/
}
#above2 {
	width: 100%;
	max-width: 345px;
	text-align: center; 
	display: inline-block; /*display: table-cell;*/
}
 
#header {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

#optns {
  width: 100%;
    font-size: 16px;
}
 
.box-NDS {
	display: flex;
}
 
#content {
    padding: 20px;
}
 
#clear {
	clear:both;
	height: 10px;
}
 
#footer {
  background: #41414146;
  color: #3f3f3f;
  text-align: center;
  padding: 20px;
  font-family: Arial, sans-serif;
  position: relative;
  bottom: 0;
  width: 100%;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-email {
  color: #4e4e4e;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  transition: color 0.3s ease-in-out;
}

.footer-email:hover {
  color: #000000;
}

.footer-counter {
  margin-top: 5px;
}

#troubleRound {
	background: #F08080; 
	width: 100%;
	text-align: center;
	/*padding: 1px 2px;*/
	display: inline-block;
	vertical-align: middle;
	font-size: 18px;
}
#trouble1820 {
	background: #F08080; 
	height: 150px; 
	width: 100%;
	text-align: left;
	padding: 1px 2px;
	display: table-cell;
	vertical-align: middle;
	font-size: 18px;
}
#NDSType { 
	background: #cdc5bf57; 
	border-radius: 15px;
	padding: 15px;
	margin: 5px;
	width: 100%;
	text-align: left;
	display: inline-block;
}

.txt_area {
  font-size: 18px;
  padding: 12px 16px;
  border: 1px solid #ccc;
  background-color: #fff;
  border-radius: 12px; /* Выраженные скругления */
  color: #333;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
  width: 100%; /* Поле не растягивается на всю ширину */
  max-width: 500px; /* Максимальная ширина */
}

.txt_area:focus {
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(100, 100, 100, 0.2); /* Лёгкое выделение */
}
.currency {
  position: relative;
  display: inline-block;

}

.option {
  font-size: 16px !important;
}

.currency select {
  width: 100%;
  padding: 12px 40px 12px 15px;
  border-radius: 12px;
  border: 1px solid #ccc;
  background-color: #fff;
  color: #333;
  font-size: 16px !important; 
  font-family: Arial, sans-serif;
  appearance: none; /* Убираем стандартный стиль выпадающего списка */
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.currency select:focus {
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.3); /* Лёгкое выделение при фокусе */
  outline: none;
}

.currency .flag-icon {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  width: 24px;
  height: 16px;
  font-size: 16px;
  background-size: cover;
  background-repeat: no-repeat;
}
.flag-icon {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  width: 24px;
  height: 16px;
  background-size: cover;
  background-repeat: no-repeat;
  pointer-events: none; /* Флаг не мешает кликам по выпадающему списку */
}

/* Классы для флагов из Bootstrap */
.flag-icon-ru {
  background-image: url('https://cdn.jsdelivr.net/npm/flag-icon-css@3.6.0/flags/4x3/ru.svg'); /* Флаг России */
}

.flag-icon-kz {
  background-image: url('https://cdn.jsdelivr.net/npm/flag-icon-css@3.6.0/flags/4x3/kz.svg'); /* Флаг Казахстана */
}

.flag-icon-eu {
  background-image: url('https://cdn.jsdelivr.net/npm/flag-icon-css@3.6.0/flags/4x3/eu.svg'); /* Флаг Евросоюза */
}

.flag-icon-us {
  background-image: url('https://cdn.jsdelivr.net/npm/flag-icon-css@3.6.0/flags/4x3/us.svg'); /* Флаг США */
}

.currency select option {
  padding: 12px;
  background-color: #fff;
  font-size: 16px;
  transition: background-color 0.2s ease;
}

.currency select option:hover {
  background-color: #f0f0f0;
}

.currency select:focus + .flag-icon {
  border-color: #007bff;
}

.areas {
  background: #f9f9f9;
  padding: 12px;
  border-radius: 12px;
  font-size: 18px;
  border: 1px solid #ddd;
}


.header1 {
    text-align: center;
    padding: 15px;
    border-radius: 5px;
    font-size: 22px;
    font-weight: bold;
}

.cnt1{
	width: 100%;
}
.copy_butt{
	width: calc(15% - 4px);
	max-width: 100px;
	min-height: 100px;	
	vertical-align: middle;
	text-align: center;
	display: inline-block;
	margin: auto;
}

.Button {
	border: 10px;
	background-color: transparent;
	cursor: pointer;
	padding:0px;
}
.Button:active{
	padding-top:2px;
	padding-left:2px;
}

.navbar {
  background: rgba(255, 255, 255, 0.9); /* Лёгкая прозрачность */
  border-bottom: 2px solid rgba(192, 192, 192, 0.5);
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  padding: 15px 20px;
  width: 100%;
  transition: all 0.3s ease-in-out;
}

.navbar:hover {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

.navbar-brand {
  font-size: 24px;
  font-weight: bold;
  color: #333 !important;
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-brand img {
  height: 45px;
  transition: transform 0.3s ease-in-out;
}

.navbar-brand:hover img {
  transform: rotate(10deg);
}

.navbar-nav .nav-link {
  color: #5a5a5a !important;
  font-weight: 600;
  font-size: 18px;
  margin-left: 20px;
  position: relative;
  transition: color 0.3s ease-in-out;
  border-radius: 15px;
  border: 1px solid #ccc;
  background-color: #fff;
  padding: 5px 10px;
}

.navbar-nav .nav-link:hover {
  color: #333b39 !important;
  background-color: #79797911;
}

.navbar>.container, 
.navbar>.container-fluid, 
.navbar>.container-lg, 
.navbar>.container-md, 
.navbar>.container-sm, 
.navbar>.container-xl, 
.navbar>.container-xxl {
    display: flex;
    flex-wrap: inherit;
    align-items: center;
    justify-content: space-around; /* Изменено на space-around */
}


.navbar-nav .nav-link:hover::after {
  width: 100%;
}

@media (max-width: 768px) {
  .navbar {
      padding: 12px 15px;
  }
  
  .navbar-brand img {
      height: 35px;
  }
  
  .navbar-nav .nav-link {
      font-size: 16px;
      margin-left: 10px;
  }
}


.copy_butt button {
  background: #40754e9f; /* Спокойный серый цвет */
  color: #fff;
  border: none;
  padding: 12px 18px;
  border-radius: 6px; /* Более мягкие углы */
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.copy_butt button:hover {
  background: #666; /* Лёгкое затемнение при наведении */
  transform: scale(1.05); /* Лёгкое увеличение */
}

.copy_butt button:active {
  background: #444; /* Чуть темнее при нажатии */
  transform: scale(0.98);
}

.button_sbmt {
    background: #28a745;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s;
}

.button_sbmt:hover {
    background: #218838;
}
/* Общие стили для кнопок "+" и "-" без фона */
.button_change {
  font-size: 20px;
  border-radius: 50%; /* Сделаем кнопки круглыми */
  width: 40px;
  height: 40px;
  border: 2px solid #ccc; /* Легкая граница */
  background-color: transparent; /* Без фона */
  color: #333; /* Цвет текста */
  cursor: pointer;
  transition: all 0.3s ease; /* Плавный эффект при наведении */
  display: inline-flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Эффект при наведении на кнопки */
.button_change:hover {
  border-color: #00811186; /* Изменение цвета границы */
  color: #008111; /* Цвет текста при наведении */
  transform: scale(1.1); /* Легкое увеличение кнопки */
}

/* Эффект при нажатии на кнопки */
.button_change:active {
  border-color: #008111; /* Темнее при нажатии */
  color: #008111;
  transform: scale(0.98); /* Немного уменьшаем кнопку */
}

.alert1{ 
	padding-left: 5px;
	padding-right: 5px;
	display: block;
	clear: both;
	width: 100%;
	text-align: center;
	font-size:80%;
}
/* .myButton{
	width: 100%;
	max-width: 50px;	
	padding: 0;
} */

/* -------------------------------------------*/
/*http://dimox.name/custom-checkboxes-and-radio-buttons-using-css-only/*/
/* Cначала обозначаем стили для IE8 и более старых версий
т.е. здесь мы немного облагораживаем стандартный чекбокс. */
.checkbox {
  vertical-align: top;
  margin: 0 3px 0 0;
  width: 17px;
  height: 17px;
}
/* Это для всех браузеров, кроме совсем старых, которые не поддерживают
селекторы с плюсом. Показываем, что label кликабелен. */
.checkbox + label {
  cursor: pointer;
}

/* Далее идет оформление чекбокса в современных браузерах, а также IE9 и выше.
Благодаря тому, что старые браузеры не поддерживают селекторы :not и :checked,
в них все нижеследующие стили не сработают. */

/* Прячем оригинальный чекбокс. */
.checkbox:not(checked) {
  position: absolute;
  opacity: 0;
}
.checkbox:not(checked) + label {
  position: relative; /* будем позиционировать псевдочекбокс относительно label */
  padding: 0 0 0 60px; /* оставляем слева от label место под псевдочекбокс */
  margin: 5px;
  margin-left: 10px;
}
/* Оформление первой части чекбокса в выключенном состоянии (фон). */
.checkbox:not(checked) + label:before {
  content: '';
  position: absolute;
  top: -4px;
  left: 0;
  width: 50px;
  height: 26px;
  border-radius: 13px;
  background: #CDD1DA;
  box-shadow: inset 0 2px 3px rgba(0,0,0,.2);
}
/* Оформление второй части чекбокса в выключенном состоянии (переключатель). */
.checkbox:not(checked) + label:after {
  content: '';
  position: absolute;
  top: -2px;
  left: 2px;
  width: 22px;
  height: 22px;
  border-radius: 10px;
  background: #FFF;
  box-shadow: 0 2px 5px rgba(0,0,0,.3);
  transition: all .2s; /* анимация, чтобы чекбокс переключался плавно */
}
/* Меняем фон чекбокса, когда он включен. */
.checkbox:checked + label:before {
  background: #9FD468;
}
/* Сдвигаем переключатель чекбокса, когда он включен. */
.checkbox:checked + label:after {
  left: 26px;
}
/* Показываем получение фокуса. */
.checkbox:focus + label:before {
  box-shadow: 0 0 0 3px rgba(255,255,0,.5);
}

.box {
  width: 50%;
  background: #cdc5bf57;
  padding: 15px;
  margin: 5px;
  border-radius: 15px;
}

.box-date {
  background: #cdc5bf57;
  padding: 15px;
  margin: 5px;
  border-radius: 15px;
}

@media (max-width:768px) {
	.box-NDS {
		flex-wrap: wrap;
	}
  #content {
    padding: 0;
  }
  .box {
    width: 100%;
  }
  .header-box {
    flex-wrap: wrap;
  }
}

.footer-box {
  display: flex;
  justify-content: space-around;
  align-content: center;
  flex-direction: row;
  align-items: center;
  width: 100%;
}

.btn {
  margin: 10px 0;
}