:root {
    --ba-grey: #D9D8D4;
    --ba-white: #ffffff;
    --ba-text: #767676;
}

input::placeholder,
select::placeholder,
textarea::placeholder {
    color: var(--ba-text)!important;
}


/* Home Page */

.home-body {
    min-height: calc(100vh - 64px);
}

.image-tint:before {
    content: "";
    background-color: var(--portalThemeColor1);
    opacity: 80%;
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}


/* Tabs */

ol.progress.list-group {
    display: flex;
    text-align: center;
    background: none;
    box-shadow: none;
    border: none;
    flex-wrap: wrap;
}

ol.progress.list-group li.list-group-item {
    min-width: 170px;
    background: transparent;
    padding: 0;
    padding-bottom: 8px;
    text-align: left;
    border: none;
}

ol.progress.list-group li.list-group-item:not(:first-child) {
    margin-left: 15px;
}

ol.progress.list-group li.list-group-item:before,
ol.progress.list-group li.list-group-item:after {
    content: "";
    width: 100%;
    height: 8px;
    border-radius: 2px;
    background: var(--portalThemeColor3);
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
}

ol.progress.list-group li.list-group-item.list-group-item-success,
ol.progress.list-group li.list-group-item.active {
    padding-left: 8px;
}

ol.progress.list-group li.list-group-item.list-group-item-success:before,
ol.progress.list-group li.list-group-item.active:before {
    background: var(--portalThemeColor1);
    z-index: 1;
}

ol.progress.list-group li.list-group-item span.glyphicon {
    display: none;
}

ol.progress.list-group li.list-group-item:last-child {
    display: none;
}

@media (max-width: 480px) {
    ol.progress.list-group {
        flex: 1 1 auto;
        flex-wrap: nowrap;
        width: 100%;
    }
    ol.progress.list-group li.list-group-item {
        text-indent: -9999em;
        flex-grow: 1;
        min-width: unset;
        max-width: unset;
    }
    ol.progress.list-group li.list-group-item.active {
        text-indent: unset;
    }
    ol.progress.list-group li.list-group-item h2 {
        width: 17px
    }
    ol.progress.list-group li.list-group-item.active h2 {
        width: unset
    }
}


/* Form header */

fieldset legend.section-title {
    color: var(--portalThemeColor8);
    font-size: 40px;
    font-weight: 600;
    line-height: 47px;
    text-align: center;
    position: relative;
    padding-bottom: 40px;
    padding-top: 30px;
}

fieldset legend.section-title:after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    width: 153px;
    left: 0;
    right: 0;
    margin: auto;
    border-top: 2px solid var(--portalThemeColor3);
}

@media (max-width: 1300px) {
    fieldset legend.section-title {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    fieldset legend.section-title {
        font-size: 24px;
    }
}


/* Removing borders around */

.crmEntityFormView,
.entitylist,
.crmEntityFormView .actions {
    background: none;
    box-shadow: none;
    border: none;
}

.crmEntityFormView#WebFormPanel>.actions {
    display: flex;
}

.crmEntityFormView#WebFormPanel>.actions>div {
    display: flex;
    justify-content: end;
}


/* Required field styling */

.crmEntityFormView .cell div.info.required label:after {
    content: ' *';
    color: red;
}


/* Cards */

.category-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, max-content));
    grid-gap: 25px;
    justify-content: center;
    margin: 0;
}

.category-cards-container>label {
    width: 250px;
    min-height: 260px;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--portalThemeColor5);
    position: relative;
    outline: 1px solid var(--portalThemeColor3);
}

.category-cards-container>label:hover {
    cursor: pointer;
}

.category-cards-container>label>.panel {
    height: 100%;
}

.category-cards-container>label>.panel .panel-body {
    display: flex;
    justify-content: center;
    border-top: 1px solid var(--portalThemeColor3);
    padding: 0;
    margin: 25px;
    padding-top: 25px;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.category-cards-container>label>.panel .panel-heading {
    font-size: 18px;
    border-bottom: 1px solid transparent;
    margin-bottom: 20px;
    padding-bottom: 0;
    padding-top: 25px;
    font-weight: 400;
}

.category-cards-container>label>.panel .panel-body ul li:not(:last-child) {
    margin-bottom: 9px;
}

.category-cards-container>input[type="radio"].hide { 
    /* override to allow tab stops */
    display: block !important;
    opacity: 0;
    z-index: -1;
    position: absolute;
}

.category-cards-container>input[type="radio"]:checked+label {
    outline: 1px solid var(--portalThemeColor4);
    box-shadow: 0px 1px 10px 0px rgb(0 0 0 / 10%);
}

.category-cards-container>input[type="radio"]+label .selected-bg {
    display: none;
}

.category-cards-container>input[type="radio"]:checked+label .selected-bg {
    display: unset;
    position: absolute;
    inset: 0;
    background-color: var(--portalThemeColor4);
    opacity: 5%;
    pointer-events: none;
}

.category-cards-container>input[type="radio"]:hover+label,
.category-cards-container>input[type="radio"]:focus+label {
    outline: 2px solid var(--portalThemeColor4);
    box-shadow: 0px 1px 10px 0px rgb(0 0 0 / 10%);
}

.panel .panel-heading.category-header {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.panel .panel-heading.category-header img {
    width: 30px;
    height: 30px;
    margin-right: 5px;
}

.panel .panel-heading.sub-category-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.panel .panel-heading.sub-category-header img {
    height: 30px;
    width: 30px;
}

.category-cards-container .panel .panel-heading.category-header:before {
    content: '';
    width: 40px;
    height: 40px;
    margin-right: 5px;
}

.category-cards-container input[type="radio"]:checked+label .panel .panel-heading.category-header:before {
    background-position: bottom;
}

.category-cards-container .panel .panel-heading.category-header.loans:before {
    background-image: url("/loans.svg");
}

.category-cards-container .panel .panel-heading.category-header.everydaybanking:before {
    background-image: url("/everydaybanking.svg");
}

.category-cards-container .panel .panel-heading.category-header.investments:before {
    background-image: url("/investments.svg");
}

@media (max-width: 480px) {
    .category-cards-container {
        grid-template-columns: repeat(auto-fit, minmax(150px, max-content));
    }
    .category-cards-container>label {
        width: 150px;
        min-height: 150px;
    }
    .category-cards-container>label>.panel {
        display: flex;
    }
    .category-cards-container>label>.panel .panel-heading {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 5px;
        font-size: 14px;
    }
    .category-cards-container>label>.panel .panel-body {
        display: none;
    }
}

#msdyn_bankappointmenttype_label {
    font-size: 24px;
    line-height: 33px;
    font-weight: 600;
    color: var(--portalThemeColor1);
    margin-bottom: 20px;
}

#msdyn_bankappointmenttype input[type='radio'] {
    position: relative;
    margin-right: 16px;
    width: 32px;
    height: 32px;
    outline: none; /* focus outline is handled by :after rule */
    -moz-appearance: initial !important; /* apply custom radio style in Firefox */
}

#msdyn_bankappointmenttype input[type='radio']:checked:before {
    width: 16px;
    height: 16px;
    background-color: var(--portalThemeColor4);
    z-index: 1;
}

@media (-ms-high-contrast: active), (forced-colors: active) {
    #msdyn_bankappointmenttype input[type='radio']:checked:before {
        background-color: Highlight;   /* focus button when in high-contrast mode */
    }
}

#msdyn_bankappointmenttype input[type='radio']:after {
    width: 32px;
    height: 32px;
    background-color: var(--portalThemeColor7);
    border: 2px solid var(--portalThemeColor4);
}

@media (-ms-high-contrast: active), (forced-colors: active) {
    #msdyn_bankappointmenttype input[type='radio']:after {
        border: 2px solid Highlight;    /* focus button when in high-contrast mode */
    }
}

#msdyn_bankappointmenttype input[type='radio']:before,
#msdyn_bankappointmenttype input[type='radio']:after {
    border-radius: 50%;
    inset: 0;
    margin: auto;
    position: absolute;
    content: '';
}

#msdyn_bankappointmenttype input[type='radio']:focus:after {
    outline-offset: 2px;
    outline: 2px auto Highlight;
    outline: 5px auto -webkit-focus-ring-color;
}

#msdyn_bankappointmenttype input[type='radio']+label {
    font-weight: 400;
    font-size: 24px;
    line-height: 33px;
}


/* Zipcode search pcf component CSS */

#msdynce_zipcode_label {
    font-size: 24px;
    line-height: 28px;
    color: var(--portalThemeColor1);
    margin-top: 32px;
}

#msdynce_zipcode,
#msdynce_zipcode_label,
#msdynce_locationoption_label,
.zipCodeSearchComment,
.zipCodeSearchComponent,
.locationoption {
    max-width: 600px;
    width: 100%;
    display: block;
    float: none;
    text-align: left;
    font-weight: 600;
}

#msdynce_zipcode_Container table tbody #msdynce_zipcode_label {
    font-size: 24px;
    line-height: 28px;
    color: var(--portalThemeColor8);
    margin-top: 32px;
}

#msdynce_zipcode_Container .zipCodeSearchComment {
    font-weight: 400;
    font-size: 18px;
    line-height: 25px;
    color: var(--portalThemeColor8);
    margin-bottom: 32px;
}

#msdynce_zipcode_Container #zipCodeSearchBox {
    border: 1px solid var(--portalThemeColor4);
    border-radius: 8px;
    width: 328px;
    height: 56px;
    margin-bottom: 20px;
    margin-right: 15px;
}

#msdynce_zipcode_Container .ZipCodeSearch .btn-secondary {
    background: var(--portalThemeColor4);
    border-radius: 8px;
    color: var(--portalThemeColor5);
    width: 199px;
    height: 56px;
    font-weight: 600;
    font-size: 24px;
    line-height: 33px;
    padding: 0;
    border: none;
}

@media (max-width: 480px) {
    #msdynce_zipcode_Container #zipCodeSearchBox {
        width: 100%;
    }
    #msdynce_zipcode_Container .ZipCodeSearch .btn-secondary {
        width: 100%;
    }
}

#msdynce_zipcode_Container .ms-DetailsRow span[role=checkbox] {
    display: none;
}

#msdynce_zipcode_Container .ms-DetailsRow-fields span {
    font-size: 24px;
    line-height: 33px;
    color: var(--portalThemeColor8);
}

#msdynce_zipcode_Container .ms-List-page .ms-List-cell {
    border-top: 1px solid #C4C4C4;
    cursor: pointer;
}

#msdynce_zipcode_Container .ZipCodeSearch .btn-secondary[disabled] {
    background-color: var(--ba-grey);
    opacity: 1
}

#msdynce_zipcode_Container #zipCodeSearchBox[readonly] {
    border-color: var(--portalThemeColor8);
    background-color: var(--ba-white);
}

.MBR-book>div {
    display: block;
}

.ms-FocusZone.ms-DetailsRow {
    min-width: 100% !important;
}

.zipCodeSearchNoDataFoundText {
    max-width: 600px;
    width: 100%;
    margin: 15px 15px 15px 0;
}

.zipCodeSearchResultsText {
    font-weight: 600;
    font-size: 24px;
    line-height: 28px;
    color: var(--portalThemeColor1);
    margin: 64px auto 42px auto;
    max-width: 1168px;
    width: 100%;
}

.ms-DetailsRow.root-54 {
    background-color: rgba(0, 0, 0, 0);
}

.ms-DetailsRow-fields {
    width: 100%
}

.ms-DetailsRow-fields div.ms-DetailsRow-cell:nth-child(1) {
    width: calc(100% - 45px) !important;
    padding: 23px 30px;
}

@media (max-width: 480px) {
    .ms-DetailsRow-fields div.ms-DetailsRow-cell:nth-child(1) {
        width: 100%
    }
}

.ms-DetailsRow-fields div.ms-DetailsRow-cell:nth-child(2) {
    width: 180px !important;
    padding: 23px 30px;
    display: flex;
    align-items: center;
}

.ms-DetailsRow-fields div.ms-DetailsRow-cell:nth-child(3) {
    width: 72px !important;
    padding: 23px 30px;
    display: flex;
    align-items: center;
}

.ms-DetailsRow-fields div.ms-DetailsRow-cell:nth-child(3)>div>.root-65 {
    color: var(--portalThemeColor4);
}

.ms-DetailsList.root-50 {
    max-width: 1168px;
    width: 100%;
    margin: 0 auto;
}


/* C2 Book an appointment Step 3 */

table.section[data-name="main-section"] {
    margin-top: 50px;
}

#msdyn_specificrepresentative_label,
#representative_label {
    font-size: 24px;
    line-height: 33px;
    font-weight: 600;
    color: var(--portalThemeColor1);
    margin-bottom: 20px;
    padding-top: 32px;
    position: relative;
    width: 100%;
}

#representative-list input[type='radio'],
#msdyn_specificrepresentative input[type='radio'] {
    position: relative;
    margin-right: 16px;
    width: 32px;
    height: 32px;
    outline: none; /* focus outline is handled by :after rule */
    -moz-appearance: initial !important; /* apply custom radio style in Firefox */
}

#representative-list input[type='radio']:checked:before,
#msdyn_specificrepresentative input[type='radio']:checked:before {
    width: 16px;
    height: 16px;
    background-color: var(--portalThemeColor4);
    z-index: 1;
}

@media (-ms-high-contrast: active), (forced-colors: active) {
    #representative-list input[type='radio']:checked:before,
    #msdyn_specificrepresentative input[type='radio']:checked:before {
        background-color: Highlight;  /* focus button when in high-contrast mode */
    }
}

#representative-list input[type='radio']:after,
#msdyn_specificrepresentative input[type='radio']:after {
    width: 32px;
    height: 32px;
    background-color: var(--portalThemeColor7);
    border: 2px solid var(--portalThemeColor4);
}

@media (-ms-high-contrast: active), (forced-colors: active) {
    #representative-list input[type='radio']:after,
    #msdyn_specificrepresentative input[type='radio']:after {
        border: 2px solid Highlight;    /* focus button when in high-contrast mode */
    }
}

#representative-list input[type='radio']:before,
#representative-list input[type='radio']:after,
#msdyn_specificrepresentative input[type='radio']:before,
#msdyn_specificrepresentative input[type='radio']:after {
    border-radius: 50%;
    inset: 0;
    margin: auto;
    position: absolute;
    content: '';
}

#representative-list input[type='radio']:focus:after,
#msdyn_specificrepresentative input[type='radio']:focus:after {
    outline-offset: 2px;
    outline: 2px auto Highlight;
    outline: 5px auto -webkit-focus-ring-color;
}

#representative-list input[type='radio']+label,
#msdyn_specificrepresentative input[type='radio']+label {
    font-weight: 400;
    font-size: 24px;
    line-height: 33px;
}

#msdyn_specificrepresentative_label:before,
#representative_label:before {
    content: "";
    position: absolute;
    width: 100%;
    background-color: rgb(196, 196, 196);
    height: 1px;
    top: 0px;
}


/* C2 Book an appointment Step 4 */

#WebResource_TimeSlotSelector {
    height: 568px;
    border: none;
}

@media (max-width: 770px) {
    #WebResource_TimeSlotSelector {
        height: 630px;
    }
}


/* C2 Book an appointment Step 5 */

[aria-label="Tell us about yourself"] table.section td {
    position: relative;
    padding: 0 25px 44px;
}

[aria-label="Tell us about yourself"] table.section .info {
    position: absolute;
    font-size: 11px;
    top: -12px;
    background-color: var(--portalThemeColor7);
    left: 37px;
    padding: 5px;
    padding-bottom: 0;
    margin: 0;
}

[aria-label="Tell us about yourself"] .control input,
[aria-label="Tell us about yourself"] .control select {
    padding: 0 15px;
    height: 55px;
    border-radius: 4px;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0.15px;
}


/* C2 Book an appointment Step 6 */

.review-card {
    background-color: white;
    padding: 23px 30px 23px 30px;
    overflow: hidden;
    margin: 8px;
    margin-left: 0;
}

span.apt-title {
    display: block;
    font-weight: 600;
    font-size: 14px;
    line-height: 16px;
    color: var(--portalThemeColor2);
    margin-bottom: 15px;
}

.apt-details {
    float: left;
    font-size: 18px;
    line-height: 25px;
    color: var(--portalThemeColor8);
    font-weight: 400;
    width: calc(100% - 170px);
}

.apt-details ul {
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
}

.edit-details,
.direction-details,
.calendar-details {
    float: right;
    font-weight: 600;
    font-size: 18px;
    line-height: 25px;
    color: var(--portalThemeColor4);
    text-align: right;
    width: 160px;
}

.edit-details img,
.direction-details img,
.calendar-details img {
    width: 15px;
    height: 15px;
    position: relative;
    top: -2px;
}

.calendar-details img {
    width: 15px;
    height: 15px;
    position: relative;
    top: -2px;
}

.edit-details img {
    margin-left: 7px;
}

.direction-details img {
    margin-right: 7px;
}

.calendar-details img {
    margin-right: 7px;
}

.edit-details a,
.direction-details a,
.calendar-details a,
.edit-details a:hover,
.direction-details a:hover,
.calendar-details a:hover {
    color: var(--portalThemeColor4);
    text-decoration: none;
}

.appointmentSection .apt-details ul {
    margin-bottom: 30px;
}

table td.checkbox-cell:first-child {
    padding: 0 28px 20px;
}

.crmEntityFormView [aria-label="Does everything look okay?"] .tab-title {
    font-weight: 600;
    font-size: 24px;
    line-height: 28px;
    color: var(--portalThemeColor1);
    margin-bottom: 40px;
    border-bottom: 0 none;
}

#letterCountRow {
    float: right;
    font-size: 14px;
    line-height: 19px;
    text-align: right;
    color: #767676;
}

textarea.customBox {
    font-size: 14px;
    line-height: 19px;
    height: 132px;
    border: 1px solid #C4C4C4;
    border-radius: 8px;
}

.custom-textarea {
    margin-top: 20px;
}

.custom-check {
    position: relative;
    float: left;
}

.custom-check input[type="checkbox"] {
    margin-right: 25px;
    position: absolute;
}

.custom-check span {
    position: relative;
    top: 5px;
    font-size: 14px;
    line-height: 19px;
    color: #454545;
    padding-left: 40px;
    display: inline-block;
}

.custom-check label {
    margin-top: 20px;
}


/* Appointment confirmation page */

.review-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--portalThemeColor5);
    padding: 48px;
    margin-top: 40px;
    padding-top: 0;
}

.review-header .section-title {
    border-bottom-width: 0;
}

.primaryform {
    float: left;
    width: 50%;
    margin-top: 20px;
}

.secondaryform {
    float: right;
    width: 50%;
    margin-top: 20px;
}

.aptmnt-card {
    overflow: hidden;
}

.documentSection {
    overflow: hidden;
}

.review-form legend {
    margin-top: 40px;
    font-weight: 600;
    font-size: 24px;
    line-height: 28px;
    color: var(--portalThemeColor1);
    padding-bottom: 15px;
}

.actionBtn>input[type='button'] {
    background-image: initial;
    background-position-x: initial;
    background-position-y: initial;
    background-size: initial;
    background-repeat-x: initial;
    background-repeat-y: initial;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    background-color: rgb(202, 134, 33);
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
    color: rgb(255, 255, 255);
    border-top-width: 0px;
    border-right-width: 0px;
    border-bottom-width: 0px;
    border-left-width: 0px;
    border-top-style: none;
    border-right-style: none;
    border-bottom-style: none;
    border-left-style: none;
    border-top-color: initial;
    border-right-color: initial;
    border-bottom-color: initial;
    border-left-color: initial;
    border-image-source: initial;
    border-image-slice: initial;
    border-image-width: initial;
    border-image-outset: initial;
    border-image-repeat: initial;
    font-weight: 600;
    font-size: 24px;
    line-height: 33px;
    font-family: 'Open Sans', sans-serif;
    height: 54px;
}


/* C1 Specialties */


/* Page text and image */

.specialties-header-container {
    height: 28vh;
}

.specialties-header {
    font-size: 36px;
    color: var(--portalThemeColor1);
    font-weight: 600;
}

.profile-image {
    height: auto;
    max-width: 331px;
    border-radius: 50%;
}

.image-form-container {
    position: relative;
    top: -35%;
}

.specialties-subheader {
    font-family: "Open Sans";
    font-weight: 400
}


/* Entitylist */

.entitylist .table-striped>tbody>tr:nth-of-type(odd) {
    background-color: inherit;
}

.specialties-profile-list-container .crmEntityFormView,
.entitylist {
    background-color: inherit;
    border: 0;
}

.entitylist {
    background: none;
    box-shadow: none;
    border: none;
}

.entitylist>.view-grid>table>thead {
    display: none;
}

.entitylist>.view-grid>table>tbody>tr {
    display: flex;
    flex-direction: column;
}

.entitylist>.view-grid>table>tbody>tr>td {
    padding: 0;
    border: 0;
}

.entitylist>.view-grid>table>tbody>tr>td:nth-child(1) {
    font-size: 36px;
    color: var(--portalThemeColor1);
    font-weight: 600;
    line-height: 46px;
}

.entitylist>.view-grid>table>tbody>tr>td:nth-child(2) {
    font-size: 24px;
    color: var(--portalThemeColor8);
    font-weight: 600;
    line-height: 32px;
}

.entitylist>.view-grid>table>tbody>tr>td:nth-child(3) {
    font-size: 18px;
    color: var(--portalThemeColor8);
    font-weight: 400;
    line-height: 24px;
}


/* Image buttons */

#upload-label {
    font-size: 14px;
    color: var(--portalThemeColor4);
    font-weight: 600;
}

.photo-upload {
    font-size: 14px;
    line-height: 24px;
    padding: 0;
    background: inherit;
    outline: none;
}

#file-upload-button {
    border: 0;
    background: inherit;
}


/* Specialties control */

.pivot-button {
    color: var(--portalThemeColor1);
    font-family: "Raleway";
    font-weight: 600;
    font-size: 24px;
    background: none;
    border: 0;
    margin: 0 25px;
}

.selected-pivot-button {
    color: var(--portalThemeColor4);
    border-bottom: 3px solid var(--portalThemeColor4);
}

.pivot-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    max-width: 600px;
    margin: 75px auto 0 auto;
}

.specialties-cards-container .crmEntityFormView .cell {
    padding: 0;
}

.specialties-cards-container .entity-form>h2 {
    width: 100px;
    margin-left: 121px;
    font-size: 18px;
    color: var(--portalThemeColor1);
    font-weight: 700;
    font-family: "Raleway";
}

.specialties-cards-container .pivot-button-container {
    display: flex;
    flex-direction: row;
}

.specialties-cards-container thead {
    display: none;
}

.specialties-cards-container tbody {
    padding: 0 10px;
    margin: 27px auto;
    display: flex;
    gap: 36px;
    flex-wrap: wrap;
    max-width: 908px;
}

.specialties-cards-container td[data-attribute="msdyn_servicecategory"] {
    display: none;
}

.specialties-cards-container tr[data-entity="msdyn_service"] {
    padding: 10px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    width: 190px;
    height: 190px;
    border-radius: 8px;
    box-shadow: 0px 1px 11px rgba(0, 0, 0, 0.1);
}

.specialties-cards-container tr[data-entity="msdyn_service"]:hover {
    cursor: pointer;
}

.specialties-cards-container td {
    border: 0;
    font-family: "Open Sans";
    font-weight: 400;
    font-size: 18px;
    text-align: center;
}

.specialty-control-container #UpdateButton {
    display: none;
}

#select-all {
    background: inherit;
    font-size: 18px;
    font-family: 'Open Sans';
    color: var(--portalThemeColor4);
    border: none;
    font-weight: 600;
    position: relative;
    left: 81%;
    top: 40px;
    z-index: 1;
    height: 27px;
}


/* Specialties tiles */

.specialties-cards-container .table>tbody>tr>td {
    border: 0;
}

.specialties-cards-container .table-striped>tbody>tr:nth-of-type(odd) {
    background-color: inherit;
}

.selected-specialty-card {
    border: 1px solid var(--portalThemeColor4);
    color: var(--portalThemeColor4);
}

.specialty-icon-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 50%;
}


/* Media queries */

@media (max-width: 767px) {
    .pivot-button-container {
        flex-direction: column;
    }
    .table-fluid td:before {
        display: none !important;
    }
    .specialties-cards-container .table-fluid tr {
        min-width: 190px !important;
        max-width: 190px !important;
    }
    .specialties-cards-container .table-fluid td {
        word-break: normal;
        padding: 10px !important;
    }
    .contact-info-container .table-fluid td {
        padding: 0px !important;
    }
    .contact-info-container .table-fluid tr {
        border-top: none !important;
    }
}

@media (max-width: 709px) {
    .image-form-container {
        top: unset;
        margin: 0 auto;
    }
    .specialties-header-container {
        height: 10vh;
    }
    .specialties-profile-list-container {
        margin: 0 auto;
    }
}

@media (max-width: 1199px) {
    .specialties-cards-container .entity-form>h2 {
        margin-left: 20px;
    }
}


/* Everyday Banking Popup */

.everyday-banking-content ul {
    text-align: left;
    margin: 0;
    padding: 0;
    list-style: none;
    width: 50%;
    float: left;
}

.everyday-banking-content ul li {
    position: relative;
    padding-left: 42px;
    color: var(--portalThemeColor1);
    margin-bottom: 41px;
    float: left;
    width: 100%;
}

.everyday-banking-content ul li span {
    color: #454545;
    display: block;
}

.everyday-banking-content ul li.eb-icon:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.everyday-banking-content ul li.eb-one:before {
    background-image: url('/Icon_Modal_Calendar.svg');
}


/*.everyday-banking-content ul li.eb-two:before { background-image: url('/Icon_Modal_SubCategory.svg'); }*/

.everyday-banking-content ul li.eb-thr:before {
    background-image: url('/Icon_Modal_User.svg');
}

.everyday-banking-content ul li.eb-six:before {
    background-image: url('/Icon_Modal_Location.svg');
}

.everyday-banking-content ul li strong {
    font-size: 24px;
    font-weight: 600;
    line-height: 28px;
}

.everyday-banking-content ul li span {
    font-size: 18px;
    font-weight: 400;
    line-height: 25px;
}

.everyday-banking-content ul li.eb-fiv {
    text-align: right;
    margin-bottom: 91px;
    padding-left: 0;
}

.everyday-banking-content ul li.eb-fiv a {
    cursor: pointer;
    width: 210px;
    line-height: 44px;
    border: 1px solid var(--portalThemeColor4);
    border-radius: 8px;
    font-weight: 600;
    font-size: 18px;
    color: var(--portalThemeColor4);
    display: inline-block;
    text-align: center;
    text-decoration: none;
}

.everyday-banking-content ul li.eb-fiv a~a {
    margin-left: 16px;
}

.everyday-banking-content ul li.eb-fiv a:hover {
    background: var(--portalThemeColor4);
    color: #FFFFFF;
}

.everyday-banking-content ul li.eb-sev a {
    width: 160px;
    line-height: 44px;
    border: 1px solid var(--portalThemeColor4);
    border-radius: 8px;
    font-weight: 700;
    font-size: 18px;
    color: #FFFFFF;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    background: var(--portalThemeColor4);
}

.everyday-banking-content ul li.eb-sev a:hover {
    background: transparent;
    color: var(--portalThemeColor4);
}

.everyday-banking-content ul li.eb-six span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.everyday-banking-content ul li {
    margin-bottom: 20px;
}


/* MultiCarousel */

.MultiCarousel {
    float: left;
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 0;
    margin-bottom: 78px;
}

.MultiCarousel .MultiCarousel-inner {
    transition: 1s ease all;
}

.MultiCarousel .MultiCarousel-inner .item {
    float: left;
}

.MultiCarousel .MultiCarousel-inner .item>div {
    margin: 10px;
}

.MultiCarousel button.btn {
    position: absolute;
    width: 14px;
    height: 40px;
    background: transparent;
    border: 0;
    float: left;
    padding: 0;
    outline: none;
    top: 0;
    bottom: 0;
    margin: auto;
}

.MultiCarousel button.btn.leftLst:before,
.MultiCarousel button.btn.rightLst:before {
    content: "";
    background: url(/Icon_Scroll_Right) no-repeat center;
    width: 14px;
    height: 40px;
    display: inline-block;
}

.MultiCarousel button.btn.leftLst:before {
    transform: rotate(180deg);
}

.MultiCarousel button.btn.leftLst {
    left: 0;
}

.MultiCarousel button.btn.rightLst {
    right: 0;
}


/* C1 Calendar */

#WebResource_Calendar {
    height: 568px;
    border: none;
}

.modal-content-edit {
    background-color: var(--ba-white);
    width: 1000px
}

.calendar-wrapper {
    width: 100%;
    max-width: 1681px;
    margin: auto;
}

.calendar-box {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    text-align: center;
    width: 100%;
    margin-bottom: 8px;
}

.dayview-calendar-box .day-schedule li:nth-child(odd),
.calendar-box .days-box:nth-child(odd) ul {
    background: rgba(193, 193, 193, 0.1);
}

.dayview-calendar-box .day-schedule li:nth-child(even),
.calendar-box .days-box:nth-child(even) ul {
    background: var(--mbr-white);
}

ul.day-schedule {
    padding: 32px 16px;
    margin: 0;
    list-style: none;
    width: 100%;
    float: left;
}

ul.day-schedule li {
    min-height: 113px;
    text-align: left;
}

ul.day-schedule li .single-schedule {
    position: relative;
}

ul.day-schedule li input[type="radio"] {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    margin: 0;
    z-index: 1;
}

ul.day-schedule li~li {
    margin-top: 16px;
}

ul.day-schedule li.timecard-2 .single-schedule .schedule-card {
    min-height: 242px;
}

ul.day-schedule li.timecard-3 .single-schedule .schedule-card {
    min-height: 371px;
}

ul.day-schedule li.timecard-4 .single-schedule .schedule-card {
    min-height: 609px;
}

ul.day-schedule li.timecard-5 .single-schedule .schedule-card {
    min-height: 738px;
}

ul.day-schedule li.timecard-6 .single-schedule .schedule-card {
    min-height: 867px;
}

ul.day-schedule li.timecard-7 .single-schedule .schedule-card {
    min-height: 996px;
}

ul.day-schedule li.timecard-8 .single-schedule .schedule-card {
    min-height: 1125px;
}

.days-box {
    float: left;
}

.dayview-calendar-box .MultiCarousel .MultiCarousel-inner,
.dayview-calendar-box .days-box.current-date {
    width: 100% !important;
}

.dayview-calendar-box .days-box.current-date {
    display: inline-block;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

.dayview-calendar-box .days-box {
    display: none;
}

.dayview-calendar-box .days-box .day-box {
    padding: 0;
}

.days-box ul.day-schedule li:nth-child(5) {
    margin-top: 125px;
}

.calendar-wrapper .calendar-box .MultiCarousel:before,
.calendar-wrapper .calendar-box .MultiCarousel:after {
    padding: 13px 0;
    position: absolute;
    width: 100%;
    left: 0;
    right: 0;
    margin: auto;
    background: var(--portalThemeColor1);
    border-radius: 4px;
    font-size: 24px;
    font-weight: 600;
    line-height: 28px;
    text-align: center;
}

.calendar-wrapper .calendar-box .MultiCarousel:before {
    content: "Morning";
    margin-top: 125px;
}

.calendar-wrapper .calendar-box .MultiCarousel:after {
    content: "Afternoon";
    margin-top: 745px;
}

.day-box {
    position: relative;
    padding: 0 15px;
    margin-bottom: 85px;
    float: left;
    width: 100%;
}

.day-box .day-date {
    background: var(--mbr-white);
    border: 2px solid var(--portalThemeColor4);
    border-radius: 8px;
    padding: 12px;
    width: 100%;
    margin: 0;
}

.day-box input[type="radio"] {
    z-index: 1;
    opacity: 0;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    cursor: pointer;
}

.days-box.current-date .day-box input[type="radio"]+.day-date,
.day-box input[type="radio"]:checked+.day-date {
    background: var(--portalThemeColor4);
    color: var(--portalThemeOnColor4)
}

.day-box input[type="radio"]:checked+.day-date mark{
    background: var(--portalThemeColor4);
    color: var(--portalThemeOnColor4)
}

.days-box.current-date .day-box input[type="radio"]+.day-date .day-box input[type="radio"]:disabled+.day-date {
    border-color: var(--mbr-grey);
}

.days-box.current-date .day-box input[type="radio"]+.day-date * .day-box input[type="radio"]:disabled+.day-date * {
    color: var(--mbr-grey);
}

.day-box mark {
    background: var(--portalThemeColor7);
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 19px;
    color: var(--mbr-darkgrey);
}

.day-box p {
    margin: 0 0 0;
}

.day-box em {
    font-style: normal;
    font-size: 24px;
    font-weight: 700;
    line-height: 28px;
    color: var(--mbr-darkgrey);
}

.day-box span {
    display: block;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 19px;
    color: var(--mbr-darkgrey);
}

@media (-ms-high-contrast: active), (forced-colors: active) {
    .days-box.current-date .day-box input[type="radio"]+.day-date,
    .day-box input[type="radio"]:checked+.day-date  {
        background: Highlight !important;
    }

    .day-box input[type="radio"]:checked+.day-date em{
        background: Highlight !important;
    }

    .day-box input[type="radio"]:checked+.day-date mark{
        background: Highlight !important;
        color: var(--mbr-darkgrey);
    }

    .day-date mark{
        background-color: transparent;
        color: Highlight;
    }
}

.calendar-block-button {
    width: 210px;
    height: 48px;
    font-weight: 600;
    font-size: 18px;
    line-height: 25px;
    color: var(--portalThemeColor6);
    background: var(--mbr-white);
    border: 1px solid var(--portalThemeColor6);
    border-radius: 8px;
    background: transparent;
    margin-bottom: 40px;
    padding: 0;
}

.dayview-calendar-box .days-box.current-date .day-box input[type="radio"]+.day-date,
.dayview-calendar-box .day-box input[type="radio"]:checked+.day-date,
.dayview-calendar-box .days-box.current-date ul.day-schedule {
    background: transparent;
}

.dayview-calendar-box .days-box.current-date .day-box .day-date {
    border: 0;
    padding: 0;
    text-align: left;
    min-height: 61px;
}

.dayview-calendar-box .days-box.current-date .day-box .day-date * {
    display: inline-block;
    font-size: 24px;
    font-weight: 700;
    line-height: 28px;
}

.dayview-calendar-box .days-box.current-date .day-box .day-date span~span {
    display: none;
}

.dayview-calendar-box .days-box.current-date .day-box .day-date span:after {
    content: ",";
}

.weekview-calendar-control {
    width: 100%;
    display: inline-block;
    margin-bottom: 38px;
}

.weekday-button {
    float: right;
}

.weekday-button .day-button {
    border-radius: 8px 0 0 8px;
    color: var(--portalThemeColor6);
    background: var(--portalThemeColor7);
    border: 1px solid var(--portalThemeColor6);
}

.weekday-button .week-button {
    border-radius: 0 8px 8px 0;
    color: var(--portalThemeColor6);
    background: var(--portalThemeColor7);
    border: 1px solid var(--portalThemeColor6);
}

.weekday-button button {
    width: 143px;
    height: 40px;
    border: 1px solid var(--portalThemeColor6);
    float: left;
    background: var(--portalThemeColor7);
    color: var(--portalThemeColor6);
    padding: 0;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 25px;
}

.weekday-button button.view-active {
    background: var(--portalThemeColor6);
    color: var(--portalThemeColor7);
}

.today-prev-next-button {
    float: left;
}

.today-prev-next-button .today-button {
    color: var(--mbr-brown);
    border: 0;
    background: var(--mbr-lightgrey);
    height: 40px;
    width: 129px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    float: left;
    padding: 0;
    line-height: 40px;
}

.today-prev-next-button .today-button:before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    position: relative;
    top: 4px;
    margin-right: 11px;
    background-size: cover;
}

.today-prev-next-button .prev-button,
.today-prev-next-button .next-button {
    width: 14px;
    height: 40px;
    background: transparent;
    border-radius: 0;
    border: 0;
    float: left;
    padding: 0;
}

.today-prev-next-button .prev-button:focus,
.today-prev-next-button .next-button:focus {
    opacity: 0.7;
}

.today-prev-next-button .prev-button:before,
.today-prev-next-button .next-button:before {
    content: "";
    background: url(/Icon_Scroll_Right) no-repeat center;
    width: 14px;
    height: 40px;
    display: inline-block;
}

.today-prev-next-button .prev-button:before {
    transform: rotate(180deg);
}

.today-prev-next-button .prev-button {
    margin-left: 23px;
}

.today-prev-next-button .next-button {
    margin-left: 38px;
}

.today-prev-next-button .prev-button[disabled],
.today-prev-next-button .next-button[disabled] {
    filter: invert(50%);
    -webkit-filter: invert(50%);
    opacity: 0.3;
}

.schedule-card {
    font-size: 14px;
    line-height: 20px;
    border-radius: 8px;
    padding: 16px;
    width: 100%;
    margin: 0;
}

.schedule-card .schedule-time {
    font-weight: 600;
    color: var(--mbr-green);
}

.schedule-card .schedule-services {
    font-weight: 600;
    color: var(--mbr-darkgrey);
    margin-top: 8px;
    margin-bottom: 10px;
    float: left;
    width: 100%;
    position: relative;
    padding-left: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.schedule-card .schedule-representative {
    font-weight: 400;
    color: var(--mbr-darkgrey);
    float: left;
    width: 100%;
    position: relative;
    padding-left: 2px;
}

.edit-calendar .modal-title-app {
    position: relative;
    padding-left: 36px;
    width: 80%
}

.edit-calendar .modal-title-app:before,
.schedule-card .schedule-services:before,
.schedule-card .schedule-representative:before {
    content: "";
    float: left;
    position: absolute;
    left: 0;
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
}

.edit-calendar .modal-title-app:before {
    width: 26px;
    height: 26px;
}

.schedule-card .schedule-services:before,
.schedule-card .schedule-representative:before {
    width: 19px;
    height: 19px;
}

.modal-title.Everyday.banking:before,
.schedule-card .schedule-services.Everyday.banking:before {
    background-image: url(/Icon_Everyday_Banking_Dual);
}

.modal-title.Investments:before,
.schedule-card .schedule-services.Investments:before {
    background-image: url(/Icon_Invesments_Dual);
}

.modal-title.Loans:before,
.schedule-card .schedule-services.Loans:before {
    background-image: url(/Icon_Loans_Dual);
}

.modal-title.Others:before,
.schedule-card .schedule-services.Others:before {
    background-image: url(/Icon_Others_Dual);
}


/* .schedule-card .schedule-representative:before { background: url(/Icon_Modal_User) center no-repeat; background-size: cover; } */

.schedule-card.unavailable-card {
    background: var(--portalThemeColor6);
    border: 1.5px dashed var(--portalThemeColor4);
}

.schedule-card.unavailable-card .schedule-services {
    padding-left: 0;
}

.schedule-card.unavailable-card .schedule-services:before {
    display: none;
}

.schedule-card.available-card {
    border: 1.5px solid black;
}

.eb-fiv a {
    width: 130px;
    line-height: 35px;
}

.eb-fiv {
    text-align: right;
    margin-bottom: 91px;
    padding-left: 0;
}

.eb-fiv a {
    width: 210px;
    line-height: 44px;
    border: 1px solid var(--portalThemeColor4);
    border-radius: 8px;
    font-weight: 600;
    font-size: 18px;
    color: var(--portalThemeColor4);
    display: inline-block;
    text-align: center;
    text-decoration: none;
}

.eb-fiv a~a {
    margin-left: 16px;
}

.eb-fiv a:hover {
    background: var(--portalThemeColor4);
    color: #FFFFFF;
}

#reviewc1detailstable {
    position: relative;
    width: 50%;
}

.confirm-app-cancel-button {
    width: 210px;
    line-height: 44px;
    border: 1px solid var(--portalThemeColor4);
    border-radius: 8px;
    font-weight: 600;
    font-size: 18px;
    color: var(--portalThemeColor4);
    display: inline-block;
    text-align: center;
    text-decoration: none;
}

.confirm-app-keep-button {
    width: 210px;
    line-height: 44px;
    border: 1px solid var(--portalThemeColor4);
    border-radius: 8px;
    font-weight: 600;
    font-size: 18px;
    color: var(--portalThemeColor4);
    display: inline-block;
    text-align: center;
    text-decoration: none;
}

.serviceicon {
    width: 20px;
    height: 20px;
}

.placeholderProfileIcon {
    width: 20px;
    height: 20px;
}

.cancel-inner {
    width: 50%;
    margin: 0 auto;
}


/* C2 Cancel Appointment */

.cancel-appointment-action-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.cancel-appointment-action-container button {
    color: var(--portalThemeColor4);
    background-color: #FFFFFF;
    width: 198px;
    line-height: 43px;
    height: 45px;
    font-size: 18px;
    border-radius: 4px;
    text-decoration: none;
    border: 2px solid var(--portalThemeColor4);
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    display: inline-block;
    text-align: center;
    padding: 0 18px;
    margin: 5px;
}

.cancel-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fieldset-cancel-confirmation {
    text-align: center;
}

fieldset.fieldset-cancel-confirmation legend.section-title {
    border: none;
}

.schedule-card {
    font-size: 14px;
    line-height: 20px;
    border-radius: 8px;
    padding: 16px;
    width: 100%;
    margin: 0;
}

.schedule-card .schedule-time {
    font-weight: 600;
    color: var(--mbr-green);
}

.schedule-card .schedule-services {
    font-weight: 600;
    color: var(--mbr-darkgrey);
    margin-top: 8px;
    margin-bottom: 10px;
    float: left;
    width: 100%;
    position: relative;
    padding-left: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.schedule-card .schedule-representative {
    font-weight: 400;
    color: var(--mbr-darkgrey);
    float: left;
    width: 100%;
    position: relative;
    padding-left: 2px;
}

.edit-calendar .modal-title {
    position: relative;
    padding-left: 36px;
}

.edit-calendar .modal-title:before,
.schedule-card .schedule-services:before,
.schedule-card .schedule-representative:before {
    content: "";
    float: left;
    position: absolute;
    left: 0;
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
}

.edit-calendar .modal-title:before {
    width: 26px;
    height: 26px;
}

.schedule-card .schedule-services:before,
.schedule-card .schedule-representative:before {
    width: 19px;
    height: 19px;
}

.modal-title.Everyday.banking:before,
.schedule-card .schedule-services.Everyday.banking:before {
    background-image: url(/Icon_Everyday_Banking_Dual);
}

.modal-title.Investments:before,
.schedule-card .schedule-services.Investments:before {
    background-image: url(/Icon_Invesments_Dual);
}

.modal-title.Loans:before,
.schedule-card .schedule-services.Loans:before {
    background-image: url(/Icon_Loans_Dual);
}

.modal-title.Others:before,
.schedule-card .schedule-services.Others:before {
    background-image: url(/Icon_Others_Dual);
}


/* .schedule-card .schedule-representative:before { background: url(/Icon_Modal_User) center no-repeat; background-size: cover; } */

.schedule-card.unavailable-card .schedule-services {
    padding-left: 0;
}

.schedule-card.unavailable-card .schedule-services:before {
    display: none;
}


/* C1 cancel/edit calendar block */

.modal-content {
    background-color: var(--ba-white);
}

.modal-body {
    height: 90%;
}

.modal-content iframe {
    height: 100%;
    background-color: var(--ba-white);
}

form #mainContent #unavailability-form-container {
    margin: 0;
    width: 100%;
    height: calc(100vh - 90px);
}

form #mainContent .actions {
    display: flex;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
}

form #mainContent #EntityFormPanel .control textarea {
    height: 200px;
    width: 80%;
}

form #mainContent #EntityFormPanel {
    height: calc(100vh – 80px);
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.cancel-calendar-container {
    height: 50%;
    display: flex;
    flex-direction: column;
    margin: auto 0;
    justify-content: space-evenly;
}

.cancel-calendar-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#cancel-block-title {
    margin-left: 36px;
}

.cancel-block-icon {
    margin-right: 24px;
}

@media (min-width: 768px) {
    .edit-unavailability .modal-dialog {
        width: 70%;
    }
}

@media (min-width: 1340px) {
    .edit-unavailability .modal-dialog {
        width: 50%;
    }
}

@media (min-width: 768px) {
    .calendar-block .modal-dialog {
        width: 70%;
    }
}

@media (min-width: 1340px) {
    .calendar-block .modal-dialog {
        width: 50%;
    }
}

.image-form-container[data-gjs-type] {
    top: unset;
}
