/* RESPONSIVE MENU */
body, html {
	height: 100%;
}
body {
	-webkit-animation: bugfix infinite 1s;
}
a {
	text-decoration: none;
}
a:hover {
	color: red;
}
.mobile {
	display: none;
}
small {
	display: inline-block;
}
@-webkit-keyframes bugfix {
	from {
		padding: 0;
	}
	to {
		padding: 0;
	}
}
.outer {
	overflow: hidden;
}
.nav {
	margin: 0px !important;
	background: #fef4cc;
	padding: 7px;
	overflow: hidden;
}
.nav li {
	list-style: none;
	margin: 0;
	padding: 0;
	float: left;
}
.nav li a {
	padding-right: 2px;
	color: darkblue;
	text-transform: uppercase;
}
.nav li a:hover {
	color: darkred;
}
.slide-toggle {
	float: left;
	cursor: pointer;
	position: relative;
	z-index: 20;
	display: none;
	margin: 11px 0px 0 30px;
}
.slide-toggle, .slide-toggle:active, .slide-toggle:focus, .slide-search, .slide-search:active, .slide-search:focus {
	border: none !important;
	outline: none !important;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.slide-toggle:after {
	content: url("https://theodora.com/encyclopedia/images/menu.png");
	display: block;
	width: 38px;
	padding: 4px;
	text-align: center;
	margin-left: -19px;
}
.slide-checkbox {
	position: absolute;
	top: -9999px;
	left: -9999px;
}
.slide-checkbox:checked ~ .slide-toggle:after {
	content: url("https://theodora.com/encyclopedia/images/close_menu.png");
	display: block;
	width: 38px;
	padding: 4px;
	text-align: center;
	margin-left: -19px;
	filter: invert(100%);
}
.wrap {
	width: 1100px;
}
#logo {
	width: auto;
	background-image: url("https://theodora.com/encyclopedia/images/encyclopedia.jpg");
	background-repeat: no-repeat;
	height: 280px;
	border-top: 2px solid #601613;
	border-bottom: 1px solid #601613;
}
#logotext {
	display: inline-block;
	padding: 36px;
	width: 172px;
	color: black;
}
#logotext:hover {
	color: darkblue;
}
header {
	text-align: center;
	border-top: 1px solid #d8753b;
	border-bottom: 2px solid #d8753b;
	background: #fef4cc;
}
h1 {
	font-weight: 700;
	color: #601613;
	font-size: 17pt;
	margin: 9px 0px;
}
.Table {
	display: table;
	width: 100%;
	margin-bottom: 9px;
	border-bottom: 1px solid gainsboro;
}
.nav, #logo, header {
	border-right: 1px solid gainsboro;
}
.Cell {
	display: table-cell;
	padding: 6px;
	vertical-align: top;
}
.first {
	width: 220px;
	overflow: hidden;
	margin-left: 6px;
	border-right: 2px solid gainsboro;
	padding: 6px 6px;
	background: rgba(254, 239, 204, 0.48);
}
.second {
	width: auto;
	padding: 18px;
	padding-top: 0px;
	padding-bottom: 0px;
}
.second * {
	max-width: 100% !important;
}
.third {
	width: 220px;
	margin-left: 6px;
	border-left: 2px solid gainsboro;
	border-right: 1px solid gainsboro;
	background: rgba(254, 239, 204, 0.48);
}
table * td {
	padding: 0;
}
body > div > div > div.Table > div.Cell.second > div > table > tbody > tr:nth-child(1) > td > h2 {
	margin-top: 0px;
}
/* RESPONSIVE MENU MOBILE*/
@media handheld, only screen and (min-width: 601px) {
	.diaf1 {
		position: absolute;
		left: 251px;
		top: 34px;
		width: 848px;
		height: 90px;
	}
	/*patch for custom ad*/
	.diaf1 img {
		width: 100%;
	}
	.sringondesktop {
		letter-spacing: -1px;
	}
	/*patch for calendar page*/
	/*oxi giati allazei to platos me tin diafimisei*/
	/*.second p {
		width: 595px;
	}*/
}
@media handheld, only screen and (max-width: 600px) {
	.nav li a {
		font-size: 15pt;
	}
	hr {
		display: none;
	}
	header {
		border-bottom: 1px solid darkblue;
	}
	.slide-toggle {
		display: block;
	}
	.second p* {
		font-size: 15pt;
		line-height: 24px;
	}
	body > div > div > div.Table > div.Cell.second > div > table > tbody > tr:nth-child(1) > td > h2 {
		margin-top: 10px;
	}
	.slide {
		transition: transform 500ms ease;
	}
	.slide, .nav {
		transform: translateZ(0);
	}
	.slide-checkbox:checked ~ .slide {
		transform: translateX(70%) scale(1);
	}
	.nav {
		padding-top: 49px;
		height: 100%;
		background: #333;
		border-radius: 0;
		width: 70%;
		position: absolute;
		left: 0;
		top: 0;
		transform: translateX(-100%);
	}
	.nav li {
		float: none;
		padding: 8px;
		border-bottom: 1px solid rgba(90, 90, 90, 0.62);
	}
	.nav li a {
		padding: 12px 12px;
		color: white;
		text-transform: initial;
	}
	.nav li a span {
		display: none;
	}
	.nav li a:hover {
		color: white;
	}
	.nav li:first-child a {
		border-top: none;
	}
	.nav li:last-child a {
		border-bottom: none;
	}
	.wrap {
		width: 100%;
		margin: 0;
		border-left: 0;
		padding-left: 0;
		border-right: 0;
		padding-right: 0;
	}
	#shared {
		position: absolute;
		top: 16px;
		right: 23px;
		z-index: 400;
	}
	#shared > img {
		width: 31px;
	}
	#searchd {
		position: absolute;
		margin-top: 15px;
		right: 13px;
		z-index: 400;
	}
	#searchd > img {
		width: 35px;
	}
	#searchx {
		display: none;
		position: absolute;
		margin-top: 15px;
		right: 15px;
		z-index: 400;
	}
	#searchx > img {
		position: relative;
		left: 3px;
		width: 34px !important;
	}
	#sharediv > p {
		background-color: white;
		margin-top: 5vh;
		border: 2px solid gainsboro;
	}
	#logo {
		position: relative;
		z-index: 200;
		text-align: left;
		height: 60px;
		border: 0;
		background: rgba(216, 117, 59, 0.60);
		padding-top: 4px;
	}
	#logotext {
		display: inline;
		padding: 2px;
		width: auto;
	}
	#facebook > iframe {
		top: 0px !important;
	}
	.diaf1 {
		position: relative;
		top: 0;
		z-index: 0;
		margin-left: 0;
		height: auto;
	}
	.diaf1 img {
		width: 100%;
	}
	h1 {
		font-size: 16pt;
		font-weight: 500;
	}
	.Table {
		display: block;
	}
	.Cell {
		display: block;
		width: 100%;
		border: 0;
		padding: 11px;
		font-size: 15pt;
		box-sizing: border-box;
		margin: 0;
	}
	.desktop {
		display: none;
	}
	.mobile {
		display: inherit;
	}
	#searchbox {
		display: none;
		position: absolute;
		top: 0;
		left: 0px;
		margin-left: 0px;
		padding-left: 68px !important;
		padding-right: 108px !important;
		margin-right: 0px;
		height: 64px;
		border: 0;
		border-bottom: 1px solid #384049;
		width: 100%;
		box-sizing: border-box !important;
		font-size: medium;
		color: black;
		background: white;
		z-index: 300;
		animation: fadeInFromNone 0.2s ease-out;
	}
	#cse-search-box > div > input[type="submit"]:nth-child(3) {
		display: none;
	}
	.cse-branding-logo {
		display: none !important;
	}
	.cse-branding-text {
		display: none !important;
	}
	.cse-branding-bottom {
		position: static !important;
	}
	.first {
		padding: 0;
	}
	body > div > div > div.Table > div.Cell.second * img {
		width: 100%;
		max-width: 100%;
		margin-top: 3px;
	}
	body > div > div > div.Table > div.Cell.second > p {
		margin: 0 !important;
	}
	body > div > div > div.Table > div.Cell.second > p > small {
		line-height: 17px !important;
		font-size: 10pt;
	}
	.boldonmobile {
		font-weight: 700;
	}
	::-webkit-input-placeholder {
		/* WebKit browsers */
		color: #ababab;
	}
	:-moz-placeholder {
		/* Mozilla Firefox 4 to 18 */
		color: #ababab;
		opacity: 1;
	}
	::-moz-placeholder {
		/* Mozilla Firefox 19+ */
		color: #ababab;
		opacity: 1;
	}
	:-ms-input-placeholder {
		/* Internet Explorer 10+ */
		color: #ababab;
	}
}
.btnalpfabet a {
	display: inline-block;
	padding: 6px 9px;
	background: #f4a46085;
	box-sizing: border-box;
	border: 1px solid brown;
	width: 39px;
	text-align: center;
	margin-bottom: 4px;
	color: #222222;
}
@keyframes fadeInFromNone {
	0% {
		display: none;
		opacity: 0;
	}
	1% {
		display: block;
		opacity: 0;
	}
	100% {
		display: block;
		opacity: 1;
	}
}
#facebook_link, #google_link, #email_link, #twitter_link, #linkedin_link {
	margin: 24px;
	display: block;
}
.gsc-control-cse {
	background: transparent !important;
	padding: 15px 0 0 0 !important;
	border: 0 !important;
}
/*firefox fix*/
@supports (-moz-appearance:none) {
	#logo {
		line-height: 1.0;
	}
}
/*auto ads fix*/
#logo {
	top: auto;
	overflow-wrap: break-word;
}
/*FOR OLD DESIGN PAGE WITH SLIDE IN*/
body {
	-webkit-animation: none;
}
#searchbox {
	top: 0 !important;
}
/*search css*/
@media screen and (max-width: 600px) {
	.gsc-control-cse, .gsc-search-box, .gsc-input-box, .gsc-input, .gsib_a {
		border: 0 !important;
		padding: 0 !important;
		margin: 0 !important;
		height: 0 !important;
		overflow: hidden;
	}
	.gsc-completion-container, .gssb_c {
		width: 100vw !important;
		overflow-x: hidden !important;
		left: 0 !important;
	}
	.gsib_b, .gsc-search-button, .gsc-clear-button, .gssb_f {
		display: none !important;
	}
	table.gssb_c {
		margin-top: 34px;
	}
	input.gsc-input {
		display: none;
		position: absolute !important;
		left: 0 !important;
		margin: 0;
		padding-left: 68px !important;
		background-position-x: 68px !important;
		padding-right: 108px !important;
		height: 64px !important;
		border: 0;
		border-bottom: 2px solid lightgrey !important;
		width: 100vw !important;
		box-sizing: border-box !important;
		font-size: large !important;
		color: black !important;
		background-color: white !important;
		z-index: 300;
		animation: fadeInFromNone 0.2s ease-out !important;
		visibility: visible !important;
	}
	table.gsc-search-box td {
		vertical-align: top !important;
	}
	table.gsc-search-box {
		display: table !important;
	}
	table.gsc-search-box tbody {
		display: table-row-group !important;
	}
	table.gsc-search-box tr {
		display: table-row !important;
	}
	table.gsc-search-box td:not(.gsc-clear-button) {
		display: table-cell !important;
	}
	button.gsc-search-button svg {
		max-width: max-content;
	}
	body {
		margin-left: 0;
		margin-right: 0 !important;
	}
	/*New*/
	.gsc-results-wrapper-overlay {
		top: 5vh !important;
		left: 2vw !important;
		height: 90vh !important;
	}
	/*Fix for slide in pages*/
	.cse-branding-bottom .cse-branding-form {
		margin-bottom: 0 !important;
	}
	/*EXTRA BRANDING CSS*/
	.gsc-completion-container, .gssb_c {
		display: none !important;
		/*NO AUTO-COMPLETE*/
	}
}