section {
  padding: 3rem 0;
}

.section-title-wrapper {
  width: fit-content;
}

.section-title {
  color: var(--section-title);
  font-weight: bold;
  padding-right: 2.5rem;
  font-size: 30px !important;
}

.section-title-underline {
  border-top: 6px solid var(--section-title);
  margin-top: 10px;
}

/*=========================== 

  Hero section 

  ===========================*/

#hero {
  background-size: cover;
  background-position: right;
  height: auto;
  transition: background-image 0.5s ease-in-out;
}

.hero-text {
  display: flex;
  max-width: 1200px;
  justify-content: center;
  margin: auto;
  margin-bottom: 30px;
  position: relative;
}

.hero-text-left-side {
  width: 40%;
  align-items: center;
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.5);
  padding: 40px;
}

.hero-text-left-side h1 {
  font-size: 40px;
  font-weight: bold;
  width: 100%;
  color: #48a0d8;
}

.hero-text-left-side p {
  font-weight: bold;
  font-size: var(--window-sub-title) !important;
  color: var(--acf-label);
}

.hero-text-right-side {
  width: 50%;
  padding: 30px;
  background-color: #fff;
  position: relative;
}

.hero-text-right-side h2 {
  font-weight: bold;
}

.hero-text-right-side img {
  min-width: 70px;
  margin: 30px 15px;
}

.hero-text-right-side p {
  margin: 30px 0;
  text-align: left;
}

.hero-icon {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.line {
  border-left: 2px solid #48a0d8;
  height: 55px;
  display: flex;
  align-self: flex-start;
  margin-left: 5px;
}

.slider-btn-wrapper {
  position: absolute;
  bottom: 15px;
  right: 15px;
}

.slider-btn {
  width: 10px;
  height: 10px;
  background-color: var(--gray);
  border-radius: 50%;
  margin-right: 0.5rem;
  padding: 10px;
}

.slider-btn.active {
  background-color: var(--light-blue);
  cursor: default;
  pointer-events: none;
}

/*=========================== 

  Bar section 

  ===========================*/

#bar {
  padding: unset !important;
}

.open-data-bar {
  height: auto;
  background-color: #777877;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/*=========================== 

  Boxes section 

  ===========================*/

#boxes {
  background-color: var(--light-grey);
}

.boxes {
  border-radius: 11px;
}

.box {
  opacity: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #000;
  border-radius: 11px;
  height: 187px;
  width: 346px;
  transition: all 250ms ease;
  position: relative;
  border: 2px solid transparent;
}

.box img {
  height: 65px;
  position: absolute;
  top: -34px;
  left: 40%;
}

.box-data {
  background-color: #618add;
}

.box-sinergasia {
  background-color: #95B9D8;
}

.box-emploutismos {
  background-color: #dca75c;
}

.box-data:hover {
  border: 2px solid #618add;
  background-color: #fff;
  color: #3256A4;
}

.box-sinergasia:hover {
  border: 2px solid #95B9D8;
  background-color: #fff;
  color: #3256A4;
}

.box-emploutismos:hover {
  border: 2px solid #dca75c;
  background-color: #fff;
  color: #3256A4;
}

.box h3 {
  font-weight: bold;
  text-align: center;
  margin-top: 20px;
}

.box p {
  text-align: center;
  margin-bottom: 0 !important;
  padding: 9px;
}

.lektika img {
  width: 110px;
  height: 75px;
  object-fit: scale-down;
}

.lektika {
  max-width: 1120px;
  color: white;
  height: 100px;
}

.lektika ul {
  display: flex;
  justify-content: center;
  list-style-type: none;
  margin-bottom: 0;
  font-size: 20px;
}

.lektika ul li {
  margin: auto 5px;
  font-size: 16px !important;
}

.lektika ul li:not(:last-of-type)::after {
  content: " / ";
}

/*=========================== 

  Categories section 

  ===========================*/
.categories {
  display: flex;
  justify-content: center;
}

.categories-wrapper {
  width: 100%;
}

.category-box {
  min-height: 250px;
  width: 250px;
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  padding: 0 1rem;
  transition: 0.3s linear;
  color: #000 !important;
}

.category-box.coming-soon {
  background-color: rgba(211, 211, 211, 0.664);
  pointer-events: none;
}

.category-box.coming-soon>img,
.category-box.coming-soon>h3 {
  opacity: 0.3;
}

.coming-soon-text {
  opacity: 1;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  text-align: center;
  transform: translateY(-50%);
}

.category-box h3 {
  padding-top: 1.5rem;
}

.category-box:hover h3 {
  color: #fff;
}

.category-box img {
  position: absolute;
  bottom: 0;
  right: 0;
}

.category-box:hover img {
  filter: brightness(0) invert(1);
}

.category-text {
  width: 250px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 0.1rem 0.5rem 0;
}

/*=========================== 

  Highlights section 

  ===========================*/

section#highlights {
  background-color: #efefef;
}

.highlights {
  max-width: 1065px !important;
}

.highlight {
  width: 100%;
  position: relative;
}

.highlights-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  grid-gap: 1.5rem;
}

.horizontal-line {
  border-top: 2px solid var(--acf-label);
  margin: 10px 0;
}

.highlight-sub {
  margin: 50px auto 0 auto !important;
  font-size: 20px !important;
  font-weight: bold;
}

.highlight-category {
  border-radius: 0px 0px 10px 14px;
  width: 100%;
  padding: 0.5rem;
  max-width: 150px;
  box-shadow: 0px 1px 4px #00000029;
  color: #000;
  font-style: italic;
  font-weight: bold;
  position: absolute;
  top: 0;
  left: 0;
  font-size: 18px;
}

.highlight-thumb {
  height: 190px;
  width: 100%;
  object-fit: cover;
}

.highlight-excerpt {
  color: var(--acf-label);
}

.read-more {
  border-radius: 20px;
  padding: 5px 10px;
  transition: 0.2s linear;
  background-color: var(--white);
  color: var(--dark-blue);
  font-weight: bold;
}

.read-more>i {
  margin-left: 5px;
  transition: margin 0.2s linear;
}

.read-more:active,
.read-more:hover {
  color: #48a0d8 !important;
}

.read-more:hover>i {
  margin-left: 10px;
}

#all-data-stories {
  width: 300px;
  border-radius: 28px;
  background-color: var(--btn-bg);
  color: var(--white);
  font-size: var(--btn-font-size);
  font-weight: bold;
  text-align: center;
  padding: 0.8rem 1rem;
  transition: 0.2s linear;
}

#all-data-stories:active,
#all-data-stories:hover {
  background-color: var(--btn-bg-hover);
}

/*=========================== 

  New datasets section 

  ===========================*/

.new-datasets {
  max-width: 1065px;
}

.datasets-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.dataset-box:nth-of-type(1) {
  background-color: var(--dark-blue);
  color: var(--white);
}

.dataset-box:nth-of-type(1) .dataset-tag {
  background-color: #041f50;
  color: var(--white);
}

.dataset-box:nth-of-type(2) {
  background-color: var(--warm-blue);
  color: var(--white);
}

.dataset-box:nth-of-type(2) .dataset-tag {
  background-color: #0c3283;
  color: var(--white);
}

.dataset-box:nth-of-type(3) {
  background-color: #efefef;
  color: var(--dark-blue);
}

.dataset-box:nth-of-type(3) .dataset-tag {
  background-color: #b9b9b9;
  color: var(--white);
}

.dataset-box:nth-of-type(3) .link-to-dataset {
  color: var(--dark-blue);
}

.dataset-box {
  width: 335px;
  height: 480px;
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.dataset-title {
  font-weight: bold;
  font-size: 20px;
}

.dataset-org-logo {
  width: 65px;
  height: 65px;
  background-color: #fff;
  border-radius: 10px;
  object-fit: contain;
}

.dataset-tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  overflow: auto;
}

.dataset-tag {
  font-weight: 600;
  font-size: 14px;
  border-radius: 21px;
  padding: 0.5rem 1rem;
}

.link-to-dataset {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  color: var(--white);
  transition: transform 0.2s linear;
}

.link-to-dataset:hover {
  color: var(--white);
  transform: translateX(5px);
}

#all-datasets {
  width: 300px;
  border-radius: 28px;
  background-color: var(--btn-bg);
  color: var(--white);
  font-size: var(--btn-font-size);
  font-weight: bold;
  text-align: center;
  padding: 0.8rem 1rem;
  transition: 0.2s linear;
}

#all-datasets:active,
#all-datasets:hover {
  background-color: var(--btn-bg-hover);
}

/*=========================== 

  Diagrams section 

  ===========================*/

.diagrams {
  max-width: 1065px;
}

#diagrams-intro {
  color: var(--acf-label);
}

.diagrams-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  column-gap: 0.5rem;
  row-gap: 1rem;
}

.diagrams-wrapper>div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.diagram {
  height: 400px;
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.data-source {
  border-radius: 20px;
  padding: 5px 10px;
  transition: 0.2s linear;
  background-color: #efefef;
  color: var(--dark-blue);
  font-weight: bold;
  padding: 0.5rem 1rem;
}

.data-source>i {
  margin-left: 5px;
  transition: margin 0.2s linear;
}

.data-source:active,
.data-source:hover {
  color: #48a0d8 !important;
}

.data-source:hover>i {
  margin-left: 10px;
}

.loading {
  width: 100px;
}

/*=========================== 

  Apps section 

  ===========================*/

.apps {
  max-width: 1055px;
}

.eco {
  padding-bottom: 10%;
}

@media screen and (min-width: 1000px) {
  .eco img {
    width: 80%;
  }
}

/*=========================== 

  Newsletter section 

  ===========================*/

#newsletter {
  background-color: #f9f9f9;
}

.newsletter-container {
  max-width: 1055px;
  margin: 0 auto;
}

.es_subscription_form {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media screen and (max-width: 990px) {
  .es_subscription_form {
    flex-direction: column;
    gap: 1rem;
  }

  .es_caption {
    max-width: unset;
  }
}

.es_caption {
  max-width: 16ch;
  font-size: 23px;
  font-weight: bold;
  color: var(--black-cp);
  padding: 0;
}

.ig_es_form_field_email {
  background-color: none;
  border: none;
  border-bottom: 2px solid var(--warm-blue);
  width: 100%;
}

.ig_es_form_field_email:focus {
  outline: none;
  border-bottom: 3px solid var(--warm-blue);
}

.ig-es-form-list-selection td {
  padding-top: unset !important;
}

.ig-es-form-list-selection td span {
  margin-left: 0.5rem;
}

.es_subscription_form_submit {
  width: 190px;
  height: 56px;
  background-color: var(--btn-bg);
  color: var(--white);
  font-size: var(--btn-font-size);
  padding: 16px 20px;
  border: none;
  border-radius: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1;
  transition: all 250ms ease;
}

.es_subscription_form_submit:is(:hover, :focus) {
  background-color: var(--btn-bg-hover);
}

.es_subscription_form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.es_subscription_form .es-field-wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 300px;
}

.es_subscription_form label input[type="checkbox"] {
  margin-right: 6px;
}






/*=========================== 

  Media queries 

  ===========================*/

@media only screen and (max-width: 600px) {
  .section-title {
    width: 100%;
    padding: unset;
    text-align: left;
  }

  .section-title-underline {
    width: 100%;
  }
}

@media only screen and (max-width: 600px) {
  .hero-text {
    display: table;
    width: 100%;
  }

  .hero-text-right-side img {
    display: flex;
  }

  .hero-text-right-side .text-left {
    margin: 0;
  }

  .hero-text-right-side .text-right {
    margin: 0;
  }

  .hero-icon {
    margin: 25px auto;
  }

  .hero-text-left-side {
    width: 100%;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.5);
  }

  .hero-text-right-side {
    text-align: center;
    width: 100%;
  }

  .lektika {
    height: auto;
  }

  .lektika ul {
    flex-direction: column;
    padding: 15px 15px 15px 15px;
    margin: auto;
  }

  .lektika img {
    width: 30%;
    margin: 10px auto 0 auto;
  }

  .boxes {
    margin: auto;
    display: flex;
    flex-direction: column;
    align-content: center;
  }

  .box {
    width: 100%;
    height: 200px;
    width: 420px;
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
  }

  .box h3 {
    height: auto;
  }

  .line {
    display: none;
  }
}

@media only screen and (min-width: 600px) and (max-width: 768px) {
  .hero-text {
    display: table;
    width: 100%;
  }

  .hero-text-left-side {
    width: 100%;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.5);
  }

  .hero-text-right-side {
    text-align: center;
    width: 100%;
  }

  .lektika {
    height: auto;
  }

  .lektika img {
    width: 110px;
    margin: 10px auto 0 auto;
  }

  .lektika ul {
    padding: 15px;
    flex-direction: column;
    margin: auto;
  }

  .boxes {
    margin: auto;
  }

  .box {
    width: 70%;
    height: 350px;
    margin: 25px auto;
    display: flex;
    justify-content: center;
  }

  .box h3 {
    height: auto;
  }

  .line {
    display: none;
  }
}

@media only screen and (min-width: 768px) and (max-width: 992px) {
  .hero-text {
    display: table;
    width: 90%;
  }

  .hero-text-left-side {
    width: 100%;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.5);
  }

  .hero-text-right-side {
    text-align: center;
    width: 100%;
  }

  .lektika {
    height: auto;
  }

  .lektika img {
    width: 110px;
    margin: 10px auto 0 auto;
  }

  .lektika ul {
    padding: 15px;
    flex-direction: column;
    margin: auto;
  }

  .boxes {
    margin: auto;
  }

  .box {
    width: 65%;
    margin: 25px auto;
    display: flex;
    justify-content: center;
  }

  .box h3 {
    height: auto;
  }

  .line {
    display: none;
  }
}

@media only screen and (min-width: 992px) and (max-width: 1200px) {
  .hero-text {
    width: 90%;
  }

  .hero-text-left-side {
    background-color: rgba(255, 255, 255, 0.5);
  }

  .lektika ul {
    margin: auto;
  }

  .boxes {
    margin: auto;
    gap: 5%;
    flex-wrap: nowrap;
    justify-content: center;
    width: 30%;
  }

  .box {
    padding: unset;
    height: 250px;
  }

  .box h3 {
    margin-bottom: 45px;
    width: 100%;
  }

  .line {
    display: none;
  }

  .lektika {
    height: auto;
  }

  .lektika img {
    width: 110px;
    margin: 10px auto 0 auto;
  }

  .lektika ul {
    padding: 15px;
    flex-direction: column;
    margin: auto;
  }
}

@media only screen and (min-width: 1200px) {
  .boxes {
    width: 85%;
    margin: auto;
    flex-wrap: nowrap;
    justify-content: space-evenly;
  }
}


.es-field-wrap a {
  color: #255193 !important;
}