﻿/* Copyright 2018-2024 Epic Systems Corporation */
#FormBody p {
  margin-top: 20px;
}

#AllowAccess {
  margin-left: 1rem;
  max-width: calc(50vw - 1.5rem - 1rem);
}

#OAuthAccessForm .criticalerror, .duqPage .criticalerror, #content .criticalerror {
  background-color: rgba(216, 0, 0, 0.85);
  border: none;
  margin: 0.25rem 0.5%;
}
#OAuthAccessForm .filledQNRBackground, .duqPage .filledQNRBackground, #content .filledQNRBackground {
  background-color: #85C2FF;
}
#OAuthAccessForm .neutralBackground, .duqPage .neutralBackground, #content .neutralBackground {
  background-color: #246fb5;
}
#OAuthAccessForm .positiveBackground, .duqPage .positiveBackground, #content .positiveBackground {
  background-color: #0f784a;
}

.permissionList {
  text-align: right;
  display: block;
  vertical-align: top;
  column-count: 4;
  column-width: 11rem;
}
.permissionList.oneItem {
  column-count: 1;
  column-width: auto;
}
.permissionList li {
  padding-right: 2.5rem;
}
.permissionList li::before {
  margin-left: 10px;
}
.permissionList li > p {
  margin-bottom: 0;
}

#oauthproxies .proxy {
  display: inline-block;
  vertical-align: top;
  margin-left: 10px;
  width: auto;
  min-width: 120px;
  padding: 5px;
  color: inherit;
  cursor: pointer;
}
#oauthproxies .proxy .proxyicon {
  height: 60px;
  width: 60px;
  border-width: 2px;
  border-style: solid;
  border-radius: 100%;
  margin: 0 auto 5px;
  background-size: cover;
}
#oauthproxies.single-patient .proxy button:hover, #oauthproxies.single-patient .proxy button:focus {
  cursor: default;
  text-decoration: none;
}
#oauthproxies .proxy.selected {
  background-color: #bfe1ff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 2px 1px rgba(0, 0, 0, 0.1);
}

.proxyButtons {
  display: flex;
  flex-wrap: wrap;
  padding-top: 1rem;
  margin-bottom: 2rem;
}

#patientConsent {
  margin-bottom: 1rem;
}

#patientConsent {
  -webkit-columns: 400px 2;
  -moz-columns: 400px 2;
  columns: 400px 2;
}
#patientConsent h3 {
  padding-top: 0;
  font-size: 1rem;
}

.disclaimertext {
  font-size: 0.85rem;
  line-height: normal;
  max-width: 90%;
  min-height: 4rem;
}

.mobile #patientConsent [class^=disclaimer-] {
  border: 1px dotted #dbdbdb;
  padding: 0 4rem 1rem 0;
  border-width: 0 0 1px 0;
  vertical-align: middle;
  margin-top: 1rem;
}
html:not(.mobile) #patientConsent [class^=disclaimer-] {
  vertical-align: top;
  padding: 0.5rem 1rem;
  border-width: 0 0 1px 1px;
  padding-right: 3.5rem;
}
html:not(.mobile) #patientConsent [class^=disclaimer-]:nth-child(even) {
  border-left-width: 0;
}
html:not(.mobile) #patientConsent [class^=disclaimer-]:nth-last-child(2), html:not(.mobile) #patientConsent [class^=disclaimer-]:nth-last-child(1) {
  border-bottom: none;
}

.disclaimer-nothealthorg {
  border: none;
}

.mobile #FormBody .card + .card {
  margin-top: -0.5rem;
}

#OAuthAccessForm p {
  margin-top: auto;
  margin-bottom: 1rem;
}
#OAuthAccessForm p.allowDenyText {
  margin-bottom: 0rem;
}

#IconAndList,
#resourceList {
  margin-bottom: 0rem;
}
#IconAndList .header,
#resourceList .header {
  max-width: 95%;
  margin-bottom: 0.2rem;
  margin-left: 0.2rem;
}
#IconAndList .allContent,
#resourceList .allContent {
  margin-top: 0.2rem;
  margin-right: 2rem;
  width: 99%;
}
#IconAndList .scopesContainer,
#resourceList .scopesContainer {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  margin-left: 2rem;
}
#IconAndList .scopeContainer,
#resourceList .scopeContainer {
  display: inline-block;
  margin: 0;
  flex-basis: 25%;
}
#IconAndList .scopeTitle,
#resourceList .scopeTitle {
  margin-right: 0.5rem;
  margin-top: 0.125rem;
  vertical-align: middle;
  width: auto;
}
#IconAndList .scopeWarnings,
#resourceList .scopeWarnings {
  margin-bottom: 0.3rem;
  max-width: 95%;
}
#IconAndList .scopeWarning.mobile,
#resourceList .scopeWarning.mobile {
  display: none;
}
#IconAndList.cardlist.selectable.multiselect.leftcheck .card,
#IconAndList.cardlist.selectable.multiselect.leftcheck .card.selected,
#resourceList.cardlist.selectable.multiselect.leftcheck .card,
#resourceList.cardlist.selectable.multiselect.leftcheck .card.selected {
  min-height: 0;
}
#IconAndList.cardlist.selectable.multiselect.leftcheck .card:before,
#IconAndList.cardlist.selectable.multiselect.leftcheck .card.selected:before,
#resourceList.cardlist.selectable.multiselect.leftcheck .card:before,
#resourceList.cardlist.selectable.multiselect.leftcheck .card.selected:before {
  top: auto;
  left: auto;
}

.resourcesLearnMore.card {
  padding: 2rem;
  margin-top: 1rem;
}
.resourcesLearnMore .scopeTitle {
  margin-right: 0.1rem;
}
.resourcesLearnMore .scopeWarning {
  margin-top: 0.7rem;
}
.resourcesLearnMore .scopeDescription {
  float: right;
}
.resourcesLearnMore .resourceContainer {
  margin-bottom: 0.5rem;
}
.resourcesLearnMore .resourceContainer .header {
  margin-bottom: 0.25rem;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  break-inside: avoid;
}
.resourcesLearnMore .allResources {
  list-style: none;
  padding: 0;
  column-count: 3;
  column-gap: 6rem;
}

#learnMoreBack, #duqLearnMoreBack, #duqBack {
  margin-top: 1rem;
  display: inline-block;
}

.resourcesLearnMore .icon,
#IconAndList .icon,
#resourceList .icon {
  width: 1.5rem;
  float: right;
  vertical-align: middle;
}
.resourcesLearnMore .scopeWarning,
#IconAndList .scopeWarning,
#resourceList .scopeWarning {
  border-radius: 6px;
  background-color: #ffffd0;
  padding: 0.3rem;
  display: inline-block;
  margin-bottom: 0.7rem;
  border: 0.1rem solid #dbdbdb;
}
.resourcesLearnMore .scopeContainer,
#IconAndList .scopeContainer,
#resourceList .scopeContainer {
  margin-bottom: 0.7rem;
  display: inline-block;
}

.learnMore {
  display: flex;
  margin-top: 0.75rem;
  text-align: center;
}
.learnMore #learnMoreLink,
.learnMore #advancedViewLink {
  width: 100%;
}

#refreshTokenDurationList .tokensContainer {
  display: flex;
  flex-wrap: wrap;
  margin-left: 2rem;
}
#refreshTokenDurationList .tokenContainer {
  flex-basis: 20%;
  margin-bottom: 0.5rem;
}
#refreshTokenDurationList .tokenContent {
  max-width: 90%;
}
#refreshTokenDurationList .tokenContent label {
  width: inherit;
}

#encounterList .verticaldate {
  width: auto;
  padding-left: 0.8rem;
  padding-right: 0.3rem;
  color: #41a0ff;
  text-align: center;
}
#encounterList .verticaldate .verticalMonth {
  font-size: 1.2rem;
  text-transform: uppercase;
}
#encounterList .verticaldate .verticalDateOfMonth {
  font-size: 2.2rem;
  line-height: 2rem;
}
#encounterList .card {
  display: flex;
}
#encounterList .selected {
  background: #bfe1ff;
}
#encounterList #loadMore {
  text-align: center;
}
#encounterList .encountername {
  font-weight: bold;
}

.buttonbox {
  display: flex;
  align-items: flex-start;
  padding-bottom: 0.75rem;
}
.buttonbox + .buttonbox {
  border-top: 1px dotted #dbdbdb;
  padding-top: 1rem;
}
.buttonbox > :first-child {
  margin: 0 0 0 1rem !important;
  width: 100%;
}
.buttonbox > .button {
  width: 200px;
  align-self: flex-start;
}

.disclaimertext .bold.warning {
  margin-top: 1rem !important;
}

.termslist li {
  display: block;
  margin: 1rem 2.5rem 1rem 0;
}

.mobile .buttonbox {
  display: block;
  margin-bottom: 1rem;
}

[class^=disclaimer-q] {
  background-repeat: no-repeat;
  background-size: 3rem;
  background-position-y: 1rem;
  background-position-x: right;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  break-inside: avoid;
}

.disclaimer-nq {
  background-repeat: no-repeat;
  background-size: 3rem;
  background-position-y: top;
  background-position-x: right;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  break-inside: avoid;
}

li.accessor, li.other_individual {
  padding: 0.25em 1.5em 0.25em 0;
}

ul.accessors, ul.other_individuals {
  padding: 0.25em 0 0.25em 0;
}

.disclaimer-q1, .disclaimer-nq1 {
  background-image: url("../images/OAuth/tou/tou-whooffering.png");
}

.disclaimer-q2, .disclaimer-nq2 {
  background-image: url("../images/OAuth/tou/tou-funding.png");
}

.disclaimer-q3, .disclaimer-nq3 {
  background-image: url("../images/OAuth/tou/tou-howretain.png");
}

.disclaimer-q4, .disclaimer-nq4 {
  background-image: url("../images/OAuth/tou/tou-whohasaccess.png");
}

.disclaimer-q5, .disclaimer-nq5 {
  background-image: url("../images/OAuth/tou/tou_recordwhoaccessed.png");
}

.disclaimer-q6 {
  background-image: url("../images/OAuth/tou/tou-candelete.png");
}

.disclaimer-q7, .disclaimer-nq6 {
  background-image: url("../images/OAuth/tou/tou-howuse.png");
}

.disclaimer-nq7 {
  background-image: url("../images/OAuth/tou/tou_otherindividuals.png");
}

.duration {
  background-image: url("../images/expires_clock.png");
  background-repeat: no-repeat;
  background-size: 1.5rem;
  background-position-y: 0.5rem;
  background-position-x: right;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  break-inside: avoid;
  padding-right: 2rem;
}

.disclaimer-suspicious.card {
  border-radius: 6px;
  justify-content: center;
  background-image: url("../images/OAuth/oauth-background-pattern.png");
  background-size: auto;
  background-repeat: repeat;
  border-style: solid;
  border-width: thin;
  margin-top: 1rem;
}

.disclaimer-suspicious {
  background-repeat: no-repeat;
  background-size: 7rem;
  background-position-y: center;
  background-position-x: 0.5rem;
  font-size: 0.85rem;
  padding: 0.75rem;
}

#patientConsent [class^=disclaimer-] > .disclaimertext {
  margin-right: 4em;
}

div.disclaimerexplanation {
  margin-top: 1em;
  padding-right: 0.5em;
  font-style: italic;
  font-size: 11pt;
  width: 24em;
  border-right: 2px solid #cccccc;
}

#proxySelectionDiv {
  margin-top: 2em;
  margin-bottom: 1rem;
}

ul#oauthproxies {
  margin-bottom: 2em;
  width: auto;
}

#clock {
  width: 7em;
}

#accessinformation {
  display: inline-flex;
  text-align: center;
  font-size: 11pt;
}

#durationOfAccess {
  padding-left: 1em;
  margin: 0 1em;
  border-left: 2px solid #cccccc;
  max-width: 19rem;
}

#IconAndList,
#resourceList {
  width: auto;
}

ul [class^=scope-] {
  list-style-type: none;
  margin-bottom: 2px;
  padding-bottom: 10px;
  padding-top: 4px;
  background-repeat: no-repeat;
  background-size: 2rem;
  overflow: hidden;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  break-inside: avoid;
  background-position-x: right;
}

img#oAuthDurationImg {
  width: 3.5rem;
}

.bottomButtons {
  display: flex;
  flex-wrap: wrap;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.bottomButtons .button {
  margin: 0.25rem;
}
.bottomButtons .button#denyDataSharing {
  display: flex;
  justify-content: center;
  align-items: center;
}
.bottomButtons #allowDataSharing, .bottomButtons #cancelButton {
  display: none;
}
.bottomButtons.firstPage #backButton {
  display: none;
}
.bottomButtons.firstPage.proxyContext #denyDataSharing {
  display: none;
}
.bottomButtons.firstPage.proxyContext #cancelButton {
  display: block;
}
.bottomButtons.lastPage #allowDataSharing {
  display: flex;
  justify-content: center;
  align-items: center;
}
.bottomButtons.lastPage #nextButton {
  display: none;
}

.displaytype-other .bottomButtons:not(.lastPage) .buttonIcon {
  display: none;
}

.legal {
  font-size: 11pt;
  color: #565656;
  padding-top: 0.5rem;
}

li.disclaimeranswer {
  margin-bottom: 0.25rem;
  word-break: break-word;
  page-break-inside: avoid;
}

#nextButton {
  display: inline-block;
}

.buttonIcon {
  width: 1.5rem;
  height: 1.5rem;
  vertical-align: middle;
}
[dir=rtl] .buttonIcon._SvgSprite {
  transform: scaleX(-1);
}

div#furtherexplanation {
  margin-top: 1rem;
}

.footerText {
  margin: 1rem;
  text-align: right;
}

.termsText {
  border-radius: 6px;
  padding: 1rem 0.5rem;
  margin: 0 auto 0 auto;
}
.termsText > h3 {
  padding: 0 0 0.25rem 0;
  text-align: center;
}
.termsText > a {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
.termsText > hr {
  margin-bottom: 0;
}
.termsText.multi {
  margin: 0.5rem auto 0.5rem auto;
}

h3.allowDenyHeader {
  text-align: right;
  padding-top: 0;
}

.termsText {
  background-color: #ffffff;
}

li.unansweredQuestion {
  padding: 0.25rem 0 0 0;
}

ul.unansweredQAndA {
  list-style: disc outside;
  margin-right: 1rem;
}

.badges {
  display: none !important;
}

#oauth-page-selector {
  padding-bottom: 1rem;
  align-content: center;
  align-items: center;
  justify-content: center;
  display: flex;
  z-index: 9;
}
@media only screen and (min-width: 1px) and (max-width: 768px) {
  #oauth-page-selector {
    bottom: 3.5rem;
  }
}
@media only screen and (min-width: 1px) and (max-width: 768px) and (orientation: landscape) {
  #oauth-page-selector {
    bottom: 0.375rem;
  }
}

[id^=page-selector] {
  background: rgba(0, 0, 0, 0) fixed center;
  border: solid rgba(0, 0, 0, 0.7) 0.5px;
  border-radius: 100%;
  display: inline-flex;
  height: 0.5rem;
  overflow: hidden;
  width: 0.5rem;
  margin-right: 0.25rem;
}
[id^=page-selector].selected {
  background: rgba(0, 0, 0, 0.7) fixed center;
}

.aboveImage {
  display: none;
}

.scopeDescription {
  word-wrap: break-word;
}

@media only screen and (max-width: 1300px) {
  .resourcesLearnMore .allResources {
    column-count: 2;
  }
  #IconAndList .scopeContainer,
  #resourceList .scopeContainer {
    flex-basis: 33%;
  }
}
@media only screen and (max-width: 1000px) {
  #IconAndList .scopeContainer,
  #resourceList .scopeContainer {
    flex-basis: 50%;
  }
}
@media only screen and (max-width: 768px) {
  #accessinformation {
    flex-direction: column;
  }
  #refreshTokenDurationList .tokenContainer {
    flex-basis: 50%;
  }
  #refreshTokenDurationList .tokenContent {
    max-width: 90%;
  }
  #durationOfAccess {
    border-left: none;
    border-bottom: 2px solid #cccccc;
    padding-bottom: 1rem;
    padding-left: 0;
    margin: 0 0 1rem;
    max-width: none;
  }
  .permissionList {
    column-count: 1;
    column-width: auto;
  }
  .disclaimer-suspicious.card {
    background-position: center top;
    background-position-y: 0.25rem;
    width: 100%;
  }
  .criticalerror {
    padding: 1rem 1rem 1rem 1rem;
    background-position: center 1rem;
  }
  .readTermsOfUse {
    display: flex;
    flex-direction: column-reverse;
  }
  #patientConsent {
    border-radius: 6px;
    display: block;
    background-color: #ffffff;
  }
  html:not(.mobile) #patientConsent [class^=disclaimer-] {
    width: 100%;
  }
  h2.header.allowDenyHeader {
    margin-top: 0rem;
  }
  .learnMoreBackButton,
  .bottomButtons > .button,
  .proxyButtons > .button {
    display: block;
    width: 100%;
    margin: 0.25rem 0rem;
  }
  .learnMoreBackButton {
    margin-bottom: 1rem;
  }
  #oauth-page-selector {
    margin-top: 0.5rem;
  }
  .aboveImage {
    display: block;
    margin: auto;
  }
  .duration {
    background-position-y: 1rem;
  }
  #IconAndList .scopeContainer,
  #resourceList .scopeContainer {
    display: block;
    margin-bottom: 0.3rem;
    width: 99%;
    flex-basis: auto;
  }
  #IconAndList .scopeTitle,
  #resourceList .scopeTitle {
    max-width: none;
  }
  #IconAndList .scopeWarning,
  #resourceList .scopeWarning {
    margin-bottom: 0.3rem;
  }
  #IconAndList .scopeWarning.mobile,
  #resourceList .scopeWarning.mobile {
    display: inline-block;
  }
  #IconAndList .scopeWarnings.desktop,
  #resourceList .scopeWarnings.desktop {
    display: none;
  }
  .resourcesLearnMore .allResources {
    column-count: 1;
  }
}
.smallicon {
  margin-left: 0.5rem;
  vertical-align: middle;
  height: 1rem;
  width: 1rem;
}

.aboveImageNew {
  display: block;
  margin: 0 auto;
  text-align: center;
}

.negativeAboveImage {
  display: inline;
  margin-bottom: -0.3rem;
}

#negativeLeft {
  margin-left: 2rem;
  height: 8rem;
}

#negativeCenter {
  margin-bottom: 1.5rem;
  height: 5rem;
}

#negativeRight {
  margin-right: 2rem;
  height: 8rem;
}

@media only screen and (max-width: 425px) {
  #negativeLeft {
    margin-left: 1rem;
    height: 6.5rem;
  }
  #negativeCenter {
    margin-bottom: 1.5rem;
    height: 4rem;
  }
  #negativeRight {
    margin-right: 1rem;
    height: 6.5rem;
  }
}
.positiveAboveImage {
  margin-top: -2rem;
  margin-bottom: 0.5rem;
}

.privacyRiskHeader {
  color: #ffffff;
  background-color: #d80000;
  width: auto;
  margin: -0.7rem 0.5%;
  padding: 0.3rem;
  padding-bottom: 0.5rem;
  border-radius: 6px;
}

.appStatusExplanation {
  color: #ffffff;
  text-align: center;
  margin: 0rem 0.3rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  overflow-wrap: break-word;
}

.cardNewDUQ {
  padding: 1rem 1rem 1rem 1rem;
  background-position: center 1rem;
}

.secondSetCriteria {
  margin-top: 1rem;
}

#OAuthAccessForm .card .termsText, main .card .termsText {
  display: flex;
  justify-content: space-evenly;
  flex-direction: column;
  align-content: center;
  overflow-wrap: break-word;
}
#OAuthAccessForm .card .termsText .criteriaList, main .card .termsText .criteriaList {
  margin: 0.2rem auto;
  width: 90%;
}
#OAuthAccessForm .card .termsText .criteriaList li p.criteriaText, main .card .termsText .criteriaList li p.criteriaText {
  margin-right: 1.5rem;
  margin-top: -1.15rem;
  margin-bottom: 0.25rem;
}

.pageHeading {
  margin-bottom: 1.5rem;
}

#learnMoreDUQ a:nth-child(2) {
  display: block;
  text-align: center;
}

@media only screen and (max-width: 400px) {
  #refreshTokenDurationList .tokenContainer {
    flex-basis: 90%;
  }
}
.duqPage {
  max-width: 600px;
}

#goBackToGroupView {
  margin-top: 1rem;
}
