﻿input[type=text] {
    background-color: #F3F6F9;
    border-radius: 6px;
    border: solid 1px #F3F6F9;
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
    font-size: 18px;
    box-sizing: border-box;
    display: block;
    width: 100%;
    color: #3F4254;
    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

    input[type=text]:active,
    input[type=text].active,
    input[type=text]:focus,
    input[type=text].focus {
        background-color: #EBEDF3;
        border: solid 1px rgb(5,114,236);
        outline: none;
        transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    }

input[type=number] {
    background-color: #F3F6F9;
    border-radius: 6px;
    border: solid 1px #F3F6F9;
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
    font-size: 18px;
    box-sizing: border-box;
    display: block;
    width: 100%;
    color: #3F4254;
    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

    input[type=number]:active,
    input[type=number].active,
    input[type=number]:focus,
    input[type=number].focus {
        background-color: #EBEDF3;
        border: solid 1px rgb(5,114,236);
        outline: none;
        transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    }

input[type=date] {
    background-color: #F3F6F9;
    border-radius: 6px;
    border: solid 1px #F3F6F9;
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
    font-size: 18px;
    box-sizing: border-box;
    display: block;
    width: 100%;
    color: #3F4254;
    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

    input[type=date]:active,
    input[type=date].active,
    input[type=date]:focus,
    input[type=date].focus {
        background-color: #EBEDF3;
        border: solid 1px rgb(5,114,236);
        outline: none;
        transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    }

input[type=time] {
    background-color: #F3F6F9;
    border-radius: 6px;
    border: solid 1px #F3F6F9;
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
    font-size: 18px;
    box-sizing: border-box;
    display: block;
    width: 100%;
    color: #3F4254;
    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

    input[type=time]:active,
    input[type=time].active,
    input[type=time]:focus,
    input[type=time].focus {
        background-color: #EBEDF3;
        border: solid 1px rgb(5,114,236);
        outline: none;
        transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    }

textarea {
    background-color: #F3F6F9;
    border-radius: 6px;
    border: solid 1px #F3F6F9;
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
    font-size: 18px;
    box-sizing: border-box;
    display: block;
    width: 100%;
    color: #3F4254;
    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

    textarea:active,
    textarea.active,
    textarea:focus,
    textarea.focus {
        background-color: #EBEDF3;
        border: solid 1px rgb(5,114,236);
        outline: none;
        transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    }

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #F3F6F9;
    border-radius: 6px;
    border: solid 1px #F3F6F9;
    padding: 12px;
    font-size: 18px;
    box-sizing: border-box;
    display: block;
    width: 100%;
    color: #3F4254;
    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" fill="%233F4254" viewBox="0 0 20 20"><polygon points="5,7 15,7 10,12"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
}

    /* Firefox fix for inconsistent padding in some versions */
    select:-moz-focusring {
        padding-left: 12px !important;
        padding-right: 36px !important; /* Adjusted for custom arrow */
    }

    /* IE11 and Edge Legacy fix */
    select::-ms-expand {
        display: none;
    }

input[type=password] {
    background-color: #F3F6F9;
    border-radius: 6px;
    border: solid 1px #F3F6F9;
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
    font-size: 18px;
    box-sizing: border-box;
    display: block;
    width: 100%;
    color: #3F4254;
    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

    input[type=password]:active,
    input[type=password].active,
    input[type=password]:focus,
    input[type=password].focus {
        background-color: #EBEDF3;
        border: solid 1px rgb(5,114,236);
        outline: none;
        transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    }

input[type="checkbox"] {
    display: none;
}

    input[type="checkbox"] + label {
        display: inline-block;
        width: 100%;
        height: 20px;
        background: url('/img/checkbox-inactive.png') no-repeat;
        margin-bottom: 10px;
    }

    input[type="checkbox"]:checked + label {
        background: url('/img/checkbox-active.png') no-repeat;
    }

    input[type="checkbox"] + label span {
        margin-left: 30px;
    }

.btn {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    border: solid 1px transparent;
    font-size: 1rem;
    padding: .375rem .75rem;
    border-radius: .25rem;
    text-decoration:none;
}
