﻿body {
    padding-top: 30px;
    padding-bottom: 20px;
    
}


@media print {
    body {
        padding-top: 0px;
        padding-bottom: 0px;
    }

    .tab-content > .tab-pane {
        display: block;
    }
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

h1, .h1, h2, .h2, h3, .h3 {
    margin-top: 5px;
    margin-bottom: 5px;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input,
select,
textarea {
    max-width: 880px;
}

.input-number {
    width: 80px;
}

.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
    padding: 2px;    
    font-size: calc( 11px + (13 - 11) * ( (100vw - 200px) / ( 1200 - 200) ));
}

.panel-heading {
    padding: 3px 7px;
    border-bottom: 1px solid transparent;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.well {
    min-height: 20px;
    padding: 8px;
    margin-bottom: 20px;
    background-color: #f5f5f5;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
}

th {

    background-color: #EEE;
}

.highlight-tr > td, .highlight-tr > th {
  background-color: ActiveCaption;  
}

.slim-tr > td, .slim-tr > th {
    padding: 0px 0px 0px 4px !important;
}

/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"]
{
    width: 100%;
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
  /* Hide captions */
  .carousel-caption {
    display: none
  }
}

.footer {
    padding: 7px;
    border-top: 1px solid #A5A5A5;
    font-size: 0.80em;
    /* Set the fixed height of the footer here */
    height: 30px;
    background-color: #d4ddee;
}

.text-muted {
    color: #7e99cc;
}


.fa-2x {
    font-size: 1.5em;
}

.fa-15x {
    font-size: 1.18em;
}

.punchbutton {
    height: 100px;  
}

.punchbutton a {
    padding-top: 20px;
    font-size: 2.8em;
    text-align: center;
    vertical-align: middle;
}

.green {
    color: green;
}

.red {
    color:red;
}

.yellow {
    color:gold;
}

.progress-bar {
    color: black;
}

.progress {
    margin-bottom: 0px;
}

.margin-bottom-sm
{
    margin-bottom: 4px;
}

.width-small
{
    width: 40px;
}

.width-medium
{
    width: 200px;
}

.messageReceived {
    color: lightgreen !important;
    text-shadow: 1px 1px 3px #39d259;
}

.messageReceived > span {
    color: lightgreen !important;
    background-color: darkgreen  !important;

}

.btn-fill {
    padding: 5px 5px;
    font-size: 32px;
    width: 100%;
    height: 100%;
    -webkit-border-radius: 8px;
       -moz-border-radius: 8px;
            border-radius: 8px;
}

.navigatorButton {
    margin-right: 0px;
    margin-left: 5px;
    height: 27px;
    padding-top: 3px;
}

.navigator {
    padding: 5px;
    margin-bottom: 3px;
}

.navbar {
    margin-bottom: 0px;
    background-color: #1f355e !important;
}

.navbar-nav > li {
    margin-right: 10px;
}

.navbar-inverse .navbar-nav > li > a {
    color: gainsboro;
    text-align: left;
    padding: 15px 4px;
    /*text-decoration: underline;*/
}

#navigatorContainer {
    background-color: #d4ddee;
    border-radius: 0px;
}

#navigatorContainer > div > div > .btn-primary {
    color: #fff;
    background-color: #1f355e;
    border-color: #1f355e;
}

.form-group {
    margin-bottom: 6px;
}

.form-control {
    height: 28px;
    padding-top: 2px;
    padding-bottom: 2px;
}

.btn-small-height {
    height: 22px;
    padding-top: 0px;
}

.btn-medium-height {
    height: 26px;
    padding-top: 2px;
}

.boxsizingBorder {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}


.modal-header {
    background-color: lightgray;
    font-weight: bold;
}

.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
    color: #555;
    cursor: default;
    border: 1px solid #DDD;
    border-bottom-color: transparent;
    font-weight: bold;
    text-shadow: 1px 1px 2px #ccc;
    text-decoration: underline;
}

.nav-tabs > li > a {
    margin-right: 2px;
    line-height: 1.42857143;
    border: 1px solid lightgrey;
    margin: 0px 4px 0px 4px;
    font-weight: bold;
    padding: 6px 7px;
}

.hmnotification {
    margin-top: 40px;
    box-shadow: 2px 2px 15px black;
}

.hmnotification div {
    background-color: #222;
    color: white;
    text-shadow: 1px 1px 20px #fffdda;
}     

.hmnotificationerror {
    margin-top: 40px;
    box-shadow: 2px 2px 15px #761414;
}

.hmnotificationerror div {
    background-color: #dc7b7b;
    color:  #600404;
    font-weight: bold;

}    


.table-nonfluid {
   width: auto !important;
}

.table-nonfluid > tbody > tr > th, .table-nonfluid > tbody > tr > td {
   padding-left: 10px;
   padding-right: 10px;
}

table {
    margin-bottom: 0px !important;
}

.dataTables_length, .dataTables_filter {
    display:inline-block;

}

.dataTables_wrapper div {
    display: inline-block;
    margin-left: 5px;
    font-size: 12px;
}

.dataTables_paginate {
    margin: 0;
    white-space: nowrap;
    text-align: right;
    margin-top: -35px;
}

div.dataTables_wrapper div.dataTables_paginate {
    margin: 0;
    white-space: nowrap;
    text-align: right;
    position: relative;
    float: right;
}

.activeFilter {
    background-color: orange;
}

.inline-span-etc{
    display:inline-block;
    width:192px;
    white-space: nowrap;
    overflow:hidden !important;
    text-overflow: ellipsis;
}

.trSelected > td, .trSelected > th {
    background-color: bisque;
}

.tree li {
    margin: 0px 0;
    list-style-type: none;
    position: relative;
    padding: 7px 5px 0px 5px;
}

.tree li::before{
    content: '';
	position: absolute; 
    top: 0;
	width: 1px; 
    height: 100%;
	right: auto; 
    left: -20px;
	border-left: 1px solid #ccc;
    bottom: 50px;
}
.tree li::after{
    content: '';
	position: absolute; 
    top: 30px; 
	width: 25px; 
    height: 20px;
	right: auto; 
    left: -20px;
	border-top: 1px solid #ccc;
}
.tree li a {
    display: inline-block;
    border: 1px solid #ccc;
    padding: 3px 8px;
    text-decoration: none;
    border-radius: 5px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 5px;
}

/*Remove connectors before root*/
.tree > ul > li::before, .tree > ul > li::after{
	border: 0;
}
/*Remove connectors after last child*/
.tree li:last-child::before{ 
      height: 30px;
}

/*Time for some hover effects*/
/*We will apply the hover effect the the lineage of the element also*/
.tree li a:hover, .tree li a:hover+ul li a {
	background: #c8e4f8; color: #000; border: 1px solid #94a0b4;
}
/*Connector styles on hover*/
.tree li a:hover+ul li::after, 
.tree li a:hover+ul li::before, 
.tree li a:hover+ul::before, 
.tree li a:hover+ul ul::before{
	border-color:  #94a0b4;
}

 .modal.fade .modal-dialog {
      -webkit-transform: translate(0, 0);
      -ms-transform: translate(0, 0); 
          transform: translate(0, 0);
 }

 .largeModalDialog > div {
     width: 95% !important;
 }

.btn-pil {
    color: #1f355e;
    border-color: #1f355e;
    background-color: lightgreen;
    text-shadow: none;
    padding: 5px;
    border-radius: 10px;
}

.btn-pil:hover {
    background-color: #fff;
    text-decoration: none;
}

.tooltip-pil {
    display: inline;
    color: #ff8300;

}

.alert-pil {
    color: #1f355e;
    width:100%;
    font-size: 14px;
    display: inline-block;
    padding: 5px;
    -webkit-box-shadow: 7px 10px 21px -10px rgba(0,0,0,0.75);
    -moz-box-shadow: 7px 10px 21px -10px rgba(0,0,0,0.75);
    background: rgb(236,255,233);
    background: linear-gradient(172deg, rgba(236,255,233,1) 0%, rgba(204,255,190,1) 86%, rgba(235,255,227,1) 100%);
}

.alert-pil > h3 > i, .alert-pil > i {
    color: #ff8300;
    text-shadow: 0px 0px 52px #ff8300;
}

.va-notifications {
    list-style: none;
    list-style-type: none;
    padding: 0px;
    margin: 1px;
}

.va-notifications-element {

}

.va-notifications-element > table {
    width:100%;
    /*border: 1px solid gray;*/
}

.va-notifications-element > table > tbody > tr > td {
    vertical-align: top;
}

.va-notifications-content {

}

.va-notifications-title {
    font-size: 14px;
    text-decoration: underline;
    font-weight: bold;
    text-shadow: 1px 1px 1px #ffb566;
}

.tooltipster-sidetip.tooltipster-noir.va-notifications-tooltip .tooltipster-box {
    background: white;
    border: 1px solid #ff8300;
    border-radius: 4px;
    box-shadow: 3px 3px 3px 0px lightgrey;
    margin-top: 9px;
    margin-right: 5px;
}

.tooltipster-sidetip.tooltipster-noir.va-notifications-tooltip .tooltipster-content {
    color: #1f355e;
    padding: 0px;
}

.tooltipster-sidetip.tooltipster-noir.va-notifications-tooltip .tooltipster-content > i {
    color: #ff8300;
    text-shadow: 0px 0px 52px #ff8300;
}


.tooltipster-sidetip.tooltipster-noir.tooltipster-bottom .tooltipster-arrow-background {
    border-bottom-color: #ff8300;
}

.tooltipster-sidetip.tooltipster-noir.tooltipster-left .tooltipster-arrow-background {
    border-left-color: #ff8300;
}

.tooltipster-sidetip.tooltipster-noir.tooltipster-right .tooltipster-arrow-background {
    border-right-color: #ff8300;
}

.tooltipster-sidetip.tooltipster-noir.tooltipster-top .tooltipster-arrow-background {
    border-top-color: #ff8300;
}

.tooltipster-sidetip.tooltipster-noir.tooltipster-noir-pil .tooltipster-box {
    background: #eee;
    border: 1px solid #ff8300;
    border-radius: 4px;
    box-shadow: 0px 0px 3px 3px #ff8300;
}

.tooltipster-sidetip.tooltipster-noir.tooltipster-noir-pil .tooltipster-content {
    color: #1f355e;
    padding: 10px;
}

    .tooltipster-sidetip.tooltipster-noir.tooltipster-noir-pil .tooltipster-content > i {
        color: #ff8300;
        text-shadow: 0px 0px 52px #ff8300;
    }


.tooltipster-sidetip.tooltipster-noir.tooltipster-bottom .tooltipster-arrow-background {
    border-bottom-color: #ff8300;
}

.tooltipster-sidetip.tooltipster-noir.tooltipster-left .tooltipster-arrow-background {
    border-left-color: #ff8300;
}

.tooltipster-sidetip.tooltipster-noir.tooltipster-right .tooltipster-arrow-background {
    border-right-color: #ff8300;
}

.tooltipster-sidetip.tooltipster-noir.tooltipster-top .tooltipster-arrow-background {
    border-top-color: #ff8300;
}

.avatar {
    position: relative;
}

.avatar img {
    z-index: 2;
}

@keyframes pulse {
    to {
        opacity: 0;
        transform: scale(1);
    }
}

.avatar::before,
.avatar::after {
    animation: pulse 1s ease infinite;
    border: #ff8300 solid 4px;
    border-radius: 9999px;
    box-sizing: border-box;
    content: ' ';
    height: 140%;
    left: -20%;
    opacity: .6;
    position: absolute;
    top: -20%;
    transform: scale(0.714);
    width: 140%;
    z-index: 1;
}

.avatar::after {
    animation-delay: 1s;
}

/*.avatar:hover img {
        content: url('http://s.blixt.org/hypnotoad.jpg');
    }*/

.avatar:hover::before,
.avatar:hover::after {
    animation: pulse 2s ease infinite;
    border: green solid 4px;
    border-radius: 9999px;
    box-sizing: border-box;
    content: ' ';
    height: 140%;
    left: -20%;
    opacity: .6;
    position: absolute;
    top: -20%;
    transform: scale(0.714);
    width: 140%;
    z-index: 1;
}

.avatar:hover::after {
    animation-delay: .5s;
}