﻿* {
    box-sizing: border-box;
}

html, body {
    min-height: 100%;
}

body {
    padding-bottom: 50px;
}

#siteContent {
    padding-bottom: 1rem;
}

#siteHeader {
    margin-bottom: 0;
    z-index: 3;
}

#siteFooter {
    height: 50px;
    /*stay above select2 dropdowns*/
    z-index: 1100;
}

.select2-container--default .select2-results__option[aria-disabled=true] {
    display: none;
}

.visually-hidden,
.visually-hidden-focusable:not(:focus):not(:focus-within) {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.styled-table {
    border-collapse: collapse;
    margin: 1.5625rem 0;
    font-family: sans-serif;
    min-width: 25rem;
    box-shadow: 0 0 1.25rem rgba(0, 0, 0, 0.15);
    caption-side: bottom;
}

.styled-table thead tr {
    background-color: #009879;
    color: #fff;
    text-align: left;
}

.styled-table th,
.styled-table td {
    padding: 0.75rem 0.9375rem;
}

.styled-table tbody tr {
    border-bottom: thin solid #ddd;
}

.styled-table tbody tr:nth-child(even) {
    background-color: #f3f3f3;
}

.styled-table tbody tr:last-of-type {
    border-bottom: thin solid #009879;
}

.label-required {
    border-width: 2px;
    border-color: #a94442;
}

.label-success {
    border-width: 2px;
    border-color: #3e8f3e;
}

.input-success {
    border: 1px solid #3e8f3e;
}

/* jquery validation */
.input-validation-error {
    border-color: #a94442;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}

.input-validation-error ~ .select2 .select2-selection {
    border: 1px solid #a94442;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}

/* Wrap the long text in tooltips */
.popover-content {
    word-wrap: break-word;
}
