/* /*
Theme Name: CityPortal v3
Theme URI: https://crowdpolicy.com
Author: Stavros Melidoniotis, Spyros Gkikas
Author URI: https://crowdpolicy.com
Description: Crowdpolicy custom theme
Tags: blog, theme
Version: 1.0
Requires at least: 5.0
Tested up to: 5.9
Requires PHP: 7
Licence: GNU General Public Licence v2 or later
Licence URI: https://www.gnu.org/licences/gpl-2.0.html
Text Domain: cityportal-theme
*/

@import url("https://fonts.googleapis.com/css2?family=Comfortaa:wght@300..700&display=swap");

:root {
  --text-xs: 0.75rem;
  /* 12px */
  --text-sm: 1rem;
  /* 16px */
  --text-md: 1.25rem;
  /* 20px */
  --text-lg: 1.5rem;
  /* 24px */
  --text-xl: 2rem;
  /* 32px */
  --text-xxl: 3rem;
  /* 48px */
}

@font-face {
  font-family: Inter-Thin;
  src: url(./assets/fonts/Inter-Thin.ttf);
  font-weight: 100;
}

@font-face {
  font-family: Inter-ExtraLight;
  src: url(./assets/fonts/Inter-ExtraLight.ttf);
  font-weight: 200;
}

@font-face {
  font-family: Inter-Light;
  src: url(./assets/fonts/Inter-Light.ttf);
  font-weight: 300;
}

@font-face {
  font-family: Inter-Regular;
  src: url(./assets/fonts/Inter-Regular.ttf);
  font-weight: 400;
}

@font-face {
  font-family: Inter-Medium;
  src: url(./assets/fonts/Inter-Medium.ttf);
  font-weight: 500;
}

@font-face {
  font-family: Inter-SemiBold;
  src: url(./assets/fonts/Inter-SemiBold.ttf);
  font-weight: 600;
}

@font-face {
  font-family: Inter-Bold;
  src: url(./assets/fonts/Inter-Bold.ttf);
  font-weight: 700;
}

@font-face {
  font-family: Inter-ExtraBold;
  src: url(./assets/fonts/Inter-ExtraBold.ttf);
  font-weight: 800;
}

@font-face {
  font-family: Inter-Black;
  src: url(./assets/fonts/Inter-Black.ttf);
  font-weight: 900;
}

h1 {
  font-size: var(--text-lg);
}

h2 {
  font-size: var(--text-md);
  font-weight: 700;
}

p {
  font-size: var(--text-sm);
}

body {
  height: 100vh;
  margin: 0;
  padding: 0;
  max-width: 100vw;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  display: flex;
  flex-direction: column;
}

.section-title {
  font-weight: 700;
  font-size: 30px;
  position: relative;
}

@media screen and (max-width: 1199px) {
  .noScroll {
    overflow: hidden;
  }

  .imgLogo,
  .image-logo {
    height: auto !important;
  }
}

a {
  text-decoration: none;
}

a:hover {
  color: initial;
}

main.content {
  flex: 1 0 auto;
  overflow: hidden;
}

.nav-item.active {
  border-bottom: solid 4px #387065 !important;
  transition: all ease-in-out 0.1s;
}

.language-switcher:hover {
  border-bottom: solid 4px #387065 !important;
}

/* .important-links-underline-m .nav-item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 0;
  height: 10px;
  background-color: #387065;
  transition: width 0.25s ease-out;
} */

.important-links-underline-m .nav-item:hover::after {
  width: 100%;
}

@media screen and (max-width: 767px) {
  .flex-10auto {
    flex: unset !important;
  }
}

@media screen and (min-width: 768px) {
  .flex-md-10auto {
    flex: 1 0 auto !important;
  }
}

/* All Buttons */

.all-btn-wrapper {
  padding: 50px;
}

.all-btn {
  font-size: 14px;
  color: #fff;
  background: #387065;
  border-radius: 60px;
  padding: 17px 35px;
  width: 250px;
  height: 50px;
  transition: all ease 0.5s;
  text-transform: uppercase;
  font-weight: 600;
  border: 2px solid #387065;
}

.all-btn:hover {
  background: white;
  color: #387065;
}

/* Breadcrumbs */

#breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  font-size: var(--text-sm);
  gap: 0.5rem;
  margin-top: 4rem;
  white-space: pre-line;
  padding: 0;
}

#breadcrumbs li a,
.bread-current,
#breadcrumbs .separator {
  color: #2b2b29;
  font-weight: 500;
}

.bread-current {
  color: #3a5c73 !important;
}
.bread-current-epik {
  color: #2b2b29 !important;
  font-weight: 500;
}
/* Header */

.pilot {
  top: -20px;
  left: 0;
  font-weight: 100;
  font-size: 14px;
  color: #3a5c73 !important;
}
.pilot:hover {
  /* color: #387065 !important; */
  color: #3a5c73 !important;
  cursor: default;
}
.nav-log-in-btn,
.find-us-on i {
  color: #000;
}

.nav-log-in-btn:hover,
.find-us-on i:hover {
  color: #fff;
}

.imgLogo,
.image-logo {
  height: 80px;
  max-width: fit-content;
  width: 100%;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all ease 0.5s;
  position: relative;
  z-index: 99999;
}

.navbar-nav {
  position: relative;
}
.navbar {
  width: 85%;
}
.nav-item {
  font-size: 15px;
  display: flex;
  align-items: center;
}

.nav-item:first-child {
  margin-left: 0;
}

.openbtn {
  background-color: transparent;
  border: none;
  position: relative;
  overflow: hidden;
  color: #236498;
}

.openbtn:hover,
.openbtn:focus {
  color: #236498;
}

.openbtn:hover::after,
.openbtn:focus::after {
  transform: translateX(0);
  opacity: 1;
}

.dropdownPanel {
  position: absolute;
  top: 90px;
  background-color: #fff;
  overflow: hidden;
  transition: 0.5s;
  z-index: 2;
  display: none;
  min-width: fit-content;
  min-height: fit-content;
  border-radius: 0 0 5px 5px;
  padding-top: 1%;
}

.dropdownPanelAnimation {
  animation: dropDown 0.5s ease-in-out forwards;
  transform-origin: top center;
}

@keyframes dropDown {
  0% {
    transform: scaleY(0);
  }

  80% {
    transform: scaleY(1.1);
  }

  100% {
    transform: scaleY(1);
  }
}

.dropdownPanel * {
  text-decoration: none;
}

.dropdownPanel-inner {
  font-size: 14px;
  text-align: start;
  /* overflow: auto;
  max-height: 600px; */
}

.dropdownPanel a {
  font-size: 16px;
  line-height: 2rem;
}

@media screen and (max-width: 768px) {
  .dropdownPanel a {
    line-height: unset;
  }
}

.header-container.position-fixed .image-logo {
  width: 37%;
  padding-top: 0;
  padding-bottom: 10px;
}

.header-container.position-fixed .pilot {
  width: auto;
  padding-right: 8px;
  font-size: 13px;
}

.closebtn {
  position: absolute;
  right: 5px;
  font-size: 30px;
  line-height: 1;
  background: none;
  border: none;
}

.menu-items a,
.menu-items span {
  display: grid;
  text-decoration: none;
  color: #236498;
  padding: 0.25rem 1rem;
}

.menu-items:first-child {
  padding: 0;
}

.menu-items a:hover,
.menu-items span:hover {
  opacity: 0.75;
}

.menu-item-title {
  font-weight: bold;
}

.menu-items {
  padding: 1rem 0;
  font-weight: 500;
}

.menu-items span {
  font-weight: lighter;
}

.menu-items-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

.copy-terms {
  margin-left: 10px;
}

@media screen and (max-width: 575px) {
  .copy-terms {
    flex-direction: row-reverse;
    margin: 0;
  }
}

@media screen and (max-width: 600px) {
  .admin-bar .header-container {
    top: 0;
  }
}

#language-switcher-inner {
  position: relative;
}

@media screen and (min-width: 1400px) {
  .openbtn {
    color: #2b2b29;
    font-weight: bold;
    text-transform: capitalize;
  }

  .openbtn.active {
    background: #fff;
    color: #236498 !important;
  }

  #language-switcher-inner {
    display: none;
  }

  .language-switcher-small {
    position: absolute;
    right: -7%;
    padding: 1.5rem 1rem 0.5rem;
  }
}

@media screen and (max-width: 1399px) {
  .menu-items-container {
    width: 75%;
    /* height: 60%; */
    position: absolute;
    /* top: -130px; */
    z-index: 999999;
  }

  /* #language-switcher {
    display: none;
  } */

  .noScroll {
    overflow: hidden !important;
  }

  .hero-second-menu-bg {
    position: absolute !important;
  }

  .imgLogo,
  .image-logo {
    width: 100%;
  }

  .header-container.position-fixed .image-logo {
    width: 20%;
  }
}

@media screen and (min-width: 769px) {
  .site-logo-resp {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  .imgLogo {
    display: block !important;
  }

  .site-logo {
    display: none;
  }
}

#language-switcher a,
#language-switcher-inner a {
  color: #fff;
  font-size: 14px;
}

.current-language {
  background-color: #000;
}

.secondary-language {
  font-weight: bold;
}

.burger-icon {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  right: 0;
  z-index: 2;
}

.burger-icon-line {
  display: block;
  width: 30px;
  height: 3px;
  margin: 0 0 10px 0;
  background: #236498;
  transition: all 0.5s ease-out;
}

.burger-icon-line:last-child {
  margin: 0;
}

.close .burger-icon-line:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.close .burger-icon-line:nth-child(2) {
  opacity: 0;
}

.close .burger-icon-line:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

@media screen and (min-width: 1400px) {
  .burger-icon {
    display: none;
  }

  .navbar-nav {
    justify-content: end;
  }
}

@media screen and (max-width: 1399px) {
  .navbar-nav {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    z-index: 2;
    top: 0;
    right: 0;
    width: 0;
    transition: height 0.5s ease, width 0.5s ease, visibility 0.2s ease;
    height: 0;
    visibility: hidden;
    pointer-events: none;
    position: fixed;
  }

  .hiddenNav {
    height: 100vh;
    width: 100vw;
    visibility: visible;
    pointer-events: all;
    flex-direction: column !important;
  }
  #language-switcher {
    margin-bottom: 1rem;
    position: unset !important;
  }

  #language-switcher a {
    color: #9f2626 !important;
  }

  .find-us-on {
    margin-bottom: 1rem;
    margin-right: 1rem;
  }

  .dropdownPanel {
    top: 0;
    height: 100vh;
    width: 100vw;
  }

  .logged-in .dropdownPanel {
    margin: 30px 0 0 !important;
  }

  .nav-item {
    padding-bottom: 1rem;
    margin-left: 0;
    color: #236498 !important;
  }

  .openbtn::after {
    bottom: 15px;
  }
}
@media screen and (max-width: 1400px) {
  .dropdownPanel-inner {
    text-align: center;
    height: 100vh;
  }
}

@media screen and (max-width: 768px) {
  .wp-block-ub-content-toggle
    .wp-block-ub-content-toggle-accordion
    .wp-block-ub-content-toggle-accordion-title {
    font-size: 13px !important;
  }
  .cky-btn-revisit-wrapper {
    display: none !important;
  }
  .arrow-wrapper {
    left: 10px !important;
  }

  .dropdownPanel-inner {
    text-align: center;
  }

  .logged-in .dropdownPanel {
    margin: 44px 0 0 !important;
  }

  .menu-items-container {
    gap: 1rem;
  }

  .menu-items {
    display: grid;
    grid-template-columns: 1fr;
    text-align: center;
    gap: 0rem;
  }

  .menu-items span {
    display: none;
  }

  .menu-items a {
    grid-column: span 1;
  }
  .social-icons {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
  }
}

/* Footer */
footer {
  flex-shrink: 0;
  padding: 5rem 1rem 1rem;
  background: #387065;
  color: white;
}

footer a {
  color: white !important;
}

footer .sitemap-links ul {
  list-style: none;
  border-left: 1px solid #ffffff;
}

footer .sitemap-links ul:nth-child(2) {
  border-left: 1px solid #ffffff00;
}

footer .sitemap-links ul li {
  font-size: 16px;
  /* width: 160px; */
  width: 100%;
  transition: width 0.3s ease;
  position: relative;
}

footer .sitemap-links ul li a {
  opacity: 0.9;
  color: var(--footer-text) !important;
}

@media screen and (max-width: 991px) {
  .oldsite-link {
    margin-left: 0px;
  }
}
.sitemap-links ul li a:hover {
  opacity: 1;
  color: var(--footer-text) !important;
  position: relative;
}

.oldsite p {
  opacity: 0.7 !important;
  color: var(--footer-text) !important;
  font-size: 15px;
  position: relative;
}

.oldsite p:hover {
  color: var(--footer-text) !important;
  padding-right: 5px;
}

.oldsite p::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background-color: #fff; /* Adjust this color if needed */
  transition: width 0.3s ease;
}

.oldsite p:hover::after {
  width: 106%;
}
.copyright {
  margin-bottom: 0;
  margin-top: 3px;
  font-size: 14px;
}

footer .vr {
  opacity: 1;
  height: 30px;
  width: 2px;
  margin-left: 10px;
  margin-right: 10px;
}

.vr {
  display: inline-block;
  align-self: stretch;
  width: 1px;
  min-height: 1em;
  background-color: white;
  opacity: 0.25;
}

.cp-logo {
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%)
    hue-rotate(142deg) brightness(105%) contrast(105%);
}

.footer-logo {
  width: 80px;
  margin: 0px 10px;
  border-radius: 6px;
}

.footer-decoration-inner {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
}
.social-icons i {
  font-size: 25px;
  transition: all 0.3s eace;
}

@media screen and (max-width: 400px) {
  .footer-decoration-inner {
    padding: 0;
  }

  .flex_direction_column {
    display: flex;
    flex-direction: column;
  }

  .vr {
    display: none;
  }

  .custom_small_devices_column {
    flex-direction: column-reverse !important;
  }

  .cent_text_sd {
    text-align: center;
  }

  #topbar-header .social-media {
    border-right: none;
  }

  .footer-logo {
    width: 70px;
  }

  .social-media {
    gap: 0.75rem;
    padding: 0;
  }
}

.social-media {
  list-style: none;
  margin-bottom: 0;
  font-size: var(--text-lg);
  /* gap: 1.5rem; */
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

#footer-decoration-inner .social-media a:hover {
  color: #ffcd00 !important;
}

.footer-decoration-inner .social-media a:hover {
  color: #ffcd00 !important;
}

@media screen and (max-width: 768px) {
  .sitemap {
    display: flex;
    flex-direction: column !important;
    align-items: center !important;
  }

  .terms-design {
    justify-content: center !important;
    /* Default is - between (with Bootsrap) */
  }

  .footer-decoration-inner {
    padding: 0;
    justify-content: center !important;
    flex-direction: column;
  }

  footer .sitemap-links ul li a {
    display: inline-block;
    margin-bottom: 10px;
  }
}

.terms-design a {
  text-align: center;
  font-size: 14px;
}

.terms-design:hover a {
  color: var(--section-title);
}

/* Custom Scrollbar */

/* width */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 1px grey;
  border-radius: 3px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #b3b3b3;
  border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #a2a2a2;
}

.holdbody {
  overflow-y: hidden;
}

/* Back to top button */

#back-to-top {
  width: 35px;
  height: 35px;
  position: fixed;
  bottom: 5%;
  right: 5%;
  border-radius: 100%;
  z-index: 400;
  font-size: var(--text-xl);
  padding: 1rem;
  background-color: #fff;
  color: var(--color-politis);
  border: 2px solid var(--color-politis);
  justify-content: center;
  align-items: center;
  display: none;
  animation: fade-in 0.6s ease reverse;
}

@media screen and (max-width: 1699px) {
  .imgLogo,
  .image-logo {
    justify-content: flex-end;
  }
}

@media screen and (max-width: 1530px) {
  #back-to-top {
    bottom: 7%;
  }

  .imgLogo,
  .image-logo {
    width: 70%;
    flex-wrap: nowrap;
    justify-content: center;
    justify-content: flex-end;
  }

  .pilot {
    width: 100%;
  }

  .header-container.position-fixed .image-logo {
    width: 60%;
  }

  .header-container.position-fixed .pilot {
    width: 100%;
  }
  .header-container {
    padding-bottom: 0rem;
  }
}

@media screen and (max-width: 441px) {
  #back-to-top {
    bottom: 10%;
  }
}

@media screen and (max-width: 375px) {
  #back-to-top {
    bottom: 12%;
  }
}

#back-to-top.active {
  animation: fade-in 0.6s ease;
}

#back-to-top:hover > i {
  animation: up-and-down 1s ease infinite;
}

@keyframes fade-in {
  0% {
    transform: translateY(25px);
    opacity: 0;
  }

  30% {
    opacity: 0.3;
  }

  60% {
    opacity: 0.6;
  }

  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}

@keyframes up-and-down {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }

  100% {
    transform: translateY(0);
  }
}

/* Timeliness */

@media screen and (max-width: 1000px) {
  .timeliness-btn-responsive {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
}

/* Category */
.single-post-container {
  display: block;
  box-shadow: 0px 2px 4px #00000029;
  border-radius: 10px;
  width: auto;
  height: auto;
  margin-right: 20px;
}

.single-post-container:hover {
  opacity: 0.75;
}

.date {
  font-weight: lighter;
  font-size: var(--text-xs);
  color: #9e4e39;
}

.date span {
  margin-left: 5px;
  font-family: "Cera-Pro";
}

.single-post-title {
  color: #05668d;
  font-size: 1.1rem !important;
}

.pagination .page-numbers {
  border-radius: 40px;
  padding: 5px 10px;
  color: #49403e;
  margin-right: 5px;
}

.page-numbers.current {
  color: white;
  background-color: #387065;
}

.pagination .page-numbers:hover {
  opacity: 0.75;
}

.pagination a:hover {
  color: #3a5c73;
}

#cat-name {
  color: #387065;
  font-size: var(--text-xl);
  font-weight: bold;
}
.img-page {
  z-index: 1;
  display: flex;
  position: relative;
  justify-content: center;
  align-content: center;
  align-items: center;
  top: 0px;
  left: 0px;
  height: 250px;
  background-color: #f8f0e0e6;
  background-repeat: no-repeat;
}
/* Sidebar */
.sidebar-box a {
  display: block;
  width: 100%;
  border: none;
  background: none;
  color: #3a5c73;
  font-size: 18px;
  font-weight: 500;
  border-bottom: 2.5px solid #387065;
  padding: 0.5rem;
  height: 100%;
}

.sidebar-box a i {
  opacity: 0;
  color: #3a5c73;
}

.sidebar-box a:hover {
  background-color: #f8f0e0e6;
  padding-left: 1.5rem !important;
}

.sidebar-box a.active > i {
  opacity: 1;
}

.sidebar-box a:hover:not(.active) > i {
  animation: slide-in 0.4s ease-in 0.1s 1 normal forwards;
}

@keyframes slide-in {
  0% {
    transform: translateX(-40px);
    opacity: 0;
  }

  10% {
    transform: translateX(-35px);
    opacity: 0.1;
  }

  20% {
    transform: translateX(-30px);
    opacity: 0.3;
  }

  30% {
    transform: translateX(-20px);
    opacity: 0.5;
  }

  50% {
    transform: translateX(-15px);
    opacity: 0.6;
  }

  60% {
    transform: translateX(-10px);
    opacity: 0.7;
  }

  80% {
    transform: translateX(-8px);
    opacity: 0.8;
  }

  90% {
    transform: translateX(-5px);
    opacity: 0.9;
  }

  100% {
    transform: translateX(0px);
    opacity: 1;
  }
}

#categoryDropdown {
  border: 0;
  border-bottom: 2px solid #93ccf2;
}

#categoryDropdown:focus-visible {
  outline: 0;
}

.category-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  background: transparent no-repeat 100% 0%;
}

/* WPML Footer banner registered site as development */
.otgs-development-site-front-end {
  display: none;
}

/* WP Edits */
.wp-block-ub-content-toggle-accordion
  .wp-block-ub-content-toggle-accordion-title {
  padding: 20px 60px;
  font-size: 19px;
  text-align: center;
}

.wp-block-button a {
  border-radius: 8px;
}

.wp-block-ub-content-toggle,
.wp-block-buttons {
  max-width: 700px;
  position: relative;
  top: 0;
  margin-top: 50px;
}

@media screen and (max-width: 768px) {
  .wp-block-ub-content-toggle,
  .wp-block-buttons {
    max-width: 100%;
    margin-top: 25px;
  }
  .header-container {
    padding-bottom: 1rem;
  }
}

.toggle-biografiko {
  left: unset;
  transform: unset;
}

/* .category-post-title {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 5px;
} */

#services-section {
  background-color: var(--main-site-color);
  padding-top: 5rem;
  padding-bottom: 5rem;
}

/* ---------------------------- Services Section CSS ----------------------------*/
#services-section {
  background-color: var(--main-site-color);
  padding-top: 5rem;
  padding-bottom: 5rem;
  min-height: 100vh;
}

#crescent {
  display: inline-block;
  position: relative;
  bottom: 5px;
  left: 5px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: inset 5px 0px #fff, inset 3px 0px 1px 2px #fff;
  padding: 5px;
  margin-bottom: -5px;
  transform: rotate(20deg);
}

#crescent span {
  display: inline-block;
  transform: rotate(-20deg);
}

.service-wrapper a {
  color: var(--white-text-color);
}

.service-wrapper a:hover,
.service-wrapper a:hover .service-inner > .service-description {
  color: #144589;
  text-decoration: none;
}

.service-inner i {
  font-size: 3rem;
  width: 100%;
  margin-bottom: 0.5rem;
}

.service-inner > .service-description {
  display: block;
  margin-top: 20px;
  color: #fff;
  font-size: 16px;
}

.service-wrapper > a {
  display: block;
  padding: 0.5em 0.8em;
  color: #fff;
  position: relative;
  text-decoration: none;
  font-size: 20px;

  box-sizing: border-box;
  transition: all 0.35s ease;

  opacity: 1;
}

.service-wrapper > a::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  height: 26px;
  width: 26px;
  border-top: 3px solid #ffffff;
  border-right: 3px solid #ffffff;
  transform: translate(-100%, 50%);
  transition: all 0.35s ease;
  opacity: 0;
}

.service-wrapper > a:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 26px;
  width: 26px;
  border-bottom: 3px solid #fffffe;
  border-left: 3px solid #ffffff;
  transform: translate(100%, -50%);
  transition: all 0.35s ease;
  opacity: 0;
}

.service-wrapper > a:hover:before,
.service-wrapper > a:hover:after {
  transform: translate(0, 0);
  opacity: 1;
  color: #ffffff;
}

.service-inner:hover {
  color: #ffffff;
}

.service-description:hover {
  color: #a6cfd5 !important;
}
.service-wrapper a:hover,
.service-wrapper a:hover .service-inner > .service-description {
  color: #ffffff !important;
  text-decoration: none;
  opacity: 1;
}

/*-------------------------------------------------------------------
	Single post & Default page
------------------------------------------------------------------*/

body.single #post-image,
body.page-template-default #page-image {
  max-width: 100%;
  position: relative;
  overflow: hidden;
  padding: 0;
  background: #52564f;
  opacity: 0.8;
}

body.single #post-image:after,
body.page-template-default #page-image:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 1;
  background: rgba(0, 0, 0);
  opacity: 0.5;
}

body.single #post-image > h1,
body.page-template-default #page-image > h1 {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 3rem 0;
  width: max-content;
  width: 75%;
  height: 100%;
  z-index: 10;
  word-break: break-word;
  max-width: 100%;
  font-size: calc(1.2rem + 1vw);
}

body.single #post-image > h1 > a,
body.page-template-default #page-image > h1 > a {
  color: #fff;
  text-shadow: 0 0 1px #000;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

body.single #post-image > img,
body.page-template-default #page-image > img {
  max-width: 100%;
  max-height: 312px;
  min-height: 200px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(2px);
  opacity: 0.8;
}

body.single h1 > a,
body.page-template-default h1 > a {
  text-decoration: none;
  color: var(--black-text-color);
}
#recent-posts-sidebar h4 {
  font-weight: 700;
  font-size: 26px !important;
}
body.single #post-container,
body.page-template-default #page-container {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0 auto;
  padding: 20px 20px 60px 20px;
}

body.single #post-datetime,
body.page-template-default #page-datetime {
  display: block;
  text-align: center;
}

body.single #post-content,
body.page-template-default #page-content {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  order: 2;
}

body.single #post-body {
  margin-top: 20px;
}

@media all and (max-width: 1280px) {
  body.single #post-container {
    flex-direction: column;
  }

  body.single #post-content {
    order: 1;
  }

  body.single h1,
  body.page-template-default h1 {
    font-size: 1.8rem;
  }
}

@media screen and (max-width: 768px) {
  body.single #post-image,
  body.page-template-default #page-image {
    padding: 3rem 0;
  }

  body.single #post-image > h1,
  body.page-template-default #page-image > h1 {
    width: 100%;
  }
  #cat-name {
    color: #387065;
    font-size: 18px;
    font-weight: bold;
  }
}

@media all and (max-width: 600px) {
  body.single #post-container,
  body.page #page-container {
    padding: 20px 5px 60px 5px;
  }
}

/* Social Media Share Buttons
=================================== */
body.single .share-content {
  order: 2;
  max-width: 800px;
  width: 100%;
  margin: 40px auto 20px auto;
  text-align: center;
}

body.single .share-title {
  display: block;
  color: #6e6a7b;
}

body.single .share-on-link {
  text-decoration: none;
  font-size: 24px;
  color: #6e6a7b;
}

body.single .share-on-link:hover {
  color: #007bff;
}

/*-------------------------------------------------------------------
	Blogs/Archives
------------------------------------------------------------------*/

#articles-banner {
  position: relative;
  max-width: 100%;
  min-height: 200px;
  max-height: 312px;
  background-repeat: no-repeat;
  background-size: cover;
}

#articles-banner > h1 {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  padding: 0;
  width: max-content;
  width: auto;
  z-index: 10;
}

#articles-banner > h1 > a {
  position: relative;
  color: var(--white-text-color);
  text-decoration: none;
  text-shadow: 0 0 1px #000;
}

#articles-banner:after,
#post-image:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 50%;
  width: 100%;
  background: linear-gradient(to bottom, transparent 0%, #000 100%);
  z-index: 1;
}

#articles-wrapper {
  display: flex;
  max-width: 1140px;
  justify-content: center;
  width: 100%;
  margin: 0 auto;
}

section#articles {
  position: relative;
  order: 2;
  max-width: 1110px;
  width: 100%;
  margin: 40px auto 20px auto;
  box-sizing: border-box;
}

section#articles > h2 {
  padding: 20px 0;
  text-align: center;
}

#articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 40px 20px;
  max-width: 100%;
  margin: 0 auto 60px auto;
  justify-items: center;
}

#articles-grid .article {
  background-color: #fff;
  box-sizing: border-box;
  border-radius: 5px;
  width: 100%;
  height: 370px;
  max-width: 300px;
  color: var(--white-text-color);
  text-align: center;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 1px 1px 2px #c6c4c4;
}

.article-image > a {
  display: block;
  height: 185px;
  background-color: #999999;
  border-radius: 5px 5px 0 0;
}

.article-image.placeholder > a {
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  background-size: cover;
  background-image: url("https://www.dimosagias.gr/wp-content/uploads/2020/11/defthumb.jpg");
}

.article-image .attachment-city-portal-post-category-thumbnail {
  max-width: 100%;
  max-height: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px 5px 0 0;
}

.article-datetime {
  color: var(--black-text-color);
}

.article-title {
  margin: 10px;
  text-align: left;
}

.article-title > a {
  display: block;
  color: var(--black-text-color);
  font-weight: bold;
  font-size: 20px;
  line-height: 24px;
  text-decoration: none;
}

.article-excerpt {
  margin: 10px;
  text-align: left;
  color: var(--black-text-color);
}

.article-go {
  flex: 1;
  position: relative;
  text-align: right;
  padding: 10px 10px 5px 10px;
}

.article-go > a {
  display: inline-block;
  position: absolute;
  right: 10px;
  bottom: 10px;
}

.article-go .fa-angle-right {
  color: var(--black-text-color);
  font-size: 26px;
  line-height: 28px;
}

@media all and (max-width: 1280px) {
  #articles-wrapper {
    flex-direction: column;
  }

  section#articles {
    order: 1;
  }
}

@media all and (max-width: 500px) {
  #articles-banner {
    background-size: 100% 100%;
  }

  section#articles {
    padding-left: 5px;
    padding-right: 5px;
  }

  #articles-grid {
    grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
    grid-gap: 40px 20px;
  }

  #articles-grid .article {
    max-width: 100%;
  }

  .wp-block-ub-content-toggle-accordion
    .wp-block-ub-content-toggle-accordion-title {
    padding: 20px 20px !important;
    font-size: 17px !important;
    text-align: left !important;
    height: 80px !important;
    display: flex !important;
    align-items: center !important;
  }
}

@media print {
  header,
  footer,
  .options-post {
    display: none !important;
  }
}
.wp-block-file a {
  color: #9e4e39;
  font-weight: bold;
}
.wp-block-file * + .wp-block-file__button {
  margin-left: 0.75em;
  color: #fff;
}

/* single download icon */
.custom-download-icon {
  width: 24px;
  height: 24px;
  color: #9e4e39;
  font-size: 17px;
  transition-div-id {
    max-width: 100%;
    max-height: 600px;
    position: relative;
    bottom: -25px;
    box-shadow: 2px 2px 5px #000000d9;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
  }
}

.content-text .wp-block-file:hover .custom-download-icon {
  color: #3a5c73;
}

.wp-block-file {
  font-size: 0.8em;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}

.wp-block-file a:hover {
  color: #3a5c73;
}
#transition-div-id {
  max-width: 100%;
  max-height: 600px;
  position: relative;
  bottom: -25px;
  box-shadow: 2px 2px 5px #000000d9;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
}

.wp-block-button__link:hover {
  color: #fff !important;
}
