/*
Theme Name: HDA
Description: HDA theme
Author: Joinweb
Author URI: http://www.joinweb.gr
Template: JoinwebBasic
Version: 1.0.0
*/
/* general */
a {
	text-decoration: none;
	color: #e76f51;
}
body {
	color: #264653;
	font-family: 'Open Sans', sans-serif;
}
.img-responsive,
figure img {
	width: 100%;
}
.unstyledList {
	list-style: none;
	padding: 0;
	margin: 0;
}

.narrowWrapper {
	margin: 0 auto;
	padding: 0 40px;
}
@media screen and (max-width: 767px) {
	.narrowWrapper {
		width: 100%;
		padding: 0 15px;
	}
}
@media screen and (min-width: 768px){
	.narrowWrapper {
		width: 640px;
	}
}
.divider {
	border-top: 12px solid #2a9d8f;
	width: 52px;
	margin: 40px auto 55px;
	height: 0;
}
.minHeight {
	min-height: calc( 100vh - 612px );
}
/* buttons */
.buttonContainer {
	text-align: center;
}
.button {
	border-radius: 21px;
	padding: 15px 40px;
	font-weight: normal;
	font-size: 1.4rem;
	line-height: 1;
	display: inline-block;
}
.orangeBtn {
	background: #e76f51;
	color: #fff;
}
.outlineBtn {
	border: 1px solid #e76f51;
	background: #fff;
	color: #e76f51;
}

/* homepage */
.section {
	padding: 100px 0;
}
.sectionTitle {
	text-align: center;
	font-size: 3.6rem;
	line-height: 1.2;
	margin: 0 0 50px;
}

/* single */
.single .sectionTitle {
	margin-bottom: 20px;
}
.postDetails {
	list-style: none;
	justify-content: center;
	margin: 50px 0 20px;
}
.post-categories {
	list-style: none;
}
.othersContainer .buttonContainer {
	margin: 50px 0;
}
.alignwide {
	margin-left: -140px;
	margin-right: -140px;
}

@media screen and (max-width: 768px) {
	.alignwide {
		margin-left: -15px;
		margin-right: -15px;
	}
}

/* archive */
.archiveGrid {
	grid-template-columns: minmax(0, 1fr) 300px;
	grid-column-gap: 30px;
	margin-bottom: 60px;
}
.archiveGrid_posts {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	grid-row-gap: 30px;
	grid-column-gap: 30px;
}
.sidebar h3 {
	font-size: 1.6rem;
	font-weight: bold;
	line-height: 1.2;
	color: #264653;
	position: relative;
	margin: 0 0 25px;
}
.sidebar h3:after {
	position: absolute;
	width: 100%;
	height: 1px;
	background: #ddd;
	content: "";
	bottom: -15px;
	left: 0;
}
.sidebar ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.sidebar ul ul {
	margin-left: 20px;
}
.sidebar ul li {
	margin: 10px 0;
}
@media screen and (max-width: 768px) {
	.archiveGrid {
		grid-template-columns: minmax(0, 1fr);
		grid-column-gap: 20px;
	}
	.archiveGrid_posts {
		grid-template-columns: minmax(0, 1fr);
		grid-row-gap: 20px;
		grid-column-gap: 20px;
	}
}

/* header */
.topBar {
	background: #f5f5f5;
	padding: 5px 0;
}
.gridSplit {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	grid-template-areas: "left right";
}
.languages ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: row;
}
.languages li {
	margin-right: 10px;
}
.searchFormContainer {
	text-align: right;
}

.headerLogo {
	max-width: 100%;
}
.searchForm label {
	display: none;
}
.searchForm input {
	border-radius: 12px;
	border: 1px solid #aaa;
	background: #fff;
	color: #637c86;
	padding: 5px 10px;
}
.mainContent {
	position: relative;
	z-index: 1;
	background: #fff;
	margin-bottom: 80px;
}
.breadcrumbs {
	margin-bottom: 20px;
}

/* archives */
.archiveTitle {
	text-align: center;
	margin-bottom: 30px;
}
.eventsArchiveGrid {
	grid-template-columns: 1fr 1fr;
	grid-column-gap: 10px;
	grid-row-gap: 10px;
}
.eventPreview {
	background: url("assets/icons/arrow.svg") no-repeat left 20px top 20px #f5f5f5;
	padding: 20px 60px;
}
a.eventPreview .event_time,
a.psddEventPreview .event_time {
	font-size: 1.5rem;
	font-weight: bold;
	color: #264653;
	margin-bottom: 10px;
}
a.eventPreview .event_title,
a.psddEventPreview .event_title {
	font-size: 1.4rem;
	font-weight: bold;
	margin-bottom: 20px;
	color: #666;
}
.categoriesList {
	font-weight: bold;
}
.psddEventArticle {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	grid-template-areas: "image text";
	margin-bottom: 30px;
}

/* members list */
.membersTitle {
	font-size: 2rem;
	font-weight: bold;
}
.membersList {
	list-style: none;
	padding: 0;
	margin: 0;
	-webkit-column-count: 3;
	-moz-column-count: 3;
	column-count: 3;
}

/* hospitals list */
.hospitalsArchiveGrid article {
	padding: 25px 20px;
	background: #f6f6f6;
	color: #555;
	font-size: 1.4rem;
}
.hospitalsArchiveGrid article:nth-of-type(odd) {
	background: #fff;
}
.hospitalsArchiveTitle {
	background: #e9c46a;
	color: #fff;
	font-size: 1.6rem;
	font-weight: bold;
	padding: 15px 20px;
}
.hospitalThumb {
	grid-template-columns: minmax(0, 3fr)  minmax(0, 2fr)  minmax(0, 1fr)  169px;
}
.hospitalThumb .button {
	margin: -12px 0;
	max-height: 45px;
}
@media screen and (max-width: 768px) {
	.hospitalsArchiveTitle {
		display: none;
	}
	.hospitalThumb {
		grid-template-columns: minmax(0, 1fr);
	}
	.hospitalThumb .button {
		margin: 10px 0 0;
		text-align: center;
	}
	.psddEventArticle {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas: "image" "text";
	}
}

/* event single */
.eventImage {
	padding: 0 60px;
	margin-bottom: 30px;
}
.eventDetails {
	grid-template-columns: 1fr 1fr;
	grid-column-gap: 30px;
}
.eventData .details {
	background: #f5f5f5;
	padding: 20px 20px 20px 50px;
}
.eventDetails li {
	margin-bottom: 30px;
	font-size: 1.4rem;
}
.eventText p {
	font-size: 1.6rem;
	margin: 0 0 20px;
}
.backLink {
	display: block;
	text-align: center;
	margin: 60px auto 40px;
}

	/* dietitian single */
.dietitian_page {
	grid-template-columns: 378px minmax(0, 1fr);
	grid-column-gap: 28px;
	grid-row-gap: 28px;
	margin-bottom: 40px;
}
.dietitian_data img{
	max-width: 100%;
	height: auto;
	min-width: 100%;
}
.dietitian_data {
	font-size: 2rem;
	line-height: 2;
}
.dietitian_data h2,
.dietitian_data h3 {
	font-size: 2rem;
	line-height: 2;
	font-weight: normal;
	margin: 0 0 60px;
}
.dietitian_data h2 span {
	font-weight: bold;
}
.dietitian_data h3 {
	margin-bottom: 10px;
	font-weight: bold;
}
.dietitian_data li {
	position: relative;
}
.dietitian_data li:before {
	position: absolute;
	content: "";
	display: block;
	width: 24px;
	height: 24px;
	left: -30px;
	top: 8px;
	background: url("assets/icons/address.svg") no-repeat;
}
.dietitian_data li.address:before {
	background-image: url("assets/icons/address.svg");
}
.dietitian_data li.telephone:before {
	left: -32px;
	background-image: url("assets/icons/phone.png");
}
.dietitian_data li.mobile:before {
	left: -27px;
	background-image: url("assets/icons/phone.svg");
}
.dietitian_data li.fax:before {
	width: 26px;
	height: 26px;
	left: -32px;
	background-image: url("assets/icons/fax.png");
}
.dietitian_data li.email:before {
	left: -32px;
	background-image: url("assets/icons/email.svg");
}

.dietitian_data li.facebook:before {
	left: -32px;
	background-image: url("assets/icons/fb.svg");
}

.dietitian_data li.twitter:before {
	left: -32px;
	background-image: url("assets/icons/twitter.svg");
}

.dietitian_data li.instagram:before {
	left: -32px;
	background-image: url("assets/icons/insta.svg");
}

.dietitian_data li.linkedin:before {
	left: -32px;
	background-image: url("assets/icons/linkedin.svg");
}


.acf-map {
	width: 100%;
	height: 525px;
}
.acf-map img {
   max-width: inherit !important;
}

.searchDietitian {
	text-align: center;
	margin-bottom: 60px;
}
.searchDietitian h2 {
	font-size: 2.8rem;
	font-weight: bold;
	margin: 20px 0;
}
.searchDietitian input {
	border-radius: 22px;
	border: solid 1px #aaaaaa;
	background-color: #ffffff;
	padding: 13px 16px;
}

/* search results */
.searchGrid_diaitologos {
	grid-template-columns: 1fr 1fr;
	grid-column-gap: 60px;
	grid-row-gap: 20px;
}
.searchGrid_diaitologos h2 {
	margin-bottom: 0;
}

/* footer */
.footer {
	background: linear-gradient(to bottom, #2a2330, #0f0d14);
	color: #fff;
	padding: 50px 0 20px;
	font-size: 1.4rem;
	font-weight: normal;
	margin-top: 60px;
}
.footer a {
	color: #fff;
}
.footer h3 {
	font-size: 1.6rem;
	font-weight: bold;
	margin-bottom: 10px;
}
.footerGrid {
	grid-template-columns: 1fr 2fr 1fr;
	grid-template-areas: "footerMenu info footerSocial";
}
.footer-menu {
	grid-area: footerMenu;
}
.footer-info {
	grid-area: info;
	text-align: center;
}
.footer-social {
	grid-area: footerSocial;
	text-align: right;
}
.footerNav ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.footerNav ul li {
	margin-bottom: 10px;
}
.footerLogo img {
	width: 80px;
	height: auto;
	margin-bottom: 10px;
}
.footer-info h3 {
	width: 270px;
	margin: 0 auto 10px;
}
.infoItems {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
	grid-column-gap: 0;
	list-style: none;
	padding: 0;
	margin: 0;
}
.infoItems li:nth-child(1) {
	text-align: right;
}
.infoItems li:nth-child(2) {
	text-align: center;
}
.infoItems li:nth-child(3) {
	text-align: left;
}
.footer-second-nav {
	margin-top: 50px;
	margin-bottom: 50px;
	text-align: center;
}
.footerNav2 ul {
	display: flex;
	flex-direction: row;
	list-style: none;
	margin: 0;
	padding: 0;
	justify-content: end;
}
.footerNav2 li {
	margin: 0 10px;
}
.footer-social ul {
	justify-content: flex-end;
}
.footer-social li {
	width: 30px;
	margin: 10px;
}
.hiddenFootnote {
	position: fixed;
	bottom: 0;
	width: 100%;
	z-index: 0;
	padding: 30px 0;
	background: #232323;
	color: #ccc;
}
.footer_copyright {
	margin-top: 50px;
	grid-template-columns: 2fr 1fr;
}

@media screen and (max-width: 992px) {
	.hideSmall {
		display: none !important;
	}
	.searchForm input {
		max-width: 100%;
	}
	.languages li {
		margin-right: 20px;
	}
	.footerGrid {
		grid-template-columns: 1fr;
		grid-template-areas: "info" "footerMenu" "footerSocial";
		text-align: center;
	}
	.footer-info h3 {
		margin-bottom: 20px;
		font-size: 1.4rem;
		width: 230px;
	}
	.infoItems {
		display: initial;
	}
	.infoItems li:nth-child(1),
	.infoItems li:nth-child(2),
	.infoItems li:nth-child(3) {
		text-align: center;
		margin: 20px 0;
		font-size: 1.4rem;
	}
	.footer-menu {
		font-size: 1.2rem;
	}
	.footer-menu h3 {
		margin: 30px 0 10px;
		font-size: 1.2rem;
	}
	.footer .socials {
		justify-content: center;
	}
	.footer-social {
		text-align: center;
	}
	.footer-social h3 {
		margin-top: 30px;
		font-size: 1.4rem;
	}
	.menu-footer-kato-container {
		margin-top: 20px;
	}
	.footer_copyright {
		margin-top: 50px;
		grid-template-columns: 1fr;
	}
	.footerNav2 li {
		margin: 0 4px;
		font-size: 1.4rem;
		font-weight: normal;
	}
	.footerCredits span {
		display: block;
	}

	.searchGrid_diaitologos{
		grid-template-columns: 1fr;
	}
}

/**ACF Form **/
.acf-label{
	text-transform: uppercase;
}
.acf-label p.description{
	text-transform: none;
}

.acf-input textarea,
.acf-input input[type=text],
.acf-input input[type=email]{
	border-radius: 12px;
	border: 1px solid #aaaaaa;
	padding: 8px;
	color: #264653;
}
.acf-input textarea:focus,
.acf-input input[type=text]:focus,
.acf-input input[type=email]:focus{
	border: 1px solid #e76f51;
	outline: none;
}
.acf-field-group > .acf-label{
	color: #e76f51;
}

/***Login form ***/
#loginform,
#edituser{
	width: 320px;
	margin: auto;
}

#loginform label,
#edituser label{
	display: block;
	font-weight: bold;
	margin: 0 0 3px;
	padding: 0;
	color: #e76f51;
	text-transform: uppercase;
}

#loginform input[type="text"],
#loginform input[type="password"],
#edituser input[type="text"],
#edituser input[type="password"]{
	width: 100%;
	padding: 4px 8px;
	margin: 0;
	font-size: 14px;
	line-height: 1.4;
	border-radius: 12px;
	border: 1px solid #aaaaaa;
	color: #264653;
}

#loginform input[type="text"]:focus,
#loginform input[type="password"]:focus,
#edituser input[type="text"]:focus,
#edituser input[type="password"]:focus,
#loginform #wp-submit:focus{
	outline: none;
}

#loginform .button{
	border: 1px solid #e76f51;
	background: #fff;
	color: #e76f51;
	cursor: pointer;
}
.acf-field p.description{
	white-space: pre-line;
}

.page-id-170 .acf-field-6409d2af38ade{
	display: none;
}

.other-info{
	margin-top: 30px;
}

.other-info ul{
	margin: 0
}

.other-info h3{
	margin-top: 10px;
}

.bio h3{
	text-align: center;
}

.bio p{
	white-space: pre-line;
}

.languages
{
	display: flex;
}

.dieticianSpan
{
	color: rgb(38, 70, 83);
	margin-left:5px;
	padding-top: 3px;
}
.dieticianUser
{
	width: 27px;
}

@media screen and (max-width: 767px) {
	.topBar .gridSplit
	{
		grid-template-columns: 1fr;
		grid-template-areas:
        "left"
        "right";
	}
	.searchFormContainer {
		text-align: left;
		margin-top: 12px;
	}
}