/* Shared visual language for the complete online-submission area. */
body.depunere-online-page {
	--depunere-ink: #342527;
	--depunere-muted: #796a6b;
	--depunere-brand: #743a38;
	--depunere-brand-dark: #4f2929;
	--depunere-brand-deep: #321d1f;
	--depunere-coral: #c9936c;
	--depunere-paper: #ffffff;
	--depunere-background: #f5f6f6;
	background: var(--depunere-background);
	color: var(--depunere-ink);
}

body.depunere-online-page #wrap {
	background: transparent;
}

body.depunere-online-page header {
	background: #fff;
	box-shadow: none;
	position: relative;
	z-index: 5;
}

body.depunere-online-page .top-bar {
	background: #000;
	border-radius: 0;

	/* Doar minim, nu inaltime fixa. Pe telefon telefonul si adresa de e-mail nu
	   incap pe un rand, iar bara are `overflow: hidden` din tema: fixata la
	   40px, taia adresa la jumatate. Restul site-ului o lasa sa creasca
	   (responsive.css), asa ca facem la fel. */
	min-height: 40px;
}

body.depunere-online-page .sub-bnr {
	background-color: transparent !important;
	background-image: url("../images/bg/sub-event-bg.jpg") !important;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: scroll !important;
	overflow: hidden;
	position: relative;
}

body.depunere-online-page .sub-bnr:after {
	background-image: linear-gradient(135deg, rgba(255,255,255,.08) 25%, transparent 25%), linear-gradient(315deg, rgba(255,255,255,.06) 25%, transparent 25%);
	background-position: 0 0, 18px 18px;
	background-size: 36px 36px;
	content: "";
	inset: 0;
	opacity: 0;
	pointer-events: none;
	position: absolute;
}

body.depunere-online-page .sub-bnr .overlay-gr {
	background: linear-gradient(to right, rgba(24, 155, 211, .8) 0%, #6D605A 100%) !important;
	padding: 62px 0 !important;
	position: relative;
	z-index: 1;
}

body.depunere-online-page .sub-bnr .container {
	text-align: center;
}

body.depunere-online-page .depunere-hero-eyebrow {
	color: #f2e5e3;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .2em;
	line-height: 1;
	margin: 0 0 16px;
	text-transform: uppercase;
}

body.depunere-online-page .sub-bnr h2 {
	color: #fff;
	font-size: clamp(28px, 4vw, 36px);
	font-weight: 800;
	letter-spacing: .025em;
	line-height: 1.05;
	margin: 0 auto !important;
	max-width: 1000px;
	text-align: center;
}

body.depunere-online-page .sub-bnr p {
	color: #f2e5e3;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .18em;
	margin: 0;
	text-align: center;
	text-transform: uppercase;
}

body.depunere-online-page .breadcrumb {
	background: transparent;
	margin: 0 auto;
	max-width: 1300px;
	padding: 18px 28px;
}

body.depunere-online-page .breadcrumb a,
body.depunere-online-page .breadcrumb .active {
	color: var(--depunere-muted);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

body.depunere-online-page .breadcrumb .active {
	color: var(--depunere-brand);
}

body.depunere-online-page .content {
	padding: 20px 0 80px;
}

body.depunere-online-page .depunere-diacritics-notice {
	background: #fbf4ee;
	border: 1px solid #e8c7a6;
	border-radius: 14px;
	box-shadow: none;
	color: #8a4b35;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .01em;
	margin: 0 auto 18px;
	max-width: 1300px;
	padding: 13px 20px;
	text-align: center;
}

body.depunere-online-page .depunere-diacritics-notice:before {
	content: "ⓘ";
	display: inline-block;
	font-size: 16px;
	margin-right: 8px;
	vertical-align: -1px;
}

body.depunere-online-page .content > .container,
body.depunere-online-page .content > .container > .container,
body.depunere-online-page .content > .container-fluid {
	max-width: 1300px;
}

/* Landing page */
.depunere-landing .event-page {
	background: transparent;
	margin: 0;
	padding: 20px 0 45px;
}

.depunere-landing-intro {
	margin: 0 0 20px;
	max-width: 1300px;
}

.depunere-landing-intro__eyebrow {
	color: var(--depunere-brand);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .16em;
	margin-bottom: 8px;
	text-transform: uppercase;
}

.depunere-landing-intro h1 {
	color: var(--depunere-brand-dark);
	font-size: clamp(28px, 3.2vw, 42px);
	font-weight: 800;
	letter-spacing: -.035em;
	line-height: 1.1;
	margin: 0 0 10px;
}

.depunere-landing-intro p {
	color: var(--depunere-muted);
	font-size: 15px;
	line-height: 1.65;
	margin: 0;
}

.depunere-landing-steps {
	display: flex;
	flex-wrap: wrap;
	gap: 9px 22px;
	margin-top: 22px;
}

.depunere-landing-steps span {
	align-items: center;
	color: var(--depunere-muted);
	display: inline-flex;
	font-size: 12px;
	font-weight: 700;
	gap: 8px;
}

.depunere-landing-steps b {
	align-items: center;
	background: #ecdcd9;
	border-radius: 50%;
	color: var(--depunere-brand-dark);
	display: inline-flex;
	height: 25px;
	justify-content: center;
	width: 25px;
}

.depunere-landing .event-page > .container,
.depunere-landing .event-page > .container > .row {
	margin: 0;
	padding: 0;
	width: 100%;
}

.depunere-landing .event-page > .container > .row {
	display: grid;
	gap: 12px 16px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.depunere-landing .depunere-service-grid:before,
.depunere-landing .depunere-service-grid:after {
	display: none;
}

.depunere-landing .event-page .col-md-6,
.depunere-landing .event-page .col-md-12 {
	float: none;
	padding: 0;
	width: auto;
}

.depunere-landing .event-page .col-md-12 {
	grid-column: 1 / -1;
}

.depunere-landing .event-page a.btn {
	align-items: center;
	background: var(--depunere-paper) !important;
	border: 1px solid #e5d9d7 !important;
	border-radius: 16px;
	box-shadow: 0 10px 25px rgba(79, 41, 41, .07);
	color: var(--depunere-ink) !important;
	display: flex;
	font-size: 14px;
	font-weight: 800;
	justify-content: space-between;
	letter-spacing: .01em;
	line-height: 1.35;
	min-height: 84px;
	margin: 0 !important;
	padding: 20px 24px;
	position: relative;
	text-align: left;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;

	/* Bootstrap pune `white-space: nowrap` pe orice .btn. Aici nu e un buton, e
	   un card cu titlu de serviciu pe doua-trei randuri: fara resetare, textul
	   nu se rupe, iar cardul iese din ecran pe telefon - „Documentații de
	   urbanism (PUG / PUZ / PUD)” taia jumatate din lista. */
	white-space: normal;
	overflow-wrap: break-word;
	word-wrap: break-word;
	min-width: 0;
}

.depunere-landing .event-page a.btn > span {
	display: block;
	min-width: 0;
}

.depunere-landing .event-page a.btn small {
	color: var(--depunere-brand);
	display: block;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .12em;
	margin-bottom: 7px;
	text-transform: uppercase;
}

.depunere-landing .event-page a.btn strong {
	display: block;
	font-size: 15px;
	line-height: 1.35;
}

.depunere-landing .event-page a.btn strong i {
	color: var(--depunere-muted);
	font-size: 12px;
	font-style: normal;
	font-weight: 600;
}

.depunere-landing .event-page a.btn:after {
	display: none;
}

.depunere-landing .event-page a.btn em {
	color: var(--depunere-brand);
	font-size: 25px;
	font-style: normal;
	font-weight: 400;
	margin-left: 18px;
	transition: transform .2s ease;

	/* Latimea sagetii e fixa; ce se strange e titlul, nu ea. */
	flex: 0 0 auto;
}

.depunere-landing .event-page a.btn:hover,
.depunere-landing .event-page a.btn:focus {
	border-color: #c69a95 !important;
	box-shadow: 0 18px 34px rgba(79, 41, 41, .14);
	transform: translateY(-3px);
}

.depunere-landing .event-page a.btn:hover em,
.depunere-landing .event-page a.btn:focus em {
	transform: translateX(5px);
}

/* Shared form shell */
.depunere-form-page .contest-form {
	font-size: 14px;
	line-height: 1.7;
}

.depunere-form-page .content > .container > .sec-100px {
	padding: 20px 0 50px;
}

.depunere-form-page .contest-form > .col-md-8,
.depunere-form-page .contest-form > .col-md-12 {
	padding: 0;
}

.depunere-form-page .contest-form form {
	background: var(--depunere-paper);
	border: 1px solid #dfe4e4;
	border-radius: 22px;
	box-shadow: 0 18px 50px rgba(50, 55, 55, .08);
	margin: 0 auto;
	max-width: 1280px;
	padding: clamp(22px, 3vw, 40px);
	text-align: left;
}

.depunere-form-page .contest-form form > h3 {
	color: var(--depunere-brand-dark);
	font-size: clamp(21px, 2.3vw, 30px);
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1.2;
	margin: 0 0 24px;
	text-align: left !important;
}

.depunere-form-page .contest-form form > .row {
	background: #f7f8f8;
	border: 1px solid #e1e5e5;
	border-radius: 14px;
	line-height: 1.95;
	margin: 0 0 14px;
	padding: 20px 24px;
}

.depunere-form-page .contest-form form > .row:focus-within {
	border-color: #c59a95;
	box-shadow: 0 0 0 3px rgba(116, 58, 56, .11);
}

.depunere-form-page .contest-form input:not([type="checkbox"]):not([type="file"]):not([type="radio"]),
.depunere-form-page .contest-form textarea,
.depunere-form-page .contest-form select {
	background: #fff;
	border: 1px solid #decfcd;
	border-radius: 7px;
	box-shadow: none;
	color: var(--depunere-ink);
	font-size: 13px;
	font-style: normal;
	font-weight: 500;
	line-height: 1.35;
	margin: 4px 6px;
	max-width: 100%;
	padding: 9px 11px;
	vertical-align: middle;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.depunere-form-page .contest-form input:not([type="checkbox"]):not([type="file"]):not([type="radio"]):focus,
.depunere-form-page .contest-form textarea:focus,
.depunere-form-page .contest-form select:focus {
	border-color: var(--depunere-brand);
	box-shadow: 0 0 0 3px rgba(116, 58, 56, .12);
	outline: none;
}

.depunere-form-page .contest-form textarea {
	min-height: 90px;
	min-width: min(100%, 520px);
}

.depunere-form-page .contest-form form > .row > [class*="col-"] {
	line-height: 2.05;
}

.depunere-form-page .contest-form form > .row > [class*="col-"] > label,
.depunere-form-page .contest-form form > .row > [class*="col-"] > b,
.depunere-form-page .contest-form form > .row > [class*="col-"] > i {
	line-height: 1.65;
}

.depunere-form-page .contest-form .content-form-subtext,
.depunere-form-page .contest-form h4 {
	color: var(--depunere-brand-dark);
	font-size: 16px;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.depunere-form-page .contest-form .required-once.documentatie {
	background: #f1f3f3;
	border-color: #cfd7d7;
	padding: 22px;
}

.depunere-form-page .contest-form [style*="color: red"] {
	background: #fff7f1 !important;
	border: 1px solid #e3bda6;
	border-left: 4px solid var(--depunere-coral);
	border-radius: 9px;
	color: #74423d !important;
	display: block;
	font-size: 13px !important;
	line-height: 1.65;
	margin: 14px 0 0;
	padding: 13px 15px;
}

.depunere-form-page .contest-form .js-save-contest {
	background: linear-gradient(120deg, var(--depunere-brand-dark), var(--depunere-brand)) !important;
	border: 0;
	border-radius: 10px;
	box-shadow: 0 10px 18px rgba(116, 58, 56, .2);
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .03em;
	padding: 13px 25px;
	transition: box-shadow .2s ease, transform .2s ease;
}

.depunere-form-page .contest-form .js-save-contest:hover:not(:disabled),
.depunere-form-page .contest-form .js-save-contest:focus:not(:disabled) {
	box-shadow: 0 15px 24px rgba(116, 58, 56, .28);
	transform: translateY(-2px);
}

.depunere-form-page .mySticky {
	background: #4f2929;
	border-radius: 16px;
	box-shadow: 0 14px 30px rgba(50, 29, 31, .13);
	color: #f3e7e5;
	font-size: 12px;
	line-height: 1.7;
	padding: 22px;
	top: 22px;
}

.depunere-form-page .mySticky h5 {
	color: #fff;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: .07em;
	text-transform: uppercase;
}

.depunere-form-page .depunere-form-notice {
	margin-bottom: 28px;
}

body.depunere-online-page footer,
body.depunere-online-page .footer {
	margin-top: 20px;
}

@media (max-width: 767px) {
	/* Doua randuri de cate 40px fac o bara cat un sfert de ecran. */
	body.depunere-online-page .top-bar,
	body.depunere-online-page .top-bar p {
		line-height: 1.7;
	}

	body.depunere-online-page .top-bar {
		padding: 6px 0;
	}

	body.depunere-online-page .breadcrumb {
	padding: 14px 18px;
	}

	body.depunere-online-page .content {
	padding-top: 5px;
	}

	.depunere-landing .event-page > .container > .row {
		grid-template-columns: 1fr;
	}

	.depunere-landing-steps {
		gap: 9px 14px;
	}

	.depunere-landing .event-page .col-md-12 {
		grid-column: auto;
	}

	.depunere-form-page .contest-form form {
		border-radius: 15px;
		padding: 18px 14px;
	}

	.depunere-form-page .contest-form form > .row {
		line-height: 2.05;
		padding: 18px 14px;
	}

	.depunere-form-page .contest-form input:not([type="checkbox"]):not([type="file"]):not([type="radio"]),
	.depunere-form-page .contest-form textarea,
	.depunere-form-page .contest-form select {
		max-width: 100% !important;
		min-width: 0 !important;
		width: 100% !important;
	}

	.depunere-form-page .contest-form .row [class*="col-"] {
		padding-left: 0;
		padding-right: 0;
		width: 100%;
	}
}
