﻿html {
    position: relative;
    height: 100%;
}

body {
    height: 100%;
    padding-bottom: 20px;
    font-family: 'Ubuntu', sans-serif;
    background-color: #1798c1;
    font-size: 12px;
}

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    height: 20px;
    color: #FFF;
    background-color: #1798c1;
    z-index: 1001;
}

label {
    font-size: 10px;
    margin-bottom: 0;
    font-weight: normal;
}

h4 {
    color: #14ccb0;
}

.alert {
    margin-bottom: 5px;
}

.radio label, .checkbox label,
.radio-inline, .checkbox-inline {
    font-size: 90%;
}

input[type="radio"], input[type="checkbox"] {
    margin: 2px 0 0;
}

.team-dash {
    max-height: 200px; 
    overflow: auto
}

.team-dash-sm-box {
    text-align: center;
}

.texts {
    width: 50%;
    clear: both;
    padding: 10px;
    /* Safari 3-4, iOS 1-3.2, Android 1.6- */
    -webkit-border-radius: 12px;
    /* Firefox 1-3.6 */
    -moz-border-radius: 12px;   
    /* Opera 10.5, IE 9, Safari 5, Chrome, Firefox 4, iOS 4, Android 2.1+ */
    border-radius: 12px; 
}

.text-failed {
    float: left;
    background-color: lightcoral;   
}

.text-success {
    float: left;
    background-color: lightgreen;
}

.text-inbound {
    float: right;
    background-color: lightblue;
}

.text-queued {
    float: left;
    background-color: lightgrey;
}

.form-group {
    margin-bottom: 5px;
}

.pending {
    background-color: #FFA500;
}

.attention {
    background-color: #ffff33;
}

.money {
    background-color: #526F35;
}

.textdanger {
    color: #F00;
}

.mailed {
    background-color: #337ab7; 
}

.draft {
    background-color: #1798c1;
}

.paidFacility {
    background-color: orange; 
    color: #FFF;
}

.nav-tabs {
    margin-bottom: 20px;
}

.login {
    padding-top: 50px;
}

.login .panel-body {
    padding: 30px 15px;
}

.application-content,
.application-content-full {
    padding-top: 120px;
}

.nav-cimi {    
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #FFF;
    z-index: 1000;   
    height: 50px;
    border-bottom: 1px solid #DDD;
}

    
.nav-cimi .nav-cimi-logo {
    position: absolute;
    background-color: #FFF;
    height: inherit;
    width: 70px; 
    left: 0; 
    top: 0;
    padding: 15px 0;
    text-align: center;
}

.nav-cimi .nav-cimi-logo > a {    
    color: #14ccb0;
}

.nav-cimi .nav-cimi-logo > a:focus
.nav-cimi .nav-cimi-logo > a:hover {    
    text-decoration: none;
}

.nav-cimi .nav-cimi-bar {
    position: fixed;
    background-color: #FFF;
    top: 50px;
    left: 0;
    margin: 0;
    width: 100%;
    overflow: auto;
}

.nav-cimi .nav-cimi-logout {
   position: absolute; 
   background-color: #FFF;
   color: #14ccb0;
   right: 0; 
   top:0; 
   width: 50px; 
   text-align: center;
   padding: 15px 0;
}

.nav-cimi .nav-cimi-logout > a {
    color: #14ccb0;
}

.nav-cimi .nav-cimi-bar ul {
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

    .nav-cimi .nav-cimi-bar ul > li {
        display: table-cell;
        width: 1%;
    }

    .nav-cimi .nav-cimi-bar ul li > a {
        margin-bottom: 0;
        display: block;
        padding: 15px 0;
        margin: 0 auto;
        color: #9d9d9d;
        text-align: center;
        min-width: 60px;
    }

    .nav-cimi .nav-cimi-bar ul li > a:focus,
    .nav-cimi .nav-cimi-bar ul li > a:hover {
        background-color: #ddd;    
        color: #FFF;
        text-decoration: none;
    }

    .nav-cimi .nav-cimi-bar ul li > a span {
        display: table;
        margin: 0 auto;
        white-space: nowrap;
        padding: 0 10px;
    }
    
    .nav-cimi .nav-cimi-bar ul li > a span.nav-cimi-label {
        margin-top: 3px;
        font-size: 10px;
    }

    .nav-cimi .nav-cimi-bar ul li.active {
        background-color: #ddd;    
    }
    
    .nav-cimi .nav-cimi-bar ul li.active > a {
        background-color: #ddd;    
        color: #777;
    }

    .nav-cimi .nav-cimi-bar ul li.active > a:focus,
    .nav-cimi .nav-cimi-bar ul li.active > a:hover {
        background-color: #777;    
        color: #FFF;
    }

#team-case-list {
    height: 300px;
    overflow: auto;
}

#team-task-list {
    height: 300px;
    overflow: auto;
}

#team-patient-list {
    max-height:300px; 
    overflow: auto;
}

th {
    font-size: 80%;
}

.facility-map {
    height: 500px;
}  

@media (min-width: 768px) {     
    .facility-map {
        height: 100%;
    }  

    .application-content,
    .application-content-full {
        padding-top: 70px; 
        margin-left: 0;
    } 

    .nav-cimi .nav-cimi-bar {
        position: relative; 
        background-color: #FFF;
        top: 0;
        width: unset;
        background-color: inherit;
        margin-left: 70px; 
        margin-right: 50px; 
        overflow: auto; 
    }

    .application-content-full,
    .application-content-full > .container-fluid,
    .application-content-full > .container-fluid > .app,
    .application-content-full > .container-fluid > .app > .row,
    .application-content-full > .container-fluid > .app > .row > .col-md-12,
    .application-content-full > .container-fluid > .app > .row > .col-md-12 > .panel,
    .application-content-full > .container-fluid > .app > .row > .col-md-12 > .panel > .panel-body,
    .application-content-full > .container-fluid > .app > .row > .col-md-5,
    .application-content-full > .container-fluid > .app > .row > .col-md-5 > .panel,
    .application-content-full > .container-fluid > .app > .row > .col-md-5 > .panel > .panel-body,
    .application-content-full > .container-fluid > .app > .row > .col-md-3,
    .application-content-full > .container-fluid > .app > .row > .col-md-3 > .panel,
    .application-content-full > .container-fluid > .app > .row > .col-md-3 > .panel > .panel-body {
        height: 100%;
    }

    .application-content-full > .container-fluid > .app > .row > .col-md-12 > .panel,
    .application-content-full > .container-fluid > .app > .row > .col-md-5 > .panel,
    .application-content-full > .container-fluid > .app > .row > .col-md-3 > .panel {
        height: 100%;
        margin: 0;
    }
    
    .application-content-full > .container-fluid > .app > .row > .col-md-12 > .panel > .panel-body,
    .application-content-full > .container-fluid > .app > .row > .col-md-5 > .panel > .panel-body,
    .application-content-full > .container-fluid > .app > .row > .col-md-3 > .panel > .panel-body {
        height: calc(100% - 60px);
    }

    .application-content-full > .container-fluid > .app > .row > .col-md-12 > .panel > .panel-body.minimal-panel-body,
    .application-content-full > .container-fluid > .app > .row > .col-md-5 > .panel > .panel-body.minimal-panel-body,
    .application-content-full > .container-fluid > .app > .row > .col-md-3 > .panel > .panel-body.minimal-panel-body {
        height: calc(100% - 95px);
    }


    .application-content-full > .container-fluid > .app > .row > .col-md-12 > .panel > .panel-body > .table-responsive,
    .application-content-full > .container-fluid > .app > .row > .col-md-5 > .panel > .panel-body > .table-responsive,
    .application-content-full > .container-fluid > .app > .row > .col-md-3 > .panel > .panel-body > .table-responsive {
        overflow: auto;
        height: calc(100% - 25px);
    }

    .application-content-full table {
        margin-bottom: 0;
    }

    #team-case-list {
        overflow: auto;
        height: calc(100% - 5px);
    }

    #team-task-list {
        overflow: auto;
        height: calc(100% - 10px);
    }

    #team-task-list-small {
        overflow: auto;
        height: calc(100% - 325px);
    }

    #team-patient-list {
        max-height: 300px; 
        overflow: auto;
    }

}

.panel-overflow {
    height: unset;
}

.dash-panel {
    max-height: 300px;
    overflow: auto;
}

.ghostAccount {
    background-color: #FFFF99;
}

table tbody tr {
    cursor: pointer;
}

.dropdown.dropdown-scroll .dropdown-menu {
    max-height: 700px;
    overflow: auto;
}
.search-control {
    padding: 5px 10px;
}

.btn:focus, .btn:active {
  outline: none !important;
  box-shadow: none !important;
}

.attorneyModal .modal-dialog {
    width: 1100px;
}

.form-control {
	height: 31px; 
	font-size: 12px;
}

.row {
    margin-right: -3px;
    margin-left: -3px;
}

.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, 
.col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, 
.col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, 
.col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
    padding-right: 3px;
    padding-left: 3px;
}

.btn {
	font-size: 12px;
}

.panel {
	margin-bottom: 5px;
}

#blink_me {
  -webkit-animation: bgcolorchange 2s infinite;
  animation: 2s infinite bgcolorchange;
}
@keyframes bgcolorchange {
  0% {
    color: red;
    font-weight: bolder;
    font-size: 12px;
  }
  50% {
    color: black;
    font-weight: bold;
    font-size: 10px;
  }
  100% {
    color: red;
    font-weight: bolder;
    font-size: 12px;
  }
}

.glyphicon.glyphicon-earphone {
    font-size: 15px;
    color: #1798c1;
}

#triangule {
    position: absolute;
    top: 50%;
    right: 25px;
    margin-top: -10px;
    text-decoration: none;
}

.yellow {
    background-color: yellow;
}

select.btn-mini {
    height: auto;
    line-height: 14px;
    width: 80px;
    border-color: gray;
}

select.btn-mini + .caret, select.btn-medium + .caret {
    margin-left: -15px;
    margin-top: 9px;
}

select.btn-medium {
    height: auto;
    line-height: 14px;
    width: 200px;
    margin-left: 10px;
    border-color: gray;
}

select.btn {
    -webkit-appearance: button;
    -moz-appearance: button;
    padding-right: 16px;
}

.autocomplete {
  /*the container must be positioned relative:*/
  position: relative;
  display: inline-block;
}

.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  /*position the autocomplete items to be the same width as the container:*/
  top: 100%;
  left: 0;
  right: 0;
}
.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: #fff; 
  border-bottom: 1px solid #d4d4d4; 
}
.autocomplete-items div:hover {
  /*when hovering an item:*/
  background-color: #e9e9e9; 
}
.autocomplete-active {
  /*when navigating through the items using the arrow keys:*/
  background-color: DodgerBlue !important; 
  color: #ffffff; 
}