.clsField, .clsValue{text-align:left;display: table-cell;padding:10px;}
.clsField{font-weight: bold;border-bottom: solid 1px #e9e9e9}
.clsValue{white-space: pre-wrap;       /* css-3 */
    white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
    white-space: -pre-wrap;      /* Opera 4-6 */
    white-space: -o-pre-wrap;    /* Opera 7 */
    word-wrap: break-word;       /* Internet Explorer 5.5+ */
    border-bottom: solid 1px #e9e9e9;  max-width: 300px;
    font-size: 110%;
    line-height: 180%;
    text-align: justify;
}
.clsRow {display: table-row;overflow: hidden;}
.clsDoc{border-bottom: dotted 1px burlywood}
em{font-size:150%;color:red;background-color: cornsilk}
#searchDiv{text-align: center;display: table;width: 100%;}
#entityInput, #searchInput{height: 40px;font-size: 110%;width: 400px;color:#678;padding: 5px;margin:5px;}
#searchDiv div{display: table-row;}
#entityInput{width: 160px}
#btnSearch{height: 40px;font-size: 120%; color: dimgrey}
#pageCtrl{width: 100%;text-align: center;margin: 10px;display:none;margin-top:20px}
.clsActive{font-size:120%;text-decoration: underline;color: #2980b9;cursor:pointer}
.clsPageInfo {margin-left:30px;margin-right:30px;font-size: 100%;font-style:italic}
#results{width: 90%;text-align: center;display: table}
.banner{color:#888;font-style:italic;text-align: left;display: table-row;}
.banner div{display: table-cell;vertical-align: middle;}
.banner .head{padding-left: 10px;font-size: 130%;line-height: 80%}
.head span{font-size:50%;}
.clsMore{margin:30px;text-align:right;cursor:pointer;font-size:120%;color:#2980b9;background-color: floralwhite;border:solid 1px #3085d6;padding-left: 5px;padding-right: 5px}
.clsMore:hover{color:#d98f34;border: solid 1px #dd5555}
.clsTextCtn{display: none}
.full{display: block}
#mainDiv{width: 80%;margin: auto;}
nav#primaryNav {
    background-color: #2980b9;
    height: 22px;
    margin-top: 1.6em;
    color:#eee;
    text-align:right;
}
nav span{
    margin-right:20px;
    font-size:80%;
}
#searchDiv label{font-size: 126%;padding-right: 10px;padding-left:16px;color: #999999;}
#entitySummHeader, #entitySumm{width:100%;text-align:center;background-color: #F9F9f9;display:table;visibility: hidden;}
.sumRow{display: table-row;}
.sumCol{display: table-cell;padding:5px;}
.headerRow .sumCol{font-size: 120%;font-weight: bold;border-bottom:solid #999999 1px}
.sumCol span{font-size:160%;padding-top:10px;cursor: pointer;color:#3498db;}
.sumCol span:hover{color:#dd5555}
#sumTermDiv{color:#888;text-align: center;font-size: 160%;margin-top: 50px;margin-bottom:30px;}
.selected{background-color: #facea8}
.projectName{padding-left:30px;font-size: 220%}
.btnCohort{margin-left:16px;font-size:100%;color:blue;text-decoration:underline;cursor:pointer}
.fbed{background-color:#fda;font-weight:bold;font-size:110%;color:#3a3}
.sumCol span.num {font-size:80%;margin-left:3px;margin-right:3px;font-style:italic}
.sumCol span.wrong{color:#a66}
.sumCol span.correct{color:#3a3}

#conceptMapDiv div{width:300px;margin-right:6px;background-color: aliceblue;text-align: left;
    float:left;line-height: 30px; overflow: auto;margin:2px;vertical-align: middle; white-space: nowrap;}
#conceptMapDiv label{font-size:100%;margin-left: 2px;color:#333}


.bar {
    fill: steelblue;
}

.bar:hover {
    fill: brown;
}
#chartToolTip{
    text-align: center;
    width: 80%;
    line-height: 28px;
    height: 28px;
    padding: 2px;
    font-size: 100%;
    background: lightsteelblue;
    border: 0px;
}

/**
 * Tooltip Styles
 */

/* Add this attribute to the element that needs a tooltip */
[data-tooltip] {
    position: relative;
    z-index: 2;
    cursor: pointer;
}

/* Hide the tooltip content by default */
[data-tooltip]:before,
[data-tooltip]:after {
    visibility: hidden;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=0);
    opacity: 0;
    pointer-events: none;
}

/* Position tooltip above the element */
[data-tooltip]:before {
    position: absolute;
    bottom: 150%;
    left: 50%;
    margin-bottom: 5px;
    margin-left: -80px;
    padding: 7px;
    width: 160px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    background-color: #000;
    background-color: hsla(0, 0%, 20%, 0.9);
    color: #fff;
    content: attr(data-tooltip);
    text-align: center;
    font-size: 14px;
    line-height: 1.2;
}

/* Triangle hack to make tooltip look like a speech bubble */
[data-tooltip]:after {
    position: absolute;
    bottom: 150%;
    left: 50%;
    margin-left: -5px;
    width: 0;
    border-top: 5px solid #000;
    border-top: 5px solid hsla(0, 0%, 20%, 0.9);
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    content: " ";
    font-size: 0;
    line-height: 0;
}

/* Show tooltip content on hover */
[data-tooltip]:hover:before,
[data-tooltip]:hover:after {
    visibility: visible;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=100);
    opacity: 1;
}

/* popup */

.overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 500ms;
    visibility: hidden;
    opacity: 0;
}
.overlay:target {
    visibility: visible;
    opacity: 1;
}

.popup {
    margin: 70px auto;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    width: 80%;
    height: 80%;
    position: relative;
    transition: all 5s ease-in-out;
    overflow: auto;
}

.popup h2 {
    margin-top: 0;
    color: #333;
    font-family: Tahoma, Arial, sans-serif;
}
.popup .close {
    position: absolute;
    top: 20px;
    right: 30px;
    transition: all 200ms;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
}
.popup .close:hover {
    color: #06D85F;
}
.popup .content {
    max-height: 30%;
    overflow: auto;
}

.modal__close {
    position: absolute;
    right: 1em;
    top: 1em;
    width: 1.1em;
    height: 1.1em;
    cursor: pointer;
}

.modal__close:after,
.modal__close:before {
    content: '';
    position: absolute;
    width: 2px;
    height: 1.5em;
    background: #ccc;
    display: block;
    transform: rotate(45deg);
    left: 50%;
    margin: -3px 0 0 -1px;
    top: 0;
}

.modal__close:hover:after,
.modal__close:hover:before {
    background: #aaa;
}

.modal__close:before {
    transform: rotate(-45deg);
}


@media screen and (max-width: 960px) {
    .box {
        width: 70%;
    }

    .popup {
        width: 70%;
    }
}

#cohortDiv, #validatedDocDiv{
    /*visibility: hidden;*/
    display:none;
    text-align: center;
}
#cohortText, #validatedDocText{height: 40px;font-size: 60%;width: 400px;color:#678;padding: 5px;margin:5px;}

.dsSecTitle {
    line-height: 38px;
    padding:6px;
    background-color: #f3f2f2;
    font-size: 120%;
    font-style: italic;
    text-align: left;
    margin-top: 30px;
    margin-left: 20px;
    cursor:pointer;
}
.dsSecTitle:hover{
    background-color: #ffedca;
}
div.full{
    text-align: left;
    margin-left: 20px;
    white-space: pre-wrap;       /* css-3 */
    white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
    white-space: -pre-wrap;      /* Opera 4-6 */
    white-space: -o-pre-wrap;    /* Opera 7 */
    word-wrap: break-word;       /* Internet Explorer 5.5+ */
    line-height: 160%;
    font-size:110%;
    text-align: justify;
    border: solid 1px #ffddaa;
    padding: 10px;
}
div.full em{
    font-size:120%;
    color:#2980b9;
    background-color: transparent;
    border-bottom: dashed 1px olivedrab;
    cursor:pointer;
}
.dsSec{
    display: none;
}
.openSec{
    background-color: #ffddaa;
}

.sumTitle{
    ine-height: 40px;
    padding: 6px;
    background-color: #2980b9;
    font-size: 150%;
    text-align: center;
    margin-top: 30px;
    margin-left: 20px;
    cursor: pointer;
    color: white;
}
.sumDocList{
    overflow: scroll;
    left: 20%;
    right: 20%;
    text-align: center;
    white-space: nowrap;
    border-bottom: dashed 1px gray;
}
.sumDoc{
    width: 120px;
    padding-top: 10px;
    padding-bottom: 10px;
    border: solid 1px #333333;
    background-color: #ffddaa;
    font-size: 90%;
    text-align: center;
    margin: 20px;
    display: inline-block;
}

.sumMatched{
    background-image: url(../imgs/tick.png);
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position-x: right;
    background-position-y: top;
}
h1.sumHeading{
    text-align: center;
    color: #87adbd;
    font-size:160%;
}
.sumMsg{
    margin: 30px;
    text-align: center;
    color: #888;
    font-size: 120%;
    font-weight: normal;
}

.sumMTTable{
    display: table;
    width: 100%;
    margin: 20px;
}
.sumMTRow{
    float:left;
    white-space: nowrap;
    margin:5px;
}
.sumMTCell{
    font-size: 100%;
    line-height: 20px;
    display: inline-block;
    overflow: auto;
    margin-right: 3px;
    background-color: aliceblue;
}
.sumMTKey{
    width: 120px;
    background-color: aliceblue;
}
.sumMTVal{
    width: 50px;
    background-color: #F9F9f9;
}
.sumMTMatched{
    border: solid 1px #dd5555;
}

.patientId{
   color: transparent !important;;
   text-shadow: 0 0 8px rgba(0,0,0,0.5);
}