/**
 * Form elements
 */

input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="file"],
input[type="date"],
input[type="time"],
input[type="url"],
textarea,
select
{
    width: 100%;
    color: var(--dark);
    background-color: var(--bg-input);
    border: none;
    min-height: 1.5em;
    padding: 0.5rem;
    line-height: 1.5em;
    border-radius: 0.25rem;
    -webkit-border-radius: 0.25rem;
    -moz-border-radius: 0.25rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    margin: 0;
    font-size: 1em;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
}
input:focus,
textarea:focus,
select:focus {
    box-shadow: none;
    outline: none;
    background-color: var(--bg-default);
}
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="url"],
select {
    height: 40px;
    min-height: 40px;
    line-height: 40px;
}
select {
    /*-moz-appearance: none;*/
    /*-webkit-appearance: none;*/
    /*appearance: none;*/
    /*background: url('data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDE0IDE0IiBoZWlnaHQ9IjE0Ij4KPHBhdGggZmlsbD0iIzcyNzI3MiIgZD0iTTYuOCw4LjlMMy42LDUuN2MtMC4xLTAuMS0wLjEtMC4zLDAtMC41TDMuOCw1YzAuMS0wLjEsMC4zLTAuMSwwLjUsMEw3LDcuOWwyLjctMi44QzkuOCw1LDEwLDUsMTAuMiw1LjEgbDAuMiwwLjJjMC4xLDAuMSwwLjEsMC4zLDAsMC41TDcuMiw5QzcuMSw5LjEsNi45LDkuMSw2LjgsOC45eiIvPgo8L3N2Zz4K') no-repeat 99% center var(--bg-input);*/
    height: 40px;
    line-height: 40px;
    vertical-align: middle;
    padding: 0 0.5rem;
}
select option {
    height: 40px;
    line-height: 40px;
    vertical-align: middle;
    padding: 0 0.5rem;
}
select:focus
{
    /*background: url('data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDE0IDE0IiBoZWlnaHQ9IjE0Ij4KPHBhdGggZmlsbD0iIzcyNzI3MiIgZD0iTTcuMiw1LjFsMy4yLDMuMmMwLjEsMC4xLDAuMSwwLjMsMCwwLjVMMTAuMiw5Yy0wLjEsMC4xLTAuMywwLjEtMC41LDBMNyw2LjFMNC4zLDguOUM0LjIsOSw0LDksMy44LDguOSBMMy42LDguN2MtMC4xLTAuMS0wLjEtMC4zLDAtMC41TDYuOCw1QzYuOSw0LjksNy4xLDQuOSw3LjIsNS4xeiIvPgo8L3N2Zz4K') no-repeat 99% center var(--bg-input);*/
    border: none;
    background-color: var(--bg-default);
}
select:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 var(--black);
}
input[type="date"]
{
    height: 40px;
    min-height: 40px;
}
input[type="number"] {
    -moz-appearance: textfield;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
select[multiple][size] {
    height: auto;
    min-height: 40px;
}
select option:disabled {
    background-color: #ededed;
    color: #777;
    cursor: not-allowed;
}
input[type="file"] {
    min-height: 40px;
}
input[type="checkbox"][id],
input[type="radio"][id] {
    display: inline-block;
    position: absolute;
    z-index: -1;
    opacity: 0;
    -moz-opacity: 0;
}
input[type="checkbox"] + label.checkbox,
input[type="radio"] + label.checkbox {
    position: relative;
    padding: 0 0 0 60px;
    vertical-align: middle;
    margin: 0;
    height: 30px;
    cursor: pointer;
    font-weight: 400;
    font-size: 1em;
    color: #999;
    display: flex;
    align-items: center;
    line-height: initial;
}
input[type="checkbox"] + label.checkbox:before,
input[type="radio"] + label.checkbox:before {
    content: "";
    width: 50px;
    height: 30px;
    display: inline-block;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    background-color: var(--bg-input);
    border: none;
    position: absolute;
    cursor: pointer;
    left: 0;
    top: 0;
}
input[type="checkbox"] + label.checkbox:after,
input[type="radio"] + label.checkbox:after {
    content: "";
    position: absolute;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    display: inline-block;
    background-color: #ddd;
    left: 2px;
    top: 2px;
    -moz-transition: all .15s ease-in-out;
    -webkit-transition: all .15s ease-in-out;
    -o-transition: all .15s ease-in-out;
    transition: all .15s ease-in-out;
    font-size: 1em;
    vertical-align: middle;
    color: var(--white);
    text-align: center;
    line-height: 25px;
}
input[type="checkbox"]:checked + label.checkbox,
input[type="radio"]:checked + label.checkbox {
    color: var(--black);
}
input[type="checkbox"]:checked + label.checkbox:before,
input[type="radio"]:checked + label.checkbox:before {
    background-color: #dbedf7;
}
input[type="checkbox"]:checked + label.checkbox:after,
input[type="radio"]:checked + label.checkbox:after {
    margin-left: 20px;
    background-color: #4083AB;
}
input[type="checkbox"] + label.checkbox.small,
input[type="radio"] + label.checkbox.small {
    padding: 0 0 0 40px;
    height: 20px;
    line-height: 20px;
    display: inline-block;
}
input[type="checkbox"] + label.checkbox.small::before,
input[type="radio"] + label.checkbox.small::before {
    width: 30px;
    height: 20px;
}
input[type="checkbox"] + label.checkbox.small::after,
input[type="radio"] + label.checkbox.small::after {
    width: 16px;
    height: 16px;
}
input[type="checkbox"]:checked + label.checkbox.small::after,
input[type="radio"]:checked + label.checkbox.small::after {
    margin-left: 10px;
}
input.error,select.error,textarea.error,button.error,div.error {
    color: #b70000;
}
textarea {resize: none}
input[type=button],
input[type=submit],
button,
.btn
{
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    padding: 0 16px;
    cursor: pointer;
    display: inline-block;
    position: relative;
    background-color: #2a8abf;
    color: #ddf4fc;
    border: none;
    min-height: 40px;
    line-height: 39px;
    vertical-align: middle;
    overflow: hidden;
    /*text-align: left;*/
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
}
.btn-big {
    font-size: 1.15em;
    border-radius: 10px;
}
.btn-lg {
    padding: .25rem 1rem;
    font-size: 1.1rem;
    border-radius: 10px;
}
.btn-small,.btn-sm {
    font-size: 0.85em;
    line-height: 29px;
    min-height: 30px;
    padding: 0 0.5rem;
}
input[type=button]:hover,
input[type=submit]:hover,
button:hover,
.btn:hover,
.btn:active,
.btn.active {
    background-color: #2477a5;
    color: var(--white);
    text-decoration: none;
}
input[type=button][disabled],
input[type=submit][disabled],
button[disabled],
.btn.disabled {
    background-color: #ececec;
    color: var(--gray666);
    cursor: not-allowed;
}
.btn.btn-white
{
    color: var(--secondary);
    background-color: var(--white);
}
.btn.btn-white:hover {
    color: var(--dark);
    background-color: var(--white);
}
.btn.btn-primary{
    color:var(--white);
    background-color:var(--primary);
}
.btn.btn-primary:hover{
    color:var(--white);
    background-color: #1B69AA;
}
.btn.btn-light-primary{
    color:var(--primary);
    background-color:var(--light-primary);
}
.btn.btn-light-primary:hover{
    color:var(--white);
    background-color: var(--primary);
}
.btn.btn-outline-primary {
    color: var(--primary);
    border: solid 1px var(--primary);
    background-color: var(--white);
}
.btn.btn-outline-primary:hover {
    color: var(--white);
    background-color: var(--primary);
}
.btn.btn-outline-secondary {
    color: var(--secondary);
    border: solid 1px var(--secondary);
    background-color: var(--white);
}
.btn.btn-outline-secondary:hover {
    color: var(--white);
    background-color: var(--secondary);
}
.btn.btn-outline-danger {
    color: var(--danger);
    border: solid 1px var(--danger);
    background-color: var(--white);
}
.btn.btn-outline-danger:hover {
    color: var(--white);
    background-color: var(--danger);
}
.btn.btn-light {
    color: var(--gray666);
    background-color: var(--light);
}
.btn.btn-light:hover {
    color: var(--dark);
    background-color: var(--bg-input-hover);
}
.btn.btn-danger{
    color:var(--white);
    background-color:var(--danger);
}
.btn.btn-danger:hover{
    color:var(--white);
    background-color: #d98475;
}
button svg,
.btn svg
{
    vertical-align: middle;
}
form label {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
}
.form-group {
    margin-bottom: 1.25rem;
}
.input-group {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
}
.input-group > span {
    background-color: var(--bg-input);

    color: var(--secondary);
    line-height: 40px;
    height: 40px;
}
.input-group > span:nth-child(1) {
    border-radius: 0.25rem 0 0 0.25rem;
    padding: 0 0 0 0.5rem;
}
.input-group > input + span:last-child {
    border-radius: 0 0.25rem 0.25rem 0;
    padding: 0 0.5rem 0 0;
}
.input-group > input {
    width: auto;
    flex-grow: 1;
}
.input-group > input:not(:first-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.input-group > input:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}