/*
 * LAPOP STYLE *
 * **********/


@import url('https://fonts.googleapis.com/css2?family=Libre+Caslon+Display&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Antonio:wght@100..700&display=swap');

@font-face {
  font-family: "Theinhardt";
  /* src: url("fonts/theinhardt-regular.otf") format("opentype"); */ 
  src: url("theinhardt-regular.otf") format("opentype");
  /* font-weight: normal;
  font-style: normal; */ 
}
@font-face {
  font-family: "Theinhardt Bold";
  /* src: url("fonts/theinhardt-regular.otf") format("opentype"); */ 
  src: url("theinhardt-bold.otf") format("opentype");
  /* font-weight: normal;
  font-style: normal; */ 
}
@font-face {
  font-family: "Theinhardt Medium";
  /* src: url("fonts/theinhardt-regular.otf") format("opentype"); */ 
  src: url("theinhardt-medium.otf") format("opentype");
  /* font-weight: normal;
  font-style: normal; */ 
}

.ui-igtrialwatermark { 
	display: none; 
} 
h1,h2,h3,h4 { 
	font-family: "Libre Caslon Display", serif;
}
body { 
 	font-family: "Inter", sans-serif !important;
}
.entry-content a { 
	color: #8BA18E !Important;
        /* color: #C8A46A !important; */ 	
}
	.entry-content a:hover { 
		/* color: #768C79 !important; */ 
	       	color: #5F7062 !important; 	
	}
.btn-primary { 
	    background-color: #8BA18E !important;
	    border-color: #7C927F !important; 
} 	
	.btn-primary:hover { 
		background-color: #5F7062 !important;
	} 
.wp-block-page-list li a { 
	font-family: "Theinhardt Medium" !important;
       	font-size: 15px; 	
	transition: box-shadow .2s cubic-bezier(0.645, 0.045, 0.355, 1), color .2s cubic-bezier(0.645, 0.045, 0.355, 1);
	text-decoration: none !important; 
}
	
	.wp-block-page-list li a:hover { 
		color: #946e24 !important !important;
	} 	

/* menu triangle */

.wp-block-page-list li a {
  position: relative;
  padding-right: 1.2em; /* space for caret */
}

.wp-block-page-list li a::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);

  /* make a little square and show only the bottom + right borders */
  width: 6px;
  height: 6px;
  border-right: 2px solid #C8A46A; /* gold stroke */
  border-bottom: 2px solid #C8A46A;
}


/* end menu triangle */

/* search box stylizing */ 

.searchTitle {

    border-radius: 8px;
    /* border-color: #007BFF; */
    border: 1px solid #ccc;
    padding: 4px; 
}

.feyeglass { 
	    vertical-align: -8px;
    font-size: 21pt;
    margin-right: 4px;
} 

/* select styling */ 
select {
  font-family: "Theinhardt", sans-serif;
  font-size: 16px;
  color: #000;          /* text color */
  background: #fff;     /* background of the select box */
}
select option {
  font-family: "Theinhardt", sans-serif;
  font-size: 16px;
  color: #333;
  background: #fff;
}


select {
  appearance: none;           /* Removes default arrow (Safari/Firefox) */
  -webkit-appearance: none;   /* Removes default arrow (Chrome) */
  -moz-appearance: none;      /* Removes default arrow (Firefox) */

  /* padding: 10px 14px; */ 
  padding: 4px;
  padding-left: 9px;  
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #fff;
  font-size: 16px;
  font-family: inherit;
  color: #333;
  cursor: pointer;

  transition: border-color 0.2s, box-shadow 0.2s;
}

select:focus {
  border-color: #007BFF;
  box-shadow: 0 0 0 3px rgba(0,123,255,0.2);
  outline: none;
  border-color: #7C927F !important;
}

select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='black'><path d='M7 10l5 5 5-5z'/></svg>"); 
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px 16px;
  padding-right: 40px; /* space for arrow */
}

/* try with IGcombo */ 
/* 1) Put this AFTER the Ignite UI theme/structure CSS files */

/* Outer shell */
.ui-igcombo.ui-corner-all { 
  border-radius: 8px !important;
  overflow: hidden;                 /* keeps inner pieces from poking out */
}

/* Input (left side) */
.ui-igcombo .ui-igcombo-fieldholder-ltr { 
  border-radius: 8px 0 0 8px !important;
}
.ui-igcombo .ui-igcombo-fieldholder-rtl { 
  border-radius: 0 8px 8px 0 !important;
}

/* Dropdown button (right side) */
.ui-igcombo .ui-igcombo-button-ltr { 
  border-radius: 0 8px 8px 0 !important;
}
.ui-igcombo .ui-igcombo-button-rtl { 
  border-radius: 8px 0 0 8px !important;
}

/* 2) The popup list is attached to <body> by default, so style it globally */
.ui-igcombo-dropdown.ui-corner-all {
  border-radius: 8px !important;         /* or 0 0 8px 8px if you prefer only the bottom rounded */
  overflow: hidden;
}

.ui-igcombo input.ui-igcombo-field::placeholder {
  color: #999;             /* your custom color */
  /* font-style: italic; */       /* maybe make it italic */
  opacity: 1;              /* some browsers fade it by default */
  font-size: 14px;         /* control size */
  padding-left: 6px; 
}

/* end select */

.dsReset { 
	padding: 0.25rem .75rem !important;
       	margin-top: -3px; 	
} 

/* stylize select row */ 

.secondSRow { 
	margin-top: 10px; 
} 
.thirdSRow { 
	margin-top: -3px; 
} 
.checkWrap { 
	margin-right:10px; 
	margin-left: 10px; 
} 
/* select row */ 

.label-on-left { 
	display: flex;
    /* justify-content: center; */ 
    align-items: center;
}
.fdata { 
	margin-right: 10px; 
} 
.fdivider { 
	border-top: solid black 1px;
       	padding-top: 10px; 	
}
	.fdivider.fdown  {
		margin-top: 10px; 
		margin-bottom: 10px; 
	}
       	.fdivider.nobord { 
		border-top: none !important; 
	} 	
.fdivider h2 { 
	text-align: center;
       	margin: 0 auto; 	
} 
.fopts .checkbox-inline { 
	display: inline-block;
       	margin-right: 10px; 	
}
.fscrollbox { 
	display: inline-block;
    /* border: solid grey 1px; */ 
    padding: 20px;
        border: 1px solid rgba(0, 0, 0, .125);
    border-radius: .25rem;
}

.crow { 
	border-bottom: solid grey 1px; 
}
	.crow:hover { 
		cursor: pointer;
	       	background: #dfdcdc; 	
	} 
	.crow .fdel { 
		font-size: 14px;
	       	float: right; 	
	} 
		.crow .fdel:hover { 
			color: black;
		       	font-size: 14px; 
			font-weight: bold; 	
		} 	

/**
 * wp-core-ui select *
 * */

.backDsetEdit_wrapper select { 
  background-position: right 1px top 55% !important; /* or whatever values */
  width:40px;
  margin-right: 7px;  
}

/** 
 * hide file changes *
 * */

.formFile, .fileinput-exists { 
	display: none; 
}
.langCount, .datName { 
	display: contents; 
}
.removeQuest, .removeDat { 
	display: none; 
} 
.dfirsthide { 
	/* display: none !important; */ 
       visibility: hidden; 	
} 
.removeDatDiv { 
	width: 100%; 
}



/*** possibly move to the front! ***/ 
/**
 * front *
 * ***/ 
.box { 
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1), 0 0px 0 1px rgba(10, 10, 10, 0.02);
    color: #4a4a4a;
    display: block;
    padding: 1.25rem;
    margin-bottom: 40px;
    height: initial;  
}
.dsetTable { 
	width: 100%; 
	margin-top: 15px; 
}
	.tdfirst { 
		width: 40%; 
	} 
.dsetTable td { 
	border: 1px solid #dbdbdb; 
	    border-width: 0 0 1px;
    padding: 0.5em 0.75em;
    vertical-align: top;
    border-top: 1px solid #dbdbdb;
    border-left: 1px solid #dbdbdb;
    border-collapse: collapse;
    border-right: 1px solid #dbdbdb;
}
.dsetTable.is-bordered td { 
	border-width: 1px;
	    border-right: 1px solid #dbdbdb;
    border-top: 1px solid #dbdbdb;
    border-left: 1px solid #dbdbdb;
    border-collapse: collapse;
}
	.dpresent { 
		display: block; 
	}
       	.dficon { 
		float: right; 
	}
.tabDiv { 
	display: none; 
} 	
.tabDiv.active { 
	display:block; 
}

/***
 * delete datset *
 */
.dataDelete, .dataSend { 
	float: right; 
}
/***
 * add country *
 * **/
#countrySubmit, .btn.addtax { 
	margin: 10px; 
}
/**
 * edit dataset
 */
.editTools { 
	float: right; 
} 
	.ahide { 
		display: none !important; 
	}
       	.ainprogress { 
		display: none !important; 
	} 
	.editbox { 
		display: inline-block; 
	}
.wp-block-post-title { 
	visibility: hidden; 
	display: none; 
}
.tdarker { 
	background-color: #fafafa;
}
	.tdarker:hover, .tlight:hover { 
		background-color: whitesmoke;
	}
/**
 * adding files *
 * ***/
.file_generator { 
	margin-top: 14px
}
.newfile { 

} 
.nofile { 
	display: none; 
}
.fnupload { 
	margin-right: 5px; 
}
/***
 * catalogue icon *
 * */ 
.allcat { 
	font-size: 7px; 
	margin-left: 2px; 
}
	.allcat span { 
		font-size: 17px;
	       	vertical-align: 3px; 	
	} 

/*
 * pubyear  box *
 */
.pubyear { 
	width: 50%; 
}
.pubblockContainer { 
	display: inline-block;
       margin-top: 6px;
    float: right;
    width: 300px;
} 
.yearbox { 
	display: inline-block;
    border: solid black 1px;
    border-radius: 5px;
    padding-left: 6px;
    padding-right:  6px;
    margin-right: 5px; 
}
.yearname { 
	font-size: 12px; 
}
.ui-igcombo-highlight {
    pointer-events: auto !important;
    cursor: pointer;
}
.instusecancel { 
	    font-size: 8pt !important;
    /* margin-top: -3px; */
    vertical-align: 5px;
    cursor: pointer; 
}

/**
 * yearbox add in stream *
 * */
.yboxwrap { 
	margin-top: 10px; 
}
.shownValue .yearbox .instusecancel { 
	display: none; 
}
	.currYearEdit .yearbox:not(.currYearEdit .editbox .yearbox):hover, .dsetTable .colspan .yearbox:hover { 
		background: black;
    		color: white;
		cursor: pointer; 
	}
	.dsetTable .colspan .editbox .yearbox {
		box-shadow: 4px 3px 3px grey !important;
	} 
	.dsetTable .colspan .editbox .yearbox:active {
		/* margin-top:3px;*/ 
	       	transform:translateY(.35rem);
  		box-shadow:0 0 0 #1f4fbf, inset 0 .12rem .35rem rgba(0,0,0,.3);
		/* thanks Chat GPT */ 	
	} 
       		
/*
 * search bar year *
 */
.syearlabel { 
	top: -8px;
    position: relative;
    margin-right: 10px; 
}
.pubStore { 
display: inline-block;
    top: -9px;
    position: relative;
}
/**
 * titles in badge *
 * */
.badgeheader { 
	text-align: center;
       padding-top: 15px;
    /* margin-bottom: -28px; */ 
}
/***
 * ip authentication admin *
 * */
/* .fSearchChoose { 
	width: 45%; 
} */
/***
 * ip editing *
 * */
.editIpTools .itools .material-symbols-outlined { 
	font-size: 20px; 
}
.iprow .editBox { 
	display: none; 
} 
/**
 * ip address fancybox *
 * */
#homepagePopup { 
	text-align: center; 
}
/**
 * project selector *
 */
.projlift { 
	vertical-align: 8px;
    	margin-right: 7px;
} 
