﻿/* Form */
.form-control {
    border-radius: 0;
    height: 38px;
}

.form-control:focus {
    border-color: var(--c-primary);
}

.submitted.ng-invalid-required {
    border-color: var(--c-primary);
}

span.submitted.ng-invalid-required span:first-child {
    border-color: var(--c-primary);
}

.validation-message {
    color: var(--c-primary);
}
/* Select */
select.form-control {
    -moz-appearance: none;
    -webkit-appearance: none;
    outline: none;
}

.k-list > .k-state-selected {
    background-color: #eaeaea;
}

.k-state-focused {
    border-color: var(--c-primary) !important;
}
/* Text area */
textarea:focus {
    overflow: auto;
    outline: var(--c-primary) auto 5px;
}

/* Radio button */
input[type=radio] {
    position: absolute;
    visibility: hidden;
}

.check {
    display: block;
    position: absolute;
    border: 2px solid var(--c-secondary-ligth-4);
    height: 18px;
    width: 18px;
    top: 10px;
    right: 0px;
    z-index: 5;
}

.check::before {
    display: block;
    position: absolute;
    content: '';
    border-radius: 100%;
    height: 10px;
    width: 10px;
    top: 2px;
    left: 2px;
    margin: auto;
    transition: background 0.25s linear;
    -webkit-transition: background 0.25s linear;
}

input[type=radio]:checked ~ .check {
    border: 2px solid var(--c-primary);
}

input[type=radio]:checked ~ .check::before {
    background: var(--c-primary);
}


label.right-radio {
    text-align: end;
}

label:hover .box {
    border: 2px solid var(--c-primary);
}

label:hover .check {
    border-bottom-color: var(--c-primary);
    border-right-color: var(--c-primary);
}

.right-radio {
    padding-left: 0 !important;
}

    .right-radio > input {
        margin-left: 15px !important;
        position: relative !important;
    }

/* Label */

label.placeholder {
    color: var(--c-secondary-ligth-4);
}

/* Slider */