body{
	padding-top: 70px;	
}
header {
	margin-bottom:30px;
}
.clear {
	clear: both;
}

a.spec-link {
	background: url('/images/triang-8.png') 2px no-repeat;
	padding-left: 18px;
	font: bold 14px Helvetica;
	color: black;
	text-decoration: none;
}

a.spec-link.larger {
	background: url('/images/triang-8.png') 2px no-repeat;
	padding-left: 32px;
	padding-top : 5px;
	padding-bottom : 5px;
}

.spec-link:hover {
	color : orange;
}

.pager .next>a, .pager .next>span {
	float:none;
}

.pager .previous>a, .pager .previous>span {
	float: none; 
}

#topmenu {
	z-index: 999999;
	box-shadow: #ddd 1px 1px 3px;
}

.navbar-brand {
	padding-top: 8px;
}

.navbar-nav > li > a {
    padding: 8px 12px;
    margin: 12px 6px;
    border: 1px solid transparent;
    border-radius: 4px;
}
.navbar-nav > li > a:hover {
    border: 1px solid #ddd;
}
.navbar-nav > .active > a,
.navbar-nav > .active > a:hover {
    border: 1px solid #ddd;
}

tr.grid-filter input, tr.grid-filter select {
	display: block;
	width: 100%;
	height: 34px;
	padding: 6px 12px;
	font-size: 14px;
	line-height: 1.42857143;
	color: #555;
	background-color: #fff;
	background-image: none;
	border: 1px solid #ccc;
	border-radius: 4px;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
	box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
	-webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
	-o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
	transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

.grid-view-loading
{
	background:url(loading.gif) no-repeat;
}

.grid-view th a.asc
{
	background:url(up.gif) right center no-repeat;
	padding-right: 10px;
}

.grid-view th a.desc
{
	background:url(down.gif) right center no-repeat;
	padding-right: 10px;
}

.table-names td {
    vertical-align: middle !important;
}

/*.table-names tr.warning, .table-names tr.warning td {
    background-color: orange !important;
}*/

.errorSummary {
  background: pink;
  padding: 10px;
  color: red;
  margin-bottom: 10px;
  border-radius: 4px;
}

.form-group input.error {
  border-color: #a94442;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
}

.table-results td {
    cursor: pointer;
}

.tab-pane-content {
	border-left: 1px solid #DDD;
	border-right: 1px solid #DDD;
	border-bottom: 1px solid #DDD;
}

.navbar-default .navbar-icons > li > a {
	font-size: 24px;
    /*color: #000;*/
}

@media (min-width: 768px) {
	.navbar-default .navbar-icons .navbar-label {
		display: none;
	}
}

.navbar-default .navbar-icons .navbar-label {
	margin-left: 10px;
}

input[type="radio"], input[type="checkbox"] {
	margin-right:4px;
}

.toast {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    min-width: 10vw;
    margin-bottom: 0.75em;
    padding: 0.75em 1em;
    border-radius: 0.5rem;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.toast.in-view {
    opacity: 1;
}

#toast-container {
    position: fixed; 
    top: 10vh; 
    right: 1vw; 
    z-index: 9999; 
    max-width: 25vw;
}

@media (max-width: 768px) {
    #toast-container {
        max-width: 35vw;
    }
}

.checklist-wrap {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 999;
    white-space: nowrap;
}

.checklist-btn {
    display: inline-block;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #ff7a00;
    color: #fff;
    text-decoration: none;
    text-align: center;
    line-height: 56px;
    box-shadow: 0 6px 16px rgba(0,0,0,.25);
    transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}

.checklist-btn .glyphicon{
    font-size: 22px;
    vertical-align: middle;
    line-height: 1;
}

.checklist-count {
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.5em;

  min-width: 28px;
  height: 28px;
  padding: 0 10px;

  border-radius: 999px;
  background: #222;
  color: #fff;

  font-size: 13px;
  font-weight: 700;
  line-height: 28px;
  text-align: center;

  box-shadow: 0 4px 12px rgba(0,0,0,.20);

  user-select: none;
}

/* Hover/active states */
.checklist-btn:hover{
    background: #ff8a1a;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0,0,0,.28);
}

.checklist-btn:active{
    transform: translateY(0);
    box-shadow: 0 5px 14px rgba(0,0,0,.22);
}

/* Keyboard accessibility */
.checklist-btn:focus{
    outline: none;
}

.checklist-btn:focus-visible{
    outline: 3px solid rgba(255,255,255,.85);
    outline-offset: 3px;
}

/* Optional: iOS safe area support */
@supports (bottom: env(safe-area-inset-bottom)){
    .checklist-btn{
        bottom: calc(20px + env(safe-area-inset-bottom));
        left: calc(20px + env(safe-area-inset-left));
    }
}

.checklist-modal-body-container {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.checklist-modal-body-container label {
    flex-grow: 1;
    padding-top: 1em;
    padding-bottom: 1em;
    position: relative;
    display: block;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.checklist-modal-body-container span {
    display: block;
    padding-left: 3em;
}

@media (max-width: 768px) {
    .checklist-modal-body-container span {
        padding-left: 4em;
    }
}

.checklist-modal-body-container input[type="checkbox"] {
    position: absolute;
    left: 0.1em;
    top: 50%;
    transform: translateY(-50%) scale(3);
    -webkit-transform: translateY(-50%) scale(3);
    transform-origin: left center;
    margin: 0;
}

.checklist-modal-body-container h5 {
    font-size: 16px;
    font-weight: 800;
    text-decoration: underline;
}

.checklist-metadata {
    font-style: italic !important;
}
