/* SP Fixes */

#ms-designer-ribbon {
  z-index: 2000 !important;
}


/* Ribbon Buttons Fixes */

.ms-cui-dd-text,
input.ms-cui-cb-input {
  height: 100% !important;
  padding: 5px !important;
}

.ms-cui-dd-arrow-button {
  height: 100% !important;
  padding-left: 0 !important;
}

.ms-dlgTitle {
  padding: 10px 30px 10px 15px !important;
}

.ms-cui-ctl-thin {
  padding: 0 4px !important;
  height: 100% !important;
  margin-top: 10px !important;
}

#ms-help {
  padding: 0 !important;
  margin: 0 5px !important;
}

#ms-help span {
  height: 25px !important;
  width: 25px !important;
  margin: 0 !important;
}

.ms-qatbutton span {
  height: 25px !important;
  width: 25px !important;
}

/* Web Part Properties Box */

.ms-ToolPaneOuter {
  position: fixed;
  bottom: 10px;
  right: 35px;
  z-index: 100 !important;
}

.ms-ToolPaneBody {
  overflow: auto !important;
  max-height: 100%;
  z-index: 100 !important;
}

/* Left Menu */

.ms-core-listMenu-verticalBox>.ms-core-listMenu-item,
.ms-core-listMenu-verticalBox li.static>.ms-core-listMenu-item {
  display: block;
  padding: 5px !important;
}

.ms-core-listMenu-verticalBox li.static>ul.static>li.static>.ms-core-listMenu-item {
  padding: 3px 3px 3px 10px !important;
}

/* Search Properties */

.usq-title>.col-lg-12,
.usq-title>.col-lg-12>h1 {
  padding-left: 0;
  margin-left: 0;
}

#aspnetForm>span {
  visibility: hidden;
  display: none;
  height: 0px;
}

/* Start Search Box */

input[type=text]:hover {
  border: 0px !important;
}

#SearchBox,
.ms-srch-sbLarge {
  width: 100% !important;
}

.ms-srch-sbLarge>input {
  font-size: 25px;
  height: 35px !important;
  margin-bottom: 10px;
}

.ms-srch-sbLarge-fullWidth {
  width: 95% !important;
}

.ms-srch-sbLarge-navWidth {
  width: 94% !important;
}

.ms-srch-sb-border,
.ms-srch-sb-border:hover,
.ms-srch-sb-borderFocused {
  border: 0px;
  border-bottom: 3px solid black !important;
  padding-bottom: 5px;
}

/* End Search Box */

/* Start Navigation Links */

.ms-srchnav {
  padding-top: 17px !important;
}

.ms-srchnav-list>li {
  margin: 0 5px 0 5px;
}

.ms-srchnav-list>li>h2 {
  font-weight: bold;
  text-transform: uppercase;
  font-size: 16px !important;
}

.ms-srchnav-list>li>h2>a {
  color: #666 !important;
  padding: 0 10px 10px 10px;
}

.ms-srchnav-list>li>h2>a:hover {
  color: #666 !important;
  padding: 0 10px 10px 10px;
}

h2>.ms-srchnav-link-selected {
  color: #666 !important;
  font-weight: bold !important;
  border-bottom: 3px solid #ffb448;
}

/* End Navigation Links */

/* Start Result Section */

#UpScopeLinkTop {
  display: none !important;
}

.ms-searchCenter-result-main,
.ms-fullWidth,
.ms-srch-item,
.ms-srch-bestBetItem {
  width: 100% !important;
}

.ms-srch-item,
.ms-srch-bestBetItem {
  margin-bottom: 0 !important;
  margin-top: 0 !important;
  padding-top: 10px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(187, 187, 187, 0.199);
}

.ms-srch-item:hover {
  background-color: rgba(187, 187, 187, 0.199);
}

.ms-srch-item-link,
.ms-srch-item-link:visited {
  font-size: 16px !important;
  color: #666;
  font-weight: bold;
}

h3.ms-srch-ellipsis {
  margin-top: 10px !important;
  margin-bottom: 5px !important;
}

.ms-srch-item-summary {
  color: #999;
}

.ms-srch-item-summary .ms-srch-item-highlightedText {
  color: #666;
  font-weight: bold;
}

.ms-srch-item-path {
  margin-top: 25px;
  width: 100% !important;
  color: #2a8dd4;
}

.usq-degree {
  margin-bottom: 7px;
}

/* End Result Section */

/* Start Refiner Section */

.usq-refine,
.usq-recomend,
.usq-policy,
.usq-refine:link,
.usq-refine:visited {
  color: #666 !important;
  font-weight: bold;
  font-size: 16px;
  width: 100%;
  text-decoration: none;
  margin-top:21px;
}

.ms-ref-refinername>div,
.js-webpart-titleCell>h2 {
  line-height: 1.40;
  font-family: 'Open Sans', sans-serif !important;
  font-weight: bold;
  color: #666 !important;
}

.js-webpart-titleCell>h2 {
  font-size: 16px !important;
  margin-top: 0px !important;
}

.ms-ref-refinername:link,
.ms-ref-refinername:visited {
  color: #333 !important;
  font-size: 16px;
  width: 100%;
}

.ms-ref-allSec,
.ms-ref-selSec,
.ms-ref-unselSec {
  margin-left: 20px;
}

.ms-ref-name,
.ms-ref-refiner #Value>a {
  color: #999 !important;
}

.ms-ref-name:hover,
.ms-ref-refiner #Value>a:hover,
.usq-refine:hover {
  color: #666 !important;
  text-decoration: none !important;
}

.ms-ref-refiner #Value {
  width: 215px !important;
}

.ms-ref-refiner #Container,
.ms-wpContentDivSpace,
#Refinement>.ms-disabled {
  margin-bottom: 15px;
  padding-bottom: 15px !important;
  border-bottom: 1px solid rgba(187, 187, 187, 0.199);
}

.ms-webpartzone-cell {
  margin-bottom: 0px !important;
}

/* End Refiner Section */

.logo {
  margin-top: 12px;
}

.usq-recomend,
.usq-policy {
  font-size: 13px;
  margin-right: 5px;
}

.usq-recomend {
  margin-right: 20px;
}

.ms-ref-refinername>.ms-ref-uparrow {
  display: inline-block;
}

.ms-srch-pagingPrev,
.ms-srch-pagingNext {
  display: none !important;
}

#PageLinkPrev {
  padding: 0;
}

#PageLinkPrev:before {
  content: "\f053";
  font-family: FontAwesome;
  display: inline-block;
}

#PageLinkNext {
  padding: 0;
}

#PageLinkNext:before {
  content: "\f054";
  font-family: FontAwesome;
  display: inline-block;
}

#PageLinkPrev.ms-promlink-button,
#PageLinkNext.ms-promlink-button {
  border: none !important;
  color: #999 !important;
}

.ms-promlink-button-enabled:hover {
  background-color: #fff !important;
  color: #666 !important;
}

#PagingImageLink:first-child {
  margin-right: 50px;
}

#PagingImageLink:last-child {
  margin-left: 50px;
}

li#PagingLink>a {
  color: #666 !important;
  font-weight: normal;
}

li#PagingSelf>a {
  color: #666 !important;
  font-weight: normal !important;
  border-bottom: 2px solid #ffb448;
}

#ResultCount {
  margin-bottom: 10px;
}

#ResultFooter {
  display: none;
}

.usq-srch-item-path {
  margin: 0;
  padding: 0;
  color: #338200;
  margin-top: 25px;
  width: 100%;
  display: inline-block;
  word-wrap: break-word;
  -ms-word-break: break-all;
  word-break: break-word;
}

.usq-srch-item-path a:hover {
  text-decoration: none !important;
}

.ms-srch-group {
  margin-top: 0px !important;
}

.ms-srch-bestBetItem:hover {
  background-color: #f1f1f1;
}

.loader {
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: url('../images/loading.gif') 50% 50% no-repeat rgb(249, 249, 249);
  opacity: 1;
}

.ms-srch-sb-searchLink {
  float: right !important;
  margin-top: 3px !important;
  margin-right: 6px;
}

.usq-degree {
  margin-left:0px;
}

.usq-degree>.col-sm-3,
.usq-degree>.col-sm-6,
.usq-degree>.col-sm-3>[class*="col-"],
.usq-degree>.col-sm-6>[class*="col-"] {
  padding-left: 0px !important;
  padding-right: 0px !important;
  white-space: nowrap;
}

.usq-degree-icon {
  display: inline;
  min-width: 20px !important;
}

.usq-degree-list {
  display: inline-block;
  vertical-align: top;
  white-space: normal;
}

.thumbnail {display: block;padding: 4px;margin-bottom: 20px;line-height: 1.428571429;background-color: #fff;border: 1px solid #ddd;border-radius: 4px;-webkit-transition: all .2s ease-in-out;transition: all .2s ease-in-out;}
.thumbnail > img,.thumbnail a > img {display: block;max-width: 100%;height: auto;margin-right: auto;margin-left: auto;}
a.thumbnail:hover,a.thumbnail:focus,a.thumbnail.active {border-color: #428bca;}
.thumbnail .caption {padding: 9px;color: #333;}

/*-- Start Media Queries --*/

@media(max-width:992px) {
  .ms-srchnav {
    display: none !important;
  }
  .search-left {
    display: none !important;
  }

  /* Start Search Box */
  #SearchBox,
  .ms-srch-sbLarge {
    width: 100% !important;
  }
  .ms-srch-sbLarge>input {
    font-size: 25px;
    /* height: 35px !important; */
    margin-bottom: 10px;
  }
  .ms-srch-sbLarge-fullWidth {
    width: 85% !important;
  }
  /* End Search Box */

  #Result {
    margin-top: 0px !important;
  }
  #usq-search-box {
    max-height: 55px;
    overflow-y: hidden;
    position: relative;
  }
  .ms-srch-item-path {
    width: 100% !important;
  }
  .ms-srch-ellipsis {
    white-space: normal;
  }
  #usq-profile-pic {
    display: none;
  }
  .ms-srch-item,
  .ms-srch-bestBetItem {
    margin: 0px !important;
    padding-right: 0px !important;
    padding-left: 0px !important;
  }
}

@media(max-width:325px) {
  .ms-srch-sbLarge>input[type=text] {
    max-width: 240px;
  }
}