/*
Theme Name: Elidek
Text Domain: elidek
Author: FORTH-ICS

Author URI: https://www.ics.forth.gr
Description: This is a custom theme implemented for the purposes of the Elidek Institute by a development team of software engineers in FORTH-ICS. This team consists of the following people: Ioannis Chrysakis, Manos Dimitrakis, Antonios Katzourakis, Manos Kalaitzakis and Dimitris Aggelakis.
Tags: custom-theme
*/

body {
	font-family: 'Open Sans', sans-serif !important;
}


a.fundingAnnounce,
.promotedNewsContent {
	font-family: 'Open Sans', sans-serif !important;
}

a.fundingAnnounce .content,
.promotedNewsContent .content {
	font-family: 'Open Sans', sans-serif !important;
	font-size: 11pt !important;
}

.screen-reader-text {
  position: absolute !important;
  left: -999em;
}

.entry-content {
	overflow: hidden;
    padding: 0 1.5em 0 1.5em;
	font-size: 15px;
}

.entry-content img {
	float: left;
	margin: 0 2em 2em 0;
	/*display: inline-block;*/
	/*overflow: visible;*/
}

.entry-header .entry-date {
	font-size: 14px;
}

div.callsEntries {
	display:block;
	padding:10px 0;
	position:relative;
	border-bottom: 1px solid 1px solid rgba(0, 0, 0, 0.1);
}

.callDetails {
	display: table;
}

.callDetails div {
	display: table-row;
	width: 100%;
	margin: 5px 0 0 5px;
}

.callDetails dt,
.callDetails dd {
	display:table-cell;
	padding: 5px 0 0 5px;
}

.callDetails dt {
	font-weight: bold;
	padding-right: 20px;
}

/* LATEST NEWS */
div.callsEntry { display:block; padding:10px 20px; position:relative; }
div.callsEntry:after { content:" "; position:absolute; width:100%; height:1px; bottom:0; background-color:#e6e6e6; }
.callsEntry a  { text-decoration:none; vertical-align:top; }
/*.callsEntry a .photo { width:25%; margin-left:4%; display:block; height:100px; background-color:f8f8f8; float:left; position:relative; overflow:hidden; }*/
/*.callsEntry a .photo img { height:inherit; width:100%; object-fit:cover;    }*/
/*.callsEntry a:hover .photo, .callsEntry a:focus .photo {   filter:brightness(0.92) contrast(114%) saturate(110%); opacity: 0.9;  }*/
.callsEntry .title { color:#000;  margin:8px 0 0 0; display:block; }
.callsEntry .date { font-size:10pt; margin:0px 0 10px 0; display:block; font-weight:bolder; }
.callsEntry a:hover .title, .callsEntry a:focus .title  { text-decoration:underline; }
/*.callsEntry a:after { clear:both; position:relative; display:block; width:100%; height:1px; color:grey; content:" ";  }*/

.callsPagination {
	display:block; padding:10px 20px; position:relative;
}

.latestNewsArea .date {
	font-size: 13px;
	margin-bottom: 1em;
	display: inline-block;
}

.acf-map {
	width: 100%;
	height: 400px;
	border: #ccc solid 1px;
	margin: 20px 0;
}

/* fixes potential theme css conflict */
.acf-map img {
   max-width: inherit !important;
}

.contact {
	display: table;
	width: 100%;
}

.contact input {
	width: 100%;
	border-radius: 2px;
	height: 20px;
	border: 1px solid #ddd;
}

.contact textarea {
	width: 100%;
	border-radius: 2px;
	border: 1px solid #ddd;
}

.contact-left {
	display: table-cell;
	vertical-align: top;
	width: 40%;
	padding-right: 2em;
}
.contact-right {
	display: table-cell;
	vertical-align: top;
	width: 60%;
}


/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #eee;
	clip: auto !important;
	clip-path: none;
	color: #444;
	display: block;
	font-size: 1em;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}

