/* This css file contains the styles for section /ekloges2014/ */

/*  Display property 
----------------------------------------------------------------------*/
.block { 
  	display: block; 
}

ul.inline-block li,
.inline-block { 
	display: inline-block; 
	vertical-align: middle;
		*display: inline;
		zoom: 1;
}

ul.inline li,
.inline {
	display: inline;
}

/* Buttons & Forms
----------------------------------------------------------------------*/
.ekloges-field.select {
	width: 235px;
	margin: 0 auto;
	position: relative;	
	overflow: hidden;
}

.ekloges-field.select select {
	background-color: #D22127;
	color: #ffffff;
	border: none;
	width: 280px;
	padding: 5px 10px;
	height: 30px;
	display: block;
	cursor: pointer;
		-webkit-box-shadow: none;
		-webkit-border-radius: 0 !important;
		-webkit-appearance: none;
	font-size: 0.875em;
	text-align: left;
}

.ekloges-field.select select.grey_bg {
	background-color: #989898;
}

.ekloges-field.select:after {
	content: "";
	display: inline-block;
	position: absolute;
	right: 7px;
	top: 13px;
	width: 0;
	height: 0;
	border-top: 5px solid #ffffff;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	z-index: 2;
	cursor: pointer;
}

.ekloges-button.button,
.ekloges-button button {
	background-color: #D22127;
	color: #ffffff;
	border: none;
	box-shadow: none;
		-webkit-box-shadow: none;
			-moz-box-shadow: none;
	font-family: 'Open Sans Condensed', sans-serif;
	font-size: 1em;
	line-height: 1em; 
	padding: 8px;
}

.ekloges-button.button:hover,
.ekloges-button button:hover {
	background-color: #000000;
}


/* Grid >> Children (Alpha ~ First, Omega ~ Last)
----------------------------------------------------------------------*/
.alpha {
  padding-left: 0 !important;
}

.omega {
  padding-right: 0 !important;
}

.noPaddings {
  padding-left: 0 !important;
  padding-right: 0 !important;
}


/* Clearing Styles
-----------------------------------------------------------------------*/
.clear {
	clear: both;
	display: block;
}

.clear:before,
.clear:after {
	content: '\0020';
	display: block;
	overflow: hidden;
	visibility: hidden;
	width: 0;
	height: 0;
}

.clear:after {
	clear: both;	
}

/* Containers
-----------------------------------------------------------------------*/
.span1, .span2, .span3, .span4,
.span5, .span6, .span7, .span8,
.span9, .span10, .span11, .span12 {
	position: relative;
	padding-left: 0.625em;
	padding-right: 0.625em;
	float: left;
}

.span1 { width: 8.333333%; }
.span2 { width: 16.66667%; }
.span3 { width: 25%; }
.span4 { width: 33.333333%; }
.span5 { width: 41.66667%; }
.span6 { width: 50%; }
.span7 { width: 58.33333%; }
.span8 { width: 66.666677%; }
.span9 { width: 75%; }
.span10 { width: 83.333333%; }
.span11 { width: 91.66667%; }
.span12 { width: 100%; }

#ekloges-wrapper .content-box,
#candidate .content-box {
	padding-top: 14px;
	padding-bottom: 14px;
	border-bottom: 1px solid #d4d4d4;
}


#ekloges-wrapper {
	max-width: 1024px;
	background-color: #ffffff;
	padding: 20px 12px 0;
}

.oldie #ekloges-wrapper {
	width: 1024px;
}

#main-footer, 
.copyright {
	max-width: 970px!important;
}

/* -----------------------------------------------------------------------------------
    HEADER
-------------------------------------------------------------------------------------- */
#ekloges-header {
	position: relative;
}

#ekloges-header a.span12 {
	background: url(../img/new/ekloges_header.jpg) no-repeat scroll right top #d22127;
	background-size: cover;
	display: block;
	padding: 12px 17px 22px;
	margin-bottom: 14px;
}

#ekloges-header h1,
#ekloges-header h2,
#ekloges-header h3 {
	font-family: 'Open Sans Condensed', sans-serif;
	color: #ffffff;
	margin: 0;
}

#ekloges-header h1,
#candidate #ekloges-header h2 {
	font-size: 1.75em;
	line-height: 1em; 
	font-weight: normal;
	padding-left: 4px;
	margin-bottom: 5px;
}

#ekloges-header h2,
#candidate #ekloges-header h3 {
	/*font-family: Helvetica, sans-serif;*/
	font-size: 1.125em; /* 18px */
	line-height: 1.166em; /* 21px */
	font-weight: normal;
}

#ekloges-header .button {
	float: right;
	position: absolute;
	top: 12px;
	right: 17px;
	z-index: 10;
}

.ekloges-intro {
	font-style: italic;
	line-height: 1.3;
}

	/* Subject Groups
	---------------------------------------------------------------------*/
	.subject span {
		display: block;
		font-family: 'Open Sans Condensed', sans-serif;
		font-size: 2.8125em;
		color: #D22127;
		padding-bottom: 8px;
	}

	.subject {
		padding-top: 20px;
		background: url("../img/dot-header.gif") repeat-x scroll top left #ffffff;
	}

	#subject_groups.content-box {
		padding-top: 0;
		padding-bottom: 20px;
	}

	#subject_groups.content-box {
		background: url("../img/dot-header.gif") repeat-x scroll bottom left #ffffff;
		border: none;
		margin-bottom: 25px;
	}

	#subject_groups ul {
		margin: 0;
	}

	#subject_groups ul li {
		padding: 7px 30px 7px 0;
	}

	#subject_groups ul li a {
		background-color: #eeeeee;
		display: block;
		padding: 0 5px;
		font-size: 0.9375em;
		line-height: 1.3125em;
		font-style: italic;

	}

	#subject_groups ul li:hover a,
	#subject_groups ul li a.selected {
		background-color: #d22127;
		color: #ffffff;
	}

	/* Sector Groups
	---------------------------------------------------------------------*/
	#sector_groups {
		padding: 10px 0;
		margin-top: 10px;
		border-top: 1px solid #d4d4d4;
	}

	#sector_groups .select.row {
		background: url(../img/new/strip.gif) repeat scroll transparent;
		padding: 5px 0;
		margin-top: 10px;
	}

/* -----------------------------------------------------------------------------------
    INDEX
-------------------------------------------------------------------------------------- */
	/* Candidates Grid
	---------------------------------------------------------------------*/
	#candidates_grid {
		/*margin-left: -0.625em;
		margin-right: -0.625em;*/
		background-color: #f1f1f1;
	}

	#candidates_grid .subject {
		background: transparent;
		padding-top: 0;
	}

	#candidates_grid .subject span {
		color: #989898;
	}

	.candidates-sorting {
		text-align: right;
		font-style: italic;
	}

	.candidates-sorting a#a-to-z {
		padding-right: 6px;
	}

	.candidates-sorting a:hover,
	.candidates-sorting a:focus,
	.candidates-sorting a.active {
		color: #d22127;
	}

	.candidate-box {
		padding-top: 0.625em;
		padding-bottom: 0.625em;
	}

	.candidate-box a {
		position: relative;
		display: block;
	}

	.candidate-box img {
		display: block;
		/*max-height: 235px;*/
		width: 100%;
		margin: 0 auto;
	}

	.candidate-box h4 {
		/*color: #989898;*/
		background-color: #ffffff;
		font-style: italic;
		font-size: 0.875em;
		line-height: 1.125em;
		font-weight: normal;
		margin: 0;
		padding: 5px 10px;
		/*width: 100%;
		position: absolute;
		bottom: 0;
		left: 0;*/
	}

	.candidate_answer.candidate-box h4 {
		background-color: #d22127;
		color: #ffffff;
	}

	#candidates_grid .ekloges-field.select {
		margin: 10px 10px 0 0;
	}

/* -----------------------------------------------------------------------------------
    PAGE: CANDIDATE
-------------------------------------------------------------------------------------- */
#candidate dl {
	line-height: 1;
}

#candidate_header.content-box {
	border-top: 1px solid #d4d4d4;
	border-bottom: none;
}

#candidate_header h1 {
	background-color: #d22127;
	color: #ffffff;
	font-style: italic;
	font-size: 1em;
	line-height: 1.125em;
	font-weight: normal;
	margin: 0;
	padding: 5px 10px;
	text-transform: uppercase;
}

#candidate .property,
#candidate .property-value,
#all_candidates_grid .property {
	display: block;
	clear: both;
	width: 100%;
	padding: 3px 0;
	font-size: 0.9375em;
	line-height: 1.33em;
	font-style: italic;
	font-weight: normal;
}

#candidate_infos.content-box {
	margin-bottom: 20px;
}

#candidate_infos .property,
#candidate_infos .property-value {
	font-size: 0.875em;
}

#candidate .property,
#all_candidates_grid .property {
	color: #d22127;
}

#candidate_infos figure.property-value {
	border-top: 1px solid #d4d4d4;
	border-bottom: 1px solid #d4d4d4;
}

#candidate_infos .sindiasmos.property-value img {
	width: 50%;
}

#candidate_content dt.span3 {
	clear: left;
}

#candidate_content dt,
#candidate_content dd {
	padding-top: 20px;
	padding-bottom: 20px;
}

#candidate_content dt.label,
#candidate_content dd.label {
	padding-top: 5px;
	padding-bottom: 0;
	font-size: 1.125em;
	font-style: italic;
	font-weight: normal;
}

#candidate .text,
.candidate-box .text {
	font-size: 0.875em;
	line-height: 1.73em;
}

#candidate_content .text:before,
.candidate-box .text:before {
	display: block;
	clear: both;
	content: url(../img/new/quotes.jpg);
	width: 19px;
	height: 14px;
	margin-bottom: 12px;
}

#candidate #sector_groups {
	display: none;
}

#candidates-qa-filter.ekloges-field.select {
	margin: 30px 0 -42px;
	z-index: 100;
	width: 330px;
}

#candidates-qa-filter.ekloges-field.select select {
	width: 360px;
}

/* -----------------------------------------------------------------------------------
    PAGE: Q&A
-------------------------------------------------------------------------------------- */
#question_header.content-box {
	border-bottom: none;
	padding-top: 0;
}

#question_header .property,
#question_header .property-value {
	display: block;
	clear: both;
	width: 100%;
	padding: 3px 0;
	font-size: 1.125em;
	line-height: 1.46em;
	font-style: italic;
	font-weight: normal;
}

#question_header h3 {
	margin-bottom: 0;
}

#question_header .property {
	color: #d22127;
	font-size: 1.25em;
	padding-bottom: 0;
}

.candidate_answer.content-box {
	padding-top: 20px!important;
	padding-bottom: 20px!important;
}


/* -----------------------------------------------------------------------------------
    SECTION: MEDIA QUERIES (SCREEN STYLES)
-------------------------------------------------------------------------------------- */
	/* MQ 1
	---------------------------------------------------------------------*/
	@media only screen and (max-width: 35em) {
		.span1, .span2, .span3, .span4,
		.span5, .span6, .span7, .span8,
		.span9, .span10, .span11, .span12 {
			width: 100%;
			padding-left: 0.3125em;
			padding-right: 0.3125em;
		}

		#ekloges-header {
			padding-top: 20px;
		}

		#ekloges-header .button {
			right: 5px;
			top: -20px;
		}

		#candidates_grid {
			margin-left: -0.3125em;
			margin-right: -0.3125em;
		}

		#candidates_grid .span3 {
			width: 50%;
		}

		#candidate_bio {
			padding-top: 10px;
		}

		#subject_groups ul {
			background-color: #EEEEEE;
		}

		#subject_groups ul li {
			display: block;
			width: 100%;
			padding: 0;
			border-bottom: 2px solid #ffffff;
		}

		#subject_groups ul li a {
			padding: 5px;
		}

		#candidates_grid .ekloges-field.select {
			float: left !important;
			margin: 5px;
		}

		.candidates-sorting {
			margin-top: -23px;
		}

		#candidates-qa-filter.ekloges-field.select {
			margin: 0;
			float: left!important;
			width: 100%;
		}

		#candidates-qa-filter.ekloges-field.select select {
			width: 110%;
		}
	}

	@media only screen and (max-width: 22.5em) {
		.candidates-sorting {
			margin-top: 10px;
			text-align: left;
		}

	}

	@media only screen and (max-width: 19em) {
		#candidates_grid .span3 {
			width: 100%;
		}
	}
	


	/* MQ 2
	---------------------------------------------------------------------*/
	@media only screen and (min-width: 35.0625em) and (max-width: 50em) {
		#candidates_grid .span3 {
			width: 33.3334%;
		}

		#candidate_infos .span3 {
			width: 34%;
		}

		#candidate_infos .span9 {
			width: 66%;
		}
	}


	/* MQ 1 + 2
	---------------------------------------------------------------------*/
	@media only screen and (max-width: 50em) {
		.filter-instructions {
			width: 80%;
			vertical-align: top;
			font-size: 0.9375em;
			line-height: 1.25em;
		}

		#candidate_content .span3,
		#candidate_content .span9 {
			width: 100%;
			padding-left: 0.3125em !important;
			padding-right: 0.3125em !important;
		}

		#candidate_content dd.label {
			display: none;
		}

		#candidate_content dt {
			padding-bottom: 0;
		}

		#candidate_content dd {
			padding-top: 5px;
			margin: 0;
		}

		#candidate_content .property, 
		#candidate_content .property-value {
			padding: 0;
		}

		.candidate-box h4 {
			height: 42px;
		}
	}

	/* MQ 3 
	---------------------------------------------------------------------*/
	@media only screen and (min-width: 50.0625em) and (max-width: 64.1875em) {
		.candidate-box h4 {
			height: 42px;
		}
	}

	/* MQ 4 : WIDE 
	---------------------------------------------------------------------*/
	@media only screen and (min-width: 64.1875em) {}