@charset "UTF-8";
/* Βασικά Reset και Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* reset styles */
html, body, h1, h2, h3, h4, h5, h6, p, ol, ul, li, pre, code, address, variable, form, fieldset, blockquote {
  padding: 0;
  margin: 0;
  font-size: 100%;
  font-weight: normal;
}

#header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  gap: 1rem;
  margin-bottom: 20px;
}

/* === Logo === */
#logo {
  width: 100%;
  text-align: center;
}

#logo a {
  display: inline-block;
}

#logo img {
  max-width: 180px;
  height: auto;
  transition: max-width 0.3s ease;
}

/* Responsive logo (προαιρετικά) */
@media (max-width: 480px) {
  #logo img {
    max-width: 140px;
  }
}

/* === Menu === */
/* Απόκρυψη  toggle εικονίδιο (☰) */
div.toggle {
  display: none;
  font-size: 3rem;
  cursor: pointer;
  user-select: none;
  padding: 0.5rem;
}

div.toggle a {
  text-decoration: none;
  color: #9d1212;
}

/* Το κανονικό μενού */
nav.burger-menu ul {
  display: flex;
  justify-content: center;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

nav.burger-menu ul li a {
  font-size: 1.8rem;
  text-decoration: none;
  color: #9d1212;
  font-weight: 500;
  transition: color 0.2s;
  display: block;
  padding: 10px;
  padding-bottom: 0.4em;
}

nav.burger-menu ul li a:hover {
  color: #59251d;
}

nav.burger-menu ul li.last, nav.burger-menu ul li.first {
  display: none;
}

@media (max-width: 850px) {
  nav.burger-menu ul li a, nav.burger-menu ul li span {
    padding: 18px;
    font-size: 1.8rem;
  }
}

/* === Responsive === */
@media (max-width: 468px) {
  /* Εμφάνιση burger icon */
  div.toggle {
    display: block;
  }
  /* Κρύψε το κανονικό μενού από default */
  nav.burger-menu ul {
    gap: 0;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    background-color: #fff;
    padding: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: -100vh;
    left: 0;
    /* Απόσταση από πάνω */
    z-index: 999;
    width: 100%;
    height: 100vh;
  }
  nav.burger-menu ul li {
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
  }
  nav.burger-menu ul li.first img {
    max-width: 150px;
    max-height: 100%;
  }
  nav.burger-menu ul li.last, nav.burger-menu ul li.first {
    display: block;
  }
  /* Όταν κάνεις toggle, δείξε το μενού */
  .menu-toggle:checked + .burger-icon + .burger-menu ul {
    display: flex;
  }
}

/* === Footer === */
#footer {
  text-align: center;
  padding: 2rem 1rem;
  background-color: #fff;
  color: #333;
  margin-top: 2rem;
  font-size: 0.9rem;
}

#footer p {
  margin: 0;
}

/* Responsive: Στενές οθόνες */
div.vertical_menu h4 {
  padding: 1.2em 0;
  font-weight: bold;
  font-size: 1.8em;
}

div.vertical_menu ul {
  margin: 0px;
  padding: 0px;
  list-style-type: none;
}

/* Γενικό στυλ για το μενού */
div.vm10a ul {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 300px;
  /* Περιορίζει το μέγιστο πλάτος */
  background: #f0f0f0;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
  /* Στυλ για κάθε στοιχείο της λίστας */
}

div.vm10a ul li {
  margin: 0;
  padding: 0;
  overflow: hidden;
  /* Στυλ για τα κουμπιά */
  /* Εφέ κατά το hover */
  /* Στυλ για το επιλεγμένο κουμπί */
}

div.vm10a ul li a {
  display: block;
  padding: 12px 20px;
  color: #333;
  text-decoration: none;
  background: #fff;
  border-bottom: 1px solid #ccc;
  transition: background-color 0.2s ease, transform 0.1s ease;
  font-size: 1.5em;
  text-align: center;
}

div.vm10a ul li a:hover {
  background: #d6d6d6;
  transform: scale(1.03);
}

div.vm10a ul li span {
  font-size: 1.5em;
  display: block;
  padding: 12px 20px;
  background: #333;
  color: white;
  font-weight: bold;
  text-align: center;
  border-bottom: 1px solid #ccc;
  border-radius: 0;
}

div.vm11 {
  /* Γενικό στυλ για το μενού */
}

div.vm11 ul {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 300px;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.05);
  /* Στυλ για κάθε στοιχείο της λίστας */
  /* Εξαίρεση του τελευταίου κουμπιού */
}

div.vm11 ul li {
  margin: 0;
  padding: 0;
  /* Στυλ για τα κουμπιά */
  /* Στυλ για το επιλεγμένο κουμπί */
}

div.vm11 ul li a {
  display: block;
  padding: 14px 20px;
  color: #343a40;
  text-decoration: none;
  background: #ffffff;
  border-bottom: 1px solid #dee2e6;
  font-size: 16px;
  text-align: center;
  transition: background-color 0.2s ease;
  /* Εφέ κατά το hover */
}

div.vm11 ul li a:hover {
  background: #e9ecef;
}

div.vm11 ul li span {
  display: block;
  padding: 14px 20px;
  background: #007bff;
  color: white;
  font-weight: bold;
  text-align: center;
  border-bottom: 1px solid #dee2e6;
  border-radius: 0;
}

div.vm11 ul li:last-child a {
  border-bottom: none;
}

div.vm12 {
  /* Γενικό στυλ για το μενού */
}

div.vm12 ul {
  list-style: none;
  margin: 0;
  padding: 10px;
  width: 100%;
  max-width: 300px;
  background: #1c1c1e;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  /* Στυλ για κάθε στοιχείο της λίστας */
}

div.vm12 ul li {
  margin-bottom: 8px;
  /* Στυλ για τα κουμπιά */
  /* Στυλ για το επιλεγμένο κουμπί */
}

div.vm12 ul li a {
  display: block;
  padding: 12px;
  color: #f0f0f0;
  text-decoration: none;
  background: #2c2c2e;
  border: 1px solid #3a3a3c;
  border-radius: 6px;
  font-size: 16px;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease;
  /* Εφέ κατά το hover */
}

div.vm12 ul li a:hover {
  background: #3a3a3c;
  color: #ffffff;
}

div.vm12 ul li span {
  display: block;
  padding: 12px;
  background: #007bff;
  color: #ffffff;
  font-weight: bold;
  border: 1px solid #007bff;
  border-radius: 6px;
  text-align: center;
}

/* Γενικό στυλ για το μενού */
div.vm10 {
  margin: 15px;
}

div.vm10 ul {
  list-style: none;
  width: 100%;
  max-width: 700px;
  background: #f0f0f0;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 10px;
  /* Στυλ για κάθε στοιχείο της λίστας */
}

div.vm10 ul li {
  margin: 0;
  padding: 0;
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: auto;
  /* Στυλ για τα κουμπιά */
  /* Στυλ για το επιλεγμένο κουμπί */
}

div.vm10 ul li a {
  display: block;
  padding: 12px 20px;
  color: #333;
  text-decoration: none;
  background: #fff;
  border: 1px solid #ccc;
  transition: background-color 0.2s ease, transform 0.1s ease;
  font-size: 1.5em;
  text-align: center;
}

div.vm10 ul li a:hover {
  background: #d6d6d6;
  transform: scale(1.03);
}

div.vm10 ul li span {
  font-size: 1.5em;
  display: block;
  padding: 12px 20px;
  background: #333;
  color: white;
  font-weight: bold;
  text-align: center;
  border-bottom: 1px solid #ccc;
  border-radius: 0;
}

div.sectorLinks {
  clear: both;
  overflow: hidden;
  padding: 3em 0;
  font-size: 14px;
  flex-basis: 100%;
  width: 100%;
}

div.sectorLinks div {
  float: left;
  margin: 0px;
}

div.sectorLinks a, div.sectorLinks span {
  text-decoration: none;
  display: block;
}

.sectorLinks div.startLinks, .sectorLinks div.endLinks {
  font-size: 1em;
  width: 10em;
}

.sector_links_table {
  margin: 0;
  border-spacing: 0;
}

.sector_links_table a, .sector_links_table span {
  display: block;
  font-weight: bold;
  background-color: transparent;
  line-height: 100%;
}

.sector_links_table a {
  text-decoration: none;
  color: #333;
}

.sector_links_table span {
  color: #999;
}

.sector_links_table td {
  border: 1px solid #ccc;
  padding: 0.6em;
}

.sector_links_table th {
  display: none;
}

.sl2 {
  margin-top: 1em;
}

.sl2 div.sector_links_next a, .sl2 div.sector_links_next span {
  padding: 0.6em 0.8em;
  height: 2.3em;
  box-sizing: border-box;
}

.sl2 div.sector_links_next a {
  color: #eee;
  background-color: #222;
}

.sl2 div.sector_links_next span {
  border: none;
  color: #eee;
  background-color: transparent;
}

.sl2 table.sector_links_table a, .sl2 table.sector_links_table span {
  border: none;
  padding: 0.6em 0.8em;
  margin: 0 0.3em 0 0;
  font-weight: bold;
  height: 2.3em;
  box-sizing: border-box;
}

.sl2 table.sector_links_table a {
  background-color: #fefefe;
  color: #6b6f79;
}

.sl2 table.sector_links_table a:hover {
  background-color: #e3e3e3;
}

.sl2 table.sector_links_table span {
  background-color: #000;
  color: #ffead9;
}

.sl2 table.sector_links_table span.dot {
  background-color: #fefefe;
  color: #6b6f79;
}

.sl2 table.sector_links_table td {
  padding: 0;
  border: none;
}

div.sl2b {
  margin-top: 1em;
  padding: 2em 0;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

div.sl2b div.startLinks {
  width: 13em;
  text-align: left;
}

div.sl2b div.endLinks {
  width: 14em;
  text-align: right;
}

div.sl2b div.sector_links_next a, div.sl2b div.sector_links_next span {
  padding: 0.8em 1em;
  height: 2.7em;
  box-sizing: border-box;
  width: 8em;
  text-align: center;
  border: 1px solid #888;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -o-border-radius: 5px;
  border-radius: 5px;
}

div.sl2b div.sector_links_next a {
  color: #fff;
  background-color: #507d42;
}

div.sl2b div.sector_links_next span {
  border: 1px solid #eee;
  color: #eee;
  background-color: transparent;
}

div.sl2b table.sector_links_table a, div.sl2b table.sector_links_table span {
  border: none;
  padding: 0.8em 1em;
  margin: 0 0.8em 0 0;
  font-weight: bold;
  height: 2.7em;
  box-sizing: border-box;
}

div.sl2b table.sector_links_table a {
  background-color: #fefefe;
  color: #6f8d9b;
}

div.sl2b table.sector_links_table a:hover {
  background-color: #e3e3e3;
}

div.sl2b table.sector_links_table span {
  background-color: #eee;
  color: #768962;
}

div.sl2b table.sector_links_table span.dot {
  background-color: #fefefe;
  color: #6b6f79;
}

div.sl2b table.sector_links_table td {
  padding: 0;
  border: none;
}

.sl3 {
  margin-top: 1em;
}

.sl3 div.sector_links_next, .sl3 table.sector_links_table {
  margin-bottom: 1em;
}

.sl3 div.sector_links_next a, .sl3 table.sector_links_table a {
  border: none;
  padding: 0.6em 0.8em;
  margin: 0 0.6em;
  font-weight: bold;
  background-color: #dbe5f2;
  color: #6b6f79;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -o-border-radius: 5px;
  border-radius: 5px;
}

.sl3 div.sector_links_next a:hover, .sl3 table.sector_links_table a:hover {
  background-color: #f0f0f0;
}

.sl3 div.sector_links_next span, .sl3 table.sector_links_table span {
  border: none;
  padding: 0.6em 0.8em;
  margin: 0 0.6em;
  background-color: #9e2621;
  color: #ffead9;
  font-weight: bold;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -o-border-radius: 5px;
  border-radius: 5px;
}

.sl3 div.sector_links_next span {
  color: #ccc;
  background-color: transparent;
}

.sl3 table.sector_links_table td {
  padding: 0;
  border: none;
}

.sl3 table.sector_links_table span.dot {
  background-color: #dbe5f2;
  color: #6b6f79;
}

.sl4 {
  margin-top: 1em;
}

.sl4 div.startLinks span::before, .sl4 div.startLinks a::before {
  content: "\00ab";
}

.sl4 div.endLinks span::after, .sl4 div.endLinks a::after {
  content: "\00bb";
}

.sl4 div.sector_links_next {
  width: 9em;
}

.sl4 div.sector_links_next a, .sl4 div.sector_links_next span {
  border: none;
  padding: 0.6em 0.6em;
  background-color: transparent;
}

.sl4 div.sector_links_next a {
  color: #000;
}

.sl4 div.sector_links_next span {
  color: #85868a;
}

.sl4 table.sector_links_table a {
  border: none;
  padding: 0.6em 0.6em;
  margin: 0 0.1em;
  font-weight: bold;
  color: #7e1921;
}

.sl4 table.sector_links_table span {
  border: none;
  padding: 0.6em 0.6em;
  margin: 0 0.1em;
  background-color: transparent;
  color: #85868a;
  font-weight: bold;
}

.sl4 table.sector_links_table td {
  padding: 0;
  border: none;
}

.sl4 table.sector_links_table td a:after, .sl4 table.sector_links_table td span:after {
  content: "/";
  padding-left: 1em;
  color: #85868a;
}

.sl4 table.sector_links_table td:last-child a:after, .sl4 table.sector_links_table td:last-child span:after {
  content: "";
  padding-left: 1em;
}

div.it_sidedoc {
  max-width: 450px;
  margin: 0 0 3rem 0;
  padding: 0;
}

div.it_sidedoc h2 {
  line-height: 1.3;
  margin-bottom: 1em;
  padding: 1rem 1.5rem 1.5rem 0.5rem;
  margin: 0 0 0.6em 0;
  background-color: #efefef;
}

div.it_sidedoc h2 a {
  font-size: 1.8rem;
  color: #cb3272;
}

div.it_sidedoc p {
  padding-left: 0.5rem;
}

div.it_sidedoc p.txt {
  font-size: 1.6em;
}

div.it_sidedoc div.info {
  margin-top: 2rem;
  margin-left: 0px;
  margin-right: 1rem;
  font-size: 1.4rem;
  color: #999;
  padding: 0;
  text-align: right;
}

/* Κεντράρει τις εικόνες. Αν έχουν διαφορετικό πλάτος τις στοιχίζει κάπως
*/
div.it_document {
  max-width: 550px;
  min-width: 300px;
  width: auto;
  margin: 0 0 5rem 0;
  padding: 0;
}

div.it_document h2 {
  font-size: 2.2rem;
  line-height: 1.3;
  color: #000;
  padding: 0;
  margin: 0 0 2rem 0;
}

div.it_document h2 a {
  line-height: 1.6;
  display: block;
  font-weight: bold;
  color: #361428;
  padding: 0;
}

div.it_document h2 a:hover {
  color: #9d1212;
}

div.it_document p.img {
  overflow: hidden;
  width: auto;
  aspect-ratio: 16 / 9;
  max-width: 550px;
  margin: 0 0 2.5rem 0;
}

div.it_document p.img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 0 0;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

div.it_document p.img img:hover {
  transform: scale(1.03);
}

div.it_document p.txt {
  font-size: 1.8rem;
  line-height: 1.7;
  margin: 0 0 2rem 0;
  color: #222;
}

@media screen and (max-width: 400px) {
  div.it_document p.txt {
    line-height: 1.7;
  }
}

@media screen and (max-width: 850px) {
  div.it_document p.txt {
    font-size: 1.6em;
    line-height: 1.7;
  }
}

div.it_document p.txt a {
  padding: 0;
  display: block;
  color: #222;
}

div.it_document p.add {
  padding: 2em 0 0.5em;
}

div.it_document p.add a {
  font-size: 1.2em;
  text-decoration: none;
  font-style: italic;
  color: #999;
}

div.it_document div.info {
  margin-top: 2rem;
  margin-left: 0px;
  margin-right: 1rem;
  font-size: 1.4rem;
  color: #999;
  padding: 0;
  text-align: right;
  margin: 0;
  padding: 0;
  color: #555;
  font-size: 1.6em;
  text-align: right;
}

div.it_document div.info_header {
  font-size: 1.7em;
  line-height: 1.7;
  color: #222;
  font-style: italic;
  margin-bottom: 1rem;
}

div.it_document div.info_header span a {
  color: #cb3272;
  text-decoration: none;
  font-style: normal;
  font-weight: bold;
}

div.it_img {
  margin-left: 0;
  margin-right: 1em;
  padding-top: 1em;
  max-width: 600px;
}

div.it_img span {
  font-size: 1.6rem;
  margin-bottom: 1em;
}

div.it_img h2 {
  font-size: 1.6rem;
  font-weight: bold;
}

div.it_img h2 a {
  display: block;
  font-weight: bold;
  color: #361428;
  padding: 1em 0;
}

div.it_img h2 a:hover {
  color: #9d1212;
}

div.it_img p.img {
  width: auto;
  margin: 0 0 3em 0;
}

div.it_img p.img img {
  max-width: 100%;
  max-height: 100%;
}

div.it_story {
  max-width: 450px;
  margin: 0 0 3rem 0;
  padding: 0;
}

div.it_story h2 {
  margin-bottom: 1em;
  padding: 1rem 1.5rem 1.5rem 0.5rem;
  border-top: double 4px #333;
  border-bottom: double 4px #333;
}

div.it_story h2 a {
  font-weight: bold;
  line-height: 1.6;
  font-size: 1.6em;
  color: #333;
}

div.it_story p {
  padding-left: 0.5rem;
}

div.it_story p.img {
  width: auto;
}

div.it_story p.img img {
  max-width: 100%;
}

div.it_story p.txt {
  font-size: 1.4em;
}

div.it_story div.info {
  margin-top: 2rem;
  margin-left: 0px;
  margin-right: 1rem;
  font-size: 1.4rem;
  color: #999;
  padding: 0;
  text-align: right;
}

div.it_web {
  max-width: 600px;
  min-width: 300px;
  width: auto;
  margin: 0 0 5rem 0;
  padding: 0;
}

div.it_web h2 {
  font-size: 2em;
  line-height: 1.3;
  color: #000;
  padding: 0;
  margin: 0 0 0.6em 0;
}

@media screen and (max-width: 400px) {
  div.it_web h2 {
    font-size: 1.8em;
    line-height: 1.3;
  }
}

@media screen and (max-width: 850px) {
  div.it_web h2 {
    font-size: 2em;
    line-height: 1.3;
  }
}

div.it_web h2 a {
  display: block;
  font-weight: bold;
  color: #361428;
  padding: 0;
}

div.it_web h2 a:hover {
  color: #9d1212;
}

div.it_web p.img {
  width: auto;
  max-width: 600px;
  margin: 0 0 2.5rem 0;
}

div.it_web p.img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

div.it_web p.txt {
  font-size: 1.8rem;
  line-height: 1.7;
  color: #222;
}

@media screen and (max-width: 400px) {
  div.it_web p.txt {
    font-size: 1.8rem;
    line-height: 1.7;
  }
}

@media screen and (max-width: 850px) {
  div.it_web p.txt {
    font-size: 1.8rem;
    line-height: 1.7;
  }
}

div.it_web p.txt a {
  padding: 0;
  display: block;
  color: #222;
}

div.it_web p.add {
  padding: 2em 0 0.5em;
}

div.it_web p.add a {
  font-size: 1.2em;
  text-decoration: none;
  font-style: italic;
  color: #999;
}

div.it_web div.info {
  margin-top: 2rem;
  margin-left: 0px;
  margin-right: 1rem;
  font-size: 1.4rem;
  color: #999;
  padding: 0;
  text-align: right;
  margin: 0;
  padding-left: 0;
  color: #555;
  font-size: 1.6em;
}

div.it_web div.info_header {
  font-size: 1.7em;
  line-height: 1.7;
  color: #e92303;
  padding: 0;
  margin: 0 0 1rem 0;
}

div.it_web p.weblink {
  font-weight: 800;
  font-size: 1.6em;
  padding: 0;
  margin: 0 0 1rem 0;
}

div.it_quote {
  padding: 0;
  margin: 0 0 3rem 0;
  max-width: 500px;
}

div.it_quote h2 {
  line-height: 1.4;
  margin-bottom: 1em;
  padding: 0.8em 0.7em 1.4em 0.7em;
}

div.it_quote h2 a {
  font-family: 'Segoe UI','Arial', sans-serif;
  font-size: 2em;
  font-style: italic;
  color: #222;
  overflow-wrap: break-word;
  word-break: break-word;
  quotes: "\201C" "\201D" "\2018" "\2019";
}

@media screen and (max-width: 400px) {
  div.it_quote h2 a {
    font-size: 1.6rem;
  }
}

div.it_quote h2 a:before {
  content: open-quote;
  font-size: 4rem;
  line-height: 0.1em;
  margin-right: 0.25em;
  vertical-align: -0.4em;
}

div.it_quote h2 a:after {
  content: close-quote;
  font-size: 4rem;
  line-height: 0.1em;
  margin-left: 0.05em;
  vertical-align: -0.4em;
}

div.it_quote div.img_person {
  width: 150px;
  float: left;
  margin: 0 1em;
  text-align: center;
  font-size: 1.2rem;
  color: #333;
  line-height: 1.7;
  padding: 0 0.5em 0.8em 0.5em;
}

div.it_quote div.img_person p {
  padding: 0 0 0.6em 0em;
  color: #555;
}

@media screen and (max-width: 850px) {
  div.it_quote div.img_person {
    font-size: 1rem;
    margin: 0.5em;
    width: 120px;
  }
}

div.it_quote p {
  padding-left: 0.5rem;
}

div.it_quote p.img {
  background-color: white;
  margin: 0 0 1em 0;
}

div.it_quote p.img img {
  max-width: 100%;
  max-height: 100%;
}

div.it_quote p.txt {
  font-size: 1.8rem;
  overflow-wrap: break-word;
  word-break: break-word;
}

div.it_quote p.name {
  font-size: 1.4rem;
  font-style: italic;
  text-align: left;
  padding: 0.5em 0;
  color: #151a36;
}

div.it_quote div.info {
  clear: both;
  margin-top: 2rem;
  margin-left: 0px;
  margin-right: 1rem;
  font-size: 1.4rem;
  color: #999;
  padding: 0;
  text-align: right;
}

div.it_person {
  width: 180px;
  margin: 0 0 5rem 0;
  padding: 0;
}

div.it_person h2 {
  font-size: 1.8rem;
  line-height: 1.3;
  color: #000;
  padding: 0;
  margin: 0 0 2rem 0;
  height: 4rem;
}

div.it_person h2 a {
  text-decoration: none;
  line-height: 1.6;
  display: block;
  font-weight: bold;
  color: #361428;
  padding: 0;
  text-align: center;
}

div.it_person p.img {
  width: 140px;
  height: 140px;
  border: 2px solid #d1c3c3;
  border-radius: 40px;
  overflow: hidden;
  margin: 0 auto;
}

div.it_person p.img img {
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 40% 10%;
}

div.box4 {
  background-color: #f2f2f2;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  max-width: 400px;
  min-width: 200px;
}

@media screen and (max-width: 500px) {
  div.box4 {
    margin-bottom: 40px;
  }
}

div.box4 div.img_container {
  overflow: hidden;
  aspect-ratio: 2 / 1;
}

div.box4 div.img_container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
}

div.box4 div.content {
  flex-grow: 1;
  flex-shrink: 1;
  padding: 15px 20px;
  color: #444;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  overflow: scroll;
  justify-content: flex-start;
}

div.box4 div.content h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1.2em;
  text-align: center;
}

div.box4 div.content h2 a {
  text-decoration: none;
  color: #000;
  font-weight: 600;
  line-height: 1.4;
}

div.box4 div.content p.txt {
  font-size: 1.6rem;
  margin-bottom: 1em;
}

div.box4 div.content div.info {
  color: red;
  font-size: 1.3rem;
  text-transform: uppercase;
  text-align: center;
}

div.box5 {
  background-color: #f2f2f2;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  max-width: 400px;
  min-width: 200px;
}

@media screen and (max-width: 500px) {
  div.box5 {
    margin-bottom: 30px;
  }
}

div.box5 div.img_container {
  overflow: hidden;
  aspect-ratio: 2 / 1;
}

div.box5 div.img_container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
}

div.box5 div.content {
  flex-grow: 1;
  flex-shrink: 1;
  padding: 15px 20px;
  color: #444;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  overflow: hidden;
  justify-content: flex-start;
}

div.box5 div.content h2 {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 1.2em;
  text-align: center;
  flex-grow: 1;
}

div.box5 div.content h2 a {
  text-decoration: none;
  color: #000;
  font-weight: 600;
  line-height: 1.4;
}

div.box5 div.content p.txt {
  font-size: 1.6rem;
  margin-bottom: 1em;
}

div.box5 div.content div.info {
  color: red;
  font-size: 1.6rem;
  text-transform: uppercase;
  text-align: center;
}

div.box5 div.content p.weblink {
  padding: 10px 0;
  font-size: 1.4rem;
  font-weight: bold;
  color: red;
  text-align: right;
}

/*Τα δικά μου css*/
html {
  font-size: 62.5%;
}

body {
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  background-color: #f8f9fa;
  color: #333;
  line-height: 1.6;
}

#allcontent {
  width: 100%;
  min-width: 320px;
  max-width: 1080px;
  margin: 0 auto;
}

#main_content h1.title {
  font-size: 2.8em;
  font-weight: bold;
  margin: 20px 0 10px 0;
  width: 65%;
  padding: 0.5em 0 0.5em  0.6em;
  background-image: url(../images/page/pattern_small_x/bg_2.png);
  background-repeat: repeat-x;
  background-position: 50%;
  line-height: 100%;
  border-bottom: none;
}

#main_content h1.title a {
  color: #191A1C;
  text-decoration: none;
}

#main_content h1.title a :hover {
  color: #4F525A;
  text-decoration: underline;
}

#main_content h1.title span {
  font-size: 0.8em;
  color: #514141;
  font-weight: normal;
}

@media screen and (max-width: 850px) {
  #main_content h1.title {
    width: 95%;
    margin: 0;
    padding-left: 0;
  }
}

h2.title {
  font-size: 2.6em;
  font-weight: bold;
  display: block;
  margin: 0.5em 0;
}

@media screen and (max-width: 850px) {
  h2.title {
    font-size: 2.2em;
  }
}

div.group_title {
  font-size: 2em;
  border-bottom: solid 2px #eaeaea;
  font-weight: bold;
  margin: 0.5em 0 1em 1em;
  padding-bottom: 10px;
  width: 90%;
}

div.group_title a {
  color: #cb3272;
  text-decoration: none;
}

div.group_title span {
  font-weight: normal;
  color: #555;
}

div.text {
  font-size: 1.8em;
}

div.text h3.title {
  font-weight: bold;
  font-size: 1.1em;
  margin-bottom: 0.5em;
}

div.text p {
  line-height: 1.6;
  margin-bottom: 1em;
}

div.item h2 a {
  text-decoration: none;
}

div.error {
  font-size: 2em;
  font-weight: bold;
  color: #ddd;
  width: 80%;
  background-color: #f8f8f8;
  text-transform: uppercase;
  margin-bottom: 200px;
  clear: both;
  color: #999999;
  text-align: center;
  margin: 1em;
  padding: 3em;
  border-top-width: 1px;
  border-bottom-width: 1px;
  border-top-style: solid;
  border-bottom-style: solid;
  border-top-color: #F3F3F3;
  border-bottom-color: #F3F3F3;
}

div.debug {
  padding: 0.5em 120px 0.5em 0.5em;
  font-size: 1.2em;
  background-color: #f3ebeb;
  max-width: 400px;
  border: 3px dotted #e17272;
  font-family: Courier;
  color: #555;
  line-height: 130%;
  margin: 10px 0;
  position: relative;
  display: block;
  clear: both;
}

div.debug p {
  color: #999;
  width: 120px;
  padding: 0;
  font-size: 0.8em;
  position: absolute;
  right: 0px;
  top: 0px;
  color: #7dc57d;
}

div.debug code {
  padding: 0;
}

div.item_area {
  max-width: 600px;
  padding-left: 20px;
}

div.item_area h3.title {
  font-size: 1.8em;
  font-weight: bold;
  color: #333;
  padding-bottom: 1em 0;
  margin: 1em 0;
}

div.item_area p.image {
  margin: 1em 0 1.5em 0;
}

div.item_area p.image img {
  max-width: 100%;
}

div.item_area table.tbl_personinfo {
  font-size: 1.6rem;
  margin: 1.5rem 0;
}

div.item_area blockquote {
  padding-left: 2rem;
  line-height: 1.8;
  font-size: 1.9rem;
  border-left: 2px solid #999;
  quotes: "\201C" "\201D" "\2018" "\2019";
}

div.item_area blockquote div.quote::before {
  content: open-quote;
  font-size: 4rem;
  line-height: 0.1em;
  margin-right: 0.1em;
  vertical-align: -0.4em;
}

div.item_area blockquote div.quote::after {
  content: close-quote;
  font-size: 4rem;
  line-height: 0.1em;
  margin-left: 0.1em;
  vertical-align: -0.4em;
}

div.item_area blockquote::after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

@media screen and (max-width: 400px) {
  div.item_area blockquote {
    padding-left: 1rem;
    border-left: 1px solid #ccc;
  }
}

div.item_area div.img_person {
  background-color: #eee;
  float: right;
  width: 30%;
  max-width: 120px;
  min-width: 90px;
  padding: 10px;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  -o-border-radius: 15px;
  border-radius: 15px;
  font-size: 1.2rem;
  text-align: center;
  margin-left: 2.5rem;
  overflow: scroll;
}

div.item_area div.img_person p {
  font-weight: bold;
  padding: 1em 0;
}

div.item_area div.img_person img {
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

@media screen and (max-width: 850px) {
  div.item_area div.img_person {
    margin-left: 2rem;
    font-size: 1.1rem;
    width: 25%;
    max-width: 100px;
    padding: 4px;
  }
}

@media screen and (max-width: 400px) {
  div.item_area div.img_person {
    font-size: 1rem;
    padding: 2px;
    margin-left: 1.5rem;
  }
}

div.item_area div.info {
  font-size: 1.6em;
  margin-top: 1em;
  color: #888;
  font-style: italic;
  text-align: right;
}

div.item_area p.themecategory {
  margin: 10px 0;
}

div.item_area p.themecategory a {
  display: inline-block;
  padding: 0.5em;
  color: #fff;
  text-decoration: none;
  background-color: #b91121;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -o-border-radius: 5px;
  border-radius: 5px;
}

div.item_area p.source {
  padding: 1em 0;
  font-size: 1.8rem;
  color: #888;
  text-align: right;
}

div.item_area div.weblink a {
  color: #cb3272;
  font-size: 1.6em;
  padding: 1em;
  overflow-wrap: break-word;
  word-break: break-word;
  display: inline-block;
  /* αν χρειαστεί */
  max-width: 100%;
}

div.item_area div.info_header {
  font-size: 1.5em;
  color: red;
  text-align: right;
  padding: 0 0 1em 0;
}

@media screen and (max-width: 850px) {
  div.item_area {
    width: auto;
    padding: 0px;
  }
}

div.item_area_aside {
  max-width: 500px;
  width: auto;
}

div.item_area_aside h3.title {
  font-size: 2em;
  font-weight: bold;
  padding: 0;
  margin: 1em 0;
}

@media screen and (max-width: 850px) {
  div.item_area_aside {
    margin: 0;
  }
}

div.item_area_more {
  margin-top: 40px;
  padding-left: 35px;
}

div.item_area_more h3.title {
  font-size: 1.8em;
  padding: 1em 0;
  font-weight: bold;
}

@media screen and (max-width: 850px) {
  div.item_area_more {
    padding: 10px;
  }
}

div.mainBar, div.sideBar {
  padding: 3rem 2rem 1rem 2.5rem;
}

div.mainBar div.year, div.sideBar div.year {
  background-color: #eee;
  padding: 0.6em;
  margin-bottom: 0.3em;
  font-size: 2.4em;
}

div.mainBar div.year p, div.sideBar div.year p {
  font-weight: bold;
}

div.mainBar div.month, div.sideBar div.month {
  background-color: rgba(134, 6, 0, 0.9);
  font-size: 2em;
  padding: 0.6em;
  margin-bottom: 1em;
  color: #f4e3ea;
}

#flex_content {
  width: auto;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 2em;
}

@media screen and (max-width: 850px) {
  #flex_content {
    flex-direction: column;
  }
}

#flex_content div.mainBar {
  flex-basis: 0;
  flex-grow: 2;
  flex-shrink: 0;
  margin-left: 2rem;
}

@media screen and (max-width: 850px) {
  #flex_content div.mainBar {
    flex-basis: auto;
    width: auto;
    margin-bottom: 3rem;
    margin-left: 2rem;
    margin-right: 2rem;
  }
}

@media screen and (max-width: 500px) {
  #flex_content div.mainBar {
    width: auto;
    margin-left: 0rem;
  }
}

@media screen and (max-width: 400px) {
  #flex_content div.mainBar {
    margin-bottom: 3rem;
    margin-left: 0rem;
  }
}

#flex_content div.sideBar {
  flex-basis: 0;
  flex-grow: 1;
  flex-shrink: 0;
  margin-right: 2rem;
}

#flex_content div.sideBar div.category_list {
  margin: 0 auto;
}

@media screen and (max-width: 850px) {
  #flex_content div.sideBar {
    flex-basis: auto;
    width: 90%;
    margin-left: 2rem;
  }
}

@media screen and (max-width: 400px) {
  #flex_content div.sideBar {
    margin-right: 0;
  }
}

/* Εμφάνιση μπλοκ (main/side/sector) */
.mainBar,
.sideBar,
.sectorLinks {
  background-color: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

section.period {
  padding: 20px;
}

section.period div.year {
  background-color: #eee;
  padding: 0.6em;
  margin-bottom: 0.3em;
  font-size: 2.4em;
}

section.period div.year p {
  font-weight: bold;
}

section.period div.month {
  background-color: rgba(134, 6, 0, 0.9);
  font-size: 2em;
  padding: 0.6em;
  margin-bottom: 1em;
  color: #f4e3ea;
}

.gridContainer {
  padding: 10px 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

@media screen and (max-width: 700px) {
  .gridContainer {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

@media screen and (max-width: 500px) {
  .gridContainer {
    display: block;
  }
}
