/*
Theme Name: Eubam
Theme URI: http://chyrkov.studio
Author: CHYRKOV studio
Author URI: http://chyrkov.studio
Description: Official wordpress theme for EUBAM, crafted with soul by CHYRKOV digital production studio.
Version: 1.0.0
*/
select {
    width: 50%;
      padding: 0.375rem 0.75rem;
    line-height: 1.5;
    border-radius: 0 0;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    height: 46px;
    font-size: 1em;
    color: #000;
    background: #f2f2f2;
    border: 2px solid #000;
}
input {
    line-height: normal;
        padding: 0.375rem 0.75rem;
    line-height: 1.5;
    border-radius: 0 0;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    height: 46px;
    font-size: 1em;
    color: #000;
    background: #f2f2f2;
    border: 2px solid #000;
}
textarea {
    width: 50%;
      line-height: normal;
        padding: 0.375rem 0.75rem;
    line-height: 1.5;
    border-radius: 0 0;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    height: 250px;
    font-size: 1em;
    color: #000;
    background: #f2f2f2;
    border: 2px solid #000;
}

.contacts span{
       /* color: #7f7f7f; */ /* oy */

}



/* oy */
.footnotetext {
  display: inline; 
  color: blue;
  font-weight: bold;
}
/* oy */
.footnotetext::after {
  content: attr(data-note); /* Подставляем номер сноски */
  color: blue;
}





/* Стили для текста со сноской */
/* oy */
.footnote {
  display: inline; /* Устанавливаем элемент как inline, чтобы он не переходил на новую строку */
    font-size: 0.5em; 
  vertical-align: super; /* Поднимаем как верхний индекс */
  color: blue;
  margin-left: 2px; /* Отступ между основным текстом и сноской */
}
/* Добавление номера сноски через псевдоэлемент */
/* oy */
.footnote::after {
  content: attr(data-note); /* Подставляем номер сноски */
  /*font-size: 0.75em;*/
  vertical-align: super;
  color: blue;
}

.wpcf7-form-control.has-spinner.wpcf7-submit{
        background: #1429a7;
    border: #1429a7;
    color: #fff;
    width: auto !important;
    text-align: center;
    margin: 0 auto;
    padding: 10px 20px;
    height: auto;
    text-transform: none;
    font-weight: 400;
    letter-spacing: normal;
}
.wpcf7-form-control.wpcf7-radio input{
    height:  10px;
}
#wpcf7-f5898-o1{
    /*
    text-align: center;
    */
    text-align: left;        /* oy */
}
#wpcf7-f5898-o1 p{
    font-size: 15px;
    font-family: 'Open Sans', sans-serif; /* oy */
}

.left{
	margin:0 30px 0 0
}   

/* Стили для контейнера выпадающего списка */
.custom-multiselect {
    position: relative;
    width: 100%;
    max-width: 300px;
}

.custom-multiselect select {
    width: 100%;
    padding: 8px;
    border-radius: 4px;
    font-size: 16px;
    appearance: none;
    cursor: pointer;
}

/* Контейнер для выпадающего меню */
.custom-dropdown {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 50%;
}

.dropdown-toggle {
    width: 100%;
    padding: 8px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    background-color: #fff;
    text-align: left;
    line-height: 1.5;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    height: 46px;
    color: #000;
    background: #f2f2f2;
    border: 2px solid #000;
}

.dropdown-toggle::after {
    content: '▼';
    float: right;
    font-size: 12px;
    color: #333;
}

/* Скрываем список по умолчанию */
.custom-dropdown .wpcf7-checkbox {
    display: none;
    position: absolute;
    width: 100%;
    max-height: 150px;
    overflow-y: auto;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    padding: 10px;
    z-index: 1000;
}

/* Стиль для каждого пункта чекбокса */
.custom-dropdown .wpcf7-list-item {
    display: block;
    padding: 5px 0;
    width: fit-content;
}

.custom-dropdown .wpcf7-list-item input[type="checkbox"] {
    margin-right: 8px;
}
.custom-dropdown .wpcf7-list-item input{
    height: 13px;
}

.clearfix{
        display: flex;
    align-items: flex-end;
    /* oy */
    /*justify-content: center;*/
    
}
.wpcf7-form-control.wpcf7-text.wpcf7-tel.wpcf7-validates-as-tel{
        width: -webkit-fill-available;
}

.wpcf7-form-control.wpcf7-text.wpcf7-tel.wpcf7-validates-as-tel input{
        width: -webkit-fill-available;
}
.wpcf7-form-control .wpcf7-text .wpcf7-tel .wpcf7-validates-as-tel input{
        width: -webkit-fill-available;
}


@media (min-width: 330px) and (max-width: 1199.98px) { 
    .clearfix{
        display: block;
}
    .wpcf7-form-control.wpcf7-text.wpcf7-email.wpcf7-validates-as-email{
            width: -webkit-fill-available;
    }
    input{
        width:345px;
    }
    .right{
        width: 345px;
    margin: 0 0 0 5px;
    }
}