/*================= DEFAULTS ===============*/
body {
    color: #59626a;
    font-family: "Source Sans Pro", Arial, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-stretch: normal;
    font-weight: 400;
    line-height: 1.4;
    text-align: left;
    background-color:#f5f5f5;
    margin:0; padding:0; /* needed for known issue with Dom.getXY() in safari for absolute elements in positioned containers */
}
html, body {
    overflow-x: hidden;
}

p {
    margin-block-start: .5em;
    margin-block-end: .5em;
}

form {
    margin: 0;
}

button, input, optgroup, select, textarea {
    font: inherit;
    color: inherit;
}

input, select, textarea {
    padding: 6px 4px;
    border-radius: 4px;
    border: 1px solid #e0e2e5;
    background-color: #FFFFFF;
    -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;
    transition: border-color ease-in-out .15s,
    		box-shadow ease-in-out .15s;
}
select {
    max-width: 25em;
}
input[type="radio"] {
    position: relative;
    top: 2px;
    cursor: pointer;
}
input {
    color: #828d97;
}
textarea {
    width: 100%;
    height: 6em;
    resize: vertical;
}
input[type="text"],
input[type="number"],
input[type="date"],
textarea {
    max-width: 100%;
}
input[type='radio'] ~ label {
    cursor: pointer;
}
input[type="text"]:disabled,
input[type="number"]:disabled,
input[type="date"]:disabled,
textarea:disabled {
    background-color: #eeeeee;
    /*background: -moz-repeating-linear-gradient(-45deg, #ffffff, #ffffff 5px, #eaeaea 5px, #eaeaea 10px); /* FF3.6-15 */
    /*background: -webkit-repeating-linear-gradient(-45deg, #ffffff, #ffffff 5px, #eaeaea 5px, #eaeaea 10px); /* Chrome10-25,Safari5.1-6 */
    /*background: repeating-linear-gradient(135deg, #ffffff, #ffffff 5px, #eaeaea 5px, #eaeaea 10px);*/
}
.showDisabled {
    background-color: #eeeeee;
    color: #222222;
    cursor: default;
}

hr {
    height: 1.5px;
    background-color: none;
    color: none;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1.5px dotted #999999;
}

a:link, 
a:visited,
a:hover {   
    color: #00C;
    text-decoration: none;
}
a:active {
    color: #333333;
} 

label, .matchLabel {
    padding: 2px 2px;
}
label:not(.tightLabel), .matchLabel {
    display: inline-block;
}

div[title],
abbr {
    text-decoration: none;
    border-bottom: 1px dotted #777777;
    cursor: help;
}

table {
    font-size: 100%;
}
th {
    text-align: left;
}
h1, h2, h3 {
    font-size: 156%;
}
h4, h5, h6 {
    font-size: 125%;
}

ul, ol, dd {
    margin-top: .5em;
}

/*============== FONTS ================*/
@font-face {
    font-family: 'Source Sans Pro';
    src: url('/includes/fonts/SourceSansPro-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Source Sans Pro';
    src: url('/includes/fonts/SourceSansPro-It.otf') format('opentype');
    font-weight: normal;
    font-style: italic;
}
@font-face {
    font-family: 'Source Sans Pro';
    src: url('/includes/fonts/SourceSansPro-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'Source Sans Pro';
    src: url('/includes/fonts/SourceSansPro-LightIt.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
}
@font-face {
    font-family: 'Source Sans Pro';
    src: url('/includes/fonts/SourceSansPro-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'Source Sans Pro';
    src: url('/includes/fonts/SourceSansPro-BoldIt.otf') format('opentype');
    font-weight: bold;
    font-style: italic;
}
@font-face {
  font-family: 'Glyphicons Halflings';

  src: url('/includes/fonts/glyphicons-halflings-regular.eot');
  src: url('/includes/fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('/includes/fonts/glyphicons-halflings-regular.woff') format('woff'), url('/includes/fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('/includes/fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
}
.glyphicon {
  position: relative;
  top: 2px;
  display: inline-block;
  font-family: 'Glyphicons Halflings';
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.glyphicon-calendar:before {
  content: "\e109";
}
.glyphicon-checked:before {
  content: "\e067";
}
.glyphicon-chevron-up:before {
  content: "\e113";
}
.glyphicon-chevron-down:before {
  content: "\e114";
}
.glyphicon-chevron-left:before {
  content: "\e079";
}
.glyphicon-chevron-right:before {
  content: "\e080";
}
.glyphicon-cog:before {
  content: "\e019";
}
.glyphicon-contract:before {
  content: "\e097";
}
.glyphicon-edit:before {
  content: "\e065";
}
.glyphicon-eject:before {
  content: "\e078";
}
.glyphicon-exclamation-sign:before {
  content: "\e101";
}
.glyphicon-expand:before {
  content: "\e096";
}
.glyphicon-file:before {
  content: "\e022";
}
.glyphicon-flag:before {
  content: "\e034";
}
.glyphicon-forward:before {
  content: "\e095";
}
.glyphicon-heart:before {
  content: "\e005";
}
.glyphicon-info-sign:before {
  content: "\e086";
}
.glyphicon-list:before {
  content: "\e056";
}
.glyphicon-magnify:before {
  content: "\e015";
}
.glyphicon-new-window:before {
  content: "\e164";
}
.glyphicon-ok:before {
  content: "\e013";
}
.glyphicon-pencil:before {
  content: "\270f";
}
.glyphicon-plus-sign:before {
  content: "\e081";
}
.glyphicon-print:before {
  content: "\e045";
}
.glyphicon-refresh:before {
  content: "\e031";
}
.glyphicon-remove:before {
  content: "\e014";
  cursor:pointer;
}
.glyphicon-remove-circle:before {
  content:"\e083";
  cursor:pointer;
}
.glyphicon-remove-sign:before {
  content:"\e088";
  cursor:pointer;
}
.glyphicon-reply:before {
  content: "\e095";
}
.glyphicon-replied {
  transform: scaleY(-1);
}
.glyphicon-replied:before {
  content: "\e095";
}
.glyphicon-sort:before {
  content: "\e150";
}
.glyphicon-tag:before {
  content: "\e041";
}
.glyphicon-tags:before {
  content: "\e042";
  padding-right: 3px;
}
.glyphicon-thumbs-up:before {
  content: "\e125";
}
.glyphicon-time:before {
  content: "\e023";
}
.glyphicon-trash:before {
  content: "\e020";
}
.glyphicon-unchecked:before {
  content: "\e157";
}
.glyphicon-user:before {
  content: "\e008";
}
.glyphicon-zoom-in:before {
  content: "\e015";
}
.glyphicon-zoom-out:before {
  content: "\e016";
}

a.glyphiconLink {
    text-decoration: none;
    cursor: pointer;
    padding-right: 2px;
}

input[type='checkbox'].iconCheckbox,
input[type='checkbox'].qtnCheckbox {
    display: none;
}
input[type='checkbox'].iconCheckbox ~ label,
input[type='checkbox'].qtnCheckbox ~ label {
    cursor: pointer;
}
input[type='checkbox'].iconCheckbox ~ label.leftLabel:after,
input[type='checkbox'].iconCheckbox ~ label:not(.leftLabel):before,
.qtnCheckboxDiv.qtnSingleCheckbox input[type='checkbox'].qtnCheckbox ~ label:after,
.qtnCheckboxDiv:not(.qtnSingleCheckbox) input[type='checkbox'].qtnCheckbox ~ label:before {
    position: relative;
    top: 2px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\e157";
}
input[type='checkbox'].iconCheckbox ~ label:not(.leftLabel):before,
.qtnCheckboxDiv:not(.qtnSingleCheckbox) input[type='checkbox'].qtnCheckbox ~ label:before {
    margin-right: 4px;
}
input[type='checkbox'].iconCheckbox ~ label.leftLabel:after,
.qtnCheckboxDiv.qtnSingleCheckbox input[type='checkbox'].qtnCheckbox ~ label:after {
    margin-left: 4px;
}
input[type='checkbox']:checked.iconCheckbox ~ label.leftLabel:after,
input[type='checkbox']:checked.iconCheckbox ~ label:not(.leftLabel):before,
.qtnCheckboxDiv.qtnSingleCheckbox input[type='checkbox']:checked.qtnCheckbox ~ label:after,
.qtnCheckboxDiv:not(.qtnSingleCheckbox) input[type='checkbox']:checked.qtnCheckbox ~ label:before {
    content: "\e067";
}
input[type='checkbox'].iconCheckbox:disabled ~ label,
input[type='checkbox'].iconCheckbox:disabled ~ label:after,
input[type='checkbox'].iconCheckbox:disabled ~ label:before,
input[type='checkbox'].qtnCheckbox:disabled:not(.displayNotDisabled) ~ label,
input[type='checkbox'].qtnCheckbox:disabled:not(.displayNotDisabled) ~ label:after,
input[type='checkbox'].qtnCheckbox:disabled:not(.displayNotDisabled) ~ label:before {
    color: #cccccc;
}
input[type='checkbox'].iconCheckbox:disabled ~ label,
input[type='checkbox'].qtnCheckbox:disabled ~ label {
    cursor: default;
}
input[type='checkbox'].iconCheckbox.matchInput ~ label:after,
input[type='checkbox'].iconCheckbox.matchInput ~ label:before {
    padding-top: 8px;
    padding-bottom: 8px;
}

/*================== ROWS & COLUMNS =============*/

.row {
    clear:both;
}

/*grid system from bootstrap */   
.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{position:relative;min-height:1px;margin-bottom:8px;}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{float:left;}.col-xs-12{width:100%;}.col-xs-11{width:91.66666667%;}.col-xs-10{width:83.33333333%;}.col-xs-9{width:75%;}.col-xs-8{width:66.66666667%;}.col-xs-7{width:58.33333333%;}.col-xs-6{width:50%;}.col-xs-5{width:41.66666667%;}.col-xs-4{width:33.33333333%;}.col-xs-3{width:25%;}.col-xs-2{width:16.66666667%;}.col-xs-1{width:8.33333333%;}.col-xs-pull-12{right:100%;}.col-xs-pull-11{right:91.66666667%;}.col-xs-pull-10{right:83.33333333%;}.col-xs-pull-9{right:75%;}.col-xs-pull-8{right:66.66666667%;}.col-xs-pull-7{right:58.33333333%;}.col-xs-pull-6{right:50%;}.col-xs-pull-5{right:41.66666667%;}.col-xs-pull-4{right:33.33333333%;}.col-xs-pull-3{right:25%;}.col-xs-pull-2{right:16.66666667%;}.col-xs-pull-1{right:8.33333333%;}.col-xs-pull-0{right:auto;}.col-xs-push-12{left:100%;}.col-xs-push-11{left:91.66666667%;}.col-xs-push-10{left:83.33333333%;}.col-xs-push-9{left:75%;}.col-xs-push-8{left:66.66666667%;}.col-xs-push-7{left:58.33333333%;}.col-xs-push-6{left:50%;}.col-xs-push-5{left:41.66666667%;}.col-xs-push-4{left:33.33333333%;}.col-xs-push-3{left:25%;}.col-xs-push-2{left:16.66666667%;}.col-xs-push-1{left:8.33333333%;}.col-xs-push-0{left:auto;}.col-xs-offset-12{margin-left:100%;}.col-xs-offset-11{margin-left:91.66666667%;}.col-xs-offset-10{margin-left:83.33333333%;}.col-xs-offset-9{margin-left:75%;}.col-xs-offset-8{margin-left:66.66666667%;}.col-xs-offset-7{margin-left:58.33333333%;}.col-xs-offset-6{margin-left:50%;}.col-xs-offset-5{margin-left:41.66666667%;}.col-xs-offset-4{margin-left:33.33333333%;}.col-xs-offset-3{margin-left:25%;}.col-xs-offset-2{margin-left:16.66666667%;}.col-xs-offset-1{margin-left:8.33333333%;}.col-xs-offset-0{margin-left:0;}
@media(min-width:768px){.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{float:left;}.col-sm-12{width:100%;}.col-sm-11{width:91.66666667%;}.col-sm-10{width:83.33333333%;}.col-sm-9{width:75%;}.col-sm-8{width:66.66666667%;}.col-sm-7{width:58.33333333%;}.col-sm-6{width:50%;}.col-sm-5{width:41.66666667%;}.col-sm-4{width:33.33333333%;}.col-sm-3{width:25%;}.col-sm-2{width:16.66666667%;}.col-sm-1{width:8.33333333%;}.col-sm-pull-12{right:100%;}.col-sm-pull-11{right:91.66666667%;}.col-sm-pull-10{right:83.33333333%;}.col-sm-pull-9{right:75%;}.col-sm-pull-8{right:66.66666667%;}.col-sm-pull-7{right:58.33333333%;}.col-sm-pull-6{right:50%;}.col-sm-pull-5{right:41.66666667%;}.col-sm-pull-4{right:33.33333333%;}.col-sm-pull-3{right:25%;}.col-sm-pull-2{right:16.66666667%;}.col-sm-pull-1{right:8.33333333%;}.col-sm-pull-0{right:auto;}.col-sm-push-12{left:100%;}.col-sm-push-11{left:91.66666667%;}.col-sm-push-10{left:83.33333333%;}.col-sm-push-9{left:75%;}.col-sm-push-8{left:66.66666667%;}.col-sm-push-7{left:58.33333333%;}.col-sm-push-6{left:50%;}.col-sm-push-5{left:41.66666667%;}.col-sm-push-4{left:33.33333333%;}.col-sm-push-3{left:25%;}.col-sm-push-2{left:16.66666667%;}.col-sm-push-1{left:8.33333333%;}.col-sm-push-0{left:auto;}.col-sm-offset-12{margin-left:100%;}.col-sm-offset-11{margin-left:91.66666667%;}.col-sm-offset-10{margin-left:83.33333333%;}.col-sm-offset-9{margin-left:75%;}.col-sm-offset-8{margin-left:66.66666667%;}.col-sm-offset-7{margin-left:58.33333333%;}.col-sm-offset-6{margin-left:50%;}.col-sm-offset-5{margin-left:41.66666667%;}.col-sm-offset-4{margin-left:33.33333333%;}.col-sm-offset-3{margin-left:25%;}.col-sm-offset-2{margin-left:16.66666667%;}.col-sm-offset-1{margin-left:8.33333333%;}.col-sm-offset-0{margin-left:0;}}
@media(min-width:992px){.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{float:left;}.col-md-12{width:100%;}.col-md-11{width:91.66666667%;}.col-md-10{width:83.33333333%;}.col-md-9{width:75%;}.col-md-8{width:66.66666667%;}.col-md-7{width:58.33333333%;}.col-md-6{width:50%;}.col-md-5{width:41.66666667%;}.col-md-4{width:33.33333333%;}.col-md-3{width:25%;}.col-md-2{width:16.66666667%;}.col-md-1{width:8.33333333%;}.col-md-pull-12{right:100%;}.col-md-pull-11{right:91.66666667%;}.col-md-pull-10{right:83.33333333%;}.col-md-pull-9{right:75%;}.col-md-pull-8{right:66.66666667%;}.col-md-pull-7{right:58.33333333%;}.col-md-pull-6{right:50%;}.col-md-pull-5{right:41.66666667%;}.col-md-pull-4{right:33.33333333%;}.col-md-pull-3{right:25%;}.col-md-pull-2{right:16.66666667%;}.col-md-pull-1{right:8.33333333%;}.col-md-pull-0{right:auto;}.col-md-push-12{left:100%;}.col-md-push-11{left:91.66666667%;}.col-md-push-10{left:83.33333333%;}.col-md-push-9{left:75%;}.col-md-push-8{left:66.66666667%;}.col-md-push-7{left:58.33333333%;}.col-md-push-6{left:50%;}.col-md-push-5{left:41.66666667%;}.col-md-push-4{left:33.33333333%;}.col-md-push-3{left:25%;}.col-md-push-2{left:16.66666667%;}.col-md-push-1{left:8.33333333%;}.col-md-push-0{left:auto;}.col-md-offset-12{margin-left:100%;}.col-md-offset-11{margin-left:91.66666667%;}.col-md-offset-10{margin-left:83.33333333%;}.col-md-offset-9{margin-left:75%;}.col-md-offset-8{margin-left:66.66666667%;}.col-md-offset-7{margin-left:58.33333333%;}.col-md-offset-6{margin-left:50%;}.col-md-offset-5{margin-left:41.66666667%;}.col-md-offset-4{margin-left:33.33333333%;}.col-md-offset-3{margin-left:25%;}.col-md-offset-2{margin-left:16.66666667%;}.col-md-offset-1{margin-left:8.33333333%;}.col-md-offset-0{margin-left:0;}}
@media(min-width:1200px){.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{float:left;}.col-lg-12{width:100%;}.col-lg-11{width:91.66666667%;}.col-lg-10{width:83.33333333%;}.col-lg-9{width:75%;}.col-lg-8{width:66.66666667%;}.col-lg-7{width:58.33333333%;}.col-lg-6{width:50%;}.col-lg-5{width:41.66666667%;}.col-lg-4{width:33.33333333%;}.col-lg-3{width:25%;}.col-lg-2{width:16.66666667%;}.col-lg-1{width:8.33333333%;}.col-lg-pull-12{right:100%;}.col-lg-pull-11{right:91.66666667%;}.col-lg-pull-10{right:83.33333333%;}.col-lg-pull-9{right:75%;}.col-lg-pull-8{right:66.66666667%;}.col-lg-pull-7{right:58.33333333%;}.col-lg-pull-6{right:50%;}.col-lg-pull-5{right:41.66666667%;}.col-lg-pull-4{right:33.33333333%;}.col-lg-pull-3{right:25%;}.col-lg-pull-2{right:16.66666667%;}.col-lg-pull-1{right:8.33333333%;}.col-lg-pull-0{right:auto;}.col-lg-push-12{left:100%;}.col-lg-push-11{left:91.66666667%;}.col-lg-push-10{left:83.33333333%;}.col-lg-push-9{left:75%;}.col-lg-push-8{left:66.66666667%;}.col-lg-push-7{left:58.33333333%;}.col-lg-push-6{left:50%;}.col-lg-push-5{left:41.66666667%;}.col-lg-push-4{left:33.33333333%;}.col-lg-push-3{left:25%;}.col-lg-push-2{left:16.66666667%;}.col-lg-push-1{left:8.33333333%;}.col-lg-push-0{left:auto;}.col-lg-offset-12{margin-left:100%;}.col-lg-offset-11{margin-left:91.66666667%;}.col-lg-offset-10{margin-left:83.33333333%;}.col-lg-offset-9{margin-left:75%;}.col-lg-offset-8{margin-left:66.66666667%;}.col-lg-offset-7{margin-left:58.33333333%;}.col-lg-offset-6{margin-left:50%;}.col-lg-offset-5{margin-left:41.66666667%;}.col-lg-offset-4{margin-left:33.33333333%;}.col-lg-offset-3{margin-left:25%;}.col-lg-offset-2{margin-left:16.66666667%;}.col-lg-offset-1{margin-left:8.33333333%;}.col-lg-offset-0{margin-left:0;}}
.clearfix:before,
.clearfix:after,
.row:before,
.row:after {
    display: table;
    content: " ";
}
.clearfix:after,
.row:after {
    clear: both;
}

/*--------ADDITIONAL DEFINED COLUMN SIZES--------*/
/*list all defined sizes here for basic column styles*/
.col-always-full,
.col-always-half, 
.col-usually-half,
.col-form-field,
.col-form-field-md,
.col-form-field-lg,
.col-sidebar-main-md,
.col-sidebar-md,
.col-sidebar-main-lg,
.col-sidebar-lg,
.col-sidebar-left-md,
.col-patient-ovw,
.col-smaller-centered,
.col-any,
.col-no-margin
{
    position:relative;
    /*min-height:1px;
    margin-bottom:8px;*/
    /*expiremental!*/
    min-height: 2.7em;
    margin-bottom: 4px;
    float: left;
}
/*specific widths & media queries*/
/*extra small - phones*/
.col-always-half {
    width: 50%; 
}
.col-always-full,
.col-usually-half,
.col-form-field, 
.col-form-field-md,
.col-form-field-lg,
.col-patient-ovw,
.col-sidebar-md,
.col-sidebar-left-md,
.col-sidebar-main-md,
.col-sidebar-main-lg,
.col-sidebar-lg,
.col-smaller-centered
{
    width: 100%; 
}
/*small - tablets*/
@media(min-width:768px) {
    .col-form-field, 
    .col-form-field-md,
    .col-form-field-lg,
    .col-patient-ovw {
	width: 50%; 
    }
    .col-smaller-centered {
	margin-left: 8.3333333%;
	width: 83.3333333%;
    }
}
/*medium - laptops & older/smaller pcs*/
@media(min-width:992px) {
    .col-form-field {
	width: 25%; 
    }
    .col-usually-half {
	width: 50%;
    }
    .col-form-field-md,
    .col-patient-ovw {
	width: 33.33333333%; /*100%;*/ 
    }
    .col-sidebar-md {
	margin-left: 3.33333333%;
	width: 30%;
    }
    .col-sidebar-left-md {
	margin-right: 3.3333333%;
	width: 30%;
    }
    .col-sidebar-main-md {
	width: 66.6666667%;
    }
    .col-sidebar-main-lg {
	width: 50%;
    }
    .col-sidebar-lg {
	margin-left: 3.3333333%;
	width: 46.6666667%;
    }
    .col-smaller-centered {
        margin-left: 16.66666667%;
        width: 66.6666667%;
    }
}
/*large - modern pcs*/
@media(min-width:1200px) {
    .col-patient-ovw {
        width: 25%/*50%*/; 
    }
    .col-smaller-centered {
        margin-left: 25%;
        width: 50%;
    }
}

@media(max-width:1399px) {
    .hidden-md {
	display: none;
    }
}
@media(min-width:1400px) {
    .visible-md {
	display: none;
    }
}
@media(max-width:991px) {
    .hidden-sm {
	display: none;
    }
}
@media(min-width:992px) {
    .visible-sm {
	display: none;
    }
}
@media(max-width:767px) {
    .hidden-xs {
	display: none;
    }
}
@media(min-width:768px) {
    .visible-xs {
	display: none;
    }
}
@media(max-width:480px) {
    .hidden-xxs {
	display: none;
    }
}
@media(min-width:481px) {
    .visible-xxs {
	display: none;
    }
}
/*Data block that can be any size*/
/*Or col-no-margin for any size without spacing*/
.col-any {
    margin-right: 2em;
}
 /*special overwrite rules for printing, since the print function doesn't
  * accept media-queries */
.formPrint .col-form-field,
.formPrint .col-patient-ovw {
    width: 25%;
}
.formPrint .col-form-field-md {
    width: 33.33333%;
}
.formPrint .col-form-field-lg,
.formPrint .col-usually-half {
    width: 50%;
}
.formPrint .col-smaller-centered {
    margin-left: 25%;
    width: 50%;
}


/*================= MODALS ================*/
/* CALOP USING THESE MODAL STYLES START */


#modalContainer{
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1002;
    overflow-x: hidden;
    overflow-y: scroll;
    webkit-overflow-scrolling: touch;
    outline: 0;
    display: none;
}

.modalContainer{
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1002;
    overflow: hidden;
    webkit-overflow-scrolling: touch;
    outline: 0;
    display: none;
}

.modalDialog,
.modalDialogHeader {
    position: relative;
    width: auto;
    margin: 10px;
    transition: margin-top 1s; /*animate when margin top changes for mmMessageBump*/
    -webkit-transition: margin-top 1s;
}
.modalDialog{
    z-index: 1051;
    overflow-y: auto;
    background-color: #FFFFFF;
    border-radius: 6px;
    border: 1px solid #111111;
    padding: 8px 12px;
    background-clip: padding-box;
    webkit-background-clip: padding-box;
    box-shadow: 0 3px 9px rgba(0,0,0,.6);
    webkit-box-shadow: 0 3px 9px rgba(0,0,0,.6);
}
.modalDialogHeader{
    z-index: 1052;
    margin-bottom: 0px;
    height: 28px;
}

@media (min-width: 768px) {
    .modalDialog,
    .modalDialogHeader {
	width: 600px;
	margin: 30px auto;
	padding: 12px 16px;
    }
    .modalDialog {
	box-shadow: 0 5px 15px rgba(0,0,0,.6);
	webkit-box-shadow: 0 5px 15px rgba(0,0,0,.6);
    }
    .modalDialogHeader {
	width: 600px;
	margin-bottom: 0px;
	padding-top: 0px;
	padding-bottom: 0px;
    }

}
@media (min-width: 992px) {
    .modalDialog,
    .modalDialogHeader {
	width: 900px;
    }
}

.modalContainer.mmMessageBump > .modalDialog,
#modalContainer.mmMessageBump > .modalDialog, 
.modalContainer.mmMessageBump > .modalDialogHeader,
#modalContainer.mmMessageBump > .modalDialogHeader {
    margin-top: 60px;
}
.modalDialogHeader+.modalDialog {
    margin-top: 0px;
}

/* CALOP USING THESE MODAL STYLES END */



#modalOverlayContainer{
   width: 100%;
   height:100%;
   background-color: #000000;
   display: none;
   position: absolute;
   left:0px;
   z-index: 1010;
   opacity: 0.5;
   filter:alpha(opacity=45);-moz-opacity:.50;opacity:.50;
   }

/*new modals*/
#modal { 
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    overflow: hidden;
    webkit-overflow-scrolling: touch;
    outline: 0;
    visibility:hidden;
}
.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    overflow: hidden;
    webkit-overflow-scrolling: touch;
    outline: 0;
    display: none; 
    background-color: rgba(0,0,0,0.4);
}

.modal-open .modal { /*modal-open class goes on body*/
    overflow-x: hidden;
    overflow-y: auto;
}
.modal-open {
    overflow: hidden;
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 10px;
    background-color: #FFFFFF;
    border-radius: 6px;
    border: 1px solid #111111;
    padding: 8px 12px;
    background-clip: padding-box;
    webkit-background-clip: padding-box;
    box-shadow: 0 3px 9px rgba(0,0,0,.5);
    webkit-box-shadow: 0 3px 9px rgba(0,0,0,.5);
	z-index: 1051;
}
@media (min-width: 768px) {
    .modal-dialog {
	width: 600px;
	margin: 30px auto;
	padding: 12px 16px;
	box-shadow: 0 5px 15px rgba(0,0,0,.5);
	webkit-box-shadow: 0 5px 15px rgba(0,0,0,.5);
    }
}
@media (min-width: 992px) {
    .modal-largest,
    .modal-larger {
	width: 900px;
    }
}
@media (min-width: 1200px) {
    .modal-largest {
	width: 1110px;
    }
}

/*====== Styles-global overwrites =====*/

.NEXT, .PREVIOUS { /*reset styles-global*/
    color: inherit;
    font-size: inherit;
}
.NEXT > .glyphicon-chevron-right,
.PREVIOUS > .glyphicon-chevron-left {
    font-size: 80%;
    top: 1px;
}
@media(max-width:991px) {
    .NEXT > .glyphicon-chevron-right,
    .PREVIOUS > .glyphicon-chevron-left {
	font-size: 64%;
    }
}

/*============= COLORS ========*/
/*	primary blue: 	199ed8
	l-primary blue:	48b9ea
	bg light blue: 	e0e0ef
	bg vlight blue: e9e9f7
	bg vvlight blue: f0f4fb

	bg green:	009966
	bg l-green:	81daa4
	bg vl-green:	aee0c2

	yellow:		f5bd47
	bg yellow:	fdf1d8

	orange:		f47d23

	scarlet:	961818 (unused?)
	dark red:	c20f0f 
	red:		d43852
	bg d-pink:	e2b6bc (unused?)
	bg pink:	eed3d7
	bg l-pink:	f2dede

	header note:	111111 (unused?)
	label d-gray:	222222
	footer d-gray:	333333
	top banner:	494c4f
	body charcoal: 	59626a
	input gray:	828d97
	footer border:	999999
	minor banner:	a1a1a1
	basic gray:	cccccc
	hover gray:	d9d9d9
	border l-gray: 	e0e2e5
	page off-white: f5f5f5
	white: 		ffffff
*/

.colorPrimary {
    color: #199ed8 !important;
}
.colorWhite {
    color: #ffffff !important;
}
.colorModerate {
    color: #f47d23 !important;
}

.backgroundPrimary {
    background-color: #199ed8 !important;
}
.backgroundAlt {
    background-color: #e0e0ef !important;
}

.primary,
.primary:focus {
    background-color: #199ed8;
    color: #FFFFFF;
}
button.primary:hover {
    background-color: #48b9ea; /*12% lighter*/
}

/* ============= MAJOR MANIPULATION STYLES ======== */

.bold {
    font-weight: bold;
}
.semicircle {
    border-radius: 9999px;
}
.semicircleGroup {
    display: inline;
}
.semicircleGroup > :not(:first-child):not(:last-child) {
    border-radius: 0;
}
.semicircleGroup > :first-child {
    border-radius: 9999px 0 0 9999px;
}
.semicircleGroup > :last-child {
    border-radius: 0 9999px 9999px 0;
}
.indent {
    margin-left: 4em;
}
@media(max-width:991px) {
    .indent {
	margin-left: 2em;
    }
}
.float-left {
     float: left;
}
@media(min-width:992px) {
    .float-left-md {
	float: left;
    }
}
.float-right {
    float: right;
}
@media(min-width:768px){
    .float-right-sm {
	float: right;
    }
}
@media(min-width:992px) {
    .float-right-md {
	float: right;
    }
}
.clearfix {
    clear: both;
}
.absolute-bot-right {
    position: absolute;
    bottom: 0;
    right: 0;
}
.horizontal-margin {
    margin-left: 3px;
    margin-right: 3px;
}
@media(min-width:992px) {
    .horizontal-margin {
	margin-left: 4px;
	margin-right: 4px;
    }
}
.vertical-margin {
    margin-top: 4px;
    margin-bottom: 4px;
} 
.hidden {
    display:none !important;
    visibility:hidden !important;
}
.invisible {
    visibility: hidden !important;
}
.alignRight {
    text-align: right;
}
.alignLeft {
    text-align: left;
}
.alignCenter {
    text-align: center;
}
.textLarge {
    font-size: 125%;
}

/*============ BUTTONS ===============*/

button {
    border-radius: 4px;
    border: 1px solid transparent;
    cursor: pointer;
    padding: .38em .75em;
    background-color: #cccccc;
}
button:focus,
button:hover {
    background-color: #d9d9d9;
}
button:disabled,
button:focus:disabled,
button:hover:disabled {
    color: #cccccc !important;
    background-color: #ffffff !important;
    border-color: #cccccc !important;
    cursor: default !important;
}
.disabled {
    color: #cccccc !important;
    cursor: default !important;
}
div.matchButton {
    display: inline-block;
    padding-top: .38em;
    padding-bottom: .38em;
}
.matchInput, 
.matchInput:before {
    padding-top: 8px;
    padding-bottom: 8px;
}
.matchInput:before {
    content: "";
}

.button,
.button-sm {
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    touch-action: manipulation;
    -ms-touch-action: manipulation;
    cursor: pointer;
    border-radius: 4px;
    border: 1px solid transparent;
}
.button {
    padding: 6px 12px;
    line-height: 1.25em;
}
.button-sm {
    padding: 4px 4px;
}
.button-lg {
    padding: .5em 1em;
    font-size: 125%; 
    /*RATIO: trying to define all font-sizes relative to the body,
    using a major-third scale: 
    largest: 156%
    larger: 125%
    regular: 100% (see body)
    smaller: 80%
    smallest: 64%
    */

}
.button-wide {
    padding-left: 10em;
    padding-right: 10em;
}
.button-wide-ish {
    padding-left: 4em;
    padding-right: 4em;
}
.button-block {
    display: block;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 8px;
}
.button-half-block {
    display: inline-block;
    width: 47%;
    margin-left: 1%;
    margin-right: 1%;
    margin-top: 8px;
    margin-bottom: 8px;
}

.dropdown {
    position: relative;
    display: inline-block;
}
.dropButton {
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
}
.dropdownContent {
    display: none;
    position: absolute;
    right: 0;
    min-width: 120px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 50;
}
.dropdownContent a {
    display: block;
    text-align: right;
}
.dropdownContentShow {
    display: block;
}

.tdButton {
    margin-top: -5px;
}

/*=============== COMPONENTS ====================*/

#pageDiv {
    width:95%;
    max-width: 1400px;
    margin:0 auto;
    position: relative;
}
#footerDiv {
    box-shadow: 0px 500px 0px 500px #ffffff;
    -webkit-box-shadow: 0px 500px 0px 500px #ffffff;
    -moz-box-shadow:    0px 500px 0px 500px #ffffff;
    -moz-box-sizing: border-box; box-sizing:border-box;
    padding-top: 10px;
    padding-bottom: 10px;
}
#footerDiv,
#footerDiv > a,
#footerDiv > a:hover,
#footerDiv > a:visited,
#footerDiv > a:active {
    color: #333333;
}
#footerDiv > a {
    text-decoration: none;
}
#footerDiv > a:hover {
    text-decoration: underline;
}
#footerDiv,
#footerDiv:before,
#footerDiv:after {
    background-color: #FFFFFF;
    border-top: 2px solid #999999;
}
#footerDiv:before,
#footerDiv:after {
    top: -2px; /*fix for border*/
}

div.header { display: inline-block; }
.header { 
    font-size: 156%;
    color: #199ed8;
    margin-top: 8px; 
    margin-bottom: 8px;
}
div.header-form,
div.header-note,
div.header-alert { 
    display: inline-block; 
    margin-left: 8px;
}
.header-note {
    font-size: 80%; 
    font-style: italic;
    color: #111111;
}
.header-alert {
    color: #d43852;
    text-transform: uppercase;
    font-weight: bold;
}
div.header-sm { display: inline-block; }
.header-sm {
    color: #199ed8;
}
.header-sm,
.header-alert {
    font-size: 125%;
    margin-top: 8px; 
    margin-bottom: 8px;
}

.fullWidthBg {
    position: relative;
    /*z-index: 0;*/
}
.fullWidthBg:after,
.fullWidthBg:before {
    content: "";
    display: block;
    position: absolute;
    top: 0%;
    bottom: 0%;
    width: 9999px;
}
.fullWidthBg:after {
    left: 100%;
}
.fullWidthBg:before {
    right: 100%;
}
.headerRow,
.headerRow:before,
.headerRow:after {
    background-color: #199ed8;
    color: #FFFFFF;
}
.headerRowMinor,
.headerRowMinor:before,
.headerRowMinor:after {
    background-color: #a1a1a1;
    color: #FFFFFF;
}
.headerRowSuccess,
.headerRowSuccess:before,
.headerRowSuccess:after {
    background-color: #009966;
    color: #FFFFFF;
}
.headerRow,
.headerRow:before,
.headerRow:after,
.headerRowMinor,
.headerRowMinor:before,
.headerRowMinor:after,
.headerRowSuccess,
.headerRowSuccess:before,
.headerRowSuccess:after {
    font-size: 125%;
    text-transform: uppercase;
    text-align: center;
    padding-top: 4px;
    padding-bottom: 4px;
    clear:both;
}
.headerRow,
.headerRowMinor,
.headerRowSuccess {
    margin-top: 8px;
    margin-bottom: 8px;
}

.well {
    webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.05);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.05);
    border-top: 1px solid #e3e3e3;
    border-bottom: 1px solid #e3e3e3;
}
.well:not(td) {
    min-height: 20px;
    padding: 8px;
    margin-bottom: 8px;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
}
.well {
    background-color: #f5f5f5;
}
.wellInsert {
    background-color: #F0F4FB ;
}
.wellMax {
    max-height: 300px;
    overflow-y: auto;
}

.badge {
  display: inline-block;
  min-width: 10px;
  padding: 3px 7px;
  font-size: 80%;
  line-height: 1;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  background-color: #828d97;
  border-radius: 10px;
}
.badge:empty {
  display: none;
}
@media (max-width: 991px) {
    .badge {
	font-size: 64%;
    }
}
button .badge {
  position: relative;
  top: -1px;
}
.badge.badgeMild {
    background-color: #f5bd47;
}
.badge.badgeModerate {
    background-color: #f47d23;
}
.badge.badgeSevere {
    background-color: #c20f0f;
}
.badge abbr {
    border-bottom: none;
}

.panel {
    padding: 6px 10px;
    border-radius: 4px;
    border: 1px solid #e0e2e5;
    margin-bottom: 8px;
    margin-top: 8px;
    background-color: #ffffff;
}
.panelInsert {
    background-color: #F0F4FB ;
}
.panel hr {
    height: 1px;
    background-color: #e0e2e5;
    color: #e0e2e5;
    border: 0;
}
.panel a {
    color: #199ed8;
    text-decoration: none;
}
.panel a:hover {
    text-decoration: underline;
}
.panel button {
    color: #199ed8;
    background-color: #ffffff;
    border: 1px solid #199ed8;
}
.panel button:hover {
    color: #ffffff;
    background-color: #48b9ea;
}
.panel button.primary {
    background-color: #199ed8;
    color: #FFFFFF;
}
.panel button.primary:hover {
    background-color: #48b9ea;
}
.panel button.colorFail {
    border: 1px solid #d43852;
}
.panel button.colorFail:hover {
    background-color: #f2dede;
}
.panel-heading {
    margin-top: -6px; /*match panel padding*/
    margin-left: -10px; /*again*/
    margin-right: -10px; /*and again*/
    margin-bottom: 4px;
    padding: 10px 15px;
    border-bottom: 1px solid transparent;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}
.panel-collapsed-heading {
    margin-bottom: -6px;
    border-radius: 3px;
}
.panelTabHeader {
    position: relative;
    margin: 0px 10px;
    height: 28px;
}
.panelTabHeader + .panel {
    margin-top: 0px;
}
.panel-primary {
    border-color: #199ed8;
}
.panel-primary > .panel-heading {
    color: #ffffff;
    background-color: #199ed8;
    border-color: #199ed8;
}
.panel-warning {
    background-color: #fdf1d8;
    border-color: #f5bd47;
}
.panel-fail {
    background-color: #f2dede;
    border-color: #d43852;
}
.panel-success {
    background-color: #aee0c2;
    border-color: #009966;
}
.panel-inline {
    margin-top: 0px;
    margin-bottom: 0px;
}

.max-height-scroll{
	max-height:600px;
	overflow:auto;
}
.userContentSandbox {
    max-height: 12em;
    overflow-y: auto;
    overflow-x: hidden;
}

.table-container {
    overflow-x: auto;
}
table.searchTable,
table.datatable {
    text-align: left;
    width: 100%; 
	border-collapse:collapse;
}
table.datatableSmall {
    font-size: 80%;
}
@media(max-width:991px) {
    table.searchTable,
    table.datatable,
    table.inputTable {
	font-size: 80%;
    }
    table.datatableSmall {
	font-size: 64%;
    }
    table.datatableSmall input,
    table.datatableSmall select,
    table.datatableSmall textarea {
	padding: 2px 2px;
    }
}
@media(max-width:767px) {
    table.searchTable,
    table.datatable,
    table.inputTable {
	font-size: 64%;
    }
    table.searchTable input,
    table.searchTable select,
    table.searchTable textarea,
    table.datatable input,
    table.datatable select,
    table.datatable textarea, 
    table.inputTable input,
    table.inputTable select,
    table.inputTable textarea {
	padding: 2px 2px;
    }
}
table.datatableLarge {
    font-size: 100%;
}
table.searchTable > tbody > tr > th,
table.searchTable > tbody > tr > td,
table.datatable > tbody > tr > th,
table.datatable > tbody > tr > td { 
    padding: 4px;
}
table.inputTable > tbody > tr > th,
table.inputTable > tbody > tr > td {
    padding: 2px;
}
table.searchTable > tbody > tr > th, 
table.datatable > tbody > tr > th {
    vertical-align: bottom;
}
table.datatable > tbody > tr > td {
    vertical-align: top;
}
table.datatable > tbody > tr > td[rowspan],
table.datatable > tbody > tr > th[rowspan] {
    vertical-align: middle;
}

table.zebraManual,
table.zebra4,
table.zebra {
    border-collapse: collapse;
}
table.zebra > tbody > tr:nth-child(odd),
table.zebra4 > tbody > tr:first-child,
table.zebra4 > tbody > tr:nth-child(4n+0),
table.zebra4 > tbody > tr:nth-child(4n+1),
table.zebraManual > tbody > tr.zebraStripe {
    background-color: #e9e9f7; 
}
table.zebraManual > tbody > tr.zebraNeon {
    background-color: #aee0c2; 
}
table.zebraManual > tbody > tr.zebraNeon:hover {
    background-color: #81daa4; 
}

table.linedRows {
    border-collapse: collapse;
}
table.linedRows > tbody > tr {
    border-bottom: 1px solid #e0e0ef;
}
table.linedRows > tbody > tr:first-child {
    border-bottom: 2px solid #e0e0ef;
}
table.linedRows > tbody > tr:last-child {
    border-bottom: none;
}

table.linedManual {
    border-collapse: collapse;
}
table.linedManual > tbody > tr.linedTop {
    border-top: 1px solid #e0e0ef;
}
table.linedManual > tbody > tr.linedTopBold {
    border-top: 2px solid #e0e0ef;
}
table.linedManual > tbody > tr.linedBottom {
    border-bottom: 1px solid #e0e0ef;
}
table.linedManual > tbody > tr.linedBottomBold {
    border-bottom: 2px solid #e0e0ef;
}

table.linedCells {
    border-collapse: collapse;
}
table.linedCells > tbody > tr > th,
table.linedCells > tbody > tr > td {
    border: 1px solid #e0e0ef;
}
table.linedCells > tbody > tr > th {
    border-bottom: 2px solid #e0e0ef;
}

table.hoverRows > tbody > tr:hover {
    background-color: #e9e9f7;
}

table.centerTh > tbody > tr > th {
    text-align: center;
    vertical-align: middle;
}
table.centerThVert > tbody > tr > th {
    vertical-align: middle;
}
table.centerTd > tbody > tr > td {
    vertical-align: middle;
}

div.trLink,
tr.trLink {
    cursor: pointer;
}
div.trLink:hover,
table > tbody > tr.trLink:hover {
    background-color: #e0e0ef;
}
.trLink:hover > .trLinkException {
    background-color: #e9e9f7;
    cursor: default;
}

.upvoteButton {
	margin-left: 0.5em;
	padding-top: 6px;
	width: 60px;
	text-align:right;
}
.upvoteButton > button {
	margin-left: 0.5em;
	margin-top:-3px;
	float: right;
}

.navbar,
.navbar:before,
.navbar:after {
    background-color: #494c4f;
}
.navbar,
.navbar p,
.navbar h1,
.navbar h2,
.navbar h3,
.navbar h4,
.navbar h5, 
.navbar a {
    color: #FFFFFF;
    margin-bottom: 0;
    margin-top: 0;
}
.navbar button:focus,
.navbar button:hover,
.navbar a:focus,
.navbar a:hover {
    color: #f47d23;
}
.navbar .navbarTitle,
.navbar .navbarTitle h1,
.navbar .navbarNav {
    line-height:60px;
}
.navbarTitle {
    float: left;
}
.navbarNav {
    float: right;
}
.navbarNav a {
    text-decoration: none;
    margin-left: 0.5em;
    margin-right: 0.5em;
}
@media(min-width:992px) {
    .navbarNav a {
	margin-left: 1em;
	margin-right: 1em;
    }
}
.navbarNav a:last-child {
    margin-right: 0;
}
.navbar button,
.navbar .button, 
.navbar .dropdownContent {
    background-color: #59626a;
}
.navbar .dropdownContent a {
    line-height: 42px;
    border-bottom: 1px solid #494c4f;
}
.navbar .dropdownContent a:last-child {
    border-bottom: none;
    margin-right: 0.5em;
}

button.nolink,
button.nolink:hover,
a.nolink:hover,
input[type='checkbox'].nolink + label {
    color: inherit !important;
    background-color: inherit !important;
    cursor: default;
}

.patientTabs {
    /*margin-bottom: 4px;*/
}
.manageProfileTabs {
    /*margin-bottom: 4px;*/
}
.authTabs button,
.progAdminTabs button,
.healthNetworkTabs button,
.supervisorTabs button,
.patientTabs button,
.authDetailTabs button,
.searchTabs button,
.worklistTabs button,
.manageProfileTabs button {
    border: 1px solid #e0e2e5;
    margin-right: 1%;
    margin-bottom: 8px;
    background-color: #ffffff;
    color: #199ed8;
}
.authTabs button,
.progAdminTabs button,
.healthNetworkTabs button,
.supervisorTabs button,
.searchTabs button,
.patientTabs button,
.authDetailTabs button,
.worklistTabs button {
    font-size: 125%
}
/*.manageProfileTabs button {
    font-size: normal; 
}*/
.authTabs button:hover,
.authTabs button.selected,
.progAdminTabs  button:hover,
.progAdminTabs  button.selected,
.healthNetworkTabs  button:hover,
.healthNetworkTabs  button.selected,
.supervisorTabs button:hover,
.supervisorTabs button.selected,
.searchTabs button:hover,
.searchTabs button.selected,
.patientTabs button:hover,
.patientTabs button.selected, 
.authDetailTabs button:hover,
.authDetailTabs button.selected, 
.manageProfileTabs button:hover,
.manageProfileTabs button.selected,
.worklistTabs button:hover,
.worklistTabs button.selected {
    color: #ffffff;
    background-color: #199ed8;
}
.authTabs button.selected:hover,
.progAdminTabs  button.selected:hover,
.healthNetworkTabs  button.selected:hover,
.supervisorTabs button.selected:hover,
.searchTabs button.selected:hover,
.patientTabs button.selected:hover, 
.authDetailTabs button.selected:hover, 
.manageProfileTabs button.selected:hover,
.worklistTabs button.selected:hover {
    background-color: #48b9ea;
}
.patientTabs button {
    margin-right: 0px;
}

.tabGroup > :not(:first-child) {
    margin-left: -2px;
}
.tabGroup > :not(:last-child) {
    margin-right: -2px;
}
.tabGroup {
    display:inline;
}

.modalTabGroup, 
.panelTabGroup {
    position: absolute;
    right: 20;
}
.modalTabGroup > input[type="radio"],
.panelTabGroup > input[type="radio"] {
    position: absolute;
    opacity: 0;
}
.modalTabGroup > label,
.panelTabGroup > label {
    display: inline-block;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    background-color: #ffffff;
    padding: 4px 8px;
    cursor: pointer;
}
.modalTabGroup > label {
    border: 1px solid #111111;
}
.panelTabGroup > label {
    border: 1px solid #e0e2e5;
}
.modalTabGroup > input[type="radio"]:checked + label,
.modalTabGroup > label:hover,
.panelTabGroup > input[type="radio"]:checked + label,
.panelTabGroup > label:hover {
    color: #199ed8;
}
.modalTabGroup > input[type="radio"]:checked + label,
.panelTabGroup > input[type="radio"]:checked + label {
    border-bottom: 1px solid #ffffff;
}

.required-asterisk {
    color: #C20F0F;
}
.required-asterisk:hover,
.required-asterisk:visited,
.required-asterisk:active {
    color: #961818;
}

.calendar-button {
    cursor: pointer;
}

.qtnSingleCheckbox label,
.labelText,
.labelHeader {
    color: #222222;
    text-transform: uppercase;
    font-size: 80%;
    margin-right: 4px;
    display: inline-block;
    /*vertical-align: top;*/
    padding-top: 2px;
}
.labelHeader {
    font-size: 100%;
    text-decoration: underline;
}
.labelTextMultiline {
    vertical-align: top;
    float: left;
}
label > .labelTextMultiline {
    padding-top: 1em;
}
.labelTextVariableHeight {
    vertical-align: top;
}
.labelled-data {
    display: inline-block;
}
.labelled-data > p:first-child {
    margin-block-start: 0; /*specific adjustment for html rendering out of db, eg support*/
}

.form-note {
    margin-left: 4px;
    margin-right: 4px;
    font-style: italic;
    color: #199ed8;
}

.button-group {
    margin-top: 8px;
    margin-bottom: 8px;
}
.button-group > button:not(:first-child):not(.float-right) {
    margin-left: 8px;
}
.button-group > button.float-right:not(:first-child) {
    margin-right: 8px;
}

.button-group-vertical > button {
    display: block;
    margin-bottom: 8px;
}

div.attachmentDoc {
   display: inline-block;
}
.attachmentDoc > a {
    text-decoration: underline;
}
.attachmentDoc > a > img {
    text-decoration: none;
    margin-bottom: -3px;
    margin-right: 12px;
    margin-left: 0.3em;
}

.textareaContainer {
    width: 100%;
}

.messageRow:empty {
    display: none;
}

.inlineForm {
    margin:0;
    display: inline-block;
}
.inlineFormHasLeftSibling {
    margin-left: 1em;
}

.img-responsive {
    max-width: 100%;
}

.frontpageLogo {
    margin-top: 20px;
}
@media(min-width:768px) {
    .frontpageLogo {
	margin-top: 60px;
    }
}
/*@media(min-width:992px) {
    .frontpageLogo {
	margin-top: 70px;
    }
}
@media(min-width:1200px) {
    .frontpageLogo {
	margin-top: 80px;
    }
}*/
.globalnavLogo {
    padding-bottom: 5px;
    margin-right: 6px;
    vertical-align: middle;
}
@media(max-width:991px) {
    .globalnavLogo {
	width: 40px;
	padding-bottom: 10px;
    }
}
.globalnavText {
    display: inline-block;
}

table > tbody > tr > td.noResults,
.noResults {
    padding: 15px;
    font-style: italic;
}
table > tbody > tr > td.noResultsHelp,
.noResultsHelp {
    padding: 15px;
}
  
.sortableHeader {
    cursor: pointer;
    white-space: nowrap;
}
.sortableHeaderLabel {
    display: inline-block;
    border-bottom: 1px dotted #777777;
    margin-right: 2px;
}
.sortableHeader > .glyphicon-chevron-up,
.sortableHeader > .glyphicon-chevron-down {
    font-size: 80%;
}
@media(max-width:991px) {
    .sortableHeader > .glyphicon-chevron-up,
    .sortableHeader > .glyphicon-chevron-down {
	font-size: 64%;
    }
}

.collapsing {
    transition-property: max-height, opacity;
    transition-duration: 1s;
    transition-timing-function: ease-out;
    /*max-height: 7em;*/
    /* because each case is different, use an inline definition of max-height*/
    overflow-y: hidden;
    opacity: 1;
}
.collapsing.collapsed {
    min-height: 0;
    max-height: 0 !important;
    overflow: hidden;
    opacity: 0;
}

.input-group > label:not(:last-child):not(.float-right),
.input-group .grouped-input:not(:last-child):not(.float-right) {
    margin-right: 6px;
}
.input-group > label.float-right:not(:last-child),
.input-group > .grouped-input.float-right:not(:last-child) {
    margin-left: 6px;
} 

.newlineRadio > label {
    display: block;
}

.colHeader {
    text-align: center;
    font-weight: bold;
}

.shelterBedsNote {
    height: 4em;
    float: left;
}
.shelterBedsNoteButtons {
    display: inline-block;
    float: left;
    margin-left: 4px;
}
@media(min-width:992px) {
    .shelterBedsNote {
	width: 80%;
    }
    .shelterBedsNoteButtons {
	padding-top: 8px; /*matchInput*/
    }
}
.shelterBedsButtonPartner {
    margin-right: 3em;
}
.shelterBedsButtons {
    float: right;
}

.limitedEnrollButton > div {
    font-size: 80%;
}
.limitedEnrollButton > div:not(:first-child) {
    margin-top: -4px;
}
@media(max-width:991px) {
    .limitedEnrollButton > div:not(:first-child) {
	margin-top: -2px;
    }
    .limitedEnrollButton > div {
	font-size: 64%;
    }
}

.loginMessage {
    margin: 24px 12px;
}
.loginMessage a {
    color: #199ed8;
    text-decoration: none;
}
.loginMessage a:hover {
    text-decoration: underline;
}
@media(min-width:992px) {
    .loginMessage {
	font-size: 125%;
    	margin: 48px 24px;
    }
    .loginMessage > p {
	margin-block-start: 0.75em;
	margin-block-end: 0.75em;
    }
}

.hr {
    border-bottom: 1.5px solid #999999;
}

.fixedTextarea {
    height: initial;
    resize: none;
}
.textareaReadout {
    width: 100%;
    padding: 6px 4px;
    border-radius: 4px;
    border: 1px solid #e0e2e5;
    background-color: #FFFFFF;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    overflow-y: scroll;
}

input[type='checkbox'].qtnCircleOne {
    display: none;
}
/*same as button + panel button style*/
input[type='checkbox'].qtnCircleOne + span {
    cursor: pointer;
    border-radius: 99px;
    padding: .38em .75em;
    background-color: #ffffff;
    border: 1px dashed #59626a;
    color: #59626a;
    display: inline-block;
}
input[type='checkbox'].qtnCircleOne + span:hover,
input[type='checkbox'].qtnCircleOne:checked + span {
    color: #199ed8;
    border: 1px solid #199ed8;
}
input[type='checkbox'].qtnCircleOne:disabled + span,
input[type='checkbox'].qtnCircleOne:disabled + span:hover {
    color: #cccccc;
    border: 1px dashed #cccccc;
    cursor: default;
}

.nowrap {
    white-space: nowrap;
}

.qtnLikeSpan {
    display: inline-block;
}

.capcQtnFunction .labelText {
    width: 155px; /*magic number for Teresa*/
}
@media(min-width:992px) {
    .capcQtnFunction select {
	max-width: unset; 
	width: 880px; /*magic number for Teresa*/
    }
}

.compressedParagraphs p,
.compressedParagraphs ul,
.compressedParagraphs ol,
.compressedParagraphs dd {
    margin-block-start: 0em;
    margin-block-end: 0em;
}

.requiredGroup {
    border-width: 0px;
    border-left-width: 4px;
    border-color: #199ed8;
    border-style: solid;
    padding-left: 8px;
    margin-left: -12px;
}

input.yearInput {
    width: 4em;
}
