@font-face {
	font-family: 'brand-pl';
	font-style: normal;
	font-weight: 400;
	src: url('../fonts/Lexend-Regular.woff') format('woff'), url("../fonts/Lexend-Regular.woff2") format('woff2');
}

@font-face {
	font-family: 'brand-medium-pl';
	font-style: normal;
	font-weight: 500;
	src: url('../fonts/Lexend-Medium.woff') format('woff'), url("../fonts/Lexend-Medium.woff2") format('woff2');
}

@font-face {
	font-family: 'brand-bold-pl';
	font-style: normal;
	font-weight: 700;
	src: url('../fonts/Lexend-Bold.woff') format('woff'), url("../fonts/Lexend-Bold.woff2") format('woff2');
}

@font-face {
	font-family: 'brand-extrabold-pl';
	font-style: normal;
	font-weight: 700;
	src: url('../fonts/Lexend-ExtraBold.woff') format('woff'), url("../fonts/Lexend-ExtraBold.woff2") format('woff2');
}

@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300&display=swap');

/*-------------------- loading --------------------*/
body.loading {
	overflow-y: hidden;
}

*.loading:not(body) {
	position: relative;
}

*.loading:not(body) .loading-spinner-element {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	margin: auto;
	background: #fff;
	opacity: .7;
}

*.loading:not(body) .loading-spinner-element .spinner-border {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	margin: auto;
}

/*-------------------- loading --------------------*/

body {
	background-color: #e3e9ec;
	font-family: brand-pl, Ubuntu, Helvetica, Arial, sans-serif;
	/*min-height: 75rem;*/
	padding-top: 4.5rem;
	color: #004F51;
}

h1, h2 {
	font-family: brand-bold-pl, Ubuntu, Helvetica, Arial, sans-serif;
}

h3, h4, h5, h6 {
	font-family: brand-medium-pl, Ubuntu, Helvetica, Arial, sans-serif;
}

body.readonly {
	padding-top: 0;
	pointer-events: none;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
}

.navbar.fixed-top {
	padding-left: 0;
	padding-right: 0;
}

#navbarSupportedContent {
	margin-top: -0.5rem;
	margin-bottom: -0.5rem;
	height: 75px;
	padding-right: 1rem;
}

.table thead th:first-child {
	width: 25% !important;
	min-width: 25% !important;
	max-width: 25% !important;
}

.navbar-brand {
	display: block;
	padding: 0;
	/*margin-left: -1rem;*/
	margin-right: 0;
	height: 60px;
}

.navbar-brand img {
	padding: 0;
	margin-top: -0.5rem;
	margin-bottom: -0.5rem;
	height: 60px;
}

.navbar-brand h1 {
	padding-top: 7px;
	margin-top: 1rem;
	font-size: 1.15rem;
	line-height: 1rem;
	font-weight: 700;
	height: 60px;
	display: block;
}

.navbar-brand h2 {
	font-size: 1rem;
	line-height: 1rem;
}

.navbar-nav li {
	font-size: 1.25rem;
}

#main-stage {
	background-color: #e3e9ec;
	padding-top: 1em;
	min-height: 90vh;
}


body.readonly #main-stage {
	background-color: #fff;
	padding-top: 0;
	min-height: auto;
}


nav.navbar {
	margin-bottom: .5em;
	background-color: white;
	color: #054f51;
}

nav.navbar a {
	color: #054f51;


}

nav.navbar-inverse {
	background-color: #054f51;
	color: white;
}

nav.navbar-inverse a {
	color: white;
}

#route-logins h2, #page-titles * {
	color: #054f51;
	font-weight: 700;

}

.card-header h4 {
	font-weight: 700;
	font-size: 1.125rem;
}

.page-item .page-link {
	color: #00615c;
}

.page-item.active .page-link, .btn-primary {
	color: #fff !important;
	background-color: #054f51 !important;
	border-color: #054f51 !important;
}

.page-item.active .page-link, .btn-primary:hover {
	color: #fff !important;
	background-color: #054f51 !important;
	border-color: #054f51 !important;
}

.brand-dark-blue-text {
	color: #054f51;
}

/**
 *
 */
.brand-primary-palette-1-bg {
	background-color: #054f51;
	color: white;
}

.brand-primary-palette-1-bg button {
	color: white;
	opacity: 1;
}

.brand-primary-palette-1-bg button:hover {
	color: white;
}

.brand-primary-palette-2-bg {
	background-color: #12938f;
	color: white;
}

.brand-primary-palette-2-bg button {
	color: white;
	opacity: 1;
}

.brand-primary-palette-2-bg button:hover {
	color: white;
}


.brand-primary-palette-3-bg {
	background-color: #0080c6;
	color: white;
}

.table {
	background: white;
}

.table > thead > tr > th {
	text-transform: uppercase;
}

.table > tbody > tr > th {
	vertical-align: middle;
}

.actions {
	white-space: nowrap;
	width: 1px;
}

/**
 * Icons
 */
.icon {
	font-size: 4em;
}

.title {
	text-transform: uppercase;
	color: black;
}

.headline-value, .value {
	text-transform: uppercase;
	font-size: 1.5em;
	font-weight: bold;
}

.original-value {
	text-transform: uppercase;
}

.readonly .flex-headline-text {
	padding: 8px !important;
}

.readonly .headline-value {
	font-size: 1.2em;
	padding: 8px !important;
}

.headline-value {
	font-size: 1.5em;
	font-weight: bold;
}

div[data-toggle="modal"] {
	cursor: pointer;
}

#modal-highcharts .modal-header {
	border-bottom: 0;
	padding-bottom: 0;
}

#modal-highcharts .btn-group * {
	color: white;
}

.highcharts-data-table {
	padding: 1rem;
}

.highcharts-data-table table {
	border-collapse: collapse;
	border-spacing: 0;
	background: white;
	min-width: 100%;
	margin-top: 10px;
}

.highcharts-data-table thead {
	display: none;
}

.highcharts-data-table td, .highcharts-data-table th {
	text-align: center;
	font-size: 10pt;
	border: 1px solid silver;
	padding: 0.5em;
	color: black;
}

.highcharts-data-table tr:nth-child(even), .highcharts-data-table thead tr {
	background: #f8f8f8;
}

.highcharts-data-table tr:hover {
	background: #eff;
}

.highcharts-data-table caption {
	display: none;
}

#page-titles img, .club-logo {
	height: 100px;
	float: left;
	margin-right: 2em;
}

td img.club-logo {
	height: 50px !important;
	float: left;
}

.country-list a {
	display: block;
}

.country-list a:hover {
	text-decoration: none;
	background-color: lightgray;
}

.country-list ul {
	padding: 0;
	margin: 0;
	margin-bottom: .5em;
	list-style: none;
}

.country-list li {
	padding-top: .5em;
	border-bottom: 1px dotted black;
}

/**
 * Arrows
 */
.flex-headline-arrow-container {
	display: flex;
	flex: 1
}

.flex-headline-pointer {
	display: flex;
	align-items: center;
	min-width: 15%;
}

div.flex-headline-arrow {
	position: relative;
	margin-right: 1rem;
}

div.flex-headline-arrow:after,
div.flex-headline-arrow:before {
	content: "";
	position: absolute;
	left: 100%;
	width: 1rem;
	height: 50%;
}

div.flex-headline-arrow::before {
	top: 0;
}

div.flex-headline-arrow:after {
	bottom: 0;
}

@media (max-width: 991px) {
	.container {
		max-width: 100%;
	}
}

/*Colours*/

div.brand-primary-palette-1-bg.flex-headline-arrow::before {
	background: linear-gradient(to top right, #054f51 50%, transparent 51%);
}

div.brand-primary-palette-1-bg.flex-headline-arrow:after {
	background: linear-gradient(to bottom right, #054f51 50%, transparent 51%);
}

div.brand-primary-palette-2-bg.flex-headline-arrow::before {
	background: linear-gradient(to top right, #12938f 50%, transparent 51%);
}

div.brand-primary-palette-2-bg.flex-headline-arrow:after {
	background: linear-gradient(to bottom right, #12938f 50%, transparent 51%);
}

input[type=submit].btn-block.fixed-btn {
	position: fixed;
	right: 270px;
	z-index: 99;
	bottom: 20px;
	width: 100px;
}

/** Custom reports **/

body.readonly .section-wrap.disabled {
	display: none;
}

.section-wrap .section-fields {
	position: relative;
	padding: 10px;
	color: #000;
}

.section-wrap .section-fields a {
	color: #000;
	text-decoration: underline;
}

.section-wrap .section-fields sup a {
	text-decoration: none;
}

.section-wrap .section-fields h4,
.section-wrap .section-fields h6 {
	font-family: brand-medium-pl, Ubuntu, Helvetica, Arial, sans-serif;
	color: #004F51;
}

.section-wrap .section-fields .overlay {
	display: none;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	height: 100%;
	border-radius: 3px;
	background: #e3e9ec70;
	z-index: 9;
}

.section-wrap .section-fields.disabled .overlay {
	display: block;
}

.section-wrap .section-fields .section-rendered-content {
	pointer-events: none;
}

.section-wrap .section-fields .section-rendered-content .hide-card-block {
	display: none !important;
}

.section-wrap .section-fields .section-rendered-content .readonly .switch-wrap + .card .form-control[disabled] {
	background-color: transparent;
	opacity: 1;
}

.section-wrap .section-fields .section-rendered-content .readonly .disabled .switch-wrap + .card {
	display: none;
}

.section-wrap .section-fields .section-rendered-content .chart-wrap {
	display: none;
	margin-bottom: 20px;
}

.section-wrap .section-fields .section-rendered-content .chart-wrap > div {
	box-shadow: 0 .15rem .5rem rgba(0, 0, 0, .15);
}

.section-wrap .section-fields .section-rendered-content .chart-wrap .chart-container {
	width: 100%;
}

.section-wrap .section-fields .case-study .info-text {
	color: #28a745;
	font-style: italic;
}

.section-wrap .section-fields .preview-image {
	position: relative;
	margin-top: .5rem;
}

.section-wrap .section-fields .preview-image img {
	width: 200px;
	max-height: 200px;
	object-fit: contain;
	cursor: pointer;
}

.section-wrap .section-fields .image-wrap {
	text-align: center;
}

.section-wrap .section-fields .image-wrap img {
	max-height: 500px;
	max-width: 100%;
	width: auto;
	object-fit: contain;
	-o-object-fit: contain;
}

.section-wrap .section-fields .images-wrap {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 20px;
	justify-content: center;
	align-items: center;
}

.section-wrap .section-fields .images-wrap .image-wrap {
	margin: 5px;
}

.section-wrap .section-fields .images-wrap .image-wrap:last-of-type {
	margin-right: 0;
}

.section-wrap .section-fields .images-wrap .image-wrap img {
	max-height: 180px;
}

.section-wrap .section-fields .preview-image input[type=checkbox] {
	opacity: 0;
	visibility: hidden;
	top: 0;
	left: -10000px;
}

.section-wrap .section-fields .preview-image img:hover {
	opacity: .8;
}

.section-wrap .section-fields .preview-image.active img {
	opacity: .6;
}

.section-wrap .section-fields .section-static-content .substance-logo-wrap img {
	width: 100%;
	max-height: 150px;
	object-fit: contain;
}

.section-wrap .section-fields .section-static-content .footer-content {
	display: none;
}

.section-wrap .section-fields .section-static-content.cover {
	padding: 40px 80px;
}

.section-wrap .section-fields .section-static-content.cover .cover-logo {
	text-align: right;
	margin-top: 20px;
}

.section-wrap .section-fields .section-static-content.cover .cover-logo img {
	max-width: 200px;
	width: auto;
	max-height: 200px;
	object-fit: contain;
	-o-object-fit: contain;
}

.section-wrap .section-fields .section-static-content.cover .cover-picture {
	text-align: center;
	margin: 70px 0 60px;
	height: 650px;
}

.section-wrap .section-fields .section-static-content.cover .cover-picture img {
	width: auto;
	max-width: 100%;
	max-height: 650px;
	object-fit: contain;
	-o-object-fit: contain;
}

.section-wrap .section-fields .section-static-content.cover .content {
	margin-top: 40px;
}

.section-wrap .section-fields .section-static-content.cover .content .title {
	font-family: brand-medium-pl, Ubuntu, Helvetica, Arial, sans-serif;
	font-size: 40px;
	font-weight: bold;
	color: #004F51;
	padding-right: 200px;
	text-transform: initial;
}

.section-wrap .section-fields .section-static-content.cover .footer {
	text-align: right;
}

.section-wrap .section-fields .section-static-content.cover .footer img {
	max-height: 150px;
	object-fit: contain;
	-o-object-fit: contain;
}

.section-wrap .section-fields .content-page a {
	text-decoration: none;
}

.section-wrap .section-fields .content-page a:hover {
	text-decoration: underline;
}

.section-wrap .section-fields .section-static-content.content-page .items {
	display: inline-block;
	vertical-align: top;
}


.section-wrap .section-fields .section-static-content.content-page table {
	border-spacing: 0 10px;
	border-collapse: separate;
}

.section-wrap .section-fields .section-static-content.content-page table tr td.category {
	vertical-align: top;
	padding-right: 40px;
	width: 275px;
}

.section-wrap .section-fields .section-static-content .content-wrap * {
	font-family: brand-pl, Ubuntu, Helvetica, Arial, sans-serif !important;
	font-size: 16px !important;
	color: #000 !important;
	word-break: break-word !important;
}

.section-wrap .section-fields .section-static-content .content-wrap img {
	max-height: 400px !important;
	max-width: 100% !important;
	width: auto !important;
	object-fit: contain !important;
	-o-object-fit: contain !important;
}

.section-wrap .section-fields .custom-table-card {
	box-shadow: 0 .15rem .5rem rgba(0, 0, 0, .15) !important;
	margin-bottom: 15px;
}

.section-wrap .section-fields .custom-table-card .card-body {
	padding: 0;
}

.section-wrap .section-fields .custom-table-card .custom-table {
	margin: 0;
}

.section-wrap .section-fields .custom-table-card .custom-table thead tr th {
	background-color: #004F51 !important;
	color: #fff;
	border: none;
	text-transform: initial;
	font-size: 15px;
	/*padding: .4rem .5rem;*/
	padding: .6rem .5rem;
}

.section-wrap .section-fields .custom-table-card .custom-table thead tr th:first-child {
	width: auto !important;
	min-width: initial !important;
	max-width: initial !important;
}

.section-wrap .section-fields .custom-table-card .custom-table tbody tr td {
	font-size: 15px;
	/*padding: .35rem .5rem;*/
	padding: .6rem .5rem;
}

.section-wrap .section-fields .custom-table-card .custom-table tbody tr:first-of-type td {
	border-top: none;
}

/** Custom reports **/

.nav-tabs {
	border-bottom: 1px solid #c8d0d6;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link,
.nav-tabs > li > a {
	border: 1px solid #c8d0d6;
	border-bottom: 0;
	color: #000000;
	background: #e5e5e5;
}

.nav-tabs > li > a:hover {
	border-color: #c6d0d6;
	background: #c6d0d6;
}

.nav-tabs > li > a.active,
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
	border-color: #7e7f74;
	background-color: #054f51;
	color: white;
}

.select2-selection--multiple:before {
	content: "";
	position: absolute;
	right: 7px;
	top: 42%;
	border-top: 5px solid #888;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
}

/* Notes */
.open-modal-notes-btn {
	margin-left: 5px;
	font-size: 14px;
	display: inline-block;
	vertical-align: super;
	color: #8e8f8f;
}

.open-modal-notes-btn:hover {
	color: #8e8f8f;
	opacity: .7;
}

.open-modal-notes-btn.has-notes {
	color: #12938f;
}

#modal-notes .dynamic-title {
	font-size: 16px;
}

#modal-notes .default-structure {
	display: none;
}

#modal-notes button.close {
	color: #fff;
}

#modal-notes-wrap {
	display: none;
}

#notes-list {
	margin: 0;
}

#notes-list > thead > tr > th {
	border-top: none;
}

#notes-list .edit-notes-wrap {
	display: none;
	width: 100%;
	padding: 15px 20px 0;
}

#notes-list td.actions span.btn {
	cursor: pointer;
}

/* Notes */

/*----------- Spinner Start ------------------*/
.loader {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: 0;
	display: block;
	background: rgba(255, 255, 255, 0.7);
	z-index: 999;
}

.loader.fixed {
	position: fixed;
}

.loader:before {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	border: 8px solid #f3f3f3;
	border-top: 8px solid #3498db;
	border-radius: 50%;
	width: 50px;
	height: 50px;
	animation: spin 2s linear infinite;
}

.loader.hide {
	display: none;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

/*----------- Spinner End   ------------------*/

/*.col-form-label {*/
/*	display: inline;*/
/*}*/

/* format cascade */
select.cascade option {
	font-weight: bold;
}

select.cascade optgroup option {
	font-weight: normal;
}

select.cascade option[value=""] {
	font-weight: normal;
}

/* Add some extra font sizes */

.display-5 {
	font-size: 2.5rem;
	font-weight: 300;
	line-height: 1.2;
}

.display-6 {
	font-size: 1.2rem;
	font-weight: 300;
	line-height: 1.2;
}

/** Boot strap over rides */
.btn-primary {
	color: #fff;
	background-color: #004F51;
	border-color: #004F51;
}

.btn-secondary {
	color: #fff;
	background-color: #8e8f8f;
	border-color: #8e8f8f;
}

/* Dashboard widgets */
.dashboard-widgets .dashboard-widget .card .card-body {
	height: 460px;
	padding: .25rem;
}

.dashboard-widgets .dashboard-widget.map .card .card-body {
	height: 427px;
	padding: 0;
}

.dashboard-widgets .dashboard-widget.map .card .card-body .dashboard-map-wrap {
	height: 100%;
}

.select2.select2-container {
	width: 100% !important;
}

.img-thumbnail-container {
	position: relative;
	display: inline-block;
}

.img-delete-button {
	position: absolute;
	top: 3px;
	right: 3px;
	display: none;
	color: #fff !important;
}

.img-thumbnail-container:hover .img-delete-button {
	display: block;
}

#media-upload-area .btn {
	position: relative;
	overflow: hidden;
}

#media-upload-area .btn input[type=file] {
	position: absolute;
	top: 0;
	right: 0;
	margin: 0;
	border: solid transparent;
	width: 100%;
	opacity: 0;
	cursor: pointer;
}

.img-preview {
	width: 30px;
	height: 30px;
	background: #eee;
	margin: 0 0 -4px 8px;
	display: none;
}

.login-logo {
	text-align: right;
	margin-bottom: 20px;
}

.login-logo img {
	max-height: 50px;
}
