/******************************************************************************
 * default_content_styling.css
 *
 * A set of default stylings for the page content (not layout) for MAF
 * projects.  It is expected that more mature projects will use their own
 * style-sheets and so this is targetted at new projects, with the purposes
 * of getting something decent quickly, so you can worry about functionality
 * before having to get into the messy business of styling the thing.
 ******************************************************************************
 */

/* Colour values, used in multiple places. */
 /* amended for beta */
 /* amended for beta */

/*************** STANDARD HTML ELEMENTS ***************/

	a,
	.ui-widget-content a {
		color: #891F59;
	}

	a:hover,
	a:focus,
	a:active {
		color: #A7A926;
	}

	h3 {
		font-size: 1.2em;
		margin: 1em 0 0.5em 0;
	}

	h3.divider {
		border: 1px solid #CCCCCC;
		background-color: #F0F0FF;
		padding: 0.25em 0.5em;
		margin: 1em 0;
	}

	p, ul {
	/* Tidy up margins before/after these block elements.  The default seems
	 * a bit large.
	 */
		margin-top: 0.75em;
		margin-bottom: 0.75em;
	}

	hr {
		border: none;
		border-top: 1px solid #D0CBC2;

	/* Top/bottom margin set to 1em
	 * Side margins set to a small negative number, so they are slightly wider than
	 * the text.
	 */
		margin: 1em -0.5em;
	}

/*************** TABLES ***************/

	table {
		border-collapse: collapse;
		margin: 0.2em auto;
	}

	table, td, th {
		border: 1px solid #9999FF;
	}

	td, th {
		padding: 0.2em 0.4em;
	}

	th {
		background-color: #C0C0FF;
	}

	th.tblSecondaryHeading {
		background-color: #DAD8D8;
		text-align: left;
		color: #000000;
	}

	th a {
		color: #FFFFFF;
	}

/*** Number cells should be right-aligned ***/
/* Should be used for all numeric columns of data, where the digits are expected
 * to line up.
 */

	td.NumberCell {
		text-align: right;
	}

/* 10913 Updated the advanced results table so the headings and cell entries are all centred */
/* Also removed the unused right padding of the heading link as we're not showing the sort arrows */

	#ResultList.AnalysisList td {
		text-align: center;
		padding-right: 0;
	}

	#ResultList.AnalysisList th a {
		padding-right: 0;
	}

/*** Button cells should be fully centered, with all padding removed. ***/
/* Should be used for all cells that just contain a single button, of any sort. */

	td.ButtonCell {
		text-align: center;
		vertical-align: middle;
		padding: 0.2em;
	}

/*** Compact ***/

	table.tblCompact td, table.tblCompact th {
		padding: 0;
	}

	table.tblBorderless, table.tblBorderless td, table.tblBorderless th {
		border: none;
	}

	table.tblBorderless th {
		background: transparent;
	}

/*** Sortable Headings ***/

/* Right padding to leave space for sort-icon.  This is used even if no sort-icon
 * is displayed so that table columns do not jump around when no icon selected.
 */
	tr.SortableTableHeader th a {
		padding-right: 18px;
		display: block;
	}

	th.SortUp a, th.SortDown a {
		background-repeat: no-repeat;
		background-position: right center;
	}

	th.SortUp a {
		background-image: url(https://www.agrifoodtool.org/agrifood/index.php?Request=image&Path=images%2Fsort_up.png);
	}

	th.SortDown a {
		background-image: url(https://www.agrifoodtool.org/agrifood/index.php?Request=image&Path=images%2Fsort_down.png);
	}


	#ResultList.AnalysisList {
		position: absolute;
		top: 220px;
		right: 30px;
		bottom: 20px;
		left: 30px;
		overflow: auto;
	}

	#ResultList.AnalysisList table {
		margin: 0;
	}

	#ResultList.AnalysisList table td {
		min-width: 210px;
		padding: 7px 10px;
	}

	#ResultList.AnalysisList table th a {
		text-decoration: none;
	}

	#ResultList.AnalysisList table th a:hover {
		text-decoration: underline;
		color: #FFFFFF;
	}

	#page-analysis_results_list #footer {
		display: none;
	}

	#ResultList.AnalysisList table td:nth-child(2) {
		text-align: left;
	}

	#ResultList.AnalysisList table td.percentage {
		text-align: right;
		min-width: 100px;
	}

	#ResultList.AnalysisList table td.percentage span {
		margin-right: 20px;
		font-size: 0.8125rem;
	}



/*************** NOTIFICATIONS PANEL ***************/

	#NotificationsPanel {
		margin-top: 1em;
		margin-bottom: 2em;
		max-width: 600px;
	}

	#page-analysis_results_list #NotificationsPanel {
		position: absolute;
		left: 400px;
	}

	#NotificationsPanel p,
	p.Information,
	p.DataUpdated,
	p.Error,
	p.Warning {
		margin: 0;
		margin-bottom: 0.5em;

		padding: 0.2em 0.4em;

		color: #333399;
		border: 1px solid #9999CC;
		border-left-width: 3px;
		background-color: #F0F0FF;
	}

	#NotificationsPanel p.DataUpdated,
	p.DataUpdated {
		color: #339933;
		border-color: #99CC99;
		background-color: #F0FFF0;
	}

	#NotificationsPanel p.Error,
	p.Error {
		color: #CC0000;
		border-color: #CC0000;
		background-color: #FFF0F0;
	}

	#NotificationsPanel p.Warning,
	p.Warning {
		color: #FF9966;
		border-color: #FF9966;
		background-color: #FFF9F0;
	}

/*************** Date/Time inputs ***************/

	.DateMonth,
	.DateDay,
	.TimeHour,
	.TimeMinute {
		width: 1.2em;
	}

	.DateYear {
		width: 2.2em;
	}

/*************** STANDARD FORM LAYOUT ***************/
/* These rules provide a nicer layout for forms, which will be applied to any
 * forms with the StandardInputForm class.
 * Note that these properties expect a certain layout for forms, which is not
 * currently fully defined (it is as per CaSS, but there is not yet a formal
 * description of this, or any code to auto-create it, though this is coming...)
 */

	.StandardInputForm {
		margin: 1em 2em;
	}

/* Ensure forms in table cells don't add any additional white-space. */
	td > .StandardInputForm,
	th > .StandardInputForm {
		margin: 0;
		padding: 0;
	}

	.StandardInputForm p {
		padding: 2px 0;
		margin: 0;
		clear: left;
	}

	.StandardInputForm div {
		margin: 0 0 0 0;
	}

	.StandardInputForm label {
		font-weight: bold;
		vertical-align: baseline;
		width: 15em;
		float: left;
		padding-right: 1em;
	}

/* Use the ButtonGroup class to indent buttons to match the other inputs. */
	.StandardInputForm .ButtonGroup {
	/* Clear any floats. */
		clear: left;

	/* Indentation is 15em label width + 1em right-padding */
		margin-left: 16em;

	/* A small top-margin to separate out a bit. */
		margin-top: 0.5em;
	}

	.StandardInputForm .ButtonGroup input {
	/* Add a bit of space between buttons. */
		margin-right: 1em;
	}

	.StandardInputForm .LargeButtonDelete {
	/* Separate out delete buttons - always the last in the button group - so that
	 * they are less likely to be accidentally clicked.
	 */
		margin-left: 5em;
	}

	.StandardInputForm label {
		min-height: 1em;
		margin: 0;
		min-width: 5em;
		clear: left;
	}

	.StandardInputForm input[type="text"],
	.StandardInputForm input[type="password"],
	.StandardInputForm select,
	.StandardInputForm textarea,
	.StandardInputForm label {
		min-height: 1.3em;
	}

	.StandardInputForm fieldset {
		border: 0;
		padding: 0;
		margin: 0;
	}

	.StandardInputForm fieldset label {
		font-weight: normal;
		display: inline;
		float: none;
		text-align: left;
		width: auto;
	}

	.StandardInputForm input,
	.StandardInputForm textarea {
		padding: 0 2px;
	}

	.DataEntryError {
		border: 1px solid #FF0000 !important;
	}

	.DataErrorDescription {
		color: #CC0000;
	}

	.RequiredData {
		background-color: #FFFFE0;
		border: 1px solid #808080;
	}

	.StandardInputForm .DataEntryNote {
		color: #999999;
		font-size: 0.9em;

	/* Give back the standard paragraph margin, which has been removed from all
	 * paragraphs in the standard form, as we use paragraphs to enclose each field
	 * and we don't want these to be unduly spaced out.
	 * Any paragraphs of actual content in the form should be flagged as
	 * class="DataEntryNote" so that they get their proper margins back.
	 */
		margin: 1em 0;

	/* Undo the line-height that has been set for paragraphs that need to align
	 * their labels, as this doesn't apply for data-entry notes.
	 */
		line-height: 1.2em;
	}

	.StandardInputForm .NonCurrentListItem {
		color: #999999;
	}

	.StandardInputForm .DataBlock {
		padding: 5px 10px;
		margin: 5px 0 5px -10px;
		border: 1px dashed #7DB07D;
	}

	.StandardInputForm .FieldsetElement {
		white-space: nowrap;
		display: inline;
	}

	input[type="checkbox"] {
		vertical-align: middle;
		position: relative;
		top: -2px;
		margin: 0;
		margin-right: 0.5em;
	}

	td input[type="checkbox"] {
		top: 0;
		margin: 0;
	}

/******************* TIDY UP JQUERY UI ELEMENTS ***********************/
/* The base JQuery UI skin is, for some unfathomable reason, horrible.
 * Here we make a few tweaks to make it a bit more usable.
 * TODO: Buttons are styled differently to the standard browser buttons.
 *		 We should adopt a default button style that we can apply to standard
 *		 buttons AND jQuery UI buttons, so there is a consistent look and feel.
 *		 Or else
 */

/* Bring the overall font-size down.  For some reason, it is increased to 1.1em in
 * the default stylesheet!
 */

	.ui-widget {
		font-size: 0.909em;

	/* Also, set the fields to use the default font, as defined for the project. */
		font-family: inherit;
	}

/* Additionally, shrink the input widgets a bit further, as they come out a bit
 * large at the moment.
 */
	.ui-widget input,
	.ui-widget select,
	.ui-widget textarea,
	.ui-widget button,
	.ui-datepicker .ui-datepicker-title select {
		font-size: 0.9em;

	/* Also, set the fields to use the default font, as defined for the project. */
		font-family: inherit;
	}

/* Style the title bar to remove the padding around it, and make it more like
 * a standard title bar (instead of a bordered heading).
 */

	.ui-dialog {
		padding: 0;
	}

	.ui-dialog-titlebar {
		border-width: 0 0 1px 0;
		-moz-border-radius: 0;
		-khtml-border-radius: 0;
		-webkit-border-radius: 0;
		border-radius: 0;
	}

/* Remove unwanted space from the button pane at the bottom of the dialog box,
 * and give it a slightly different backgroundd color, to better separate it from
 * the box's content.
 */
	.ui-dialog .ui-dialog-buttonpane {
		margin: 0;
		padding: 0 1em;
		background-color: #F0F0FF;
	}

/* Add drop-shadow to the dialog box, to make it 'hover' above the page. */
	.ui-dialog {
		-moz-box-shadow: 1px 1px 0 #BFC2A3, 1px 1px 2px #B0B68E;
		-khtml-box-shadow: 1px 1px 0 #BFC2A3, 1px 1px 2px #B0B68E;
		-webkit-box-shadow: 1px 1px 0 #BFC2A3, 1px 1px 2px #B0B68E;
		box-shadow: 1px 1px 0 #BFC2A3, 1px 1px 2px #B0B68E;
	}

/* Datepicker: make sure the datepicker button is correctly aligned, vertically, with
 * the input boxes it is associated with.
 */
	.ui-datepicker-trigger {
		vertical-align: bottom;

	/* Also, give it a hand cursor, to indicate that it can be clicked. */
		cursor: pointer;

	/* Give some right-margin, so if there is an error it isn't buffered right up
	 * against the icon.
	 */
		margin-right: 0.5em;
	}

/* Datepicker: Tweak size and positioning of the prev/next buttons so they are
 * aligned neatly within the header section, now that the size of the select boxes
 * has been shrunk slightly (above).
 */

	.ui-datepicker .ui-datepicker-prev,
	.ui-datepicker .ui-datepicker-next {
		height: 1.5em;
		top: 3px;
	}

	.ui-datepicker .ui-datepicker-prev-hover,
	.ui-datepicker .ui-datepicker-next-hover {
		top: 2px;
	}

	.ui-datepicker .ui-datepicker-prev {
		left: 3px;
	}

	.ui-datepicker .ui-datepicker-prev-hover {
		left: 2px;
	}

	.ui-datepicker .ui-datepicker-next {
		right: 3px;
	}

	.ui-datepicker .ui-datepicker-next-hover {
		right: 2px;
	}

/* Datepicker: Give a bit of space between the month/year fields. */

	.ui-datepicker select.ui-datepicker-month {
		margin-right: 2px;
	}

/******************* END JQUERY UI ELEMENTS ***********************/

/* TechAdminOnly is a class that can be assigned to highlight items that are only
 * available to techadmin users.  It expects to be applied to a block-level element
 * that is a wrapper for the techadmin-only content.
 * Note: the second selector is to ensure the rule is applied to div elements in
 * input forms, which traditionally have their margin removed.
 */
	.TechAdminOnly,
	.StandardInputForm div.TechAdminOnly {
		border: 1px dashed #CC0000;
		background-color: #FFFFF0;
		margin: 2em 0;
		padding: 0.5em 1em;
	}

/*************** Paginator ***************/

	.Paginator {
		margin: 0.5em;
		padding: 0.5em;
		text-align: center;
	}

	.Paginator label {
		margin: 0;
		padding: 0;
		min-width: 0;
		width: auto;
		float: none;
	}

	.Paginator ul {
		display: inline;
		list-style: none;
		padding: 0;
		margin: 0;
	}

	.Paginator li {
		display: inline-block;
	}

	.Paginator li a,
	.Paginator li.CurrentPage {
		display: inline-block;
		padding: 0 0.25em;
	}

	.Paginator li a {
		text-decoration: none;
	}

	.Paginator li a:hover {
		text-decoration: underline;
	}

	.Paginator li.CurrentPage {
		font-weight: bold;
	}

/*************** Printing Page ***************/

	.PrintOnly {
		display: none;
	}

	.NoPrint {
		display: none;
	}









/* Beta overrides */



	p, span {
		line-height: 1.4;
		margin: 0 0 1rem 0;
		font-size: 0.9375rem;
	}

	h3 {
		border: 0 !important;
		background-color: transparent !important;
		padding: 0 !important;
		margin-top: 0 !important;
	}

	h4 {
		border: 1px solid #E0E0E0;
		border-width: 1px 0;
		padding: 0.5em 0;
		margin: 2em 0 1em 0;

		margin-left: -2em;
		padding-left: 2em;
	}

	ul, ol {
		padding: 0;
		margin: 1.5rem 1rem 2rem 1.25rem;
	}

	ul ul, ul ul li, ul ol, ol ul {
		margin: 0 0 1rem 0;
	}

	.content li {
		margin-bottom: 0.75rem;
		line-height: 1.4;
		font-size: 0.9375rem;
	}

	.CheckboxListItem, #CriteriaSelection li {
		list-style: none;
		margin-bottom: 0.75rem !important;
	}

	#CriteriaSelection ul {
		margin-left: 0;
		margin-bottom: 2rem;
	}





/* forms */
	.StandardInputForm {
		margin: 1em 0;
	}

	.StandardInputForm .CheckboxListItem label {
		margin: 0 0 0.25rem 0;
		font-size: 0.875rem;
	}


	.StandardInputForm input, .StandardInputForm textarea, .StandardInputForm select {
		padding: 5px 10px;
		font-size: 0.875rem;
		border: 1px solid #BBBBBB;
	}

	.DataErrorDescription {
		color: #A92926;
		display: block; /* This wraps the error message under the input */
		font-size: 13px;
		margin-top: 4px;
		margin-bottom: 8px;
	}

	.DataEntryError {
		border: 1px solid #B11414 !important;
	}

/* Set data entry notes so that they are under the input element, so it is clearer
 * that they are associated with the specific field they relate to.
 */
	.StandardInputForm .DataEntryNote {
		margin-left: 350px !important;
		padding-left: 1.4em;

	/* Move element a bit closer to associated box. */
		position: relative;
		top: -0.75em;
	}

	.AnalysisSection input[type=text] {
		width: 350px !important;
	}

	.StandardInputForm input[type="text"],
	.StandardInputForm input[type="password"],
	.StandardInputForm select,
	.StandardInputForm textarea,
	.StandardInputForm label {
		font-family: 'Open Sans', Arial, Helvetica, sans-serif;
	}


/* Food Composition Table search */

	#FoodSearchFilters {
		border: solid 2px #EFEFEF;
		background-color: #FAFAFA;
		padding: 10px 20px;
		max-width: 1220px;
		margin-top: 20px;
	}

	#FoodSearchFilters .StandardInputForm {
		margin: 0;
	}

	#FoodSearchFilters label {
		width: auto;
		min-width: auto;
		padding-top: 6px;
		padding-right: 10px;
	}

#FoodSearchFilters .StandardInputForm p {
    clear: none;
    display: inline-block;
    padding: 0;
}

/* Food name search input */
	#FoodSearchFilters .StandardInputForm input {
		margin: 0 20px 0 0;
	}

/* Sets the width of the search button */
	#FoodSearchFilters .StandardInputForm input#Submit {
		width: auto;
		margin: 0;
	}

/* Spaces the search button */
	#FoodSearchFilters .StandardInputForm .LargeButton {
		margin: 15px 0;
	}

/* End food search */


/* Select foods search jquery ui overrides */

	.ui-dialog.ui-widget.ui-widget-content {
		background-color: #FFFFFF;
		padding: 5px 20px;
		border: solid 5px purple;
	}

	.ui-widget-header,
	.ui-widget-content {
		border: 0;
	}

	.ui-dialog.ui-widget.ui-widget-content button {
		background-color: #891f59 !important;
		background-image: none;
		border: 0;
		border-radius: 3px;
		color: #FFFFFF;
		height: 34px;
		margin: 0 0 0 10px;
	}

	.ui-dialog.ui-widget.ui-widget-content button:hover {
		background-color: #A7A926 !important;
	}

	.ui-dialog-titlebar.ui-widget-header {
		background-color: #FFFFFF;
		background-image: none;
	}

	.ui-dialog-buttonpane.ui-widget-content {
		background-color: #FFFFFF;
		padding-bottom: 15px;
	}


/* Chosen for Food Composition Table */

/* Dropdown width including label */
	#FoodSearchFilters .chosen-container.chosen-container-single {
		width: 290px !important;
		margin-right: 20px;
		margin-top: 0 !important;
	}

/* Chosen dropdown width */
	#FoodSearchFilters .chosen-container-single .chosen-single {
		width: 290px !important;
		margin-top: 0 !important;
		background-color: #FFFFFF;
	}

	#FoodGroupID_chosen {
		width: 290px !important;
		margin-right: 20px;
	}

	.ui-dialog-content.ui-widget-content p {
		margin-bottom: 10px;
	}

/* The width of the visible dropdown */
	.chosen-single {
		background-image: none !important;
		border-radius: 0 !important;
		display: block;
		padding: 5px 10px !important;
		height: 35px !important;
	}

	.ui-dialog-content.ui-widget-content label {
		width: 200px !important;
	}

	.chosen-container-single .chosen-single div b {
		background-position: 0 7px;
	}

	.chosen-container-active.chosen-with-drop .chosen-single div b {
		background-position: -18px 7px !important;
	}

	.chosen-results {
		max-height: 150px !important;
	}

/* end Select foods jquery ui overrides */



/* tables */

	table {
		margin: 2rem 0;
	}

	th {
	    background-color: #5A5B00;
	    font-size: 14px;
	    color: #FFFFFF;
	    padding: 8px 15px;
	    line-height: 1.2;
	}

	table, td, th {
	    border: 0;
	}

	td {
		font-size: 13px;
		background-color: #FAFAFA;
	}

	tr {
		border-bottom: 1px solid #EFEFEF;
		border-left: 1px solid #EFEFEF;
		border-right: 1px solid #EFEFEF;
	}

	thead tr {
		border-left: 1px solid #5A5B00;
		border-right: 1px solid #5A5B00;
		border-bottom: 1px solid #5A5B00;
	}

/* custom second column widths for specific lookup tables */
	#LookupTableData tr td:nth-child(2) input {
		width: 100%;
		box-sizing: border-box;
	}

	#LookupTableData.table-modelCriteria tr th#Name {
		width: 350px;
	}

	#LookupTableData.table-modelCriteria tr th#IsMandatory {
		font-size: 0.8em;
	}

	#LookupTableData.table-modelCriteria select#CriterionCategoryID {
		max-width: 210px;
	}

	#LookupTableData tr th#CriterionCategoryName {
		width: 350px;
	}

	#LookupTableData tr th#CountryName {
		width: 280px;
	}

	#LookupTableData tr th#FoodGroupName {
		width: 550px;
	}

	#LookupTableData tr th#PALName {
		width: 300px;
	}

	#LookupTableData tr th#TargetGroupName {
		min-width: 420px;
	}
/* end custom second column widths for specific lookup tables */

/* Food selection */

	.FoodContainer .FoodFieldSet {
		margin: 1.5rem 0 !important;
		border: solid 2px #EFEFEF !important;
		padding: 1rem 2rem !important;
	}

	.FoodFieldSet legend {
		font-weight: bold;
	}

	.FoodContainer p,
	#frmAnalysisInputs p {
		margin: 0.75rem 0;
	}

	.FoodContainer label, #frmAnalysisInputs label {
		font-weight: bold;
		margin-top: 0.25rem;
		width: 350px;
		display: inline-block;
	}


	.FoodContainer fieldset.FoodFieldSet input[type=text],
	.FoodContainer fieldset.FoodFieldSet select {
		vertical-align: top;
	}

	#frmAnalysisInputs input[type=text],
	#frmAnalysisInputs select {
		vertical-align: top;
	}


	#frmAnalysisInputs #CriteriaSelection label {
		width: 90%;
		max-width: 700px;
		vertical-align: top;
		margin-top: 0;
	}

/* Ensure the radio buttons are aligned with other fields, rather than on the next
 * line.
 */
	#frmAnalysisInputs .IncludeFoodPrices p,
	#frmAnalysisInputs .IncludeFoodPrices fieldset {
		display: inline;
	}

	#frmAnalysisInputs .IncludeFoodPrices fieldset label {
		width: 40px;
		min-width: 40px;
	}

	#frmAnalysisInputs .VitaminList p label {
		width: 100%;
		max-width: 800px;
	}


	#frmAnalysisInputs .VitaminList .CheckboxListItem {
		float: left;
		width: 47%;
		white-space: nowrap;

		margin-right: 3%;

		min-width: 12em;
	}

	@media (min-width: 930px) {
		#frmAnalysisInputs .VitaminList .CheckboxListItem {
			width: 30%;
		}
	}

	#frmAnalysisInputs .VitaminList .CheckboxListItem label {
		width: 80%;
		max-width: 150px;
	}

/* Existing Analysis Table */

	.AnalysisListTable {
		width: 100%;
		max-width: 1000px;
		float: left;
	}

	.AnalysisListTable a {
		text-decoration: none;
	}

	.AnalysisListTable th a:hover {
		text-decoration: underline;
	}


	.AnalysisListTable th {
		text-align: left;
	}

	.AnalysisListTable td {
		padding-left: 15px;
		padding-right: 15px;
	}

	.ListItemName {
		text-align: left;
	}

	.ListDateLast,
	.ListDateCreated {
		width: 150px;
		text-align: left;
	}

	.ListItemDelete {
		width: 80px;
	}

	.ButtonCell .LargeButton {
		margin: 3px;
		padding: 6px 12px !important;
		font-size: 0.75rem;
		letter-spacing: 0.75px;
	}

	#page-manage_fct th.SortUp {
		background-position: 8px 50%;
		padding-left: 30px;
		background-image: url(https://www.agrifoodtool.org/agrifood/index.php?Request=image&Path=images%2Ftable_sort_up_arrow.png);
		background-size: 15px 10px;
		background-repeat: no-repeat;
	}

	#page-manage_fct th.SortDown {
		background-position: 8px 50%;
		padding-left: 30px;
		background-image: url(https://www.agrifoodtool.org/agrifood/index.php?Request=image&Path=images%2Ftable_sort_down_arrow.png);
		background-size: 15px 10px;
		background-repeat: no-repeat;
	}

	th.SortDown a,
	th.SortUp a {
		background: none;
	}

	.AnalysisListTable th a:hover,
	.AnalysisListTable th a:visited {
		color: #FFFFFF;
		text-decoration: underline;
	}



	.loginstatus_anon {
		display: none;
	}






/***************************
 * GLOSSARY
 ***************************
 */

 /* Update the appearance of terms within the page content. */

	.GlossaryTerm {
		color: #FF6600;
	}

	.GlossaryTerm:hover {
		border-top: 1px dashed #FF6600;
		border-bottom: 1px dashed #FF6600;
	}

/* Remove any unwanted site styling from the popup glossary definition. */

	#overDiv table {
		margin: 0;
	}

	#overDiv tr {
		border: 0;
	}

/* Apply any site-specific styling to the pop-up glossary definition. */

	#PUContent {
		border: solid 3px #891f59;
		padding: 0 3px;

		background-color: #FAFAFA;
		color: #000000;
	}

	.GlossaryPopupTerm {
		font-weight: bold;
	}

/***************************
 * CHOSEN PLUGIN
 ***************************
 */

	.chosen-single {
		margin-top: 5px;
	}