﻿/**.will-be-required label, */
.will-be-required label:after {
    color: #339933;
    content: ' \203B';
}

/** boot strap override for alert dialog**/
.alert-warning {
    color: #C27D06;
    background-color: #FAF3A0;
    border: 1px solid #FDC963;
}
/**
    Page styles
    **/
/* override bootstap default width */
.container {
    width: auto;
    margin-left: 20px;
    margin-right: 20px;
    padding-left: 0;
    padding-right: 0;
}

.navbar-inner {
    padding: 0;
}

.menu-container {
    margin-left: 20px;
    margin-right: 20px;
}

/** THERE IS A corresponding css style in arv.css but limited to td.text-error 
    this is here for a more general text error **/
.text-danger {
    color: #Af2D2D;
}

.text-danger-bright {
    color: #f30c0c;
}

/**
    Hospital search styles 
    **/
.filteredCampusList .panel-group-group {
    border: 0;
}
/** 
    End hospital search styles
    **/
/**
    Form Styles
    **/

a.inactive-link, a.inactive-link:hover {
    color: #666666;
    cursor: default;
}

hr {
    border-top: 1px solid #dddddd;
    border-bottom: 0;
    margin: 8px 0;
}

    hr.visible-break {
        border-top: 2px solid #dddddd;
    }



.arvis-form-header {
    padding: 0;
    border-bottom: 1px solid #CCCCCC;
    margin-bottom: 15px;
}


*:focus {
    outline: none !important;
}

input:focus, textarea:focus, select:focus {
    background-color: #ecf7ff;
}

.btn btn-default {
    text-shadow: none;
}

    .btn btn-default:focus {
        border-color: rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.65) !important;
        -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(0, 0, 0, 0.6);
        -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(0, 0, 0, 0.6);
        box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(0, 0, 0, 0.6);
    }

.wideTextArea {
    width: 100%;
}

.wideTextArea98 {
    width: 98%;
}



.modal form {
    margin: 0;
}
/* used for patient referrals */
.wide-modal {
    width: 1000px !important;
    margin-left: -500px !important;
}

.popover {
    color: #333333;
}

label input[type="checkbox"] {
    margin: 0 4px 2px 0;
}

label {
    margin-bottom: 2px;
}

.bordered {
    font-size: 1.1em;
    font-weight: bold;
    border-bottom: 1px solid #d6d6d6;
    margin-bottom: 6px;
    margin-top: 4px;
    color: #3a87ad;
}

.sub-heading {
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 6px;
    margin-top: 4px;
    color: #3a87ad;
}

.subHeadingChild {
    margin-top: 4px;
}

.table-hover tbody tr:hover > td, .table-hover tbody tr:hover > th {
    background-color: #c0c0c0;
}

.warning input:not([type=button]) {
    border-color: orange;
    border-width: 1px;
    background-color: #fce0c8;
}

/** side menu **/
.form-menu {
    overflow-y: auto;
    position: fixed;
    top: 165px;
    bottom: 30px;
    padding: 5px;
}

.form-menu-extended {
    top: 196px;
}

.nav-list.fixed-nav {
    position: fixed;
    /*NOTE don't specify left, top */
    margin-left: 10px;
    margin-top: 10px;
}

.affix {
    /* this is for 1280wide screens to keep the affixed menu from overlapping the form.*/
    max-width: 201px;
}

/** this gives us fixed margin under the affix side menus **/
.affix-margin {
    margin-left: 215px;
}

.affix.form-menu {
    margin-top: 5px;
}

.nav-list > li > a, .nav-list > li > div > div > a, .nav-list .nav-header {
    margin: 0;
    padding-top: 2px;
    padding-bottom: 2px;
}

.nav-tabs.nav-stacked > li > a:hover, .nav-tabs.nav-stacked > li > a:focus {
    background-color: #cccccc;
    border-color: #aaaaaa;
}

.nav-tabs.nav-stacked > li > a:hover, .nav-tabs.nav-stacked > li > a {
    background-color: #eeeeee;
    border-color: #cccccc;
    margin: 0;
    padding-top: 2px;
    padding-bottom: 2px;
}

.nav-tabs.nav-stacked {
    margin-bottom: 10px;
}

label > input[type="radio"] {
    margin-top: 0;
    margin-left: 5px;
}



/** end side menus **/
.secondary-header {
    color: #435ba0;
}

form.submitted .ng-invalid,
input.ng-dirty.ng-invalid,
textarea.ng-dirty.ng-invalid {
    border-color: #e9322d;
    -webkit-box-shadow: 0 0 6px #f8b9b7;
    -moz-box-shadow: 0 0 6px #f8b9b7;
    box-shadow: 0 0 6px #f8b9b7;
}

input:focus:invalid:focus, textarea:focus:invalid:focus, select:focus:invalid:focus {
    border-color: #e9322d;
    -webkit-box-shadow: 0 0 6px #f8b9b7;
    -moz-box-shadow: 0 0 6px #f8b9b7;
    box-shadow: 0 0 6px #f8b9b7;
}

/** button/input styles**/
.button-margin {
    margin-top: 25px;
    margin-left: 10px;
}

.button-margin-top {
    margin-top: 1.4em;
}

.text-vertical-align-top {
    vertical-align: top;
}

.button-margin-bottom {
    margin-bottom: 10px;
}

.input-group input:nth-child(n+2) {
    -webkit-border-radius: 0 0 0 0;
    -moz-border-radius: 0 0 0 0;
    border-radius: 0 0 0 0;
    margin-left: -1px;
}

input[type="checkbox"].medium-right-margin,
.medium-right-margin {
    margin-right: 80px;
}
/* IE10 "clear text box" cross */
::-ms-clear {
    display: none;
}

/** transport leg matrix selected cells.**/
.cell-selected {
    background-color: lightskyblue;
}
/** end button/input styles **/


/**
    End Form Styles
    **/
.case-row button i, h2 {
    color: #d0d0d0;
}

.case-information {
    color: #e0e0e0;
    margin-left: 20px;
}


/** case infor for piper back transfers*/
.case-information.transfer-pending {
    border-left: 2px orange solid;
    padding-left: 20px;
    margin-left: 10px;
}

    .case-information.transfer-confirmed {
        border-left: 2px #339933 solid;
        padding-left: 20px;
        margin-left: 10px;
    }
.case-row.row {
    padding-top: 10px;
    padding-bottom: 10px;
    margin-left: 0;
    margin-right: 0;
}

    .case-row.row:nth-of-type(odd) {
        border-bottom: 1px solid #262626;
        border-top: 1px solid #262626;
        background-color: #404040;
    }

.case-information .row:nth-of-type(1) {
    height: 15px;
}

.case-information .row:nth-of-type(2) {
    height: 15px;
}

.case-information .row:nth-of-type(3) {
    height: 15px;
    line-height: 15px;
}

.case-row button {
    background-color: inherit;
    border: 0;
}

.case-row ul.tiles {
    margin-top: -10px;
    margin-bottom: 0px;
    margin-left: 0px;
}

.cases-dashboard .case-step > li.tile {
    display: block;
    cursor: pointer;
    -webkit-perspective: 0;
    -webkit-transform-style: preserve-3d;
    -webkit-transition: -webkit-transform 0.2s;
    float: left;
    width: 100px;
    height: 100px;
    text-align: center;
    padding: 5px;
    opacity: 0.75;
    background-color: #2e8bcc;
    margin-left: 0px;
    margin-right: 10px;
    margin-top: 10px;
    position: relative;
    display: table;
}

    .cases-dashboard .case-step > li.tile.tile-double {
        width: 200px;
    }

/** this and the next are for centering divs inside the <li>**/
.outerContainer {
    display: table;
    width: 100px; /* width of parent */
    height: 100px; /* height of parent */
    overflow: hidden;
}

.cases-dashboard .case-step > li.tile.tile-double .outerContainer {
    width: 160px; /* width of parent */
}


.outerContainer .innerContainer {
    display: table-cell;
    vertical-align: middle;
    width: 100%;
    margin: 0 auto;
    text-align: left;
    font-family: Verdana, Geneva, sans-serif;
    font-weight: lighter;
}

.innerContainer .ptName {
    font-size: 1.3em;
    text-transform: uppercase;
}

.case-row .ptName {
    font-size: 1.5em;
    text-transform: uppercase;
}

.innerContainer .refHospital, .case-row .refHospital {
    font-size: 1.2em;
    font-weight: lighter;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
/** end centering styles. **/


.popover {
    max-width: none;
}

/** end dl/popover overrides **/

.dashboard-screen-message {
    width: 50%;
    margin-left: 25%;
    text-align: center;
}


/** case tile information corners **/
.cases-dashboard .case-step > li.tile .top-left {
    position: absolute;
    top: 5px;
    left: 5px;
}

.cases-dashboard .case-step > li.tile .top-right {
    position: absolute;
    top: 5px;
    right: 5px;
}


.cases-dashboard .icon-2x {
    top: 10px;
    line-height: normal;
    font-size: 20px;
}

.cases-dashboard .case-step > li.tile .bottom-left {
    position: absolute;
    bottom: 5px;
    left: 5px;
}

.cases-dashboard .case-step > li.tile .bottom-right {
    position: absolute;
    bottom: 5px;
    right: 5px;
}


/*
 These styles are for patient referrals
 */
/*this is the container*/
.patientReferrals {
    margin-top: 0px;
    border-bottom: 1px solid #262626;
    border-top: 1px solid #262626;
    background-color: #404040;
    color: #999999;
}

.patientReferrals-fixed {
    padding-top: 12px;
    padding-left: 35px;
    z-index: 100;
    position: fixed;
    top: 40px;
    left: 0;
    width: 100%;
    min-height: 60px;
    max-height: 110px;
}

.patientReferrals-fixed .patientReferral {
    padding-left: 10px;
    padding-right: 10px;
    overflow: auto;
    max-height: 110px;
}

.patientReferrals-count-warning {
    background-color: #f30c0c;
}

.navbar-brand {
    display: block;
    float: left;
    padding-top: 10px;
}

.navbar-brand-font {
    font-size: 20px; 
    font-weight: 200;
}

.patientReferrals-rowed {
    padding-top: 13px; 
    padding-bottom: 13px;
}
    
.patientReferrals-row {
    padding: 0 40px 10px;
}


.patientReferrals-row .patientReferral {
    margin-bottom: 5px;
}

.patientReferral {
    background-color: #525252;
    border: 2px solid #525252;
    padding-left: 8px;
    padding-right: 5px;
    display: block;
    color: white;
}

    .patientReferral:hover {
        background-color: #666666;
        border-color: #666666;
        cursor: pointer;
    }

.patientReferrals .alert-level-Active {
    border-color: #339933;
}

.patientReferrals .alert-level-Risk {
    border-color: #e51400;
}

.patientReferrals .alert-level-Alert {
    border-color: #f09609;
}

.referral-form dt, .referral-form dl {
    margin-top: 0;
}

.patientReferrals .badge {
    vertical-align:middle;
    margin-top: -0.5em;
}

/*
  End patient referrals
 */

/** end case tile information corners **/
.case-step > li.tile,
.case-step > li.tile h2,
.case-step > li.tile h3,
.case-step > li.tile h4,
.case-step > li.tile h5,
.case-step > li.tile h6,
.case-step > li.tile span {
    color: #ffffff;
    -webkit-user-select: none;
}


.case-step button {
    background-color: transparent;
    border: 0;
    width: 100%;
}


.case-row div.tilesgroup {
    margin-top: 0px;
}

.case-step > li.tile:hover {
    opacity: 1;
}

.case-step > li.tile.tile-done, .case-step > li.tile.notification-level-Completed {
    background-color: #505050;
}
/*
    Information,
		Active,
		Alert,
		Risk,
		Completed
    Clear
    */

.case-step > li.tile.tile-blue, .case-step > li.tile.notification-level-Information {
    /* 2e8bcc*/
    background-color: #056800;
}

.case-step > li.tile.tile-blue, .case-step > li.tile.notification-level-InformationAcknowledged {
    /* 2e8bcc*/
    background-color: #4e6537;
    opacity: 0.5;
}

    .case-step > li.tile.notification-level-InformationAcknowledged:hover {
        opacity: 1;
    }

.case-step > li.tile.tile-green, .case-step > li.tile.notification-level-Active {
    background-color: #339933;
}

.case-step > li.tile.tile-red, .case-step > li.tile.notification-level-Risk {
    background-color: #e51400;
}

.case-step > li.tile.tile-red, .case-step > li.tile.notification-level-TimeCriticalRisk {
    background-color: #e51400;
    -webkit-animation-name: timeCriticalRiskAnimation;
    -webkit-animation-duration: 1s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: ease-in-out;

    -moz-animation-name: timeCriticalRiskAnimation;
    -moz-animation-duration: 1s;
    -moz-animation-iteration-count: infinite;
    -moz-animation-timing-function: ease-in-out;

    animation-name: timeCriticalRiskAnimation;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

@-webkit-keyframes timeCriticalRiskAnimation {
    0%   {background-color: #e51400; }
    50%  {background-color: #f09609; }
    100% {background-color: #e51400; }
}

@-moz-keyframes timeCriticalRiskAnimation {
    0%   {background-color: #e51400; }
    50%  {background-color: #f09609; }
    100% {background-color: #e51400; }
}
@keyframes timeCriticalRiskAnimation {
    0%   {background-color: #e51400; }
    50%  {background-color: #f09609; }
    100% {background-color: #e51400; }
}

.case-step > li.tile.tile-red, .case-step > li.tile.notification-level-TimeInformation {
    background-color: #1b0f7f;
    -webkit-animation-name: timeInformationAnimation;
    -webkit-animation-duration: 1s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: ease-in-out;
    -moz-animation-name: timeInformationAnimation;
    -moz-animation-duration: 1s;
    -moz-animation-iteration-count: infinite;
    -moz-animation-timing-function: ease-in-out;
    animation-name: timeInformationAnimation;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

@-webkit-keyframes timeInformationAnimation {
    0% {
        background-color: #1b0f7f;
    }

    50% {
        background-color: #3f32b1;
    }

    100% {
        background-color: #1b0f7f;
    }
}

@-moz-keyframes timeInformationAnimation {
    0% {
        background-color: #1b0f7f;
    }

    50% {
        background-color: #3f32b1;
    }

    100% {
        background-color: #1b0f7f;
    }
}

@keyframes timeInformationAnimation {
    0% {
        background-color: #1b0f7f;
    }

    50% {
        background-color: #3f32b1;
    }

    100% {
        background-color: #1b0f7f;
    }
}


.case-step > li.tile.tile-orange, .case-step > li.tile.notification-level-Alert {
    background-color: #f09609;
}

.case-step > li.tile.tile-red, .case-step > li.tile.notification-level-RiskAcknowledged {
    background-color: #845f5b;
    opacity: 0.5;
}

    .case-step > li.tile.notification-level-RiskAcknowledged:hover {
        opacity: 1;
    }

.case-step > li.tile.tile-yellow {
    background-color: #ffc40d;
}



.case-step > li.tile.notification-level-AlertAcknowledged {
    background-color: #816d54;
    opacity: 0.5;
}

    .case-step > li.tile.notification-level-AlertAcknowledged:hover {
        opacity: 1;
    }


input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

/** Notification popups **/
.popup-container {
    padding: 5px 15px;
}

/** Maintenance pages **/
.maintenance-menu {
    overflow-y: auto;
    position: fixed;
    top: 65px;
    bottom: 30px;
}

    .maintenance-menu .well {
        margin-bottom: 0px;
    }

/** Typeahead dropdown menu: add scroll bars **/

.typeahead.dropdown-menu {
    max-height: 300px;
    overflow-y: auto;
}

.typeahead.dropdown-menu-close {
    position: absolute;
    width: 10px;
    height: 20px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 5px 10px;
    cursor: pointer;
    margin-left: 4px;
}

.edit-form {
    padding-top: 5px;
}

.gcs-button {
    margin-bottom: 13px;
    margin-left: 7px;
}

@media print {
    @page {
        size: landscape;
    }

    .affix-margin {
        margin-left: 0;
    }

    .affix.form-menu {
        display: none;
    }

    .navbar-fixed-top {
        display: none;
    }

    .edit-form {
        padding-top: 0px;
    }

    .container .well {
        border: 0px;
    }

    button, .btn btn-default {
        display: none;
    }

    input[type="text"], input[type="number"], textarea, select {
        border: 0;
    }

    .row, .row, table, tr {
        page-break-inside: avoid;
    }
}

.multi-line {
    -ms-word-wrap: break-word;
    word-wrap: break-word;
    white-space: pre-wrap;
}

.controls-fixed {
    background-color: #000000;
    background-color: rgba(0, 0, 0, 0.1);
    bottom: 0;
    left: 0;
    padding: 10px 15px;
    position: fixed;
    top: auto;
    width: 100%;
}

.sticky-box {
    background-color: lightskyblue; 
    margin: 0; 
    position: fixed; 
    bottom: 0;
    right: 20px;
    
}

.sticky-box-transparent, .sticky-transparent{
    opacity: 0.8;
    -ms-opacity: 0.8;
    filter: alpha(opacity=80);
    -webkit-filter: alpha(opacity=80);
    -moz-filter: alpha(opacity=80);
    -o-filter: alpha(opacity=80);
}
.sticky-box-transparent:hover, .sticky-transparent:hover{
    
    opacity: 1;
    -ms-opacity: 1;
    filter: alpha(opacity=100);
    -webkit-filter: alpha(opacity=100);
    -moz-filter: alpha(opacity=100);
    -o-filter: alpha(opacity=100);
}

.wide-button {
    width: 162px !important;
    height: 50px !important;
}

.note-box {
    width: 350px !important;
}

.row [class*="col"] {
    min-height: 30px;
}

/* popover */
.popover-content dt,
.popover-content dd {
    white-space: nowrap;
}

.dashboard-fix-ie-icon-clipping {
    margin-left: 10px; 
    width: 40px;
}

.textarea-with-validation {
    width: calc(100% - 30px);
}
