/*Patient Portal - Home Page CSS Start*/

/* Ensure header spans the entire width of the container */
.client-information-dependent-header,
.profile-header {
    display: flex;                /* Use flex to align width with the container */
    width: 100% !important;       /* Ensure the header spans the entire width of the container */
    margin: 0;                    /* Remove unnecessary margins */
    box-sizing: border-box;       /* Include padding and borders in width calculation */
    padding: 0 16px;              /* Add padding to match the main content */
    justify-content: space-between; /* Align items appropriately */
}

/* Make text alignment and spacing consistent */
.align-center {
    width: 100%;                  /* Ensure the text spans the entire available width */
    /* padding: 0 10px;           /* Adjust padding as needed to match other sections */
    text-align: center;           /* Center align the header text */
}

/* Ensure container row width matches full form width */
#main-row {
    width: 100%;                  /* Set the containing row width to 100% */
    padding: 0 20px;              /* Add padding to create white space around the form */
    box-sizing: border-box;       /* Include padding and borders in width calculation */
    display: flex;                /* Use flex to align children consistently */
    flex-direction: column;       /* Stack elements vertically */
    align-items: stretch;         /* Ensure children take full width */
}

/* Match header with the main content width */
#main-content {
    width: 100%;                  /* Set full width */
    padding: 0 20px;              /* Add padding to create white space around the form */
    box-sizing: border-box;       /* Include borders and padding in the width */
}

/* Adjust <h5> header styling to ensure consistency */
.client-information-dependent-header .align-center h5,
.profile-header .align-center h5 {
    width: 100%;                  /* Make sure the header text spans the entire width */
    text-align: center;           /* Center align the text */
    margin: 0;                    /* Remove extra margin to avoid misalignment */
    box-sizing: border-box;       /* Include padding and border in width calculations */
    padding: 0;                   /* Remove padding to ensure full-width consistency */
}

/* Styling for the validation summary to ensure proper positioning */
#ValidationSummaryEntityFormView {
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    font-size: 16px;
    line-height: 1.5;
    position: relative;
    z-index: 10;
    clear: both; /* Ensure the validation summary does not overlap with other elements */
}

.aces-logo {
  min-height: 67px;
  width: 220px;
}

.navbar-brand .xrm-attribute-value img {
  padding-top: 0px;
}

.role-menu-icon{
  padding-left: 5px;
}

.role-menu-item-text{
  display: inline !important;
  margin-left: -10px;
}

.role-menu-item-highlighted:hover {
    color: #16181b;
    text-decoration: none;
    background-color: #f8f9fa;
}

.role-menu-item-highlighted > a:focus, .role-menu-item-highlighted > a:hover {
    background-color: transparent !important;
}

.navbar {
  background-color: #fff !important;
  min-height: 48px;
}

.navbar-static-top.navbar-inverse .navbar-brand {
    background-color: #fff;
}

.dependent-header{
    background-color: #803c60;
    padding: 18px;
}

.clientdependent-header{
    padding: 35px !important;
}

.text-center {
    text-align: center;
    color: #fff;
    font-size: 1.5em;
}

.text-center-onboarding {
    text-align: center;
    color: #fff;
    font-size: 1.5em;
    margin-top: 5px;
    margin-left:-10px;
}

.chevron-back > a{
  color: #fff !important;
}

.chevron-back > a > h5 > i {
    font-weight: 900;
    font-size: large;
}

.client-information-dependent-header{
  padding: 1px !important; 
}

.onboarding-header{
    color: #fff;
}

.client-onboarding-header{
  margin-top:-20px;
}

.onBoarding-header > h4{
  text-align: center;
}

div#right-grid {
    padding-right: 7px;
}
.view-empty {
  text-align: center;
}

.placeholder a {
  text-decoration: none;
}

.placeholder a:hover,
.placeholder .glyphicon-triangle-right:hover {
  color: #00A1F1;
}

#right-grid {
  padding-left: 8px;
}

.has-pagination {
  overflow: hidden
}

.main {
  background-color: #FAF9F8;
}

.main h1 {
  color: #0364C2;
  font-style: normal;
  font-weight: 600;
  font-size: 24px;
  line-height: 32px;
  padding-left: 8px;
  border-bottom: none;
}

.img-responsive {
  height: 100%;
  width: 100%;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.row .placeholders {
  margin: 0px;
  margin-bottom: 24px;
}

.placeholder {
  position: relative;
  padding-left: 8px;
  padding-right: 8px;
}

.placeholder .row {
  position: absolute;
  bottom: 10%;
  background: rgba(51, 51, 51, 0.65);
  color: white;
  margin-left: 0px;
  padding-left: 16px;
  width: 100%;
  height: 64px;
}

.card-link {
  color: #FFFFFF;
}

.icon-row img {
  width: 42px;
  height: 42px;
}

.icon-row {
  padding-left: 0px;
  padding-right: 0px;
  padding-top: 12px;
}

.row .placeholders .row {
  width: 100%;
  max-width: 299px;
}

.placeholder h4 {
  font-size: 17px;
}

.placeholder .glyphicon {
  margin-left: 8px;

}

@media(min-width:992px) and (max-width: 1199px) {
  .row .placeholders .row {
    width: 94%;
    max-width: 253px;
  }
  .placeholder h4 {
    font-size: 13px;
  }
  .placeholder a {
    font-size: 11px;
  }
  .left-column b {
    font-size: 13px !important;
  }
  .left-column li {
    padding-right: 0px !important;
  }
}

@media(min-width:991px) and (max-width: 1199px) {
  .row .placeholders .row {
    width: 94%;
    max-width: 253px;
  }
  .placeholder h4 {
    font-size: 12px;
  }
}

@media(min-width:768px) and (max-width: 992px) {
  .row .placeholders .row {
    width: 91%;
    max-width: 253px;
  }
  .placeholder h4 {
    font-size: 12px;
  }
  .card-link {
    display: none;
  }
  .placeholder .glyphicon {
    display: none
  }
  .placeholder .icon-row img {
    height: 24px;
  }
  .placeholder .row {
    height: 42px;
  }
}

@media(min-width:540px) and (max-width: 768px) {
  .row .placeholders .row {
    width: 93%;
    max-width: 253px;
  }
  .placeholder h4 {
    font-size: 12px;
  }
  .placeholder {
    width: 33%;
  }
  .card-link {
    display: none;
  }
  .placeholder .glyphicon {
    display: none
  }
  .placeholder .icon-row img {
    height: 28px;
  }
  .placeholder .row {
    height: 60px;
  }
}

@media(min-width:500px) and (max-width:540px) {

  .page-header {
    display: none;
  }
  .hero-card {
    visibility: hidden;
  }
  .placeholder {
    height: 90px;
  }
  .card-link {
    display: none;
  }
  .glyphicon {
    display: none
  }
  .row .placeholders .row {
    width: 96%;
    max-width: 540px;
  }
  .placeholders {
    background-image: url("/home_card_messages.jpg");
    height: 470px;
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 40%;
  }
}

@media(min-width:200px) and (max-width:500px) {

div#my-messages {
    margin-top: 16px;
}
div#patient-info-section {
    padding-left: 8px;
}

div#my-messages, div#my-appointments, div#my-medications {
    margin-left: 8px;
    margin-right: 8px;
    width: 93% !important;
}
.row.placeholders {
    padding-left: 16px;
    padding-right: 8px;
}

div#container-main {
    margin-left: 0px;
    margin-right: 0px;
    padding-left: 0px;
    padding-right: 0px;
}
  .page-header {
    display: none;
  }
  .hero-card {
    visibility: hidden;
  }
  .placeholder {
    height: 90px;
  }
  .card-link {
    display: none;
  }
  .glyphicon {
    display: none
  }
  .row .placeholders .row {
    width: 94%;
    max-width: 441px;
  }
  .placeholders {
    background-image: url("/home_card_messages.jpg");
    height: 470px;
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 45%;
  }
}


#my-messages td button {
  display: none;
}


#my-medications td,
#my-messages td,
#my-appointments td {
  font-size: 13.5px !important;
}

#my-messages>h4,
#my-medications>h4,
#my-appointments>h4 {
  padding-top: 10px !important;
  padding-bottom: 11px !important;
  padding-left: 16px !important;
  margin: 0;
}


.sectionBlockLayout {
  min-height: 0px !important;
  padding: 0px !important;
}

a {
  color: #2F5FEF;
}

.btn {
  font-size: 14px;
  border-radius: 2px;
}

.btn-primary {
  background-color: #0078D4;
  border-color: #0078D4;
}

.panel-body {
  background-color: #f5f5f5;
}

#appointment h4,
#doctor h4,
#message h4,
#boardingProgress h4 {
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  align-items: center;
  color: #FFFFFF;
  margin-bottom: 2px;
}

#my-messages td button {
  display: none;
}

.placeholder a {
  text-decoration: none;
}

.placeholder a:hover,
.placeholder .glyphicon-triangle-right:hover {
  color: #00A1F1;
}

#right-grid {
  padding-left: 8px;
}

.has-pagination {
  overflow: hidden
}

.main {
  background-color: #FAF9F8;
}

.main h1 {
  font-style: normal;
  font-weight: 600;
  font-size: 24px;
  line-height: 32px;
  display: flex;
  align-items: center;
  color: #0364C2;
}

.img-responsive {
  height: 100%;
  width: 100%;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.row .placeholders {
  margin: 0px;
  margin-bottom: 24px;
}

.placeholder {
  position: relative;
  padding-left: 8px;
  padding-right: 8px;
}

.placeholder .row {
  position: absolute;
  bottom: 10%;
  background: rgba(51, 51, 51, 0.65);
  color: white !important;
  margin-left: 0px;
  padding-left: 16px;
  width: 100%;
  height: 64px;
}

.card-link {
  color: #FFFFFF;
}

.icon-row img {
  width: 42px;
  height: 42px;
}

.icon-row {
  padding-left: 0px;
  padding-right: 0px;
  padding-top: 12px;
}

.row .placeholders .row {
  width: 100%;
  max-width: 299px;
}

.placeholder h4 {
  font-size: 17px;
}

.placeholder .glyphicon {
  margin-left: 8px;
  padding-top: 0px;
}

#patient-info-section .view-grid th.sort-enabled span.fa.fa-arrow-up {
  top: 0px;
}

#patient-info-section .view-grid th.sort-enabled span.fa.fa-arrow-down {
  top: 0px;
}

@media(min-width:992px) and (max-width: 1199px) {
  .row .placeholders .row {
    width: 94%;
    max-width: 253px;
  }
  .placeholder h4 {
    font-size: 13px;
  }
  .placeholder a {
    font-size: 11px;
  }
  .left-column b {
    font-size: 13px !important;
  }
  .left-column li {
    padding-right: 0px !important;
  }

}

@media(min-width:991px) and (max-width: 1199px) {
  .row .placeholders .row {
    width: 94%;
    max-width: 253px;
  }
  .placeholder h4 {
    font-size: 12px;
  }
}

@media(min-width:768px) and (max-width: 992px) {
  .row .placeholders .row {
    width: 91%;
    max-width: 253px;
  }
  .placeholder h4 {
    font-size: 12px;
  }
  .card-link {
    display: none;
  }
  .placeholder .glyphicon {
    display: none
  }
  .placeholder .icon-row img {
    height: 24px;
  }
  .placeholder .row {
    height: 42px;
  }

  .main h1.page-header {
    margin-top: 0px
  }
}

@media(min-width:540px) and (max-width: 768px) {
  .row .placeholders .row {
    width: 93%;
    max-width: 253px;
  }
  .placeholder h4 {
    font-size: 12px;
  }
  .placeholder {
    width: 33%;
  }
  .card-link {
    display: none;
  }
  .placeholder .glyphicon {
    display: none
  }
  .placeholder .icon-row img {
    height: 28px;
  }
  .placeholder .row {
    height: 60px;
  }

  .main h1.page-header {
    margin-top: 0px
  }
  div.link-column {
    display: inline-flex;
    place-content: flex-start;
    place-items: center;
    height: 100%;
    padding-left: 0;
  }
  #appointment h4,
  #doctor h4,
  #message h4,
  #boardingProgress h4  {
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    align-items: center;
    color: #FFFFFF;
    margin: 0px;
  }
}

@media(min-width:500px) and (max-width:540px) {

  .page-header {
    display: none;
  }
  .hero-card {
    visibility: hidden;
  }
  .placeholder {
    height: 90px;
  }
  .card-link {
    display: none;
  }
  .glyphicon {
    display: none
  }
  .row .placeholders .row {
    width: 96%;
    max-width: 540px;
  }
  .placeholders {
    background-image: url("/home_card_messages.jpg");
    height: 470px;
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 40%;
  }
  .main h1.page-header {
    margin-top: 0px
  }
  div.link-column {
    display: inline-flex;
    place-content: flex-start;
    place-items: center;
    height: 100%;
    padding-left: 0;
  }
  #appointment h4,
  #doctor h4,
  #message h4,
  #boardingProgress h4  {
    /* font-family: Segoe UI;*/
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    align-items: center;
    color: #FFFFFF;
    margin: 0px;
  }
}

@media(min-width:200px) and (max-width:500px) {

  .page-header {
    display: none;
  }
  .hero-card {
    visibility: hidden;
  }
  .placeholder {
    height: 90px;
  }
  .card-link {
    display: none;
  }
  .glyphicon {
    display: none
  }
  .row .placeholders .row {
    width: 94%;
    max-width: 441px;
  }
  .placeholders {
    background-image: url("/home_card_messages.jpg");
    height: 470px;
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 45%;
  }
  .col-sm-9.col-md-10.main {
    position: relative;
    padding: 0px;
  }
  .main h1.page-header {
    margin-top: 0px;
    margin-bottom: 0px;
    position: absolute;
    top: 20px;
    left: 20px;
  }
  div.link-column {
    display: inline-flex;
    place-content: flex-start;
    place-items: center;
    height: 100%;
    padding-left: 0;
  }
  #appointment h4,
  #doctor h4,
  #message h4,
  #boardingProgress h4  {
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    align-items: center;
    color: #FFFFFF;
    margin: 0px;
  }
}

#my-medications>h4,
#my-appointments>h4 {
  border-bottom: 2px solid #D2D0CE;
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  line-height: 19px;
  color: #000000;
}

#my-messages>h4 {
  border-bottom: 2px solid #D2D0CE;
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  line-height: 19px;
  color: #000000;
}

#my-messages,
#my-medications,
#my-appointments,
#my-dependentclients {
  box-shadow: 0px 1.6px 3.6px rgba(0, 0, 0, 0.132), 0px 0.3px 0.9px rgba(0, 0, 0, 0.108);
}

#patient-info-section {
  margin-left: 0px;
  margin-right: 0px;
  padding-bottom: 16px;
}

#my-messages {
  background-color: #FFFFFF;
  margin-bottom: 16px;
}

#my-messages>h4 {
  font-size: 16px;
  padding-left: 16px;
  padding-top: 16px;
}

#my-appointments>h4 {
  font-size: 16px;
  padding-left: 8px;
  padding-top: 8px;
}

/*.view-empty {
  padding-left: 8px;
}*/

#my-medications>h4 {
  font-size: 16px;
  padding-left: 8px;
  padding-top: 8px;
}

#my-dependentclients>h4 {
  font-size: 16px;
  padding-left: 8px;
  padding-top: 8px;
}

#my-appointments {
  background-color: #FFFFFF;
}

#right-grid {
  padding-left: 8px;
}

.has-pagination {
  overflow: hidden;
}

#my-medications, #my-dependentclients {
  background-color: #FFFFFF;
  margin-top: 0px;
}

.table th a {
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  line-height: 16px;
  color: #605E5C;
}

.table tr {
  background-color: #FFFFFF !important;
}

#left-grid {
  padding-left: 8px;
  padding-right: 8px;
}

.entity-grid.entitylist {
  padding-left: 8px;
  padding-bottom: 16px;
  padding-right: 8px;
}

.view-empty.message {
  margin-bottom: 0;
  margin-top: 16px;
}

.view-grid table.table.table-striped.table-fluid {
  margin-bottom: 0;
}

div#appointment {
  cursor: pointer;
}

div#doctor {
  cursor: pointer;
}

div#message {
  cursor: pointer;
}

div#boardingProgress {
    cursor: pointer;
    position: relative;
    left: 36px;
    margin-right: 64px;
    font-family: Segoe UI;
    font-style: normal;
    font-weight: 600;
    font-size: 12px;
    line-height: 133%;
    color: #323130;
}

@media(max-width:767px) {
  /* td[aria-label="action menu"] {
    display: none;
  } */
  div#my-appointments {
    margin-bottom: 16px;
  }
  div#right-grid {
    padding-right: 8px;
  }
  #my-messages .table-fluid>tbody>tr:first-child {
    border-top: none !important;
  }
  #my-medications .table-fluid>tbody>tr:first-child {
    border-top: none !important;
  }
  #my-appointments .table-fluid>tbody>tr:first-child {
    border-top: none !important;
  }
  #my-messages .table-fluid>tbody>tr:first-child>td:first-child {
    border-top: none;
  }
  #my-medications .table-fluid>tbody>tr:first-child>td:first-child {
    border-top: none;
  }
  #my-appointments .table-fluid>tbody>tr:first-child>td:first-child {
    border-top: none;
  }
}

@media(min-width:768px) and (max-width:1199px) {
  div#my-appointments {
    margin-bottom: 16px;
  }
  div#right-grid {
    padding-right: 8px;
  }
}
/*Patient Portal - Home Page CSS End*/


