/*
Theme Name: City Portal
Theme URI: https://crowdpolicy.com/
Description: City Portal WordPress Theme
Requires at least: WordPress 5.0.0
Author: Gov Team, Crowdpolicy
Author URI: https://www.crowdpolicy.com/meet-the-team/
Version: 1.1 haidari update
Text Domain: city-portal
Domain Path: /languages
*/

/*-------------------------------------------------------------------
	Table of Contents
--------------------------------------------------------------------
	00. CSS Reset
	01. General
	02. Header
	03. Content
	04. Footer
*/

/*-------------------------------------------------------------------
	00. CSS Reset
-------------------------------------------------------------------*/
@import url("https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap&subset=greek,greek-ext,latin-ext");

html,
body {
  border: none;
  margin: 0;
  padding: 0;
  font-family: "Noto Sans", sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
address,
big,
cite,
code,
em,
font,
img,
small,
strike,
sub,
sup,
li,
ol,
ul,
fieldset,
form,
label,
legend,
button,
table,
caption,
tr,
th,
td {
  border: none;
  font-size: inherit;
  line-height: inherit;
  margin: 0;
  padding: 0;
  text-align: inherit;
}

blockquote::before,
blockquote::after {
  content: "";
}

/*-------------------------------------------------------------------
	01. General
-------------------------------------------------------------------*/
html,
body {
  min-height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.text-main {
  color: var(--main-site-color);
}

.text-secondary {
  color: var(--secondary-site-color);
}

.text-black {
  color: var(--black-text-color);
}

.text-white {
  color: var(--white-text-color);
}

.one-line-box {
  box-sizing: border-box;
  display: -webkit-box !important;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.two-line-box {
  box-sizing: border-box;
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  color: #21759b;
}

.three-line-box {
  box-sizing: border-box;
  display: -webkit-box !important;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.text-no-overflow {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.hidden {
  display: none !important;
}

/* Search box
=================================== */
#search {
  width: 100%;
  position: relative;
  margin: 0 auto;
}

#search form {
  max-width: 480px;
  margin: 0 auto;
}

#search-title {
  display: block;
  font-size: 30px;
  text-align: center;
  color: #ffffff;
  text-shadow: 1px 1px 1px #c1c1c026;
  margin-bottom: 40px;
}

#searchbar-container {
  position: relative;
}

#searchbar-container > button {
  display: block;
  height: 100%;
  width: 88px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  color: #fff;
  border-radius: 0px 3px 3px 0px;
  background-color: var(--secondary-site-color);
  text-align: center;
  font-size: 32px;
  transition: all 0.5s;
  cursor: pointer;
}

#searchbar-container > button:hover,
#searchbar-container > button:focus {
  opacity: 0.8;
}

#searchbar-container > input {
  box-shadow: 3px 2px 10px #0000004d;
  border: 0;
  border-radius: 3px;
  background-color: rgba(255, 255, 255, 0.87);
  height: 56px;
  width: 100%;
  padding: 10px 0 10px 10px;
  box-sizing: border-box;
}

#searchbar-container input::-webkit-input-placeholder,
#searchbar-container input::placeholder {
  color: #464749;
  font-weight: 300;
  font-size: 16px;
  line-height: 2em;
}

@media all and (max-width: 800px) {
  #search {
    max-width: 80%;
  }

  #searchbar-container > button {
    margin-right: -1px;
  }
}

/*-------------------------------------------------------------------
	02. Header
-------------------------------------------------------------------*/
.helper-heading {
  background-color: var(--main-site-color);
  color: var(--white-text-color);
  min-height: 50px;
}

.helper-heading > .container {
  height: 100%;
}

.helper-heading > .container > .d-flex {
  height: 100%;
  -ms-flex-item-align: center;
  -ms-grid-row-align: center;
  align-self: center;
  min-height: 40px;
}

@media (max-width: 400px) {
  .helper-heading {
    min-height: 100px;
  }
}

.social-section a.font-awesome-icon,
.helping-section a.font-awesome-icon {
  color: var(--white-text-color);
  font-size: 21px;
  text-decoration: none;
  margin: 0;
  line-height: 1;
  -ms-flex-item-align: center;
  -ms-grid-row-align: center;
  align-self: center;
  margin-top: auto;
  margin-bottom: auto;
  margin: 0 5px;
}

.helping-section > *,
.social-section > * {
  margin: 0 5px;
  font-size: 18px;
}

.helping-section #lang_choice_1 {
  background-color: var(--main-site-color);
  color: var(--white-text-color);
  border-color: transparent;
  cursor: pointer;
  display: none;
}

.social-section p,
.helping-section a,
.social-section .emergency-tel {
  max-width: -webkit-fit-content;
  max-width: -moz-fit-content;
  max-width: fit-content;
  color: var(--white-text-color);
  text-decoration: none;
  -ms-flex-item-align: center;
  -ms-grid-row-align: center;
  align-self: center;
  font-size: 16px;
}

.social-section a.font-awesome-icon:hover,
.helping-section a:hover,
.social-section .emergency-tel:hover {
  color: var(--secondary-site-color);
}

.navigation {
  background-color: var(--default-background-color);
  color: var(--black-text-color);
  transition: all 0.2s;
}

/* Burger (https://jonsuh.com/hamburgers/)
=================================== */
#responsive-menu-toggle {
  display: none;
}

.hamburger {
  padding: 15px 15px;
  display: inline-block;
  cursor: pointer;
  transition-property: opacity, filter;
  transition-duration: 0.15s;
  transition-timing-function: linear;
  font: inherit;
  color: inherit;
  text-transform: none;
  background-color: transparent;
  border: 0;
  margin: 0;
  overflow: visible;
}

.hamburger:hover {
  opacity: 0.7;
}

.hamburger.is-active:hover {
  opacity: 0.7;
}

.hamburger.is-active .hamburger-inner,
.hamburger.is-active .hamburger-inner::before,
.hamburger.is-active .hamburger-inner::after {
  background-color: #000;
}

.hamburger-box {
  width: 40px;
  height: 24px;
  display: inline-block;
  position: relative;
}

.hamburger-inner {
  display: block;
  top: 50%;
  margin-top: -2px;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  width: 40px;
  height: 4px;
  background-color: #000;
  border-radius: 4px;
  position: absolute;
  transition-property: transform;
  transition-duration: 0.15s;
  transition-timing-function: ease;
}

.hamburger-inner::before,
.hamburger-inner::after {
  content: "";
  display: block;
}

.hamburger-inner::before {
  top: -10px;
}

.hamburger-inner::after {
  bottom: -10px;
}

/** 3DY */
.hamburger--3dy .hamburger-box {
  perspective: 80px;
}

.hamburger--3dy .hamburger-inner {
  transition: transform 0.15s cubic-bezier(0.645, 0.045, 0.355, 1),
    background-color 0s 0.1s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.hamburger--3dy .hamburger-inner::before,
.hamburger--3dy .hamburger-inner::after {
  transition: transform 0s 0.1s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.hamburger--3dy.is-active .hamburger-inner {
  background-color: transparent !important;
  transform: rotateX(-180deg);
}

.hamburger--3dy.is-active .hamburger-inner::before {
  transform: translate3d(0, 10px, 0) rotate(45deg);
}

.hamburger--3dy.is-active .hamburger-inner::after {
  transform: translate3d(0, -10px, 0) rotate(-45deg);
}

/* Mega Menu
=================================== */
#header-menu-container {
  width: 100%;
  max-width: 100%;
  flex: 1;
}

#menu-site-main-menu {
  position: relative;
  display: flex;
  flex-direction: row;
  list-style: none;
  justify-content: center;
}

#menu-site-main-menu > li.menu-item {
  line-height: normal;
  padding-top: 15px;
  padding-bottom: 15px;
}

#menu-site-main-menu > li.menu-item > a {
  line-height: normal;
  height: 40px;
  white-space: nowrap;
  color: #6e6a6a;
  font-weight: 700;
  font-size: 15px;
}

#menu-site-main-menu > li.menu-item:not(:last-child) {
  margin-right: 30px;
}

/*
https://fontawesome.com/v4.7.0/cheatsheet/
https://astronautweb.co/snippet/font-awesome/
*/
#menu-site-main-menu > li.menu-item.menu-item-has-children:after {
  content: "\f078";
  display: inline-block;
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  text-decoration: inherit;
  cursor: pointer;
  color: #6e6a6a;
}

#menu-site-main-menu > li.menu-item.contact-menu-item {
  background-image: url("./assets/images/360-degrees.svg");
  background-size: auto 40px;
  background-repeat: no-repeat;
  background-position: center right;
  padding-right: 20px;
}

#menu-site-main-menu > li.menu-item > ul.sub-menu {
  display: grid;
  height: 0;
  visibility: hidden;
  opacity: 0;

  grid-template-columns: repeat(auto-fit, minmax(200px, 200px));
  grid-gap: 20px 40px;
  grid-auto-flow: dense;
  position: absolute;
  top: 35px;
  left: 0;
  width: 100%;
  max-width: 100%;
  padding: 20px;
  background: #fff;
  list-style: none;
  transition: opacity 0.8s;
  z-index: 0;
}

#menu-site-main-menu > li.menu-item.menu-item-has-children:hover > ul.sub-menu {
  height: auto;
  visibility: visible;
  opacity: 1;
  z-index: 99999999999999;
}

#menu-site-main-menu
  > li.menu-item.menu-item-has-children:hover
  > ul.sub-menu
  > li.menu-item
  > a {
  display: inline-block;
  padding: 5px;
  /* background-color: #6e6a6a; */
}

@media screen and (max-width: 1250px) {
  nav.navbar {
    flex-direction: column;
  }

  nav.navbar > .navbar-brand {
    margin-right: 0;
  }

  #header > .container.navigation {
    padding: 0;
    margin: 0;
    max-width: 100%;
  }

  #header > .container.navigation > .row {
    margin: 0;
  }

  #menu-site-main-menu > li.menu-item {
    font-size: 14px;
  }
}

@media screen and (max-width: 1000px) {
  nav.navbar {
    flex-direction: row;
    padding: 20px 40px !important;
  }

  #header-menu-container {
    display: none;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 99999999999999;
    width: auto;
    transform: translateY(100%);
  }

  #header-menu-container.activated {
    display: inline-block;
  }

  #menu-site-main-menu > li.menu-item.contact-menu-item {
    background: none;
  }

  #menu-site-main-menu {
    flex-direction: column;
  }

  #menu-site-main-menu {
    display: inline-block;
    background: #464749;
    margin-bottom: 0;
    border-bottom-left-radius: 4px;
  }

  #menu-site-main-menu > li.menu-item:not(:last-child) {
    margin-right: 0;
  }

  #menu-site-main-menu > li.menu-item {
    position: relative;
    padding: 10px 20px;
  }

  #menu-site-main-menu > li.menu-item > a {
    height: auto;
    display: inline-block;
  }

  #menu-site-main-menu .menu-item-has-children {
    /* cursor: pointer; */
  }

  #menu-site-main-menu
    > li.menu-item.menu-item-has-children:hover
    > ul.sub-menu
    > li.menu-item
    > a {
    padding: 0;
    /* background-color: #6e6a6a; */
  }

  #menu-site-main-menu
    > li.menu-item.menu-item-has-children:hover
    > ul.sub-menu {
    height: 0;
    visibility: hidden;
    opacity: 0;
  }

  #menu-site-main-menu
    > li.menu-item.menu-item-has-children.activated
    > ul.sub-menu {
    height: auto;
    visibility: visible;
    opacity: 1;
    z-index: 99999999999999;
  }

  #responsive-menu-toggle {
    display: inline-block;
    position: absolute;
    right: 40px;
  }
}

/* #mega-menu-wrap-header_menu #mega-menu-header_menu > li.mega-menu-item > a.mega-menu-link {
	font-size: 15px;
}

#mega-menu-header_menu {
	z-index: 9999999999 !important;
}

#mega-menu-header_menu > li.contact-menu-item {
	background-image: url('./assets/images/360-degrees.svg') !important;
	background-repeat: no-repeat !important;
	background-position: top right !important;
	padding-right: 15px !important;
}

@media all and (max-width: 1000px) {
	#mega-menu-header_menu > li.contact-menu-item {
		background-image: none !important;
	}
	.mega-menu-wrap #mega-menu-header_menu {
		display: -webkit-box !important;
		display: -ms-flexbox !important;
		display: flex !important;
		-webkit-box-pack: space-evenly;
		-ms-flex-pack: space-evenly;
		justify-content: space-evenly;
		font-size: 16px !important;
	}
} */

.main-logo {
  max-width: 100px;
  max-height: 100px;
  max-width: 70px;
  height: auto;
  transition: all 0.5s;
}

.navbar {
  padding: 0.5rem 0 !important;
}

.social-section {
  justify-content: flex-start;
}

.helping-section {
  justify-content: flex-end;
}

@media screen and (max-width: 768px) {
  .helping-section {
    flex-direction: column;
  }

  .hover-search-wrapper {
    width: auto !important;
    height: auto !important;
    margin: 0 auto;
  }
}

@media screen and (max-width: 700px) {
  .social-section {
    justify-content: center;
  }

  .helping-section {
    justify-content: center;
  }

  .navbar-brand {
    position: relative;
    z-index: 1;
  }
}

/* Hover search bar style */
.hover-search-wrapper {
  display: table;
  width: 100%;
  height: 100%;
  max-width: -webkit-fit-content;
  max-width: -moz-fit-content;
  max-width: fit-content;
}

.hover-search-wrapper .hover-search-innr {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
}

/*** STYLES ***/
.hover-search {
  display: inline-block;
  position: relative;
  height: 15px;
  width: 15px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0px 8px 7px 0px;
  padding: 6px;
  border: 3px solid var(--white-text-color);
  border-radius: 25px;
  -webkit-transition: all 200ms ease;
  -o-transition: all 200ms ease;
  transition: all 200ms ease;
  cursor: text;
  top: 8px;
}

.hover-search:after {
  content: "";
  position: absolute;
  width: 3px;
  height: 10px;
  right: -5px;
  top: 10px;
  background: var(--white-text-color);
  border-radius: 3px;
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-transition: all 200ms ease;
  -o-transition: all 200ms ease;
  transition: all 200ms ease;
}

.hover-search.active,
.hover-search:hover {
  width: 150px;
  /* margin-top: 8px; */
}

.hover-search.active:after,
.hover-search:hover:after {
  height: 0px;
}

.hover-search input {
  width: 100%;
  border: none;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-family: Helvetica;
  font-size: 12px;
  color: inherit;
  background: transparent;
  outline-width: 0px;
  position: relative;
  top: -15px;
}

/*-------------------------------------------------------------------
	03. Content
-------------------------------------------------------------------*/

/* Google Form
=================================== */
#google-form-iframe-container {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

#google-form-iframe-container > iframe {
  display: block;
  margin: 0 auto !important;
  max-width: 100%;
  min-height: 3500px;
}

@media all and (max-width: 600px) {
  #google-form-iframe-container > iframe {
    min-height: 4000px;
  }
}

/* Cookie Notice
=================================== */
#cookie-notice {
  background-color: rgba(0, 0, 0, 0.85) !important;
}

#cookie-notice > .cookie-notice-container {
  max-width: 1040px;
  margin: 0 auto;
}

#cn-notice-buttons {
  display: block;
  margin-top: -40px;
}

.cn-buttons-container,
.cn-text-container {
  display: block;
}

#cn-accept-cookie {
  background-color: var(--main-site-color) !important;
  background-position: initial;
  background-image: none !important;
  transition: none;
  float: right;
  margin: 0 15px 10px 0;
}

#cn-accept-cookie:hover {
  opacity: 0.9;
}

/*-------------------------------------------------------------------
	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;
}

/* allaxa to background by matina */
body.single #post-image:after,
body.page-template-default #page-image:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 100%;
  width: 100%;
  /* background: linear-gradient(to bottom, transparent 0%, #000 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: var(--white-text-color);
  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,
body.page-template-default h1 {
  text-align: center;
  padding: 30px 0 10px 0;
}

body.single h1 > a,
body.page-template-default h1 > a {
  text-decoration: none;
  color: var(--black-text-color);
}

body.single #post-container,
body.page-template-default #page-container {
  display: flex;
  max-width: 1140px;
  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%;
  }
}

@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-image: url('https://development.crowdpolicy.com/city-portal-dev/wp-content/uploads/2020/01/photo-of-people-doing-handshakes.jpg'); */
  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;
  /* background-color: #EDEEEF; */
  /* padding: 20px; */
  max-width: 1110px;
  width: 100%;
  /* border-radius: 4px; */
  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;
  /* border-top: 12px solid var(--main-site-color); */
  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-size: 100% 100%; */
  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;
  /* width: 100%; */
  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%;
  }
}

/*-------------------------------------------------------------------
	04. Footer
-------------------------------------------------------------------*/
/* Pushes footer at the bottom of the page */
#footer {
  padding-left: 0;
  padding-right: 0;
  margin-top: auto;
  background-color: var(--default-background-color);
  color: var(--black-text-color);
}

#footer-columns-container {
  border-top: 1px solid var(--black-text-color);
  padding-top: 40px;
}

#footer-columns-container > div {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

#footer-columns-container .footer-flex-column:not(:last-child) {
  padding-right: 0.5rem;
}

#digital-toolkit-title {
  display: block;
  text-align: center;
  font-weight: bold;
}

#digital-toolkit {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 150px));
  grid-gap: 10px;
  grid-auto-flow: dense;
  max-width: 320px;
  margin-top: 20px;
}

.digital-toolkit-service {
  display: block;
  box-shadow: 2px 2px 3px rgba(0, 10, 10, 0.15);
  transition: background 0.5s;
}

.digital-toolkit-service:hover {
  text-decoration: none;
  background-color: #fff;
}

.digital-toolkit-service > img {
  height: 80px;
  max-width: 80px;
  display: block;
  margin: 0 auto;
}

.digital-toolkit-service > span {
  display: block;
  text-align: center;
  color: var(--black-text-color);
}

@media all and (max-width: 1024px) {
  #footer-columns-container > div {
    flex-direction: column;
    align-items: center;
  }

  .footer-flex-column {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
  }

  #digital-toolkit {
    margin: 20px auto;
  }
}

#footer .horizontal-line {
  width: 100%;
  background-color: var(--black-text-color);
}

#footer-gdpr-links {
  width: 100%;
  text-align: center;
}

#footer-gdpr-links a {
  color: var(--black-text-color);
  text-decoration: underline;
}

#footer-gdpr-links a:hover {
  color: #00a2e8;
}

.implemented {
  padding: 25px 5px;
  max-width: 100%;
}

.implemented a {
  color: var(--black-text-color);
  /*margin: auto;*/
  text-align: center;
}

.implemented a:hover {
  color: var(--secondary-site-color);
  text-decoration: none;
  display: flex;
  justify-content: space-around;
}

.implemented a img {
  height: 40px;
  width: auto;
  margin-left: 0.5rem;
}

.footer-links-list {
  list-style: none;
  max-width: 300px;
}

.footer-links-list > li:not(:last-child) {
  margin-bottom: 8px;
}

.footer-links-list a {
  color: var(--black-text-color);
}

@media all and (max-width: 1024px) {
  #footer > .container,
  #footer .row > .container {
    max-width: 100%;
    width: 100%;
  }

  .footer-links-list {
    margin: 20px auto;
    max-width: 100%;
  }
}

@media all and (max-width: 768px) {
  #footer .flex-row {
    flex-direction: column !important;
    align-items: center;
  }

  #footer .flex-row > .p-2 {
    text-align: center;
  }

  #footer .flex-row > .p-2 > .footer-links-list {
    text-align: left;
  }

  #digital-toolkit {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 100px));
    grid-gap: 10px;
    grid-auto-flow: dense;
    max-width: 300px;
    margin-top: 20px;
  }
}

.grecaptcha-badge {
  visibility: hidden;
}

/* ------------------- Sticky menu css------------------- */

.fixed-header {
  z-index: 170;
  margin: 0 auto;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

.topheadfixed {
  display: none;
}

.fixed-logo-size {
  max-width: 80px;
  bottom: 0px !important;
}

.fixed-main-menu {
  margin-bottom: 0px;
}

.fixed-main-menu > li.menu-item > a {
  font-size: 13px !important;
}

.nav-pad {
  padding-top: 0px !important;
}

/*## Anchors ##*/

.ub_table-of-contents,
.ub_table-of-contents-collapsed {
  padding: unset !important;
}

.ub_table-of-contents {
  background-color: unset !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  font-weight: bold;
}

.ub_table-of-contents ul,
.ub_table-of-contents ol {
  margin-left: unset !important;
}

.ub_table-of-contents-container a {
  color: #5d6b4a !important;
}

#page-body li {
  list-style: none !important;
}

/*#############*/

/* Moving hero social icon to left (uncer accesibility) */

.the_champ_sharing_container.the_champ_vertical_sharing.the_champ_hide_sharing {
  left: 0px;
  right: unset !important;
  top: 500px !important;
}

/*#############*/

.mec-load-month-link {
  color: #000 !important;
}
.mec-color .mec-table-side-day {
  color: #000 !important;
}
.mec-event-detail {
  color: #000 !important;
}
.mec-wrap p {
  color: #000 !important;
}
.mec-table-nullday {
  color: #000 !important;
}
.mec-calendar-day {
  color: #000 !important;
}
