/* ========================================
   Argument Theme - Responsive CSS
   ======================================== */

/* === Local Fira Sans === */
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/FiraSans-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/FiraSans-Medium.ttf') format('truetype');
}

@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/FiraSans-SemiBold.ttf') format('truetype');
}

@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/FiraSans-Bold.ttf') format('truetype');
}

/* === Reset & Base === */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, font, img, ins, kbd, q, s, samp,
small, strike, sub, sup, tt, var, center,
dl, dt, dd, ul, li, fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
  background: transparent;
  border: 0;
  font-family: inherit;
  font-size: 100%;
  font-style: inherit;
  font-weight: inherit;
  margin: 0;
  padding: 0;
  outline: 0;
  vertical-align: baseline;
}

html {
  height: 100%;
  margin-bottom: 1px;
}

body {
  font: 62.5%/1.2 "Fira Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #000;
  background: #fff;
}

/* === Typography === */
h1, h2, h3, h4, .componentheading {
  font-weight: bold;
  margin: 1em 0;
}

h1, .componentheading {
  font-size: 180%;
  line-height: normal;
}

h2 {
  font-size: 150%;
  line-height: 1.3em;
}

h3 {
  font-size: 130%;
}

h4 {
  font-size: 110%;
}

a {
  color: #cc0000;
  text-decoration: none;
  font-weight: bold;
}

a:hover {
  text-decoration: underline;
}

ul {
  margin: 1em;
}

p {
  margin-top: 10px;
  margin-bottom: 10px;
}

/* === Main Layout === */
#main {
  font-size: 1.2em;
  line-height: 140%;
}

.background {
  position: absolute;
  width: 100%;
  height: 130px;
  background: url(../images/light3.png) 0 -384px repeat-x;
}

#main .foreground,
#message,
#showcase,
.leading,
#page {
  position: relative;
}

#message,
#showcase {
  z-index: 0;
}

/* === Wrapper === */
#wrapper {
  margin: 0 auto;
  max-width: 1200px;
  width: 100%;
  padding: 0 15px;
  box-sizing: border-box;
}

/* === Header === */
#header {
  overflow: hidden;
  background: url(../images/arg_bg.png) no-repeat;
  padding: 10px 0;
}

#header .block-body {
  padding: 0;
}

#header li {
  list-style: none;
  float: left;
  padding: 3px 6px;
  background: #B73926;
  font-weight: bold;
  margin: 0 0 0 1px;
}

#header .block {
  float: right;
  margin: -7px 0 0;
}

#header .block .menu a {
  color: #fff;
  font-size: 0.7em;
  text-transform: uppercase;
}

/* === Logo === */
#logo {
  width: 298px;
  height: 58px;
  background: url(../images/light3.png) 0 -272px no-repeat;
  display: block;
  margin: 0 auto 20px;
  float: none;
}

/* === Navigation === */
#nav {
  font-size: 1.083em;
  margin: 0 0 10px;
  border: 1px solid #ccc;
  background: #f3f3f3;
  position: relative;
  display: block;
  width: 100%;
  box-sizing: border-box;
}

#nav .menu-toggle {
  display: none;
  background: #B01600;
  color: #fff;
  border: none;
  padding: 10px 15px;
  font-size: 1em;
  cursor: pointer;
  width: 100%;
  text-align: left;
}

#nav .menu-toggle:hover {
  background: #8a1200;
}
#col2 img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

#nav ul.primary-links {
  font-weight: 700;
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  box-sizing: border-box;
}

#nav ul.primary-links li {
  margin: 0;
  padding: 0;
}

#nav ul.primary-links li a:link,
#nav ul.primary-links li a:visited {
  padding: 12px;
  color: #000;
  text-decoration: none;
  font-family: Arial, helvetica, sans-serif;
  font-weight: normal;
  text-transform: uppercase;
  display: block;
}

#nav ul.primary-links li a:hover,
#nav ul.primary-links li a:active {
  text-decoration: none;
  color: #FFF;
  background: url(../images/bkg/top_nav_bg_over.png);
}

#nav ul.primary-links li a.active {
  text-decoration: none;
  color: #FFF;
  background: #B01600;
}

#nav ul.primary-links li a.active:visited {
  color: #FFF;
}

#nav ul.secondary-links {
  border-top: 1px solid #b4d7f0;
  padding: 1px 5px;
  list-style: none;
}

#nav ul.secondary-links li {
  margin: 0;
  padding: 0;
}

#nav ul.secondary-links li a:link,
#nav ul.secondary-links li a:visited {
  margin: 0 10px 0 0;
  padding: 1px 0;
}

#nav ul.secondary-links li a:hover,
#nav ul.secondary-links li a:active {
  text-decoration: underline;
}

/* === Dropdown Menu (sfHover from ie_suckerfish.js) === */
#nav li a {
  display: block;
  padding: 12px;
  color: #000;
  font-weight: normal;
  text-decoration: none;
  font-family: Arial, helvetica, sans-serif;
  text-transform: uppercase;
}

#nav li a:hover,
#nav li:hover a,
#nav li.sfHover a {
  text-decoration: none;
  color: #FFF;
  background: #B01600;
}

#nav li.active a {
  text-decoration: none;
  color: #FFF;
  background: #B01600;
}

/* Dropdown menu styles */
#nav li ul {
  position: absolute;
  width: auto;
  min-width: 180px;
  left: -999em;
  margin-left: -1px;
  border: 1px solid #B01600;
  border-top: 0;
  background: #fff;
  z-index: 1000;
}

#nav li ul ul {
  margin: -32px 0 0 180px;
}

#nav li:hover ul ul,
#nav li:hover ul ul ul,
#nav li:hover ul ul ul ul,
#nav li.sfHover ul ul,
#nav li.sfHover ul ul ul,
#nav li.sfHover ul ul ul ul {
  left: -999em;
}

#nav li li {
  padding: 0;
  height: auto;
  background: #fff;
  min-width: 180px;
  width: auto;
}

#nav li li a,
#nav li li.active a,
#nav li li a:hover {
  margin: 0;
  height: auto;
  line-height: normal;
  padding: 8px 12px;
  background: #fff;
  border-top: 1px solid #ddd;
  color: #000;
  font-weight: normal;
  text-transform: none;
  white-space: nowrap;
}

#nav li li a,
#nav li.active li a {
  font-weight: normal;
  text-transform: none;
}

#nav li:hover > ul,
#nav li.sfHover > ul {
  display: block !important;
  left: 0;
}

/* OpenPublish menu appends a 979px submenu rule. Keep the submenu
 * aligned with the actual navigation width. */
#nav > ul.primary-links > li > ul.second-level,
#nav > ul.primary-links > li:hover > ul.second-level,
#nav > ul.primary-links > li.sfHover > ul.second-level,
#nav > ul.primary-links > li.over > ul.second-level {
  width: 100% !important;
  min-width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
  left: 0 !important;
  right: 0 !important;
  top: 100% !important;
  height: auto !important;
  white-space: normal !important;
}

#nav > ul.primary-links > li > ul.second-level > li {
  width: auto !important;
  min-width: 0 !important;
  display: inline-block !important;
  float: none !important;
}

#nav > ul.primary-links > li > ul.second-level > li > a {
  white-space: nowrap !important;
}

#nav li li:hover ul,
#nav li li li:hover ul,
#nav li li li li:hover ul,
#nav li li.sfHover ul,
#nav li li li.sfHover ul,
#nav li li li li.sfHover ul {
  left: 180px;
}

/* Hover states for dropdown items */
#nav li li a:hover,
#nav li li.sfHover a {
  background: #f0f0f0;
  color: #B01600;
}
#showcase {
  margin: 3px 0 0;
  position: relative;
  color: #000;
}

#showcase > .background {
  position: absolute;
  width: 100%;
  height: 130px;
  background: url(../images/light3.png) 0 -514px repeat-x;
}

#showcase > .foreground {
  border: 1px solid #dfeaee;
  overflow: hidden;
  padding-bottom: 15px;
}

#showcase h1 {
  font-weight: normal;
  font-size: 3em;
  line-height: 105%;
  margin: 25px 55px 10px 25px;
}

#showcase h3 {
  font-weight: normal;
  font-size: 1.4em;
}

#showcase b {
  font-weight: normal;
  color: #026AB6;
}

#showcase .pad {
  padding: 0 15px 25px;
}

#showcase .num {
  float: left;
  background: #026AB6;
  text-align: center;
  line-height: 90%;
  color: #fff;
  font-size: 2em;
  padding: 3px 8px;
}

#showcase .pad h2 {
  font-size: 1.4em;
  font-weight: bold;
  margin: 0 0 5px 40px;
}

/* === Showcase Grid (3 columns on front) === */
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 0;
}

/* When thema is outside grid (internal pages), grid has only 2 columns */
.showcase-grid.two-cols {
  grid-template-columns: 2fr 1fr;
}

.showcase-grid .dp33 {
  border-right: 1px solid #ccc;
}

.showcase-grid .dp35 {
  border-left: 1px solid #ccc;
}

.showcase-grid .dp33 h3,
.showcase-grid .dp35 h3 {
  font-weight: bold;
  border-bottom: 1px solid #ccc;
  color: #B01600;
  margin-bottom: 5px;
  letter-spacing: -0.5px;
}

.showcase-grid .dp33 h3 {
  font-weight: bold;
}

.showcase-grid .dp33 p {
  font-size: 0.84rem;
}

.showcase-grid .dp35 blockquote {
  font-style: italic;
  font-size: 1.1em;
}

/* === Topnews / Toppad === */
#toppad h3 {
  border-left: 1px solid #DDD;
  color: #393939;
  font-weight: bold;
  margin-left: 10px;
  text-transform: uppercase;
}

.topnews {
  position: relative;
}

#topteaser {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background-color: #000;
  opacity: 0.6;
}

#topannotation {
  position: absolute;
  bottom: 10px;
  left: 10px;
  color: #fff;
}

#showcase .topnews h2 {
  color: #FFFFFF;
  font-size: 1.7em;
  font-weight: 600;
  line-height: 1.1em;
  margin: 0;
  padding: 0;
}

/* === Main Content Area === */
#main-content {
  border-bottom: 1px solid #ddd;
}

/* === Column Layout (CSS Grid on #colmask) === */
#colmask {
  clear: both;
  position: relative;
  width: 100%;
  border: 1px solid #DFEAEE;
  box-sizing: border-box;
}

#colmask.cols3-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr) 300px;
}

#colmask.cols2-left {
  display: grid;
  grid-template-columns: 210px 1fr;
}

#colmask.cols2-right {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
}

#colmask.cols1 {
  display: block;
}

#col1 {
  overflow: hidden;
  background: #FFF;
  min-width: 0; /* prevent grid blowout */
}

#col1pad {
  padding: 0 10px;
  border-left: 1px solid #DFEAEE;
  border-right: 1px solid #DFEAEE;
}

#col2 {
  overflow: hidden;
  background: #F8F8F8;
  min-width: 0;
}

#col3 {
  overflow: hidden;
  background: #fbfbfb;
  min-width: 0;
}

#col2.color2 {
  background: #F8F8F8;
}

#col3.color1 {
  background: #fbfbfb;
}

/* === User blocks (123, 456, 789) === */
#mainmods,
#mainmods2,
#mainmods3 {
  overflow: hidden;
  padding-top: 15px;
  width: 100%;
  box-sizing: border-box;
}

#mainmods2 h3 {
  background: #B10000;
  padding: 5px;
  color: #FFF;
}

#mainmods3 {
  background: #eee;
  border: 1px solid #DFEAEE;
  width: 100%;
  box-sizing: border-box;
}

/* === Video block in mainmods3 - equal columns === */
/* Container grid (.video-grid is the new views template, .video is legacy table) */
#mainmods3 .video-grid,
#mainmods3 .video:has(table) {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 15px !important;
  padding: 10px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Якщо всередині .video є таблиця — вимикаємо табличні стилі, використовуємо грід */
#mainmods3 .video table {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 15px !important;
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

#mainmods3 .video tbody {
  display: contents;
}

#mainmods3 .video tr {
  display: contents;
}

#mainmods3 .video td {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

/* Зображення всередині комірок — повна ширина клітинки */
#mainmods3 .video td img,
#mainmods3 .video td .video-thumb img {
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
  display: block !important;
}

#mainmods3 .video > * {
  min-width: 0 !important; /* prevent grid blowout */
}

/* Prevent individual .video items from becoming grid containers */
#mainmods3 .video-item .video,
#mainmods3 .video-grid .video {
  display: block !important;
  width: 100% !important;
}

/* === Video Grid (views template override) === */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  width: 100%;
}

.video-item {
  width: 100%;
  min-width: 0;
  display: block;
}

.video-item > span,
.video-item > div,
.video-item > a {
  display: block;
  width: 100%;
}

.video-item img,
.video-item .video-thumb img {
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
  display: block !important;
}

/* Responsive: 1 column on mobile */
@media screen and (max-width: 768px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}

#mainmods3 .m_copy {
  line-height: 11px;
  padding: 0 0 5px 11px;
}

#mainmods3 h3 {
  color: #AAA;
  text-transform: uppercase;
}

#mainmods3 h4 {
  font-size: 1em;
  line-height: 13px;
  margin: 0;
  padding: 7px 0 7px 11px;
}

#mainmods3 a {
  color: #333;
}

/* The Video view uses custom HTML: three direct span children inside one
 * wrapper. Turn those spans into equal columns; do not make each inner
 * .video element a grid container. */
#mainmods3 .block-body > div > span {
  display: block;
  float: left;
  width: 33.333333%;
  box-sizing: border-box;
  padding: 0 8px;
  vertical-align: top;
}

#mainmods3 .block-body > div > span:after {
  content: "";
  display: block;
  clear: both;
}

#mainmods3 .block-body > div > span .video {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box;
  padding: 0;
}

#mainmods3 .block-body > div > span .video a {
  display: block;
  width: 100%;
}

#mainmods3 .block-body > div > span .video img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
}

#mainmods3 .block-body > div:after {
  content: "";
  display: block;
  clear: both;
}

.spacer .block {
  float: left;
  box-sizing: border-box;
}

.spacer.w99 .block {
  width: 100%;
}

.spacer.w49 .block {
  width: 33.2%;
}

.spacer.w33 .block {
  width: 32.8%;
}

/* === Content styles === */
.component-pad {
  padding: 1px 25px 15px;
  border-right: 1px solid #EEE;
}

.colpad {
  padding: 0 10px;
  position: relative;
}

.colpad h2.contentheading {
  padding-right: 65px;
}

p.buttonheading {
  position: absolute;
  top: 2px;
  right: 10px;
  margin: 0;
}

.buttonheading .icon {
  display: block;
  width: 16px;
  height: 16px;
  float: left;
  margin-left: 5px;
}

.buttonheading .pdf {
  background: url(../images/light3.png) -57px -366px;
}

.buttonheading .print {
  background: url(../images/light3.png) -21px -366px;
}

.buttonheading .email {
  background: url(../images/light3.png) -39px -366px;
}

.iteminfo {
  font-size: 90%;
  overflow: hidden;
  border-bottom: 1px solid #dedede;
  margin-bottom: 20px;
  display: block;
  margin-top: -10px;
  width: 100%;
}

.modifydate,
.createdby,
.createdate {
  display: block;
}

.createdby {
  font-weight: bold;
}

a.readon,
a.readon2 {
  display: block;
  margin-top: 15px;
  font-style: italic;
}

a.readon2 {
  background: url(../images/light3.png) 100% -344px;
  display: block;
  float: right;
  color: #fff;
  font-weight: bold;
  line-height: 20px;
}

a.readon2 span {
  background: url(../images/light3.png) 0 -344px;
  display: block;
  margin-right: 10px;
  height: 21px;
  float: left;
  padding: 0 5px 0 15px;
}

.breadcrumbs-pad {
  padding: 0 1px;
}

div.breadcrumbs {
  background: url(../images/light3.png) 0 -68px repeat-x;
  border-bottom: 1px solid #e6e6e6;
  font-size: 110%;
  font-weight: bold;
  margin: 0;
  padding: 7px 15px 5px;
  color: #777;
  border-top: 1px solid #d9d9d9;
}

div.breadcrumbs .sep {
  padding: 0 5px;
}

.banneritem_text {
  margin-bottom: 10px;
}

#modlgn_username,
#modlgn_passwd {
  border: 1px solid #ccc;
  padding: 3px;
}

.pagination span,
.pagination a {
  margin-right: 5px;
}

#colmask ul li {
  list-style: square;
}

#colmask ul ul {
  margin-top: 0;
}

#colmask ul ul li {
  list-style: square;
}

.sectiontableheader {
  font-weight: bold;
  line-height: 25px;
  text-align: left;
}

span.attention {
  display: block;
  margin: 15px 0;
  padding: 8px 10px;
  background: #FFF3A3;
  border: 1px solid #E7BD72;
  color: #B79000;
}

/* === Blocks === */
.block {
  padding: 1px;
}

.block-header {
  font-size: 1.1em;
  font-weight: bold;
  margin: 0;
  padding: 7px 15px 5px;
}

.block-body {
  padding: 0 10px 15px;
}

.color1 .block-header {
  background: url(../images/light3.png) 0 -480px repeat-x;
  border-bottom: 1px solid #ddd;
  color: #B01600;
  text-transform: uppercase;
}

.color1 .block-body {
  border-top: 1px solid #fff;
}

.color2 .block-header {
  background: url(../images/light3.png) 0 -136px repeat-x;
  border-bottom: 1px solid #c3d9e1;
  color: #50646d;
}

.color2 .block-body {
  border-top: 1px solid #dfeaef;
}

#colmask .m_menu {
  background: #393939;
  color: #fff;
}

#colmask .m_menu .block-header {
  background: #393939;
  border-bottom: 1px solid #ccc;
  color: #fff;
}

#colmask .m_menu .block-body {
  border-top: 1px solid #393939;
}

#colmask .m_menu a {
  color: #fff;
}

#colmask .m_menu ul {
  margin: 0 1em;
}

/* === Article styles === */
.coolthema h2 {
  color: #000;
  font-size: 120%;
  font-weight: bold;
  margin: 5px 0 0;
  padding: 0;
}

#showcase .dp33 h3,
#showcase .dp35 h3,
.coolthema h2,
#showcase .topnews h2,
#col3 h3 {
  /*font-family: "Arial black", Arial, sans-serif;
  letter-spacing: -0.5px;*/
  margin-bottom: 5px;
}

/* === Footer === */
#footer {
  background: #f7f7f7;
  border-top: 1px solid #fff;
}

.footer-pad {
  padding: 10px 15px;
  overflow: hidden;
}

#logo2 {
  width: 165px;
  height: 20px;
  background: url(../images/light3.png) 5px -646px no-repeat;
  display: block;
  float: right;
  margin-left: 15px;
  margin-top: 15px;
}

#footer ul {
  margin: 0;
  list-style: none;
  padding: 0;
}

#footer li {
  list-style: none;
  float: left;
  padding-right: 20px;
  font-weight: bold;
}

/* === Hot news ticker === */
#hotnews {
  border: 1px dotted silver;
  height: 20px;
  margin: 0;
}

#arrownews {
  background: #F1F1F1;
  float: left;
  height: 20px;
  text-align: center;
  width: 178px;
}

/* === Date styles === */
.date1,
.verynews .date3 {
  border-bottom: 1px solid #CCCCCC;
  color: #FFF;
  font-size: 0.8em;
  margin-bottom: 5px;
  padding: 3px;
  background: #B01600;
  font-weight: bold;
}

.lastnews h3 {
  color: #000;
  font-size: 1em;
  margin: 0 0 5px;
  font-weight: normal;
  border-bottom: 1px solid #EEE;
}

.lastnews .date2 {
  background: #FFFFFF;
  color: #B01600;
  font-size: 0.9em;
  font-weight: bold;
}

.lastnews {
  padding: 13px;
}

.lastnews .more-link a:link {
  background: #C10000;
  color: #FFFFFF;
  padding: 1px 5px;
}

/* === Article images === */
.mainarticles img,
.verynews img,
.catpage img {
  float: left;
  background: #EEE;
  border: 1px solid #CCC;
  margin-bottom: 1px;
  margin-right: 10px;
  max-width: 100%;
  height: auto;
}

/* === Anons (article preview) === */
.anons {
  border-bottom: 1px solid #EEE;
  margin-bottom: 7px;
  overflow: hidden;
}

.anons .date3,
.terms {
  font-size: 0.8em;
  font-weight: bold;
  text-transform: uppercase;
}

.anons .image {
  float: left;
  padding: 1px 7px 5px 5px;
}

.mainarticles h2,
.catpage h2 {
  margin: 0 0 10px;
  font-family: "Arial Black", Arial, sans-serif;
  letter-spacing: -0.5px;
  line-height: 1.2em;
  color: #393939;
  font-size: 1.3em;
  font-weight: bold;
}

.verynews h2 {
  margin: 0 0 10px;
  font-family: "Arial Black", Arial, sans-serif;
  letter-spacing: -0.5px;
  color: #393939;
  font-size: 1em;
  font-weight: bold;
}

.date3 a,
.comment_reply a,
.tetms a {
  color: #B10000;
  font-weight: normal;
  padding: 3px;
}

.block-title {
  background: none;
  margin: 5px 0 10px;
  text-transform: uppercase;
}

/* === Poll === */
.poll .title {
  color: #CC0000;
  font-weight: bold;
  padding: 10px 0;
}

.poll {
  padding: 0 15px;
}

/* === Search === */
.search-src {
  border: 1px solid #CCCCCC;
  height: 40px;
  margin: 3px 0 0 15px;
  width: 281px;
  box-sizing: border-box;
}

.search-src .form-text {
  background: transparent;
  border: none;
  color: #777;
  font-size: 120%;
  margin: 0 0 0 10px;
  padding: 11px 0 0 10px;
  font-family: Arial, sans-serif;
  box-sizing: border-box;
}

.search-src .form-item {
  float: left;
}

.butt {
  padding: 8px;
  float: right;
}

.block .pop a {
  color: #000;
}

/* === Quicktabs === */
.quicktabs_main.quicktabs-style-nostyle {
  clear: both;
  margin-top: 10px;
}

ul.quicktabs_tabs.quicktabs-style-nostyle {
  padding: 10px 5px 0 0;
  font: bold 12px/19px Verdana !important;
  height: 19px;
  margin: 0;
}

ul.quicktabs_tabs.quicktabs-style-nostyle a {
  font: bold 12px/19px Verdana !important;
  text-decoration: none;
  color: #aaa;
}

ul.quicktabs_tabs.quicktabs-style-nostyle a:hover {
  color: #EEE !important;
}

ul.quicktabs_tabs.quicktabs-style-nostyle li {
  padding: 2px 5px;
  margin: 0 3px 0 0;
  position: relative;
}

ul.quicktabs_tabs.quicktabs-style-nostyle li:hover {
  padding: 5px;
  background-color: #CCC;
}

ul.quicktabs_tabs.quicktabs-style-nostyle li.active {
  padding: 5px;
  background-color: #B10000;
}

ul.quicktabs_tabs.quicktabs-style-nostyle li.active a {
  color: #FFF;
}

/* === Content === */
.content {
  font-size: 1.1em;
  text-align: left;
}

/* === Comments === */
#comments {
  background: #F7F7F7;
  padding: 1px 15px 15px;
  margin: 25px 0 0;
}

#comments h2 {
  font-size: 1.1em;
  text-transform: uppercase;
}

#comments .comment-published {
  border-bottom: 1px solid #CCC;
  padding-bottom: 10px;
}

#comments .comment_reply {
  float: right;
}

#comments .date2 {
  color: #393939;
  font-size: 0.8em;
  font-weight: bold;
}

.more-link a:hover {
  background: #FFF;
  color: #C10000;
}

.comment-bar {
  padding: 5px 5px 10px;
}

#comments .content {
  background: #FFF;
  border: 1px solid #DDD;
  padding: 10px;
  font-style: italic;
}

#col2 h3 {
  background: #B10000;
  color: #FFFFFF;
  font-size: 1.1em;
  padding: 5px;
  text-align: center;
}

.pop ol {
  margin: 0;
  padding: 5px 0 0 15px;
}

.pop li {
  padding-bottom: 5px;
}

.meta {
  background: #F8F8F8;
  border: 1px solid #EEEEEE;
  margin-bottom: 15px;
  padding: 3px;
}

.print-link {
  font-size: 0.6em;
}

/* === Gallery === */
.gallery {
  text-align: center;
  background: #CCC;
}

.gallery .block-body {
  padding: 0;
}

/* === Last news === */
.lastnews dt {
  background: #E4E4E4;
  border: 1px solid #E4E4E4;
  float: left;
  font-size: 11px;
  padding-left: 9px;
  width: 36px;
}

.lastnews dd {
  margin: 0 0 0 53px;
  padding: 0 5px 7px 0;
}

.lastnews a:link,
.lastnews a:visited,
.lastnews a:active {
  color: #000000;
  text-decoration: none;
}

.lastnews a:hover {
  color: #B01600;
  text-decoration: none;
}

.print_html a {
  color: #000;
}

/* === Buttons === */
#main-content input.form-submit,
a.button {
  background: #B10000;
  border: none;
  color: white;
  cursor: pointer;
  display: inline-block;
  font-size: 0.833em;
  font-weight: normal;
  height: 27px;
  letter-spacing: 0.04em;
  margin: 4px 0 0;
  overflow: visible;
  padding: 4px 15px;
  text-align: center;
  text-shadow: none;
  text-transform: uppercase;
}

.addthis_toolbox {
  margin: 10px 0;
  float: right;
}

.anons h2 a:link,
.anons h2 a:visited,
.anons h2 a:active,
.coolthema h2 a:link,
.coolthema h2 a:visited,
.coolthema h2 a:active {
  color: #393939;
}

.anons h2 a:hover,
.coolthema h2 a:hover {
  color: #B10000;
  text-decoration: none;
}

/* === Pagination === */
.item-list ul {
  margin: 10px 0 0;
  padding: 0;
}

.item-list ul li {
  list-style: none;
  float: left;
  margin-right: 5px;
}

.item-list ul li.pager-item a {
  font-weight: 700;
  color: #000;
}

.item-list ul li.pager-current {
  color: #F00;
  font-weight: bold;
}

.item-list .pager {
  clear: both;
  text-align: center;
}

.item-list .pager li {
  background-image: none;
  display: inline;
  list-style-type: none;
  padding: 0.5em;
}

.pager-current {
  font-weight: bold;
}

ul.pager {
  float: right;
  margin: 10px 0 30px;
}

/* === Node === */
.node .lpic {
  padding: 5px 10px 5px 0;
}

.node .rpic {
  padding: 5px 0 5px 10px;
}

.node a:link,
.node a:active,
.node a:visited {
  color: #8F0808;
}

.content ul {
  margin: 0 0 0 25px;
}

/* === Poll bar === */
#col2 .poll .bar .foreground {
  float: left;
  height: 0.6em;
  background: linear-gradient(to bottom, #f3c5bd 0%, #e86c57 51%, #e82200 69%, #ff6600 75%, #c72200 100%);
}

.poll .text {
  font-weight: bold;
}

/* === Tables === */
.component-pad table,
td,
tr,
tbody {
  border: 1px solid #AAAAAA;
  text-align: left;
}

.component-pad td {
  padding: 10px;
}

.component-pad th {
  font-weight: bold;
  background: #CCCCCC;
}

.rtecenter,
.pics {
  text-align: center;
}

#dsq-global-toolbar ul li,
#dsq-pagination ul li {
  list-style: none;
}

.m_copy {
  color: #333333;
  font-family: Arial, sans-serif, helvetica;
  font-size: 0.9em;
}

/* === Blockquote === */
blockquote {
  border-left: solid 3px #777;
  padding-left: 1px;
  margin: 10px 20px;
  background: #fcfcfc;
}

blockquote p {
  border-left: solid #666 1px;
  margin: 0;
  padding: 10px;
  color: #444;
}

.ftitle a:link,
.ftitle a:visited,
.ftitle a:active {
  color: #000;
}

.rteindent1 {
  margin: 0 0 10px 20px;
}

.m_dop {
  float: left;
}

/* === Links === */
.links {
  color: #393939;
  font-size: 0.9em;
  padding: 10px;
  border-top: 1px solid #EEE;
  margin-top: 25px;
}

.links ul.links.inline {
  border: none;
}

/* === Clearfix === */
.clearfix:after {
  clear: both;
  content: ".";
  display: block;
  height: 0;
  line-height: 0;
  visibility: hidden;
}

.clearfix {
  display: inline-block;
}

html[xmlns] .clearfix {
  display: block;
}

* html .clearfix {
  height: 1%;
}

.clr {
  clear: both;
  font-size: 0;
}

/* === Responsive Images === */
img {
  max-width: 100%;
  height: auto;
}

/* === Responsive Tables === */
.component-pad table {
  max-width: 100%;
  overflow-x: auto;
  display: block;
}

/* === Admin === */
body #admin-menu {
  font-size: 12px;
}

/* === Misc === */
ul.primary {
  border-collapse: collapse;
  padding: 0;
  white-space: nowrap;
  list-style: none;
  margin: 0;
  height: 20px;
  line-height: normal;
  border-bottom: 0 solid #ccc;
}

ul.primary li {
  display: inline;
  line-height: 45px;
}

ul.primary li a {
  margin: -2px;
  padding: 6px 20px;
  border-top: 1px solid #ccc;
  border-right: 1px solid #ccc;
  border-left: 1px solid #ccc;
  text-decoration: none;
  color: #999;
}

ul.primary li.active a {
  border: 1.5px solid #ccc;
  border-bottom: 0 solid #E4E4E4;
  color: #555;
}

ul.primary li a:hover {
  color: #000;
}

tbody {
  border-top: 0 solid #ccc;
}

.block-region {
  padding: 1em;
  background: transparent;
  border: 2px dashed #ccc;
  text-align: center;
  font-size: 1.3em;
}

/* === jCarousel MLP skin (for slider in thema region) === */
.jcarousel-skin-mlp {
  text-align: center;
}

.jcarousel-skin-mlp .jcarousel-container-horizontal {
  width: 100% !important;
  max-width: none !important;
  height: auto;
  padding: 20px 40px;
  margin: auto;
  box-sizing: border-box;
}

.jcarousel-skin-mlp .jcarousel-clip-horizontal {
  width: 100% !important;
  height: auto;
  overflow: hidden;
}

.jcarousel-skin-mlp .jcarousel-item {
  padding: 0;
  width: 292px;
  height: auto;
  overflow: hidden;
  border: 0 !important;
  list-style: none;
  background: transparent !important;
  box-sizing: border-box;
}

.jcarousel-skin-mlp .jcarousel-item-horizontal {
  margin: 0 4px;
}

/* Fix item inner layout: image left, title right */
.jcarousel-skin-mlp .jcarousel-item .field-content {
  padding: 5px;
}
#thema .jcarousel-skin-mlp .jcarousel-item .mlp,
.jcarousel-skin-mlp .jcarousel-item .mlp {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  flex-direction: row !important;
}
/* Actual Views markup has .mlptitl nested inside .mlpimg.
 * Make that wrapper the horizontal flex row. */
#thema .jcarousel-skin-mlp .jcarousel-item .mlpimg,
.jcarousel-skin-mlp .jcarousel-item .mlpimg {
  display: flex !important;
  flex: 1 1 auto !important;
  align-items: flex-start !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}
#thema .jcarousel-skin-mlp .jcarousel-item .mlpimg > a.imagecache,
.jcarousel-skin-mlp .jcarousel-item .mlpimg > a.imagecache {
  display: block !important;
  flex: 0 0 110px !important;
  width: 110px !important;
  min-width: 110px !important;
  height: 90px !important;
}
#thema .jcarousel-skin-mlp .jcarousel-item .mlpimg > a.imagecache img,
.jcarousel-skin-mlp .jcarousel-item .mlpimg > a.imagecache img {
  display: block !important;
  width: 110px !important;
  height: 90px !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: content-box !important;
}
#thema .jcarousel-skin-mlp .jcarousel-item .mlpimg > .mlptitl,
.jcarousel-skin-mlp .jcarousel-item .mlpimg > .mlptitl {
  display: block !important;
  flex: 1 1 0% !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  padding: 3px 0 0 !important;
  margin: 0 !important;
}
.jcarousel-skin-mlp .jcarousel-item .mlptitl a {
  display: block;
  font-size: 1.1em;
  line-height: 1.3;
  color: #333;
  text-decoration: none;
  font-weight: bold;
}
.jcarousel-skin-mlp .jcarousel-item .mlptitl a:hover {
  color: #B01600;
  text-decoration: none;
}

/* Navigation buttons - RED arrows */
.jcarousel-skin-mlp .jcarousel-next,
.jcarousel-skin-mlp .jcarousel-prev {
  display: block;
  width: 32px;
  height: 32px;
  background-image: url(../images/arrows.png);
}

.jcarousel-skin-mlp .jcarousel-next-disabled,
.jcarousel-skin-mlp .jcarousel-prev-disabled {
  display: none;
  opacity: 0.3;
}

.jcarousel-skin-mlp .jcarousel-prev-horizontal {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  background-position: 0 0;
}
.jcarousel-skin-mlp .jcarousel-prev-horizontal:hover {
  background-position: -32px 0;
}
.jcarousel-skin-mlp .jcarousel-prev-horizontal:active {
  background-position: -64px 0;
}

.jcarousel-skin-mlp .jcarousel-next-horizontal {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  background-position: 0 -32px;
}
.jcarousel-skin-mlp .jcarousel-next-horizontal:hover {
  background-position: -32px -32px;
}
.jcarousel-skin-mlp .jcarousel-next-horizontal:active {
  background-position: -64px -32px;
}

/* Responsive adjustments */
@media screen and (max-width: 1024px) {
  .jcarousel-skin-mlp .jcarousel-container-horizontal {
    padding: 20px 20px;
  }
  .jcarousel-skin-mlp .jcarousel-item {
    width: 280px;
  }
}

@media screen and (max-width: 768px) {
  .jcarousel-skin-mlp .jcarousel-container-horizontal {
    padding: 20px 10px;
  }
  .jcarousel-skin-mlp .jcarousel-item {
    width: 250px;
  }
  /* Stack vertically on tablet */
  .jcarousel-skin-mlp .jcarousel-item .mlp {
    flex-direction: column;
    align-items: center;
  }
  .jcarousel-skin-mlp .jcarousel-item .mlpimg {
    flex: none;
    max-width: 100%;
  }
  .jcarousel-skin-mlp .jcarousel-item .mlpimg img {
    max-width: 100%;
    width: auto !important;
    height: auto !important;
  }
  .jcarousel-skin-mlp .jcarousel-item .mlptitl {
    text-align: center;
    padding-top: 8px;
  }
}

@media screen and (max-width: 480px) {
  .jcarousel-skin-mlp .jcarousel-container-horizontal {
    padding: 15px 5px;
  }
  .jcarousel-skin-mlp .jcarousel-item {
    width: 200px;
  }
  .jcarousel-skin-mlp .jcarousel-item .mlp {
    flex-direction: column;
    align-items: center;
  }
  .jcarousel-skin-mlp .jcarousel-item .mlpimg {
    flex: none;
    max-width: 100%;
  }
  .jcarousel-skin-mlp .jcarousel-item .mlpimg img {
    max-width: 100%;
    width: auto !important;
    height: auto !important;
  }
  .jcarousel-skin-mlp .jcarousel-item .mlptitl {
    text-align: center;
    padding-top: 8px;
  }
}

.block-region {
  padding: 1em;
  background: transparent;
  border: 2px dashed #ccc;
  text-align: center;
  font-size: 1.3em;
}

/* Final layout after carousel-fix.js moves .mlptitl outside .mlpimg. */
#thema .jcarousel-skin-mlp .jcarousel-item .mlp > .mlpimg {
  display: block !important;
  flex: 0 0 110px !important;
  width: 110px !important;
  min-width: 110px !important;
  max-width: 110px !important;
  height: 90px !important;
  overflow: visible !important;
}

#thema .jcarousel-skin-mlp .jcarousel-item .mlp > .mlpimg > a.imagecache,
#thema .jcarousel-skin-mlp .jcarousel-item .mlp > .mlpimg > a.imagecache img {
  display: block !important;
  width: 110px !important;
  min-width: 110px !important;
  max-width: 110px !important;
  height: 90px !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

#thema .jcarousel-skin-mlp .jcarousel-item .mlp > .mlptitl {
  display: block !important;
  flex: 1 1 0% !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  padding: 3px 0 0 !important;
  margin: 0 !important;
}

@media screen and (max-width: 768px) {
  #thema .jcarousel-skin-mlp .jcarousel-item .mlp > .mlpimg {
    flex: none !important;
    width: 110px !important;
    min-width: 110px !important;
  }
  #thema .jcarousel-skin-mlp .jcarousel-item .mlp > .mlptitl {
    flex: none !important;
    width: 100% !important;
    text-align: center !important;
  }
}
