/*! fancyBox v2.1.3 fancyapps.com | fancyapps.com/fancybox/#license */
.fancybox-wrap,
.fancybox-skin,
.fancybox-outer,
.fancybox-inner,
.fancybox-image,
.fancybox-wrap iframe,
.fancybox-wrap object,
.fancybox-nav,
.fancybox-nav span,
.fancybox-tmp
{
	padding: 0;
	margin: 0;
	border: 0;
	outline: none;
	vertical-align: top;
}

.fancybox-wrap {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 8020;
}

.fancybox-skin {
	position: relative;
	background: #f9f9f9;
	color: #444;
	text-shadow: none;
	-webkit-border-radius: 4px;
	   -moz-border-radius: 4px;
	        border-radius: 4px;
}

.fancybox-opened {
	z-index: 8030;
}

.fancybox-opened .fancybox-skin {
	-webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
	   -moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
	        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.fancybox-outer, .fancybox-inner {
	position: relative;
}

.fancybox-inner {
	overflow: hidden;
}

.fancybox-type-iframe .fancybox-inner {
	-webkit-overflow-scrolling: touch;
}

.fancybox-error {
	color: #444;
	font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
	margin: 0;
	padding: 15px;
	white-space: nowrap;
}

.fancybox-image, .fancybox-iframe {
	display: block;
	width: 100%;
	height: 100%;
}

.fancybox-image {
	max-width: 100%;
	max-height: 100%;
}

#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
	background-image: url('/images/fancybox_sprite.png');
}

#fancybox-loading {
	position: fixed;
	top: 50%;
	left: 50%;
	margin-top: -22px;
	margin-left: -22px;
	background-position: 0 -108px;
	opacity: 0.8;
	cursor: pointer;
	z-index: 8060;
}

#fancybox-loading div {
	width: 44px;
	height: 44px;
	background: url('/images/fancybox_loading.gif') center center no-repeat;
}

.fancybox-close {
	position: absolute;
	top: -18px;
	right: -18px;
	width: 36px;
	height: 36px;
	cursor: pointer;
	z-index: 8040;
}

.fancybox-nav {
	position: absolute;
	top: 0;
	width: 40%;
	height: 100%;
	cursor: pointer;
	text-decoration: none;
	background: transparent url('/images/blank.gif'); /* helps IE */
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	z-index: 8040;
}

.fancybox-prev {
	left: 0;
}

.fancybox-next {
	right: 0;
}

.fancybox-nav span {
	position: absolute;
	top: 50%;
	width: 36px;
	height: 34px;
	margin-top: -18px;
	cursor: pointer;
	z-index: 8040;
	visibility: hidden;
}

.fancybox-prev span {
	left: 10px;
	background-position: 0 -36px;
}

.fancybox-next span {
	right: 10px;
	background-position: 0 -72px;
}

.fancybox-nav:hover span {
	visibility: visible;
}

.fancybox-tmp {
	position: absolute;
	top: -99999px;
	left: -99999px;
	visibility: hidden;
	max-width: 99999px;
	max-height: 99999px;
	overflow: visible !important;
}

/* Overlay helper */

.fancybox-lock {
	overflow: hidden;
}

.fancybox-overlay {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	display: none;
	z-index: 8010;
	background: url('/images/fancybox_overlay.png');
}

.fancybox-overlay-fixed {
	position: fixed;
	bottom: 0;
	right: 0;
}

.fancybox-lock .fancybox-overlay {
	overflow: auto;
	overflow-y: scroll;
}

/* Title helper */

.fancybox-title {
	visibility: hidden;
	font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
	position: relative;
	text-shadow: none;
	z-index: 8050;
}

.fancybox-opened .fancybox-title {
	visibility: visible;
}

.fancybox-title-float-wrap {
	position: absolute;
	bottom: 0;
	right: 50%;
	margin-bottom: -35px;
	z-index: 8050;
	text-align: center;
}

.fancybox-title-float-wrap .child {
	display: inline-block;
	margin-right: -100%;
	padding: 2px 20px;
	background: transparent; /* Fallback for web browsers that doesn't support RGBa */
	background: rgba(0, 0, 0, 0.8);
	-webkit-border-radius: 15px;
	   -moz-border-radius: 15px;
	        border-radius: 15px;
	text-shadow: 0 1px 2px #222;
	color: #FFF;
	font-weight: bold;
	line-height: 24px;
	white-space: nowrap;
}

.fancybox-title-outside-wrap {
	position: relative;
	margin-top: 10px;
	color: #fff;
}

.fancybox-title-inside-wrap {
	padding-top: 10px;
}

.fancybox-title-over-wrap {
	position: absolute;
	bottom: 0;
	left: 0;
	color: #fff;
	padding: 10px;
	background: #000;
	background: rgba(0, 0, 0, .8);
}
/* -------------------------------reset css------------------------------------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  /*vertical-align: baseline;*/ }

ol, ul, li {
  list-style: none; }

blockquote, q {
  quotes: none; }

blockquote:before, blockquote:after, q:before, q:after {
  content: '';
  content: none; }

:focus {
  outline: 0; 
  }
body {
	background:#E0E0E0 url('../images/main-bg.jpg') repeat-x;
	font-family:Arial;
	padding-top: 10mm;
}
.cookies-consent {
	position: fixed;
	bottom: 0;
	background: #005515;
	padding: 20px 40px;
}
.cookies-consent span {
	color: #ffffff;
	display: inline-block;
  width: 80%;
  line-height: 140%;
  font-size: 12px;
}
.cookies-consent span a {
	color: #7DFF9E;
}
.cookies-consent > a {
	display: inline-block;
  width: 10%;
  color: #ffffff;
  padding: 10px 20px;
  background: #009B27;
  text-align: center;
  vertical-align: top;
}
#wrapper {
	margin:0 auto;
	display:block;
	width:1167px;
}
#header {
	width:1167px;
	height:180px;
	position: relative;
	background:url('../images/header-bg.png') left top no-repeat;
}
#header::before {
	content:"";
	position:absolute;
	top:0;
	right:0;
	width:29%;
	height:min(76px, 6.5vw);
	background-image:url('../images/main-bg.jpg');
	background-repeat:repeat-x;
	background-position:0 -38px;
	pointer-events:none;
}
#header a.homehref {
	width: 600px;
	height: 150px;
	display: block;
	position: absolute;
}
form#search {
	position:absolute;
	z-index:2;
	right:19px;
	top:130px;
	float:none;
	width:298px;
	height:43px;
	background-color:#009B27;
	border-radius: 8px;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	background-clip: padding-box;
	clip-path: inset(0 round 8px);
	overflow: hidden;
	margin:0;
}
form#search input:first-child{
	float:left;
	width:186px;
	height:25px;
	margin:9px;
	background:url('../images/search-input-bg.png') no-repeat;
	background-size: 100% 100%;
	background-clip: padding-box;
	border-radius: 8px;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	clip-path: inset(0 round 8px);
	overflow: hidden;
	border:none;
	padding:0 0 0 3px;
	color:white;
}
form#search a.search-button{
	float:left;
	margin:9px;
	display:block;
	background:#00751D;
	width:70px;
	height:20px;
	border-radius: 8px !important;
	-webkit-border-radius: 8px !important;
	-moz-border-radius: 8px !important;
	background-clip: padding-box;
	clip-path: inset(0 round 8px);
	overflow: hidden;
	border:none;
	text-align:center;
	font-size:12px;
	font-weight:bold;
	color:white;
	text-decoration:none;
	padding:5px 0 0 0;
}
form#search a.search-button:hover{
	background:#005515;	
}
ul#menu {
	display:grid;
	grid-template-columns:repeat(5,minmax(0,1fr));
	width:100%;
	margin-top:10px;
	padding:0;
	overflow:visible;
}
ul#menu > li { box-sizing:border-box; float:none; width:auto; min-width:0; }
ul#menu > li > a { box-sizing:border-box; width:100%; padding-left:4px; padding-right:4px; }
#menu-toggle { display: none; }
#menu .mobile-submenu-toggle { display: none; }
ul#menu li {
	border-right:#CFCFCF 1px solid;
	width:291px;
	float:left;
	list-style-type:none;
}
ul#menu li.no-border {
	border:none;
} 
ul#menu li img,ul#menu li a {
	display:block;
}

	ul#menu li ul.submenu li a {
		font-size:14px;
		font-weight:normal;
	}
ul#menu li a {
	width:291px;
	height:57px;
	background:url('../images/menu-bg.png') repeat-x;
	text-align:center;
	vertical-align:middle;
	padding-top:12px;
	color:#383838;
	font-size:16px;
	font-weight:bold;
	text-decoration:none;
}
ul#menu > li > a { width:100%; }
ul#menu li img, ul#menu > li > div.noimg {
	width:100%;
	height:auto;
	aspect-ratio:291 / 162;
	object-fit:cover;
}
ul#menu li:hover a, ul#menu li a.active {
	background: #0FA134;
	color: #FFF;
}
ul#menu li div.noimg {
	width: 291px;
	height: 162px;
	background: none;
}
ul#menu li img, ul#menu li div.noimg {
	box-sizing:border-box;
	max-width:100%;
	width:100%;
	height:auto;
	aspect-ratio:291 / 162;
}
ul#menu li.labaizglitiba-nav-item div.noimg {
	width:100%;
	height:auto;
	aspect-ratio:291 / 162;
}
ul#menu li.hassubs ul {
	width: 282px;
	background: #0FA134;
	position: absolute;
	z-index: 9999;
	padding: 0 0 0 10px;
	margin-left: -1px;
	display: none;
}
ul#menu li.hassubs ul li {
	border: none;
	float: none;
}
	ul#menu li.hassubs ul.big { width:1158px; }
	ul#menu li.hassubs ul.big li {
		float: left;
	}

ul#menu li.hassubs ul li a {
	background: #0FA134;
	color: #FFF;
	text-align: left;
	width: 281px;
	height: 40px;
}
.first-page-content {
	background:url('../images/first-page-content-bg.png') repeat-y;
}
.first-col {
	float:left;
	width:291px;
}
form.green {
	width:260px;
	background:#009B27;
	padding:20px 0 31px 31px;
	color: #FFF;
}
form.green h2, form#studies-login h2{
	color:white;
	font-size:18px;
	font-weight:bold;
	margin:0 0 10px 0;
}
form.green input::placeholder {
	color: #7DFF9E;
}
form.green input {
	display:block;
	width:225px;
	height:25px;
	background:url('../images/question-input-bg.png') no-repeat;
	border:none;
	padding:0 0 0 4px;
	color:#7DFF9E;
	font-style:italic;
	font-family:Arial;
	font-size:12px;
	opacity: 1;
}
form.green input:disabled {
	border-radius: 3px;
	opacity: 0.3;
}
form.green input:disabled::placeholder {
  color: #dddddd;
}
form.green input[type="checkbox"] {
	width: auto;
	height: auto;
	float: left;
}
form.green input.first {
	margin:0 0 4px 0;
}	
form.green select {
	display:block;
	width:225px;
	height:25px;
	background:#00751D url('../images/question-input-bg.png') no-repeat;
	border:none;
	padding:0 0 0 4px;
	color:#7DFF9E;
	font-style:italic;
	font-family:Arial;
	font-size:12px;
	margin-bottom:4px;	
}
		form.green select:active {background:#00751D;}

form.green span.description {
	display:block;
	color:#BFFFCF;
	font-size:11px;
	margin:2px 0 4px 0;
}
form.green textarea {
	display:block;
	width:225px;
	height:81px;
	background:url('../images/question-textarea-bg.png') no-repeat;
	border:none;
	padding:0 0 0 4px;
	color:#7DFF9E;
	font-style:italic;
	font-family:Arial;
	font-size:12px;	
	overflow: hidden;	
}
form.green a.submit {
	margin-top:5px;
	display:block;
	background:#00751D;
	width:70px;
	height:20px;
	border-radius: 4px;
	-moz-border-radius: 4px;	
	border:none;
	text-align:center;
	font-size:12px;
	font-weight:bold;
	color:white;
	text-decoration:none;
	padding:5px 0 0 0;
}
form.green a.submit:hover{
	background:#005515;	
}
form.green label {
	color: #FFF;
	font-size: 10px;
}
	form.green label {
		font-size: 8px;
		display: block;
	}
form#studies-login {
	width:260px;
	background:#4B4B4B;
	padding:31px 0 31px 31px;
	display:none;	
}
form#studies-login input {
	width:225px;
	height:28px;
	background:url('../images/studies-login-input-bg.png') no-repeat;
	border:none;
	color:#B0B0B0;
	font-style:italic;
	padding-left:4px;
}
form#studies-login input.submit, #open_form {
	margin-top:5px;
	display:block;
	background:#383838;
	width:70px;
	height:20px;
	border-radius: 4px;
	-moz-border-radius: 4px;	
	border:none;
	text-align:center;
	font-size:12px;
	font-weight:bold;
	color:white;
	text-decoration:none;
	padding:5px 0 0 0;
}
form#studies-login a.submit:hover, #open_form:hover{
	background:#2A2A2A;
}
#open_form {
	padding-left: 10px;
	padding-right: 10px;
}
.why-citadele {
	background:#575757;
	width:244px;
	padding:31px 16px 31px 31px;	
	color:#ccc;
}
.why-citadele h2 {
	font-size:18px;
	border-bottom:#ccc 1px solid;
	padding:0 0 10px 0;
}
.why-citadele p {
	padding:10px 0 0 0;
	font-size:12px;
	line-height:16px;
}
.second-col {
	float:left;
	width:245px;
	padding:20px 16px 30px 30px;
}
.second-col h2 {
	color:#000;
	border-bottom:#000 1px solid;
	padding-bottom:10px;
}
.second-col p {
	color:#414141;
	font-size:12px;
	margin:10px 0 5px 0;
}
.second-col ul li {
	list-style-type:disc;
	line-height:18px;	
}
.second-col ul li a {
	color:#414141;
	font-size:12px;	
}
.third-col {
	float:left;
	width:245px;
	padding:20px 16px 30px 30px;
	color:#404040;
}
.third-col.full {
	width: 490px;
}
.third-col h2{
	border-bottom:#404040 1px solid;
	padding-bottom:10px;
}
.third-col h3,.fourth-col h3{
	font-size:16px;
	font-style:italic;
	margin-top:10px;
}
.third-col h3 a,.fourth-col h3 a {
	text-decoration: none;
	color:#404040;
}
.third-col .date,.fourth-col .date {
	font-size:11px;
	font-style:italic;
}
.third-col div,.fourth-col div{
	font-size:12px;
	line-height:16px;	
}
.fourth-col {
	float:left;
	width:245px;
	padding:20px 16px 30px 30px;
	color:#404040;	
}
.fourth-col h2{
	border-bottom:#404040 1px solid;
	padding-bottom:10px;
}
#footer {
	width:1167px;
	background:url('../images/footer-bg.jpg') repeat-y;
}
div.sitemap {
	width:876px;
	float:left;
}
div.sitemap ul {
	float:left;
	padding:20px 0 20px 31px;	
}
div.sitemap ul li {
	width:185px;
	margin-bottom:10px;
}
div.sitemap ul li a {
	color:#666;
	font-size:12px;
	text-decoration:none;
}
div.sitemap ul li a:hover {
	text-decoration:underline;
}
div.sitemap ul li a.first {
	color:#404040;
	font-size:14px;
}
#footer .contacts {
	float:left;
	width:800px;
	line-height:18px;
	color:white;
	padding:20px 20px 20px 20px;
	font-size:12px;
}
#footer ul.social {
	margin:20px 0 0 0;
	float:right;
}
	#footer ul.social li {float:left;}
	#footer ul.social li a {
	    width: 30px;
	    height: 24px;
	    background-image: url('/images/footer-icons.png');
	    background-repeat: no-repeat;
	    display: block;
	    margin:0 6px;
	}
	#footer ul.social li a.twitter {
	    background-position: left -24px;
	}
	#footer ul.social li a.draugiem {
	    background-position: -1px 0px;
	}
	#footer ul.social li a.facebook {
	    background-position: left -48px;
	}

#middle {
	background:#FFF;
	display:flex;
	margin-top: 12px;
	width:100%;
	box-sizing:border-box;
}
#first_column { box-sizing:border-box; flex:0 0 25%; width:25%; min-width:0; }
#content {
	box-sizing:border-box;
	flex:1 1 75%;
	width:75%;
	min-width:0;
}
#doclist_data {
	padding: 20px;
	float: left;
	color: #575757;
}
#doclist_content {
	float:left;
	width: 551px;
}
#doclist_content h2 {
	font-size: 22px;
	color: #404040;
	font-weight: normal;
}
#doclist_content div.text {
	font-size: 12px;
	line-height: 1.5em;
}
#doclist_content p.date {
	font-size: 11px;
	font-style: italic;
	color: #404040;
}
#doclist_aside {
	float: right;
	background: #EEE;
	width: 254px;
	padding: 10px;
}
#doclist_aside h3 {
	font-size: 16px;
	font-weight: bold;
	color: #404040;
	padding: 3px 0;
}
#doclist_aside ul li {
	padding: 3px 0 3px 5px;
}
#doclist_aside ul.files li a {
	color: #3F3F3F;
	font-size: 12px;
	text-decoration: none
}
#doclist_aside ul.files li a:hover {
	text-decoration: underline;
}
#doclist_aside ul.links li a {
	color: #3F3F3F;
	font-size: 12px;
	text-decoration: underline;
}

ul.social_plugins li {
	float: left;
	margin-right: 10px;
}
ul.social_plugins li div.fb-like {
	margin-left: -20px;
}

#doclist_list {
	padding: 20px;
}
#doclist_list li {
	margin: 10px 0 10px 0;
}
#doclist_list li a.header {
	text-decoration: none;
	color: #404040;
	font-size: 16px;
	font-weight: bold;
}
#doclist_list li p.date {
	font-size: 12px;
	font-style: italic;
}
#doclist_list li div.text {
	font-size: 12px;
	color: #3F3F3F;
	line-height: 1.5em;
}
#doclist_list li div.text div.doclist_image {
	float: right;
	padding-left: 10px;
}
.doc_cols {
	overflow: auto;
}
#fixed_left {
  	position: absolute;
  	top: 130px;
	left:calc((100% - 317px - 520px) / 2);
	transform:none;
  	overflow: visible;
  	z-index:10;
	width: 520px;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	align-items: stretch;
	gap: 6px;
}
#language-switcher {
	position: relative;
	z-index: 20;
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	align-items: center;
	gap: 6px;
	width: min(390px, calc(100% - 24px));
	margin: 0 auto 12px;
	padding: 6px;
	border: 1px solid #d7e2d7;
	border-radius: 9px;
	background: #f7faf7;
	box-sizing: border-box;
}
#language-switcher button {
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	height: 30px;
	padding: 0 3px;
	border: 1px solid #00731c;
	border-radius: 6px;
	background: #fff;
	color: #00731c;
	font: 700 11px/1 Arial, sans-serif;
	text-align: center;
	cursor: pointer;
}
#language-switcher button[data-translate-language="lv"] {
	border-width: 2px;
	font-weight: 800;
}
#language-switcher button:hover,
#language-switcher button:focus-visible {
	background: #00731c;
	color: #fff;
	outline: 2px solid #00731c;
	outline-offset: 2px;
}
#google_translate_element {
	position: absolute !important;
	left: -10000px !important;
	top: 0 !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}
iframe.goog-te-banner-frame,
.goog-te-banner-frame,
.goog-te-balloon-frame,
.goog-te-menu-frame,
.goog-te-gadget,
body > .skiptranslate,
#goog-gt-tt,
.goog-tooltip,
.goog-text-highlight {
	display: none !important;
}
body { top: 0 !important; }
#socials, #languages {
	float:none;
	background: #fff;
    border: solid 1px #00731C;
    border-top: none;
    padding: 0 0 10px 0;
    margin:0 0 0 20px;
}
ul#socials {
	box-sizing: border-box;
	height: 42px;
	padding: 3px;
	margin: 0;
	width: 100%;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: center;
	gap: 4px;
}
	#socials li {float:none; min-width:0; min-height:0; list-style:none;}
	#socials li a {
	    box-sizing: border-box;
	    width: 100%;
	    height: 34px;
	    display: grid;
	    place-items: center;
	    margin:0;
	    border: 1px solid #00731c;
	    border-radius: 4px;
	    background: #00731c;
	    color: #fff;
	    text-decoration:none;
	}
	#socials li a::before { display:block; font:bold 17px/1 Arial,sans-serif; }
	#socials li a.draugiem::before { content:'D'; }
	#socials li a.twitter::before { content:'𝕏'; font-size:15px; }
	#socials li a.facebook::before { content:'f'; font:bold 20px/1 Arial,sans-serif; }
#languages {
	display:block;	
	width:70px;
}
#languages li {
	float:left;
}
#languages li a {
    width: 24px;
    height: 14px;
    background-image: url('/images/languages.jpg');
    background-repeat: no-repeat;
    display: block;
    margin-left: 6px;
    margin-top: 7px;
}
#languages li a.lv {
    background-position: left 0px;
}
#languages li a.ru {
    background-position: 0px -28px;
}
#languages li a.en {
    background-position: 0px -14px;
}
 a#fixed_link {
	float:none;
	min-width:0;
	height:42px;
	display:flex;
	align-items:center;
	justify-content:center;
	text-align:center;
	box-sizing:border-box;
    background: #fff;
    padding: 4px;
    border: solid 1px #00731C;
    border-top: none;
    display: block;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    color: #00731c;
  } 
#fixed_link2 {
    float: none;
    min-width:0;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    box-sizing:border-box;
    background: #fff;
    padding:4px;
    margin:0;
    border: solid 1px #00731C;
    border-top: none;
    display: block;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    color: #00731c;  
}
#fixed_left > a#fixed_link,
#fixed_left > a#fixed_link2 {
	display:flex;
	align-items:center;
	justify-content:center;
	min-height:42px;
	height:42px;
	padding:3px;
	margin:0;
	overflow:hidden;
	line-height:1.1;
	font-size:12px;
	text-align:center;
	border:1px solid #00731c;
	border-radius:4px;
}
ul.home-sitemap {
	box-sizing:border-box;
	width:100%;
	height:42px;
	padding:3px;
	float:none;
	display:grid;
	grid-template-columns:repeat(2,minmax(0,1fr));
	align-items:center;
	gap:4px;
    background: #fff;
    border: solid 1px #00731C;
	margin:0;
}
#fixed_left ul.home-sitemap { margin-right:0; }
	ul.home-sitemap li {
		float:none;
		min-width:0;
	}
		ul.home-sitemap li a {
			float:none;
	    width: 100%;
	    height: 34px;
		    background-image: url('/images/icons.png');
		    background-size:30px 120px;
		    background-repeat: no-repeat;
		    display: block;
	    margin:0;
	    background-position-x:center;
	    border:1px solid #00731c;
	    border-radius:4px;
	    box-sizing:border-box;
		}
		ul.home-sitemap li.home a {
		    background-position: center -67px;
		}		
		ul.home-sitemap li.sitemap a {
		    background-position: center -91px;
		}

#contact_error, #contact_success, #app_error, #app_success {
	width: 205px;
	margin: 0 0 5px 0;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}
#search_content {
	padding: 20px;
}
#search_content h3 {
	color: #575757;
}
#search_content ul {
	margin-top: 20px;
}
#search_content ul li {
	margin: 5px 0 5px 0;
	font-size: 12px;
}
#search_content ul li div.search_title a{
	text-decoration: none;
	color: #575757;
	font-weight: bold;
}
/* REUSABLE */
.clear {
	clear:both;
}
.line {
	border-bottom: dashed 1px #A4A4A4;
}
.none {
	display: none;
}
.vspace {
	margin-top: 20px;
}
.lfloat {
	float: left;
}
.leftmargin {
	margin-left : 10px;
}
.error {
	padding: 10px;
	border: solid 1px red;
	background: #FFE6E6;
	color: red;
	font-size: 11px;
}
.error_icon {
	width: 20px;
	height: 20px;
	background: url('/images/common/error.png') no-repeat;
	float: left;
	margin-right: 5px;
}
.success {
	padding: 10px;
	border: solid 1px green;
	background: #FFE6E6;
	color: green;
	font-size: 11px;
}
.success_icon {
	width: 20px;
	height: 20px;
	background: url('/images/common/done.png') no-repeat;
	float: left;
	margin-right: 5px;
}
.nobull {
	list-style-type: none !important;
}

/* CAPTCHA */
div.g-recaptcha div div iframe{
	margin-top:5px;
	width:220px;
	height:72px;	
	background:#009B27;
	border:#009B27;
}
div.g-recaptcha div div iframe div.rc-anchor-light {
	background:#009B27;
	border:#009B27;
}
/* REUSABLE */
a.top-border {border-top:#00731C 1px solid!important;}

.custom-captcha {
  margin: 10px 5px;
  font-size: 12px;
  width:225px;
}

/* Mobile layout */
@media (min-width: 768px) and (max-width: 1166px) {
	*, *::before, *::after { box-sizing: border-box; }
	#wrapper, #header, #footer { width: 100%; max-width: 1167px; }
	#header { background-size: 100% auto; }
	#header a.homehref { width: 52%; }
	#fixed_left {
		left:calc((100% - 322px - (52% - 18px)) / 2);
		transform:none;
		width:calc(52% - 18px);
	}
	form#search {
		top:130px; right:12px;
		width: min(298px, calc(48% - 24px));
	}
	form#search input:first-child { width: calc(100% - 112px); min-width: 0; }
	ul.home-sitemap { margin-right: 12px; }
	ul#menu { width: 100%; }
	ul#menu > li { width: auto; }
	ul#menu li a, ul#menu li div.noimg { width: 100%; }
	#middle { float: none; width: 100%; }
	#first_column { width: 25%; }
	#content { width: 75%; min-width: 0; }
	.first-col, .second-col, .third-col, .fourth-col { width: 25%; }
	.third-col.full { width: 50%; }
	#footer .contacts { width: 70%; box-sizing: border-box; }
}

@media (max-width: 767px) {
	*, *::before, *::after { box-sizing: border-box; }
	html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
	body { font-size: 16px; }
	* { max-width: 100%; }
	img, video, iframe { max-width: 100%; }

	#wrapper { width: 100%; max-width: 100%; margin: 0; }
	#header {
		width: 100%; height: auto; min-height: 0;
		padding: max(180px, calc(env(safe-area-inset-top, 0px) + 150px)) 12px 12px;
		background: url('../images/header-bg.png') left top / auto 58px no-repeat, #fff;
		display: flex; flex-direction: column; gap: 8px;
	}
	#header::before { display:none; }
	#header a.homehref { display: none; }
	#fixed_left {
		position: static; top: auto; z-index: auto;
		left:auto; transform:none; width: calc(100% - 24px); margin:0 auto; overflow: visible;
		display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; gap: 6px;
	}
	#language-switcher {
		width: min(390px, calc(100% - 24px));
		gap: 6px;
		margin: 0 auto 12px;
		padding: 6px;
	}
	#language-switcher button { height: 30px; }
	a#fixed_link, #fixed_link2 {
		float: none; min-width: 0; height: 42px; margin: 0; padding: 4px;
		border: 1px solid #00731c; border-radius: 4px;
		font-size: 12px; line-height: 1.15; text-align: center;
	}
	#socials, #languages {
		float: none; min-width:0; width:100%; height:42px; margin: 0; padding: 3px;
		border: 1px solid #00731c; border-radius: 4px;
	}
	#socials li { float: none; }
	#socials li a { height:34px; margin:0; }
	form#search {
		position:static; top:auto; right:auto;
		float: none; width: 100%; height: auto; min-height: 42px;
		margin: 0; display: flex; align-items: center;
	}
		form#search input:first-child {
		float: none; flex: 1; min-width: 0; width: auto;
		margin: 6px; background: #00751d; box-sizing: border-box;
		border-radius: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px;
		clip-path: inset(0 round 8px);
	}
	form#search a.search-button { float: none; flex: 0 0 70px; margin: 6px; }
	ul.home-sitemap { float: none; align-self: stretch; margin: 0; }

	#menu-toggle {
		display: flex; align-items: center; gap: 10px;
		width: calc(100% - 24px); min-height: 46px; margin: 0 12px 8px;
		padding: 8px 12px; border: 1px solid #00731c; border-radius: 5px;
		background: #0fa134; color: #fff; font: bold 16px Arial, sans-serif;
		text-align: left; cursor: pointer;
	}
	#menu-toggle span {
		display: block; width: 21px; height: 2px; flex: 0 0 21px;
		background: #fff; box-shadow: 0 6px #fff, 0 -6px #fff;
	}
	#menu-toggle b { font-weight: bold; }
	ul#menu { display: none; width: 100%; margin: 0; overflow: visible; }
	ul#menu.mobile-open { display: block; }
	ul#menu > li {
		position: relative; float: none; width: 100%;
		border: 0; border-top: 1px solid #d8d8d8;
	}
	ul#menu > li > img, ul#menu > li > div.noimg { display: none; }
	ul#menu li a, ul#menu li:hover a, ul#menu li a.active {
		display: block; width: 100%; height: auto; min-height: 46px;
		padding: 14px 16px; background: #f5f5f5; color: #383838;
		text-align: left; font-size: 16px; line-height: 1.25;
	}
	ul#menu li.hassubs ul,
	ul#menu li.hassubs ul.big {
		position: static; display: none; width: 100%; margin: 0;
		padding: 0; background: #0fa134;
	}
	ul#menu li.hassubs.submenu-open > ul.submenu { display: block; }
	.mobile-submenu-toggle {
		display: block; position: absolute; top: 4px; right: 8px;
		width: 40px; height: 40px; border: 1px solid #d5d5d5;
		border-radius: 4px; background: #fff; color: #00731c;
		font: bold 22px/1 Arial, sans-serif; cursor: pointer;
	}
	.mobile-submenu-toggle span { display: block; }
	ul#menu li.hassubs ul li { float: none; width: 100%; }
	ul#menu li.hassubs ul li a {
		width: 100%; min-height: 42px; height: auto;
		padding: 12px 16px 12px 30px; background: #0fa134; color: #fff;
		font-size: 14px; white-space: normal;
	}

	#middle { display: flex; flex-direction: column; float: none; width: 100%; margin-top: 12px; }
	#content { order: 1; }
	#first_column { order: 2; }
	#first_column, #content, .first-col, .second-col, .third-col,
	.fourth-col, .third-col.full {
		float: none; flex:0 0 auto; width: 100%; max-width: 100%;
	}
	.first-page-content { background: #fff; }
	.first-col { padding: 0; }
	form.green, form#studies-login, .why-citadele {
		width: 100%; max-width: 100%; padding: 20px 16px;
	}
	form.green input:not([type="checkbox"]), form.green select,
	form.green textarea, form#studies-login input { width: 100%; max-width: 100%; }
	form.green textarea { min-height: 100px; }
	#content { min-width: 0; padding: 16px 12px; overflow-wrap: anywhere; }
	#content img, #content video, #content iframe { height: auto; }
	#content table { width: 100% !important; max-width: 100%; table-layout: fixed; }
	#content th, #content td { overflow-wrap: anywhere; word-break: break-word; }
	#doclist_data, #doclist_content, #doclist_aside {
		float: none; width: 100%; max-width: 100%; padding: 12px;
	}
	/* Program descriptions contain legacy editor tables with fixed pixel widths. */
	#doclist_data, #doclist_content, #doclist_content .text {
		box-sizing: border-box; min-width: 0; width: 100%; max-width: 100%;
	}
	#doclist_content .text { overflow-wrap: anywhere; word-break: break-word; }
	#doclist_content .text table {
		box-sizing: border-box; width: 100% !important; max-width: 100% !important;
		min-width: 0 !important; table-layout: fixed;
	}
	#doclist_content .text td, #doclist_content .text th {
		box-sizing: border-box; min-width: 0 !important; max-width: 100%;
		width: auto !important; padding: 5px; white-space: normal !important;
		overflow-wrap: anywhere; word-break: break-word;
	}
	#doclist_content .text img, #doclist_content .text iframe,
	#doclist_content .text video { max-width: 100% !important; height: auto; }
	#doclist_content div.text div.doclist_image { float: none; padding: 0 0 10px; }
	#footer { width: 100%; background: #005515; }
	#footer .contacts { float: none; width: 100%; padding: 16px; overflow-wrap: anywhere; }
	#footer ul.social { float: none; margin: 0; padding: 0 16px 16px; }
	#footer ul.social li { float: left; }
	.sitemap, div.sitemap { float: none; width: 100%; max-width: 100%; }
	div.sitemap ul { float: none; width: 100%; padding: 16px; }
	div.sitemap ul li { width: 100%; }
	.cookies-consent {
		left: 0; right: 0; width: 100%; padding: 12px;
		display: flex; flex-direction: column; gap: 10px;
	}
	.cookies-consent span, .cookies-consent > a { width: 100%; }
	.cookies-consent > a { padding: 10px 12px; }
	#pagination { float: none; left: auto; width: 100%; overflow: auto; }
	.pagination { left: auto; display: flex; flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 380px) {
	a#fixed_link, #fixed_link2 { padding: 3px 2px; font-size: 10px; }
}

#pagination {
	float: right;
	position: relative;
	left: -50%;
}
.pagination {
	position: relative;
	left: 50%;
}
	.pagination li {
		float: left;
	}
		.pagination li a {
			color: #0FA134;
		}
		.pagination li a.pagination-page {
			color: #0FA134;
			font-size: 12px;
			padding-left: 5px;
			padding-right: 5px;
		}
			.pagination li a.pagination-page.current {
				color: #5F5F5F;
				font-weight: bold;
			}


:root {
  --sc-green: #008526;
  --sc-green-dark: #006b1d;
  --sc-green-soft: #eaf7ed;
  --sc-ink: #14231b;
  --sc-muted: #5d6b63;
  --sc-surface: #ffffff;
  --sc-page: #edf3f0;
  --sc-line: #dce7e0;
  --sc-shadow: 0 18px 50px rgba(17, 49, 30, .12);
  --sc-radius: 22px;
  --sc-page-gutter: 20mm;
}

html { scroll-behavior: smooth; }
body.modern-site {
  margin: 0;
  padding: 0;
  background: var(--sc-page);
  color: var(--sc-ink);
  font: 16px/1.6 "Roboto", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.modern-site :focus-visible {
  outline: 3px solid #f2b705;
  outline-offset: 3px;
}
body.modern-site #wrapper {
  width: 100%;
  margin: 0;
  overflow: hidden;
}

/* Brand header: retain every original link and action, replace only presentation. */
body.modern-site #header {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  height: 148px;
  background: #fff;
  border: 0;
  box-shadow: 0 1px 0 rgba(12,72,34,.1);
}
body.modern-site #header::before {
  content: "";
  position: absolute;
  top: 60px;
  left: var(--sc-page-gutter);
  display: block;
  width: 500px;
  height: 78px;
  background: url('/images/header-bg.png') no-repeat left center / auto 78px;
  pointer-events: none;
}
body.modern-site #header a.homehref {
  left: var(--sc-page-gutter);
  top: 54px;
  width: 650px;
  height: 88px;
}
body.modern-site #fixed_left {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
  box-sizing: border-box;
  display: flex;
  width: 100%;
  height: 42px;
  padding: 0 var(--sc-page-gutter);
  align-items: center;
  gap: 6px;
  background: linear-gradient(90deg, var(--sc-green-dark), var(--sc-green));
  transform: none;
  overflow: visible;
}
body.modern-site a#fixed_link,
body.modern-site #fixed_link2 {
  display: inline-flex;
  min-width: 0;
  width: auto;
  min-height: 0;
  height: 32px;
  margin: 0;
  padding: 0 13px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}
body.modern-site a#fixed_link:hover,
body.modern-site #fixed_link2:hover {
  background: rgba(255,255,255,.14);
  color: #fff;
}
body.modern-site #fixed_left ul#socials {
  box-sizing: border-box;
  display: flex;
  width: auto;
  height: 34px;
  margin: 0 0 0 5px;
  padding: 0;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
}
body.modern-site #fixed_left #socials li {
  width: 34px;
  height: 34px;
}
body.modern-site #fixed_left #socials li a {
  position: relative;
  box-sizing: border-box;
  display: block;
  width: 34px;
  height: 34px;
  margin: 0;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  transition: background .2s ease, transform .2s ease;
}
body.modern-site #fixed_left #socials li a:hover {
  background: rgba(255,255,255,.22);
  transform: translateY(-1px);
}
body.modern-site #fixed_left #socials li a::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 1px;
  display: block;
  width: 30px;
  height: 24px;
  background-image: url('/images/footer-icons.png');
  background-repeat: no-repeat;
}
body.modern-site #fixed_left #socials li a.draugiem::before { background-position: -1px 0; }
body.modern-site #fixed_left #socials li a.twitter::before { background-position: left -24px; }
body.modern-site #fixed_left #socials li a.facebook::before { background-position: left -48px; }
body.modern-site #fixed_left ul.home-sitemap {
  box-sizing: border-box;
  display: flex;
  width: auto;
  height: 34px;
  margin: 0 0 0 auto;
  padding: 0;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
}
body.modern-site #fixed_left ul.home-sitemap li { width: 34px; height: 34px; }
body.modern-site #fixed_left ul.home-sitemap li a {
  width: 34px;
  height: 34px;
  margin: 0;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 50%;
  background-color: #fff;
}
body.modern-site form#search {
  top: 58px;
  right: var(--sc-page-gutter);
  box-sizing: border-box;
  display: flex;
  width: 342px;
  height: 44px;
  margin: 0;
  padding: 5px;
  align-items: center;
  background: #f1f6f3;
  border: 1px solid var(--sc-line);
  border-radius: 999px;
  box-shadow: none;
  clip-path: none;
  overflow: hidden;
}
body.modern-site form#search input:first-child {
  float: none;
  box-sizing: border-box;
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  height: 32px;
  margin: 0;
  padding: 0 14px;
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--sc-ink);
  clip-path: none;
  font: 14px/1 "Roboto", Arial, sans-serif;
}
body.modern-site form#search input:first-child::placeholder { color: #7b8981; }
body.modern-site form#search a.search-button {
  float: none;
  box-sizing: border-box;
  display: inline-flex;
  flex: 0 0 86px;
  width: 86px;
  height: 32px;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: center;
  background: var(--sc-green);
  border-radius: 999px !important;
  clip-path: none;
}
body.modern-site #language-switcher {
  position: absolute;
  z-index: 40;
  top: 108px;
  right: var(--sc-page-gutter);
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(6, minmax(0,1fr));
  width: 342px;
  height: 32px;
  margin: 0;
  padding: 2px;
  gap: 4px;
  border: 0;
  border-radius: 999px;
  background: #f3f7f4;
}
body.modern-site #language-switcher button {
  box-sizing: border-box;
  width: 100%;
  height: 28px;
  padding: 0 4px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--sc-green-dark);
}
body.modern-site #language-switcher button:hover,
body.modern-site #language-switcher button:focus-visible,
body.modern-site #language-switcher button[data-translate-language="lv"] {
  background: var(--sc-green);
  color: #fff;
  outline: none;
}

/* Main navigation */
body.modern-site ul#menu {
  position: relative;
  z-index: 30;
  display: flex;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  min-height: 58px;
  margin: 0;
  padding: 0 var(--sc-page-gutter);
  background: linear-gradient(90deg, var(--sc-green-dark), var(--sc-green));
  box-sizing: border-box;
  overflow: visible;
}
body.modern-site ul#menu > li {
  position: relative;
  width: auto;
  min-width: 0;
  border: 0;
}
body.modern-site ul#menu > li > img,
body.modern-site ul#menu > li > div.noimg { display: none; }
body.modern-site ul#menu > li > a,
body.modern-site ul#menu > li:hover > a,
body.modern-site ul#menu > li > a.active {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 58px;
  padding: 0 20px;
  background: transparent;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  transition: background .2s ease;
}
body.modern-site ul#menu > li:hover > a,
body.modern-site ul#menu > li > a.active { background: rgba(0,0,0,.14); }
body.modern-site ul#menu li.hassubs ul,
body.modern-site ul#menu li.hassubs ul.big {
  top: 58px;
  left: 0;
  width: 310px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--sc-line);
  border-radius: 0 0 16px 16px;
  box-shadow: var(--sc-shadow);
}
body.modern-site ul#menu li.hassubs ul li { width: 100%; border: 0; }
body.modern-site ul#menu li.hassubs ul li a,
body.modern-site ul#menu li.hassubs:hover ul li a {
  width: 100%;
  height: auto;
  padding: 11px 13px;
  background: #fff;
  color: var(--sc-ink);
  border-radius: 9px;
  text-align: left;
}
body.modern-site ul#menu li.hassubs ul li a:hover { background: var(--sc-green-soft); color: var(--sc-green-dark); }

/* Cinematic hero */
.modern-hero {
  position: relative;
  width: 100%;
  background: #0d2415;
}
.modern-hero-stage { position: relative; height: clamp(430px, 38vw, 650px); }
.modern-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .7s ease, visibility .7s ease;
}
.modern-hero-slide.active { opacity: 1; visibility: visible; }
.modern-hero-slide > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.modern-hero-slide:first-child > img { object-position: center center; }
.modern-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5,25,12,.78) 0%, rgba(5,25,12,.48) 38%, rgba(5,25,12,.08) 72%), linear-gradient(0deg, rgba(4,18,9,.55), transparent 52%);
}
.modern-hero-content {
  position: absolute;
  z-index: 2;
  left: var(--sc-page-gutter);
  top: 50%;
  width: min(600px, calc(100% - 48px));
  transform: translateY(-50%);
  color: #fff;
}
.modern-hero-kicker {
  margin: 0 0 10px;
  color: #b9f3c7;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.modern-hero-content h1 { margin: 0 0 18px; color: #fff; font-size: clamp(38px, 4.6vw, 72px); line-height: 1.02; letter-spacing: -.03em; }
.modern-hero-content > p:not(.modern-hero-kicker) { max-width: 560px; margin: 0 0 26px; color: rgba(255,255,255,.93); font-size: clamp(17px, 1.4vw, 22px); line-height: 1.45; }
.modern-primary-button {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  padding: 0 24px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #fff;
  color: var(--sc-green-dark);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(0,0,0,.2);
}
.modern-primary-button:hover { background: var(--sc-green); border-color: var(--sc-green); color: #fff; }
.modern-hero-dots { position: absolute; z-index: 4; left: 50%; bottom: 22px; display: flex; gap: 9px; transform: translateX(-50%); }
.modern-hero-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.55); cursor: pointer; transition: width .2s, background .2s; }
.modern-hero-dots button.active { width: 32px; background: #fff; }

/* Feature cards */
.modern-feature-section {
  box-sizing: border-box;
  width: calc(100% - 40mm);
  max-width: none;
  margin: 0 auto;
  padding: 58px 0 42px;
}
.modern-section-heading { margin-bottom: 24px; text-align: center; }
.modern-section-heading span { color: var(--sc-green); font-size: 13px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.modern-section-heading h2 { margin: 5px 0 0; color: var(--sc-ink); font-size: clamp(29px, 3vw, 44px); line-height: 1.15; }
.modern-feature-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.modern-feature-card {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--sc-line);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(17,49,30,.08);
  color: var(--sc-ink);
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.modern-feature-card:hover { transform: translateY(-8px); border-color: rgba(0,133,38,.45); box-shadow: var(--sc-shadow); color: var(--sc-ink); }
.modern-feature-image { display: block; height: 145px; overflow: hidden; background: var(--sc-green-soft); }
.modern-feature-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.modern-feature-card:hover img { transform: scale(1.06); }
.modern-feature-body { display: flex; min-height: 105px; padding: 17px; flex-direction: column; justify-content: space-between; }
.modern-feature-body strong { font-size: 16px; line-height: 1.3; }
.modern-feature-body small { color: var(--sc-green-dark); font-size: 12px; font-weight: 800; text-transform: uppercase; }

/* Existing CMS content, re-presented without altering its logic. */
body.modern-site #middle {
  width: calc(100% - 40mm);
  margin: 18px auto 70px;
  padding: 0;
  align-items: stretch;
  gap: 22px;
  background: transparent;
}
body.modern-site #first_column { flex: 0 0 330px; width: 330px; min-width: 0; }
body.modern-site #content { flex: 1; width: auto; min-width: 0; padding: 0; }
body.modern-site .equalSize { height: auto !important; min-height: 0 !important; }
body.modern-site .first-col,
body.modern-site .second-col,
body.modern-site .third-col,
body.modern-site .fourth-col,
body.modern-site #doclist_data,
body.modern-site #search_content,
body.modern-site div.sitemap {
  box-sizing: border-box;
  background: #fff;
  border: 1px solid var(--sc-line);
  border-radius: var(--sc-radius);
  box-shadow: 0 12px 34px rgba(17,49,30,.07);
}
body.modern-site .first-col { width: 100%; padding: 0; overflow: visible; }
body.modern-site form.green,
body.modern-site form#studies-login,
body.modern-site .why-citadele {
  box-sizing: border-box;
  float: none;
  width: 100%;
  padding: 24px;
  background: linear-gradient(145deg, var(--sc-green-dark), var(--sc-green));
  color: #fff;
  overflow: visible;
}
body.modern-site form.green { border-radius: var(--sc-radius) var(--sc-radius) 0 0; }
body.modern-site form.green h2,
body.modern-site form#studies-login h2,
body.modern-site .why-citadele h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 21px;
  line-height: 1.25;
}
body.modern-site form.green input:not([type="checkbox"]),
body.modern-site form.green select,
body.modern-site form.green textarea,
body.modern-site form#studies-login input {
  box-sizing: border-box;
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 42px;
  height: auto;
  margin: 0 0 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 10px;
  background: rgba(0,0,0,.13);
  color: #fff;
  font: 14px/1.35 Arial, sans-serif;
  font-style: normal;
}
body.modern-site form.green input:disabled {
  opacity: .68;
  color: rgba(255,255,255,.92);
}
body.modern-site form.green input::placeholder,
body.modern-site form.green textarea::placeholder { color: rgba(255,255,255,.72); }
body.modern-site form.green textarea {
  min-height: 120px;
  resize: vertical;
  overflow: auto;
}
body.modern-site form.green input[type="checkbox"] {
  float: none;
  display: inline-block;
  width: 16px;
  height: 16px;
  margin: 0 7px 11px 3px;
  vertical-align: top;
  accent-color: #fff;
}
body.modern-site form.green label {
  display: inline-block;
  width: calc(100% - 32px);
  margin: 1px 0 10px;
  color: rgba(255,255,255,.9);
  font-size: 11px;
  line-height: 1.35;
  vertical-align: top;
}
body.modern-site form.green span.description,
body.modern-site form.green p.custom-captcha,
body.modern-site form.green p {
  display: block;
  width: auto;
  margin: 8px 0 10px;
  color: rgba(255,255,255,.94);
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
body.modern-site form.green a.submit {
  box-sizing: border-box;
  display: flex;
  width: 100%;
  min-height: 42px;
  height: auto;
  margin: 12px 0 8px;
  padding: 10px 16px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #fff;
  color: var(--sc-green-dark);
  font-size: 14px;
  text-decoration: none;
}
body.modern-site form.green a.submit:hover { background: #e9f7ed; }
body.modern-site .why-citadele {
  border-top: 1px solid rgba(255,255,255,.2);
  border-radius: 0 0 var(--sc-radius) var(--sc-radius);
  background: #fff;
  color: var(--sc-muted);
}
body.modern-site .why-citadele h2 {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--sc-line);
  color: var(--sc-ink);
}
body.modern-site .why-citadele p,
body.modern-site .why-citadele div {
  margin: 0;
  color: var(--sc-muted);
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
  word-break: normal;
}
body.modern-site .why-citadele a { overflow-wrap: anywhere; }
body.modern-site .why-citadele > div {
  box-sizing: border-box;
  width: 100%;
  padding: 2px 0 0;
  background: transparent !important;
}
body.modern-site .why-citadele p {
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 7px !important;
  padding: 0 !important;
  background: transparent !important;
  color: var(--sc-muted) !important;
  font: 13px/1.55 Arial, sans-serif !important;
  text-decoration: none;
}
body.modern-site .why-citadele p:has(> u) {
  margin-top: 18px !important;
  margin-bottom: 9px !important;
  padding-top: 15px !important;
  border-top: 1px solid var(--sc-line) !important;
}
body.modern-site .why-citadele p:first-child:has(> u) {
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: 0 !important;
}
body.modern-site .why-citadele u {
  color: var(--sc-green-dark) !important;
  text-decoration: none !important;
}
body.modern-site .why-citadele strong {
  color: var(--sc-green-dark) !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
}
body.modern-site .why-citadele .branch-gallery {
  width: 100%;
  margin: 22px 0 0;
  padding: 0;
  overflow: visible;
  border-radius: 0;
  background: transparent !important;
}
body.modern-site .why-citadele .branch-card {
  position: relative;
  width: 100%;
  height: 260px;
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  background: var(--sc-green-dark);
}
body.modern-site .why-citadele .branch-card + .branch-card { margin-top: 16px; }
body.modern-site .why-citadele .branch-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .4s ease;
}
body.modern-site .why-citadele .branch-card:hover img { transform: scale(1.035); }
body.modern-site .why-citadele .branch-card::after {
  content: "";
  position: absolute;
  inset: 38% 0 0;
  background: linear-gradient(0deg, rgba(3,30,12,.9), rgba(3,30,12,0));
  pointer-events: none;
}
body.modern-site .why-citadele .branch-card figcaption {
  position: absolute;
  z-index: 1;
  right: 20px;
  bottom: 18px;
  left: 20px;
  color: #fff;
}
body.modern-site .why-citadele .branch-card figcaption strong {
  display: block;
  margin-bottom: 3px;
  color: #fff !important;
  font-size: 18px;
  letter-spacing: 0;
  line-height: 1.25;
  text-transform: none;
}
body.modern-site .why-citadele .branch-card figcaption span {
  display: block;
  color: rgba(255,255,255,.9);
  font-size: 13px;
  line-height: 1.4;
}
body.modern-site #contact_error,
body.modern-site #contact_success,
body.modern-site #app_error,
body.modern-site #app_success {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}
body.modern-site .first-page-content { width: 100%; background: transparent; }
body.modern-site .home-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(290px, 1fr);
  gap: 22px;
  align-items: stretch;
}
body.modern-site .home-content-grid.no-news { grid-template-columns: 1fr; }
body.modern-site .home-primary-column {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 22px;
}
body.modern-site .home-news-column { display: flex; min-width: 0; }
body.modern-site .home-news-column .fourth-col { width: 100%; }
body.modern-site .home-layout-admin { padding: 10px 14px; border-radius: 10px; background: #fff; }
body.modern-site .second-col { float: none; width: 100%; padding: 30px; margin: 0; }
body.modern-site .second-col h2 { margin-top: 0; color: var(--sc-ink); font-size: 30px; }
body.modern-site .second-col li { margin: 8px 0; }
body.modern-site .second-col li a { color: var(--sc-green-dark); }
body.modern-site .doc_cols { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; overflow: visible; }
body.modern-site .third-col,
body.modern-site .fourth-col { float: none; width: auto; padding: 28px; color: var(--sc-ink); }
body.modern-site .third-col { width: 100%; }
body.modern-site .fourth-col { height: 100%; }
body.modern-site .third-col h2,
body.modern-site .fourth-col h2 { margin-top: 0; padding-bottom: 14px; border-bottom: 2px solid var(--sc-green-soft); font-size: 23px; }
body.modern-site .third-col div,
body.modern-site .fourth-col div,
body.modern-site #doclist_content div.text,
body.modern-site #doclist_list li div.text { color: var(--sc-muted); font-size: 15px; line-height: 1.65; }
body.modern-site #doclist_data { float: none; width: 100%; padding: 32px; }
body.modern-site #doclist_content { width: calc(100% - 292px); }
body.modern-site #doclist_aside { width: 270px; padding: 18px; border-radius: 16px; background: var(--sc-green-soft); }
body.modern-site #doclist_list { padding: 30px; background: #fff; border: 1px solid var(--sc-line); border-radius: var(--sc-radius); }
body.modern-site #doclist_list li { padding: 18px 0; border-bottom: 1px solid var(--sc-line); }
body.modern-site #doclist_list li a.header { color: var(--sc-ink); font-size: 20px; }
body.modern-site .modern-post-content {
  color: var(--sc-muted);
  font-size: 16px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
body.modern-site .modern-post-content > :first-child { margin-top: 0 !important; }
body.modern-site .modern-post-content > :last-child { margin-bottom: 0 !important; }
body.modern-site .modern-post-content p {
  margin: 0 0 1em !important;
  padding: 0 !important;
  line-height: inherit !important;
}
body.modern-site .modern-post-content h1,
body.modern-site .modern-post-content h2,
body.modern-site .modern-post-content h3,
body.modern-site .modern-post-content h4 {
  margin: 1.45em 0 .55em;
  color: var(--sc-ink);
  line-height: 1.25;
}
body.modern-site .modern-post-content ul,
body.modern-site .modern-post-content ol {
  margin: .5em 0 1.15em;
  padding-left: 1.5em;
}
body.modern-site .modern-post-content ul { list-style: disc; }
body.modern-site .modern-post-content ol { list-style: decimal; }
body.modern-site .modern-post-content li {
  display: list-item;
  margin: .35em 0;
  padding: 0;
  border: 0;
  line-height: 1.65;
}
body.modern-site .modern-post-content img,
body.modern-site .modern-post-content video,
body.modern-site .modern-post-content iframe {
  max-width: 100% !important;
  height: auto;
}
body.modern-site .modern-post-content table {
  width: 100% !important;
  max-width: 100% !important;
  border-collapse: collapse;
}
body.modern-site .modern-post-content .scayt-misspell {
  border: 0 !important;
  background: transparent !important;
}

body.modern-site #footer {
  box-sizing: border-box;
  display: flex;
  width: 100%;
  min-height: 0;
  padding: 34px var(--sc-page-gutter);
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  width: 100%;
  background: linear-gradient(135deg, #052f13, #007922);
  border-top: 5px solid #13a63c;
}
body.modern-site #footer .contacts {
  float: none;
  box-sizing: border-box;
  width: auto;
  max-width: 880px;
  padding: 0;
  color: rgba(255,255,255,.84);
  font-size: 13px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
body.modern-site #footer .contacts::before {
  content: "Profesionālo Studiju Skola Citadele®";
  display: block;
  margin-bottom: 9px;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
}
body.modern-site #footer .contacts p,
body.modern-site #footer .contacts div { margin: 0; color: inherit; font-size: inherit; line-height: inherit; }
body.modern-site #footer ul.social {
  float: none;
  display: flex;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
}
body.modern-site #footer ul.social li {
  float: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  transition: background .2s ease, transform .2s ease;
}
body.modern-site #footer ul.social li:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }
body.modern-site #footer ul.social li a { margin: 10px 7px; }
body.modern-site #footer > .clear { display: none; }
body.modern-site .cookies-consent {
  left: 20px;
  right: 20px;
  bottom: 18px;
  width: min(760px, calc(100% - 40px));
  margin: auto;
  padding: 18px 20px;
  border-radius: 16px;
  background: #092c15;
  box-shadow: 0 16px 48px rgba(0,0,0,.3);
}

@media (max-width: 1050px) {
  .modern-feature-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  body.modern-site .home-content-grid { grid-template-columns: 1fr; }
  body.modern-site .home-news-column .fourth-col { height: auto; }
  body.modern-site ul#menu > li > a { padding: 0 12px; font-size: 12px; }
  body.modern-site #header { background: #fff; }
  body.modern-site #header::before { left: var(--sc-page-gutter); width: 460px; height: 70px; background-size: auto 70px; }
  body.modern-site #header a.homehref { left: var(--sc-page-gutter); width: 52%; height: 78px; }
  body.modern-site form#search,
  body.modern-site #language-switcher { right: var(--sc-page-gutter); width: 300px; }
}

@media (max-width: 767px) {
  :root { --sc-page-gutter: 12px; }
  body.modern-site #header {
    min-height: 236px;
    height: 236px;
    padding: 0;
    background: #fff;
  }
  body.modern-site #header::before {
    top: 54px;
    left: 12px;
    width: calc(100% - 24px);
    height: 60px;
    background-position: left center;
    background-size: auto 56px;
  }
  body.modern-site #header a.homehref { display: block; top: 48px; left: 12px; width: calc(100% - 24px); height: 90px; }
  body.modern-site #fixed_left { height: 44px; padding: 0 9px; justify-content: flex-start; gap: 3px; }
  body.modern-site #fixed_left ul.home-sitemap { display: none; }
  body.modern-site #fixed_left ul#socials { display: flex; margin-left: auto; gap: 4px; }
  body.modern-site #fixed_left #socials li,
  body.modern-site #fixed_left #socials li a { width: 32px; height: 32px; }
  body.modern-site #fixed_left #socials li a::before { top: 3px; left: 0; }
  body.modern-site a#fixed_link,
  body.modern-site #fixed_link2 { min-height: 32px; height: 32px; padding: 0 7px; font-size: 10px; }
  body.modern-site form#search { top: 144px; left: 12px; right: auto; width: calc(100% - 24px); }
  body.modern-site form#search input:first-child { flex: 1; width: auto; }
  body.modern-site #language-switcher { position: absolute; top: 194px; left: 12px; right: auto; width: calc(100% - 24px); margin: 0; }
  body.modern-site #menu-toggle { margin-top: 8px; border-radius: 12px; background: var(--sc-green); }
  body.modern-site ul#menu { display: none; min-height: 0; padding: 0; background: #fff; }
  body.modern-site ul#menu.mobile-open { display: block; }
  body.modern-site ul#menu > li > a,
  body.modern-site ul#menu > li:hover > a,
  body.modern-site ul#menu > li > a.active { min-height: 48px; height: auto; padding: 14px 18px; background: #fff; color: var(--sc-ink); }
  body.modern-site ul#menu li.hassubs ul,
  body.modern-site ul#menu li.hassubs ul.big { top: auto; width: 100%; border-radius: 0; box-shadow: none; }
  .modern-hero-stage { height: 560px; }
  .modern-hero-slide > img { object-position: 62% center; }
  .modern-hero-overlay { background: linear-gradient(0deg, rgba(4,24,11,.92) 0%, rgba(4,24,11,.54) 62%, rgba(4,24,11,.12) 100%); }
  .modern-hero-content { left: 20px; top: auto; bottom: 54px; width: calc(100% - 40px); transform: none; }
  .modern-hero-content h1 { font-size: clamp(34px, 11vw, 50px); }
  .modern-feature-section { width: 100%; padding: 42px 16px 30px; }
  .modern-feature-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .modern-feature-image { height: 120px; }
  .modern-feature-body { min-height: 92px; padding: 14px; }
  body.modern-site #middle { width: calc(100% - 24px); margin: 10px auto 44px; flex-direction: column; }
  body.modern-site #content { order: 1; width: 100%; padding: 0; }
  body.modern-site #first_column { order: 2; width: 100%; flex-basis: auto; }
  body.modern-site .doc_cols { grid-template-columns: 1fr; }
  body.modern-site #doclist_content,
  body.modern-site #doclist_aside { float: none; width: 100%; }
  body.modern-site #footer .contacts { width: 100%; padding: 28px 20px; }
  body.modern-site #footer {
    padding: 28px 20px;
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }
  body.modern-site #footer .contacts { width: 100%; padding: 0; }
  body.modern-site #footer ul.social { float: none; margin: 0; padding: 0; }
}

@media (max-width: 480px) {
  .modern-feature-grid { grid-template-columns: 1fr; }
  .modern-feature-card { display: grid; grid-template-columns: 120px 1fr; }
  .modern-feature-image { height: 118px; }
  .modern-feature-body { min-height: 118px; }
  .modern-hero-stage { height: 520px; }
}

