/* CSS for MO 529 searchbar and search results */

::-webkit-input-placeholder {
  color: #767676;
  /* min-contrast with white */
}

::-moz-placeholder {
  color: #767676;
  /* min-contrast with white */
}

:-ms-input-placeholder {
  color: #767676;
  /* min-contrast with white */
}

::placeholder {
  color: #767676;
  /* min-contrast with white */
}

.slideinMenu .navbar-toggle {
  left: 15px;
}

.logos {
  margin-top: 2.5em;
  position: relative;
}

@media (min-width: 480px) {
  .logos {
    margin-top: 3.5em;
  }
}

@media (min-width: 768px) {
  .logos {
    padding-left: 0;
  }
}

.logos .logo-momost {
  width: 135px;
  height: 45px;
  margin-right: 3%;
}

@media (min-width: 480px) {
  .logos .logo-momost {
    height: 56px;
    width: 168px;
    margin-right: 1em;
  }
}

.logos .logo-motreasurer {
  height: 45px;
  width: 66px;
}

@media (min-width: 480px) {
  .logos .logo-motreasurer {
    height: 56px;
    width: 82px;
  }
}

.mo-home .logos {
  margin: 2.5em auto 0.5em;
}

@media (min-width: 480px) {
  .mo-home .logos {
    margin: 3.5em auto 1.25em;
  }
}

.image-link:hover {
  text-decoration: none;
}

.site-search {
  position: absolute;
  top: 0;
  right: 15px;
  height: 45px;
  max-width: 44px;
  width: calc(100% - 20px);
  border: 1px solid #c8c8c8;
  background-color: white;
  transition: max-width 200ms cubic-bezier(0.13, 0.95, 0.25, 0.88);
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility:    hidden;
  -ms-backface-visibility:     hidden;
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

@media (min-width: 480px) {
  .site-search {
    right: 15px;
    height: 56px;
    max-width: 53px;
    width: calc(100% - 30px);
  }
}

@media (min-width: 768px) {
  .site-search {
    right: 0;
    width: 50%;
    max-width: 50%;
  }
}

.site-search.isActive {
  max-width: calc(100% - 30px);
}

@media (min-width: 768px) {
  .site-search.isActive {
    max-width: 50%;
  }
}

.site-search.isActive input {
  display: inline-block;
  outline: none;
}

.site-search input {
  display: none;
  box-sizing: border-box;
  vertical-align: top;
  height: 100%;
  width: calc(100% - 42px);
  border: 0;
  padding: 0 0.5em;
}

@media (min-width: 480px) {
  .site-search input {
    width: calc(100% - 51px);
    padding: 0 14px;
  }
}

@media (min-width: 768px) {
  .site-search input {
    display: inline-block;
    outline: none;
  }
}

.search-button {
  position: absolute;
  right: 0;
  height: 43px;
  width: 42px;
  border: 0;
  background-color: white;
  padding: 0;
}

@media (min-width: 480px) {
  .search-button {
    height: 100%;
    width: 51px;
  }
}

.glyphicon-search {
  font-size: 1.5em;
  top: 2px;
  color: #4576B5;
}

.csp-search .mo-content .search-term {
  font-style: italic;
}

.csp-search .mo-content h2 {
  font-size: 1.25em;
  margin-top: 1.77777em;
}

.csp-search .mo-content .search-details {
  color: #666;
}

.csp-search .mo-content .search-paging span,
.csp-search .mo-content .search-paging a {
  display: inline-block;
  height: 2.5em;
  width: 2.5em;
  text-align: center;
  line-height: 2.5em;
}

.csp-search .mo-content .search-paging span:first-child, .csp-search .mo-content .search-paging span:last-child,
.csp-search .mo-content .search-paging a:first-child,
.csp-search .mo-content .search-paging a:last-child {
  width: auto;
}

.gsc-thumbnail-inside,
.gsc-url-top {
  padding-left: 0 !important;
}
.gs-result .gs-title, .gs-result .gs-title * {
  text-decoration: none !important;
}
.gs-result .gs-title:hover, .gs-result .gs-title *:hover {
  text-decoration: underline !important;
}
.gs-webResult.gs-result a.gs-title:visited, .gs-webResult.gs-result a.gs-title:visited b, .gs-imageResult a.gs-title:visited, .gs-imageResult a.gs-title:visited b,
.gs-webResult.gs-result a.gs-title:link, .gs-webResult.gs-result a.gs-title:link b, .gs-imageResult a.gs-title:link, .gs-imageResult a.gs-title:link b{
  color: #4576b5 !important;
}
.gsc-results .gsc-cursor-box {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.gsc-results .gsc-cursor-box .gsc-cursor-page {
  margin-right: 0 !important;
  padding: 10px 16px;
  display: inline-block !important;
  color: #4576b5 !important;
}
.gsc-results .gsc-cursor-box .gsc-cursor-current-page,
.gsc-results .gsc-cursor-box .gsc-cursor-current-page:hover {
  text-decoration: none !important;
  color: black !important;
}
.search-term {
  font-style: italic;
}
.mo-wait-scrim {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 99;	/* always on top */
	height: 100%;
	width: 100%;
	background-color: rgba(255,255,255,0.7);
}
.mo-wait {
	position: absolute;
	top: 32%;
	left: 25%; /* for IE8, Opera mini */
	left: calc(50% - 82px);
	width: 165px;
}
.mo-wait-scrim.isLoaded {
  display: none;
}