﻿body {
    margin: 0;
    padding: 0;
    padding-top: 50px;
    padding-bottom: 50px;
}

ul.navbar-nav {
    margin-top: 10px;
    margin-bottom: 10px;
}
/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

/* styles for validation helpers */
.field-validation-error {
    color: #b94a48;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #b94a48;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #b94a48;
}

.validation-summary-valid {
    display: none;
}

.top-buffer-5 {
    margin-top: 5px;
}

.top-buffer-10 {
    margin-top: 10px;
}

.top-buffer-15 {
    margin-top: 15px;
}

.top-buffer-30 {
    margin-top: 30px;
}

.halfsize {
    -moz-transform:scale(0.5);
    -webkit-transform:scale(0.5);
    transform:scale(0.5);
}

/* Skip to main content link - hidden above viewport, slides in on focus */
.skip-link {
    position: fixed;
    top: -5rem;
    left: 3px;
    background: #337ab7;
    color: white;
    padding: 1rem 2rem;
    z-index: 10000;
    font-size: 1.25rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: .5rem;
    transition: top 0.15s ease;
}

.skip-link:focus {
    top: 3px;
    color: white;
    text-decoration: none;
}

/* Allow main to receive programmatic focus from skip link with a Bootstrap-style outline */
:focus {
    outline: 5px solid #66afe9 !important;
    border-radius: 5px !important;
}

/* Button-reset dropdown items that match Bootstrap 3 <li><a> appearance exactly.
   Used in place of <a href="#"> for JS-only dropdown actions (WCAG 4.1.2). */
.dropdown-menu > li > button.dropdown-item-btn {
    display: block;
    width: 100%;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 1.42857143;
    color: #333333;
    white-space: nowrap;
    background: none;
    border: 0;
    text-align: left;
    cursor: pointer;
    font-size: 14px;
}

.dropdown-menu > li > button.dropdown-item-btn:hover,
.dropdown-menu > li > button.dropdown-item-btn:focus {
    color: #262626;
    text-decoration: none;
    background-color: #f5f5f5;
}
