@use 'fonts' as *;
@use 'colors' as *;
@use "../../app/client/frame/frame.style" as *;

body {
	background-color: #ffffff !important;
}

nb-layout-column {
	&.container-column {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	& .container-row {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
}

.nb-theme-umbrella-theme nb-layout .layout {
	min-height: 84vh !important;
}

html {
	&.cdk-global-scrollblock {
		position: static !important;
	}
}

.global-spinner-wrapper {
	& nb-spinner span.spin-circle {
		position: relative;
		top: calc(-100%/4);
	}
}

.umbrella-body {

	& .container {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
}

.umbrella-body, .container {
	max-width: 1400px !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin-bottom: 25px !important;
}

.umbrella-header {
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	z-index: 1002;
	width: 100%;
	height: 76px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-left: 25px;
	padding-right: 25px;
	margin-bottom: 36px;
	background-color: $white;
	border-bottom: 1px solid #d2d2d2;

	transition: all 0.5s;

	&.hide-header {
		transform: translateY(-76px);
	}

	&.with-cookie-banner {
		top: 116px;
	}

	&.with-cookie-banner-and-small-screen {
		top: 138px;
	}
}

.scrollable-container {
	margin-left: auto !important;
	margin-right: auto !important;
}

.main-container.role_client_service {

	.scrollable-container {
		height: calc(100vh - 221px);
	}
}

nb-tooltip {

	& div.content span {
		white-space: pre-wrap !important;
	}

	max-width: none !important;
}

.overflow-visible {
	overflow: visible !important;
}

nb-user.user-menu-opened > .user-container > .user-picture {
	background-color: $dekra-500 !important;
	color: $white;
	font-weight: bold;
	transition: background-color 0.4s cubic-bezier(0.445, 0.05, 0.55, 0.95);
}

nb-user:not(.user-menu-opened) > .user-container > .user-picture:hover {
	background-color: $dekra-100 !important;
	transition: background-color 0.3s cubic-bezier(0.445, 0.05, 0.55, 0.95)
}

nb-menu span.menu-title {
	text-align: left !important;
}

nb-card nb-card-body {
	padding: 26px 20px !important;
}

.margin-bottom10 {
	margin-bottom: 10px;
}

.margin-bottom15 {
	margin-bottom: 15px;
}

.margin-bottom20 {
	margin-bottom: 20px;
}

.margin-bottom30 {
	margin-bottom: 30px;
}

.margin-bottom40 {
	margin-bottom: 40px;
}

.margin-top40 {
	margin-top: 40px;
}

.margin-top60 {
	margin-top: 60px;
}

nb-accordion {
	& nb-accordion-item {
		&:not(:last-child){
			margin-bottom: 20px;
		}

		& nb-accordion-item-header {
			padding-right: 20px;
			padding-left: 20px;
		}
	}

	@media screen and (max-width: 1279px) {
		.umbrella-body, .container {
			max-width: 1140px !important;
		}
	}
}

@media screen and (max-width: 479px) {
	.umbrella-header {
		padding-left: 5px;
	}

	nb-context-menu {
		min-width: 350px !important;
	}
}

@media (max-width: 410px) {
	.toast-full-width {
		width: 100% !important;
		max-width: none !important;
	}

}
