@import url(//netdna.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.css);

/*
 *	Body 
 */         
html,body {
	width:100%;
    margin:0;
    padding:0;
	font-family: Verdana, Helvetica;
	font-size: 14px;
	background:#ede9c9;
}


/*
abslolute div for continues anwers (popup)
*/
#cont_answer {
	position: absolute;
	top: 320px;
	left: 0;
	background:#ede9c9;
	border-radius: 10px;
}
.cont_both {
	float: left;
}
#cont_engl {
	margin-left: 3px;
	width: 120px;
}
.cont_both table {
	border-collapse: separate;
	border: 2px solid #96290e;
	border-radius: 10px;
	color: #96290e;
	background-color: #ffffdd;
}
.cont_both table td {
	padding: 0 10px;
}
.cont_both table th {
	padding: 5px 10px;
	text-align: left;
}
.csantr0 {
	font-size: 30px;
	height: 18px;
}
.cengtr0 {
	font-size: 20px;
	height: 30px;
}
.csantr, .cengtr {
	height: 32px;
}
td.csan1 {
	width: 120px;
	font-size: 25px;
}
td.csan2, td.ceng{
	width: 120px;
	font-size: 20px;
}


/*
Grid containers
*/
.gridcontainer {
	height:100%;
	width: 85%;
	margin: auto ;
	display: grid;
	grid-template-rows: auto 35px auto auto;
	grid-template-columns: auto;
	grid-template-areas:
		"image"
		"menue"
		"middle_block"
		"version"
}

header {
	background:#ede9c9;
	grid-area: image;
	margin-top: 20px;
}

#header_img {
	width: 100%;
	min-height: 100px;
}

#menue_oben {
	background-color: #fcf7de;
	grid-area: menue;
	text-align: center;
}

#navline {
	width: 70%;
	margin: auto;
}

#middle_block {
	display: grid;
	grid-template-rows: auto auto;
	grid-template-columns: auto;
	grid-template-areas:
			"search"
			"results";
	display: none;
}

#bt1 {
	background-color: #fcf7de;
	font-size: 1.1em;
	padding: 2px 10px;
}
#search_area {
	background:#ede9c9;
	margin-top: 30px;
	grid-area: search;
	display:grid;
	grid-template-columns: repeat(5, [col] auto);
	grid-template-rows: auto;
	grid-template-areas:
		"options . givetext . translate"
}
#search_results {
	background-color: #fcf7de;
	grid-area: results;
}
#more, #more1 {
	text-align: center;
	padding: 10px;
}
#showmore {
	cursor: pointer;
	background-color: #fcf7de;
	color: #96290e;
	border: 1px solid #96290e;
	border-radius: 5px;
	padding: 5px;
	font-size: 1.2em;
}
#version {
	grid-area: version;
	color: #962902;
	padding-top: 20px;
	padding-bottom: 10px;
	font-size: 0.7em;
}
hr {
	background-color: #962902;
	height: 1px;
	border-width: 0;
}

/*
Input font sizes
 */
.small {
	font-size: 1em;
}

button {
	color: #962902;
	box-shadow: 3px 2px #962902;;
	border: 1px solid #962902;;
	border-radius: 5px;
}
button:focus {
/*	outline-color: #A75000; */
	outline: 0;
}
button:hover {
	background-color: #ede9c9;
	cursor: pointer;
}

/*
 *  input
*/
input {
	color: #96290e;
}
input:focus {
	outline: 0;
	/* This doesn't work on Firefox, at leas not on MAC */
}

/*
Layout of search_area
 */
#selections {
	grid-area: options;
	color: #962902;
}

.seloptions {
	margin-top: 5px;
	line-height: 20px;
}
.selections {
	background-color: #fcf7de;
	padding:10px;
	padding-top: 10px;
	border-radius: 10px;
	width: 300px;
	margin-bottom: 20px;
}

#give_text {
	grid-area: givetext;
	font-size: 14px;
	display: flex;
	align-items: center;
	justify-self: end;
}

#tran_input {
	font-size: 1.8em;
	width: 200px;
	height: 50px;
	padding-left: 15px;
}

#send_translate {
	grid-area: translate;
	display: flex;
	align-items: center;

}

input[type=radio].with-font {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}
input[type=radio].with-font ~ label:before {
	font-family: FontAwesome;
	display: inline-block;
	content: "\f1db";  /* fa-circle-thin */
	letter-spacing: 10px;
	font-size: 1.2em;
	color: #912a06;
	width: 1.4em;   /* reduce bounce */
}
input[type=radio].with-font:checked ~ label:before {
	content: "\f192";  /* fa-dot-circle */
	font-size: 1.2em;
	color: #912a06;
	letter-spacing: 5px;
}
input[type=radio].with-font:checked ~ label {
	font-weight: bold;
}

input[type=radio].with-font:focus ~ label:before,
input[type=radio].with-font:focus ~ label
{
	color: #912a06; /* highlight both box and label */
}

/* basic layout */
fieldset {
	margin: 20px;
	max-width: 400px;
}
label > input[type="radio"] + * {
	display: inline-block;
	padding: 0.5rem 1rem;
}

/*
Buttons
*/
#submit_out {
	width: 180px;
	height: 30px;
	font-size: 1.3em;
	margin-top: 5px;

}

#translate{
	font-size: 1.8em;
	height: 40px;
	padding-left: 20px;
	padding-right: 20px;
}


/*
Navigaton
*/

#nav {
	font-size: 10px;
	background-color: #fcf7de;
	height: 35px;
}
#nav ul{
	display: flex;
	justify-content:space-between;
	list-style-type:none;
 	margin:0;
 	padding:0;
 }
#nav li {
	float: left;
 	padding: 0;
 	margin: 0;
}
#nav li a {
/*	width:170px; */
 	display:block;
 	text-align:center;
 	margin-right:5px;
 	height:35px;
 	line-height:35px;
 	text-decoration:none;
	font-weight: bold;
	font-size: 1.5em;
	color:#962902;
	padding: 0;
 }
#nav li a:hover {
	background-color : #eceac9;
 }
#nav ul ul {
	display:none;
 	position:absolute;
 	z-index:999;
	font-size: 10px;
}
#nav li li {
	float:none;
 }
#nav li li a {
	background:#e7e1c1;
 	text-align:left;
 	height:auto;
 	line-height:1;
 	width:auto;
	padding:8px 10px;
 	margin-right:0;
	font-weight: normal;
}
#nav li li a:hover {
	background-color : #fcf7de;
}
* html li li {
	display:inline;
 } /* IE6 Bugfix... */

.separator {
	border-top: solid 1px #962902;
	clear: both;
	height: 1px;
	width: auto;
	z-Index: 999;
}
#hamburger {
	font-size: 150%;
}

/*
Result output
 */
.skinfo {
	font-size: 0.7em;
	color: #96290e;
	float: left;
	margin-top: 5px;
}


/*
 * Tables
 */
/*table, th, td {
	border: 1px solid green;
}
*/
.table0 {
	text-align: center;
	width: 100%;
	border-collapse: collapse;

}

.table1 {
	text-align: center;
	width: 65%;
}

@media(max-device-width: 480px){
  .table1 {
/*    display:block;*/
    width: 100%;
  }
}

/*
 * Backgrounds
 */

/* bgcolor0   					Hintergrund Frontpage rechts und links*/
.bgcolor0 {
	background-color:#e7e1c1;
}

/* bgcolor1 					Hell wie im Frontbild*/
.bgcolor1 {
	background-color: #fcf7de;
}

/* bgcolor2  					Wie bgcolor0, nur etwas heller*/
.bgcolor2 {
	background-color: #eee8c9;
}

/* bgcolor3 					Wie das helle braun im Frontbild*/

.bgcolor3 {
	background-color: #dd904f;
}

/* images*/
.img0 {
	width:100%;
	height:auto;
}


/*  input */
.input0 {
	color: #96290e;
	outline: none;
}

/*
 *  button
 */
 .button0 {
 	color:#96290e;
 }


.print_one_sk {
	font-size: 1.6em;
	padding: 0 0.5em;
	text-align:left;
}

.print_one {
/*	font-size: 0.7em; */
	padding: 0 0.5em;
	text-align:left;
}

#results {
	font-size: 16px;
}

#results td:nth-child(2) {
	width: 5%;
}
#results tr:nth-child(1) {
	height:10px !important;
}

#results tr:nth-child(odd) {
	background: #eee8c9;
	height: 40px;
}
#results tr:nth-child(even) {
	background: #e7e1c1;
	height: 40px;
}
#results tr:hover {
	background-color: #ffffdd;
}
.dcell {
	font-size: 1.6em;
}
.gcell {
	font-size: 0.7em;
}
.redrow {
	color: #96290e;
}
.normalrow {
	color: #d35400;
}


.float_left_pointer {
	float: left;
	cursor: pointer;
	margin-right: .5em;
}

.float_left {
	float: left;
	margin-right: .5em;
}

/*
* Table head for recent entries:
 */
.recent_cell {
	font-size: 1em;
	text-align: center;
	border-bottom: 5px solid #d28a58;
	border-top: 3px solid #d28a58;
	color: #8c2902;
	background-color: #fcf7de;
}
.nbrofentries {
	font-size: 70%;
	color: #8c2902;
	text-align: right;
	padding-right: 5px;
}

#popupdiv1 {
	margin-top: 30px;
}

#whylearn {
	color: #8c2902;
	width: 70%;
	margin: auto;
	background-color: #fcf7de;
	padding: 20px;
	text-align: justify;
	font-size: 115%;
}
#whylearn h4 {
	text-align: center;
}
#whylearnbutton {
	text-align: center;
	width: 100%;
}
#whylearn button {
	height: 25px;
	padding-left: 10px;
	padding-right: 10px;
	margin: auto;
}

.infobutton {
	box-shadow: none;
	height: 16px;
	width: 16px;
	border-radius: 8px;
	margin-right: 5px;
}

.bvbutton {
	box-shadow: none;
}

.ui-corner-all {
	background-color: #eee8c9;
}


/* Dialog Boxes */
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
	text-align: center;
	float: none;
	margin: 10px;
}
.no-close .ui-dialog-titlebar-close {
	display: none;
}
.dialogclass .ui-dialog-titlebar {
	background: #eee8c9;
	color: #96290e;
}
.dialogclass .ui-widget-content {
	background: #fcf7de;
	color: #96290e;
	text-align: center;
}
.ui-widget.ui-widget-content {
	border: 2px solid #8c2902;
	padding: 0;
}

/* infobutton dialog */
.infobuttondialog .ui-widget-content {
	text-align: left;
}

/* About dialog */
.aboutdialog {
}
.aboutdialog .ui-widget-content {
	text-align: left;
	text-size: 14pt;
	padding: 0 30px;
}
#abouttable {
	margin-left: 30px;
	border-spacing: 50px 0;
}
.tdb {
	font-weight: bold;
}
.gap {
	height:10px;
}
.hint {
	font-size: 16px;
	font-weight: bold;
}
.littlespace {
	margin-top: -5px;
}

/* FAQ Dialog */
.faqdialog  .ui-widget-content {
	padding-top: 30px;
}
dl {
	width: 100%;
	overflow: hidden;
	padding: 0;
	margin: 0
}
dt {
	float: left;
	width: 30%;
	/* adjust the width; make sure the total of both is 100% */
	padding: 0;
	margin: 0;
}

dd {
	float: left;
	width: 70%;
	/* adjust the width; make sure the total of both is 100% */
	padding: 0;
	margin: 0;
	text-align: left;
}
.qa_q {
	font-weight: bold;
	margin-bottom: 10px;
}
.qa_a {
	margin-bottom: 20px;
}

/* Help dialog */
.helpdialog .ui-widget-content {
	text-align: left;
	font-size: 16px;
}
#help_head {
	font-weight: bold;
	padding: 20px 0;
	border-top: solid 2px #ce8b58;
	border-bottom: solid 2px #ce8b58;
	text-align: center;
	font-size: 120%;
}
.help_part {
	padding-top: 10px;
	line-height: 150%;
	border-bottom: solid 2px #ce8b58;
}
.help_part dt {
	width: 30%;
}
.help_part dd {
	width: 70%;
}
.help_dl {
	margin-left: 100px;
	margin-top: 10px;
}

/* donations */
.donatedialog .ui-dialog-titlebar {
	text-align: center;
	font-size: 16px;
	background-color: #fcf7de;
}
.donatedialog .ui-widget-content {
	text-align: left;
	font-size: 16px;
	background:#ede9c9;
}
#don_cfh {
	background: #fcf7de;
	text-align: center;
}
.don_img {
	float:left;
	clear:left;
	margin-bottom: 30px;
}
.don_itext {
	float:left;
	margin: 80px 0 20px 50px;
}

#pagemask {
	background: rgba(168, 134, 105, 0.3);
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	visibility: hidden;
}

#whyads_div a {
	color: #912a06;
	font-weight: bold;
}

/* Fables */
#fable_block {
	height: 100%;
	color: #912a06;
	grid_area: middle_block;
	display: none;
}
.faboneauthor {
}
.fabonepixandname {
	margin-top: 40px;
	display: flex;
	flex-wrap: nowrap;
}
.fabauthorname {
	font-weight: bold;
	padding-right: 10px;
	padding-top: 50px;
	flex-basis: auto;
	width: 130px;
}
.fabauthorpix   {
	display: grid;
	grid-template-columns: 100px repeat(auto-fill, 150px);
	grid-auto-flow: dense;
	flex-grow: 1;
}
.faboneicon {
	padding: 20px 0 20px 0;
}
.faboneicon .icon {
	float: right;
}
.fabdeclaration {
	width: 100%;
	text-align: justify;
	font-size: 90%;
	margin-top: 30px;
}
.storyleer {
	width: 100px;
	height: 100px;
	background-color: white;
	font-size: 1.2em;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
	border: solid 1px;
}
.icon {
	cursor: pointer;
}

/* Story */
#fabstory {
	width: 100%;
	margin: 20px auto 0 auto;
	display: flex;
	flex-wrap: wrap;
}
.sum_h0 {
	font-weight: bold;
}
.sum_h1 {
	font-size: 0.8em;
}
.h0c {
	text-align: center;
}
#iconandtext {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding:20px;
}
#thumb {
	margin: 20px;
}
#thumbtext {
	width: 100%;
}
#overtable {
	text-align: center;
	font-size: 0.8em;
	width: 100%;
	margin: -10px 20px 10px 20px;
}
.inorder {
	font-weight: bold;
}
#drawings {
	width: 100%;
	text-align: center;
}
#drawings img {
	margin: 30px 30px 5px 30px;
}
.drawtext {
	margin: auto;
	font-weight: bold;
	font-size: 80%;
	text-align: center;
	width: 400px;
}
#storytable {
	margin: 0 20px;
	background-color: white;
	font-size: 18px;
	border-collapse: collapse;
}

#storytable th {
	border: 1px solid #ede9c9;
	font-size: 1.5em;
	font-weight: normal;
	padding-left: 20px;
}
#storytable  td {
	padding: 10px 10px 10px 20px;
	border-right: 1px solid #ede9c9;
}
.fabnumber {
	font-size: 0.7em;
	padding-right: 5px;
	margin-top: 5px;
}
.tdleft {
	font-size: 1.2em
}
.storyth {
	width: 100%;
}

/* ***** Trainer **** */
#trainer_block {
	display: none;
}

#trainer_block hr {
	height: 3px;
	background-color: #ce8b58;
}

#train_deva, #train_sent_top {
	margin-top: 10px;
	color: #912a06;
	text-align: center;
	font-size: 110%;
}
#train_deva {
	margin-top: 40px;
}

.orange {
	color: #e96d00;
}

#train_input {
	padding-top: 30px;
	margin-top: 10px;
	font-size: 110%;
	color: #912a06;
	background-color: #fcf7de;
}

#traininputdiv {
	margin-left:40px;
}

#trainin {
	margin-left: 30px;
	font-size: 120%;
	padding-top: 10px;
	padding-right: 0;
	padding-left: 5px;
	padding-bottom: 10px;
	margin-bottom: 10px;

}

#traint1 {
	margin-left: 20px;
	height: 30px;
}

#traint1 td {
	padding-left:20px;
}

#traint1 td:nth-child(2) {
	font-family:"Times New Roman";
	font-size: 18px;
}

#traint1r1 {
	color: grey;
	height: 30px;
}

#traint1r2 {
	color: #e96d00;
	height: 30px;
}

#traint1r2 td:nth-child(2) {
	font-size: 28px;
}

#traint1r3 {
	color: #912a06;
	height: 30px;
}

#trainbackbutton {
	text-align: center;
}

.trainbutton {
	font-size: 120%;
	height: 30px;
	padding-left: 20px;
	padding-right: 20px;
	margin-top: 20px;
}

#newsentence {
	margin-bottom: 25px;
}

#train_table {
	margin-top: 15px;
	text-align: center;
	color: #912a06;
	background-color: #fcf7de;
}

#train_toptext {
	font-size: 80%;
}

#traintab {
	margin: auto;
	font-size: 120%;
}

#traintab table {
	margin: auto;
	padding-top: 10px;
	padding-bottom: 10px;
}

#traintab tr td {
	width: 150px;
	text-align: left;
}

#train_sent_win {
	background-color: #fcf7de;
}

#showtrans {
	margin-bottom: 10px;
/*	margin-left: 20px;
	margin-top: 40px; */
}

#trainsentences {
	margin-left: 20px;
	font-size: 130%;
	color: #912a06;
	padding-top: 20px;
}

.devsent {
	font-size: 120%;
}

#train_l1 {
	font-size: 130%;
}

#train_l2 {
	fonz-size: 110%
}

#train_l4 {
	font-size: 80%;
}
#trainR_l3 {
	height: 20px !important;
}

#train_sent_result {
	margin-top: 30px;
	font-size: 16px;
	width: 100%;
}


#train_sent_result tr:nth-child(1) {
	height:10px !important;
}

#train_sent_result td:nth-child(2) {
	width: 5%;
}
#train_sent_result tr:nth-child(odd) {
	background: #eee8c9;
	height: 40px;
}
#train_sent_result tr:nth-child(even) {
	background: #e7e1c1;
	height: 40px;
}

#trainerror {
	margin: 20px auto;
	text-align: center;
	font-size: 75%;
}


#edit_block {
	grid_area: middle_block;
	color: #912a06;

}

/* Login-Page */
#login_page {
	border: 3px solid #912a06;
	margin: 20px auto 20px auto;
	font-size: 130%;
	padding: 30px;
	text-align: center;
	display: none;
}

.ltop {
	font-size: 130%;
	margin: 0 auto 30px auto;
	text-align: center;
}

#login_page input {
	width: 300px;
}

form i {
	margin-left: -30px;
	cursor: pointer;
}

#lbutton {
	height: 40px;
}

#editDB {
	font-size: 130%;
	margin-top: 20px;
	overflow-y: auto;
	display: none;
}

#edinput {
	width: 95%;
	margin: auto;
	overflow-y: auto;
	display: flex;
	justify-content: space-evenly;
}

#edleft {
	width: 45%;
	float: left;
}

#edright {
	width: 45%;
	float: right;
	padding-left: 30px;
}

.rows{
	width:100%;
	display:block;
	float: left;
}


.column{
	width:100%;
	display:inline-block;
	margin-bottom: 15px;

}

.theLabels{
	width:25%;
	float: left;
}

.theInputs{
	width:65%;
	float: right;
}

.edsmall {
	font-size: 70%;
}

.edradio {
	display: flex;
	justify-content: space-between;
/*	float: left;
	margin-right: 30px;
	font-size: 80%;
*/}

.edbigger {
	font-size: 120%;
}

#edinput input {
	width: 98%;
}

.edbuttons {
	display: flex;
	justify-content: space-evenly;
	margin-bottom: 20px;
}

#edinput textarea {
	color: #96290e;
}

#sansadd {
	font-size: 16px;
}

#edright input {
	text-align: left;
}

.select2-container {
	background: white;
	-webkit-text-fill-color: #96290e;
	font-size: 120%;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
	background-color: #96290e;
	-webkit-text-fill-color: white;
}

.select2-selection__rendered {
	line-height: 31px !important;
}
.select2-container .select2-selection--single {
	height: 35px !important;
}
.select2-selection__arrow {
	height: 34px !important;
}

.select2-container--default .select2-results > .select2-results__options {
	max-height: 400px;
	min-height: 200px;
	overflow-y: auto;
}



input[type=checkbox].with-font {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}
input[type=checkbox].with-font ~ label:before {
	font-family: FontAwesome;
	display: inline-block;
	content: "\f1db";  /* fa-circle-thin */
	letter-spacing: 10px;
	font-size: 1.2em;
	color: #912a06;
	width: 1.4em;   /* reduce bounce */
}
input[type=checkbox].with-font:checked ~ label:before {
	content: "\f192";  /* fa-dot-circle */
	font-size: 1.2em;
	color: #912a06;
	letter-spacing: 5px;
}
input[type=checkbox].with-font:checked ~ label {
	font-weight: bold;
}

input[type=checkbox].with-font:focus ~ label:before,
input[type=checkbox].with-font:focus ~ label
{
	color: #912a06; /* highlight both box and label */
}

.infoline {
	text-align: center;
	font-size: 120%;
	display: none;
}

#edsearchresult {
	font-size: 16px;
}

#edsearchresult td:nth-child(2) {
	width: 5%;
}
#edsearchresult tr:nth-child(1) {
	height:10px !important;
}


#edsearchresult tr:nth-child(odd) {
	background: #eee8c9;
	height: 40px;
}
#edsearchresult tr:nth-child(even) {
	background: #e7e1c1;
	height: 40px;
}
#edsearchresult tr:hover {
	background-color: #ffffdd;
}

#edhelp_div {
	padding-bottom: 30px;
}
#edhelp_div dl {
	width: 50%;
	margin-left: 20px;
}
#edhelp_div dt {
	font-weight: bold;
}
#edhelp_div p {
	margin-left: 20px;
}

#edtraintable {
	display:none;
}

#import_div {
	font-size: 130%;
}

#pathname {
	font-size: 130%;
}

#newUserTable {
	width: 100%;
	margin-top: 20px;
	margin-bottom: 30px;
	border: 3px solid #912a06;
	font-size: 130%;
	display: none;
}

#newuser {
	margin: auto;
	margin-bottom: 30px;
	width: 60%;
	border-collapse: collapse;
	text-align: center;
}


#newuser th, #newuser td {
	border: 1px solid #912a06;
	padding: 10px;
}

#newuser th {
	border-bottom: 3px solid #912a06;
}

#newuser tbody > tr:hover {
	background-color: #ffffdd;}

#newuser caption {
	font-size: 150%;
	margin-bottom: 30px;
	margin-top: 10px;
}

.blank_row {
	height: 45px !important;
}

.nudesc {
	text-align: center;
	margin-bottom: 20px;
	font-size: 90%;
}

.clickit {
	cursor: pointer;
}

#editUserTable {
	width: 50%;
	margin: auto;
	margin-bottom: 30px;
	padding: 30px;
}

.selrole {
	font-size: 120%;
	background-color: white;
	color: #96290e;
}

#stouserbutton {
	text-align: center;
	width: 100%;
}

#canceluser {
	margin-right: 50px;
}

#stouser {
	margin-left: 50px;
}

#maint {
	width: 98%;
	border: 5px solid red;
	text-align: center;
	margin: 30px auto 0 auto;
	font-size: 150%;
	color: #96290e;
}

#chlog_div {
	text-align: left;
}

.addtopmargin {
	margin-top: 50px;
}
