/* Misc entry CSS */
.entry-body {
	border: 1px dotted lightgray; 
	display:flex;
	overflow:unset !important;
}
.entry-body,
.entry-main {
    border:none !important;
}
.entry-main-excl-pronunciation.entry.offensive{
	pointer-events: none;
	filter: blur(4px);
	 -webkit-filter: blur(4px);
	}

.style-dd-generic{
	display:inline-table;
	
}
.style-dt-generic{
	display:inline-block;
	width:4.5em; 
	font-variant:small-caps; 
	color:gray;
}
.style-generic-pedding{
	padding-top: 0em; 
	padding-bottom: 0em;
	
}
.style-dl-etymology-first-use{
	padding-top: 0.1em; 
	padding-bottom: 0.2em;
	padding-left:7.5em;
}
.style-dt-derivatives{
	display:inline-block; 
	width:6em;font-weight:bold; 
	font-variant:small-caps; 
	color:gray;
}
.style-dt-etymology-first-use{
	display:inline-block; 
	width:7.5em;
}
.style-a-phonetics{
	color:gray;
}
.style-details-summary{
	font-weight: bold; 
	font-variant:small-caps; 
	font-size:smaller;
}
.style-span-label-generic{
	font-variant:small-caps;
	color:red;
}
/*sticky headword section*/
.entry-header{
	padding-top: 1.5em;
	padding-bottom: 0.5em;
	border: 1px dotted lightgray;

	position:-webkit-sticky;
    position:sticky;
    top:85px;
	background:#ffffff;
	z-index:94;
	border:none !important;
	border-bottom:1px solid gainsboro !important;
	display:flex;
	justify-content:space-between;
	align-items: center;
}

span.hiddenText {
	display: none;
}

.show-more {
	font-size: 14px;
	padding-left:10px;
	color: #A30434;
	text-align: right;
	font-variant: small-caps;
	cursor: pointer;
	white-space: nowrap;
}

img.show-more, #show-more {
	height:8px;
	max-width:25px;
}


/* Unassimilated markers */
/* In use: */
span.unassimilated-marker-hw {
	/*vertical-align: text-top;*/
}
/* TO DO later: could use tweaking */
span.unassimilated-marker-c, 	/* e.g.: berglelie 					*/
span.unassimilated-marker-il, 	/* e.g. (only one instance): kaffer op sy plek */
span.unassimilated-marker-bl, 	/* e.g.: rande						*/
span.unassimilated-marker-ph,	/* e.g.: gashle						*/
span.unassimilated-marker-s2,	/* e.g.: aikona sense A  			*/
span.unassimilated-marker-s3,	/* e.g.: brandwag 					*/
span.unassimilated-marker-s4 {  /* e.g.: bok sense 1 a 				*/
	font-family: Arial, Helvetica, sans-serif;
	color: #888;
	font-size: larger;
	/* whichever font is used should not produce the squat chunky double vertical bar that is shown by default; cf. print edition akkedis for example */
}

span.unassimilated-marker-s1 { /* not currently in use */ }
span.unassimilated-marker-s5 { /* not currently in use */ }
span.unassimilated-marker-s6 { /* not currently in use */ }

#tools-menu > span {
    display: flex;
    justify-content: space-between;
    font-variant: small-caps;
	text-decoration:none;
	float:none !important;
	padding:0 !important;
}

#tools-menu {
	padding-top:18px;
	width: 28%;
	margin-left:0;
	margin-right:1.5em;
    font-variant: small-caps;
	text-decoration:none;
	display:flex;
	justify-content:space-between;
	align-items: center;
}

#tools-menu > button {
	color: #2b8815 /*!important*/;
    letter-spacing: 1px;
    font-family:'Roboto';
    font-size:18px;
}

#tools-menu > button::-moz-focus-inner {
  border: 0;
}

#tools-menu > button:hover {
	text-decoration: underline;
	color:#2b8815;
	font-weight: normal;
}

#results-list-timebar-tooltip > svg text {
    font-size:10px;
}

.entry-main .show-more:hover {
	color: #A30434;
	text-decoration:underline;
}

/* Misc show-more expander styling */
.show-more {
	font-size: 14px;
	padding-left: 5px;
	color: 	#A30434;
	text-align: right;
	font-family:'Roboto', sans-serif;
}

.show-more-indent{
	padding-left: 2.6em;
	font-size:14px;
}

.show-more svg {
	height: 8px;
	margin-left: 5px;
	width: 8px;
	fill: #A30434;
}

div[id^='middle_'],
div[id^='bottom_'] {
	padding-top: 10px;
}
.entry-derivatives dd {
	display:table !important;
}
span.sm-ellipsis {
	letter-spacing: 2px;
}

/* Logic for hiding and showing items with a show-more expander */
.show-more-item {
	display: block;
}

.show-more-item.hide {
	display: none;
}


/*Larger devices & tablets under mobile banner display*/
@media screen and (max-width: 1200px) {
.entry-header{
	position:relative;
	top:0px;
	padding-top:1px !important;
	}
#tools-menu {
	width:30%;
	margin-right:0em;
}

}
/*Medium devices & tablets*/
@media screen and (max-width: 992px) {
.entry-header{
	position:relative;
	top:0px;
	padding-top:1px !important;
	}

.entry-main {
    border:none !important;
    width:100%;
}

}

/*Smaller devices & landscape phones*/
@media screen and (max-width: 768px) {
.entry-header{
	position:relative;
	top:0px;
	padding-top:1px !important;
	}
.entry-body {
	display:inline-block;
	overflow:hidden !important;
	width:100%;
	}
#tools-menu {
	position:fixed;
	z-index:98;
    bottom:0em;
	padding-top:0em;
	width: 100%;
	height:2.5em;
	margin-left:-1em;
	margin-right:0;
    font-variant: small-caps;
	text-decoration:none;
	display:grid;
	grid-template-columns: 25% 25% 25% 25%;
	justify-content: space-around;
	align-items: center;
	background: #fff/*#f0ca4d*/;
	}
#tools-menu > button {
	color: #fff /*!important*/;
	letter-spacing: 1px;
    font-family:'Roboto';
    font-size:1.2em;
    height: 2.3em;
    border: 0.05px solid #fff; ;
    -webkit-box-shadow: -2px 0px 3px 0px rgba(0,0,0,0.1);
	box-shadow: -2px 0px 3px 0px rgba(0,0,0,0.1);
    background: #f0ca4d;
    }
#entry-help-btn:hover {
	text-decoration: none;
	color:#fff;
}
#tools-menu > button:hover {
	text-decoration: none;
/* 	color:#525450; */
	font-weight: normal;
	}
#tools-menu > button:visited {
	text-decoration: none;
	color:#fff;
}
#tools-menu > button#entry-share-btn,
#tools-menu > button#entry-cite-btn,
#tools-menu > button#entry-print-btn,
#tools-menu > button#entry-help-btn
 {
	color: #fff;
	text-decoration: none;
	font-weight: normal;
}
}

/*Mobile phones*/
@media screen and (max-width: 480px) {
.entry {
	padding-top:none;
	}
.entry-header{
	position:relative;
	top:0px;
	padding-top:1px !important;
	}
.entry-derivatives dd {
	display:block !important;
}
#entry-print-btn {
 	display:none;
 	}
#back-to-top {
    position:fixed;
    right:3%;
    bottom:10%;
    background-color:#316b14;
    line-height:1;
    padding:4px 6px;
    border-radius:3px;
    display:none;
}
#tools-menu {
	position: fixed;
	z-index:1;
	opacity:1;
	visibility: visible;
    bottom:0em;
	padding-top:0em;
	width: 100%;
	height:2.5em;
	margin-left:-1em;
	margin-right:0;
	font-variant: small-caps;
	font-family: Georgia, 'Times New Roman', Times, serif;
	text-decoration:none;
	display:grid;
	grid-template-columns: 33.3% 33.3% 33.3%;
	justify-content: space-around;
	align-items: center;
	background: #fff/*#f0ca4d*/;
}
#tools-menu > button {
	color: #fff /*!important*/;
	letter-spacing: 1px;
    font-family:'Roboto';
    font-size:1.2em;
    height: 2.3em;
    padding-bottom:0em;
    padding-top:0em;
    padding-left:0em;
    padding-right:0em;
    border: 0.05px solid #fff; ;
    -webkit-box-shadow: -2px 0px 3px 0px rgba(0,0,0,0.1);
	box-shadow: -2px 0px 3px 0px rgba(0,0,0,0.1);
    background: #f0ca4d;
    }
#tools-menu > button:not(#entry-help-btn):hover {
	text-decoration: none;
	color:#525450;
	font-weight: normal;
}

#tools-menu > button:visited {
	text-decoration: none;
	color:#fff;
}
.show-more .show-more-indent{
	padding-left: 2.6em;
}
}
