
body, ul, li, span, div, p{
	margin: 0;
	padding: 0;
}

*:focus {
	outline: none;
}

li {
	list-style: none;
}

body{
	background: #fff;
	color:#333333
}


.fbx-form {
	display: flex;
	flex-direction: row;
	align-items: center;
	flex-wrap: nowrap; /* prevents wrapping */
	gap: 8px;
	margin-top: 10px;
}

.fbx-input {
	all: unset;
	box-sizing: border-box;
	padding: 6px 10px;
	border-radius: 4px;
	border: 1px solid #ccc;
	font-size: 1em;
	background-color: white;
	color: #000;
	height: 32px;
}
.fbx-input[type="text"],
.fbx-input[type="email"] {
	all: unset;
	padding: 6px;
	border-radius: 4px;
	border: 1px solid #ccc;
	font-size: 1em;
	box-sizing: border-box;
	background-color: white;
	color: #000;
	width: auto;
}

.fbx-feedback {
	width: 220px;
}

.fbx-button {
	padding: 6px 12px;
	font-size: 1em;
	border-radius: 4px;
	background-color: #007bff;
	color: white;
	border: none;
	cursor: pointer;
	height: 34px;
}

.fbx-button:hover {
	background-color: #0056b3;
}

.fbx-response {
	color: green;
	font-size: 0.9em;
	margin-top: 10px;
	text-align: left;
}


.action-button {
	padding: 8px 16px;         /* slightly smaller */
	font-weight: bold;
	background-color: #e0e0e0;
	color: #000;
	border: 1px solid #bbb;
	border-radius: 0;          /* square corners */
	cursor: pointer;
	font-size: 0.95em;
}




.topnav {
	background-color: #999;
	overflow: hidden;
	text-align:right;
	padding:10px;
	color: #fff;
}
.top-container {
	position: fixed;
	top: 0;
	height: 100vh;
	width: 100%;
	background-color: #fff; /* Adjust background color as needed */
	z-index: 999; /* Ensure it's on top of other content */
}

.main-container {
	position: absolute;
	top: 100%; /* Anchor the main container below the top container */
	width: 100%;
	display: flex;
	flex-direction: row;
	overflow-y: auto; /* Make the sections vertically scrollable */

}

input[type=editortext], input[type=number]{
	width: 100%;
	padding: 12px 20px;
	margin: 8px 0;
	display: block;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
}
input[type=number] {
	width: 200px;  !important;
}

.editor-wrapper{
	width: 80%;
	max-width: 700px;
	margin: 20px auto;
	padding: 10px 40px;
}
#wordid_{
	width: 100%;
	padding: 12px 20px;
	margin: 8px 0;
	display: block;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
	background-color: field;
	color: fieldtext;
}


.greyBorder {
	border-radius: 5px;
	background-color: #f2f2f2;
	padding: 20px;
}
input[type=submit]:hover {
//background-color: #0070c0;
}

.greyBorder {
	border-radius: 5px;
	background-color: #f2f2f2;
	padding: 20px;
}

.explanation {
	margin-left:10px;
	font-size:12px;
}

.container {
	display: flex;
	flex-wrap: wrap;
}

.element {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	margin: 8px 0;
}

.element_label {
	height: 16px;
	width: 4%;
	padding: 12px 0;
	margin: 2px 0;
	background-color: #f2f2f2;
}

.element_input {
	margin: 2px 0 !important;
}

.element_controll {
	margin: 0 12px;
}

.container_controll {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
}

.category_controll {
	margin: 0 12px;
}


#status {
	padding: 12px 20px;!important;
	margin: 8px 0;!important;
	display: block;!important;
	border: 1px solid #ccc;!important;
	border-radius: 4px;!important;
	box-sizing: border-box;!important;
	background-color: field;
	color: fieldtext;
	width: 200px;  !important;
}

#sfield_phrase_id{

	padding: 12px 20px;!important;
	margin: 8px 0;!important;
	display: block;!important;
	border: 1px solid #ccc;!important;
	border-radius: 4px;!important;
	box-sizing: border-box;!important;
	background-color: field;
	color: fieldtext;
	width: 200px;  !important;

}


input[type=editorsubmit] {
	width: 200px;
	background-color: #0070c0;
	color: white;
	padding: 14px 20px;
	margin: 20px 0px;
	border: none;
	border-radius: 4px;
	cursor: pointer;

}


.left-section{
	width: 50%;
	height: 100vh; /* Set height to 100% of viewport height */
	padding: 20px;
	box-sizing: border-box;
}

.right-section {
	width: 50%;
	height: 100vh; /* Set minimum height to 100% of viewport height */
	box-sizing: border-box;
	overflow-y: auto; /* Make the sections vertically scrollable */
	border: 0;
}

.left-section {
	float: left;	overflow-y: auto; /* Make the sections vertically scrollable */

}

.right-section {
	float: right;
	overflow-y: auto; /* Make the sections vertically scrollable */


}


.topnav a {
	color: #f2f2f2;
	text-align: center;
	padding: 14px 16px;
	text-decoration: none;
	font-size: 17px;
}


.wrapper{
	width: 70%;
	max-width: 600px;
	margin: 0 auto;
	padding: 0 2%;

}

option, optgroup { -webkit-appearance: none; }

select {
	background-color: #0070c0;
	color: white;
	font-family: arial;
	height: 50px;
	width: 100px;
	font-size:16px;
}

.custom-select {
	background-color: #ffc200; /* Change this to your desired color */
	color: black; /* Change this to your desired color */
	font-family: arial;
	height: 50px;
	width: 100px;
	font-size: 16px;
}

option {
	background-color: #0070c0;
	color: white;
	font-family: arial;
	height: 50px;
	font-size:16px;
}

.custom-select option {
	background-color: #ffc200; /* Change this to your desired color */
	color: black; /* Change this to your desired color */
	font-family: arial;
	height: 50px;
	font-size: 16px;
}

input[type=text] {
	background-color: white;
	background-image: url('searchicon.png');
	background-position: 10px 14px;
	background-repeat: no-repeat;
	padding: 12px 20px 12px 40px;
	width: 400px; !important;
	margin: 0;
	box-sizing: border-box;
	font-size:22px;
	line-height:22px;
	border: 1px solid #aaa;
	border-radius: 4px;
	vertical-align:middle;
}
input[type=submit] {
	font-family: arial;
	width:50px;
//margin: 0px 0px 0px 5px;
	padding: 18px 0;
	width: 87px;
	font-size:12px;
	background-color: #0070c0;
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	letter-spacing: 3px;
}

input[type=submit].custom-submit {
	font-family: arial;
	width:50px;
//margin: 0px 0px 0px 5px;
	padding: 18px 0;
	width: 87px;
	font-size:12px;
	background-color: #ffc200;
	color: black;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	letter-spacing: 3px;
}

#searchForm {
//text-align: center;
// margin-top:100px;
}

#show-list {
	margin:0px;
	width:70%;
//border: 1px solid #aaa;
	border-top:none;
	background-color: #fafafa;
	max-height: 200px; /* Adjust the value as needed */
	overflow-y: auto;
	overflow-x: hidden; /* Ensure no horizontal overflow */

}

#show-list a {
	display: block;
	width:100%;
	color: #2F54C8;
	font-family: arial;
	text-decoration: none;
	font-size:13px;
	color:#000;
	padding: 10px 40px;
}



header h1{
	margin: 32px auto 76px;
	text-indent: -10000px;
	background: url(logo.png) no-repeat;
	width:584px;
	height:85px;
}

header .logo2 {
	margin: 32px auto 76px;
	text-indent: -10000px;
	background: url(logo2.png) no-repeat;
	width: 584px;
	height: 85px;
}

.floatleft{
	display:inline-block;

	line-height: 18px;
	vertical-align:bottom;
}

.floatright{
	float: right;
	line-height: 18px;

}
.showResultsIntro {
	margin-top: 24px;
	margin-bottom: 34px;
}
.showResults {
	margin-bottom: 48px;
}

.showResults li {
	padding:6px;
	margin-bottom: 6px;
}

.ResultWord {
	padding:10px;
	margin-bottom:6px;
	background-color:#0070c0;
	color: #fff;
	font-weight:bold;
}
.ResultWord a {
	margin:20px;
	text-decoration: none;
	font-size:18px;
	color:#fff;
}


/************** ENTRY **************/

.entry {
	-webkit-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;
	font-family: "Cambria", serif;
}
.entryheader {
	margin-top:60px;
	text-align: center;
}
.word{
	font-size: 38px;
	font-weight: bold;
	color: darkblue;
	/* -webkit-text-stroke: 1px #333333; */
}
.WordPron{
	margin-left:12px;
	font-size: 28px;
	font-family: calibri;
}

.ConstructionPattern{
	font-weight: bold;
	color: darkblue;
}

.ConstructionPattern .SquareBrackets {
	line-height: 0px;
	font-size: 10px;
	color: #999999;
	/* color: #169f9f; */
}

.ConstructionSuper {
	/* vertical-align: super;
	font-size:18px; !important;*/
}
.WordInformation{
	font-size: 16px;
	font-family: "Arial";
	margin-top:10px;
	margin-bottom:40px;
}
.WordTransitivity {
	font-variant: small-caps;
}
.head_of_construction {
	color: #000;
	font-size: 18px;
	line-height: 18px;
	padding-bottom: 2px;
	margin-top: 15px;


}
.body_of_construction {
	border-left: 2px solid darkblue;
	border-top: 2px solid darkblue;
	margin-left: 20px;

}

.head_of_sfield {
	margin-left: 4px;
}

.sfield {
	border-right: solid #0070c0 1px;
	border-top: solid #0070c0 1px;
	border-bottom: solid #0070c0 1px;

	padding-bottom:4px;
	/* margin-bottom:10px;*/
	/* margin-left:4px;*/
}
.ConstructionCaps {
	font-variant: small-caps;
}
.ConstructionInflection {
	/* top:11px; */
}

.blueBoxLong {
	padding-left: 4px;
	/* padding-top: 1px;*/
	/* padding-bottom: 1px;*/
	padding-right: 3px;
	/* margin-top:2px; */
	background-color:#0070c0;
	color: #fff;
}

.SignPost {
	/*padding-left: 4px;
    padding-top: 1px;
    padding-right: 3px;
	background-color:#0070c0;
	color: #fff;*/
	padding-bottom: 1px;
	margin-left: 22px;
	margin-top: 4px;
	font-size: 12px;
}

.FieldVagueDefinition {
	/* font-size: 18px;*/
	/* font-weight: bold;*/
	/* font-family: arial; */
	/*line-height: 18px;*/
}

.FrameIndication {
	font-weight: normal;
	color: #660033;;
	border: solid 1px;
	padding-left: 2px;
	padding-right: 2px;

}



/******* Portions *******/

.MainSensePortion {
	margin-top:2px;
	padding-right:2px;
	/*text-align: justify;*/
	font-size:18px;
	line-height:20px;
	background-color: #f8f8ff;
}

.SubSensePortion{
	font-size: 14.5px;
	/* margin: 2px 0 2px 0px;*/

	border-top: 1px solid lightgray;
	border-bottom: 1px solid lightgray;

	/* padding:4px;
	line-height:18px;*/
}

.SubSensePortion Table{
	margin: 2px 0 2px 0px;}
p
{padding-left: 2px;
	background-color: #fbfbfb;}

p.Usage {
	/* background-color: #e8e8e8; */
	border-top: 1px solid lightgray;

}

/******* Sense derivation *******/


.Derivation{
	font-family: "Arial";
	font-size: 90%;
	font-variant: small-caps;
	/* font-weight: bold;*/
	color: #660033;
	/* color: darkblue;  */

}


/**** BULLETS ****/

p {position:relative}

.SenseFieldBullet{
	color:#0070c0;
}

.PhrasemeBullet{
	position:absolute;
	right:100.5%;
	top:2px;
	font-weight:bold;
}

.SpecialCaseBullet {
	color:#0070c0;
}

.SensePatternBullet{
	padding:0px 4px 1px 4px;
	background-color:#0070c0;
	color: #fff;
	font-weight:bold;
}
/*
.SubSensePortion .SensePatternBullet{
		background-color: #aa0077;

}
*/

.DefinitionBullet {
	color: #333333;
	font-weight:bold;
	/* color: #666666; */
}

.DerivationBullet{
	color: darkblue; /* color: #d00090; */
}

.UsagePatternBullet{
	color:#660033;
}

/***** SENSE PATTERNS *****/

.SensePattern {
	color: darkblue;
	/* color: #0000aa; */
}
.MainSensePattern {
	font-weight: bold;
}
.UsagePattern{
	/* font-weight: bold */;
	color:#660033;
}
.SubSensePattern{
	font-weight: bold;
}
.ExtensionPattern{
	font-weight: bold;
}

/******* Definitions ********/

.MainSenseDefinition{
	font-weight: bold;
}
.UsageDefinition{
}
.SubSenseDefinition{
	font-weight:bold;
}
.ExtensionDefinition{
	font-weight: bold;
}

.SenseDefinitionLink {
	text-decoration: underline solid #cccccc;
	cursor: pointer;
}

/***** Rest of LU *****/

.EditorMessage {

	background-color: lightyellow;

}

.Indication {}

.Example{
	font-style: italic;
}


.Synonym{
	color: darkblue;
}

.Collocation{
	color: darkblue;
}

.ExampleBullet{
	display:inline-block;
	line-height:0px;
	vertical-align:1.5px;

	border-radius:50%;
	border:1px solid;

	font-size:60%;
}

.ExampleBullet span {
	display:inline-block;

	padding-top:50%;
	padding-bottom:50%;

	margin-left:3px;
	margin-right:3px;
}

.CollocationBullet{
	display:inline-block;
	line-height:0px;
	vertical-align:1.5px;

	border-radius:50%;
	border:1px solid;

	font-size:60%;
	color:darkblue;
}

.CollocationBullet span {
	display:inline-block;

	padding-top:50%;
	padding-bottom:50%;

	margin-left:3px;
	margin-right:3px;
}

/*
.MoreExamplesBullet{
  display:inline-block;
  line-height:0px;
  vertical-align:0px;

  border-radius:50%;
  border:1px solid;

}

.MoreExamplesBullet span {
  display:inline-block;

  padding-top:40%;
  padding-bottom:50%;

  margin-left:1px;
  margin-right:0px;
}
*/

/* Other indications */

.UsageSign {
	color:#0070c0;
	font-weight:bold;
	border: solid 2px;
	color:#0070c0;
}

.SubsensesIndication {
	width:130px;
	vertical-align:top;
	text-align:right;
	color: #660033;
	background-color: #fff0f0;

	font-family: "Arial";
	font-size: 90%;
	font-variant: small-caps;
	/* font-weight: bold;*/
// color: darkblue; //
}

/******* Inline roles *******/

.Protagonist {
	font-variant: small-caps;
}

.ConstructionPattern .Protagonist {
	font-size:110%;
	color: #0070c0;
	font-variant: small-caps;
}

.MainSensePattern .Protagonist {
	font-size:110%;
	color:#0070c0;
	font-weight:bold;
}

.MainSensePattern .Collocated {
	font-size:110%;
}

.MainSenseDefinition .Protagonist {
	font-variant: normal;
	/* text-decoration: underline #d0d0d0;*/
	/* cursor: pointer;*/

}

.MainSenseDefinition>.Metatext>.Protagonist {
	color:#666666;
}

.Example .Protagonist {
	font-variant: small-caps;
}

.Synonym .Protagonist {
	font-variant: small-caps;
	color:#0070c0;
}

.SensePattern .Protagonist {
	color:#0070c0;
	font-variant: small-caps;
}

.SubSenseDefinition .Protagonist {
	font-variant: normal;
}

.ExtensionDefinition .Protagonist {
	font-variant: normal;
	/* text-decoration: underline #d0d0d0; */
	cursor: pointer;
}

.Collocation .Protagonist {

	font-variant: small-caps;
	color:#0070c0;
}

.SlashBetweenLetters {
	vertical-align:2px;
	font-size:70%;
}

.Subject {
	color:#660033;
}
.Adverb {
	color:#169f9f; /* salmon   #FF6347  #fa6858*/
	/*font-variant:small-caps;*/
}
.FieldDisambiguator {
	color: #169f9f; /* #0070c0; salmon; */
}

.Object {
	color: darkblue;
}
.RoundBrackets {
	/* font-weight: normal; */
}
.SquareBrackets {
	font-family: "Arial", sans-serif;
	font-stretch: condensed;
	font-weight: 400;
	font-size: 92%;
}

.Label {
	font-variant:small-caps;
}

.Collocated {
	font-variant:small-caps;


}

.Metatext {
	font-variant:small-caps;
	font-family:"Arial";
	font-stretch:condensed;
	/* font-size:92%;*/
}
.Generic {
	/* font-family:"Arial"; */
	font-family:"Cambria";

}
.Fixed {
	font-style:italic;
	font-variant: small-caps;
}
.Uncollocated {
	font-variant:normal;

	/*font-family:"Courier";
	font-size:115%;*/
}
.Emphasized {
	font-weight:bold;
}
.Deemphasized {
	font-weight:normal;
}
.Subscribed {
	line-height: 0px;
	font-size: 70%;
	text-decoration: none;
	/* vertical-align: -2px; */
	/* font-weight:normal; */
}

.Superscribed {
	line-height: 0px;
	font-size: 70%;
	text-decoration: none;
	vertical-align: 6px;
	font-weight:normal;
}

table.DoubleLine {
	display: inline-block;
	border-collapse: collapse;
}
tr.SuperLine {
	line-height: 18px;
}
tr.SubLine {
	line-height: 12px;
	vertical-align: bottom;
}
.SensePatternExplanation {
	text-decoration: underline dashed #aaaaff;
	cursor: e-resize;
}

/* footer */

footer {
	background: #ddd;
	padding-top: 30px;
	margin-top: 30px;
	clear: both; /* Ensures that the footer clears any floated elements */
}

footer h4{
	margin: 0;
	color: #555;
	font-size: 14px;
}

footer ul{
	float: left;
	width: 50%;
	list-style-type: none;
}

footer li{
	width: 80%;
	margin: 12px 0;
	font-size: 14px;
	line-height: 1.6em;
}
footer li a{
	color: #666;
	text-decoration: none;
}

footer:after{
	content: "";
	display: block;
	clear: both;
}

#copyright{
	clear: both;
	padding-top: 30px;
	margin-top: 30px;
	float: left;
	width: 100%;
	border-top: 1px solid #aaa;
	color: #999;
	font-size: 12px;
}


.tooltip {
	position: relative;
	/* display: inline-block;*/
}

.tooltip a {
	color: #fff; !important;
}

.tooltip .tooltiptext {
	visibility: hidden;
	max-width: 320px;
	min-width: 100px;
	background-color: #333;
	color: #fff; !important;
	font-style: normal;!important;
	font-size:14px;
	font-weight: normal !important;
	text-align: center;
	border-radius: 6px;
	padding: 5px;
	position: absolute;
	z-index: 1;
	bottom: 95%;
	left: 0%;
	margin-left: -10px;
	opacity: 0;
	transition: opacity 0.3s;
}
/*
.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}
*/
.tooltip:hover .tooltiptext {
	visibility: visible;
	opacity: 1;
	cursor: pointer;
}

.highlight {
	background-color: #007bff; /* Bootstrap primary blue */
	color: white; /* White text for better contrast */
	padding: 5px; /* Add some padding */
	border-radius: 5px; /* Optional: rounded corners */
}

.list-tooltip {
	position: relative;
}

.list-tooltip .list-tooltip-text {
	visibility: hidden;

	/* SAME STYLE AS YOUR OLD TOOLTIP */
	background-color: #333;
	color: #fff !important;
	font-style: normal !important;
	font-size: 14px;
	font-weight: normal !important;
	border-radius: 6px;
	padding: 5px;

	/* POSITIONING SAME AS OLD */
	position: absolute;
	z-index: 1;
	bottom: 95%;
	left: 0%;
	margin-left: -10px;
	opacity: 0;
	transition: opacity 0.3s;

	/* FIX FOR LONG COMMENT WRAPPING */
	max-width: 420px;        /* bigger → no early wrap */
	min-width: 120px;
	white-space: normal;     /* natural wrapping */
	word-break: break-word;  /* break long words only if needed */
	text-align: left;        /* avoids weird centering of long text */
}

.list-tooltip:hover .list-tooltip-text {
	visibility: visible;
	opacity: 1;
}

