﻿/* CSS classes unique to the business module */
.ElasticSearch.BusinessSearch .SearchBoxPanel
{
  width: 100%;
  padding: 10px 0 10px 0;
  background-color: #dddddd;
}

.ElasticSearch.BusinessSearch .SearchBoxPanel .SearchBox
{
  margin-left: 10px;
  margin-right: 105px;
  display: inline-block;
}

.ElasticSearch.BusinessSearch .SearchBoxPanel .SearchBox .SearchBoxInput
{
  right: 147px; 
  width: 680px;
  box-sizing: border-box;
  vertical-align: middle;
}

.ElasticSearch.BusinessSearch .SearchBoxPanel .SearchBox a.SearchBoxClearText 
{
  display: inline-block;
  position: relative;
  right: 20px;
  width: 18px;
  height: 18px;
  background-image: url(./images/cleartext.png); 
  background-repeat: no-repeat;
  background-position: center center;
  cursor: pointer;
  vertical-align: middle;
  /*margin: 2px 0 0 0; */
  box-sizing: border-box;
  z-index: 1;
}

.ElasticSearch.BusinessSearch .SearchBoxPanel .SearchBox a.SearchButton
{
  display: inline-block;
  top: 4px;
  right: 0;
  width: 18px;
  height: 18px;
  background-image: url(./images/searchbutton.png);
  background-repeat: no-repeat;
  background-position: center center;
  vertical-align: middle;
  cursor: pointer;
  margin: 0 0 0 8px;
  padding: 0 4px 0 4px;
  box-sizing: border-box;
}

.ElasticSearch.BusinessSearch .SearchResults .PagingHeader
{
  display: block;
  min-height: 3em;
  background-color: #dddddd;
  /*padding: 4px 8px 4px 8px;*/
}


.ElasticSearch.BusinessSearch .SearchResults .SearchContainer
{
  display: block;
  margin: 2em 0 2em 0;
  padding: 2em 0 2em 0;
  border-top: solid 1px #c3c3c3;
}

.PagerControl
{
  display: inline-block;
  padding: 4px 8px 4px 8px;
/*
  min-height: 2.5em;
  background-color: #dddddd;
  margin-bottom: 2px;
  position: relative;
*/
  min-width: 70%;
}

.PagerControl .Pager:hover, .PagerControl .Pager:active
{
  background-color: #357fbe;
  color: White;
}

.PagerControl .Pager.aspNetDisabled
{
  color: #DEDEDE;
}

.PagerControl .Pager.aspNetDisabled:hover, .PagerControl .Pager.aspNetDisabled:active
{
  background-color: inherit;
  color: #DEDEDE;
}

.PagerControl .Summary, .PagerControl .Total, .PagerControl .PageSizeLabel
{
/*  color: White;*/
  color: #666666;
  min-width: 10em;
  display: inline-block;
  font-weight: bold;
  padding-top: .6em;
  padding-bottom: .6em;
}

.PagerControl .Total
{
  /*position:	absolute;
  top: 0;
  right: 8px;*/
  float: right;
  min-width: 0;
  /*line-height: 28px; */
}

.PagerControl .PageSizeLabel
{
  min-width: 0;
}

.PagerControl .Pager
{
  display: inline-block;
  line-height: 22px;
  padding: 2px 6px 2px 6px;
  border: solid 1px #DDDDDD;
  margin: 0 2px 0 0;
  background-color: White;
  color: Black;
  cursor: pointer;
  text-decoration: none;
}

.PagerControl .Pager.Current
{
  background-color: #DDDDDD;
}

.PagerControl .PagerDropDown
{
  margin-left: 2em;
  margin-right: 2em;
}

.PagerControl .PagerDropDown, .PagerControl .PageSizeDropDown
{
  min-width: 0;
  padding: 2px 6px 2px 6px;
  border: solid 1px #DDDDDD;
  height: 28px;
}

.ElasticSearch.BusinessSearch .SearchResults .SortButtons
{
  display: inline-block;
  font-size: 13px;
  margin: 4px;
  padding: 4px 8px 4px 8px;
  vertical-align: top;
}

.ElasticSearch.BusinessSearch .SearchResults .SortButtons .ResultsSortButton
{
  padding: 5px 15px 5px 15px;
  margin: 0;
  color: #666666;
  box-sizing: border-box;
  width: 8em;
}

.ElasticSearch.BusinessSearch .SearchResults .SortButtons .ResultsSortButton.Active
{
  background-color: #e8f1fa;
  background: -moz-linear-gradient(top, #ccc 0%, #fff 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ccc), color-stop(100%,#fff)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, #cccccc 0%,#ffffff 100%); /* Chrome10+,Safari5.1+ */
  background: linear-gradient(top, #ccc 0%,#fff 100%); /* W3C */
  color: #333333;
}

.ElasticSearch.BusinessSearch .SearchResults .Result
{
  margin: 0 0 4em 0;
}

.ElasticSearch.BusinessSearch .SearchResults .Result .ResultTitle
{
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 6px 0;
}

.ElasticSearch.BusinessSearch .SearchResults .Result .ResultDetail
{
  font-size: 13px;
}

.ElasticSearch.BusinessSearch .SearchResults .Result .ResultLink
{
  font-weight: 400;
}

.ElasticSearch.BusinessSearch .SearchResults .Result .Metadata > span
{
  margin: 0 20px 0 0;
}



/* CSS classes similar to the normal search module */
.ElasticSearch.BusinessSearch .InputRow
{
  display: block;
  margin: 4px;
  text-align: left;
}

.ElasticSearch.BusinessSearch .SubHead
{
  font-size: 12px;
  font-weight: bold;
}

.ElasticSearch.BusinessSearch .FieldLabel
{
  display: inline-block;
  text-align: left;
  vertical-align: top;
  width: 25em;
}

.ElasticSearch.BusinessSearch .MorePopup
{
  margin-left: 10em;
}

.ElasticSearch.BusinessSearch .MorePopup .FieldLabel
{
  width: 8em;	
}

/*
.ElasticSearch.BusinessSearch .Operators
{
  margin-left: 10em;
}

.ElasticSearch.BusinessSearch .Operators INPUT
{
  margin-left: 4px;
  margin-right: 8px;
}

.ElasticSearch.BusinessSearch .Operators LABEL
{
  font-weight: normal;
  margin-right: 8px;
}

.ElasticSearch.BusinessSearch .SiteList
{
  min-width: 16em;
}


.ElasticSearch.BusinessSearch .InputRow .dnnLabel
{
  width: auto;
  text-align: inherit;
}
*/

.ElasticSearch.BusinessSearch .FieldValue, .ElasticSearch.BusinessSearch .FieldValue SELECT
{
  text-align: left;
}

.ElasticSearch.BusinessSearch .FieldValue INPUT[type=text], .ElasticSearch.BusinessSearch .FieldValue SELECT,
.ElasticSearch.BusinessSearch .FieldValue TEXTAREA
{
  width: 40em;
  font-size: 12px;
  box-sizing: border-box;
}

.ElasticSearch.BusinessSearch .UpdateProgressPanel
{
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transform-style: preserve-3d;
}

.ElasticSearch.BusinessSearch .overlay
{
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: Black;
  opacity: 0.25;
  z-index: 1;
}

.ElasticSearch.BusinessSearch .UpdateProgressPanel img
{
  height: 50px;
  width: 50px;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.ElasticSearch.BusinessSearch .MorePopupButton
{
  background-image: url(images/dropdown.png);
  background-position: 0 0;
  background-repeat: no-repeat;
  display: inline-block;
  width: 18px;
  height: 21px;
  vertical-align: middle;
}

.ElasticSearch.BusinessSearch .LinkButton
{
  padding: 0 8px 0 8px;
  display: inline-block;
  min-width: 5em;
  cursor: pointer;
  text-decoration: none;
  border: solid 1px #a8a8a8;
  border-radius: 4px;
  background-color: #eeeeee;
  text-align: center;
  color: black;
  vertical-align: middle;
}

.ElasticSearch.BusinessSearch .SearchResponseMessage
{
  white-space: pre;
  display: inline-block;
  overflow: auto;
  font-family: monospace;
  width: 100%;
}

.ElasticSearch.BusinessSearch .MorePopup
{
  display: none;
  position: absolute;
  left: 6px;
  border: solid 1px #dddddd;
  background-color: white;
  padding: 1em;
  clear: both;
  z-index: 1;
}

.ElasticSearch.BusinessSearch .MoreSection, .ElasticSearch.BusinessSearch .MoreSection SPAN, 
.ElasticSearch.BusinessSearch .MoreSection LABEL, .ElasticSearch.BusinessSearch .MoreSection INPUT
{
  font-size: 10pt;
}

.ElasticSearch.BusinessSearch .MoreSection .Models
{
  margin-bottom: 1.25em;
}

.ElasticSearch.BusinessSearch .SearchResults
{
  clear: both;
}

.ElasticSearch.BusinessSearch .SearchResults .ResultsTitle
{
  display: inline-block;
  /*position: relative;*/
}

.ElasticSearch.BusinessSearch .SearchResults:focus-visible
{
  outline: auto;
}

.ElasticSearch.BusinessSearch .SearchResults .ResultsTitle:focus-visible
{
  outline: none;
}

/*
.ElasticSearch .BusinessSearchInputLabel
{
  display: inline-block;
  min-width: 10em;
}

.ElasticSearch .BusinessSearchText
{
  vertical-align: middle;
  min-width: 25em;
}
*/


.ElasticSearch.BusinessSearch .SearchResultsWrapper
{
  min-height: 22em;
  position: relative;
  margin-top: 0.5em;
}

.ElasticSearch.BusinessSearch .SearchResults .ResultsTitle .HelpLink
{
  padding: 4px 12px 4px 12px;
  position: absolute;
  right: 0;
  top: 0;
  background-color: #2e373f;
  border-radius: 4px;
  color: white;
}

.ElasticSearch.BusinessSearch .SearchResults .Snippet
{
  font-size: 0.9em;
  margin: 0;
}

.ElasticSearch.BusinessSearch .SearchResults em
{
  background-color: Yellow;
  font-style: normal;
}

.ElasticSearch.BusinessSearch.ui-autocomplete
{
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 100;
  float: left;
  display: none;
  min-width: 160px;
  padding: 4px 0;
  margin: 2px 0 0 0;
  list-style: none;
  background-color: #ffffff;
  border: 1px solid #ccc;
  background-clip: padding-box;
}

.ElasticSearch.BusinessSearch.ui-autocomplete .ui-menu-item
{
  list-style: none;
  padding-left: 0.5em;
  font-size: 14px
}

.ElasticSearch.BusinessSearch.ui-autocomplete .ui-menu-item.ui-state-focus
{
  background-color: #ddd;
  cursor: pointer;
}

.ElasticSearch.BusinessSearch.ui-autocomplete .ui-menu-item-wrapper.ui-state-active
{
  background: none;
  background-color: #eeeeee;
  cursor: pointer;
}

.ui-helper-hidden-accessible, .ElasticSearch.BusinessSearch .SearchSuggestionsResponse
{
  position: absolute;
  left: -10000px;
}

/*
.ui-helper-hidden-accessible
{
  display: none;
}
*/

/* Options */
.ElasticSearch.BusinessSearch.OptionsPage .dnnLabel
{
  width: auto;
  text-align: left;
  margin-right: 0;
  padding-right: 0;
}

.ElasticSearch.BusinessSearch.OptionsPage .InputRow
{
  display: block;
  margin: 4px;
  text-align: left;
}

.ElasticSearch.BusinessSearch.OptionsPage .SubHead
{
  font-size: 12px;
  font-weight: bold;
}

.ElasticSearch.BusinessSearch.OptionsPage .SubHead2
{
  font-size: 11px;
  font-weight: normal;
}

.ElasticSearch.BusinessSearch.OptionsPage .FieldLabel
{
  width: 25em;
}

.ElasticSearch.BusinessSearch.OptionsPage .FieldValue
{
  display: inline-block;
}

.ElasticSearch.BusinessSearch.OptionsPage .Utilities INPUT[type=text],
.ElasticSearch.BusinessSearch.OptionsPage .FolderTreeView
{
  width: 40em;
  font-size: 12px;
  box-sizing: border-box;
}

.ElasticSearch.BusinessSearch.OptionsPage .FolderTreeView
{
  height: 200px;
  overflow: auto;
  border: 1px solid black;
}

.ElasticSearch.BusinessSearch.OptionsPage .FolderTreeView .SubFolderSelected
{
  font-weight: bold;
}

.ElasticSearch.BusinessSearch.OptionsPage .Instructions
{
  display: block;
  font-size: 12px;
}

.ElasticSearch.BusinessSearch.OptionsPage .SubPortalPanel
{
  position: relative;
}

.ElasticSearch.BusinessSearch.OptionsPage .ScrollingContainer
{
  overflow-x: hidden;
  overflow-y: scroll;
  display: block;
  height: 125px;
  border: solid 1px gray;
  box-sizing: border-box;
  min-width: 40em;
}

.ElasticSearch.BusinessSearch.OptionsPage .ScrollingContainer TABLE TD > LABEL
{
  font-weight: normal!important;
  font-size: 12px!important;
}

.ElasticSearch.BusinessSearch.OptionsPage .UpdateMessage
{
  display: block;
  width: 40em;
}

/*
.ElasticSearch.BusinessSearch.OptionsPage .Utilities .Analyze INPUT[type=text]
{
  width: 10em;
}

.ElasticSearch.BusinessSearch.OptionsPage  .Utilities DIV
{
  margin-bottom: 0.5em;
}

.ElasticSearch.BusinessSearch.OptionsPage  .Utilities .UtilityCommandButton
{
  display: inline-block;
  min-width: 22em;
  font-size: 12px;
}

.ElasticSearch.BusinessSearch.OptionsPage  .Utilities input[type=button]
{
  margin-right: 1em;
}

.ElasticSearch.BusinessSearch.OptionsPage  .Utilities .Message
{
  display: block;
  width: 80em;
  font-weight: bold;
}

*/