/* needed stop position the flyouts correctly */

.page-content {
  position: static;
}

/* hides follow content */

.ms-srch-hover-actions div:nth-child(2) {
  display: none;
}

/*Hide lanugage preference, alert me, preferences, and advanced search */

.ms-srch-upscope-top,
#ResultFooter {
  display: none !important;
}

/*for Search home screen*/

.page-content,
.page-content .ms-searchCenter-main {
  min-height: 0 !important;
  width: 100%;
}

/* tighten up refiners column a little*/

.grid__cell--1of4 {
  width: 20% !important;
}

/*Side Nav Box */

/*hides Sharepoint default image*/

div#searchIcon {
  display: none;
}

/*
* Search box
*/

.ms-searchCenter-result-main {
  padding-top: 1.5rem;
}

.page-content .ms-srch-sbLarge-searchImg,
.page-content .ms-srch-sbLarge-searchImg:hover {
  left: -35px;
  top: 3px;
  -moz-transform: scaleX(-1);
  -o-transform: scaleX(-1);
  -webkit-transform: scaleX(-1);
  transform: scaleX(-1);
  filter: FlipH;
  -ms-filter: "FlipH";
}

.ms-srch-sb-navLink:hover {
  background-color: transparent;
}

.ms-srch-sb-border,
.ms-srch-sb-border:hover,
.ms-srch-sb-borderFocused {
  border-radius: 4px;
  border: 1px solid #ababab;
}

.page-content .search-box__button:visited,
.page-content .ms-srch-sb-searchLink:visited {
  color: #6f7785;
  /* default and :visited colors are the same */
}

.page-content .ms-srch-sbLarge > input {
  height: 40px;
  width: 456px;
  border-radius: 4px 0 0 4px;
  padding: 0 0 0 10px;
  border-color: #ecf0f3;
}

@media screen and (max-width: 552px) {
  .page-content .ms-srch-sbLarge > input {
    width: 300px;
  }
}

@media screen and (max-width: 396px) {
  .page-content .ms-srch-sbLarge > input {
    width: auto;
  }
}

.page-content .ms-srch-sbLarge > input:hover {
  border: none !important;
}

.page-content .ms-srch-sbLarge > .ms-srch-sb-searchLink {
  background: #ecf0f3;
  color: #6f7785;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  height: 40px;
  width: 40px;
  border: 1px solid #ecf0f3;
  margin-top: 1px;
}

.ms-srchnav {
  display: none;
  /* Everything People Conversation Videos */
}

/* Pagination */

.page-content .ms-srch-result #Paging li {
  display: inline-block;
}

.page-content .ms-srch-result #PagingLink a,
.page-content .ms-srch-result #PagingImageLink a {
  color: #397aac;
  box-sizing: content-box;
}

.page-content .ms-srch-result #Paging a {
  border-radius: 4px;
  padding: 5px 12px;
  text-decoration: underline;
}

.page-content .ms-srch-result #Paging a:hover {
  text-decoration: none;
}

.page-content .ms-srch-result #PagingSelf a {
  color: white !important;
  background: #397aac;
  text-decoration: none;
}

.page-content .ms-srch-result #Paging #PageLinkPrev:hover,
.page-content .ms-srch-result #Paging #PageLinkNext:hover {
  border-color: #ababab;
  background-color: rgba(255, 255, 255, 0.85);
}

/* Advanced Search */

table.srch-advancedtable {
  width: inherit;
}

img.ms-advsrch-img {
  width: auto;
  height: auto;
  max-width: none;
  display: inline;
}

.srch-advancedtable label {
  display: inline;
}

.ms-advsrchText-v2box {
  height: inherit !important;
}

select.ms-advsrchPropertyDDL,
select.ms-advsrchOperatorDDL,
.ms-advsrchPropValue,
select.ms-advsrchAndOrDDL {
  font-family: TransportNewLight_gdi, Helvetica, Arial, sans-serif !important;
  font-size: inherit !important;
  height: 30px !important;
}

.srch-advancedtable td {
  border: none;
  padding: 0.5rem;
}

td.ms-advsrchText-v2,
td.ms-advsrchbutton,
td.ms-advsrchtips {
  border-right: 1px solid lightgray;
}

.srch-advancedtable tbody tr:nth-child(even) {
  background: transparent;
}

/* Search Results */

.page-content .ms-srch-item {
  width: 100%;
}

.page-content .ms-srch-item-path {
  font-size: 0.8rem;
  color: rgb(106, 118, 129);
  text-transform: uppercase;
  margin: 0;
  box-sizing: content-box;
  word-wrap: break-word;
  width: 95%;
}

.ms-srch-item-link {
  font-size: 1.3125rem;
}

.ms-ref-name {
  font-family: "Segoe UI", "Segoe", Tahoma, Helvetica, Arial, sans-serif;
}

.page-content .ms-ref-refiner #Value,
.ms-ref-unsel-toggle,
#OtherValue,
#SubmitValue {
  font-size: 0.9em;
}

.ms-promlink-button-image img,
img.ms-srch-sbLarge-searchImg {
  width: auto;
  height: auto;
  max-width: none;
}

.page-content .ms-srch-item-body {
  padding: 1rem 0;
  border-bottom: 1px solid #ecf0f3;
  overflow: visible;
  width: 90%;
}

/*hides light blue background on hover*/

.ms-srch-item:hover,
.ms-srch-resultHover:hover,
.edisc-SearchResultItemContainer:hover {
  background-color: transparent !important;
}

.ms-advsrchbutton input[type="button"],
.ms-advsrchbutton input[type="reset"],
.ms-advsrchbutton [type="submit"],
button {
  color: white;
  background: #092940;
  display: inline-block;
  font: normal normal normal 100%/1.5 TransportNewLight_gdi, Helvetica, Arial, sans-serif;
  text-align: left;
  border: 2px solid #092940;
  border-radius: 4px;
  padding: 11px 15px;
  line-height: 1.5;
  text-decoration: none;
  transition: all 0.15s ease-in-out;
  cursor: pointer;
}

.ms-advsrchbutton input[type="button"]:hover,
.ms-advsrchbutton input[type="reset"]:hover,
.ms-advsrchbutton input[type="submit"]:hover,
button:hover {
  color: white;
  background: #092940;
  border: 2px solid #092940;
  text-decoration: none;
  box-shadow: 0 0 0 5px rgba(9, 41, 64, 0.2);
}

/*hover container*/

.ms-srch-hover-standardSize {
  width: 100% !important;
}

.ms-srch-hover-outerContainer {
  left: 75% !important;
}

/*hides huge image on flyout*/

.ms-srch-hover-viewerContainer.ms-srch-hover-siteViewerContainer {
  display: none !important;
}

/* hide small preview image */

.ms-srch-item-previewContainer {
  border: none;
  display: none !important;
}

.ms-srch-hover-site-icon-result {
  width: auto;
  display: inline;
}

#Value input + label.ms-ref-name {
  vertical-align: middle;
}

.page-content .ms-srchnav-overflow {
  vertical-align: top;
  margin-top: 0px;
}

@media screen and (max-width: 480px) {
  .page-content .ms-srch-sbLarge {
    width: 53%;
  }
}

@media screen and (max-width: 940px) {
  .ms-searchCenter {
    width: 100%;
  }

  .page-content .ms-srch-item-link {
    display: inline;
  }

  .ms-searchCenter-refinement,
  #Refinement,
  .grid__cell--1of4 {
    display: none;
  }

  .page-content .ms-srch-sbLarge {
    width: inherit;
  }

  .page-content .ms-srch-sbLarge-fullWidth {
    width: calc(100% - 47px);
  }

  .page-content .ms-srch-hover-content {
    display: none;
  }
}

@media screen and (min-width: 940px) {
  .page-content .ms-srch-result #Paging,
  .page-content .ms-srch-resultFooter,
  .page-content .ms-srch-result #ResultFooter {
    margin: 0 13rem 1rem 0;
  }

  .page-content .ms-searchCenter-main {
    margin: 100px auto 0px 85px;
  }
}

.clear_input {
  text-decoration: none;
  color: #bfbfbf;
  font-weight: none;
}

.clear_input:hover {
  text-decoration: none;
  color: #000000;
  font-weight: bold;
}

/* bug 22998*/
.page-layout__section .ms-srch-bestBetItem {
    width: auto;
}

/* 21325 - iOS momentum scrolling breaks without this */
body
{
    -webkit-overflow-scrolling: touch;
}