/*
 * kberlantini.it on Hello Elementor: the look of the old Atmosphere theme.
 * Measures taken from the live site at 1440 px: 290 px vertical header, 950 px default column,
 * Montserrat 300 / 500, 14/28 text in #666.
 */

:root {
	--kbr-text: #666;
	--kbr-dark: #282828;
	--kbr-blue: #1851e6;
	--kbr-hover: #00f;
	--kbr-header-w: 290px;
	--kbr-gutter: 15px;
}

/* ---------- Base ---------- */

body.kbr-site {
	margin: 0;
	font-family: Montserrat, sans-serif;
	font-size: 14px;
	line-height: 28px;
	font-weight: 300;
	color: var(--kbr-text);
	background: #fff;
	-webkit-font-smoothing: antialiased;
}

.kbr-site :is(h1, h2, h3, h4, h5, h6) {
	font-family: inherit;
	color: var(--kbr-dark);
	margin: 0;
}

.kbr-site h5,
.kbr-site h5.elementor-heading-title {
	font-size: 20px;
	line-height: 26px;
	font-weight: 600;
	letter-spacing: -0.4px;
}

.kbr-site h6,
.kbr-site h6.elementor-heading-title {
	font-size: 16px;
	line-height: 20.8px;
	font-weight: 500;
}

.kbr-site p {
	margin: 10px 0;
}

.kbr-site p:last-child {
	margin-bottom: 0;
}

/* The old ".h4" class on the first line of the Info boxes looked like plain text. */
.kbr-site p.h4 {
	font-size: 14px;
	line-height: 28px;
	font-weight: 300;
	color: var(--kbr-text);
}

.kbr-site ul {
	margin: 15px 0 0;
	padding: 0;
	list-style-position: inside;
}

.kbr-site a {
	color: var(--kbr-dark);
	text-decoration: none;
	transition: color .2s ease-out;
}

.kbr-site a:hover {
	color: var(--kbr-hover);
}

.kbr-site img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

.kbr-site .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	border: 0;
	white-space: nowrap;
}

/* ---------- Vertical header (desktop) ---------- */

.kbr-vertical {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 101;
	box-sizing: border-box;
	width: var(--kbr-header-w);
	height: 100vh;
	padding: 71px 30px 30px 60px;
	background: #fff;
	overflow-y: auto;
}

.kbr-vertical__logo {
	display: block;
	width: 62px;
	height: 62px;
}

.kbr-vertical__logo img {
	display: block;
	width: 62px;
	height: 62px;
}

.kbr-vertical__nav {
	margin: 67px 0 30px;
}

.kbr-site .kbr-menu,
.kbr-site .kbr-mobile__menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.kbr-menu a {
	display: block;
	padding-right: 15px;
	font-size: 18px;
	line-height: 45px;
	font-weight: 500;
	letter-spacing: -0.36px;
	color: var(--kbr-dark);
}

.kbr-menu a:hover {
	color: var(--kbr-dark);
}

.kbr-menu__text {
	position: relative;
	display: inline-block;
}

/* The blue bar under the current item, growing in under the others on hover. */
.kbr-menu__text::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 4px;
	width: 0;
	height: 7px;
	background: transparent;
	transition: background-color .3s, width .25s;
	z-index: -1;
}

.kbr-menu a:hover .kbr-menu__text::after,
.kbr-menu .current-menu-item > a .kbr-menu__text::after,
.kbr-menu .current_page_item > a .kbr-menu__text::after {
	width: 100%;
	background: var(--kbr-blue);
}

/* The bar sits under the letters: the text needs its own layer. */
.kbr-menu a {
	position: relative;
	z-index: 0;
}

/* ---------- Phone and tablet header ---------- */

.kbr-mobile {
	display: none;
}

.kbr-mobile__inner {
	position: relative;
	width: 80%;
	margin: 0 auto;
}

.kbr-mobile__bar {
	background: #fff;
}

.kbr-mobile__bar .kbr-mobile__inner {
	height: 80px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.kbr-site .kbr-mobile__toggle {
	position: absolute;
	left: 0;
	top: 0;
	height: 80px;
	padding: 0 10px 0 0;
	border: 0;
	border-radius: 0;
	background: none;
	color: var(--kbr-dark);
	font-size: 23px;
	line-height: 1;
	cursor: pointer;
}

.kbr-site .kbr-mobile__toggle:hover,
.kbr-site .kbr-mobile__toggle:focus {
	background: none;
	color: var(--kbr-dark);
}

.kbr-mobile__toggle .kbr-icon {
	display: block;
	width: 23px;
	height: 23px;
}

.kbr-mobile__logo,
.kbr-mobile__logo img {
	display: block;
	width: 62px;
	height: 62px;
}

.kbr-mobile__nav {
	background: #fff;
}

.kbr-mobile__menu li a {
	display: block;
	padding: 9px 0 9px 4px;
	border-bottom: 1px solid #e1e1e1;
	font-size: 14px;
	line-height: 24px;
	color: var(--kbr-text);
}

.kbr-mobile__menu li:last-child a {
	border-bottom: 0;
}

.kbr-mobile__menu .current-menu-item > a {
	color: var(--kbr-dark);
}

/* ---------- Page frame ---------- */

.kbr-main {
	padding-left: var(--kbr-header-w);
}

.kbr-wrap {
	box-sizing: border-box;
}

.kbr-layout-boxed .kbr-wrap {
	width: 950px;
	max-width: 100%;
	margin: 0 auto;
	padding-top: 40px;
}

.kbr-row {
	display: flex;
	margin: 0 calc(-1 * var(--kbr-gutter));
}

.kbr-content {
	box-sizing: border-box;
	flex: 0 0 75%;
	max-width: 75%;
	min-width: 0;
	padding: 0 var(--kbr-gutter);
}

.kbr-sidebar {
	box-sizing: border-box;
	flex: 0 0 25%;
	max-width: 25%;
	padding: 0 var(--kbr-gutter) 60px;
}

.kbr-sidebar__name {
	display: block;
	width: 20px;
	margin-top: 107px;
}

.kbr-sidebar__name img {
	display: block;
	width: 20px;
	height: auto;
}

.kbr-entry-title {
	font-size: 20px;
	line-height: 26px;
	font-weight: 500;
	margin: 30px 0 10px;
}

/* Elementor rows converted from WPBakery: 15 px gutters, as before. */
.kbr-site .kbr-content .e-con.kbr-vc-row {
	--padding-top: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	--padding-right: 0px;
	margin-left: calc(-1 * var(--kbr-gutter));
	margin-right: calc(-1 * var(--kbr-gutter));
	width: auto;
	max-width: none;
}

.kbr-site .kbr-content .e-con.kbr-vc-col {
	--padding-left: var(--kbr-gutter);
	--padding-right: var(--kbr-gutter);
}

/* Separator (the old vc_separator): a 1 px tall row, the 2 px light grey line just below it. */
.kbr-content .elementor-widget-divider {
	--divider-color: #ebebeb;
}

.kbr-site .kbr-content .elementor-widget-divider .elementor-divider {
	height: 1px;
	padding: 0;
	overflow: visible;
}

.kbr-site .kbr-content .elementor-widget-divider .elementor-divider-separator {
	position: relative;
	top: 1px;
}

/* ---------- Contact form ---------- */

.kbr-site .wpcf7 form p {
	margin: 0;
}

.kbr-site .wpcf7 label {
	display: inline;
	font-size: 14px;
	line-height: 28px;
}

.kbr-site .wpcf7 input.wpcf7-text,
.kbr-site .wpcf7 input.wpcf7-email,
.kbr-site .wpcf7 textarea {
	box-sizing: border-box;
	display: block;
	width: 100%;
	margin: 0 0 15px;
	padding: 12px 20px;
	border: 0;
	border-radius: 0;
	background: #f7f7f7;
	font-family: inherit;
	font-size: 12px;
	line-height: 30px;
	font-weight: 300;
	color: var(--kbr-text);
	outline: 0;
}

.kbr-site .wpcf7 textarea {
	height: 324px;
	resize: vertical;
}

.kbr-site .wpcf7 input.wpcf7-submit {
	margin: 0;
	padding: 14px 46px;
	border: 1px solid transparent;
	border-radius: 0;
	background: var(--kbr-dark);
	font-family: inherit;
	font-size: 12px;
	line-height: 24px;
	font-weight: 600;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	color: #fff;
	cursor: pointer;
	transition: background-color .2s ease-out;
}

.kbr-site .wpcf7 input.wpcf7-submit:hover {
	background: var(--kbr-blue);
	color: #fff;
}

.kbr-site .wpcf7-turnstile {
	margin: 0 0 15px;
}

.kbr-site .wpcf7-not-valid-tip {
	font-size: 12px;
	line-height: 20px;
	margin: -10px 0 10px;
}

.kbr-site .wpcf7 form .wpcf7-response-output {
	margin: 20px 0 0;
	padding: 10px 15px;
	font-size: 13px;
	line-height: 22px;
}

/* ---------- Footer ---------- */

.kbr-footer {
	padding-left: var(--kbr-header-w);
	background: #fff;
}

.kbr-footer__inner {
	display: flex;
	padding: 46px 63px;
}

.kbr-footer__col {
	box-sizing: border-box;
	flex: 0 0 25%;
	max-width: 25%;
	padding: 0 var(--kbr-gutter);
	font-size: 16px;
	line-height: 26px;
}

.kbr-footer__copy,
.kbr-footer__small {
	margin: 0;
	font-size: 10px;
	line-height: 26px;
	color: var(--kbr-text);
}

.kbr-site .kbr-footer__copy {
	margin-top: 9px;
}

.kbr-site .kbr-footer__small {
	margin-top: 0;
	line-height: 18px;
}

.kbr-site .kbr-footer__small-link {
	color: var(--kbr-text);
}

.kbr-site .kbr-footer__small-link:hover {
	color: var(--kbr-dark);
}

.kbr-footer__privacy {
	font-size: 16px;
	line-height: 26px;
}

/* Our footer carries the cookie link: the cookie plugin's own line is not needed. */
.kbr-site .custcc-recall {
	display: none;
}

.kbr-social {
	display: flex;
	align-items: center;
	gap: 4px;
	height: 28px;
}

.kbr-site .kbr-social__link {
	display: inline-flex;
	color: #000;
	font-size: 21px;
	line-height: 1;
}

.kbr-site .kbr-social__link:hover {
	color: var(--kbr-hover);
}

.kbr-social__link .kbr-icon {
	width: 18px;
	height: 18px;
	overflow: visible;
}

.kbr-social__link--facebook .kbr-icon {
	width: 11px;
	height: 19.6px;
}

/* The home page had a narrower footer margin up to 1440 px. */
@media (min-width: 1025px) and (max-width: 1440px) {
	.home .kbr-footer__inner {
		padding-left: 25px;
		padding-right: 25px;
	}
}

/* ---------- Back to top ---------- */

.kbr-to-top {
	position: fixed;
	right: 30px;
	bottom: 30px;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--kbr-blue);
	opacity: 0;
	visibility: hidden;
	transition: opacity .3s, visibility .3s;
}

.kbr-site .kbr-to-top,
.kbr-site .kbr-to-top:hover {
	color: #fff;
}

.kbr-to-top .kbr-icon {
	width: 26px;
	height: 26px;
}

.kbr-to-top.is-visible {
	opacity: 1;
	visibility: visible;
}

/* ---------- Up to 1024 px: top bar instead of the vertical header ---------- */

@media (max-width: 1024px) {
	.kbr-vertical {
		display: none;
	}

	.kbr-mobile {
		display: block;
		position: relative;
		z-index: 101;
	}

	.kbr-mobile.is-fixed {
		position: sticky;
		top: 0;
	}

	.admin-bar .kbr-mobile.is-fixed {
		top: var(--wp-admin--admin-bar--height, 0px);
	}

	.kbr-main,
	.kbr-footer {
		padding-left: 0;
	}

	.kbr-wrap {
		padding: 40px var(--kbr-gutter) 0;
	}

	.kbr-layout-boxed .kbr-wrap {
		width: auto;
		padding-top: 40px;
	}

	.kbr-row {
		flex-direction: column;
	}

	.kbr-content,
	.kbr-sidebar {
		flex: none;
		max-width: none;
	}

	.kbr-footer__inner {
		flex-direction: column;
		gap: 30px;
		padding: 46px 35px;
	}

	.kbr-footer__col {
		flex: none;
		max-width: none;
	}

	.kbr-footer__col:empty {
		display: none;
	}
}

@media (max-width: 767px) {
	/* Columns converted from WPBakery stack, with their gutters folded into the page's. */
	.kbr-site .kbr-content .e-con.kbr-vc-row {
		margin-left: 0;
		margin-right: 0;
	}

	.kbr-site .kbr-content .e-con.kbr-vc-col {
		--padding-left: 0px;
		--padding-right: 0px;
	}
}
