textarea
{
    resize: vertical;
}

select
{
    cursor: pointer;
}

input, textarea, select
{
    outline: none;
    width: 100%;
    color: var(--dark);
    background-color: var(--white);
    border-radius: 5px;
    border: 2px solid var(--gold);
    border-bottom: 5px solid var(--gold);
    box-shadow: 0 3px 10px 0 rgba(0,0,0,.15);
    opacity: 0.9;
    transition: box-shadow .3s ease-in-out, opacity .3s ease-in-out;
}

input:not(:disabled):hover, textarea:not(:disabled):hover, select:not(:disabled):hover, input:not(:disabled):focus, textarea:not(:disabled):focus, select:not(:disabled):focus
{
    box-shadow: 0 3px 15px 2px rgba(0,0,0,.15);
    opacity: 1;
}

label
{
    text-align: left;
    font-weight: bold;
    color: var(--dark);
    width: 100%;
}

label.input-small
{
    width: 45%;
}

label[disabled]
{
    opacity: 0.5;
}

label[disabled] select
{
    opacity: 1;
    cursor: default;
}

.checkbox-label
{
    display: block;
    position: relative;
    cursor: pointer;
    padding-left: 28px;
    font-weight: 400;
}  

.checkbox-label input 
{
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-label .checkbox 
{
    position: absolute;
    top: calc((100% - 20px)/2);
    left: 0;
    height: 20px;
    width: 20px;
    background-color: var(--gold);
    transition: background-color .3s ease-in-out;
}

.checkbox-label:hover .checkbox
{
    background-color: var(--gold-hover);
}

.checkbox-label .checkbox:after 
{
    content: "";
    position: absolute;
    display: none;
    left: 8px;
    top: 4px;
    width: 4px;
    height: 8px;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    transform: rotate(40deg);
}

.checkbox-label input:checked ~ .checkbox:after 
{
    display: block;
}

.error
{
    display: block;
    background-color: #fff5f5;
    border: 1px solid #fc8181;
    color: #c53030;
    text-align: center;
    padding: 5px;
    font-size: 15px;
    margin-top: 10px;
    margin-bottom: 5px;
    font-weight: bold;
}

@media(max-width: 992px)
{
    label.input-small
    {
        width: 100%;
    }
}

@media(max-width: 400px)
{
    .error
    {
        padding: 4px;
        font-size: 14px;
        margin-top: 8px;
    }
}