#banner_on_tariff_page {
    background: #000;
}

#banner_on_tariff_page img {
    width: 100%;
    opacity: 0.7;
}

.tariff_prices {
  text-align: center;
  padding: 200px 0;
}

.toggle-container {
  margin-bottom: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

#month, #year {
  font-family: Montserrat;
  font-weight: 300;
  font-size: 20px;
  line-height: 32px;
  color: #757575;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

#price-toggle {
  display: none;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

#price-toggle:checked ~ .toggle-container .switch .slider {
  background-color: #424242;
}

#price-toggle:checked ~ .toggle-container .switch .slider:before {
  transform: translateX(26px);
}

.tariff_container {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.tariff {
  /* padding: 20px; */
  text-align: center;
  background-color: #EBEBEB33;
  box-sizing: border-box;
  /* border-radius: 8px; */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  /* transition: all 0.3s ease; */
  max-width: 275px;
  min-height: 493px;
    display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

#tariff_name {
  font-family: Montserrat;
  font-weight: 300;
  font-size: 20px;
  line-height: 32px;
  margin-bottom: 10px;
}

.tariff #price {
  font-family: Montserrat;
  font-weight: 300;
  font-size: 42px;
  line-height: 52px;
  margin-bottom: 10px;
}

.tariff .yearly {
  display: none;
  position: relative;
}

.tariff .yearly .sale{
  font-family: Montserrat;
  font-weight: 300;
  font-size: 20px;
  line-height: 32px;
  color: #004AAD;
  position: absolute;
  top: -20px;
  right: 25px;
}

.tariff .description {
  font-family: Montserrat;
  font-weight: 200;
  font-size: 16px;
  line-height: 26px;
  color: #757575;
  margin-bottom: 40px;
}

.tariff #buttons_on_tariff button {
  background-color: #424242;
  color: #EEEEEE;
  cursor: pointer;
  border-radius: 5px;
  padding: 10px;
  font-family: Montserrat;
  font-weight: 400;
  font-size: 14px;
  line-height: 100%;
  border: none;
  min-width: 145px;
}

.tariff #buttons_on_tariff #white_button {
  background-color: #EEEEEE !important;
  color: #000 !important;
  border-color: #BDBDBD;
  border-width: 1px;
}
.tariff a:visited {
    color: #ffffff !important;
}

.tariff a {
    color: #ffffff !important;
}

#tariff_2_black a:visited {
    color: #000 !important;
}

#tariff_2_black a {
    color: #000 !important;
}

.tariff:hover {
  outline: 1px solid #ccc;
}
#tariff_2_black:hover {
  outline: 1px solid #333;
}

#tariff_2_black {
  background-color: #333;
  color: #fff;
  /* border: 0 solid #ccc;
  transition: border-width 0.3s ease; */
}

#tariff_2_black #title_tariff_block,
#tariff_2_black #tariff_name,
#tariff_2_black .description,
#tariff_2_black .sale {
  color: #ffffff;
}

#tariff_4 #price {
  display: block;
  font-family: Montserrat;
  font-weight: 300;
  font-size: 20px;
  line-height: 32px;
  margin-bottom: 10px;
  min-height: 52px; 
}

#price-toggle:checked ~ .tariff_container .tariff .monthly {
  display: none;
}

#price-toggle:checked ~ .tariff_container #black .monthly {
  display: none;
}


#price-toggle:checked ~ .tariff_container .tariff .yearly {
  display: block;
}

#price-toggle:checked ~ .tariff_container #black .yearly {
  display: block;
}

/* #buttons_on_tariff {
  margin: 0 0 40px 0;
} */
#title_tariff_block {
  margin: 20px;
}

/* #tariff_4 .price_monthly {
  align-items: center;
  justify-content: center;
  display: flex;
  min-height: 104px;
}

#tariff_4 button {
  margin: 74px 0 40px 0 !important; 
}*/

#hidden_button_on_tariff {
  visibility: hidden;
}
#buttons_tariff_page {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 0 40px 0;
}



#title_table_on_tariff_page {
  font-family: Montserrat;
  font-weight: 300;
  font-size: 42px;
  text-align: center;
  margin-bottom: 100px;
}
.tariff-table th {
  font-family: Montserrat;
  font-weight: 300;
  font-size: 20px;
}
.tariff-table td {
  font-family: Montserrat;
  font-weight: 200;
  font-size: 16px;
}


.table-container {
  margin: 0 10% 200px 10%;
}
.tariff-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    display: table !important;
    /*table-layout: fixed;  Фиксированная ширина колонок */
}

.tariff-table th,
.tariff-table td {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid #ddd;
    vertical-align: middle; /* Выравнивание по вертикали */
}

.tariff-table th:first-child,
.tariff-table td:first-child {
    width: 30%; /* Ширина первой колонки с услугами */
    text-align: left;
}

.tariff-table th:nth-child(2),
.tariff-table td:nth-child(2),
.tariff-table th:nth-child(3),
.tariff-table td:nth-child(3),
.tariff-table th:nth-child(4),
.tariff-table td:nth-child(4) {
   /* width: 20%;  Равная ширина для колонок тарифов */
}

.tariff-table th {
    /* font-weight: bold; */
    border-bottom: 2px solid #ddd;
}

.tariff-table tr {
  height: 80px;
}

.tariff-table td, .tariff-table th {
  text-align: center !important;
}

/* .available, .not-available {
  width: 100px !important;
} */
 

#title_button_tariff_page {
  font-family: Montserrat;
  font-weight: 300;
  font-size: 42px;
  line-height: 52px;
}

#description_button_tariff_page {
  font-family: Montserrat;
  font-weight: 200;
  font-size: 16px;
  line-height: 26px;
}

 .button_and_text_on_tariff_page {
  justify-content: right !important;
  gap: 100px;
  padding-right: 150px;
}

/*.button_and_text_on_tariff_page #buttons_on_black {
  order: 1;
}

.button_and_text_on_tariff_page #title_and_description_with_button_tariff_page {
  order: 2; 
}*/

