@font-face {
    font-family: 'ab_gilroyregular';
    src: url(ab_gilroyregular.woff2) format("woff2"), url(ab_gilroyregular.woff) format("woff");
    font-weight: normal;
    font-style: normal
}

@font-face {
    font-family: 'ab_gilroymedium';
    src: url(ab_gilroymedium.woff2) format("woff2"), url(ab_gilroymedium.woff) format("woff");
    font-weight: normal;
    font-style: normal
}

@font-face {
    font-family: 'ab_gilroybold';
    src: url(ab_gilroybold.woff2) format("woff2"), url(ab_gilroybold.woff) format("woff");
    font-weight: normal;
    font-style: normal
}

html,
body,
p,
h1,
h2,
h3,
h4,
h5,
a,
.btn {
    font-family: "ab_gilroyregular", Arial, sans-serif !important;
}

sup {
    font-size: 0.7em;
  }

/* Power pages specific */
.row.sectionBlockLayout {
    display: none !important;
}

/* Helpers */
.bold,
a.bold,
p.bold,
.ip-page .bold,
.ip-page .bold a {
    font-family: "ab_gilroymedium", Arial, sans-serif !important;
    font-weight: 700;
}

.gray-color {
    color: #3B3B3B !important;
}

/* Loading message */
#processingMsg {
    width: 150px;
    text-align: center;
    padding: 6px 10px;
    z-index: 9999;
    top: 0;
    left: 40%;
    position: fixed;
    -webkit-border-radius: 0 0 2px 2px;
    border-radius: 0 0 2px 2px;
    -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    display: none;
}

/* Error container */
#ip-message-container {
    display: none;
    font-size: 22px;
    padding: 40px 100px;
    text-align: center;
}

/* Navbar */
.navbar .container {
    width: 100% !important;
}

.navbar .navbar-brand img {
    height: 20px !important;
}

/* Buttons */
button:focus { outline: 0 !important; }

.btn {
    border-radius: 4px !important;
}

.btn-default {
    background-color: white !important;
    border-color: rgb(56, 45, 149) !important; 
    color: rgb(56, 45, 149) !important; 
}

.ip-btn-next,
.ip-btn-add {
    align-items: center;
    background-color: rgb(56, 45, 149) !important; 
    border: none !important;
    color: white !important;
    display: flex;
    font-family: "ab_gilroymedium", Arial, sans-serif !important;
    justify-content: center;
}

.ip-btn-next .fa,
.ip-btn-add .fa {
    font-size: 13px; 
    margin-left: 5px;
}

.btn-col {
    display: flex;
    justify-content: end;
}

/* Modals */
#content-container {
    min-height: 132px !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

/* Containers */
.wrapper-body {
    padding-bottom: 10px;
}

#ip-header-container {
    background-color: rgb(56, 45, 149);
    color: white;
    font-weight: 600 !important;
    padding: 20px;
}

#ip-header-container .ip-header-title {
    color: white;
    font-family: "ab_gilroymedium", Arial, sans-serif !important;
    font-size: 24px;
    margin-top: 0px;
}

#ip-header-container .ip-header-subtitle {
    font-family: "ab_gilroymedium", Arial, sans-serif !important;
    font-size: 18px;
}

#ip-main-container {
    border: 2px solid rgb(237, 237, 237);
    border-radius: 4px;
    display: flex; 
    height: 100%; 
    margin: 20px 20px 20px 20px;
}

#ip-nav-container {
    background-color: rgb(237, 237, 237); 
    flex-grow: 0;
    min-width: 250px; 
    width: 250px;
}

#ip-nav-container .ip-nav-item {
    padding: 15px 20px;
}

#ip-nav-container .ip-nav-item:hover {
    background-color: rgba(70, 70, 70, 0.3);
    cursor: pointer;
}

#ip-nav-container .ip-nav-item.active {
    background-color: rgb(70, 70, 70);
}

#ip-nav-container .ip-nav-item > div {
    color: black;
    font-family: "ab_gilroyregular", Arial, sans-serif !important;
    font-size: 15px;
}

#ip-nav-container .ip-nav-item.active > div {
    color: white;
    cursor: default;
    font-family: "ab_gilroymedium", Arial, sans-serif !important;
    pointer-events: none;
}

#ip-container {
    padding: 20px;
    flex-grow: 1;
    min-width: 517px;
}

/* Page */
.ip-page {
    position: relative;
}

.ip-page p,
.ip-page p a {
    font-family: "ab_gilroyregular", Arial, sans-serif !important;
    font-size: 15px !important;
}

.ip-page-title,
.ip-page-subtitle {
    color: rgb(56, 45, 149); 
    font-family: "ab_gilroymedium", Arial, sans-serif;
}

.ip-page-title {
    font-size: 22px; 
    margin-bottom: 20px;
}

.ip-page-subtitle {
    font-size: 18px;
    margin-bottom: 5px;
}

/* Card */
.ip-card {
    border-radius: 4px;
    min-height: 100px;
}

.ip-card-static {
    background-color: rgb(237, 237, 237);
    padding: 20px;
}

.ip-card .ip-card-title {
    font-family: "ab_gilroymedium", Arial, sans-serif;
    font-size: 22px; 
    margin-bottom: 20px;
}

.ip-card .form-group {
    margin-bottom: 20px; 
}

.ip-card .form-group label {
    font-family: "ab_gilroymedium", Arial, sans-serif;
    font-size: 15px; 
    margin-bottom: 5px;
}

.ip-card .form-group .form-control {
    border-color: rgb(181, 181, 181);
    border-radius: 4px;
    font-family: "ab_gilroyregular", Arial, sans-serif;
    font-size: 15px; 
}

.ip-card.ip-card-static .form-control,
.ip-card .form-control:disabled,
.crmEntityFormView .form-control.readonly,
#cr090_fd_diseaseclass_name:read-only {
    border: none !important;
    background-image: none !important;
    background-color:rgb(237, 237, 237) !important;
    color: #383838 !important;
    cursor: default;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    pointer-events: none !important;
}

#cr090_fd_diseaseclass_name:read-only {
    padding-left: 5px !important;
    padding-right: 5px !important;
}

.ip-card .form-control:disabled,
.crmEntityFormView .form-control:read-only {
    background-color: white !important;
}

.ip-card .form-custom-actions {
    display: none !important;
}

/* Tabs */
#ip-tab-group {
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
    overflow-x: scroll;
    width: 100%;
}

.ip-tab-item {
    border-bottom: 2px solid #DADADA;
    cursor: pointer;
    display: inline-block;
    height: 50px;
    max-height: 50px;
    overflow: hidden;
    padding: 14px 16px;
}
  
.ip-tab-item:hover {
    background-color: #DADADA;
}

.ip-tab-item.active {
    border-bottom: 3px solid rgb(56, 45, 149);
}
  
.ip-tab-content {
    display: none;
}

/* Table */
.ip-table {
    font-family: "ab_gilroyregular", Arial, sans-serif !important;
    font-size: 15px;
    margin-bottom: 24px;
    width: 100%;
}

.ip-table tr th {
    font-family: "ab_gilroymedium", Arial, sans-serif;
}

.ip-table tr th,
.ip-table tr td {
    padding: 3px 0;
}

.ip-table tr th:first-child,
.ip-table tr td:first-child {
    text-align: left;
}

.ip-table tr th:last-child,
.ip-table tr td:last-child {
    text-align: right;
    width: 195px;
}

.ip-table tr th:last-child .btn,
.ip-table tr td:last-child .btn {
    color: white !important;
    background-color: rgb(56, 45, 149) !important;
    border: none !important;
    font-size: 14px;
    margin: 2px 2px 2px;
    padding: 5px 14px;
}

/* Form */
#MessagePanel {
    display: none;
}

.crmEntityFormView {
    border: none !important;
}

.crmEntityFormView .tab {
    margin-bottom: 0;
}

.crmEntityFormView .cell {
    padding: 0;
}

.crmEntityFormView .form-control-cell,
.crmEntityFormView .picklist-cell {
    font-family: "ab_gilroymedium", Arial, sans-serif;
    padding: 0 28px 20px;
}

.entity-form .form-control-cell, 
.entity-form table tr td:last-child {
    padding-right: 0;
}

.entity-form table tr td:first-child {
    padding-left: 0;
}

.crmEntityFormView .picklist-cell {
    padding-right: 0;
}

.entity-form .form-control-cell .field-label,
.entity-form .form-control-cell .form-control,
.entity-form .form-control-tooltip {
    font-size: 15px; 
}

.entity-form .form-control-cell .form-control {
    border: none;
    border: solid 1px #B5B5B5;
    border-radius: 4px !important;
}

.entity-form .form-control-cell.textarea textarea {
    min-height: 120px;
}

.entity-form .picklist-cell .form-control.picklist {
    border:1px solid rgb(181, 181, 181);
    -webkit-border-top-right-radius: 4px;
    -webkit-border-bottom-right-radius: 4px;
    -webkit-border-top-left-radius: 4px;
    -webkit-border-bottom-left-radius: 4px;
    -moz-border-radius-topright: 4px;
    -moz-border-radius-bottomright: 4px;
    -moz-border-radius-topleft: 4px;
    -moz-border-radius-bottomleft: 4px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    padding:2px;
}

.entity-form table tr:last-child td {
    padding-bottom: 0;
}

.entity-form table tr td:first-child {
    padding-left: 0;
}

.entity-form .form-control-cell,
.entity-form table tr td:last-child {
    padding-right: 0;
}

.crmEntityFormView .input-group:not(.entitylist-search) {
    display: flex;
    flex-direction: column;
}

.crmEntityFormView .actions {
    border: none !important;
    display: flex;
    justify-content: end;
    text-align: right;
}

.ip-card > .crmEntityFormView .actions {
    margin: 0;
    padding: 0;
}

.crmEntityFormView .actions .btn-primary,
.crmEntityFormView .input-group-btn .btn-default {
    background-color: rgb(56, 45, 149) !important; 
    border: none !important;
    border-radius: 4px !important;
    color: white !important;
    font-family: "ab_gilroymedium", Arial, sans-serif !important;
}

.crmEntityFormView .input-group-btn {
    width: 100%;
}

.crmEntityFormView .input-group-btn .btn-default {
    margin-top: 14px;
    width: 100%;
}

.crmEntityFormView .input-group.entitylist-search .input-group-btn {
    width: 20px;
}

.crmEntityFormView .input-group.entitylist-search .input-group-btn .btn-default {
    margin-top: 0;
    margin-left: 5px;
}

.crmEntityFormView .actions .btn:last-child {
    margin-right: 0 !important;
}

.crmEntityFormView .tab-column fieldset {
    margin-bottom: 0;
}

.crmEntityFormView .picklist-cell {
    padding-right: 0;
}

/* Lookup */
ul.pagination li.active a,
ul.pagination li.active a:hover,
ul.pagination li.active a:active,
ul.pagination li.active a:focus {
    background-color: rgb(56, 45, 149) !important;
}

th.sort-enabled a {
    color: rgb(56, 45, 149) !important;
}

.remove-value {
    display: none;
}

/* Submitted */
#banner-submitted {
    background: linear-gradient(180deg, #b00d8c 0%, #3f1a8c 100%);
    color: white;
    margin: 20px 0;
    padding: 20px 50px;
    width: 100%;
}

#banner-submitted h2 {
    color: white;
    margin-top: 0;
}

#banner-submitted a {
    color: white;
}

#comparisonModal .modal-body {
    padding-top: 5px !important;
}

.comparison-row {
    margin-top: 10px;
}

.comparison-row p {
    font-size: 16px !important;
}

.comparison-row ul, .comparison-row ol {
    padding-left: 20px;
}

.comparison-table {
    border: 1px solid black;
}

.comparison-table tr td {
    padding: 10px;
    width: 50%;
}

.comparison-table tr td:first-child {
    border-right: 1px solid black;
}