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

*:focus {
	outline: none;
}

li {
	list-style: none;
}

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

.left-section{
    width: 50%;
    height: 100vh; /* Set height to 100% of viewport height */
    padding: 20px;
    box-sizing: border-box;
    float: left;
    overflow-y: auto; /* Make the sections vertically scrollable */

}

.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;
    float: right;
    overflow-y: auto; /* Make the sections vertically scrollable */
}

/************** Tooltip **************/

.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:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
    cursor: pointer;
}

.edit-link {
    text-decoration: underline;
    cursor: pointer;
}
.edit-link:hover {
    color: #2980b9;
}

/************** Search **************/

.pads-search-wrapper {
    width: 80%;
    max-width: 700px;
    margin: 20px auto;
    padding: 10px 40px;
    box-sizing: border-box;
}

.pads-search-box {
    position: relative;
}

.pads-search-form {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.pads-search-select {
    width: 180px;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.pads-search-input {
    flex: 1;
    min-width: 240px;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.pads-search-submit {
    height: 42px;
    padding: 0 20px;
    font-size: 16px;
    background-color: #0070c0;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pads-search-results {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    z-index: 1000;
    background: #fafafa;
    border: 1px solid #aaa;
    max-height: 220px;
    overflow-y: auto;
    box-sizing: border-box;
}

.pads-search-result {
    display: block;
    padding: 10px 12px;
    text-decoration: none;
    color: #000;
    font-family: Arial, sans-serif;
    font-size: 13px;
}

.pads-search-result:hover {
    background: #e9eefc;
}

/************** Header and Footer **************/

.topnav {
	background-color: #999;
	overflow: hidden;
	text-align:right;
	padding:10px;
	color: #fff;
}

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

/* footer */

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

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

/************** Input Fields **************/

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;
}

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

}

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;
}



/* .editor-wrapper — see "=== Editor Panel ===" section at bottom of file */
#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;
}


.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;
}

.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;
}


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

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

/************** 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: 16px;
	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;
}

.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;
}



/***** 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;
}

.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;
}


/* ============================================================
   === Editor Panel (.editor-wrapper) ===
   Scoped overrides — reset global style_main.css rules
   (blue selects, search-icon on inputs, etc.) so the admin
   editor forms look clean without touching the rest of the site.
   ============================================================ */

.editor-wrapper {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
    position: relative;
    border: 2px solid #ddd;
}

.editor-wrapper input,
.editor-wrapper select {
    width: 100%;
    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-image: none !important;   /* cancels searchicon from global rule */
    font-size: 14px !important;          /* cancels 22px from global input rule  */
    line-height: normal !important;
    height: auto !important;
    min-height: 42px !important;
}

.editor-wrapper select {
    background-color: white !important;  /* cancels blue global select */
    color: black !important;
    height: auto !important;             /* cancels 50px global select */
    font-family: inherit !important;
    -webkit-appearance: auto !important;
    appearance: auto !important;
}

/* Tighten row inputs inside repeaters */
.editor-wrapper .lu-row input {
    margin: 0 0 2px 0 !important;
}

/* Radio buttons used for the "hide none / hidden" feature in repeaters.
   Must use !important on every property to beat .editor-wrapper input !important rules. */
.editor-wrapper input[type="radio"].lu-radio,
.editor-wrapper .lu-row input[type="radio"].lu-radio {
    width: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 4px 0 0 !important;
    display: inline-block !important;
    border: revert !important;
    background: revert !important;
    box-shadow: none !important;
    vertical-align: middle !important;
    -webkit-appearance: radio !important;
    appearance: radio !important;
    line-height: normal !important;
}

.lu-radio-label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 0.82em !important;
    font-weight: normal !important;
    cursor: pointer !important;
    color: currentColor !important;
    white-space: nowrap !important;
    margin: 0 !important;
    padding: 0 !important;
}


.editor-wrapper option,
.editor-wrapper optgroup {
    background-color: white !important;
    color: black !important;
    height: auto !important;
    font-size: 14px !important;
    -webkit-appearance: auto !important;
    appearance: auto !important;
    padding: 4px !important;
}

.editor-wrapper select,
.editor-wrapper input[type=number] {
    width: 200px !important;
}

.editor-wrapper .custom-number-input {
    width: 100% !important;
    padding: 12px 20px;
    margin: 8px 0;
    display: block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    background-color: white;
    color: #000;
}

.editor-wrapper .custom-number-input2 {
    width: 100%;
    max-width: 200px;
    padding: 12px 20px;
    margin: 8px 0;
    display: block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1em;
    background-color: white;
    color: #000;
}

.editor-wrapper .action-button {
    padding: 8px 16px;
    font-weight: bold;
    background-color: #e0e0e0;
    color: #000;
    border: 1px solid #bbb;
    border-radius: 0;
    cursor: pointer;
    font-size: 0.95em;
}

.editor-wrapper input[type=submit],
.editor-wrapper input[type=button] {
    width: 200px !important;
    background-color: #0070c0 !important;
    color: white !important;
    padding: 14px 20px !important;
    margin: 20px 0px !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    letter-spacing: normal !important;
    font-size: 14px !important;
}

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

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

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

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

.editor-wrapper .element_label {
    height: auto;
    min-width: 4%;
    padding: 12px 0;
    margin: 2px 0;
}

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

.editor-wrapper .element_controll {
    margin: 0 12px;
    background: #e0e0e0;
    border: 1px solid #ccc;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

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

.editor-wrapper .category_controll {
    margin: 0 12px;
    background: #e0e0e0;
    border: 1px solid #ccc;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

.editor-wrapper .close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    z-index: 999;
    color: black;
    font-weight: bold;
}

.editor-wrapper .show-list {
    margin: 0;
    width: 70%;
    border-top: none;
    background-color: #fafafa;
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
}

.editor-wrapper .show-list a {
    display: block;
    width: 100%;
    color: #660033;
    font-family: arial;
    text-decoration: none;
    font-size: 13px;
    padding: 10px 40px;
}

/* Soft-deleted repeater rows */
.editor-wrapper .lu-row--deleted {
    opacity: 0.35;
    text-decoration: line-through;
}
.editor-wrapper .lu-row--deleted button {
    pointer-events: all !important;
    text-decoration: none;
    opacity: 1;
}

/* Dynamic row action buttons */
.editor-wrapper .lu-row button {
    background-color: #e0e0e0;
    border: 1px solid #bbb;
    border-radius: 4px;
    padding: 6px;
    cursor: pointer;
    color: #000;
}

/************** Soft-Delete Toggle **************/
/* Hidden by default; revealed when an editor clicks "Show Deleted Entries" */
.status-deleted { display: none !important; }
body.show-deleted-items .status-deleted { display: block !important; opacity: 0.55; border-left: 3px solid #dc3545; padding-left: 6px; background-color: #fff8f8; margin-bottom: 4px; }
body.show-deleted-items .status-deleted * { text-decoration: line-through; }
body.show-deleted-items .status-deleted button,
body.show-deleted-items .status-deleted form { text-decoration: none; }
