input, button, select, textarea {
    font-family: Rubik, Arial, sans-serif;
    line-height: 18px;
    font-size: 14px;
    color: #1D2F3C;
}
input::-ms-clear {
    display: none;
}
input:focus,
textarea:focus {
    outline: none;
    padding-right: 12px;
    border-color: #79CE4B;
}
textarea.resizeVertical {
    resize: vertical!important;
    min-height: 70px;
}

/*====================================== MAIN FORM AND INPUTS STYLES ======================================*/
.formContainer {
    padding: 40px 48px;
    background: #FFFFFF;
    border: 1px solid #F0F0F0;
    box-sizing: border-box;
    box-shadow: 0 4px 15px rgb(120 160 190 / 30%);
    border-radius: 10px;
    max-width: 584px;
    margin: auto auto 24px;
    text-align: center;
    position: relative;
}
.formContainer > h2 {
    margin: 0 0 24px 0;
}
.formContainer > h2.withDescription {
    margin: 0 0 8px 0;
}
@media (max-width: 767px) {
    .formContainer {
        width: 100%;
        padding: 32px 16px;
    }
}
.form:not(.slLandingEdit) {
    position: relative;
    display: flex;
    flex-flow: wrap row;
    justify-content: space-between;
    align-content: flex-start;
    box-sizing: border-box;
    width: 100%;
}
.form.small {
    max-width: 400px;
    margin: 0 auto;
}
.form_title{
    width: 100%;
    font-weight: bold;
    font-size: 21px;
    color: #1D2F3C;
    margin-bottom: 8px;
    text-align: center;
}
.form_description {
    text-align: center;
    font-weight: normal;
    font-size: 15px;
    color: #1D2F3C;
    line-height: 19px;
}
.formCell {
    position: relative;
    display: flex;
    flex-flow: column nowrap;
    margin-bottom: 24px;
    width: 100%;
    vertical-align: top;
    transition: margin-bottom, 0.3s;
}
.formCell.half {
    width: calc(50% - 8px);
}
.formCell.third,
.form_btnCell.third {
    width: calc((100% / 3) - 8px);
}
.formCell.fourth {
    width: calc((100% / 4) - 8px);
}
.form_btnCell.third .btn {
    width: 100%;
}
.formCell.cellHorizontal {
    flex-flow: row nowrap;
    align-items: center;
}
.js_relationHidden {
    display: none;
}
.js_relationHidden.open {
    display: block;
}

.formCell input,
.formCell textarea {
    width: 100%;
    background: #FFFFFF;
    border: 1px solid #D7DBDE;
    box-sizing: border-box;
    border-radius: 8px;
    -webkit-appearance: none;
}
.formCell input {
    height: 48px;
    padding-left: 16px;
    padding-right: 24px;
}
.formCell.cellHorizontal .inputSmall {
    width: 56px;
    padding: 8px;
}
.formCell.firstName_honey input {
    border: unset;
}
.formCell textarea {
    height: 70px;
    padding: 16px 8px 0 16px;
    resize: none;
}

.formCell .formCell_placeholder {
    position: absolute;
    pointer-events: none;
    left: 16px;
    top: 15px;
    -webkit-transition: .2s ease all;
    -o-transition: .2s ease all;
    transition: .2s ease all;
    background-color: #fff;
    padding: 0 5px;
    line-height: 19px;
    font-size: 14px;
    letter-spacing: 0.02em;
    color: #6A747B;
}
.formCell.filled .formCell_placeholder {
    top: -8px;
    left: 16px!important;
    border-radius: 8px;
}
.formCell.onFocus .formCell_placeholder {
    top: -8px;
    left: 16px!important;
    color: #5EB92D;
    border-radius: 8px;
}
.formCell.onError .formCell_placeholder {
    color: #D81615;
}
.formCell.phoneCell .formCell_placeholder {
    left: 39px;
}
.formCell.cellHorizontal .formCell_placeholder {
    position: static;
    margin-right: 8px;
}
.formCell.fileInput {
    display: inline-flex;
    width: 304px;
    border-radius: 10px;
    margin-bottom: 40px;
    margin-right: 16px;
}

.formCell.onFocus input,
.formCell.onFocus textarea{
    border-color: #79CE4B;
}
.formCell.onError input,
.formCell.onError textarea,
.formCell.onError .current_value {
    border-color: #D81615;
}

/* ====== Error ======  */
.formCell_inputError {
    display: none;
    color: #D81615;
    line-height: 18px;
    font-size: 13px;
    letter-spacing: 0.02em;
    margin-top: 4px;
    text-align: left;
    /*position: absolute;*/
}
.js_error {
    margin-bottom: 0;
}

/* ====== Cleaner ======  */
.svgCleaner {
    width: 18px;
    height: 18px;
    fill: #1D2F3C;
    opacity: 0.54;
    cursor: pointer;
}
.formCell .svgCleaner {
    display: none;
    position: absolute;
    top: 0;
    right: 10px;
    width: 24px;
    height: 48px;
}
.formCell.filled .svgCleaner {
    display: block;
}

/* ====== CHECKBOX ======  */
.checkbox {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    cursor: pointer;
}
.checkbox label {
    width: calc(100% - 32px);
    margin-left: 8px;
    line-height: 19px;
    font-size: 14px;
    letter-spacing: 0.02em;
    color: #7D8694;
    display: block;
    cursor: pointer;
}
.checkbox label a {
    line-height: 19px;
    font-size: 14px;
    letter-spacing: 0.02em;
}
.checkbox .checkbox_icon {
    display: none;
}
.checkbox input {
    display: none;
}
.checkbox .checkbox_icon {
    width: 24px;
    height: 24px;
}
.checkbox .checkbox_icon.iconUnchecked {
    display: block;
}
.checkbox.checked .checkbox_icon.iconChecked {
    display: block;
}
.checkbox.checked .checkbox_icon.iconUnchecked {
    display: none;
}
.checkbox.formCell.onError label {
    color: #D81615;
}
.checkbox.js_showHiddenRelation.checked {
    margin-bottom: 16px;
}


.checkbox.switchStyle {
    flex-flow: row nowrap;
    align-items: center;
}
.checkbox.switchStyle img {
    width: 48px;
    height: 32px;
    padding-top: 4px;
}
.checkbox.switchStyle label {
    margin-left: 16px;
    font-size: 14px;
    line-height: 19px;
    letter-spacing: 0.02em;
    color: #000000;
}


/* ====== Error Element ======  */
.error.formCell {
    display: flex;
    flex-flow: row nowrap;
}
.error .error_icon {
    width: 16px;
    height: 16px;
    margin-right: 16px;
}
.error .error_text {
    font-size: 13px;
    line-height: 18px;
    letter-spacing: 0.02em;
    color: #D81615;
}

/* ====== DATEPICKER ======  */
.datepicker-panel li::before {
    display: none!important;
}
.dateIcon {
    width: 19px;
    height: 19px;
    position: absolute;
    top: 15px;
    right: 9px;
    fill: #D7DBDE;
}
.formCell.onFocus .dateIcon {
    fill: #5EB92D;
}


/* ==== PLURAL ====== */
.js_pluralWrap {
    display: none;
}

.answer {
    max-width: 598px;
}
/*====================================== MAIN FORM AND INPUTS STYLES ======================================*/



/*====================================== ADAPTIVE ALL ======================================*/
@media (max-width: 767px) {
    .form_title {
        font-size: 24px;
        line-height: 28px;
        color: #1D2F3C;
        text-align: left;
    }

    .answer:not(.center) {
        border-radius: 0 0 10px 10px;
    }
    .answer_icon {
        width: 80px;
        height: 80px;
        margin-top: 16px;
    }
    p.answer_header {
        margin: 16px 0 8px;
        text-align: left;
    }
    p.answer_text {
        margin-bottom: 24px;
    }
    p.form_description, p.answer_text {
        text-align: left;
    }

    .formCell.third,
    .form_btnCell.third {
        width: 100%;
    }

    .formCell.fourth {
        width: 100%;
    }
}

@media (max-width: 728px) {
    .dateWrapper.show {
        display: none!important;
    }
}

@media (max-width: 550px) {
    .form.whiteContainer {
        padding: 36px 16px;
    }
    .formCell.half,
    .formCell.half1,
    .formCell.half2 {
        margin-left: 0;
        margin-right: 0;
    }
}


/* ====================================== SELECTS ======================================*/
.select.custom {
    width: 190px;
}
.select {
    position: relative;
    display: inline-block;
    box-sizing: border-box;
    vertical-align: top;
}
.current_select {
    width: 100%;
    font-weight: 500;
    height: 48px;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5EB92D;
    padding: 0 40px 0 16px;
    box-sizing: border-box;
    display: block;
    border: 1px solid #fff0;
}
.current_value {
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5EB92D;
    margin: 0;
    line-height: 14px;
    display: inline-block;
    border-radius: 10px;
    background: none;
    height: 47px;
    box-shadow: none;
    text-align: left;
    width: 160px;
    border: 0;
    box-sizing: border-box;
    vertical-align: top;
}
.current_value:focus {
    outline: none;
}
.current_select svg {
    width: 24px;
    height: 48px;
    position: absolute;
    top: 0;
    right: 16px;
    fill: #7D8694;
}
.options {
    width: 100%;
    position: absolute;
    top: 48px;
    left: 0;
    display: none;
    background: #fff;
    box-sizing: border-box;
    z-index: 10;
}
.options ul {
    margin: 0;
    width: 100%;
    padding: 0;
    max-height: 350px;
}
.options li {
    display: block;
    box-sizing: border-box;
    width: 100%;
    font-weight: normal;
    line-height: 18px;
    font-size: 14px;
    letter-spacing: 0.02em;
    color: #1D2F3C;
    cursor: pointer;
    margin: 0;
    padding: 11px 16px;

}
.options li:hover {
    background: #F6F9FB;
}
.options li::before {
    display: none;
}
.options li:last-child {
    border-radius: 0 0 10px 10px;
}
.options li.current {
    display: none;
}
.select.open_select {

}
.select.open_select .current_select {
    border: 1px solid #F0F0F0;
    border-bottom: 0;
    box-shadow: 0 4px 15px rgba(120, 160, 190, 0.5);
    border-radius: 10px 10px 0 0;
    background: white;
}
.select.open_select .options {
    display: block;
    border: 1px solid #F0F0F0;
    box-shadow: 0 11px 11px rgba(120, 160, 190, 0.5);
    border-radius: 0 0 10px 10px;
}
.options ul {
    overflow-y: scroll;
    max-height: 200px;
}

.select_search {
    position: relative;
    display: inline-block;
    box-sizing: border-box;
    vertical-align: top;
}
.formCell .select_search {
    width: 100%;
}
.select_search .current_select {
    cursor: pointer;
}
.select_search .current_value {
    cursor: pointer;
}
.select_search input {
    display: none;
    transition: 0.5s all;
    box-sizing: border-box;
    border: 1px solid #F0F0F0;
    border-bottom: 0;
    box-shadow: 0 4px 15px rgba(120, 160, 190, 0.5);
    border-radius: 10px 10px 0 0;
    background: white;
    height: 48px;
    padding-left: 16px;
    padding-right: 34px!important;
}
.select_search input:focus {
    border: 1px solid #F0F0F0;
    padding-right: 34px!important;
}
.select_search .select_icon_search {
    width: 24px;
    height: 24px;
    fill: #5EB92D;
    display: none;
    position: absolute;
    top: 12px;
    right: 12px;
}
.formCell .select_search .select_icon_search {
    width: 24px;
    height: 48px;
    top: 0;
    right: 8px;
}
.select_search.open_select .select_icon_search {
    display: block;
}
.select_search.open_select input {
    display: block;
}
.select_search.open_select .current_select {
    display: none;
}
.select_search.open_select .options {
    display: block;
    border: 1px solid #F0F0F0;
    box-shadow: 0 11px 11px rgba(120, 160, 190, 0.5);
    border-radius: 0 0 10px 10px;
}
.select_search .options li.default {
    display: none!important;
}

.current_select svg.filter_arrow {
    width: 24px;
    height: 48px;
    vertical-align: middle;
    fill: #5EB92D;
}
.current_select svg.filter_cleaner {
    vertical-align: middle;
    fill: #7D8694;
    cursor: pointer;
    display: none;
    width: 24px;
    height: 48px;
}
.select_search svg.input_filter_cleaner {
    vertical-align: middle;
    fill: #7D8694;
    cursor: pointer;
    display: none;
    width: 24px;
    height: 16px;
    position: absolute;
    top: 16px;
    right: 12px;
}
.current_select.active_select svg.filter_arrow {
    display: none;
}
.current_select.active_select svg.filter_cleaner {
    display: block;
}
.select li.onFocus,
.select_search li.onFocus {
    background: #F6F9FB;
}
.select_search li.current {
    background: #F6F9FB;
    color: #1D2F3C;
    font-weight: 500;
}

.optionsInput input {
    display: none;
}
.formCell .svgClose {
    display: none;
    position: absolute;
    top: 0;
    right: 10px;
    width: 16px;
    height: 48px;
    fill: #1D2F3C;
    cursor: pointer;
}
.optionsInput .select {
    width: 100%;
}
.formCell .current_select {
    background: #FFFFFF;
    box-sizing: border-box;
    height: 48px;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
}
.formCell .current_value {
    text-transform: none;
    pointer-events: none;
    -webkit-transition: .2s ease all;
    -o-transition: .2s ease all;
    transition: .2s ease all;
    background-color: #fff;
    font-size: 14px;
    letter-spacing: 0.02em;
    color: #6A747B;
    background: none;
    font-weight: 400;
    display: inline-block;
    padding: 0 32px 0 18px;
    float: left;
    line-height: 18px;
    background: #FFFFFF;
    border: 1px solid #D7DBDE;
    box-sizing: border-box;
    border-radius: 8px;
    height: 48px;
    width: 100%;
}
.formCell .options {
    border: 1px solid #F0F0F0;
    box-sizing: border-box;
    box-shadow: 0 4px 15px rgba(120, 160, 190, 0.3);
    border-radius: 3px!important;
    top: 47px;
}
.formCell .open_select .current_select {
    box-shadow: none;
    border-radius: 0;
    border: 0;
}
.formCell .open_select .current_value {
    border-color: #79CE4B;
}
.formCell .options li:last-child {
    border-radius: 0 0 3px 3px;
}
.formCell .options li{
    text-align: left;
}
.formCell .options li.default {
    display: none;
}
.select_st1 .active_value {
    color: #1D2F3C;
}
.select_st1 .current_select .svg_more {
    fill: #7D8694;
    right: 6px;
}



.formCell .active_select .current_value {
    color: #1D2F3C;
}
.formCell .active_select .svgClose {
    display: block!important;
    right: 40px;
}

.form_btnCell {
    display: flex;
    justify-content: center;
    align-content: center;
    width: 100%;
}

/* ====================================== SELECTS END ======================================*/


/*===================== IS_HOME ====================*/
.location_toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.toggleBtn {
    width: fit-content;
    display: flex;
}

.toggleBtn_text {
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
}

.toggleBtn_text:first-child {
    margin-right: 16px;
}
.toggleBtn_text:last-child{
    margin-left: 16px;
}

.toggleBtn_input {
    position: absolute;
    opacity: 0;
    z-index: -1;
}

.toggleBtn_input:checked + .toggleBtn_label {
    background: #79CE4B;
    border: 1px solid #79CE4B;
}

.toggleBtn_input:checked + .toggleBtn_label .toggleBtn_selector {
    margin-left: 21px;
    background: #ffffff;
    border: 1px solid #79CE4B;
}

.toggleBtn_input:checked + .toggleBtn_label .toggleBtn_selector::before {
    content: "";
    background-repeat: no-repeat;
    width: 22px;
    height: 22px;
    background-size: contain;
    background-position: center;
}

.toggleBtn_input:checked ~ .toggleBtn_onText {
    display: none;
}

.toggleBtn_input:checked ~ .toggleBtn_offText {
    display: block;
}

.toggleBtn_input:checked + .toggleBtn_wrapper > .toggleBtn_selector {
    left: calc(100% - 50px);
    background-color: #3957ee;
}

.toggleBtn_input:checked ~ .notification > .selected:before {
    content: 'Yes';
}

.toggleBtn_label {
    display: flex;
    align-items: center;
    width: 50px;
    height: 28px;
    background: #fff;
    border: 1px solid #CFD3DA;
    box-sizing: border-box;
    border-radius: 53px;
    transition: all .5s ease;
    cursor: pointer;
}

.toggleBtn_label .toggleBtn_input {
    display: none;
}

.toggleBtn_label .toggleBtn_input :checked + .toggleBtn_wrapper {
    box-shadow: 0 8px 14px 0 #3957ee;
}

.toggleBtn_selector {
    box-sizing: border-box;
    display: flex;
    margin: 0 -1px;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
    background: #fff;
    border-radius: 50%;
    transition: all .5s ease;
    box-shadow: 0px 2px 8px rgba(120, 160, 190, 0.3);
    border: 1px solid #CFD3DA;
}


/*==================MULTI START==============*/
.multiSelect{
    position: relative;
    display: inline-block;
    box-sizing: border-box;
    vertical-align: top;
    width: 350px;
}
.multiSelect_name{
    position: absolute;
    top: -8px;
    left: 17px;
    font-size: 13px;
    color: #7D8694;
    z-index: 6;
}
.multiSelect_name:after{
    content: "";
    position: absolute;
    top: 50%;
    background: #fff;
    height: 50%;
    width: calc(100% + 8px);
    left: -4px;
    z-index: -1;
}
.multiSelect .current_select{
    border: 1px solid #D7DBDE;
    background: #fff;
    border-radius: 10px;
}
.multiSelect.open_select .current_select {
    border: 1px solid #5EB92D;
}
.multiSelect.open_select .multiSelect_name{
    color: #5EB92D;
}
.multiSelect .current_value {
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 0.02em;
    color: #7D8694;
    margin: 0;
    background: #fff;
    line-height: 14px;
    display: inline-block;
    border-radius: 10px;
    background: none;
    height: 47px;
    box-shadow: none;
    text-align: left;
    width: 100%;
    border: 0;
    box-sizing: border-box;
    vertical-align: top;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: none;
}
.multiSelect .current_value.active_value{
    color:#1D2F3C;
}
.open_select .multiSelect_options{
    display: block;
    top: 48px;
    position: absolute;
    border: 1px solid #F0F0F0;
    box-shadow: 0 11px 11px rgba(120, 160, 190, 0.5);
    border-radius: 0 0 10px 10px;
}
.multiSelect_options {
    width: 100%;
    position: absolute;
    top: 48px;
    left: 0;
    display: none;
    background: #fff;
    box-sizing: border-box;
    z-index: 10;
}
.multiSelect_ul{
    overflow-y: auto;
    margin: 0;
    width: 100%;
    padding: 0;
    max-height: 350px;
}

.multiSelect_options li {
    display: block;
    box-sizing: border-box;
    width: 100%;
    font-weight: normal;
    line-height: 18px;
    font-size: 14px;
    letter-spacing: 0.02em;
    color: #1D2F3C;
    cursor: pointer;
    margin: 0;
    padding: 0 0 0 8px;
    text-align: left;
    background: #F6F9FB;
}

.multiSelect_options li:nth-of-type(2n) {
    background: #FFFFFF;
}

.multiSelect_options li:hover {
    background: #f6f9fb;
}
.multiSelect_ul li:before{
    display: none;
}
.multiSelect_ul .default{
    display: none;
}
.multiSelect_options .all.onFocus,
.multiSelect_li.onFocus {
    background: #F6F9FB;
}
.multiSelect_ul input{
    display: none;
}
.multiSelect_label:before{
    width: 24px;
    height: 24px;
    display: inline-block;
    vertical-align: middle;
    position: absolute;
    left: -32px;
}
.multiSelect_ul input[type="checkbox"]:checked+label:before{
    content: "";
    background: url("/local/templates/avaclinic/images/svg/checked.svg") no-repeat;
}
.multiSelect_label{
    margin-left: 32px;
    position: relative;
    /*vertical-align: sub;*/
    display: flex;
    align-items: center;
    height: 48px;
    cursor: pointer;
}
.multiSelect_ul label:before{
    content: "";
    background: url("/local/templates/avaclinic/images/svg/unchecked.svg") no-repeat;
}

.multiSelect_prefIcon {
    left: 16px;
    width: 24px;
    height: 48px;
    position: absolute;
    top: 0;
    fill: #7D8694;
}

@media (max-width: 767px) {
    .multiSelect_name:after {
        top: 40%;
        height: 60%;
    }
}
.fastSearch input {
    padding-right: 54px;
}
/*==================MULTI END==============*/