/**
 * classicNavy.css
 *
 * Copyright (c) 2000-2012 John Willinsky
 * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
 *
 * Classic blue theme stylesheet.
 *
 * $Id$
 */

@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100..600;1,100..600&display=swap');
 
body {
	background-color: #dae1ff; 
	font-family: "Exo 2", sans-serif !important;
	font-size: 16px !important;
	color: #2d3436 !important;
	line-height: 1.6 !important;
	/* font-family: Verdana, Arial, Helvetica, sans-serif; */
}

a {
	text-decoration: underline;
}

h2 {font-size: 1.8em;}
h3 {font-size: 1.5em;}
#headerTitle h1 {
	font-family: "Exo 2", sans-serif !important;
}

a:link {
	color: var(--primary-color);
}

a:active {
	color: #238;
}

a:visited {
	color: var(--primary-color);
}

a:hover {
	color: #ABD;
	background: var(--primary-color);
}

label.error {
	color: #900;
}

input.defaultButton {
	color: #ABD;
	background: #007;
}

#container {
	/* background-color: #fff; */
	font-size: 1em;
}

#footer {
    position: absolute !important;    
    /* Магія розтягування на весь екран, якщо батько вузький: */
    width: 100% !important;
    left: 50% !important;
    transform: translateX(-50%) !important; /* Ідеальне центрування по горизонталі */

    background-color: var(--primary-color) !important;
    color: #ffffff !important;
    padding: 60px 0 !important;
    border: none !important;
	z-index: 9999 !important;
	margin-top: 32px;
	padding: 16px !important;
	box-sizing: border-box !important;
}

/* Обов'язково додаємо відступ знизу для main, щоб футер не перекрив контент, 
бо position: absolute виймає його з потоку */
#main {
	padding: 16px;
}



#container, #main, #body, #main-container {
    overflow: visible !important; /* Дозволяє футеру "випирати" назовні */
    position: static !important;  /* Прибирає обмеження позиціювання */
}



#footerContent {
	color:  #fff;
}

#main {
	background-color: #fcfcfc; 
	/* border-top: none !important; */
	/* border-bottom: 1px dotted #007; */
	/* margin-top: 15px; */
	border-radius: 5px;
	margin-top: 10px;
	
	
}

#main h2 {
	font-family: "Exo 2", sans-serif;
	text-transform: uppercase;
}

#main h3 {
	font-family: "Exo 2", sans-serif;
	text-transform: uppercase;
}


#breadcrumb {
	/* height: 18px; */
	line-height: 1.7em;
	text-align: center;
	border-bottom: 1px dotted var(--primary-color);
	border-top: 1px dotted var(--primary-color);
	padding: 2px 0;
	font-style: italic;
}

#content {
	/* border-top: 1px dotted #007; */
	font-size: 0.8em;
}

#content h3 {
	font-family: "Exo 2", sans-serif;
	text-transform: uppercase;
}

#content h4 {
	font-family: "Exo 2", sans-serif;
	text-transform:capitalize;
}

#content h5 {
	text-transform: uppercase;
}

span.highlight {
	border-bottom: 1px dotted #007;
}

table.listing tr.highlight {
	background: #fcff64;
}

table.listing tr.fastTracked {
	background-color: #ABD;
}

table.listing td.headseparator {
	border-top: 1px dotted #007;
}

table.listing td.endseparator {
	border-top: 1px dotted #007;
}

span.formError {
	color: #900;
}

ul.formErrorList {
	color: #900;
}

div.separator {
	border-bottom: 1px dotted #007;
}

#rightSidebar ul, #leftSidebar ul {
	margin-left: 0px;
	padding-left: 0px;
}

#rightSidebar li, #leftSidebar li {
	list-style-type: none;
}

#rightSidebar, #leftSidebar {
	margin-top: 5px;
	border-bottom: 1px dotted #007;
}


#header {
    display: flex;
    flex-direction: column;
    height: auto !important;
}
#header h1 {
	font-size: 2em !important; 
	line-height: 1.5em !important;
	padding-bottom: 20px;
	padding-bottom: 20px;
	letter-spacing: normal !important;
	font-family: "Exo 2", sans-serif !important; 
	text-transform:uppercase;
	color:  #fff;
	font-weight: 600 !important;
}
#headerTitle {
	text-align: center;
    flex: 1;
	background-color: #007;
}

#navbar a {
	padding: 1px;
	font-size: 0.85em !important;
	transition: color 0.2s ease;

}
ul.menu li {
	display: inline-block !important;
    white-space: nowrap !important; /* ЗАБОРОНЯЄ перенос слів всередині пункту */
    margin: 1px auto !important;    /* Відступи між пунктами */
	padding: 0 10px !important;
}

ul.menu {
	display: flex !important;
	flex-wrap: wrap !important;    /* Дозволяє пунктам переноситися цілими блоками */
    justify-content: center !important; /* Центруємо меню по горизонталі */
    padding: 0 !important;
    margin: 0 !important;
	list-style-type:none;
}

li.ul.menu a[href*="announcement"] {
    display:none !important;
	margin: 0 !important;
    padding: 0 !important;
}


#navbar {
    margin-top: auto; /* Виштовхує меню в самий низ контейнера хедера */
	/* background: rgba(255, 255, 255, 0.8) !important; */
    backdrop-filter: blur(10px) !important; /* Розмиття фону за панеллю */
    border-bottom: 1px solid rgba(0,0,0,0.05) !important;
    position: sticky !important; /* Меню "залипає" при скролі */
    top: 0;
    z-index: 1000;
	text-align: center;
}



.content-block {
    background: white !important;
    padding: 10px !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 15px rgba(0,0,0,0.03) !important;
    margin-bottom: 5px;
}

:root {
    --primary-color: #007 !important; /* Ваш фірмовий синій */
    --font-main: 'Inter', sans-serif !important;
    --text-color: #333333 !important;
}

.footer-wrapper {
    display: flex !important;
	flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: space-around !important;
    gap: 20px !important;
    /* padding: 40px 20px !important; */
    font-size: 14px !important;
}

.footer-bottom {
	align-items: center;
    width: 100%;
    border-top: 1px solid #ddd;
    padding-top: 20px;
    margin-top: 20px;
    opacity: 0.7;
}

.organisation{
	display: grid;
    /* Перша колонка 60px, друга займає решту (1fr) */
    grid-template-columns: 40px 1fr; 
    
    /* Відстань між лого та текстом (ваша "однакова відстань") */
    column-gap: 8px; 
    
    align-items: center; /* Вирівнює лого і текст по центру горизонталі */
    margin-bottom: 0;
}

.organisation p {
	margin-top: 8px;
margin-bottom: 16px;
}
#body {
    display: flex !important;
    flex-direction: row !important;
	align-items: flex-start !important;
    max-width: 1200px; /* Або ваша ширина сайту */
    margin: 0 auto !important;
    gap: 20px; /* Відстань між сайдбаром та контентом */
}
#leftSidebar, #rightSidebar {
    min-width: 240px !important; /* Фіксована ширина сайдбара */
    flex-shrink: 0 !important;
}