/*!
 * # Semantic UI 2.4.0 - Search
 * http://github.com/semantic-org/semantic-ui/
 *
 *
 * Released under the MIT license
 * http://opensource.org/licenses/MIT
 *
 */


/*******************************
             Search
*******************************/

.ui.search {
    position: absolute;
    text-align: center;
    top: 70px;                      /* change this to position in the section on homepage */
  }
  
  
  .ui.search > .prompt {
    margin: 0em;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
    text-shadow: none;
    font-style: normal;
    font-weight: normal;
    line-height: 2em;
    padding: 0.67857143em 1em;
    font-size: 2em;
    background: #FFFFFF;
    border: 1px solid rgba(34, 36, 38, 0.15);
    color: rgba(0, 0, 0, 0.87);
   }

  /*--------------
       Rounding for search box
  ---------------*/
  .ui.search .prompt, #contentum .ui.search .prompt {
    background: transparent;
    border: none;
    border-bottom: 3px solid #006747;
    height: 35px;
    font-size: 20px;
  }
  
  /*--------------
       Icon
  ---------------*/
  
  .ui.search .prompt ~ .search.icon {
    cursor: pointer;
  }
  
  /*--------------
      All results of the query display
  ---------------*/
  
  .ui.search > .results {
    display: block;
    position: absolute;
    margin: auto;
    top: 100%;
    width: 100%;
    -webkit-transform-origin: center top;
            transform-origin: center top;
    
    text-align: left;
    text-transform: none;
    background: #FFFFFF;
	margin-top: 0.5em;
    overflow: hidden;
    border-radius: 0.28571429rem;
    -webkit-box-shadow: 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.15);
            box-shadow: 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.15);
    z-index: 4000;
    left: 0;
    right: 0;
    
    
  }
  .ui.search > .results > :first-child {
    border-radius: 0.28571429rem 0.28571429rem 0em 0em;
  }
  .ui.search > .results > :last-child {
    border-radius: 0em 0em 0.28571429rem 0.28571429rem;
  }
  
  /*--------------
      Result   width of the box that has search results, result section
  ---------------*/
  
  .ui.search > .results .result {
    max-width: inherit;
    cursor: pointer;
    display: block;
    overflow: hidden;
    width: 100%;
    font-size: 1em;
    padding: 0.85714286em 1.14285714em;
    color: rgba(0, 0, 0, 0.87);
    line-height: 1.33;
    border-bottom: 1px solid rgba(34, 36, 38, 0.1);
	text-decoration:none;
  }
  .ui.search > .results .result:last-child {
    border-bottom: none !important;
  }
  
  /* Image  if there is one selected*/
  .ui.search > .results .result .image {
    float: right;
    overflow: hidden;
    background: none;
    width: 5em;
    height: 3em;
    border-radius: 0.25em;
  }
  .ui.search > .results .result .image img {
    display: block;
    width: auto;
    height: 100%;
  }
  
  /*--------------
        To change the text inside the result
  ---------------*/
  
  .ui.search > .results .result .image + .content {
    margin: 0em 6em 0em 0em;
  }
  /* Below is to change the Results Degree section */
  .ui.search > .results .result .title {
    margin: -0.14285714em 0em 0em;
    font-family: 'Montserrat';
    font-weight: bold;
    font-size: 1em;
    color: rgba(0, 0, 0, 0.85);
    border-bottom: 1px solid black;
  }
  .ui.search > .results .result .description {
    margin-top: 0;
    font-size: 0.92857143em;
    color: rgba(0, 0, 0, 0.4);
  }
  /* Below is to change the Results Degree description section */
  .ui.search > .results .result .degreeDescription {
    display:none;
  }
  
  /*--------------
      No Result message
  ---------------*/
  
  .ui.search > .results > .message {
    padding: 1em 1em;
  }
  .ui.search > .results > .message .header {
    font-family: 'Oswald';
    font-size: 1rem;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.87);
  }
  .ui.search > .results > .message .description {
    margin-top: 0.25rem;
    font-size: 1em;
    color: rgba(0, 0, 0, 0.87);
  }

  /*--------------
      Search nwmissouri.edu component at bottom of search
  ---------------*/
  
  .ui.search > .results > .searchsite {
    padding: 1em 1em;
  }
  .ui.search > .results > .searchsite:hover,
  .ui.search > .results > .searchsite:focus {
	background-color:#000;
  }
  .ui.search > .results > .searchsite a {
	text-decoration:none;
  }
  .ui.search > .results > .searchsite:hover .header,
  .ui.search > .results > .searchsite:hover .header {
	color:#fff;
  }
  .ui.search > .results > .searchsite .header {
    font-family: 'Montserrat';
    font-size: 1rem;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.87);
  }
  .ui.search > .results > .searchsite .description {
    margin-top: 0.25rem;
    font-size: 1em;
    color: rgba(0, 0, 0, 0.87);
  }
  
  /* View All Results */
  .ui.search > .results > .action {
    display: block;
    border-top: none;
    background: #F3F4F5;
    padding: 0.92857143em 1em;
    color: rgba(0, 0, 0, 0.87);
    font-weight: bold;
    text-align: center;
  }
  
  
  /*******************************
              States
  *******************************/
  
  
  /*--------------------
         Focus
  ---------------------*/
  
  .ui.search > .prompt:focus {
    border-color: rgba(34, 36, 38, 0.35);
    background: #FFFFFF;
    color: rgba(0, 0, 0, 0.95);
  }
  
  /*--------------------
         Loading
  ---------------------*/
  
  .ui.loading.search .input > i.icon:before {
    position: absolute;
    content: '';
    top: 50%;
    left: 50%;
    margin: -0.64285714em 0em 0em -0.64285714em;
    width: 1.28571429em;
    height: 1.28571429em;
    border-radius: 500rem;
    border: 0.2em solid rgba(0, 0, 0, 0.1);
  }
  .ui.loading.search .input > i.icon:after {
    position: absolute;
    content: '';
    top: 50%;
    left: 50%;
    margin: -0.64285714em 0em 0em -0.64285714em;
    width: 1.28571429em;
    height: 1.28571429em;
    -webkit-animation: button-spin 0.6s linear;
            animation: button-spin 0.6s linear;
    -webkit-animation-iteration-count: infinite;
            animation-iteration-count: infinite;
    border-radius: 500rem;
    border-color: #767676 transparent transparent;
    border-style: solid;
    border-width: 0.2em;
    -webkit-box-shadow: 0px 0px 0px 1px transparent;
            box-shadow: 0px 0px 0px 1px transparent;
  }
  
  /*--------------
        Hover
  ---------------*/
  
  .ui.search > .results .result:hover,
  .ui.category.search > .results .category .result:hover {
    background: #E0E0E0;
  }
  .ui.search .action:hover {
    background: #E0E0E0;
  }
  
  /*--------------
        Active
  ---------------*/
  
  .ui.category.search > .results .category.active,
  .ui.category.search > .results .category:hover {
    background: #000;
  }
  .ui.category.search > .results .category.active > .name {
    color: rgba(0, 0, 0, 0.87);
  }
  .ui.search > .results .result.active,
  .ui.category.search > .results .category .result.active {
    position: relative;
    border-left-color: rgba(34, 36, 38, 0.1);
    background: #E0E0E0;
    -webkit-box-shadow: none;
            box-shadow: none;
  }
  .ui.search > .results .result.active .title {
    color: rgba(0, 0, 0, 0.85);
  }
  .ui.search > .results .result.active .description {
    color: rgba(0, 0, 0, 0.85);
  }
  
  /*--------------------
          Disabled
  ----------------------*/
  
  
  /* Disabled */
  .ui.disabled.search {
    cursor: default;
    pointer-events: none;
    opacity: 0.45;
  }
  
  
  /*******************************
             Types
  *******************************/
  
  
  /*--------------
      Selection
  ---------------*/
  
  .ui.search.selection .prompt {
    border-radius: 0.28571429rem;
  }
  
  /* Remove input */
  .ui.search.selection > .icon.input > .remove.icon {
    pointer-events: none;
    position: absolute;
    left: auto;
    opacity: 0;
    color: '';
    top: 0em;
    right: 0em;
   
  }
  .ui.search.selection > .icon.input > .active.remove.icon {
    cursor: pointer;
    opacity: 0.8;
    pointer-events: auto;
  }
  .ui.search.selection > .icon.input:not([class*="left icon"]) > .icon ~ .remove.icon {
    right: 1.85714em;
  }
  .ui.search.selection > .icon.input > .remove.icon:hover {
    opacity: 1;
    color: #DB2828;
  }
  
  /*--------------
      Category  Width for the box for category, Most of the positioning/sizing changes probably here
  ---------------*/
  
  .ui.category.search .results {
    width: 43em;
    
  }
  

  .ui.category.search .results.animating,
  .ui.category.search .results.visible {
    display: block;
    
  }
  
  /* Category */
  .ui.category.search > .results .category {
    width: 100%;
    display: inline-block;
    background: #E0E0E0;
    -webkit-box-shadow: none;
            box-shadow: none;
   
    
  }
  
  /* Last Category */
  .ui.category.search > .results .category:last-child {
    border-bottom: none;
  }
  
  /* First / Last */
  .ui.category.search > .results .category:first-child .name + .result {
    border-radius: 10px;
  }
  .ui.category.search > .results .category:last-child .result:last-child {
    border-radius: 10px;
  }
  
  /* Category Result Name, Controls the category name box displayed in results*/
  .ui.category.search > .results .category .name {
    display: inline-block;
    text-overflow: ellipsis;
    width: 100%;
    background: transparent;
    font-family: 'Oswald';
    font-size: 2em;
   
    font-weight: bold;
    color: #006747;
   
  }
  
  /* Category Result  Controls the category result box displayed in results*/
  .ui.category.search > .results .category .results {
    
    display: inline-block;
    background: #FFFFFF;
    border-left: 1px solid rgba(34, 36, 38, 0.15);
    border-bottom: 1px solid rgba(34, 36, 38, 0.1);
  }
  .ui.category.search > .results .category .result {
    width: 95%;
    border-bottom: 1px solid rgba(34, 36, 38, 0.1);

    
  }
  
  
  /*******************************
             Variations
  *******************************/
  
  
  /*-------------------
       Left / Right
  --------------------*/
  
  .ui[class*="left aligned"].search > .results {
    right: auto;
    left: 0%;
  }
  .ui[class*="right aligned"].search > .results {
    right: 0%;
    left: auto;
  }
  
  /*--------------
      Fluid
  ---------------*/
  
  .ui.fluid.search .results {
    width: 100%;
  }
  
  /*--------------
        Sizes
  ---------------*/
  
  .ui.mini.search {
    font-size: 0.78571429em;
  }
  .ui.small.search {
    font-size: 0.92857143em;
  }
  .ui.search {
    font-size: 1em;
  }
  .ui.large.search {
    font-size: 1.14285714em;
  }
  .ui.big.search {
    font-size: 1.28571429em;
  }
  .ui.huge.search {
    font-size: 1.42857143em;
  }
  .ui.massive.search {
    font-size: 1.71428571em;
  }
  
  /*--------------
        Mobile
  ---------------*/
  #searchicon{
     position:relative;right: 50px;
  }
  @media only screen and (max-width: 767px) {
    .ui.search .results {
      max-width: calc(100vw - 2rem);
    }
    .ui.search .prompt, #contentum .ui.search .prompt {
      /*max-width: calc(100vw - 2rem);*/
      width: calc(100% - 2em);
    } 
    #searchicon{
      position:absolute; top:0px; right:5px
    }
    
   
  }
  .ui.search .prompt::-ms-clear {
    display: none;
}

  
  
  /*******************************
           Theme Overrides
  *******************************/
  
  
  
  /*******************************
           Site Overrides
  *******************************/
 
   /*******************************
           Additions to add to homepage.css
  *******************************/
