#nav-search-cont{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#main .top{
  background-color: #0c5fa8;
}

#nav-search-cont .right.search form#megasearch_controller .form-control{
  padding: 6px 12px;
  border-radius: 4px;
  border: none;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  outline: 0;
}

#asceevents #nav-search-cont .right.search form#megasearch_controller button.btn{
  padding: 7px;
}

#nav-search-cont .right.search form#megasearch_controller button.btn{
  padding: 6px 7px;
  border: none;
  border-radius: 4px;
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
  cursor: pointer;
}

#nav-search-cont .right.search form#megasearch_controller button.btn:hover{
  background-color: #347cad;
}

.search-results {
  position: absolute;
  display:none;
  top:0px;
  right:0px;
  width:60%;
  background-color:#fff;
  box-sizing:border-box;
  box-shadow: 0px 1px 10px rgba(0,0,0,0.3);
}

.search-results .query-results .result-target {
  min-height:420px;
  position:relative;
}

.search-results.search-active {
  display:block;
}

.suggested-terms > div {
  padding: 15px 15px 10px;
}

.search-result-section.query-results{
  position: relative;
}

.search-result-section .section-title {
  padding: 5px;
  margin: 0;
}
.search-result-section .section-title {
  margin-bottom:0px;
}

.suggested-terms > div:empty {
  padding:0px;
}

.suggested-terms {
  background-color:#e0e0e0;
  padding:0px;
}

.view-all {
  position:absolute;
  bottom:0px;
  left:0px;
  right:0px;
  top:auto;
}

.section-links, .view-all {
  background-color:#e0e0e0;
  padding:15px;
  text-align:center;
}

.view-all:empty,
.section-links:empty {
  padding:0px;
}

.suggested-term { margin-bottom:5px; }

.view-all a,
.section-links a,
.suggested-term {
  display:inline-block;
  padding: 3px 10px;
  background-color:white;
  color:#333;
  border-radius:5px;
  margin-right:5px;
  cursor:pointer;
  transition:0.2s ease-in-out;
}

.view-all a:hover,
.section-links a:hover,
.suggested-term:hover {
  color:white;
  background-color:#333;
}

.section-label {
  display:inline-block;
  margin-right:5px;
}

.product-result {
  display:block;
  padding: 15px 30px 15px 15px;
  border-top: 1px solid #e5e5e5;
  position:relative;
  color:#333;
  transition:0.2s ease-in-out;
  min-height:57px;
}

.product-result:hover {
  background-color:#f5f5f5;
}

.product-result:after {
  font-family:"FontAwesome";
  content:"\f105";
  display:block;
  position:absolute;
  font-size:18px;
  line-height: 18px;
  height:18px;
  top:50%;
  margin-top:-9px;
  right:10px;
}

.product-result .title {
  margin-bottom:5px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.search-results .credits > span {
  border-width:1px;
  border-style:solid;
  display:inline-block;
  background-color:transparent;
  padding:1px 5px;
  font-size:11px;
  border-radius:5px;
}

.search-results .credits > span.no-credits {
  border-color:#a7adab;
  color:#a7adab;
}

.search-results .credits > span.credit {
  color:#1CA922;
  border-color:#1CA922;
}

.search-results .match {
  color:#c03;
  transition:0.2s ease-in-out;
}

.suggested-term:hover .match {
  color:white;
}

.search-results .section-links {
  padding:15px;
}

.search-results .no-results {
  padding: 20px 15px;
}

.search-results .progress {
  position:relative;
  border-radius: 4px;
  height:8px;
  width:100%;
  overflow:hidden;
  margin-top:7.5px;
  background-color:#e5e5e5;
}

.search-results .progress-bar {
  position:absolute;
  height:100%;
  background-color: #0090B2;
}

.search-results-container{
  position: absolute;
  left: 120px;
  bottom: 15px;
  z-index: 4;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
}

.search-results-container a{
  cursor: pointer;
  color: #fff;
}

.search-results-container a:hover{
  text-decoration: underline;
}

.search-label{
  margin-right: 15px;
}

.search-results-container .search-separator{
  margin: 0 2px;
  color: #fff;
}

@media (max-width:1150px) {
  .search-results {
    width:70%;
  }
}

@media (max-width:980px) {
  .search-results {
    width:100%;
  }
}

@media (max-width: 896px){
  .search-results-container{
    left: 15px;
    bottom: 5px;
  }
}

@media (max-width:768px) {
  .search-results {
    overflow-y:scroll;
  }

  .search-results-container{
    left: 15px;
  }

  /*.search-results .query-results .result-target {
    min-height:1px;
  }*/
  
  .product-result {
    display:block;
    padding: 10px 20px 10px 10px;
    border-top: 1px solid #e5e5e5;
    position:relative;
    color:#333;
    transition:0.2s ease-in-out;
    min-height:60px;
  }
}


.catalog-desc {
  padding:15px;
  background-color:#fff;
}

.jitlearning-enroll-info .message {
  display:none;
}

.catalog-desc p:first-child {
  margin-top:0px;
}

.catalog-desc p:last-child {
  margin-bottom:0px;
}

.catalog-desc .nonsubscriber-only {
  display:none;
}

.is-nonsubscriber .catalog-desc .nonsubscriber-only {
  display:block;
}

.item-view .overview .prop.author {
  display:block;
}

.item-view .authorList ul {
  padding:0px;
  margin:0px;
  list-style-type:none;
}

.item-view .authorList ul li {
  display:inline-block;
}

.item-view .authorList ul li:after {
  content:";";
  margin-right:3px;
  display:inline;
}

.item-view .authorList ul li:last-child:after { content:""; }

/* Custom Tags Interface */
#main .container #megasearchResults.search-results { 
  z-index:11;
  padding: 0!important;
  max-height: 550px;
}
#header { z-index:4; }
.portlet .portlet-bd-cnt { overflow:visible; }

.nested-tags .tagsets:before,
.nested-tags .selected-tags:after,
.nested-tags .tagsets:after,
.nested-tags .selected-tags:after {
  clear:both;
  display:block;
  content:'';
}

.nested-tags {
  background-color:#fff;
  padding:15px;
  margin-top:30px;
}

.nested-tags .tagset {
  width:32%;
  margin-right:1.33333333%;
  float:left;
  z-index:1;
  position:relative;
}


.nested-tags .tag {
  display: block;
  position:relative;
  background-color:white;
}

.nested-tags .tag.root-node > a {
  border:1px solid #dedede;
}

.nested-tags .tag.root-node > .tags {
  position:absolute;
  box-sizing:border-box;
  top:100%;
  width:100%;
  left:0;
  right:0;
  z-index:2;
}

.nested-tags .tag > a {
  display:block;
  position:relative;
  padding:7.5px 30px 7.5px 7.5px;
  cursor:pointer;
}

.nested-tags .tag .tag .tag a {
  padding-left:22.5px;
}

.nested-tags .tag.open > a {
  background-color: #f5f5f5;
}

.nested-tags .tag > a.active,
.nested-tags .tag > a:hover {
  background-color:#e5f3f7;
}

.nested-tags .tag > a .toggle {
  position:absolute;
  right:0px;
  top:0px;
  height:100%;
  width:30px;
  text-align:center;
  cursor:pointer;
}

.nested-tags .tag > a:hover .toggle{
  background-color:#c2dfe8;
}

.nested-tags .tag > a .toggle:hover {
  background-color: #a9c9d3;
}

.nested-tags .tag > a .toggle i {
  top:50%;
  right:0px;
  font-size:16px;
  height:16px;
  position:absolute;
  margin-top:-8px;
  width:100%;
  text-align:center;
}

.nested-tags .tag i:before {
  content:"\f107";
}

.nested-tags .tag.open > a  i:before {
  content:"\f106";
}

.nested-tags .tag > .tags {
  display:none;
}

.nested-tags .tag.root-node > .tags {
  background-color:#fff;
  box-shadow:0px 1px 1px rgba(0,0,0,0.3);

}

.nested-tags .tag.open > .tags {
  display:block;
}

.nested-tags .selected-tags.is-active-tags {
  padding:15px 0px;
}

.nested-tags .selected-tags .active-tag-label,
.nested-tags .selected-tags .active-tag,
.nested-tags .selected-tags button.clear {
  display:inline-block;
  margin-right:7.5px;
  font-size:14px;
}

.nested-tags .selected-tags .active-tag {
  padding:5px;
  background-color:#f5f5f5;
  color:#333;
  border-radius:5px;
}

.nested-tags button.clear {
  background-color:transparent;
  border:1px solid #5A615F;
  color:#5A615F;
  border-radius:5px;
  padding:5px 15px;
  text-transform: uppercase;
  font-weight:600;
  cursor: pointer;
  transition:0.2s ease-in-out;
}

.nested-tags button.clear:hover {
  background-color:#5A615F;
  color:#fff;
}

.nested-tags .tag > a > span {
  display:inline-block;
}

.nested-tags .tag > a.active > span:before {
  font-family:"FontAwesome";
  display:inline-block;
  margin-right:3px;
  content:"\f00c";
}

@media (max-width: 768px) {
  .nested-tags .tagset {
    width:100%;
    float:none;
    margin-bottom:15px;
  }
  .nested-tags .selected-tags .active-tag-label,
.nested-tags .selected-tags .active-tag,
.nested-tags .selected-tags button.clear {
  margin-bottom:5px;
}

.nested-tags .tag.root-node > .tags {
  position:relative;
  box-shadow:none;
  border:1px solid #dedede;
}
}

.catalog-tiled-result-list .catalog-list-accordion .catalog-list-item .course-credits > div:not(.credits) {
  border:1px solid #1CA922;
  color:#1CA922;
  padding:1px 5px;
  display:inline-block;
  border-radius:5px;
}

#header .search form .input-group {
  position:relative;
}

#header .search form .input-group:before, #header .search form .input-group:after {
  content:"";
  display:block;
  clear:both;
}

#header .search input[type="text"], #header .search .btn {
  float:left;
  display:block;
  margin:0px!important;
}

.search-toggle {
  display: none;
  line-height: 39px;
  padding: 0px;
  font-size: 16px;
}

.search-toggle a {
  cursor: pointer;
  color: inherit; 
}

.right.search{
    width: 270px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #0c5fa8;
    height: 51px;
}

.right.search form .input-group{
    width: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#asceevents .module

@media (max-width: 768px) {
  .right.search {
    height: 39px;
    display: none;
  }

  .search-open #nav-search-cont{
    padding: 0 5px;
    flex-direction: row-reverse;
  }

  .search-toggle {
    display: block;
    background-color: #0c5fa8;
  }

  .search-toggle i{
    color: #fff;
    font-size: 20px;
  }

  #catalogpage .menu #nav-search-cont{
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding: 0 15px 0 0;
  }

  #nav-search-cont ul.module-link.active + .search-toggle{
    display: none;
  }

  .search-open .search {
    display: flex;
    width: 100%;
    text-align: center; }
    .search-open .search form {
      margin-top: 0px;
      padding: 0;
      text-align: center;
      position: relative; }
      .search-open .search form input[type="text"] {
        width: 88%; }
      .search-open .search form .clear-megasearch {
        cursor: pointer;
        display: none;
        position: absolute;
        right: 15px;
        color: inherit;
        top: 50%;
        margin-top: -20px;
        line-height: 40px;
        height: 40px;
        font-size: 24px;
        margin-left: 7.5px; }
        .search-open .search form .clear-megasearch:before {
          font-family: "FontAwesome";
          content: "\f00d"; }
}

@media (min-width: 768px){
  ul.module-link{
    display: block!important;
  }
}