﻿.ui-icon-chart:after
{
	background-image: url("images/chart/chart_icon.png");
	border-radius: 0;
    background-color: rgba(0, 0, 0, 0);
    width: 22px;
    height: 26px;
    margin-top: -13px;
}
/* Fallback */
.ui-nosvg .ui-icon-chart:after
{
	background-image: url("images/chart/chart_icon.png");
	border-radius: 0;
    background-color: rgba(0, 0, 0, 0);
    width: 22px;
    height: 26px;
    margin-top: -13px;
}

#webSummary .ui-title,
#chartUnavailable .ui-title,
#ApplicationUnavailable .ui-title,
#patientUnavailable .ui-title {
    margin: 0 10%;
}

#chartUnavailable .ui-content,
#ApplicationUnavailable .ui-content,
#patientUnavailable .ui-content {
    padding-bottom: 0;
}

#chart-msg,
#applicationUnavailableMessageText,
#patientUnavailableMessageText {
    text-align: center;
    padding-bottom: 8px;
}

#webSummary {
    width: 90%;
    max-width: 400px;
}

#patient-unavailable-overlay,
#application-unavailable-overlay {
    opacity: 1;
}

#webSummary .noteRange {
    font-size: 1em;
    text-align: left;
    font-weight: normal;
    text-overflow: ellipsis;
    overflow: hidden;
}

#webSummaryList {
    max-height: 400px;
    -webkit-overflow-scrolling: touch;
    overflow: visible;
    overflow-x: hidden;
}

#webSummaryList {
    margin: 0;
    padding: 0;
    list-style: none;
}

#webSummaryList li:first-of-type {
    padding-top: .6em;
}

#webSummaryList li {
    padding: 0em 1em .6em 1em;
}

#webSummaryList p {
    display: block;
    font-size: 9pt;
    margin: .1em 0;
}

#webSummaryList .label {
    font-weight: bold;
}

#webSummaryList .observation {
    white-space: normal;
}

.ui-popup {
    position: absolute;
}

/* iPad 1, 2, mini and bigger */
@media only screen and (min-width : 760px) {
    #chartUnavailable,
    #ApplicationUnavailable,
    #patientUnavailable {
        min-width: 500px;
    }
}

@media only screen and (max-height : 750px) and (min-height : 621px) {
    #aboutDialog {
        max-height: 575px;
    }
}

@media only screen and (max-height : 620px) and (min-height : 522px) {
    #aboutDialog {
        max-height: 485px;
    }
}

@media only screen and (max-height : 521px) and (min-height : 401px) {
    #webSummaryList {
        max-height: 310px;
    }
    #aboutDialog {
        max-height: 365px;
    }
}


@media only screen and (max-height : 400px) and (min-height : 370px) {
    #webSummaryList {
        max-height: 275px;
    }
    #aboutDialog {
        max-height: 325px;
    }
}

@media only screen and (max-height : 369px) {
    #webSummaryList {
        max-height: 225px;
    }
    #aboutDialog {
        max-height: 275px;
    }
}