/* /*
Theme Name: CityPortal v3
Theme URI: https://crowdpolicy.com
Author: Stavros Melidoniotis, Spyros Gkikas, crowdpolicy
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: Cera-Pro;
  src: url(./assets/fonts/Cera\ Pro\ Thin.otf);
  font-weight: 100;
}

@font-face {
  font-family: Cera-Pro;
  src: url(./assets/fonts/Cera\ Pro\ Light.otf);
  font-weight: 300;
}

@font-face {
  font-family: Cera-Pro;
  src: url(./assets/fonts/Cera\ Pro\ Regular.otf);
  font-weight: 400;
}

@font-face {
  font-family: Cera-Pro;
  src: url(./assets/fonts/Cera\ Pro\ Medium.otf);
  font-weight: 500;
}

@font-face {
  font-family: Cera-Pro;
  src: url(./assets/fonts/Cera\ Pro\ Bold.otf);
  font-weight: 600;
}

@font-face {
  font-family: Cera-Pro;
  src: url(./assets/fonts/Cera\ Pro\ Black.otf);
  font-weight: 700;
}

h1 {
  font-size: var(--text-lg);
}

h2 {
  font-size: var(--text-md);
}

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: bold;
  font-size: 32px;
}

@media screen and (max-width: 1199px) {
  .noScroll {
    overflow: hidden;
  }
}

a {
  text-decoration: none;
}

a:hover {
  color: initial;
}
footer a:hover {
  color: #d9d3d3;
}

img {
  max-width: 100%;
}

main.content {
  flex: 1 0 auto;
  overflow: hidden;
  background-color: #fff;
}

@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;
  letter-spacing: 0px;
  color: #fff;
  background: #0a355d;
  border: none;
  border-radius: 999px;
  overflow: hidden;
  padding: 0.5rem 1rem;
  min-width: 220px;
  height: 50px;
  transition: all 0.5s ease;
}

.all-btn:hover {
  background: #1b5c99;
  color: white;
  border: 2px solid #1b5c99;
}

/* 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 {
  color: #2b2b29;
  font-weight: 600;
  font-size: 0.9rem;
}
.separator {
  color: #2b2b29;
  font-weight: 600;
  font-size: 01rem;
}

/* Header */

/* .pilot {
  top: -20px;
  left: 0;
  font-weight: 100;
  font-size: 14px;
}

.nav-log-in-btn,
.find-us-on i {
  color: #000;
}

.nav-log-in-btn:hover,
.find-us-on i:hover {
  color: #fff;
}

.header-container {
  z-index: 9999;
  background: none;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgb(255 255 255);
  box-shadow: 2px 2px 4px #00000029;
}
.navbar {
  background: white !important;
  width: 80%;
  display: flex;
  flex-direction: row;
  align-items: center;
  min-height: 80px;
}
.navbar-nav {
  padding-right: 1rem;
  padding-left: 1rem;
}

.imgLogo,
.image-logo {
  height: auto;
  max-width: fit-content;
  padding: 0;
  margin: 0;
}

.navbar-nav {
  position: relative;
  gap: 10px;
}

.nav-item {
  font-size: 18px;
}

.nav-item:first-child {
  margin-left: 0;
}

#ajaxsearchlite1 {
  padding: 0.4rem 0.3rem;
  border-radius: 25px !important;
}

.openbtn {
  background-color: transparent;
  border: none;
  position: relative;
  overflow: hidden;
  color: white;
  font-weight: bold !important;
  font-size: 17px !important;
  padding: 1rem;
  width: auto !important;
  text-align: start;
}

.openbtn:hover,
.openbtn:focus {
  opacity: 0.65;
  background: white;
  color: black !important;
}

.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;
}

.dropdownPanel a {
  font-size: 16px;
  line-height: 2rem;
}

@media screen and (max-width: 768px) {
  .dropdownPanel a {
    line-height: unset;
  }
}

.header-container.position-fixed .nav-item {
  font-size: 18px;
}

.closebtn {
  position: absolute;
  right: 5px;
  font-size: 30px;
  line-height: 1;
  background: none;
  border: none;
}

.fixed-bg {
  padding-right: 0 !important;
  padding-left: 0 !important;
}
.fixed-bg .openbtn {
  color: black;
}

.menu-items a,
.menu-items span {
  display: grid;
  text-decoration: none;
  color: black;
  font-weight: bold;
  padding: 0.25rem 0.75rem;
}

.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 a {
  border-top: 1px solid #3b3b3a;
  border-bottom: 1px solid #3b3b3a;
}

.menu-items a:last-child {
  border-bottom: none;
}

.menu-items span {
  font-weight: lighter;
}

.menu-items-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

#language-switcher-inner {
  position: relative;
}

@media screen and (min-width: 1400px) {
  .openbtn {
    color: white;
  }

  .openbtn.active {
    background: #fff;
    opacity: 0.65;
    color: black !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%;
  }

  #language-switcher {
    display: none;
  }

  .noScroll {
    overflow: hidden !important;
  }

  .hero-second-menu-bg {
    position: absolute !important;
  }
}

@media screen and (min-width: 769px) {
  .site-logo-resp {
    display: none;
  }
}

@media (max-width: 1400px) {
  .imgLogo {
    display: block !important;
  }

  .menu-item a,
  .menu-item span {
    color: black !important;
  }
  .navbar-nav span {
    color: black !important;
    position: absolute;
    top: 2rem;
    left: 2rem;
  }

  .navbar-nav {
    gap: 3rem;
  }
  .header-container {
    padding-left: 0rem !important;
    padding-right: 0rem !important;
  }
  .burger-icon {
    right: 2rem !important;
  }
}
@media (max-width: 900px) {
  .menu {
    flex-direction: column !important;
  }

  .submenu {
    background: rgb(255, 255, 255, 255) !important;
  }
}
@media screen and (max-width: 768px) {
  .imgLogo {
    display: block !important;
  }

}

#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: 2rem;
  right: 0;
  z-index: 2;
}

.burger-icon-line {
  display: block;
  width: 30px;
  height: 3px;
  margin: 0 0 10px 0;
  background: #2b5ba8;
  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: #9f2626 !important;
  }

  .openbtn::after {
    bottom: 15px;
  }
} */
/* 
@media screen and (max-width: 768px) {
  .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: 2rem;
  }

  .menu-items span {
    display: none;
  }

  .menu-items a {
    grid-column: span 1;
  }
} */

/* Footer */
footer {
  flex-shrink: 0;
  padding-block: 2rem;
  background-color: #0a355d;
}

footer * {
  color: #f3f2f2;
}

footer a {
  font-size: 14px;
  transition: all 200ms ease-in-out;
}

footer a:hover {
  opacity: 0.75;
}

footer ul,
footer li {
  list-style: none;
  padding: 0;
}

#footer_cp_logo {
  height: 25px;
  width: 25px;
}

#footer_cp_logo svg * {
  fill: #f3f2f2;
  transition: all 0.25s ease-in-out;
}

.footer-logo {
  max-width: fit-content;
  width: 100%;
  height: auto;
}

.site-map-menu {
  display: flex;
  gap: 4rem;
}
.left-menu-site-map {
  border-left: 1px solid white;
  padding-left: 0.5rem !important;
}
.site-map-menu ul {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.site-map-menu ul li {
  display: flex;
}
.site-map-menu ul li a {
  font-size: 15px !important;
  font-weight: lighter;
}

@media screen and (max-width: 400px) {
  .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;
}

.social-media a:hover {
  color: var(--hover_color);
}
.terms-design {
  margin-top: 3rem;
}

@media screen and (max-width: 768px) {
  .terms-design {
    justify-content: center !important;
    /* Default is - between (with Bootsrap) */
  }
  .social-mob {
    justify-content: center;
  }
}

.terms-design a {
  text-align: center;
  transition: all 0.25s ease-in-out;
}

.terms-design a:hover,
.terms-design a:hover #footer_cp_logo svg * {
  color: #b5acac;
  fill: #b5acac;
}

/* 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: 1530px) {
  #back-to-top {
    bottom: 7%;
  }
}

@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;
  width: 290px;
  height: auto;
  margin-bottom: 50px;
}

.single-post-container:hover {
  opacity: 0.75;
}

.date {
  font-size: 15px;
  color: #ee8434;
  font-weight: 400 !important;
}

.date span {
  font-family: "Cera-Pro";
}

.single-post-title {
  color: #05668d;
}

.pagination .page-numbers {
  border-radius: 40px;
  padding: 5px 10px;
  color: #49403e;
  margin-right: 5px;
}

.page-numbers.current {
  color: white;
  background-color: #1b5c9a;
}

.pagination .page-numbers:hover {
  opacity: 0.75;
}

.pagination a:hover {
  color: #1b5c9a;
}

#cat-name {
  color: var(--section-title);
  font-size: var(--text-xl);
}

/* Sidebar */
.sidebar-box {
  transition: all ease-in-out 0.3s;
  display: flex;
  align-items: center;
  border-bottom: 2.5px solid #09355d;
  flex-direction: column;
}
.sidebar-box:hover {
  background: #d4ebf7;
}
.sidebar-box a {
  display: block;
  width: 100%;
  min-width: 320px;
  border: none;
  color: #09355d;
  font-size: 1.1rem;
  font-weight: 500;
  height: 50px;
  padding: 10px;
  transition: all ease-in-out 0.3s;
}

.sidebar-box a i {
  opacity: 0;
  color: var(--secondary);
}

.sidebar-box a:hover {
  background-color: #d4ebf7;
  padding-left: 0.5rem !important;
}

.sidebar-box a.active > i {
  opacity: 1;
}
.sidebar-box .active {
  background-color: #d4ebf7;
  width: 100%;
}
.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-title-wrap,
.wp-block-ub-content-toggle-accordion {
  border-radius: 16px;
}

.wp-block-button a {
  border-radius: 8px;
}

.wp-block-ub-content-toggle,
.wp-block-buttons {
  max-width: 700px;
  position: relative;
  top: 0;
  left: 50%;
  transform: translate(-50%, 0);
  margin-top: 50px;
}

@media screen and (max-width: 768px) {
  .wp-block-ub-content-toggle,
  .wp-block-buttons {
    max-width: 100%;
    margin-top: 25px;
  }
}

.toggle-biografiko {
  left: unset;
  transform: unset;
}

.category-post-title {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.bread-cat,
.bread-current {
  color: #1b5c9a;
  font-weight: 600;
  font-size: 0.9rem;
}

[id] {
  scroll-margin-top: 150px;
}

.cky-btn-revisit-wrapper {
  z-index: 9999 !important;
}
