/* # Maia overrides (generic)
================================================== */
#maia-main, .maia-aux {
  margin: auto;
  max-width: 1100px;
}

#maia-signature {
  margin-top: -5px;
}

img.maia-media {
  outline: none;
}

.kd-butterbar {
  display: none;
}

/* # Maia override (buttons)
================================================== */
.maia-button {
  background: #5393FA;
  border-radius: 3px;
  padding: 7px 18px;
  font-family: 'Open Sans';
  font-weight: 600;
}

.maia-button.maia-button-secondary {
  background: #FCFCFC;
  color: #0056CF;
  border: 1px solid #DBDBDB;
  padding: 6px 17px;
}

#maia-main .maia-search .maia-button {
  height: auto;
  padding: 5px 17px;
}

#maia-nav-x.maia-compact .maia-aux>div.cp-cta {
  display: block;
  position: absolute;
  margin: 0;
  right: 40px;
  top: 44px;
}

/* # Maia overrides (header / search / product nav)
================================================== */
.logo-wrapper {
  display: inline-block;
  float: left;
  padding-top: 5px;
}

@media only screen and (max-width: 479px) {
  #maia-header .logo-wrapper img {
    width: calc(100% - 10px);
  }
}

.devsite-search {
  float: left;
  margin-left: 27px;
}

body .maia-max #maia-header .devsite-search #search-wrapper {
  width: 570px;
  text-align: left;
  margin: 0;
}

body .maia-max #maia-header #search-wrapper #searchbox {
  margin: 0;
  width: calc(100% - 97px);
}

body .maia-max #maia-header #search-wrapper #search-button {
  height: 28px;
  margin-top: 4px;
  border-radius: 0 3px 3px 0;
}

#maia-header #social-wrapper {
  float: right;
  font-size: 12px;
  margin-top: 8px;
  display: inline-block;
  padding: 2px 0 0 0;
}

@media only screen and (max-width: 767px) {
  #maia-header #social-wrapper {
    display: none;
  }
}

#maia-header #social-wrapper .cloud-signed-in {
  margin-top: 6px;
  font-size: 14px;
}

#maia-header #social-wrapper span.signed-in {
  direction: rtl;
  max-width: 150px;
  padding-top: 2px;
}

#maia-header #social-wrapper .signed-out {
  margin-top: 4px;
  margin-right: 22px;
}

#maia-header #social-wrapper .signed-out a {
  font-size: 15px;
}

#maia-header .signed-in a, body .maia-max #maia-header .signed-in a:visited {
  display: block;
  color: #000;
  font-size: 13px;
  padding-top: 8px;
  padding-right: 22px;
}

.cloud-social {
  float: right;
}

/* Prevents the retina version of the logo from distorting the viewport on mobile */
#maia-header h1 img {
  max-width: 100%;
  height: auto;
}

body.docs h2::after, .docs .memitem table h2::after {
  background: #fff;
}

#home-nav {
  display: none;
}

#maia-nav-x.maia-compact ul {
  width: 100%;
}

#maia-nav-x .inline-button {
  position: relative;
  margin: 5px !important;
}

#maia-nav-x .product-list-title {
  color: #bdbdbd;
  font-weight: normal;
}

#maia-nav-x a {
  text-decoration: none;
  color: #494949;
}

#maia-nav-x .cp-cta {
  color: #333 !important;
}

#maia-nav-x .cp-cta-text {
  font-weight: 600;
  margin-left: 5px;
  margin-right: 5px;
}

.cloud-social {
  float: right;
  line-height: 16px;
  padding: 6px 0px;
}

#maia-header #maia-social {
  display: none;
}

@media only screen and (max-width: 767px) {
  #home-nav {
    display: block;
  }

  #maia-nav-x .maia-button {
    position: relative;
    top: -38px;
  }
}

@media (min-width: 768px) and (max-width: 900px) {
  #maia-nav-x .maia-button.white-button {
    width: 90px;
    left: auto;
    right: 0;
  }
}

@media (min-width: 768px) and (max-width: 900px) {
  #maia-nav-x .maia-button.blue-button {
    width: 73px;
    left: auto;
    right: 95px;
  }
}


/* # Maia overrides (announcement bar)
================================================== */
#cloud-site .announcement-bar {
  background: #ECEFF1;
  min-height: 96px;
  margin: 0px -15px;
  padding: 24px;
  box-sizing: border-box;
  position: relative;
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.37);
}

#cloud-site .announcement-bar .announcement-bar-content {
  max-width: 800px;
  margin: 0px auto;
}

#cloud-site .announcement-bar .announcement-bar-content.has-logo {
  padding-left: 80px;
}

@media only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (min-device-pixel-ratio: 2) {
  #cloud-site .announcement-bar .announcement-bar-content.has-logo {
    background-size: 64px 57px;
  }
}

@media handheld and (max-width: 480px),
screen and (max-device-width: 480px),
screen and (max-width: 780px) {
  #cloud-site .announcement-bar .announcement-bar-content.has-logo {
    padding: 0;
    background: none;
  }
}

#cloud-site .announcement-bar .announcement-bar-badge {
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  z-index: 1;
  height: 112px;
  width: 112px;
  overflow: hidden;
  text-indent: -3000px;
  background: url("/images/products/artwork/announcement-badge.png") 0px -1px no-repeat;
}

@media only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (min-device-pixel-ratio: 2) {
  #cloud-site .announcement-bar .announcement-bar-badge {
    background: url("/images/products/artwork/announcement-badge@2x.png") 0px -1px no-repeat;
    background-size: 113px 113px;
  }
}

#cloud-site .announcement-bar .logo-storage {
  background: url("/images/products/logos/storage-logo-small.png") 0px 4px no-repeat;
}

@media only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (min-device-pixel-ratio: 2) {
  #cloud-site .announcement-bar .logo-storage {
    background: url("/images/products/logos/storage-logo-small@2x.png") 0px 4px no-repeat;
  }
}

#cloud-site .announcement-bar .logo-dataflow {
  background: url("/images/products/logos/dataflow-logo-small.png") 0px 4px no-repeat;
}

@media only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (min-device-pixel-ratio: 2) {
  #cloud-site .announcement-bar .logo-dataflow {
    background: url("/images/products/logos/dataflow-logo-small@2x.png") 0px 4px no-repeat;
  }
}

#cloud-site .announcement-bar .logo-compute-engine {
  background: url("/images/products/logos/compute-engine-logo-small.png") 0px 4px no-repeat;
}

@media only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (min-device-pixel-ratio: 2) {
  #cloud-site .announcement-bar .logo-compute-engine {
    background: url("/images/products/logos/compute-engine-logo-small@2x.png") 0px 4px no-repeat;
  }
}

#cloud-site .announcement-bar .logo-datalab {
  background: url("/images/products/logos/datalab-logo-small.png") 0px 4px no-repeat;
}

@media only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (min-device-pixel-ratio: 2) {
  #cloud-site .announcement-bar .logo-datalab {
    background: url("/images/products/logos/datalab-logo-small@2x.png") 0px 4px no-repeat;
  }
}


#cloud-site .announcement-bar .logo-container {
  background: url("/images/products/logos/container-logo-small.png") 0px 4px no-repeat;
}

@media only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (min-device-pixel-ratio: 2) {
  #cloud-site .announcement-bar .logo-container {
    background: url("/images/products/logos/container-logo-small@2x.png") 0px 4px no-repeat;
  }
}

#cloud-site .announcement-bar header {
  display: inline-block;
  margin-right: 16px;
}

#cloud-site .announcement-bar h2,
#cloud-site .announcement-bar h3 {
  margin: 0px;
  font-weight: 400;
  opacity: .87;
  color: #526E7A;
}

#cloud-site .announcement-bar h2 {
  font-size: 32px;
  line-height: 32px;
}

@media handheld and (max-width: 480px),
screen and (max-device-width: 480px),
screen and (max-width: 780px) {
  #cloud-site .announcement-bar h2 {
    font-size: 28px;
    padding-right: 24px;
  }
}

#cloud-site .announcement-bar h3 {
  font-size: 16px;
  line-height: 24px;
}

#cloud-site .announcement-bar .cta-button {
  box-sizing: border-box;
  border: none;
  background: #8FA4AE;
  color: #fff;
  display: inline-block;
  height: auto;
  line-height: 48px;
  text-decoration: none;
  text-transform: uppercase;
  text-align: center;
  font-family: "Roboto", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  font-size: 16px;
  font-weight: 400;
  padding: 0px 48px;
  margin: 8px auto 0px auto;
  border-radius: 2px;
  transition: box-shadow .3s, transform .3s;
  overflow: hidden;
}

#cloud-site .announcement-bar .cta-button:hover {
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.24), 0 0px 4px rgba(0, 0, 0, 0.12);
}

@media handheld and (max-width: 480px),
screen and (max-device-width: 480px),
screen and (max-width: 780px) {
  #cloud-site .announcement-bar .cta-button {
    display: block;
    margin-top: 16px;
  }
}
