html, body {
	margin: 0;
	padding: 0;

	overscroll-behavior: none;

	font-size: 14px;
	font-family: "proxima-nova", arial, helvetica, sans-serif;
}
html {
	
}
body {
	min-height: 100%;

	overflow-x: hidden;
    overflow-y: auto;
	
	color: var(--color-text-medium);
}

* {
	box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}



:root {
	--color-text-white: #fff;
	--color-text-dark: #595D60;
	--color-text-darker: #212121;
	--color-text-link: #0078a3;
	--color-text-medium-light: #797979;
	--color-text-light: #9f9f9f;

	--color-red: #e2001a;
	--color-white: #fff;
	--color-blue: #0066AA;
	--color-light-grey: #f1f1f1;
	--color-lighter-grey: #f8f8f8;
	--color-grey: #cbc9c9;

	--border-radius: 0.3rem;

	--sidebar-width: 250px;

	--media-width-xs: 0;
	--media-width-sm: 576px;
	--media-width-md: 768px;
	--media-width-lg: 992px;
	--media-width-xl: 1200px;
	--media-width-xxl: 1400px;
}

@media only screen and (max-width: 600px) {
	html {
		font-size: 12px;
	}
}

/*	================================================================================
									GLOBAL
	================================================================================  */
p, ul, li {
	color: var(--color-text-dark);
	font-size: 1rem;	
}
h1, h2, h3, h4, h5 {
	color: var(--color-text-dark);
}
a {
	color: var(--color-text-link);
}

.spinner {
	display: grid;
	width: 2rem;
	height: 2rem;
	
	border: .25rem solid #0000;
	border-radius: 50%;
	border-color: #dbdcef #0000;
	
	animation: spinner-e04l1k 1s infinite linear;
}
.spinner.hidden {
	display: none;
}
.spinner::before,
.spinner::after {
	content: "";
	grid-area: 1/1;
	margin: 2.2px;
	border: inherit;
	border-radius: 50%;
}
  .spinner::before {
	border-color: var(--color-red) #0000;
	animation: inherit;
	animation-duration: 0.5s;
	animation-direction: reverse;
}
.spinner::after {
	margin: .1rem;
}
@keyframes spinner-e04l1k {
	100% {
	  	transform: rotate(1turn);
	}
}

/*	================================================================================
									STRUCTURE
	================================================================================  */
body {
	position: relative;
	background: var(--color-white);
}
body .full-window {
    width: 100%;
    min-height: 100dvh;

	display: flex;
	flex-direction: column;
}
header {
	flex: 0 0 auto;
	z-index: 3;
}
.content-wrapper {
	position: relative;
	flex: 1 1 auto;
	z-index: 1;
}
footer {
	
}

.content-wrapper.center-container {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1170px;
    }
}

/*	================================================================================
									HEADER
	================================================================================  */
header {
	position: sticky;
	top: 0;
	height: 120px;

	background-color: var(--color-white);
}
header .first-row-header {
	width: 100%;
	height: 87px;

	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
}
header .first-row-header .title {
	display: flex;
	align-items: center;
	gap: .5rem;

	font-size: 2rem;
	text-decoration: none;
	color: var(--color-white);
	cursor: pointer;
}
header .first-row-header .title img.logo {
	height: 68px;
	max-width: 100%;
	max-height: 50%;
}
header p {
	margin: 0;
	color: var(--color-white);
}
header p a {
	color: var(--color-white);
}

header nav {
	height: 34px;
	
	background: var(--color-blue);
}

/*	================================================================================
									FOOTER
	================================================================================  */
footer {
	position: relative;
	padding: 2rem 0;

	background: var(--color-blue);

	z-index: 1;
}
footer p {
	margin: 0;

	font-size: 1rem;
	color: var(--color-white);
}
footer .link-icons {
	text-align: right;
}
footer .link-icons a i {
	margin-right: 1rem;
	
	color: var(--color-white);
	font-size: 2rem;
}

/*	================================================================================
									CONTENT
	================================================================================  */
h1 {
	padding-bottom: .5rem;

	font-weight: 300;
    text-transform: uppercase;
    font-size: 2.6em;
    color: #0066AA;
	
	border-bottom: 1px solid #eee;
}


.block {
	margin-bottom: 1rem;
	scroll-margin-top: 120px;
}
.block-title {
	padding: 0;

	background: var(--color-grey);
}
.block-title h2 {
	padding: 1rem;	
	margin: 0;
	
	color: var(--color-white);
	text-transform: uppercase;
	font-size: 1.5rem;
	
	background: var(--color-red);
}
.block-title:first-child h2 {
	float: right;
}
.block-title:last-child h2 {
	float: left;
}
.block-content {
	padding: 2rem;

	background: var(--color-light-grey);
}
.block-content > *:last-child {
	margin-bottom: 0;
}

@media (max-width: 768px) {
	.block.row-md-reverse {
		display: flex;
		flex-direction: column-reverse;
	}
}

.block-content h2 {
	font-size: 1.5rem;
}



.updates-wrapper {
	margin: 1rem 0;
	padding: 1rem;
	box-shadow: 0 0 1rem rgba(129, 124, 124, 0.2);

	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 1rem;
}
.updates-wrapper .update-block {
	padding: .5rem;
	
	background: var(--color-lighter-grey);
}
.updates-wrapper .update-block h3 {
	font-size: 1.1rem;
	font-weight: bold;
}
.updates-wrapper .update-block > *:last-child {
	margin-bottom: 0;
}



.container.downsize-container {
	max-width: 600px;
}
.container.simple-page-container {
	margin-top: 1.5rem;
	margin-bottom: 1.5rem;
}

.title-container {
	background-color: var(--color-white2);
	margin-bottom: 2rem;
}

.background-extended {
	position: fixed;
	top: 0;			left: 0;
	bottom: 0;		right: 0;
	width: 100vw;	height: 100vh;

	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}
.background-overlay {
	position: fixed;
	top: 0;			left: 0;
	bottom: 0;		right: 0;
	width: 100vw;	height: 100vh;

	backdrop-filter: blur(.5rem);
}

/*	================================================================================
									FORM
	================================================================================  */
.form .ref {
	font-size: .8rem;
	color: var(--color-text-light);
}
.form .button-wrapper {
	margin-bottom: 1rem;

	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-end;
	gap: 1rem;
}

form .form-error {
	color: red;
}

/*	================================================================================
									INPUT
	================================================================================  */
.check {
	display: block;
	position: relative;
	margin: 0 !important;

	cursor: pointer;
	user-select: none;


}
.check input {
	position: absolute;
	width: 0;		height: 0;
	opacity: 0;
	cursor: pointer;
}
.check.disabled {
	cursor: default;
	pointer-events: none;
}
.check.disabled input {
	cursor: default;
}
.check i {
	position: relative;
	top: 0;			left: 0;
	width: 1.5rem;	height: 1.5rem;
}
.check .unchecked {
	display: inline-block;
}
.check .checked {
	display: none;
}
.check.checked {
	animation: pop 0.2s;
	animation-direction: alternate;
}
.check.checked .unchecked {
	display: none;
}
.check.checked .checked {
	display: inline-block;
}
@keyframes pop {
	0% 		{ 	transform: scale(1);	}   
	50% 	{	transform: scale(0.8); 	}   
	100% 	{	transform: scale(1);	}
}


.btn-primary {
	--bs-btn-bg: var(--color-blue);
    --bs-btn-border-color: var(--color-blue);
    --bs-btn-hover-bg: var(--color-blue-dark);
    --bs-btn-hover-border-color: var(--color-blue-dark);
    --bs-btn-active-bg: var(--color-blue-dark);
    --bs-btn-active-border-color: var(--color-blue-dark);
    --bs-btn-disabled-bg: var(--color-blue);
    --bs-btn-disabled-border-color: var(--color-blue);
}
.btn-link {
    --bs-btn-color: var(--color-blue);
    --bs-btn-hover-color: var(--color-blue-dark);
    --bs-btn-active-color: var(--color-blue-dark)
}
.btn-light {
	--bs-btn-bg: var(--color-white);
    --bs-btn-border-color: var(--color-white);
    --bs-btn-hover-bg: var(--color-blue);
    --bs-btn-hover-border-color: var(--color-blue);
    --bs-btn-active-bg: var(--color-blue);
    --bs-btn-active-border-color: var(--color-blue);
    --bs-btn-disabled-bg: var(--color-white);
    --bs-btn-disabled-border-color: var(--color-white);
}
.btn-description {
	--bs-btn-bg: rgba(0, 0, 0, .05);
    --bs-btn-border-color: transparent;
    --bs-btn-hover-bg: rgba(0, 0, 0, .10);
    --bs-btn-hover-border-color: transparent;
    --bs-btn-active-bg: rgba(0, 0, 0, .10);
    --bs-btn-active-border-color: transparent;
    --bs-btn-disabled-bg: rgba(0, 0, 0, .05);
    --bs-btn-disabled-border-color: transparent;
	--bs-btn-color: var(--color-blue);
	--bs-btn-hover-color: var(--color-blue);
	--bs-btn-active-color: var(--color-blue);
	font-weight: 500;
}


.my-btn-primary {
	--button-color: var(--color-blue);
	--button-bg-color: var(--color-white);
}
.my-btn-cancel {
	--button-color: var(--color-red-dark);
	--button-bg-color: var(--color-white);
}
.my-btn {
	--button-radius: 0.5em;

	display: inline-block;
	position: relative;
	padding: 0;

	border: none;
	border-radius: var(--button-radius);
	background: var(--button-color);
	text-decoration: none;

	cursor: pointer;
}
.my-btn span {
	display: block;
	padding: 0.75rem 1.5rem;
	box-sizing: border-box;

	border: .1rem solid var(--button-color);
	border-radius: var(--button-radius);	
	background: var(--button-bg-color);
	color: var(--button-color);
	font-weight: bold;
	text-decoration: none;
	z-index: 1;

	transform: translateY(-0.2rem);
	transition: transform 0.1s ease;
}
.my-btn:hover span {
	transform: translateY(-0.33em);
}  
.my-btn:active span {
	transform: translateY(0);
}
.my-btn.loading {
	cursor: default;
	pointer-events: none;
}
.my-btn.loading span::after {
	content: "";
	position: absolute;
	top: 0;     left: 0;
	width: 0%;  height: 100%;

	background: var(--button-color);
	opacity: .5;
	mix-blend-mode: multiply;
	border-radius: var(--button-radius);

	z-index: 2;
	animation: moving 1s ease-in-out infinite;
	cursor: default;
	pointer-events: none;
}
.my-btn:disabled,
.my-btn.disabled {
	cursor: default;
	pointer-events: none;
	opacity: .5;
}
@keyframes moving {
	50% {
		width: 100%;
	}              
	100% {
		width: 0;
		right: 0;
		left: unset;
	}
}
.my-btn-thin span {
	padding: .25rem 1rem;
}
.my-btn-icon {
	border-radius: 50%;
}
.my-btn-icon span {	
    width: 2rem;	height: 2rem;
    padding: 0;

    display: flex;
    justify-content: center;
    align-items: center;
	
	border-radius: 50%;
}



.select-rows {
	padding: 0;

	display: flex;
	flex-direction: column;
	align-items: stretch;
}
.select-rows .select-row {
	padding: .5em .75rem;

	display: flex;
	flex-direction: row;
	align-items: center;
	gap: .5rem;

	cursor: pointer;
	line-height: 1;
}
.select-rows .select-row * {
	cursor: inherit;
}
.select-rows .select-row:first-child {
	padding-top: .75rem;
}
.select-rows .select-row:last-child {
	padding-bottom: .75rem;
}
.select-rows .select-row.checked,
.select-rows .select-row:hover {
	background-color: rgba(var(--color-blue-rgb), 0.1);
}
.select-rows .select-row .check {
	flex: 0 0 auto;

	font-size: 1.5rem;
	color: var(--color-blue);
}
.select-rows.disabled .select-row {
	cursor: default;
	pointer-events: none;
}


/*	================================================================================
									ERROR PAGE
	================================================================================  */
.error-page {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 1rem;
}
.error-page .bigcode {
	margin: 0;
	
	font-size: 10rem;
}

/*	================================================================================
									CONTENT
	================================================================================  */
.card {
	box-shadow: 0 1rem 2rem rgba(129, 124, 124, 0.2);
	
	backdrop-filter: blur(1rem); 

    background-color: rgba(255, 255, 255, 0.7); 
	background-image: linear-gradient(to left, rgba(203, 213, 225, 0.5), rgba(241, 245, 249, 0.5));
}

h1 {
	color: var(--color-blue);
}

.card-header,
.card-title {
	color: var(--color-blue);
}


.experts-grid {
	position: relative;
	padding: 0;

	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	flex-wrap: wrap;
	align-items: stretch;
	gap: .75rem;
}
.experts-grid .error {
	flex: 1 1 100%;
	margin: 2rem 0;

	font-weight: bold;
	font-size: 1.2rem;
	text-align: center;
	color: var(--color-red);
}
.experts-grid::after {
	content: "";
	flex: 1 1 25rem;
}
.experts-grid .expert-card {
	position: relative;
	flex: 1 1 25rem;
	padding: .5rem;

	display: flex;
	flex-direction: row;
	align-items: stretch;
	gap: .5rem;

	background: var(--color-white);
	box-shadow: 0 0 .5rem rgba(129, 124, 124, 0.5);
	border-radius: var(--bs-card-border-radius);
	overflow: hidden;

	transition: all .3s ease;
	transform: translate3d(0,0,0);
}
.experts-grid .expert-card:hover {
	box-shadow: 0 0 1rem rgba(129, 124, 124, 0.8);
	transform: scale(1.02);
}
.experts-grid .expert-card .portrait {
	flex: 0 0 10rem;

	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;

	background-color: var(--color-white2);
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}
.experts-grid .expert-card .portrait i {
	font-size: 7rem;
	color: var(--color-text-dark);
}
.experts-grid .expert-card .expert {

}
.experts-grid .expert-card .expert p {
	margin-bottom: .5rem;
	position: relative;
}
.experts-grid .expert-card .expert .name {
	font-weight: bold;
	font-size: 1.5rem;
}
.experts-grid .expert-card .expert .expertise {
	font-weight: bold;
}

.experts-grid.loading .expert-card .portrait::after,
.experts-grid.loading .expert-card .expert p::after {
	content: "";

	position: absolute;
	width: 100%;	height: 100%;
	top: 0;			left: 0;

	background: var(--color-grey-light);
	border-radius: var(--bs-card-border-radius);
}
.experts-grid.loading .expert-card::before {
	content: "";
	position: absolute;
	background: linear-gradient(
	  	90deg,
	  	rgba(255, 255, 255, 0) 0%,
	  	rgba(255, 255, 255, 0.4) 50%,
	  	rgba(255, 255, 255, 0) 100%
	);
	height: 100%;
	width: 100%;
	z-index: 1;
	animation: shimmer 1s infinite;
}
@keyframes shimmer {
	0% 		{	transform: translateX(-100%);	}
	100% 	{	transform: translateX(100%);	}
}
.experts-grid .loading-screen {	
	position: absolute;
	width: 100%;	height: 100%;
	top: 0;			left: 0;
	padding-top: 10rem;

	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	gap: 3rem;

	backdrop-filter: blur(.5rem);
	border-radius: var(--bs-card-border-radius);
	z-index: 1;
}
.experts-grid .loading-screen p {
	font-size: 1.2rem;
	font-weight: bold;
}
.experts-grid:not(.loading) .loading-screen {
	display: none;
}


.end-card {
	width: 100%;
    max-width: 500px;
    padding: 2rem;
}
.end-card h5 {
	margin-bottom: 1rem;
}
.end-card p {
	margin-bottom: .5rem;
}