/*Общее*/
input:hover,input:focus,textarea:focus,textarea:hover{outline:none}

/*Поля*/
.form input, .form textarea { line-height: 1.5rem; border: none; background-color: var(--light); border-radius: 3px; padding: 1.2rem 1.5rem !important; width: 100%; margin-bottom: 0.5rem; }
.form [type=submit] {display: block;width: 100%; padding: 1.2rem 1.5rem !important;}

/**/
form .alert { color: red; font-size: 0.8rem; margin-top: -.5rem; }
form .messages>div {padding: 1rem;background-color: green; color: white; margin: 0.5rem 0; text-align: center}
form .messages .fail {background-color: red}

/**/
.datepickers-container {z-index: 99999}

/**/
.check {position: relative;margin: 10px 0;display: flex;font-size:13px;}
.check label {padding-left: 15px;}
.check input {opacity: 0;width: auto}
.check input +label:before { background-color: white; content: ""; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border: 1px solid var(--c1); border-radius: 3px; }
.check input:checked +label:after { background-color: var(--c1); content: ""; width: 12px; height: 12px; left: 4px; top: 4px; border-radius: 2px; position: absolute; }

.check-main .check input +label:before {background-color: #cacaca;}
.check-main .check input:checked +label:after {background-color: var(--c1);}

/**/
.select2-container {width: 100% !important;margin-bottom: 0.5rem; background-color:var(--light);border-radius: 3px;}
.select2-container--default .select2-selection { padding-bottom: 0; background-color: var(--light); border: none; border-radius: 4px; height: 3rem; }
.select2-container--default .select2-selection .select2-selection__rendered { line-height: 3rem;    display: block; }
.select2-container--default .select2-selection .select2-selection__arrow { height: 3rem;width: 2rem}
.select2-container li::before{content: none !important;}
.select2-container--default .select2-selection--multiple .select2-selection__choice { background-color: transparent; border: none; border-radius: 6px; display: inline-block; margin-left: 5px; margin-top: 0; margin-bottom: 0; padding: 0; }
.select2-selection__choice__remove {line-height: 100% !important;    border-right:none !important;}
.select2-search.select2-search--inline {display: block;height: 100%;}
.select2-selection--multiple .select2-search--inline{display: none;}
.select2-search__field {margin: 0 !important;padding: 0 1rem !important;    height: 100% !important;}
.select2-search--dropdown {padding: 0;}

/**/
.bg-check .radio input +label:before { width: 100%; height: 100%; z-index: -1; border: 2px solid var(--c1); border-radius: 0; }
.bg-check .radio  input +label:after {content: none;}
.bg-check .radio input+label {z-index: 1; line-height: 50px;padding: 0 15px;width: 100%;text-align: center;cursor: pointer}
.bg-check .radio input:checked +label {color: white;}
.bg-check .radio input:checked +label:before {background-color: var(--c1);}
.bg-check .radio {height: 50px;width: 100%;}
.bg-check .radio input {position: absolute; left: -100000px; }

/**/
.form.hide{display:none}