/*-------------------------------------------------------------------
	Front page 
------------------------------------------------------------------*/

/* ---------------------------- Slider CSS ---------------------------- */
#slider-section {
	position: relative;
}

.front-slider-container {
	width: 100%;
	position: relative;
	overflow: hidden;
	min-height: 700px;
	height: 100vh;
	margin-left: auto;
	margin-right: auto;
}

#slider-section .front-slider-container>iframe,
#slider-section .front-slider-container>video {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
	min-width: 100%;
	min-height: 100vh;
	/* min-height: 100%; */
	/* enable it if a min-height is also set for .front-slider-container */
	width: 100%;
	height: auto;
	overflow: hidden;
	object-fit: cover;
	box-sizing: border-box;
}

/* https://codepen.io/desandro/pen/RNByrj */
#slider-section .front-slider-container>.main-carousel {
	position: absolute;
	width: 100% !important;
	/* min-width: 100%; */
	min-height: 100vh;
}

.carousel-cell {
	width: 100% !important;
	box-sizing: border-box;
	background: #222;
	min-height: 100vh;
}

.carousel-cell>img {
	display: block;
	width: 100% !important;
	height: 100%;
	min-height: 100vh;
	object-fit: fill;
	background: rgba(56, 56, 56);
	opacity: 0.8;

}

#search form {
	max-width: none;
}

#searchbar-container {
	min-width: 500px;
}

@media all and (max-width: 600px) {
	.carousel-cell>img {
		object-fit: cover;
	}

	#searchbar-container {
		min-width: 300px;
	}

	#searchbar-container>button {
		width: 80px;
		font-size: 24px;
	}

	#searchbar-container>input {
		height: 40px;
	}
}

/* ---------------------------- Custom Announcement Section CSS ---------------------------- */
#promo-banner-container {
	display: flex;
	justify-content: center;
	min-height: 300px;
}

#promo-banner-container>img {
	max-height: 250px;
	height: 250px;
	width: auto;
	align-self: center;
}

#promo-banner-container>h3 {
	margin: auto 0;
	align-self: center;
	text-align: center;
	font-size: 18px;
	width: 45%;
}

#promo-banner-container>h3>span {
	display: block;
	font-weight: bold;
	margin-bottom: 20px;
}

#promo-banner-container:hover {
	text-decoration: none;
}

#promo-banner-container:hover>h3 {
	color: #0056b3;
}

@media all and (max-width: 1024px) {
	#promo-banner-container {
		flex-direction: column;
		padding: 60px 5px;
	}

	#promo-banner-container>h3 {
		width: 100%;
	}

	#promo-banner-container>img {
		max-width: 300px;
		align-self: center;
		margin-bottom: 20px;
	}
}

/* ---------------------------- Actions Section CSS ---------------------------- */
#actions-section {
	position: relative;
	background-color: var(--main-site-color);
	width: 100%;
	min-height: 300px;
}

#wish-services-container {
	display: flex;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: 70px;
	z-index: 10;
	justify-content: center;
}

#wish-services-container .wish-service {
	width: 300px;
	height: 300px;
}

#wish-services-container .wish-service .wish-service-title {
	text-align: center;
}

#wish-services-container .wish-service .wish-service-img {
	margin: 0 auto;
	text-align: center;
}

#wish-services-container .wish-service .wish-service-img img {
	max-width: 100%;
	height: 80px;
	width: auto;
	margin: 20px auto;
}

#wish-services-container .wish-service>a {
	padding: 20px;
	display: block;
	width: 100%;
	height: 100%;
	transition: all 0.3s;
}

#wish-services-container .wish-service>a:hover {
	text-decoration: none;
	box-shadow: 1px 1px 2px 2px #969292;
}

#wish-services-container .wish-service:not(:last-child) {
	margin-right: 20px;
}

#wish-services-container .wish-service-title {
	font-weight: bold;
	font-size: 1.2em;
}

#wish-services-container .wish-service-desc {
	text-align: center;
}

@media all and (max-width: 1024px) {
	#wish-services-container {
		position: relative;
		left: auto;
		transform: none;
		bottom: auto;
		flex-direction: column;
		align-items: center;
		background-color: var(--default-background-color);
	}

	#wish-services-container .wish-service {
		max-width: 100%;
		width: 100%;
	}

	#wish-services-container .wish-service:not(:last-child) {
		margin-right: 0;
	}
}

/* ---------------------------- Enimerosi Section CSS ---------------------------- */
#enimerosi-section {
	background-color: var(--default-background-color);
	padding-top: 40px;
}

#enimeroseis-posts {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: 1fr 130px;
	grid-column-gap: 20px;
	grid-row-gap: 20px;
	justify-items: center;
	justify-content: center;
}

#deltia-posts {
	grid-area: 1 / 1 / 2 / 2;
	border-radius: 4px;
	background-color: var(--white-text-color);
	width: 100%;
	/* max-width: 620px; */
	display: flex;
	flex-direction: column;
	box-shadow: 0px 0px 5px #c1c1c033;
}

.deltia-thumbnail-link {
	display: block;
	max-width: 100%;
	width: 100%;
	min-height: 300px;
	/* flex: 1; */
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
}

.deltia-thumbnail-link>img {
	max-width: 100%;
	min-height: 350px;
	max-height: 400px;
	width: 100%;
	background-color: lightgray;
	object-fit: cover;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	max-height: 400px;
}

.deltia-text-wrapper {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.deltia-heading {
	display: block;
	color: var(--main-site-color);
	font-weight: bold;
	text-transform: uppercase;
	padding: 10px 20px;
}

.deltia-title {
	display: block;
	padding: 10px 20px;
	word-break: break-word;
}

.deltia-title .text-no-overflow {
	white-space: normal;
}

#deltia-posts footer {
	padding: 10px 20px;
}

#deltia-posts footer>span {
	color: #b4b5b7;
	font-style: italic;
}

#deltia-posts footer>a {
	color: #4573B1;
	float: right;
}

#anakoinoseis-posts {
	grid-area: 1 / 2 / 2 / 3;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 100%;
	box-shadow: 0px 0px 5px #c1c1c033;
}

#anakoinoseis-posts>.anakoinosi {
	display: flex;
	border-radius: 4px;
	background-color: var(--white-text-color);
}

#anakoinoseis-posts>.anakoinosi:not(:last-child) {
	margin-bottom: 20px;
}

.anakoinoseis-thumbnail-link {
	display: block;
	max-width: 100%;
	width: 200px;
	border-top-left-radius: 4px;
	border-bottom-left-radius: 4px;

}

.anakoinoseis-thumbnail-link>img {
	max-width: 100%;
	/* max-height: 150px; */
	height: 100%;
	object-fit: cover;
	border-top-left-radius: 4px;
	border-bottom-left-radius: 4px;
}

.anakoinoseis-heading {
	display: block;
	color: var(--secondary-site-color);
	font-weight: bold;
	text-transform: uppercase;
	padding: 10px 20px;
}

.anakoinoseis-title {
	display: block;
	padding: 10px 20px;
	word-break: break-word;
}

#anakoinoseis-posts footer {
	padding: 10px 20px;
}

#anakoinoseis-posts footer>span {
	color: #b4b5b7;
	font-style: italic;
}

#anakoinoseis-posts footer>a {
	color: #4573B1;
	float: right;
}

#all-deltia {
	grid-area: 2 / 1 / 3 / 2;
	color: var(--white-text-color);
	align-self: center;
}

#all-anakoinoseis {
	grid-area: 2 / 2 / 3 / 3;
	color: var(--white-text-color);
	align-self: center;
}

.enimerosi-button {
	display: block;
	padding: 10px 20px;
	background-color: #5292cd;
	border: 1px solid #a78166;
	color: var(--white-text-color);
	border-radius: 4px;
	transition: all 0.3s;
}

.enimerosi-button:hover {
	background-color: var(--white-text-color);
	color: #5292cd;
	text-decoration: none;
}

@media all and (max-width: 1200px) {
	#enimeroseis-posts {
		grid-template-columns: 1fr;
		grid-template-rows: auto 130px 1fr 130px;
		grid-column-gap: 0px;
	}

	#deltia-posts {
		grid-area: 1 / 1 / 2 / 2;
		/* max-width: 330px; */
	}

	#all-deltia {
		grid-area: 2 / 1 / 3 / 2;
	}

	#anakoinoseis-posts {
		grid-area: 3 / 1 / 4 / 2;
	}

	#all-anakoinoseis {
		grid-area: 4 / 1 / 5 / 2;
	}

	.deltia-title .text-no-overflow {
		white-space: normal;
		/* max-width: 300px; */
	}
}

@media all and (max-width: 600px) {
	#anakoinoseis-posts>.anakoinosi {
		flex-direction: column;
	}

	.anakoinoseis-thumbnail-link {
		width: 100%;
		height: 200px;
		border-radius: 4px 4px 0 0;
	}

	.anakoinoseis-thumbnail-link>img {
		max-height: 250px;
	}
}

/* ---------------------------- Wish Section CSS ---------------------------- */

#wish-section {
	/* background-image: url(../images/bg.svg); */
	background-color: var(--main-site-color);
	background-repeat: no-repeat;
	background-position: center;
	width: 100%;
	height: 100%;
}

#wish-section .text-main {
	color: var(--white-text-color);
}

.wish-wrapper {
	height: 220px;
}

.wish-wrapper a {
	height: 100%;
}

.wish-wrapper a:hover {
	text-decoration: none;
}

.wish-inner {
	background: var(--white-text-color) 0% 0% no-repeat padding-box;
	/* border: var(--secondary-site-color) solid 1px; */
	-webkit-box-shadow: 0px 0px 5px #c1c1c033;
	box-shadow: 0px 0px 5px #c1c1c033;
	border-radius: 2px;
	opacity: 1;
	max-width: 100%;
	-webkit-transition: -webkit-box-shadow 0.3s;
	transition: -webkit-box-shadow 0.3s;
	-o-transition: box-shadow 0.3s;
	transition: box-shadow 0.3s;
	transition: box-shadow 0.3s, -webkit-box-shadow 0.3s;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	transition: all 0.2s;
}

.wish-inner:hover {
	-webkit-box-shadow: 0 0 11px rgba(33, 33, 33, 0.2);
	box-shadow: 0 0 11px rgba(33, 33, 33, 0.2);
	background-color: var(--main-site-color);
}

.wish-img svg {
	height: 120px;
	width: auto;
	margin: auto;
	fill: var(--main-site-color);
	transition: all 0.2s;
}

.wish-inner:hover .wish-img svg {
	fill: var(--secondary-site-color);
}

.wish-img {
	text-align: center;
	width: 30%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

.wish-text {
	width: 70%;
	text-align: center;
	cursor: pointer;
}

.wish-title {
	color: var(--main-site-color);
	font-size: 18px;
	cursor: pointer;
	transition: all 0.2s;
}

.wish-hr {
	background-color: var(--main-site-color);
}

.wish-inner:hover .wish-hr {
	background-color: var(--white-text-color);
}

.wish-desc {
	color: var(--main-site-color);
	font-size: 15px;
	cursor: pointer;
	transition: all 0.2s;
}

.wish-inner:hover .wish-title,
.wish-inner:hover .wish-desc {
	color: var(--white-text-color);
}

/* ---------------------------- Society Section CSS ----------------------------*/
#society-section {
	background-color: var(--default-background-color);
	padding-top: 5rem;
	padding-bottom: 5rem;
}

#society-section .owl-stage {
	margin: 0 auto;
}

/* #society-section .owl-item {
	width: 100% !important;
} */

#society-section .tab.row {
	margin-bottom: 40px;
}

#society-section .tab.row>.col-md-4 {
	padding-left: 0;
	padding-right: 0;
}

#society-section .tablinks {
	color: var(--main-site-color);
	text-decoration: none;
	cursor: pointer !important;
	display: block;
	padding-bottom: 20px;
	border-bottom: 3px solid #c7c9cb;
	box-shadow: 2px 2px 3px rgba(0, 10, 10, 0.15);
	transition: background 0.5s;
}

#society-section .tablinks.active {
	border-bottom: 3px solid var(--main-site-color);
	background-color: #fff;
}

#society-section .tablinks>i {
	font-size: 52px;
	line-height: 66px;
}

.society-slide {
	/* width: 300px; */
	height: 300px !important;
	background: #ffffff 0% 0% no-repeat padding-box;
	-webkit-box-shadow: 0px 0px 5px #1a181833;
	box-shadow: 0px 0px 5px #1a181833;
	opacity: 1;
}

.society-slide-inner {
	height: 100%;
	padding: 5px;
	text-align: center;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-box-pack: space-evenly;
	-ms-flex-pack: space-evenly;
	justify-content: space-evenly;
	min-width: 250px;
	max-width: 250px;
}

.society-slide-inner .post-title>h3>a {
	font-size: 18px;
	color: var(--black-text-color);
	text-decoration: none;
	word-break: break-word;
}

.society-slide-inner .post-body {
	word-break: break-word;
}

/* ---------------------------- Services Section CSS ----------------------------*/
#services-section {
	background-color: #3F778C;
	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-right: 10px; */
	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: 12px;
}

/* https://codepen.io/dig-lopes/pen/XovjNL */
.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;
}

.service-wrapper>a::before {
	content: '';
	position: absolute;
	right: 0;
	top: 0;
	height: 26px;
	width: 26px;
	border-top: 3px solid #144589;
	border-right: 3px solid #150f64;
	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 #144589;
	border-left: 3px solid #150f64;
	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;
}

/* ---------------------------- Edimos Section CSS ----------------------------*/
#edimos-section {
	background-color: var(--default-background-color);
	padding-bottom: 5rem;
	padding-top: 5rem;
}

#edimos-section .owl-stage {
	margin: 0 auto;
}

.swiper-container-edimos {
	width: 100%;
	height: 400px;
	padding-top: 50px;
	padding-bottom: 50px;
}

.dimos-slide {
	display: block;
	/* width: 300px; */
	height: 300px !important;
	background: #ffffff 0% 0% no-repeat padding-box;
	-webkit-box-shadow: 0px 0px 5px #1a181833;
	box-shadow: 0px 0px 5px #1a181833;
	opacity: 1;
}

.dimos-slide:hover {
	text-decoration: none;
}

.dimos-slide:hover .dimos-slide-inner p>strong {
	color: var(--main-site-color);
}

.dimos-slide-inner {
	height: 100%;
	padding: 1.75rem;
	text-align: center;
}

.dimos-slide-inner img {
	height: 60px;
	width: auto;
	margin-bottom: 20px;
}

/* ---------------------------- Calendar Section Section CSS ----------------------------*/

/* ---------------------------- Numbers Section Section CSS ----------------------------*/
#numbers-section {
	background-color: #A78166;
	padding-bottom: 5rem;
	padding-top: 5rem;
	color: var(--white-text-color);
	font-size: 18px;
}

.counter {
	font-size: 72px;
	-ms-flex-item-align: center;
	-ms-grid-row-align: center;
	align-self: center;
}

/* ---------------------------- Map Section Section CSS ----------------------------*/

.map-wrapper {
	position: relative;
}

.map-filters-wrapper {
	position: absolute;
	z-index: 100;
	top: 70px;
	left: 50px;
	width: 300px;
	height: 335px;
	background: #EDEEEF 0% 0% no-repeat padding-box;
	opacity: 0.68;
}

.map-filters {
	opacity: 1;
	/* position: relative;
  top:50%;
  left:50%;
  transform: translateX(-25%) translateY(-50%);
  margin:0 auto; */
	height: 100%;
	padding: 2rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.map-filters .custom-control {
	padding-top: 1rem;
}

@media all and (max-width: 1024px) {
	.map-filters-wrapper {
		position: relative;
		top: 0;
		left: 0;
		width: 100%;
	}

	.map-filters {
		/* left: 0; */
		transform: unset;
	}
}

/* -------------------------- Useful Section Section CSS --------------------------*/
#useful-section .container>h2 {
	color: var(--black-text-color);
	text-align: center;
	margin-bottom: 60px;
}

#useful-info-container {
	display: flex;
	justify-content: center;
}

#useful-info-container .useful-info {
	text-align: center;
}

#useful-info-container .useful-info:not(:last-child) {
	margin-right: 60px;
}

@media all and (max-width: 1024px) {
	#useful-info-container {
		flex-direction: column;
	}

	#useful-info-container .useful-info:not(:last-child) {
		margin-right: 0;
		margin-bottom: 30px;
	}

	#useful-info-container .useful-info:not(:first-child) {
		margin-top: 30px;
	}
}

#useful-info-container .useful-info>i {
	display: block;
	color: var(--main-site-color);
	text-align: center;
	font-size: 36px;
	line-height: 34px;
	margin-bottom: 60px;
}

#useful-info-container .useful-info>.useful-info-link {
	display: block;
	text-align: center;
	color: var(--black-text-color);
	width: fit-content;
	width: -moz-fit-content;
	margin: 0 auto;
}

#useful-info-container .useful-info>.useful-info-link:not(:last-child) {
	margin-bottom: 10px;
}

/* ---------------------------- Links Section Section CSS ----------------------------*/
#links-section {
	background-color: var(--white-text-color);
}

#links-section>.container {
	padding: 40px 0;
}

.useful-links {
	margin-top: 1rem;
	margin-bottom: 1rem;
}

.useful-links img {
	max-height: 90px;
	width: auto;
	max-width: 100%;
}

/* ---------------------------- Contact Section Section CSS ----------------------------*/

a.social-link {
	color: #fff;
}

a.social-link:hover {
	color: #ff911e;
}

@media (max-width: 1024px) {
	.map-filters {
		left: 0;
		/* transform: translateY(-50%); */
		padding: 2rem;
	}
}

@media (max-width: 400px) {
	.helper-heading>.container>.d-flex {
		min-height: 100px;
	}
}

#contact-section {
	background-color: var(--main-site-color);
	padding-bottom: 5rem;
	padding-top: 5rem;
	color: var(--white-text-color);
}

.contact-municipality,
.contact-mayor {
	display: flex;
	flex-direction: column;
}

.contact-municipality {
	margin-top: 1rem;
}

.contact-mayor a,
.contact-municipality a {
	color: var(--white-text-color);
	text-decoration: none;
}

.contact-mayor a:hover,
.contact-municipality a:hover {
	color: var(--secondary-site-color);
	text-decoration: none;
}

.contact-mayor img,
.contact-municipality img {
	max-width: 180px;
	min-height: 180px;
	height: auto;
	padding: 0;
}

.contact-flex {
	display: flex;
}

.contact-flex>div {
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 240px;
	height: 300px;
}

#mayor-image {
	height: 200px;
	align-self: center;
}

#mayor-details {
	height: 200px;
	align-self: center;
	display: flex;
	align-items: center;
}

#muni-image {
	height: 200px;
	align-self: center;
}

#muni-details {
	height: 200px;
	align-self: center;
	display: flex;
	align-items: center;
}

#mayor-send-message,
#mayor-send-idea,
#muni-send-request,
#muni-view-telephones {
	height: 100px;
	align-self: center;
}

#mayor-send-message>a,
#mayor-send-idea>a,
#muni-send-request>a,
#muni-view-telephones>a {
	display: block;
	border: 1px solid var(--white-text-color);
	border-radius: 4px;
	color: var(--white-text-color);
	width: 200px;
	padding: 10px;
	transition: all 0.2s;
}

#mayor-send-message>a:hover,
#mayor-send-idea>a:hover,
#muni-send-request>a:hover,
#muni-view-telephones>a:hover {
	border: 1px solid var(--main-site-color);
	color: var(--main-site-color);
	background-color: var(--white-text-color);
}

@media all and (max-width: 1024px) {
	.contact-flex {
		flex-direction: column;
	}

	.contact-flex>div,
	#mayor-image,
	#mayor-details,
	#muni-image,
	#muni-details,
	#mayor-send-message,
	#mayor-send-idea,
	#muni-send-request,
	#muni-view-telephones {
		height: auto;
	}

	#mayor-details,
	#muni-details {
		margin-top: 40px;
	}

	.contact-municipality {
		margin-top: 40px;
		margin-bottom: 40px;
	}

	#mayor-send-message,
	#mayor-send-idea,
	#muni-send-request,
	#muni-view-telephones {
		margin-top: 40px;
	}
}

@media all and (max-width: 768px) {
	#contact-section .container {
		margin: 0 auto;
	}

	#social-links {
		margin-bottom: 60px;
	}
}