﻿:root {
    --snl-blue: #005bab;
    --snl-light-blue: #669ccc;
    --snl-orange: orange;
    --error-red: red;
}


/* Select Control  */
select {
    padding: 0.8em 0.8em 0.8em 0;
    margin: 0.5em 0;
    outline: 3px solid var(--snl-blue);
    border-radius: 3px;
    font-size: 16px;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    border-color: transparent;
    background: white;
    background-repeat: no-repeat;
    background-position: right;
    width: 100%;
}

    select.minimal {
        background-image: linear-gradient(45deg, transparent 50%, gray 50%), linear-gradient(135deg, gray 50%, transparent 50%), linear-gradient(to right, #ccc, #ccc);
        background-position: calc(100% - 10px) 1.5em, calc(100% - 5px) 1.5em, calc(100% - 1.5em) 1em;
        background-size: 5px 5px, 5px 5px, 1px 1.5em;
        background-repeat: no-repeat;
    }

.select-error {
    outline: 3px solid var(--error-red);
}
/* End of Select Control */


/* Input Control */
input {
    padding: 0.8em;
    margin: 0.5em 0;
    outline: 3px solid var(--snl-blue);
    font-size: 16px;
    border-radius: 3px;
    border: transparent;
    box-shadow: 2px 2px 3px 1px inset lightgrey;
}

    input:focus {
        outline: 3px solid var(--snl-light-blue);
    }
/* End of Input Control */


/* Button Control */
button {
    background: var(--snl-blue);
    color: white;
    border: none;
    height: 35px;
    min-width: 85px;
    border-radius: 2px;
}

    button:hover {
        background: var(--snl-orange);
    }

    button:focus {
        background: var(--snl-orange);
    }
/* End of Button Control */


/* Link As Button Control*/
a.button {
    background: var(--snl-blue);
    text-decoration: none;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 85px;
    height: 35px;
    border-radius: 2px;
    text-align: center;
}

    a.button:hover {
        background: var(--snl-orange);
    }

    a.button:focus {
        background: var(--snl-orange);
    }
/* End of Link As Button Control*/
