/* ==========================================================================
   Controlled Vocabulary Search (controlledvocabulary/search.jsp)
   Page-specific styles, extracted from inline style attributes.

   NOTE: #flashContent / #taxonCanvas (the CreateJS canvas tree) is
   intentionally left untouched and is NOT styled from this file - the
   canvas drawing code positions everything using hardcoded pixel
   coordinates, so its layout must not be touched.

   #searchContent / #if / #loading have shared base rules in stylesNEW.css
   (also used by browse/lrt/lrt.jsp) - only the page-specific overrides
   that search.jsp needs on top of those base rules live here.
   ========================================================================== */

#page_content {
    background-image: url(../image/home/new-icreate-imgs/bck_4.jpg);
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}


.wrap {
    width: 100%;
    box-sizing: border-box;
    /* side inset of the breadcrumb, the page head and the content: --page-inset (stylesUGCnew.css) */
    padding: 0 var(--page-inset);
    background-color: #ffffff00;
    text-align: left;
    display: inline-block;
}

/* Breadcrumb (layout/location-bar.jsp): starts at the inset, like the title */
p.locationBar {
    margin-left: 0;
    margin-right: 0;
}

/* Title + view toggle row: layout .page-head, toggle .view-toggle (stylesUGCnew.css) */
.cvSearchTitle {
	font-weight: 700;
	color: #315758;
	letter-spacing: 1.5px;
}

/* Breadcrumb (.subjectTabs / .subjectTabsWrapper relocated from styles.css - only used on this page) */
.subjectTabs {
	color: #2b3e42;
	font-weight: bold;
	font-size: 11px;
	display: inline-block;
	height: 24px;
	line-height: 24px;
	vertical-align: middle;
	font-family: verdana, Arial, Helvetica, sans-serif;
}

/* Levels above the current one go back to that level (see cvRenderBar in search.jsp) */
.subjectTabsLink {
	margin: 0;
	padding: 0 2px;
	border: 0;
	background: none;
	color: inherit;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.subjectTabsLink:hover {
	color: #e58935;
}

.subjectTabsLink:focus-visible {
	outline: 2px solid #2b3e42;
	outline-offset: 1px;
}

.subjectTabsSep {
	color: #2b3e42;
	font-weight: bold;
	font-size: 11px;
}

.subjectTabsWrapper {
	clear: both;
	width: 900px;
	/* 900px + 70px padding ran 633px off the page on phones, also in list view */
	max-width: calc(100% - 70px);
	min-height: 24px;
	display: block;
	text-align: left;
}

/* List view (alternative to the canvas tree) */
#subList {
	display: none;
	height: 530px;
	overflow-y: auto;
	clear: both;
	border-radius: 14px;
	border: 1.5px solid rgba(255, 255, 255, 0.2);
	background: rgba(0, 0, 0, 0.3);
	scrollbar-width: thin;
	scrollbar-color: rgba(229, 137, 53, 0.6) rgba(255, 255, 255, 0.08);
}

#subList::-webkit-scrollbar { width: 5px; }
#subList::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.05); border-radius: 99px; }
#subList::-webkit-scrollbar-thumb { background: rgba(229, 137, 53, 0.6); border-radius: 99px; }

.cvListFrame {
	overflow: hidden;
	width: 100%;
	height: 1300px;
	background: transparent;
}


/* Hidden "search in results" form */
#searchform {
	display: none;
}

/* Results panel - overrides/additions on top of the shared stylesNEW.css rules */
#searchContent{
  margin: -50px 0 36px;
	background: transparent;
	border:none;
	min-height: 100px;
	width:100%;
	text-align:center;
	overflow-x: hidden;
	vertical-align: middle;
	z-index:1000;
}

/* The -50px top margin above tucks the results under the empty bottom of the
   canvas tree; in the list view (#subList) it made them overlap the list. */
#searchContent.cvAfterList {
	margin-top: 24px;
}

#if {
	background: transparent;
	display:none;
	position:relative;
	width:100%;
	max-width: 1280px;   /* narrower results on desktop, full width on tablets/phones */
	margin: 0 auto;
	overflow-x:hidden;

}

#loadingImg {
	width: 100px;
}
