﻿.hide-div{
    display: none;
}

.flex-div{
    display: flex;
}

.show-popup-overflow {
    overflow: visible;    
}

.modal-body{
    overflow: visible !important;
}

.bootstrap-datetimepicker-widget{
    overflow:visible;        
}

.extend-for-time {
    min-height: 250px;
}

.bootstrap-datetimepicker-widget .timepicker-picker table td,
.bootstrap-datetimepicker-widget .timepicker-picker table td span,
.bootstrap-datetimepicker-widget .timepicker-picker table td a span {
    height: 10px !important;
    line-height: 10px !important;
    width: 10px !important;
    padding: 0px !important;
}

.my-row-padding{
    margin-top:10px;
}

.seperated-top{
    border-top: dotted 1.5px grey;
}

.limit-width{
    max-width: 5em;
}

.dictionary-label-info {
    font-size: medium;
}

.bottom-padding-buttons{
    padding-bottom: 0.3em;
}

.no-border
{
    border: none !important;
}

.ui-tabs-active {
    /*border: solid #4f81bd !important;*/
    border: solid #897124 !important;
    outline: none !important;
}

.ui-widget-header {
    background: none !important;
    border: none !important;
}

a:focus{
    outline: none !important;
}

.consideration {
    border-radius: 3px;
    height: 60px !important;
    width: 60px;
    max-width: 60px;
    text-align: center;
    display: table-cell;
    background: rgba(158,158,158,.2);
    box-shadow: 0 3px 4px 0 rgba(0,0,0,.14), 0 3px 3px -2px rgba(0,0,0,.2), 0 1px 8px 0 rgba(0,0,0,.12);
    background: #444;
    border: none;
    color: #FFF;
    position: relative;
    margin: 0;
    font-family: "Roboto","Helvetica","Arial",sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0;
    overflow: hidden;
    will-change: box-shadow;
    transition: box-shadow .2s cubic-bezier(.4,0,1,1),background-color .2s cubic-bezier(.4,0,.2,1),color .2s cubic-bezier(.4,0,.2,1);
    outline: none;
    cursor: pointer;
    text-decoration: none;
    line-height: 11px;
    vertical-align: middle;
}

.path-option {
    border-radius: 3px;
    height: 50px;
    width: 100px;
    max-width: 100px;
    text-align: center;
    display: table-cell;
    background: rgba(158,158,158,.2);
    box-shadow: 0 3px 4px 0 rgba(0,0,0,.14), 0 3px 3px -2px rgba(0,0,0,.2), 0 1px 8px 0 rgba(0,0,0,.12);
    background: #444;
    border: none;
    color: #FFF;
    position: relative;
    margin: 0;
    font-family: "Roboto","Helvetica","Arial",sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0;
    overflow: hidden;
    will-change: box-shadow;
    transition: box-shadow .2s cubic-bezier(.4,0,1,1),background-color .2s cubic-bezier(.4,0,.2,1),color .2s cubic-bezier(.4,0,.2,1);
    outline: none;
    cursor: pointer;
    text-decoration: none;
    line-height: 11px;
    vertical-align: middle;
}

.consideration-category, .consideration-value {
    border-radius: 3px;
    height: 60px;
    width: 110px;
    text-align: center;
    display: table-cell;
    background: rgba(158,158,158,.2);
    box-shadow: 0 3px 4px 0 rgba(0,0,0,.14), 0 3px 3px -2px rgba(0,0,0,.2), 0 1px 8px 0 rgba(0,0,0,.12);
    background: #444;
    border: none;
    color: #FFF;
    position: relative;
    margin: 0;
    padding: 0 16px;
    font-family: "Roboto","Helvetica","Arial",sans-serif;
    font-size: 12px;
    letter-spacing: 0;
    overflow: hidden;
    will-change: box-shadow;
    transition: box-shadow .2s cubic-bezier(.4,0,1,1),background-color .2s cubic-bezier(.4,0,.2,1),color .2s cubic-bezier(.4,0,.2,1);
    outline: none;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    line-height: 12px;
    vertical-align: middle;
}

.consideration-section-title {
    margin: 5px;
    border-bottom: 1px dotted black;
    padding: 5px;
}

.consideration-container {
    margin: 2px;
}

.consideration-section, .path-section {
    margin: 2px;
    display: inline;
}

.loc-container {
    min-height: 153px;
}

.middle-row {
    display: inline;
}

.middle-col {
    text-align: center;
    display: table-cell;
    margin: 0;
    letter-spacing: 0;
    text-decoration: none;
    vertical-align: middle;
}

.propath-container {
    font-family: "Roboto","Helvetica","Arial",sans-serif !important;
}

.flowInfo .propath_info .propath_info_title {
    margin-top: 3px;
    display: inline;
}

.propath_info_title {
    font-size: 13px;
    font-weight: 400;
    text-align: left;
    margin-right: 1%;
    margin-top: 10px;
    display: block;
}

.propath-heading-section {
    margin-left: 0;
    margin-right: 0;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    box-sizing: border-box;
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    width: 100%;
    margin: 0;
    margin-bottom: 5px;
    border: none;
    background-color: #dddddd;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,.14), 0 3px 1px -2px rgba(0,0,0,.2), 0 1px 5px 0 rgba(0,0,0,.12);
    transition-duration: .2s;
    transition-timing-function: cubic-bezier(.4,0,.2,1);
    transition-property: max-height,box-shadow;
}

.path-container {
    border: 1px solid #4F81BD; 
}


.card.allowoverflow {
    overflow-x: visible;
}

.path-container .path-container-header {
    text-align: center;
    background-color: #4F81BD;
    padding: 6px;
    color: white;
    font-size: 18px;
}

.propath-container {
    background: none;
}

.card {
    display: flex;
    flex-direction: column;
    flex: 1;
    font-size: 13px;
    font-weight: 400;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 2px;
    box-sizing: border-box;
    box-shadow: 0 4px 5px 0 rgba(0,0,0,.14), 0 1px 10px 0 rgba(0,0,0,.12), 0 2px 4px -1px rgba(0,0,0,.2);
    overflow-x: hidden;
}

    .card>.path-container-header {
        flex: 0 0 auto;
    }

    .card > .path-container-contents {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        margin-top: 1em;
        flex: 1;
    }

.title-container {
    display: inline;
    vertical-align: text-top;
    margin: 5px;
}

.back-button {
    background: #4F81BD;
    color: white;
}

.save-button, .delete-button {
    float: right;
    margin: 3px;
}

.discharge-container {
    width: 30em;
}

.no-padding {
    padding-left: 0;
    padding-right: 0;
}

.popover-title {
    background: #4f81bd;
    color: white;
    font-size: 16px;
    font-family: "Roboto","Helvetica","Arial",sans-serif !important;
    text-align: center;
}

.modal-backdrop {
    z-index: -1;
}

.patient-detail {
    font-size: small !important;
}

.periop-button-div {
    margin-left: 0;
    margin-right: 1em;
}

.periop-tabs {
    margin-left: 1em;
    margin-right: 1em;
}

.consideration-list {
    min-height: 70px;
    display: inline-flex;
}

.md-label {
    display: block;
    padding: .3em .6em;
    font-size: 85%;
    font-weight: bold;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25em;
    background-color: grey;
}

.parent {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.child {
    height: 100%;
}

.btn-div {
    margin-top: -10px;
}

/* Location Selector */

.text {
    font-weight: 800;
    font-family: "Trebuchet MS";
    margin-top: 10%;
    font-size: 1.65em
}

.flowContents {
    margin: 0 auto;
    /*background-color: #fff6d8;*/
    overflow: hidden
}

.titleText {
    font-size: 26px;
    font-weight: 700
}

.flowContents > .flowInfo {
    float: left;
    width: 18%
}

.flowInfo {
    clear: both;
    padding: 5px;
    overflow: auto;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    padding-right: 0
}

    .flowInfo .patient_info {
        display: inline-block;
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        vertical-align: top
    }

.patient_info_title { /* TODO: only appears in Views/Location/_LocationDetails.cshtml, so can we remove it here? */
    font-size: 13px;
    font-weight: 400;
    font-family: "Trebuchet MS";
    text-align: left;
    margin-right: 1%;
    margin-top: 10px;
    display: block
}

.flowInfo .patient_info .patient_info_title {
    margin-top: 3px;
    display: inline
}

.fp-container {
    overflow: hidden
}

    .fp-container .fp-container-header {
        text-align: left;
        font-family: Verdana;
        font-size: 12px;
        font-weight: 700
    }

.flowInfo .left {
    display: inline-block;
    float: left;
    width: 36%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    height: 100%
}

.flowInfo .delimeter_arrow {
    display: inline-block;
    border-width: 0;
    float: left;
    width: 28%;
    text-align: center
}

    .flowInfo .delimeter_arrow .arrow_image {
        height: 75px
    }

.flowInfo .right {
    display: inline-block;
    float: left;
    width: 36%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    height: 100%
}

    .flowInfo .right .right_dialog {
        float: right
    }

.flowButtons {
    padding: 10px 3%;
    text-align: right;
    bottom: 0;
    right: 0;
    clear: both
}

.Room {
    width: 19%;
    color: #000 !important
}

.Program {
    width: 24%;
    color: #fff !important;
    text-transform: uppercase
}

.tabRoom {
    padding-left: 1%;
    padding-top: 5px;
}

.locationCrumb>.btn {
    margin-right: 5px;
    margin-bottom: 5px;
}

.fp-container .tabProgram, .fp-container .tabUnit, .fp-container .tabRoom, .fp-container .tabBed, .fp-container .locationCrumb {
    padding: 10px 0 5px 10px;
}

.tabProgram {
    max-height: 200px;
    overflow: auto;
    padding-left: 1%;
    padding-top: 5px
}

.tabBed {
    padding-left: 1%;
    padding-top: 5px
}

.tabUnit {
    max-height: 130px;
    overflow: auto;
    padding-left: 1%;
    padding-top: 5px
}

.roomBed {
    display: inline-block;
    padding: 1px 6px;
    margin: 2px;
    background-color: #F5EEF7;
    border: 1px outset #D3D3D3
}

a.only-child {
    max-width: 200px
}

.locationCrumb {
}

    .locationCrumb a {
        color: #fff !important;
        padding: 0 5px;
        vertical-align: middle;
        margin-right: 5px
    }

    .locationCrumb div {
        display: inline-block
    }

    .locationCrumb img {
        border: none
    }

.locationSelect { /* fairly sure this isn't used, but not 100% sure '*/
    float: left;
    margin-top: 10px
}

.fp-container .btn {
    background-color: rgb(96, 169, 252);
    background-image: linear-gradient(rgb(96, 169, 252) 0%, rgb(75, 138, 212) 100%);
}
    .fp-container .btn:hover {
        background-color: rgb(66, 139, 232);
        background-image: none;
    }

.bedsAvailable {
    background-color: #70ce70 !important;
    background-image: linear-gradient(rgb(112, 206, 112) 0%, rgb(50, 205, 50) 100%) !important;
}

    .bedsAvailable:hover {
        background-color: #32cd32 !important;
        background-image: none !important;
    }

.bedsAvailableSoon {
    background: url(../Images/jquery_ui_images/ui-bg_glass_55_f8da4e_1x400.png) repeat-x center
}

.bedsNotAvailable {
    background: url(../Images/jquery_ui_images/ui-bg_glass_45_4f81bd_1x400.png) repeat-x center
}

.bed-in-room-btn {
    background-color: grey;
    margin: 5px;
    flex: 0 0 15%;
}

.bed-in-room-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.tabRoom > .room-btn {
    width: 200px;
    margin-right: 5px;
    margin-bottom: 5px;
    min-height: 65px;
}

.tabBed > .bed-btn {
    margin-right: 5px;
    margin-bottom: 5px;
}

.tabUnit>button, .tabProgram>button {
    margin-bottom: 5px;
}

.bed-in-room-btn.clean-bed {
    background-color: #10b210;
}

.location-button.ui-button .ui-button-text {
    line-height: 0
}

.selected-button {
    background-color: orange !important;
    background-image: none !important;
}

/* Classes for the ProPath stepwise display partial view */
.ppsd-base-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 2em; /* IE11 height bug workaround */
}

.ppsd-steps-container {
    flex: 1 0 60%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    min-height: 1em; /* IE11 height bug workaround */
}

.ppsd-step-display {
    min-width: 1.5em;
    font-weight: 800;
}

.ppsd-status-text {
    flex: 0 1 40%;
    width: 100%;
    text-align: center;
    font-size: smaller;
}

input:invalid {
    border: 2px solid red !important;
}
