html {
	scroll-behavior: smooth;
	font-size: 16px;
}
body {
	color: #464F57;
	font-family: 'HelveticaNeueLTStd-Lt', Arial, sans-serif;

    /* Fixed margin bottom to allow for floating footer */
	/* margin-bottom: 80px; */
}
body.iframe-body {
	margin-bottom: 0 !important;
}

.d-inline-block {
	display: inline-block;
}

.ml-2 {
    color: #464F57;
}

.hidden-accessible {
	position:absolute;
	left:-10000px;
	top:auto;
	width:1px;
	height:1px;
	overflow:hidden;
}

/* Headings */
.h0 {
    font-family: 'TitilliumText25L002', Arial, sans-serif;
    font-size: 3.25rem;
    color: #464F57;
}
h1, .h1 {
    font-family: 'TitilliumText25L001', Arial, sans-serif;
    font-size: 2.75rem;
    color: #464F57;
	margin-top: 14px;
}
h2, .h2 {
    font-family: 'TitilliumText25L001', Arial, sans-serif;
    font-size: 2.5rem;
    color: #464F57;
}
h3, .h3, .iframe-body h2.tab-title {
    font-family: 'TitilliumText25L001', Arial, sans-serif;
    font-size: 2.125rem;
    color: #464F57;
}
h4, .h4 {
    font-family: 'TitilliumText25L002', Arial, sans-serif;
    font-size: 1.75rem;
    color: #464F57;
}
h5, .h5, .entity-form .h5 label, .page-header > p, .entity-form label.field-label.h5,
.quickform .section-title h3, .overview-panel .section-title h5 {
    font-family: 'TitilliumText25L001', Arial, sans-serif;
    font-size: 1.5rem;
    color: #464F57;
}
h6, .h6, nav[aria-label="Main Navigation"] {
    font-family: 'TitilliumText25L001', Arial, sans-serif;
    font-size: 1.125rem;
    color: #464F57;
}

/* Paragraphs */
.P1text {
    font-family: 'HelveticaNeueLTStd-Lt', Arial, sans-serif;
    font-size: 1.3125rem;
    color: #464F57;
}
.P2text {
    font-family: 'HelveticaNeueLTStd-LtIt', Arial, sans-serif;
    font-size: 1.3125rem;
    color: #464F57;
}
.P3text,
.list-group .list-group-item,
.entity-form .control .form-control,
.entity-form .checkbox-cell label.field-label,
.entity-form .control label {
    font-family: 'HelveticaNeueLTStd-Lt', Arial, sans-serif;
    font-size: 1.125rem;
    color: #464F57;
}
.P4text,
.entity-form label.field-label,
.entity-form label,
.entity-grid.subgrid th,
.subgrid th,
ul.nav.nav-tabs {
    font-family: 'HelveticaNeueLTStd-Md', Arial, sans-serif;
    font-size: 1.125rem;
    color: #464F57;
	font-weight: 400;
}
.P5text,
.h4.entitylist-filter-option-group-label, footer {
    font-family: 'HelveticaNeueLTStd-Lt', Arial, sans-serif;
    font-size: 1rem;
    color: #464F57;
}
.P6text {
    font-family: 'HelveticaNeueLTStd-Lt', Arial, sans-serif;
    font-size: 0.875rem;
    color: #464F57;
}
.P7text, .cell .description, .term-box ul > li {
    font-family: 'HelveticaNeueLTStd-LtIt', Arial, sans-serif;
    font-size: 0.875rem;
    color: #464F57;
}

.P7textbold {
	font-family: 'HelveticaNeueLTStd-LtIt', Arial, sans-serif;
    font-size: 0.875rem;
    color: #464F57;
	font-weight: bold;
}

.guidance-heading {
	font-weight: bold;
	margin-top:4px;
}

/* General */
a {
	color: #004a85;
}
a:hover, a:focus {
	color: #004a85;
	filter: brightness(0.5);
}

.crmEntityFormView textarea.form-control.readonly,
.crmEntityFormView textarea.form-control[readonly],
.crmEntityFormView textarea.form-control[readonly][disabled] {
	touch-action: auto;
	pointer-events: all;
}

/* Switch off outline on focus and just use the focus-visble so it only shows for tab and not click */
a:focus {
	outline: none;
}
nav[aria-label="Main Navigation"] a:hover,
nav[aria-label="Main Navigation"] a:focus,
.dropdown-menu a:hover,
.dropdown-menu a:focus,
.view-pagination a:hover,
.view-pagination a:focus,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus,
.nav-tabs > li > a:hover,
.nav-tabs > li > a:focus,
.nav-tabs .nav-link.active:hover,
.nav-tabs .nav-link.active:focus,
.nav-tabs .nav-link:hover,
.nav-tabs .nav-link:focus,
#ValidationSummary1 > ul > li > a:hover,
#ValidationSummary1 > ul > li > a:focus,
div.validation-summary > ul > li > a:hover,
div.validation-summary > ul > li > a:focus,
div.validation-summary-errors > ul > li > a:hover,
div.validation-summary-errors > ul > li > a:focus {
	filter: none;
}

html[dir=ltr] li a {
    margin-left: 0;
}

a.no-hover:hover {
	filter: brightness(1.0);
}

a.header-logo img, .header-logo {
	width: auto;
	height: 46px;
	position: relative;
	top: -10px;
}

.portal-title {
	margin-top: 37px;
}

.lead-heading {
	margin-top: 20px;
	margin-bottom: 24px;
}

.navbar-fixed-bottom,
.fixed-bottom {
	padding-top: 8px;
}

.navbar-static-top.navbar,
.static-top.navbar {
	padding-bottom: 5px;
}

.navbar-static-top.navbar .menu-bar>.navbar-nav>.divider-vertical,
.static-top.navbar .menu-bar>.navbar-nav>.divider-vertical,
footer.navbar-default .divider-vertical,
footer.navbar .divider-vertical {
	height: 21px;
	margin: 0;
	padding: 0;
	margin-top: 20px;
	border-right: 1px solid #fff;
	border-left: 1px solid #666;
}

footer.navbar-default .divider-vertical,
footer.navbar .divider-vertical {
	height: 14px;
}

.navbar-inverse .navbar-toggle,
.navbar-inverse .navbar-toggle .icon-bar,
.navbar-dark .navbar-toggler {
	border-color: #dddddd;
}

.navbar-inverse .navbar-toggle:hover,
.navbar-inverse .navbar-toggle:focus,
.navbar-inverse .navbar-toggle:hover .icon-bar,
.navbar-inverse .navbar-toggle:focus .icon-bar,
.navbar-dark .navbar-toggler:hover,
.navbar-dark .navbar-toggler:focus {
	border-color: #ffffff;
}

a:not(.btn) {
	text-decoration: underline;
}
[role="navigation"] a,
[role="contentinfo"] a,
.toolbar a,
a.list-group-item {
	text-decoration: none;
}

.navbar-nav > li > a {
	color: #464F57 !important;
}

.breadcrumb > .active,
.breadcrumb-item.active {
	color: #464F57 !important;
}

.req {
	color: #ab1b0e;
}
.req::after,
.info.required label:after,
.description.required:after,
.crmEntityFormView .cell div.info.required label:after {
	content: ' *';
	color: #ab1b0e;
}

.div-shadow {
	min-height: 200px;
	padding: 25px;
	background-color: #fbfbfb;
	border-radius: 4px;
	-webkit-box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
	box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

/* Layout */
.page-header {
	padding-bottom: 10px;
	margin: 0 0 22px;
	border-bottom: 0;
}

.page-heading {
	padding-top: 0;
}

.home h1,
.home .lead {
	color: #004A85;
}

.home-lead {
	display: flex;
	margin-bottom: 40px;
	margin-top: 35px;
}

.home-lead .home-image-container {
	margin: auto;
}

.home-lead .home-image-container img {
	min-width: 345px;
}

.view-toolbar.grid-actions {
	margin-top: 10px;
}

/* Navigation */
.hvr-underline-from-center {
	display: inline-block;
	vertical-align: middle;
	-webkit-transform: perspective(1px) translateZ(0);
	transform: perspective(1px) translateZ(0);
	box-shadow: 0 0 1px rgba(0, 0, 0, 0);
	position: relative;
	overflow: hidden;
}

.hvr-underline-from-center:before {
	content: "";
	position: absolute;
	z-index: -1;
	left: 51%;
	right: 51%;
	bottom: 0;
	background: #004a85;
	height: 4px;
	-webkit-transition-property: left, right;
	transition-property: left, right;
	-webkit-transition-duration: 0.3s;
	transition-duration: 0.3s;
	-webkit-transition-timing-function: ease-out;
	transition-timing-function: ease-out;
}

.hvr-underline-from-center:hover:before,
.hvr-underline-from-center:focus:before,
.hvr-underline-from-center:active:before {
	left: 0;
	right: 0;
}

.hvr-underline-from-center-active:before {
	left: 0;
	right: 0;
}

/* Map button overrides */


/* Buttons */
.btn {
	font-family: 'HelveticaNeueLTStd-Lt', Arial, sans-serif !important; 
	font-size: 16px !important; 
}

.btn-primary {
	background-color: #004a85;
	border-color: #004a85;
    color: #ffffff;
}
.btn-default,
.btn-secondary {
	background-color: #ffffff;
	border-color: #ebebeb;
    color: #464F57;
}
.btn-grey {
	background-color: #4d4b4b;
	border-color: #4d4b4b;
	color: #ffffff;
}
.btn-info {
	background-color: #004a85;
	border-color: #004a85;
    color: #ffffff;
}

/* Buttons - Hover/Focus/Active */
.btn-primary:active:hover,
.btn-primary:hover,
.btn-primary:active:focus,
.btn-primary:focus,
.btn-primary:active {
    background-image: linear-gradient(rgb(0 0 0/30%) 0 0);
    background-color: #004a85;
	border-color: #004a85;
    color: #ffffff;
	filter: none;
}
.btn-default:active:hover,
.btn-default:hover,
.btn-default:active:focus,
.btn-default:focus,
.btn-default:active,
.btn-secondary:active:hover,
.btn-secondary:hover,
.btn-secondary:active:focus,
.btn-secondary:focus,
.btn-secondary:active {
	background-color: #ebebeb;
	color: #464F57;
}
.btn-grey:active:hover,
.btn-grey:hover,
.btn-grey:active:focus,
.btn-grey:focus,
.btn-grey:active {
	background-image: linear-gradient(rgb(0 0 0/30%) 0 0);
	background-color: #4d4b4b;
	border-color: #4d4b4b;
	color: #ffffff;
	filter: none;
}

/* Buttons - Disabled */
.btn-primary:disabled,
.btn-primary[disabled] {
	background-color: #464F57 !important;
	border-color: #464F57 !important;
}
.btn-default:disabled,
.btn-default[disabled],
.btn-secondary:disabled,
.btn-secondary[disabled],
.btn-grey:disabled,
.btn-grey[disabled] {
	opacity: 0.85;
}

.btn-group {
	margin-right: 8px;
}

.action-buttons .panel,
.action-buttons .card {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
	background-color: #ebebeb;
	text-align: center;
}

.action-buttons .panel-body,
.action-buttons .card-body {
	padding: 30px 10px;
}

.action-buttons .panel h4,
.action-buttons .card h4 {
	color: #004a85;
	font-size: 1.2rem;
	margin-top: 0;
	margin-bottom: 20px;
}

.action-buttons .panel .panel-body button,
.action-buttons .card .card-body button {
	font-size: 0.9rem;
	color: #004a85;
	padding: 8px 10px;
	min-width: 180px;
}

.action-buttons .panel.default,
.action-buttons .card.default {
	background-color: #ebebeb;
}

.action-buttons .panel.default h4,
.action-buttons .card.default h4 {
	color: #004a85;
}

.action-buttons .panel.primary,
.action-buttons .card.primary {
	background-color: #004a85;
}

.action-buttons .panel.primary h4,
.action-buttons .card.primary h4 {
	color: #ffffff;
}

.btn-group:has(.btn.btn-primary) {
	margin-right: 0;
}

.form-action-container-right {
	text-align: right;
}

html[dir=ltr] .crmEntityFormView .actions .btn:first-child {
    margin-right: 0;
}

/* Dropdown menu */
.dropdown-menu > li > a,
.dropdown-menu .dropdown-item {
	color: #464F57;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus,
.dropdown-menu > .active > a:focus,
.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus,
.dropdown-menu .dropdown-item.active:focus {
	color: #ffffff;
	background-color: #004a85;
}

.dropdown-menu > li > a > .fa,
.dropdown-menu .dropdown-item > .fa {
	margin-right: 4px;
}

/*Panels / Cards */
.panel-default-blue,
.card-default-blue {
	background-color: #ffffff;
	border-color:  #004a85;
	color:  #004a85;
}

/* Alerts */

/* Hide alert icons */
.crmEntityFormView .validation-summary h2 > span.fa,
.message.alert span.fa,
.alert.alert-info > .fa {
	display: none;
}

.crmEntityFormView .validation-summary:has(h2.alert-title) {
	padding-top: 12px; 
}

.page-heading .alert-title,
.message.alert .alert-title,
.crmEntityFormView .validation-summary .alert-title {
	border-bottom: 1px solid #ebebeb;
	padding-bottom: 8px;
	margin-bottom: 12px;
	font-size: 1.4rem;
}

.message.alert .alert-title {
	margin-top: 0;
}

.crmEntityFormView .validation-summary.alert-warning .alert-title{
	border-color: #000000;
}

.page-heading .alert-title {
	border-color: #464F57;
	margin-top: 0;
}

.crmEntityFormView .validation-summary h2.validation-header {
	margin-bottom: 10px;
}

.crmEntityFormView .validation-summary ul,
.message.alert ul {
    padding-left: 40px;
}
.crmEntityFormView .validation-summary ul li,
.message.alert ul li {
    list-style-type: disc;
}

.alert span.fa {
    vertical-align: text-top;
    margin-right: 2px;
}

.alert-danger,
.alert-info.alert-danger {
	background-color: #ab1b0e!important;
	border-color: #ab1b0e;
    color: #ffffff;
}
.alert-danger h2 {
	color: #ffffff;
}
p.text-danger,
#ValidationSummary1 > ul > li > a,
div.validation-summary > ul > li > a,
div.validation-summary-errors > ul > li > a {
	color: white !important;
	text-decoration: none;
	margin: 0;
}

.workflow-errorheading{
	font-size: 1.2rem;
}

.alert-warning {
	background-color: #fdb913;
	border-color: #fdb913;
    color: #000000;
}

.alert-warning h2 {
	color: #000000;
    margin: 0 0 1em 0;
    padding: 0;
    font-size: 1.2rem;
}
.alert-info {
	background-color: #ffffff;
	border-color: #004a85;
    color: #004a85;
}

.alert-success {
	background-color: #cde5c1;
	border-color: #cde5c1;
    color: #014731;
}

.entity-grid .message {
	margin: 0;
}

.view-empty .alert-warning,
.payment-instructions .alert-warning,
.sharepoint-empty .alert-warning {
	background-color: #ffffff;
	border-color: #004a85;
    color: #004a85;
}

/* Tables */
.table-striped > tbody > tr:nth-of-type(odd) {
	background-color: #ebebeb;
}

table.table-striped th,
table.table-striped td {
	font-size: 16px !important;
}

.entity-grid.subgrid th,
.subgrid th {
	color: #004a85;
}

td[data-attribute="uw_documenturl"] {
	word-wrap: break-word;
	word-break: break-all;
}

/* Fixed width droplist column */
table thead th[aria-label="Actions"] {
	width: 0.1% !important;
}

/*Hiding modified column*/
.sharepoint-data tr th:nth-child(2),
.sharepoint-data tr td:nth-child(2) {
	display: none;
}

.crmEntityFormView .cell.subgrid-cell {
	padding-bottom: 0;
}

.pagination>.active>a,
.pagination>.active>a:focus,
.pagination>.active>a:hover,
.pagination>li>a:focus,
.pagination>li>a:hover,
.pagination .page-item.active .page-link,
.pagination .page-item.active .page-link:focus,
.pagination .page-item.active .page-link:hover,
.pagination .page-link:focus,
.pagination .page-link:hover {
    background-color: #004a85!important;
    border-color: #004a85!important;
}

.pagination>li>a:focus,
.pagination>li>a:hover,
.pagination .page-link:focus,
.pagination .page-link:hover {
    background-image: linear-gradient(rgb(0 0 0/30%) 0 0);
}

.entitylist .view-empty.message{
	background-color: #ffffff;
	border: 1px solid  #004a85;
    color: #004a85;
	padding: 15px;
}


/* Table filters */
#entitylist-filters {
	padding-left: 8px;
}

.entitylist-filter {
	border: none;
	margin-bottom: 10px !important;
}
.entitylist-filter > .panel-body,
.entitylist-filter > .card-body {
	padding: 4px 0 10px 0;
}

.entitylist-filter input.form-control,
.entitylist-filter select.form-control,
.entitylist-search input.form-control {
    border: 1px solid #ebebeb;
	box-shadow: none;
}

/* Application progress menu */
ol.progress.list-group {
	margin-top: 0;
}

.progress .glyphicon,
.progress .fa,
.progress [class^="fa-"] {
	font-size: x-small !important;
    top: 5px;
	float: right;
}

/* Success */
.list-group-item.list-group-item-success,
.list-group-item.list-group-item-success:hover {
	background-color: #cde5c1;
	border-color: #ebebeb;
	color: #014731;
}

/* Active */
.list-group-item.active,
.list-group-item.active:hover {
	background-color: #004a85;
	border-color: #004a85;
	color: #ffffff;
}

/* Incomplete */
ol.progress li.incomplete {
	background-color: #ebebeb;
}

/* Home page */

/* Home page buttons */
.panel-body > h4,
.card-body > h4 {
	color: #ffffff; /* TODO: Likely to change to be coloured panels */
}

/* Dialogs */
/*-- Custom bigger modal --*/

@media (min-width: 1024px) {
	.modal-lg {
		width: 80%
	}
}


.modal-dialog.modal-lg .modal-content {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	align-content: stretch;
	height: auto;
	position:static;
}

.modal-dialog-centered {
	display: flex;
	align-items: center;
	min-height: calc(100% - 1rem);
}

.modal-form .modal-body {
	flex-grow: 1;
	height: 80%;
}

.iframe-body h3 {
	margin-top: 0;
}

.iframe-body .actions {
    padding: 20px 28px 0 28px;
}

.iframe-body .crmEntityFormView .form-custom-actions {
    padding: 20px 13px 0 13px;
}

.iframe-body .actions .btn:first-child {
	margin-right: 0 !important;
}

.iframe-body a.btn span.fa,
.iframe-body h3:empty {
	display: none;
}

.iframe-body h2.tab-title {
	border: none;
	padding-left: 28px;
	margin: 0 0 11px 0;
}

.modal-header > button.form-close {
    top: 2.5% !important;
}

.modal-title .fa {
    vertical-align: bottom;
    margin-right: 2px;
}

.iframe-body .crmEntityFormView .form-custom-actions {
    border-top: 1px solid #e5e5e5;
    margin: 20px 0;
}

.iframe-body .crmEntityFormView .form-custom-actions input.button {
    margin-top: 0;
}

.iframe-body h3 + .P3text {
	margin-bottom: 8px;
}

@media (min-width: 1024px) {
	.modal-sm {
		width: 500px;
	}
}

.modal-form .modal-sm .modal-body iframe {
	height: 200px;
}

@media (min-width: 992px) {
	.container.quickform {
	  width: 100%;
	}
}

@media (min-width: 768px) {
	.container.quickform {
	  width: 100%;
	}
}

/*-- Custom bigger modal END --*/

.crmquickform-cell {
	border-right: 0 !important;
	padding: 0 !important;
}

/* Tab panels */

.crmEntityFormView .cell.boolean-radio-cell input[type=radio]:first-of-type {
    margin-left: 0 !important;
}

.nav-tabs > li > a,
.nav-tabs .nav-link {
	text-decoration: none;
	background-color: #ebebeb;
	border: 1px solid #dddddd;
	border-bottom: 0;
	margin-right: 4px;
}

.nav-tabs > li.active > a,
.nav-tabs > li > a:hover,
.nav-tabs > li.active > a:hover,
.nav-tabs > li > a:focus,
.nav-tabs > li.active > a:focus,
.nav-tabs .nav-link.active,
.nav-tabs .nav-link:hover,
.nav-tabs .nav-link.active:hover,
.nav-tabs .nav-link:focus,
.nav-tabs .nav-link.active:focus {
	background-color: #004a85;
	color: #ffffff;
}

.tab-pane {
	padding: 0 8px;
}

.entity-form-full-width .crmEntityFormView fieldset legend {
	padding-left: 0;
}

.tab-pane .crmEntityFormView .actions,
.entity-form-full-width .crmEntityFormView .actions {
	padding: 20px 28px 0 28px;
}

.tab-pane .payment-summary:first-of-type .fee-item {
	border-top: none;
	padding-top: 0;
}

.tab-pane .crmEntityFormView .cell,
.entity-form-full-width .crmEntityFormView .cell {
    padding-right: 0;
    padding-left: 0;
}

.tab-pane .overview-panel .crmEntityFormView .cell {
    padding-right: 28px;
    padding-left: 28px;
}

.tab-pane .entity-grid.subgrid > .grid-actions,
.tab-pane .entity-grid.entitylist > .grid-actions {
	margin-top: 10px;
}

/* Tab panels END */

#EntityFormPanel .tab[data-name="tab_new_doc"],
#EntityFormPanel .tab[data-name="tab_upload"] {
	display: none;
}

/* Entity forms */
div[data-name='tab_MeetingNotification'] > div > div > fieldset > .section-title{
	display: none;
}

.inline-checkboxes > div {
    display: inline-block;
}

/* Strip the downdown menu icons */
.dropdown-menu a .fa,
.btn span.fa {
	display: none;
}

.fa.fa-chevron-circle-up,
.fa.fa-chevron-circle-down,
.entitylist-search button > .fa,
.btn.launchentitylookup span.fa,
.btn.clearlookupfield span.fa {
	display: inline !important;
} 

.form-control {
    color: #464F57;
    border-radius: 4px !important;
}

.crmEntityFormView .section-title {
	padding-right: 28px;
}

.crmEntityFormView .section-title h3 {
	margin-top: 0;
}
.crmEntityFormView fieldset {
	margin-bottom: 0;
}
.entity-form-full-width .crmEntityFormView fieldset {
	margin-bottom: 20px;;
}
.crmEntityFormView fieldset legend {
	padding-left: 28px;
}
.crmEntityFormView .two-column:last-of-type fieldset legend {
	padding-left: 0;
}
.crmEntityFormView .description.above {
	margin-bottom: 10px;
}

.crmEntityFormView .cell .picklist label {
    display: inline;
}

.crmEntityFormView .cell .picklist.horizontal label {
    margin-right: 10px;
}

.crmEntityFormView .cell .picklist.horizontal label:last-of-type {
    margin-right: 0;
}

.crmEntityFormView .cell .picklist label .description {
	display: inline-block;
}

.crmEntityFormView .form-control,
.crmEntityFormView .form-control.readonly,
.crmEntityFormView .form-control[readonly],
.crmEntityFormView .form-control[readonly][disabled],
.form-readonly .form-control {
    border: 1px solid #ebebeb;
    padding: 8px 6px;
}

.crmEntityFormView .form-control.readonly,
.crmEntityFormView .form-control[readonly],
.crmEntityFormView .form-control[readonly][disabled] {
    background-color: #ebebeb !important;
	pointer-events: none;
	touch-action: none;
}

.crmEntityFormView .form-control.lookup[readonly] + .text-muted {
    display: none;
}

.crmEntityFormView .form-control.lookup[readonly]:not(.aspNetDisabled) {
    background-color: #ffffff !important;
}


.crmEntityFormView .control .text-muted {
    top: 8px !important;
    padding-left: 4px;
}

.crmEntityFormView .control input[type=checkbox],
.crmEntityFormView .control input[type=radio] {
    /* align checkbox with text */
    margin-top: 6px !important;
	accent-color: #004a85;
}

body.mobile .crmEntityFormView .control input[type=checkbox],
body.mobile .crmEntityFormView .control input[type=radio] {
    /* disable for mobile */
    margin-top: 2px !important;
}

.crmEntityFormView .control input[type=checkbox].readonly,
.crmEntityFormView .control input[type=checkbox][readonly] {
	accent-color: #dddddd !important;
}

.crmEntityFormView .control input[type=radio].readonly,
.crmEntityFormView .control input[type=radio][readonly] {
	accent-color: rgba(118, 118, 118, 0.3) !important;
	cursor: not-allowed;
}

.crmEntityFormView .control input[type=checkbox].readonly:hover,
.crmEntityFormView .control input[type=radio].readonly:hover,
.crmEntityFormView .control input[type=checkbox][readonly]:hover,
.crmEntityFormView .control input[type=radio][readonly]:hover {
	background-image: none;
}

.radio-inline, .checkbox-inline, .form-check-inline {
    margin-right: 10px;
}

.radio-inline + .radio-inline, .checkbox-inline + .checkbox-inline,
.form-check-inline + .form-check-inline {
    margin-left: 0;
}

/* Nested cell indents */
.padded-nested-checkbox {
    padding-bottom: 20px !important;
}

.crmEntityFormView .nested-1,
.overview-panel .nested-1 {
    padding-left: 28px !important;
}

.crmEntityFormView .nested-1.nested-both,
.overview-panel .nested-1.nested-both {
	padding-right: 28px !important;
}

.crmEntityFormView .nested-2,
.overview-panel .nested-2 {
    padding-left: 48px !important;
}

.crmEntityFormView .nested-2 + td,
.overview-panel .nested-2 + td {
    padding-bottom: 0px !important;
}

.nested-2:not(:first-of-type) {
	padding-left: 8px !important;
}

.nested-1 .nested-1,
.nested-children {
    padding-bottom: 4px !important;
}

.inline-checkboxes > div {
	margin-left: 10px;
}
.inline-checkboxes > div:first-of-type {
	margin-left: 0;
}

/*-- Details summary accordion --*/

.overview-panel h5 {
	font-size: 1.25rem;
}

@keyframes details-show {
	from {
		opacity: 0;
		transform: var(--details-translate, translateY(-0.5em));
	}
}

.overview-panel details[open]>*:not(summary) {
	animation: details-show 250ms ease-in-out;
}

.overview-panel details {
	border-radius: 0.5rem;
	margin-top: 1rem;
	transition: 50ms;
	border: 1px solid #ebebeb;
	background-color: #ffffff;
}

.overview-panel details.child {
	margin-left: 12px;
	margin-right: 12px;
}

.overview-panel > details > details.child:last-of-type {
	margin-bottom: 1rem;
}

.overview-panel summary::before,
.overview-panel summary::after {
	transition: 200ms;
}

.overview-panel summary:hover,
.overview-panel summary:focus {
	background-image: linear-gradient(rgb(0 0 0/10%) 0 0);
}

.overview-panel summary {
	cursor: pointer;
	position: relative;
	padding: 8px 10px;
	background-color: #ebebeb;
	border: 1px solid #dddddd;
}

.overview-panel details[open] > summary {
	margin-bottom: 10px;
}

.overview-panel summary::marker {
	content: none;
}

.overview-panel summary::after {
	content: '';
	border: solid currentColor;
	border-width: 0 2px 2px 0;
	display: inline-block;
	padding: 3px;
	transform: rotate(45deg);
	width: 0;
	height: 0;
	position: absolute;
	right: 12px;
	top: 9px;
}

.overview-panel .parent[open]>summary::after {
	transform: rotate(-135deg);
	top: calc(70%);
}

.overview-panel .child[open]>summary::after {
	transform: rotate(-135deg);
	top: calc(70%);
}

.overview-panel .cell div.description {
	display: none !important;
}

.overview-panel details summary>* {
	display: inline;
}

.overview-panel .review-section .crmEntityFormView fieldset legend.section-title {
	padding-left: 0 !important;
	padding-top: 20px;
}

/*-- Details summary accordion End--*/

/* Loading spinner */
.spinner-div, #spinner {
	display: flex;
	background: white;
	opacity: 0.6;
	height: 100vh;
	width: 100vw;
	position: fixed;
	z-index: 10000;
	top: 0;
	right: 0;
	justify-content: center;
	align-items: center;
}

.spinner {
	color: #ced4da;
}

@keyframes spinner {
	to {
		transform: rotate(360deg);
	}
}

.spinner:before {
	content: '';
	box-sizing: border-box;
	position: absolute;
	top: 50%;
	left: 50%;
	width: 50px;
	height: 50px;
	margin-top: -15px;
	margin-left: -15px;
	border-radius: 50%;
	border: 5px solid #ccc;
	border-top-color: #004A85;
	animation: spinner .6s linear infinite;
	z-index: 10000;
}

/* Profile */
.panel-default.nav-profile > .panel-heading,
.card.nav-profile > .card-header {
	color: #464f57 !important;
}


/* Payment tab */

.payment-summary .P4text,
.payment-summary .P5text,
.quote-summary .p4text,
.quote-summary .p5text {
	padding: 8px 0;
}

.payment-summary .fee-item,
.quote-summary .fee-item {
	padding-top: 18px;
	border-top: 1px solid #ebebeb;
}

#all-fees-payment.payment-summary + .payment-summary .fee-item {
	border-top: 2px solid #004A85 !important;
}

.payment-summary, .quote-summary {
	margin-bottom: 18px;
}

.payment-summary:last-of-type {
	margin-bottom: 0;
}

.payment-summary .charges,
.quote-summary .quotes {
	padding-top: 20px;
	border-top: 2px solid #ebebeb;
}

.payment-summary .payment-instructions .alert-warning {
	margin-bottom: 0;
}

.payment-summary .payment-request-search {
	margin-left: -21px;
	margin-top: 6px;
}

/* Panel / Card heading */
.panel-heading,
.card-header {
	padding: 2px 10px;
}

.panel-heading .accordion-toggle:after,
.card-header .accordion-toggle:after {
	/* CSS chevron for "opening" panels */
	content: '';
	border: solid grey;
	border-width: 0 2px 2px 0;
	display: inline-block;
	padding: 3px;
	float: right;
	margin-top: 4px;
	transform: rotate(-135deg);
}

.panel-heading .accordion-toggle.collapsed:after,
.card-header .accordion-toggle.collapsed:after {
	/* CSS chevron for "collapsed" panels */
	transform: rotate(45deg);
}
.services-panel button,
.services-panel input.btn {
	min-width: 300px;
}

.add-folder {
	display: none;
}

.disabled-link {
	pointer-events: none;
}

fieldset[aria-label~="System"] {
	display: none;
}

/*workflow error message panel*/
#btnCloseMessage {
	display: none;
}

/* Dashboard */
.dashboard-tabs .entitylist-filter-option-text {
    width: auto !important;
}

.dashboard-tabs #entitylist-filters > li {
    padding: 0 !important;
}

.dashboard-tabs .applications #entitylist-filters > li {
    width: 23% !important;
}

.dashboard-tabs #entitylist-filters > li.apply-button {
    width: auto !important;
}

.dashboard-tabs .developments #entitylist-filters > li {
    width: 33% !important;
}

.dashboard-tabs .entitylist-filter-option-group-box-overflow,
.dashboard-tabs .entitylist-filter-option {
	padding-right: 5px;
}

.dashboard-tabs .entitylist-filter-option-group:last-of-type .entitylist-filter-option-group-box-overflow,
.dashboard-tabs .entitylist-filter-option-group:last-of-type .entitylist-filter-option {
	padding-right: 0;
}

.dashboard-tabs .developments tr th:has(a[aria-label="Modified On"]),
.dashboard-tabs .developments tr td[data-attribute="modifiedon"],
#development-overview #subgrid_applications tr th:has(a[aria-label="Modified On"]),
#development-overview #subgrid_applications tr td[data-attribute="modifiedon"] {
	display: none;
}

.dashboard-tabs .developments tr th:has(a[aria-label="Modified On"]),
.dashboard-tabs .developments tr td[data-attribute="modifiedon"] {
	display: none;
}

.dashboard-tabs .developments h3 {
	margin-top: 0 !important;
	float: left;
}

.dashboard-tabs .developments .view-toolbar.grid-actions {
	margin-top: 22px !important;
}

.RTEditorMainiFrame{
	width: 100%;
	height: 260;
}

.RTEditorChildiFrame{
	height: 260;
}

.pay-methods {
	display: inline-block;
}

.pay-methods.pay-now {
	border: 2px solid #004A85;
    padding: 6px 0 6px 7px;
    margin-right: 3px;
}

.pay-now-tab {
	display: inline-block;
	background-color: #004A85;
    color: white;
	padding: 3px 10px;
}

/* media overrides */
@media(max-width: 1199px) {
	.list-group .list-group-item {
		font-size: 0.9rem;
	}

	.action-buttons .action-button {
		padding: 0 5px !important;
	}

	.action-buttons .panel .panel-body,
	.action-buttons .card .card-body {
		padding: 30px 5px !important;
	}

	.dashboard-tabs .applications #entitylist-filters > li {
		width: 22.7% !important;
	}

	.dashboard-tabs #entitylist-filters > li.apply-button {
		width: auto !important;
	}
}
@media(max-width: 991px) {
	h1, .h1 {
		font-size: 2rem;
	}

	.lead {
		font-size: 18px;
	}

	nav[aria-label="Main Navigation"] {
		font-size: 1rem;
	}

	[aria-label="Main Navigation"] .nav > li > a {
		padding-right: 6px;
		padding-left: 6px;
	}

	.entity-grid table th,
	.entity-grid table td {
		font-size: 0.9rem !important;
	}

	html[dir=ltr] ol.progress.left li, html[dir=ltr] ol.progress.right li {
		float: left !important;
	}

	table[data-name="sec_demand"].section,
	table[data-name="sec_demand"] tbody,
	table[data-name="sec_demand"] tbody > tr,
	table[data-name="sec_demand"] tbody > tr > td {
		display: block !important;
	}

	table[data-name="sec_demand"] tbody > tr > td {
		width: 100% !important;
	}

	.actions:not(.form-custom-actions) {
		text-align: right;
	}

	.dashboard-tabs .applications #entitylist-filters > li {
		width: 49.5% !important;
	}

	.entitylist-filter-option-group.apply-button > label {
		display: none;
	}

	.dashboard-tabs .applications #entitylist-filters > li.apply-button {
		width: 100% !important;
		margin-top: 10px !important;
	}
}

@media(max-width: 767px) {
	h1, .h1,
	.page-header {
		margin: 0;
	}

	.home-lead {
		display: block;
		margin-bottom: 20px;
	}
	.home-lead .home-image-container {
		margin-top: 20px;
	}

	.home-lead .home-image-container img {
		max-height: 230px;
		min-width: 100px;
		margin: auto;
	}

	nav[aria-label="Main Navigation"] .nav > li.divider-vertical {
		display: none;
	}

	[aria-label="Main Navigation"] .nav > li > a {
		padding-right: 4px 15px;
	}

	.crmEntityFormView fieldset legend {
		padding-left: 0 !important;
	}
	
	.crmEntityFormView .two-column:not(:first-of-type) fieldset {
		margin-top: 10px !important;
	}

	.crmEntityFormView .nested-1 {
		padding-left: 0 !important;
	}
	
	.crmEntityFormView .nested-1.nested-both {
		padding-right: 0 !important;
	}

	.crmEntityFormView .nested-2,
	.nested-1 .nested-1 {
		padding-left: 21px !important;
	}

	.overview-panel .crmEntityFormView .cell,
	.overview-panel .crmEntityFormView fieldset legend {
		padding-left:  10px !important;
		padding-right:  10px !important;
	}

	.overview-panel details .nested-1 {
		padding-left:  10px !important;
	}
	.overview-panel details .nested-1.nested-both {
		padding-right:  10px !important;
	}

	td.cell.checkbox-cell,
	td.cell.custom-label {
		margin-bottom: 0 !important;
	}

	td.h5 {
		margin: 0 !important;
	}

	.crmEntityFormView .row.form-custom-actions {
		margin: 0;
		padding: 0;
	}

	.crmEntityFormView .row.form-custom-actions div.col-sm-6 {
		padding: 0;
	}

	footer .list-inline > li,
	footer .list-inline-item {
		display: block !important;
	}

	footer.navbar-default .divider-vertical,
	footer.navbar .divider-vertical {
		display: none !important;
	}

	.lead-heading {
		margin-top: 18px;
	}

	.action-buttons .panel,
	.action-buttons .card {
		width: 85%;
		margin: 0 auto 22px auto;
	}

	.fee-item .input-group,
	.payment-summary .input-group ,
	.quote-item .input-group,
	.quote-summary .input-group {
		float: left !important;
	}

	.dashboard-tabs .applications #entitylist-filters > li {
		width: auto !important;
		display: block;
	}

	.dashboard-tabs #entitylist-filters > li.apply-button {
		width: auto !important;
	}

	.iframe-body h2.tab-title {
		padding-left: 0;
	}
}

@media(max-width: 295px) {
	.entitylist-search input {
		max-width: 80%;
		float: right !important;
	}
}

/* override bootstrap tooltip style - to hide tooltips or show in UW style*/
.tooltip-inner {
	display: none !important;
	background-color: #004a85 !important;
	font-family: 'HelveticaNeueLTStd-Lt' !important;
}
.tooltip-arrow {
	display: none !important; 
}
.tooltip.top .tooltip-arrow,
.bs-tooltip-top .tooltip-arrow {
	border-top-color: #004a85 !important;
}
.tooltip.top-left .tooltip-arrow {
	border-top-color: #004a85 !important;
}
.tooltip.top-right .tooltip-arrow {
	border-top-color: #004a85 !important;
}
.tooltip.right .tooltip-arrow,
.bs-tooltip-end .tooltip-arrow {
	border-right-color: #004a85 !important;
}
.tooltip.left .tooltip-arrow,
.bs-tooltip-start .tooltip-arrow {
	border-left-color: #004a85 !important;
}
.tooltip.bottom .tooltip-arrow,
.bs-tooltip-bottom .tooltip-arrow {
	border-bottom-color: #004a85 !important;
}
.tooltip.bottom-left .tooltip-arrow {
	border-bottom-color: #004a85 !important;
}
.tooltip.bottom-right .tooltip-arrow {
	border-bottom-color: #004a85 !important;
}

/* override multiselect styling*/
.msos-caret-button {
	font-weight: bolder;
}
.msos-viewmode-button {
	font-weight: bolder;
}