/* Theme Name: Egovt Child Theme
Theme URI: https://themeforest.net/user/ovatheme/portfolio
Description: This is child theme of egovt
Author: Ovatheme
Author URI: https://themeforest.net/user/ovatheme
Template: egovt
Version: 1.0.0
Tags: two-columns, three-columns, left-sidebar, right-sidebar, custom-menu, editor-style, featured-images, flexible-header, full-width-template, post-formats, rtl-language-support, sticky-post, translation-ready
Text Domain:  egovt-child
*/

:root {
	--dcep-navy: #202b5b;
	--dcep-blue: #005dcc;
	--dcep-ink: #202b5b;
	--dcep-hover: #e70506;
	--dcep-muted: #eef3f6;
	--dcep-border: #dbe4ea;
}

body {
	font-family: 'Poppins', sans-serif;
	color: var(--dcep-ink);
}

body input,
body button,
body textarea,
body select,
h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Poppins', sans-serif;
}

body a:hover,
body a:focus {
	color: var(--dcep-hover);
}

.dcep-tts-control {
	position: fixed;
	right: 20px;
	top: 100px;
	z-index: 9999;
}

.dcep-tts-control button {
	background: var(--dcep-navy);
	border: 0;
	box-shadow: 0 6px 16px rgba(32, 43, 91, .24);
	color: #fff;
	cursor: pointer;
	font-size: 13px;
	font-weight: 700;
	padding: 11px 15px;
}

.dcep-tts-control button i {
	display: inline-block;
	margin-right: 6px;
}

.dcep-tts-control button.is-off {
	background: #777;
}

.dcep-tts-control button:hover,
.dcep-tts-control button:focus {
	background: var(--dcep-hover);
	color: #fff;
}

.dcep-cei-hero {
	background: #202b5b url('/wp-content/uploads/2026/08/Carte-de-identitate-electronica-buletin.webp') center / cover no-repeat;
	border-bottom: 1px solid var(--dcep-border);
	position: relative;
	padding: 58px 0 62px;
}

.dcep-cei-hero::before {
	background: rgba(32, 43, 91, .72);
	content: '';
	inset: 0;
	position: absolute;
}

.dcep-cei-hero-inner {
	align-items: center;
	display: flex;
	justify-content: space-between;
	min-height: 390px;
	position: relative;
	text-align: center;
}

.dcep-cei-hero-inner > div {
	margin: 0 auto;
}

.dcep-cei-hero h1 {
	color: #fff;
	font-size: clamp(32px, 4vw, 54px);
	font-weight: 700;
	line-height: 1.1;
	margin: 0 0 18px;
	max-width: 650px;
}

.dcep-cei-hero p:not(.dcep-eyebrow) {
	color: #fff;
	font-size: 18px;
	line-height: 1.7;
	margin: 0 0 28px;
	max-width: 650px;
}

.dcep-cei-button {
	background: var(--dcep-hover);
	color: #fff;
	display: inline-block;
	font-weight: 700;
	padding: 14px 20px;
}

.dcep-cei-button:hover,
.dcep-cei-button:focus {
	background: var(--dcep-navy);
	color: #fff;
}

.page-title {
	display: none;
}

.home #main-content {
	padding-top: 0;
}

.home .dcep-home-main > h2:first-of-type,
.home .dcep-home-main > h2:first-of-type + p,
.home .dcep-home-main > h2:first-of-type + p + h5,
.home .dcep-home-main > figure {
	display: none;
}

.dcep-about-intro {
	margin: 0 auto 60px;
	max-width: 1140px;
	padding: 64px 0 10px;
}

.dcep-about-title {
	color: var(--dcep-navy);
	font-size: 34px;
	line-height: 1.2;
	margin: 0 auto 34px;
	text-align: center;
}

.dcep-about-columns {
	align-items: center;
	display: grid;
	gap: 56px;
	grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr);
}

.dcep-about-copy p {
	line-height: 1.8;
	margin-bottom: 24px;
}

.dcep-about-copy h5 {
	border-left: 4px solid var(--dcep-hover);
	color: var(--dcep-navy);
	font-size: 16px;
	line-height: 1.6;
	margin: 0;
	padding-left: 18px;
}

.dcep-about-image {
	padding: 20px;
}

.dcep-about-image img {
	display: block;
	height: auto;
	max-width: 100%;
}

.home #main-content > ul {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	list-style: none;
	margin: 28px auto 42px;
	max-width: 1140px;
	padding: 0;
}

.home #main-content > ul li {
	background: #fff;
	border: 1px solid var(--dcep-border);
	border-top: 4px solid var(--dcep-blue);
	box-shadow: 0 8px 24px rgba(7, 59, 92, .08);
	min-height: 74px;
	padding: 22px 20px;
}

.home #main-content > ul li a {
	color: var(--dcep-navy);
	display: block;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
}

.home #main-content > ul li a:hover {
	color: var(--dcep-hover);
}

.home #main-content > h2 {
	color: var(--dcep-navy);
	margin: 46px auto 12px;
	max-width: 1140px;
}

.home #main-content > h2 + p {
	margin-left: auto;
	margin-right: auto;
	max-width: 1140px;
}

.dcep-home-info {
	display: grid;
	gap: 22px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 56px auto 0;
	max-width: 1140px;
}

.dcep-cei-tools {
	display: grid;
	gap: 22px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 56px auto 0;
	max-width: 1140px;
}

.dcep-locality-checker,
.dcep-reader-panel {
	background: var(--dcep-navy);
	min-height: 360px;
	padding: 34px;
}

.dcep-locality-checker h2,
.dcep-reader-panel h2 {
	color: #fff;
	font-size: 28px;
	margin: 0 0 12px;
}

.dcep-locality-checker p  {
    color: #fff;
}

.dcep-locality-form {
	display: flex;
	gap: 8px;
	margin: 24px 0 18px;
}

.dcep-locality-form input {
	border: 1px solid var(--dcep-border);
	flex: 1;
	min-width: 0;
	padding: 13px 14px;
}

.dcep-locality-form button {
	background: var(--dcep-blue);
	border: 0;
	color: #fff;
	font-weight: 700;
	padding: 0 18px;
}

.dcep-locality-result {
	min-height: 54px;
}

.dcep-locality-result strong,
.dcep-locality-result span {
	display: block;
}

.dcep-locality-result strong {
	color: var(--dcep-navy);
	margin-bottom: 5px;
}

.dcep-locality-result a {
	display: inline-block;
	margin-top: 10px;
}

.dcep-locality-result a,
.dcep-text-link {
	color: var(--dcep-hover);
	font-weight: 700;
}

.dcep-locality-checker a, .dcep-locality-checker #dcep-locality-result, #dcep-locality-result strong {
    color: #fff;
}

.dcep-text-link {
	display: inline-block;
	margin-top: 18px;
}

.dcep-reader-panel {
	align-items: baseline;
	background: var(--dcep-navy);
	color: #fff;
	display: flex;
	gap: 22px;
	justify-content: space-between;
	overflow: hidden;
}

.dcep-reader-panel h2 {
	color: #fff;
}

.dcep-reader-panel img {
	align-self: center;
	flex: 0 0 120px;
	max-height: 275px;
	object-fit: cover;
	object-position: top;
	width: 120px;
}

.dcep-store-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 24px;
}

.dcep-store-links a {
	display: block;
	line-height: 0;
}

.dcep-store-links img {
	display: block;
	height: 40px;
	max-width: 135px;
	width: auto;
}

.dcep-info-panel {
	background: var(--dcep-navy);
	color: #fff;
	padding: 32px;
}

.dcep-info-panel h2 {
	color: #fff;
	font-size: 28px;
	margin: 0 0 24px;
}

.dcep-eyebrow {
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	margin-bottom: 10px;
	text-transform: uppercase;
}

.dcep-hours {
	list-style: none;
	margin: 0;
	padding: 0;
}

.dcep-hours li {
	border-top: 1px solid rgba(255, 255, 255, .2);
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding: 14px 0;
}

.dcep-hours li:last-child {
	border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.dcep-contact-panel p:not(.dcep-eyebrow) {
	margin-bottom: 20px;
}

.dcep-contact-actions {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 24px;
}

.dcep-contact-actions a,
.dcep-secondary-action {
	color: #fff;
	font-weight: 700;
}

.dcep-secondary-action {
	border-bottom: 1px solid rgba(255, 255, 255, .45);
	display: inline-block;
	padding-bottom: 4px;
}

.single-ova_doc .doc-meta-general,
.single-ova_doc .doc-categories {
	display: none;
}

.ova-download a {
	background: var(--dcep-blue);
	border-radius: 4px;
	color: #fff !important;
	display: inline-block;
	font-weight: 700;
	padding: 10px 20px;
	text-decoration: none !important;
}

.ova-download a::before {
	content: "\f019";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	margin-right: 8px;
}

.ova-download a:hover,
.ova-download a:focus {
	background: var(--dcep-navy);
	color: #fff !important;
}

.dcep-header-top {
	background: #fff;
	color: #292828;
}

.dcep-header-top-inner {
    align-items: center;
    display: flex;
    gap: 18px;
    min-height: 76px;
    flex-direction: column;
	padding-top: 24px !important;
    padding-bottom: 24px !important;
}

.dcep-brand {
	align-items: center;
	display: flex;
	flex: 0 0 auto;
}

.dcep-brand img {
	max-height: 58px;
	width: auto;
}

.dcep-brand span {
	color: #fff;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.25;
}

.dcep-header-nav {
	background: #fff;
	border-top: 1px solid var(--dcep-border);
	border-bottom: 1px solid var(--dcep-border);
}

.dcep-header-nav .navbar-collapse {
	align-items: center;
	justify-content: space-between;
}

.dcep-header-nav .navbar {
	position: relative;
	margin-bottom: 0 !important;
	padding-bottom: 18px !important;
	padding-top: 18px !important;
}

.dcep-page-title-bar {
	background-color: #202b5b;
	background-image: url('/wp-content/uploads/2020/07/Financial_Briefing_Update_for_the_Year-1.jpg');
	background-position: center;
	background-size: cover;
	color: #fff;
	position: relative;
    margin-bottom:20px; sa sc
}

.dcep-page-title-bar::before {
	background: rgba(32, 43, 91, .82);
	content: '';
	inset: 0;
	position: absolute;
}

.dcep-page-title-inner {
	padding: 100px 15px 100px;
	position: relative;
	text-align: center;
}

.dcep-page-title-inner h1 {
	color: #fff;
	font-size: 38px;
	line-height: 1.2;
	margin: 0 0 18px;
}

.dcep-page-breadcrumbs,
.dcep-page-breadcrumbs #breadcrumbs,
.dcep-page-breadcrumbs .breadcrumb {
	background: transparent;
	justify-content: center;
}

.dcep-page-breadcrumbs .breadcrumb {
	display: flex;
	margin: 0;
	padding: 0;
}

.dcep-page-breadcrumbs li,
.dcep-page-breadcrumbs a,
.dcep-page-breadcrumbs .separator {
	color: #fff !important;
	font-size: 13px;
}

.dcep-page-breadcrumbs .separator::before {
	content: "\35";
	font-family: 'ElegantIcons' !important;
	font-size: 17px;
}

.dcep-page-breadcrumbs a:hover,
.dcep-page-breadcrumbs a:focus {
	color: var(--dcep-hover) !important;
}

.dcep-primary-menu {
	gap: 4px;
}

.dcep-primary-menu > li > a {
	color: var(--dcep-ink);
	font-size: 14px;
	font-weight: 600;
	padding: 24px 12px !important;
	text-transform: uppercase;
}

@media (min-width: 992px) {
	.dcep-primary-menu > li.dropdown {
		position: relative;
	}

	.dcep-primary-menu > li.dropdown > a {
		padding-right: 24px !important;
	}

	.dcep-primary-menu > li.dropdown > .dropdown-toggle {
		position: absolute;
		right: 4px;
		top: 50%;
		transform: translateY(-50%);
	}

	.dcep-primary-menu > li.dropdown > .dropdown-toggle::after {
		border: 0;
		content: "\33";
		font-family: 'ElegantIcons' !important;
		vertical-align: middle;
	}

	.dcep-primary-menu > li.dropdown:hover > ul.dropdown-menu,
	.dcep-primary-menu > li.dropdown:focus-within > ul.dropdown-menu {
		display: block !important;
		top: 100%;
		opacity: 1;
		visibility: visible;
	}

	.dcep-primary-menu > li > ul.dropdown-menu {
		background: #fff;
		border: 1px solid var(--dcep-border);
		border-top: 3px solid var(--dcep-hover);
		box-shadow: 0 12px 28px rgba(32, 43, 91, .16);
		left: 0;
		min-width: 230px;
		padding: 8px 0;
		transform: translateY(0);
	}

	.dcep-primary-menu > li > ul.dropdown-menu li {
		border-bottom: 0 !important;
	}

	.dcep-primary-menu > li > ul.dropdown-menu li a {
		color: var(--dcep-navy) !important;
		display: block;
		font-size: 13px;
		padding: 11px 16px;
		text-transform: none;
	}

	.dcep-primary-menu > li > ul.dropdown-menu li a:hover,
	.dcep-primary-menu > li > ul.dropdown-menu li a:focus {
		background: #f5f7fa;
		color: var(--dcep-hover) !important;
	}

	.dcep-primary-menu > li > ul.dropdown-menu li.dropdown {
		position: relative;
	}

	.dcep-primary-menu > li > ul.dropdown-menu li.dropdown > a {
		padding-right: 30px;
	}

	.dcep-primary-menu > li > ul.dropdown-menu li.dropdown > .dropdown-toggle {
		position: absolute;
		right: 10px;
		top: 50%;
		transform: translateY(-50%);
	}

	.dcep-primary-menu > li > ul.dropdown-menu li.dropdown > .dropdown-toggle::after {
		border: 0;
		content: "\35";
		font-family: 'ElegantIcons' !important;
		vertical-align: middle;
	}

	.dcep-primary-menu > li > ul.dropdown-menu li.dropdown > ul.dropdown-menu {
		background: #fff;
		border: 1px solid var(--dcep-border);
		border-top: 3px solid var(--dcep-hover);
		box-shadow: 0 12px 28px rgba(32, 43, 91, .16);
		left: 100%;
		min-width: 300px;
		padding: 8px 0;
		top: -9px;
	}

	.dcep-primary-menu > li > ul.dropdown-menu li.dropdown > ul.dropdown-menu li a {
		white-space: normal;
	}

	.dcep-primary-menu > li > ul.dropdown-menu li.dropdown:hover > ul.dropdown-menu,
	.dcep-primary-menu > li > ul.dropdown-menu li.dropdown:focus-within > ul.dropdown-menu {
		display: block !important;
		opacity: 1;
		visibility: visible;
	}
}

.dcep-primary-menu > li > a:hover,
.dcep-primary-menu > li.current-menu-item > a,
.dcep-primary-menu > li.current-menu-parent > a {
	color: var(--dcep-hover);
}

.dcep-header-action {
	background: var(--dcep-blue);
	border-radius: 3px;
	color: #fff;
	font-weight: 700;
	padding: 10px 16px;
	white-space: nowrap;
}

.dcep-header-action:hover {
	color: #fff;
	background: var(--dcep-navy);
}

.dcep-site-footer {
	background: var(--dcep-navy);
	color: #dce8ef;
	margin-top: 70px;
	padding: 42px 0 18px;
}

.dcep-footer-grid {
	display: flex;
	gap: 40px;
	justify-content: space-between;
}

.dcep-footer-title {
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 10px;
}

.dcep-footer-links {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.dcep-site-footer a {
	color: #fff;
}

.dcep-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, .2);
	font-size: 13px;
	margin-top: 30px;
	padding-top: 16px;
}

@media (max-width: 991px) {
	.dcep-header-nav .navbar-toggler {
		color: var(--dcep-navy);
		margin: 12px 0;
	}

	.dcep-header-nav .navbar {
		padding-right: 0 !important;
		margin-bottom: 0 !important;
		padding-bottom: 8px !important;
		padding-top: 8px !important;
	}

	.dcep-primary-menu > li > a {
		padding: 10px 0;
	}

	.dcep-primary-menu > li.dropdown > ul.dropdown-menu {
		border: 0;
		box-shadow: none;
		padding: 0 0 0 14px;
	}

	.dcep-header-action {
		display: inline-block;
		margin: 10px 0 16px;
	}
}

@media (max-width: 575px) {
	.dcep-page-title-inner {
		padding-bottom: 32px;
		padding-top: 36px;
	}

	.dcep-page-title-inner h1 {
		font-size: 29px;
	}

	.dcep-tts-control {
		right: 12px;
		top: 86px;
	}

	.dcep-about-intro {
	padding-top: 42px;
	}

	.dcep-about-title {
	font-size: 28px;
	}

	.dcep-about-columns {
	gap: 28px;
	grid-template-columns: 1fr;
	}

	.dcep-cei-hero {
		padding: 42px 0 46px;
	}

	.dcep-cei-hero-inner {
		align-items: flex-start;
		flex-direction: column;
		gap: 30px;
	}

	.dcep-cei-hero p:not(.dcep-eyebrow) {
		font-size: 16px;
	}

	.dcep-header-top-inner {
		min-height: 66px;
		padding-top: 16px;
	}

	.dcep-brand img {
		max-height: 48px;
	}

	.dcep-footer-grid {
		flex-direction: column;
		gap: 24px;
	}

	.home #main-content > ul {
		grid-template-columns: 1fr;
	}

	.dcep-home-info {
		grid-template-columns: 1fr;
	}

	.dcep-cei-tools {
		grid-template-columns: 1fr;
	}

	.dcep-info-panel {
		padding: 24px;
	}

	.dcep-locality-checker,
	.dcep-reader-panel {
		padding: 24px;
	}

	.dcep-locality-form {
		flex-direction: column;
	}

	.dcep-locality-form button {
		min-height: 46px;
	}

	.dcep-acte-cards {
		grid-template-columns: 1fr;
	}
}

.dcep-acte-cards {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 36px auto 60px;
}

.dcep-acte-card {
	background: #fff;
	border: 1px solid var(--dcep-border);
	border-radius: 14px;
	border-top: 4px solid var(--dcep-blue);
	box-shadow: 0 8px 24px rgba(7, 59, 92, .08);
	padding: 18px 20px 52px;
	position: relative;
	transition: transform .15s ease, box-shadow .15s ease;
}

.dcep-acte-card-ready {
	cursor: pointer;
}

.dcep-acte-card-ready:hover,
.dcep-acte-card-ready:focus {
	box-shadow: 0 12px 28px rgba(7, 59, 92, .16);
	outline: 0;
	transform: translateY(-2px);
}

.dcep-acte-card h1,
.dcep-acte-card h2,
.dcep-acte-card h3,
.dcep-acte-card h4,
.dcep-acte-card h5,
.dcep-acte-card h6 {
	color: var(--dcep-navy);
	font-size: 16px;
	line-height: 1.3;
	margin: 0 0 6px;
}

.dcep-acte-card p {
	margin-bottom: 0;
}

.dcep-acte-card-more {
	bottom: 18px;
	color: var(--dcep-hover);
	font-size: 14px;
	font-weight: 700;
	left: 20px;
	position: absolute;
}

/* Popup content blocks stay hidden in normal page flow; JS copies them into the shared modal on click. */
.dcep-acte-popup {
	display: none;
}

.dcep-acte-modal .modal-content {
	border: 0;
	border-radius: 0;
}

.dcep-acte-modal .modal-header {
	background: var(--dcep-navy);
	border-radius: 0;
}

.dcep-acte-modal .modal-title {
	color: #fff;
	font-size: 20px;
	margin: 0;
}

.dcep-acte-modal .modal-header .close {
	color: #fff;
	opacity: 1;
	text-shadow: none;
}

.dcep-acte-modal .modal-header .close:hover {
	color: var(--dcep-hover);
}

.dcep-acte-modal .modal-body {
	padding: 26px;
}

.dcep-acte-modal .modal-body ul,
.dcep-acte-modal .modal-body ol {
	padding-left: 20px;
}

.dcep-acte-modal .modal-body li {
	line-height: 1.7;
	margin-bottom: 8px;
}

.dcep-acte-modal .modal-body p:last-child {
	margin-bottom: 0;
}
