/* ПГГСД – Достъпност (WCAG 2.1 AA). Изпълнител: „ОМНИЕКС“ ЕООД, 2026. */

/* Б4 – връзка „Към основното съдържание“: скрита, докато не получи фокус. */
.pggsd-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100000;
	padding: 12px 18px;
	background: #1d1d1d;
	color: #fff !important;
	font-weight: 700;
	text-decoration: underline;
}
.pggsd-skip:focus {
	left: 8px;
	top: 8px;
}
#main-content:focus {
	outline: none;
}

/* Текст само за екранни четци. */
.pggsd-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Б2 – ясно видим фокус при работа с клавиатура (и на светъл, и на тъмен фон). */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible,
.mobile_menu_bar:focus-visible {
	outline: 3px solid #0b57d0 !important;
	outline-offset: 2px !important;
	box-shadow: 0 0 0 5px #fff !important;
}

/* Б5 – контраст на цветовете (най-малко 4,5:1). */

/* Основен цвят на връзките: #2ea3f2 → #0c79c2 */
body a,
body .nav-single a,
body .posted_in a {
	color: #0c79c2;
}

/* Текущата страница в главното меню: #0c71c3 → #0b5ea8 (на бежовия фон на менюто) */
body .et_pb_menu_0_tb_header.et_pb_menu ul li.current-menu-item a {
	color: #0b5ea8 !important;
}

/* Маслинено зелено: #aaad55 → #757739 */
body #page-container .et_pb_section .et_pb_button_2_tb_header {
	color: #757739 !important;
}
.home .et_pb_column_5,
.et_pb_column_2_tb_footer {
	background-color: #757739 !important;
}
.home #page-container .et_pb_section .et_pb_button_0,
.home #page-container .et_pb_section .et_pb_button_1 {
	background-color: #757739 !important;
}

/* Светлосиньо (плочка „Обучение в електронна среда“): #95a9dd → #4f71c7 */
.home .et_pb_column_2 {
	background-color: #4f71c7 !important;
}

/* Оранжево: #cf8939 → #a16827 */
body #page-container .et_pb_section .et_pb_button_1_tb_header {
	color: #a16827 !important;
}
.home .et_pb_column_3,
.home .et_pb_column_16,
.et_pb_column_0_tb_footer,
body .et_pb_searchform .et_pb_searchsubmit {
	background-color: #a16827 !important;
}

/* А2 – заглавията, чието ниво е сменено, запазват досегашния си вид. */
.et-l--footer h2.pggsd-footer-h {
	margin: 0;
	padding-bottom: 10px;
	font-family: 'Roboto', Helvetica, Arial, Lucida, sans-serif;
	font-size: 12px;
	font-weight: 700;
	line-height: 18px;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: #fff !important; /* беше полупрозрачно бяло – недостатъчен контраст */
}
.home h2.pggsd-tile {
	margin: 0;
	padding-bottom: 10px;
	font-family: 'Roboto', Helvetica, Arial, Lucida, sans-serif;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.5em;
	color: #fff;
}
.home h3.pggsd-news-h {
	margin: 0;
	padding-bottom: 10px;
	font-family: 'Open Sans', Arial, sans-serif;
	font-size: 18px;
	font-weight: 500;
	line-height: 1em;
	color: #333;
}
h3.pggsd-h5 {
	margin: 0;
	padding-bottom: 10px;
	font-family: 'Open Sans', Arial, sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.6em;
	color: #333;
}
@media (max-width: 980px) {
	.home h2.pggsd-tile {
		font-size: 16px;
	}
}
@media (max-width: 767px) {
	.home h2.pggsd-tile {
		font-size: 14px;
	}
}

/* Розово (дати и текуща страница в подменюто): #f7827e → #c0392b */
.et_pb_post .post-meta,
.et_pb_post .post-meta a,
.et_pb_post .published,
.et_pb_menu_0_tb_header.et_pb_menu .nav li ul.sub-menu li.current-menu-item a {
	color: #c0392b !important;
}

/* Б7 – заглавията, чието ниво е сменено, запазват досегашния си вид (стиловете са измерени преди промяната). */
body .pggsd-hs-1 {
	font-family: Roboto, Helvetica, Arial, Lucida, sans-serif !important;
	font-size: 30px !important;
	font-weight: 500 !important;
	line-height: 1.300 !important;
	color: rgb(255, 255, 255) !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	margin-top: 0px !important;
	margin-bottom: 0px !important;
	padding-top: 0px !important;
	padding-bottom: 10px !important;
	font-style: normal !important;
}
@media (max-width: 980px) {
	body .pggsd-hs-1 {
		font-size: 20px !important;
	}
}
@media (max-width: 767px) {
	body .pggsd-hs-1 {
		font-size: 16px !important;
	}
}
body .pggsd-hs-2 {
	font-family: "Open Sans", Arial, sans-serif !important;
	font-size: 20px !important;
	font-weight: 500 !important;
	line-height: 1.000 !important;
	color: rgb(51, 51, 51) !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	margin-top: 0px !important;
	margin-bottom: 0px !important;
	padding-top: 0px !important;
	padding-bottom: 10px !important;
	font-style: normal !important;
}
body .pggsd-hs-3 {
	font-family: "Open Sans", Arial, sans-serif !important;
	font-size: 22px !important;
	font-weight: 500 !important;
	line-height: 1.000 !important;
	color: rgb(51, 51, 51) !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	margin-top: 0px !important;
	margin-bottom: 0px !important;
	padding-top: 0px !important;
	padding-bottom: 10px !important;
	text-align: center !important;
	font-style: normal !important;
}
body .pggsd-hs-4 {
	font-family: Roboto, Helvetica, Arial, Lucida, sans-serif !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	line-height: 1.500 !important;
	color: rgba(255, 255, 255, 0.5) !important;
	text-transform: uppercase !important;
	letter-spacing: 3px !important;
	margin-top: 0px !important;
	margin-bottom: 0px !important;
	padding-top: 0px !important;
	padding-bottom: 10px !important;
	font-style: normal !important;
}
body .pggsd-hs-5 {
	font-family: Roboto, Helvetica, Arial, Lucida, sans-serif !important;
	font-size: 26px !important;
	font-weight: 500 !important;
	line-height: 1.150 !important;
	color: rgb(0, 0, 0) !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	margin-top: 0px !important;
	margin-bottom: 0px !important;
	padding-top: 0px !important;
	padding-bottom: 10px !important;
	font-style: normal !important;
}
@media (max-width: 980px) {
	body .pggsd-hs-5 {
		font-size: 40px !important;
	}
}
@media (max-width: 767px) {
	body .pggsd-hs-5 {
		font-size: 24px !important;
	}
}
body .pggsd-hs-6 {
	font-family: "Open Sans", Arial, sans-serif !important;
	font-size: 18px !important;
	font-weight: 500 !important;
	line-height: 1.000 !important;
	color: rgb(51, 51, 51) !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	margin-top: 0px !important;
	margin-bottom: 0px !important;
	padding-top: 0px !important;
	padding-bottom: 10px !important;
	font-style: normal !important;
}
body .pggsd-hs-7 {
	font-family: "Open Sans", Arial, sans-serif !important;
	font-size: 30px !important;
	font-weight: 500 !important;
	line-height: 1.000 !important;
	color: rgb(51, 51, 51) !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	margin-top: 0px !important;
	margin-bottom: 0px !important;
	padding-top: 0px !important;
	padding-bottom: 10px !important;
	font-style: normal !important;
}
body .pggsd-hs-8 {
	font-family: "Open Sans", Arial, sans-serif !important;
	font-size: 20px !important;
	font-weight: 700 !important;
	line-height: 1.000 !important;
	color: rgb(51, 51, 51) !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	margin-top: 0px !important;
	margin-bottom: 0px !important;
	padding-top: 0px !important;
	padding-bottom: 10px !important;
	font-style: normal !important;
}
body .pggsd-hs-9 {
	font-family: Roboto, Helvetica, Arial, Lucida, sans-serif !important;
	font-size: 22px !important;
	font-weight: 500 !important;
	line-height: 1.100 !important;
	color: rgb(0, 0, 0) !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	margin-top: 0px !important;
	margin-bottom: 0px !important;
	padding-top: 0px !important;
	padding-bottom: 10px !important;
	font-style: normal !important;
}
.page-id-47 .et_pb_toggle h3.et_pb_toggle_title {
	font-family: "Open Sans", Arial, sans-serif !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	line-height: 1.000 !important;
	color: rgb(0, 0, 0) !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	margin-top: 0px !important;
	margin-bottom: 0px !important;
	padding-top: 0px !important;
	padding-bottom: 0px !important;
	font-style: normal !important;
}
.page-id-55 h2.et_pb_contact_main_title {
	font-family: "Open Sans", Arial, sans-serif !important;
	font-size: 26px !important;
	font-weight: 500 !important;
	line-height: 1.000 !important;
	color: rgb(51, 51, 51) !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	margin-top: 0px !important;
	margin-bottom: 0px !important;
	padding-top: 0px !important;
	padding-bottom: 16px !important;
	font-style: normal !important;
}
.page-id-231 .et_pb_toggle h3.et_pb_toggle_title {
	font-family: "Open Sans", Arial, sans-serif !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	line-height: 1.000 !important;
	color: rgb(0, 0, 0) !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	margin-top: 0px !important;
	margin-bottom: 0px !important;
	padding-top: 0px !important;
	padding-bottom: 0px !important;
	font-style: normal !important;
}

/* 2.1.1, 4.1.2 – отметката за съгласие във формата за контакт: Divi я скрива с display:none и тя не може да се
   отметне с клавиатура. Остава невидима, но може да получи фокус; фокусът се показва върху квадратчето. */
.et_pb_contact_form .et_pb_contact_field_checkbox input[type="checkbox"] {
	display: block !important;
	position: absolute !important;
	opacity: 0 !important;
	width: 1px !important;
	height: 1px !important;
	margin: 0 !important;
}
.et_pb_contact_form .et_pb_contact_field_checkbox input[type="checkbox"]:focus-visible + label i {
	outline: 3px solid #0b57d0 !important;
	outline-offset: 2px !important;
	box-shadow: 0 0 0 5px #fff !important;
}

/* 2.1.1, 2.4.4 – модулите на Divi с „връзка на целия модул“ (напр. менютата в долната част) са истински връзки,
   но запазват досегашния си вид. */
body a.pggsd-modlink {
	color: inherit !important;
	text-decoration: none;
}
body a.pggsd-modlink:hover {
	text-decoration: underline;
}

/* 2.1.1 – подписите под снимките в галериите не трябва да са области с превъртане, недостъпни за клавиатура. */
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
	overflow: visible;
}

/* Б13 – страницата с декларацията за достъпност: подчертани връзки в текста и таблица с рамки. */
.pggsd-declaration a {
	text-decoration: underline;
}
.pggsd-declaration table {
	width: 100%;
	margin: 0 0 1.5em;
	border-collapse: collapse;
}
.pggsd-declaration th,
.pggsd-declaration td {
	padding: 6px 8px;
	border: 1px solid #999;
	text-align: left;
	vertical-align: top;
}
.pggsd-declaration th {
	background: #e3eddf;
	color: #1f1f1f;
}

/* 1.4.1 – връзките в текста се различават от околния текст не само по цвят, а и с подчертаване. */
body .et_pb_text_inner p a:not(.pggsd-modlink):not(.et_pb_button),
body .et_pb_text_inner li a:not(.pggsd-modlink):not(.et_pb_button),
body .entry-content p a:not(.pggsd-modlink):not(.et_pb_button),
body .entry-content li a:not(.pggsd-modlink):not(.et_pb_button),
body .et_pb_post_content p a,
body .et_pb_post_content li a {
	text-decoration: underline;
}
