/*Использую файлик для удобства верстки, когда сделаю удалю и перенесу стили внутрь веб формы*/


/*Переопределяю стили конкретно для этой формы*/




/*Запущу эти стиль только на этой странице*/



 /*.webform-options-display-buttons input:checked + label.webform-options-display-buttons-label {
    color: #fff;
    border-color: var(--blue);
    background-color: var(--blue);
}*/

.webform-options-display-buttons-wrapper {
    display: inline-block;
}
 
.webform-options-display-buttons input:checked + label.webform-options-display-buttons-label {
    color: #fff;
    border-color: var(--blue);
    background-color: var(--blue);

}

.webform-options-display-buttons-label {
    border-radius: 5px;
    border: 1px solid #737476;
    padding: 10px 14px;
    margin-right: 5px;
}



/*Секция мои объявления*/


.addobject-form__section {
    max-width: 1000px;
    width: 100%;
    margin: 30px auto 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0.2rem 0.4rem 0 rgb(0 0 0 / 7%);
    padding: 40px;
}

.addobject-form__section h2 {
    font-weight: 500;
    font-size: 24px;
    margin-bottom: 20px;
}

.addobject-form__section legend {
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    color: #737476;
    margin: 20px 0;
}

.addobject-form__section-main__wrapper-buttons {
    margin-bottom: 35px;
}

@media (min-width: 400px) {
.webform-options-display-two-columns {
    display: block;
    max-width: 420px;
    margin-top: 0.4em;
    column-count: 2;
    font-size: 14px;
}
}

.addobject-form__section input[type='radio'],
.addobject-form__section input[type='checkbox'],
.addobject-form__section label {
  cursor: pointer;
}



.addobject-form__section input[type='radio'] {
  position: relative;
  height: 22px;
  width: 22px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
  margin-right: 5px;
}

.addobject-form__section input[type='radio']::before {
  content: '';
  position: absolute;
  top: 75%;
  left: 50%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  border: 2px solid var(--blue);
}

.addobject-form__section input[type='radio']:checked::after {
  content: '';
  position: absolute;
  top: 75%;
  left: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--blue);
  transform: translate(-50%, -50%);
  visibility: visible;
}

/*checkbox*/


.addobject-form__section input[type='checkbox'] {
    position: relative;
    height: 22px;
    width: 22px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    margin-right: 5px;
  }
  
  .addobject-form__section input[type='checkbox']::before {
    content: '';
    position: absolute;
    top: 75%;
    left: 50%;
    width: 22px;
    height: 22px;
    transform: translate(-50%, -50%);
    background-color: white;
    border: 2px solid var(--blue);
    border-radius: 5px;
  }
  
  .addobject-form__section input[type='checkbox']:checked::after {
    content: '\2713';
    position: absolute;
    top: 73%;
    left: 69%;
    width: 20px;
    height: 20px;
    font-weight: 700;
    color: var(--blue);
    border-radius: 5px;
    transform: translate(-50%, -50%);
    visibility: visible;
  }

/*Секция адрес*/

.object-adress__select {
    display: flex;
    margin: 0 auto 35px;
    font-size: 14px;
    justify-content: space-around;
}



.object-adress__select label {
    margin-right: 10px;
}

@media (max-width: 768px) {
    .object-adress__select {
        display: flex;
        flex-direction: column;
    
}
    .form-item-districts-gelendzhik {
        margin-top: 15px;

}
}


.object-adress__select select {
    padding: 10px 15px;
    border-radius: 15px;
}


.form-item-full-address input {
    max-width: 800px;
    border-radius: 5px;
    color: black;
    margin: auto;
}

.form-item-upload-objects-images {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.upload-objects-images__button {
    background-color: #e7eaed;
    color: #93989d;
    border: .1rem solid #c9cbcd;
    cursor: not-allowed;
    display: flex;
    -webkit-appearance: none;
    justify-content: center;
    align-items: center;
    min-width: 1.7rem;
    height: 4rem;
    border-radius: .5rem;
    outline: none;
    font-size: 1.4rem;
    font-weight: 500;
    padding: 0 2rem;
    white-space: nowrap;
    transition: background-color .2s ease 0s,border-color .2s ease 0s;
    will-change: background-color,border-color;

}

.flat-rooms__container {
    display: flex;
    justify-content: left;
    align-items: center;
}

.form-item-flat-apartaments {
    margin-top: 30px;
    margin-left: 15px;
}


@media (min-width: 400px) {
.flat-area__container {
    display: flex;
    max-width: 600px;
    column-count: 3;
    font-size: 14px;
    margin:  30px 0 30px 5px;
}
}

.flat-area__container01 {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    margin-right: 20px;
}

.flat-area__container02 {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    margin-right: 20px;
}

.flat-area__container03 {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    margin-right: 20px;
}


.form-item-flat-kithen-area,
.form-item-flat-storey,
.form-item-flat-kithen-area,
.form-item-flat-storey-numbers,
.form-item-flat-living-area,
.form-item-flat-ceiling-height {
    margin-top: 5px;
    margin-bottom: 5px;
}

.addobject-form__section .fieldgroup {
    margin-top: 20px;
    margin-bottom: 20px;
}

div#edit-flat-view-window {
    display: flex;
    justify-content: left;
    align-items: center;
}

div#edit-flat-view-window .form-item:not(:first-child) {
    margin-left: 15px;
}

.webform-radios-other-input input[type=text] {
    max-width: 700px;
    margin-top: 25px;
    padding: 10px 30px;
}


.form-item-description .input {
    min-height: 200px;
}

.addobject-form__section-button {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    min-width: 320px;
    min-height: 48px;
    border: 1px solid var(--red);
    border-radius: 10px;
    font-size: 16px;
    color: #fff;
    background-color: var(--red);
    margin-top: 20px;
}

.addobject-form__section-button a:hover {
    box-shadow: 0 6px 10px #a3a3a32e;
    background: var(--red-hover);
}