html {
    display: none;
    /* hide all content until sure we are not being "clickJacked" */
}

html * {
    margin: 0;
    /*padding: 0; SELECT NOT DISPLAYED CORRECTLY IN FIREFOX */
}

/* GENERAL */

.spinner {
    padding: 5px;
    position: absolute;
    right: 0;
}

.banner {}

.logo {
    float: left;
}

div.status {
    float: right;
    padding: 25px;
}

p.status {
    text-align: right;
}

.bannerreset {
    clear: both;
}

.hidden {
    visibility: hidden;
}

.right {
    width: 100%;
    text-align: right;
}

body {
    background: #fff;
    color: #333;
    font: 11px verdana, arial, helvetica, sans-serif;
}

a {
    background-color: transparent;
}

a:link, a:visited, a:hover {
    color: #666;
    outline: 0;
    font-weight: bold;
    text-decoration: none;
}

h1 {
    color: #006dba;
    font-weight: normal;
    font-size: 16px;
    margin: .8em 0 .3em 0;
}

h2 {
    color: #006dba;
    font-weight: normal;
    font-size: 12px;
    margin: .8em 0 .3em 0;
}

h3 {
    color: #006dba;
    font-weight: normal;
    font-size: 11px;
    margin: .4em 0 .2em 0;
}

ul {
    padding-left: 15px;
}

img {
    border: 0;
}

input, select, textarea, button {
    background-color: #fcfcfc;
    border: 1px solid #ccc;
    font: 11px verdana, arial, helvetica, sans-serif;
    margin: 2px 0;
    padding: 2px 4px;
}

select {
    padding: 2px 2px 2px 0;
}

textarea {
    width: 250px;
    height: 150px;
    vertical-align: top;
}

input:focus, select:focus, textarea:focus {
    border: 1px solid #b2d1ff;
}

.body {
    /* float: left;*/
    margin: 0 15px 10px 15px;
}

.json p {
    margin-left: 15px;
}

/* NAVIGATION MENU */

.nav {
    background: #fff;
    border: 1px solid #ccc;
    border-style: solid none solid none;
    margin-top: 5px;
    padding: 7px 12px;
}

.menuButton {
    font-size: 10px;
    padding: 0 5px;
}

.menuButton a {
    color: #333;
    padding: 4px 6px;
}

/* MESSAGES AND ERRORS */

.message {
    background: #f3f8fc;
    border: 1px solid #b2d1ff;
    color: #006dba;
    margin: 10px 0 5px 0;
    padding: 5px 5px 5px 30px
}

.alert {
    color: #cc0000;
}

div.errors {
    background: #fff3f3;
    border: 1px solid red;
    color: #cc0000;
    margin: 10px 0 5px 0;
    padding: 5px 0 5px 0;
}

div.errors ul {
    list-style: none;
    padding: 0;
}

div.errors li {
    line-height: 16px;
    padding-left: 30px;
}

td.errors select {
    border: 1px solid red;
}

td.errors input {
    border: 1px solid red;
}

/* TABLES */

table {
    border: 1px solid #ccc;
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

.dialog table {
    border: 0;
}

tr {
    border: 0;
}

tr.clickableRow, tr.toggleRow {
    cursor: pointer;
}

td, th {
    font: 11px verdana, arial, helvetica, sans-serif;
    line-height: 12px;
    padding: 5px 6px;
    text-align: left;
    vertical-align: top;
}

th {
    background: #fff url(../images/shadow.jpg);
    color: #666;
    font-size: 11px;
    font-weight: bold;
    line-height: 17px;
    padding: 2px 6px;
}

th a:link, th a:visited, th a:hover {
    color: #333;
    display: block;
    font-size: 10px;
    text-decoration: none;
    width: 100%;
}

th.asc a, th.desc a {
    background-position: right;
    background-repeat: no-repeat;
}

th.asc a {
    background-image: url(../images/sorted_asc.gif);
}

th.desc a {
    background-image: url(../images/sorted_desc.gif);
}

.checkColorStyle {
    background: #b2d1ff;
}

.odd {
    background: #f7f7f7;
}

.even {
    background: #fff;
}

/* LIST */

.list table {
    border-collapse: collapse;
}

.list th, .list td {
    border-left: 1px solid #ddd;
}

.list th:not(.nohover):hover, .list tr:not(.nohover):hover {
    background: #b2d1ff;
}

/* FILTER */

div.search {
    width: 100%;
}

div.search span {
    display: inline-table;
    padding-right: 10px;
}

.filterButtons {
    background: #fff url(../images/shadow.jpg) bottom repeat-x;
    border: 1px solid #ccc;
    border-bottom: 0;
    color: #666;
    font-size: 10px;
    overflow: hidden;
    padding: 10px 3px;
}

.filterButtons a {
    background: #fff;
    border: 1px solid #ccc;
    border-color: #ccc #aaa #aaa #ccc;
    color: #666;
    margin: 0 3px;
    padding: 2px 6px;
}

.filterButtons span {
    padding: 2px 3px;
}

/* PAGINATION */

.paginateButtons {
    background: #fff url(../images/shadow.jpg) bottom repeat-x;
    border: 1px solid #ccc;
    border-top: 0;
    color: #666;
    font-size: 10px;
    overflow: hidden;
    padding: 10px 3px;
}

.paginateButtons a {
    background: #fff;
    border: 1px solid #ccc;
    border-color: #ccc #aaa #aaa #ccc;
    color: #666;
    margin: 0 3px;
    padding: 2px 6px;
}

.paginateButtons span {
    padding: 2px 3px;
}

/* DIALOG */

div.dialog {
    padding: 5px 0;
    border: 1px solid #ccc;
}

div.gutterleft {
    position: relative;
    top: -35px;
    width: 13em;
}

.prop {
    padding: 5px;
}

.prop .name {
    display: inline-block;
    text-align: left;
    width: 15%;
    white-space: nowrap;
    margin-top: 5px;
    vertical-align: middle;
}

.prop .value {
    text-align: left;
    width: 85%;
    vertical-align: middle;
}

.pwRequirements {
    position: absolute;
    display: none;
    left: 100px;
    top: 20px;
    color: #006DBA;
    background-color: #EEEEEE;
    border-radius: 8px;
}

.pwRequirements:before {
    /* The triangle - a zero width box with a 12px border only on the right */
    content: "";
    position: absolute;
    left: -24px;
    width: 0;
    height: 0;
    border: 12px solid transparent;
    border-right-color: #DDDDDD;
}

.pwRequirements div {
    padding: 8px;
}

.bad {
    color: #CC0000;
}

.ok {
    color: #CCCC00;
}

.good {
    color: #00CC00;
}

/* ACTION BUTTONS */

.buttons, button {
    background: #fff;
    border: 0;
    color: #666;
    font-size: 10px;
    margin-top: 5px;
    overflow: hidden;
    padding: 0;
}

.buttons input, button {
    background: #fff;
    border: 0;
    color: #000011;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    margin-left: 3px;
    overflow: visible;
    padding: 2px 6px;
    border-width: 2px;
    border-color: #005eb8;
    border-style: solid;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.buttons input:hover {
    color: #990000;
}

.innerButton a {
    background: #fff;
    border: 1px solid #005eb8;
    color: #333;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    margin-left: 3px;
    overflow: visible;
    padding: 2px 6px;
    border-radius: 8px;
}

.innerButton button:disabled {
    background-color: #666666;
}

/* LOGIN */

.login {
    width: 265px;
    border: 1px solid #ccc;
}

.message.login {
    width: 230px;
    /* Note: this width value should be calculated from
		the login width minus the left and right margin of the message class
	*/
}

.login .name {
    display: table-cell;
}

.login .prop .name {
    width: 100%;
    text-align: right;
    padding-right: 3px; //border: 1px solid red;
}

.login .value {
    display: table-cell;
    text-align: right;
}

.segmentTitle {
    color: #006dba;
    font-weight: normal;
    font-size: 16px;
    margin: .8em 0 .3em 0;
}

.segmentContainer {
    float: left;
    border-radius: 5px;
    margin: 1px;
    padding: 1px 0 0 5px;
}

.tagDisp {
    /* How to display tags */
    background-color: #DD6666;
}

.segDisp {
    /* How to display segments */
    background-color: #DDDD66;
}

.tagName {
    font-weight: bold;
}

.segmentName {
    font-weight: bold;
}

.xButton {
    border: none;
    width: 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    background-color: rgba( 0, 0, 0, 0);
    color: #000;
    border-radius: 5px;
    margin: 2px;
    padding: 2px;
    transition-duration: 0.4s;
}

.xButton:hover {
    cursor: pointer;
    background-color: #000;
    color: #FFF;
}

/* -------------------------------------------- */

/* MENU */

.tabmenu {
    font-size: 1.0em;
    white-space: nowrap;
    margin: 0;
    margin-left: 10px;
}

.tabmenu * {
    box-sizing: border-box;
}

.tabmenu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.tabmenu a {
    display: block;
    /* fill the space */
    color: #000011;
}

.tabmenu ul a:hover {
    color: #990000;
}

.tabmenu ul ul a:hover {
    /* color: inherit; to reset the links in the drop-downs */
}

.tabmenu ul ul a {
    display: inline-block;
}

.tabmenu ul li {
    /* top/default menu items */
    position: relative;
    /* Don't push down the page - display over top */
    float: left;
    /* width: 8em; for fixed width top menus */
    margin-right: 3px;
    border-width: 2px;
    border-bottom-width: 0;
    border-color: #005eb8;
    border-style: solid;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    padding-left: 6px;
    padding-right: 6px;
    padding-top: 3px;
    padding-bottom: 1px;
    background-color: white;
}

.tabmenu ul li:hover ul {
    position: absolute;
    display: inline-block;
}

.tabmenu ul ul {
    /* first level drop-down */
    position: relative;
    display: none;
    width: auto;
    left: -2px;
    top: 19px;
    /* Needs to be immediately adjacent in order for the menu to stay */
    font-size: 1.0em;
    border-color: #005eb8;
    /* bottom and right border color */
    border-style: solid;
    border-top-width: 3px;
    border-right-width: 2px;
    border-bottom-width: 2px;
    border-left-width: 0;
    z-index: 80;
    box-shadow: 3px 3px 5px #888899;
}

.tabmenu ul ul li {
    /* drop-down menu items */
    clear: left;
    height: 2em;
    width: 100%;
    margin: 0;
    background-color: #DDDDDD;
    border-bottom-width: 0;
    /* new */
    border-right-width: 0;
    /* to allow the item border to shine through */
    border-radius: 0;
    /* to override the top menu settings */
}

.tabmenu ul ul li:hover {
    background-color: #EEEEEE;
}

.tabmenu ul ul a {
    color: #000011;
    font-weight: normal;
    text-shadow: 0 2px 2px rgba(255, 255, 255, 0.7);
}

.tabmenu ul ul ul {
    /* fly-out menu blocks */
    visibility: hidden;
    border-top-width: 0;
    position: relative;
    left: 7.5em;
    top: 3px;
    z-index: 90;
}

.tabmenu ul li:hover>ul {
    visibility: visible;
}

.tabmenu ul ul ul li {
    /* fly-out items */
    position: relative;
    background-color: #CCCCCC;
}

/* overrides for the top level menu */

a.toplink {
    /* color: #000011; */
}

.toplink {
    font-weight: bold;
    font-size: 1.1em;
}

.menubottom {
    height: 4px;
    border: 0;
    z-index: -1;
    background-color: #005eb8;
    clear: both;
    margin-bottom: 10px;
}

/* -------------------------------------------- */

/* PATIENT */

.patient {
    /* outer box for the patient area */
    margin-top: 10px;
}

.patient .dialog {
    /* main large box on the right */
    /* position cannot be relative for the date picker to work - strange, I know */
    margin-left: 13em;
    z-index: 5;
    /* Slide the main box under the navigation a little so the edge of the nav covers the edge of the box */
    border: 2px solid #333333;
    padding: 15px;
    min-height: 200px;
}

/* "info" is the main table near the top of the dialog section */

.patient .info td {
    text-align: right;
    vertical-align: middle;
}

.patient .info td.infodata {
    text-align: left;
}

.patient .pdcColumn {
    width: 33%;
}

.patient td.infofooter {
    text-align: left;
    font-style: italic;
}

.tableft {
    float: left;
    position: relative;
    z-index: 10;
    width: 13em;
    margin-top: 25px;
    border-style: solid;
    border-color: #333333;
    border-width: 1px 0 1px 2px;
}

.tableft ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.tableft li {
    padding: 3px;
    display: block;
    border-style: solid;
    border-color: #333333;
    border-width: 1px 2px 1px 0;
    background-color: #DDDDDD;
}

.tableft ul li a {
    display: inline-block;
    width: 100%;
}

.navSelect {
    border-right-color: white !important;
    background-color: white !important;
}

.faded {
    background-color: #DDDDDD;
}

.patientInner {
    width: 99%;
}

/* Iconic indicators for the MedSync states */

.medSyncState0:after {
    /* INELIGIBLE */
    position: absolute;
    content: "X";
    background-color: grey;
    padding: 0 3px;
    border-radius: 3px;
}

.medSyncState10:after {
    /* DECLINED */
    position: absolute;
    content: "D";
    color: red;
    background-color: black;
    padding: 0 3px;
    border-radius: 3px;
}

.medSyncState20:after {
    /* ENROLLED */
    position: absolute;
    content: "\221a";
    background-color: lime;
    padding: 0 3px;
    border-radius: 3px;
}

.medSyncState30:after {
    /* ELIGIBLE */
    position: absolute;
    content: "?";
    background-color: turquoise;
    padding: 0 3px;
    border-radius: 3px;
}

.medSyncState40:after {
    /* PENDING */
    position: absolute;
    content: "P";
    background-color: yellow;
    padding: 0 3px;
    border-radius: 3px;
}

.medSyncState50:after {
    /* UNSYNCHRONIZED */
    position: absolute;
    content: "U";
    background-color: yellow;
    padding: 0 3px;
    border-radius: 3px;
}

.medSyncState65:after {
    /* PRE_REFILL_UPDATES_REQUIRED */
    position: absolute;
    content: "R";
    background-color: yellow;
    padding: 0 3px;
    border-radius: 3px;
}

.medSyncState70:after {
    /* REFILL_FAILED */
    position: absolute;
    content: "F";
    font-weight: bold;
    background-color: yellow;
    padding: 0 3px;
    border-radius: 3px;
}

.mtmOpp {
    position: absolute;
    font-weight: bold;
    background-color: yellow;
    padding: 0 3px;
    border-radius: 3px;
}

.mtmNone {
    position: absolute;
    font-weight: bold;
    background-color: lime;
    padding: 0 3px;
    border-radius: 3px;
}

.immuOpp {
    position: absolute;
    font-weight: bold;
    background-color: yellow;
    padding: 0 3px;
    border-radius: 3px;
}

.immuNone {
    position: absolute;
    font-weight: bold;
    background-color: lime;
    padding: 0 3px;
    border-radius: 3px;
}

/* -- Patient Meducation --*/

#meducationMenu {
    color: #666;
    font-weight: bold;
    padding: 3px;
    display: block;
    border-style: solid;
    border-color: #333333;
    border-width: 1px 2px 1px 0;
    background-color: #DDDDDD;
}

#meducationMenu:hover>.meducationOption {
    width: 75%;
    border-left: 2px solid #333333;
    display: inline-block;
    margin-left: -50px;
    margin-top: 17.5px;
    border-top: none;
    background-color: #FFFFFF;
}

.meducationOption {
    position: absolute;
    display: none;
    border-bottom: 1px solid #333;
}

.meducationOption li {
    background-color: #DDD;
}

.meducationOption:hover {
    width: 75%;
    display: inline-block;
}

.meducationOption li:hover {
    font-weight: 100;
    color: #990000;
    background-color: #FFF;
}

.fontSelect {
    display: inline-block;
    margin-left: 5%;
}

.langSelect {
    display: inline-block;
}

.genMeduSubmit {
    background-color: #005eb8;
    font-weight: bold;
    color: #FFFFFF;
}

.genMeduSubmit:hover {
    cursor: pointer;
}

.addToSegment {
    background-color: #005eb8;
    font-weight: bold;
    color: #FFFFFF;
}

.addToSegment:hover {
    cursor: pointer;
}

/*-- End Patient Meducation --*/

/* ------------------------------------ */

.fontSelect {
    display: inline-block;
    margin-left: 5%;
}

.langSelect {
    display: inline-block;
}

.genMeduSubmit {
    background-color: #005eb8;
    font-weight: bold;
    color: #FFFFFF;
}

.genMeduSubmit:hover {
    cursor: pointer;
}

/*-- End Patient Meducation --*/

/* ------------------------------------ */

/* smaller screens */

@media (max-width: 722px) {
    .body {
        margin: 0 5px 5px 5px;
    }
    div.status {
        padding: 5px 5px 15px 5px;
        font-size: 70%;
    }
    .tabmenu {
        margin-left: 2px;
    }
    .logo {
        width: 40%;
    }
    .logo img {
        width: 100%;
    }
}

.menuTab {
    display: inline-block;
}

.immunizationFollowup {
    font-weight: bold;
}

.immunizationFollowup.CountColor_Zero {
    color: #0f0;
}

.immunizationFollowup.CountColor_NotZero {
    color: #f00;
}

.inactiveImmunization {
    color: #aaa;
}

.notificationContainer {
    position: fixed;
    right: 10px;
    bottom: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border: 3px solid #005eb8;
    border-bottom: none;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    background: inherit;
    opacity: .80;
    visibility: hidden;
    max-height: 5px;
    -webkit-transition: height 1s;
    -moz-transition: height 1s;
    -o-transition: height 1s;
    transition: max-height 1s;
}

.notificationContainer:hover {
    max-height: 70%;
    overflow-y: auto;
    transition-delay: 1s;
}

#notificationTableContainer {}

.notificationContainerTitle {
    text-align: center;
    font-weight: bold;
}

.hideNotificationContainerLink {
    font-size: 0.75em;
}

.progressBarContainer {
    width: 90%;
    margin: 0 auto;
    border: 1px solid black;
}

.progressBar {}

.progressBarText {
    font-weight: bold;
}

.criteriaProperty {
    font-weight: bold;
}

tr>td {
    vertical-align: middle;
}

td.top {
    vertical-align: top;
}

.ivrActive {
    text-align: center;
    font-weight: bold;
    background: #00ff00;
}

.ivrStopping {
    text-align: center;
    font-weight: bold;
    background: #ffff00;
}

.ivrInactive {
    text-align: center;
    font-weight: bold;
    background: #ff704d;
}

.modal {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    text-align: center;
}

.modal>div {
    color: #000;
    font-weight: bold;
    width: 420px;
    padding: 10px;
    padding-bottom: 20px;
    background: rgba( 255, 255, 255, 1);
    max-width: 80%;
    border: 0;
    font-size: 1.2em;
    border-radius: 10px;
    border: 2px solid #005eb8;
}

audio {
    margin: 10px;
}

.newVoiceMail {
    font-weight: bold;
    color: #0f0;
}

.voiceMailListenButton {
    float: left;
    position: relative;
    top: -3px;
}

.invisibleModal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    z-index: 1000;
    background: black;
}

.warning {
    display: inline-block;
    font-weight: bold;
    color: red;
    padding: 2px;
}

.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: white;
    color: black;
    border-color: black;
    border-style: solid;
    text-align: center;
    padding: 5px 5px;
    border-width: 2px;
    border-radius: 6px;
    position: absolute;
    z-index: 1;
    right: 105%;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}

.simple-button {
    /* display: inline-block; */
    width: 50px !important;
    margin: 3 auto;
    /* border: 1px solid lightgrey; */
    text-align: center;
    padding: 3px;
    font-size: 1.5em;
}

.simple-button.plus {
    color: green;
}

.simple-button.minus {
    color: red;
}

.empty-cell {
	background-color: lightgrey;
}

.last-row {
	border-bottom: 1px solid grey;
}

.no-border {
	border: none !important;
}
