﻿/*MyMercy CSS Customizations*/

/*Override main branding logo to png, since main branding uses svg image*/

#logo {
  background: transparent url("../images/logo.png") no-repeat scroll center center/contain;
  width: 17%;
  }

#graphicHeader:not(:empty) #header_logo .header_logo_link {
  background: transparent url("../images/logo.png") no-repeat scroll left/contain;
  display: block;
  height: 100%;
  width: 100%;
  }

.logo {
  background: transparent url("../images/loginlogo.png") no-repeat scroll center center;
  display: block;
  height: 6rem;
  margin: 0 0 2.5rem;
  content: none;
  }

body.isPrelogin div#main a.logo {
  background: transparent url("../images/loginlogo.png") no-repeat scroll center center !important;
  }
  
body.md_standalone_signup div#main a.logo {
  height: 6rem !important;
  background: transparent url("../images/loginlogo.png") no-repeat scroll center center !important;
  }
  
body.md_guestpay_payasguest #main a.logo {
  height: 6rem !important;
  background: transparent url("../images/chi_qp_logo.png") no-repeat scroll center center !important;
  }
  
body.md_guestpay_showresults #main a.logo {
  height: 6rem !important;
  background: transparent url("../images/chi_qp_logo.png") no-repeat scroll center center !important;
  } 

/* Scheduling Widget overrides */
@media (min-width: 700px) {
  /* hide verticle scrollbar on desktop, prevents double scrollbars in iframe */
  body.embedded {
    overflow-y: hidden !important;
  }

  /* override the Epic Open Scheduling height for desktop */
  body.embedded .stepContainer {
    height: 591px !important;
  }
}

/* hides keep alive iframe so it does not push down content and cause infinite scrolling to fire */
iframe[name="intKeepAliveFrameIE"] {
	display: block; /* 0px height will now be taken into account */
}

/* BEGIN: Fix div width on Captcha on old widget open scheduling - QAN 6805946 SLG 6710699*/
body.embedded.isPrelogin > div {
width: auto;
}
/* END: Fix div width on Captcha on old widget open scheduling - QAN 6805946 SLG 6710699*/
 

/* override nointernallscroll class to allow scrolling on small displays */
.slider.nointernalscroll{
  overflow-y: auto !important;
}

/* override width for signup step so next step doesn't show on right side edge */
body.embedded .signupContainer .signupStepsContainer .signupStep {
  width: 660px !important;
}

/* Hiding duplicate header text on widget sso loging box, epic needs to fix this */
body.embedded .signupContainer .signupStep.landing .content .pretext {
  display: none;
}

body.embedded div.openingsControls .filterControlContainer,
body.embedded .progressbar {
  display: none;
}

body.embedded #embeddedScheduleNoCookies .noCookies {
  height: auto !important;
  margin-top: -3rem;
}

/* Push navbar to top */
#header .fitme iframe{
    position: absolute;
}

/* Hide Quicklink On My Way for scheduling page */

.md_scheduling_index .quickLinks a[data-id='onmywaybutton'] {
     display: none;
}

/* Hide non-used pages */
body.isPrelogin.accessPage #wrap{
  display: none;
}

body.isPrelogin.md_standalone_signup #wrap{
  _display: none;
}

body.isPrelogin.loginPage #wrap{
  /* display: none; */
  top: 0 !important;
}

body.isPrelogin.recoveryPage #wrap{
  display: none;
}

body.isPrelogin.resetPage #wrap{
  display: none;
}


/* Hide bottom nav links on prelogin pages for proxy invite and guest pay */

body.isPrelogin.md_confirmation_confirm .badges {
	  display: none;
}

body.isPrelogin .links a.cssSwitcher {
	  display: none;
}

body.isPrelogin.md_guestpay_payasguest  .badges {
	  display: none;
}

body.isPrelogin.md_guestestimates_selectservicearea  .badges {
	  display: none;
}

body.isPrelogin.md_guestestimates_getestimateservices  .badges {
	  display: none;
}

body.isPrelogin.md_guestestimates_selectinsurance  .badges {
	  display: none;
}

body.isPrelogin.md_guestestimates_getestimatedetails  .badges {
	  display: none;
}

body.isPrelogin.md_proxyselect_index .badges {
	  display: none;
}

/* Hide Level of Access on proxy invite page */

body.isInside.md_proxyinvite_index #reltypes {
	  _display: none;
}

body.isInside.md_proxyinvite_index #relationshipheader:before {
	  _display: none;
}

/* Hide Who Can See My Record and Whose Records Can I See Friends and Family Access page */


body.isInside.md_familyaccess_index .delegate {
	  _display: none;
}
	
body.isInside.md_familyaccess_index #WhoCanUserSee {
	  _display: none;
}

body.isInside.md_familyaccess_index #WhoCanUserSeeHeader {
	  _display: none;
}

body.isInside.md_familyaccess_index #WhoCanSeeUserHeader {
	  _display: none;
}

/* Replaced Back button on Friends and Family Access page */

body.isInside.md_familyaccess_index .back {
    _display: none;
}

body.isInside.md_familyaccess_index #WhoCanUserSeeFooter .back {
    _display: inherit;
}

body.isInside.md_familyaccess_index #WhoCanSeeUser .col-12 {
    _display: none;
}

/* Account Access/Settings in iframe, border removal */

body.isInside.md_redirection_fdiredirection .extensibility iframe {
    border: 0px;
}

body.isInside.md_redirection_content .extensibility iframe {
    border: 0px;
}

/* Guest estimates MyMercy login link removal and SKIP button fix*/

body.isPrelogin.md_guestestimates_selectservicearea #sidebar > div {
	display: none;
}

body.isPrelogin.md_guestestimates_acceptdisclaimer #sidebar > div:nth-child(1) {
	display: none;
}

body.isPrelogin.md_guestestimates_acceptdisclaimer #sidebar > div:nth-child(2) {
	display: none;
}

body.isPrelogin.md_guestestimates_getestimateservices #essServicesSidebar > div:nth-child(4) {
	display: none;
}

body.isPrelogin.md_guestestimates_selectinsurance #skipstep a {
	color: #FFFFFF;
}

body.isPrelogin.md_guestestimates_selectinsurance #skipstep {
	margin-top: -7px;
}

body.isPrelogin.md_guestestimates_getestimatedetails #main .title { 
    height: auto;
}

body.isPrelogin.md_guestestimates_getestimatedetails #main .title h1 {
    overflow: visible;
    white-space: normal;
}

body.isPrelogin.md_guestestimates_getestimatedetails #main .title #assistiveicons {
    float: right;
}

/* Cures Act Document Download page */

#cact {
	display: none;
	box-shadow: 0 4px 4px -1px rgba(0, 0, 0, 0.2);
	background-color: #ffffff;
	width: 100%;
	box-sizing: border-box;
    margin-top: 1rem;
	margin-bottom: 1rem;
    max-width: 100%;
    padding: 0.5rem 1rem;
}

#cact > a img.icon {
    height: 48px;
    width: 48px;
    vertical-align: bottom;
    display: inline-block;
    margin: 0 1rem 0 0;
}

#cact > a span.alertContent {
    display: inline-block;
    width: calc(100% - 48px - 1rem);
    line-height: normal;
    _margin-top: 0.8rem;
    vertical-align: middle;
    color: #363636;
}

#cact > a span.alertContent h3 {
  padding: 0 0 0 0;
  }

#cact:hover {
    background-color: rgba(0, 0, 0, 0.2);
	}
	
/* TC Payment page sizing */

#extPmtPageFrame, #visitpayment-content #extPmtPageFrame, #visitpayment-content #iFrameLoadingIndicator {
height: 40rem;
}

@media only screen and (max-width: 825px) {
#visitpayment-content #extPmtPageFrame, #visitpayment-content #iFrameLoadingIndicator {
    height: 52rem;
  }
}

#guestPay-content #extPmtPageFrame, #guestPay-content #iFrameLoadingIndicator {
height: 40rem;
}

@media only screen and (max-width: 825px) {
#payment-content #extPmtPageFrame,
#payment-content #iFrameLoadingIndicator,
#guestPay-content #extPmtPageFrame,
#guestPay-content #iFrameLoadingIndicator {
	height: 52rem;
}
}

/*referrals page, hide customer service links */

body.isInside.md_referrals .tableRowCustomerService {
	  display: none;
}

body.isInside.md_referrals #custsvc {
	  display: none;
}

body.isInside.md_coverage #custsvc {
	  display: none;
}

 