input,
textarea,
select {
    width: 100%;
    margin: 0 0 10px;
    padding: 12px;
    outline: none;
    border: 1px solid #ccc;
    background-color: #f8f8f8;
    border-radius: 0;
}

.field.chkbx.f :is(input, label) {
    cursor: pointer;
}

.field.chkbx.f .l {
    flex: 0 0 20px;
    max-width: 20px;
}

.field.chkbx.f .r {
    flex: 1 0 0;
}

.field img {
    max-height: 300px
}

label {
    line-height: 1;
    /* font-size: 80%; */
    font-family: var(--font-t1x, inherit);
    margin: 0 0 3px
}

input[type="button"] {
    border: 0;
    color: #fff;
    background-color: #373737;
}

.field.radbx :is(input, label) {
    margin: 0 0;
    cursor: pointer;
    
}
.optionbx {
    --div: 20px;
    display: flex;
    flex-wrap: wrap
}
.optionbx :is(input, label){
    cursor: pointer;
    margin: 9px 0 !important;
}
.optionbx > div:nth-child(1) {
    flex: 0 0 var(--div);
    max-width: 0 0 var(--div);
}

.optionbx > div:nth-child(2) {
    flex: 0 0 calc(100% - var(--div));
    max-width: 0 0 calc(100% - var(--div))
}
.optionbx label  {
    font-size: inherit;
    color: inherit;
    font-family: inherit;
    margin: 9px 0;
    line-height: 1.2
} 

/* ============================= */
/* ============================= */
.form-line :is(input,
    textarea,
    select) {
    padding: 9px 0;
    background-color: transparent;
    border: 0;
    border-bottom: 1px solid #fff;
    margin: 0 0 30px;
    color: inherit
}

.form-line ::placeholder {
    color: #ccc
}

.form-line :is(input,textarea,select)+label {
    position: absolute;
    top: 9px;
    left: 0;
    transition: 0.6s all ease;
    pointer-events: none;
}

.form-line :is(input,textarea,select):focus+label,
.form-line :is(input,textarea,select):not(:placeholder-shown) +label {
    transform: translate(0,-100%);
    font-size: 70%
}

/* ============================= */
/* ============================= */
.cus-drop-main {
    position: absolute;
    width: 100%;
    z-index: 10;
    display: none;
    background-color: #000;
    color: #fff;
}

.cus-drop-main>div {
    max-height: 200px;
    overflow-y: auto;
}

.cus-drop-main.show,
input:focus+div .cus-drop-main {
    display: block;
}

.cus-drop {
    padding: 12px;
    background-color: #000;

    cursor: pointer;
    transition: .6s ease all;
    /* display: none; */
}

.cus-drop.show {
    display: block;
}

.cus-drop:hover {
    background-color: var(--clr02);
}


/* ============================= */
/* ============================= */
[tog-onoff] {
    border: 0;
    cursor: pointer;
    border-radius: 6px;
    color: #fff
}

[tog-onoff][value="ON"] {
    background-color: #005c15
}

[tog-onoff][value="OFF"] {
    background-color: #640000
}

/* ============================= */
/* ============================= */

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

::-webkit-calendar-picker-indicator {
    /* filter: invert(1); */
    /* background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="15" viewBox="0 0 24 24"><path fill="%23bbbbbb" d="M20 3h-1V1h-2v2H7V1H5v2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 18H4V8h16v13z"/></svg>'); */
}

/* ============================= */
/* ============================= */
.uis-w .slider-range-wrap {
    padding: 3px 12px 12px;
    z-index: 3;
}

.uis-w .ui-widget-header {
    height: 3px !important;
    background: var(--clr01);
    transform: translate(0, -50%);
}

.uis-w .ui-state-default,
.uis-w .ui-widget-content .ui-state-default,
.uis-w .ui-widget-header .ui-state-default {
    border: 2px solid var(--clr01);
    border-radius: 50%;
    background: #fff;
}

.uis-w .ui-widget-content {
    height: 1px !important;
    border: 0;
    background: #e0e0da;
    transform: translate(0, -50%);
    z-index: 10
}

.uis-w .ui-slider-horizontal .ui-slider-range1 {
    top: -2px;
}

.uis-w .ui-slider-horizontal .ui-slider-handle {
    top: 0;
    transform: translate(0, -50%);
    cursor: pointer;
}

.uis-w .ui-slider-handle {
    outline: none;
}

.uis-w .ui-slider-handle .amount {
    position: absolute;
    left: 0;
    bottom: 35px;
    display: none;
    width: 130px;
    padding: 10px 0;
    text-align: center;
    margin-left: -55px;
    font-weight: normal;
    font-size: 14px;
    color: #fff;
    border: 1px solid var(--clr01);
    background: var(--clr01);
}

.uis-w .ui-slider-handle .amount:after {
    content: '';
    display: block;
    position: absolute;
    bottom: -11px;
    left: 50%;
    right: 0;
    width: 0;
    height: 0;
    margin-left: -5px;
    border-top: 5px solid var(--clr01);
    border-bottom: 5px solid transparent;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    background-color: transparent;
}

.uis-w .range-correspond {
    margin: 0 0 15px
}

.uis-w .range-correspond>div:nth-child(2):after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 2px;
    background-color: var(--clr01x, #ccc);
    transform: translate(-50%, -50%)
}

.uis-w .range-correspond>div:nth-child(2) {
    flex: 0 0 45px;
    max-width: 45px;
}

.uis-w .range-correspond>div {
    flex: 1 0 0;
}

.uis-w .min-range,
.uis-w .max-range {
    margin-top: 12px;
    font-size: 12px;
    color: #888;
}

.uis-w .min-range {
    transform: translate(-50%, 0)
}

.uis-w .max-range {
    transform: translate(50%, 0)
}

.uis-w .slider-range1-wrap {
    position: relative;
    width: 500px;
    height: 200px;
    margin: 0 auto;
    padding: 40px 20px 60px 0;
}

/* ============================= */
/* ============================= */

.custom-select {
    position: relative;
    font-family: Arial;
}

.custom-select select {
    display: none;
    /*hide original SELECT element: */
}

.custom-select .select-selected {
    background-color: DodgerBlue;
}

/* Style the arrow inside the select element: */
.custom-select .select-selected:after {
    position: absolute;
    content: "";
    top: 14px;
    right: 10px;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-color: #fff transparent transparent transparent;
}

/* Point the arrow upwards when the select box is open (active): */
.custom-select .select-selected.select-arrow-active:after {
    border-color: transparent transparent #fff transparent;
    top: 7px;
}

/* style the items (options), including the selected item: */
.custom-select .select-items div,
.custom-select .select-selected {
    color: #ffffff;
    padding: 8px 16px;
    border: 1px solid transparent;
    border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
    cursor: pointer;
}

/* Style items (options): */
.custom-select .select-items {
    position: absolute;
    background-color: DodgerBlue;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
}

/* Hide the items when the select box is closed: */
.custom-select .select-hide {
    display: none;
}

.custom-select .select-items div:hover,
.custom-select .same-as-selected {
    background-color: rgba(0, 0, 0, 0.1);
}

/* ====================================== */
/* ====================================== */

.field {
    margin: 0 0 10px;
}

.field-spec-wrap {
    padding: 15px;
    background-color: #ccc;
    margin: 0 0 9px
}

.field :is(input, select, textarea) {
    margin: 0;
    border-radius: 6px;
}

.field :is(input, select, textarea)~ :is(input, select, textarea) {
    margin: 3px 0 0
}

.inp-such-w i {
    position: absolute;
    right: 0;
    height: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: var(--clr01);
    color: #fff;
    width: 50px;
    cursor: pointer
}

.input-w:not(.anders) input {
    padding-right: 50px
}