.flex {
  display: flex;
}

.flex-1 {
  flex: 1;
}

.row-wrap {
  flex-flow: row wrap;
}

.flex-ac {
  align-items: center;
}

.devsite-full-width-page .devsite-main-content,
body[layout='full']:not([template='search']) .devsite-main-content {
  max-width: 1440px;
  padding: 0;
}

#cloud-site .background-grey img,
#cloud-site .hero {
  padding: 0;
}

.hero .hero-img {
  background-size: cover;
  position: relative;
}

.hero-img-darken::before {
  background: rgba(0, 0, 0, 0.6);
  content: '';
  height: 100%;
  position: absolute;
  width: 100%;
}

#cloud-site .hero header {
  align-items: flex-end;
  min-height: 368px;
}

#cloud-site .hero .hero-title,
#cloud-site .hero .hero-title h1 {
  color: #fff;
  font: 400 48px/56px Roboto;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, .3);
  text-transform: none;
}

#cloud-site .hero .hero-title {
  margin-bottom: 56px;
  margin-left: 5%;
  width: 50%;
  z-index: 1;
}

#cloud-site .hero .hero-title h1 {
  margin: 0;
  word-break: break-word;
}

.w-840 {
  margin-left: 5%;
  max-width: 860px;
  padding-right: 20px;
  width: 60.5vw;
}

.callout-section {
  margin: 64px 0 28px;
}

.callout {
  max-width: 280px;
}

.callout p {
  border-bottom: 4px solid #4183f0;
  border-top: 4px solid #4183f0;
  color: #414141;
  font: 400 30px/42px Roboto;
  margin: 0 0 0 36px;
  padding: 36px 0;
}

.headline-big {
  color: #747474;
  font: 400 30px/40px Roboto;
  margin: 0 0 28px;
  padding: 0;
}

.headline-small {
  color: #333;
  font: 700 24px/28px Roboto;
  margin: 28px 0;
  padding: 0;
}

.callout-section .headline-small,
.callout-section .paragraph {
  margin-top: 0;
}

ul.list-items {
  padding-left: 20px;
  margin: 28px 0;
}

ul.list-items li {
  color: #747474;
  font: 500 16px/28px Roboto;
  margin: 0;
}

.paragraph {
  color: #666666;
  font: normal 16px/28px Roboto;
  margin: 28px 0;
}

p.paragraph:last-of-type {
  margin-bottom: 0;
}

.image {
  margin: 64px 0;
}

.video {
  margin: 64px 0;
  max-width: 700px;
}

.image-caption {
  border-bottom: 1px solid #c7c7c7;
  color: #9d9d9d;
  font: italic 14px/22px Roboto;
  max-width: 700px;
  padding: 28px 0 22px 0;
}

.quote {
  background-color: #2b85e7;
  color: #fff;
  margin: 64px auto;
  text-align: center;
}

.quote p {
  color: #fff;
  font: normal 24px/34px roboto;
}

.products {
  margin: 20px auto;
  width: 360px;
}

.products span {
  background-color: #eceff1;
  border: 1px solid #ccc;
  border-radius: 20px;
  cursor: pointer;
  display: inline-block;
  font: normal 14px/26px roboto;
  margin: 4px;
  padding: 2px 12px;
}

.products span a,
.products span a:visited {
  color: #333;
  text-decoration: none;
}

.products li img {
  height: 30px;
}

.products li a {
  line-height: 30px;
  padding-left:16px;
}

.related-casestudies {
  align-items: center;
  background: #fff;
  margin: 72px 5% 0 5%;
  padding: 72px 80px;
}

.related-casestudies h3 {
  flex: 33%;
  margin: 0;
}

.related-casestudies ul {
  display: flex;
  flex-direction: column;
  flex: 66%;
  justify-content: center;
  list-style: none;
  padding-left: 32px;
}

#cloud-site .related-casestudies .text {
  margin: 28px 0;
}

#cloud-site .casestudy-link {
  font: normal 16px/28px Roboto;
  position: relative;
}

#cloud-site .casestudy-link,
#cloud-site .casestudy-link:visited {
  color: #666;
  text-decoration: none;
}

.casestudy-link:after {
  background-color: #039be5;
  background-image: url(//www.gstatic.com/images/icons/material/system/1x/arrow_upward_white_24dp.png);
  background-repeat: no-repeat;
  background-size: contain;
  border-radius: 50%;
  content: '';
  display: inline-block;
  height: 15px;
  margin-left: 17px;
  transform: rotateZ(90deg);
  vertical-align: middle;
  width: 15px;
}

.aside-content-block {
  position: absolute;
  right: 5%;
  top: 276px;
}

.free-trial {
  background: #2b85e7;
  color: #fff;
  padding: 30px;
  text-align: center;
  width: 360px;
}

.free-trial h3 {
  font: normal 24px/28px Roboto;
  text-transform: uppercase;
}

.free-trial h4 {
  font: normal 16px/24px Roboto;
}

.customer-hub-link {
  margin:  0 0 16px;
}

.contact-section,
.customer-section,
.partner-section {
  background: #fff;
  margin-bottom: 20px;
  padding: 40px 28px 20px;
  width: 360px;
}

.contact-section h4 {
  color: #202124;
  font: normal 16px/20px Roboto;
}

.partner-section {
  padding-bottom: 48px;
}

.customer-section p,
.partner-section p {
  margin: 24px 0;
}

.customer-section .logo,
.partner-section .logo {
  margin: 0 0 24px 0;
  max-height: 60px;
  max-width: 140px;
}

.customer-section > .logo.logo-wide,
.partner-section .logo-wide {
  max-width: 100%;
}

/* Temp fix for the global issue of title under customer logo */
#cloud-site .customer-section h1,
#cloud-site .partner-section h1 {
  display: block;
}

.location, .industry {
  color: #666666;
  font: normal 18px/30px Roboto;
  margin: 28px 0;
}

.hr-center {
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
}

.label {
  font-weight: 700;
}

.aside-content-block.is-hidden-on-mobile .headline-big {
  font: 400 28px/38px Roboto;
}

.aside-content-block.is-hidden-on-mobile .paragraph {
  font: normal 14px/26px Roboto;
}

.aside-content-block.is-hidden-on-mobile .free-trial h3 {
  font: normal 22px/26px Roboto;
}

.aside-content-block.is-hidden-on-mobile .free-trial h4 {
  font: normal 14px/22px Roboto;
}

@media only screen and (min-width: 1025px) {
  .is-hidden-on-desktop {
    display: none;
  }
}

@media only screen and (max-width: 1280px) {
  .products,
  .contact-section,
  .customer-section,
  .partner-section,
  .free-trial {
    width: 325px;
  }
}

@media only screen and (max-width: 1100px) {
  .w-840 {
    width: 57vw;
  }
}

@media only screen and (max-width: 1024px) {
  .w-840 {
    margin-left: 0;
    max-width: 100%;
    padding: 0 28px;
    width: 100%;
  }

  #cloud-site .hero .hero-title {
    margin-right: 5%;
    width: 100%;
  }

  .customer-section,
  .partner-section {
    padding: 0 28px;
  }

  .contact-section {
    padding: 20px 28px 28px;
  }

  .callout-section {
    flex-direction: column;
  }

  .callout {
    margin-bottom: 36px;
    max-width: 100%;
    order: 1;
  }

  .callout p {
    margin: 0;
  }

  .callout-section .left {
    order: 2;
  }

  #cloud-site .aside-content-block.is-hidden-on-desktop {
    border-bottom: 1px solid #ccc;
    margin-bottom: 28px;
    position: relative;
    right: 0;
    top: 0;
  }

  .is-hidden-on-desktop .industry,
  .is-hidden-on-desktop .location {
    font-size: 16px;
    margin: 18px 0;
  }

  .is-hidden-on-desktop .products_mobile,
  .is-hidden-on-desktop .products-mobile {
    font: normal 16px/32px Roboto;
  }

  #cloud-site .is-hidden-on-desktop .products_mobile span a,
  #cloud-site .is-hidden-on-desktop .products_mobile span a:visited,
  #cloud-site .is-hidden-on-desktop .products-mobile span a,
  #cloud-site .is-hidden-on-desktop .products-mobile span a:visited {
    color: #1a73e8;
    text-decoration: none;
  }

  .is-hidden-on-desktop .free-trial {
    width: 100%;
  }

  #cloud-site section.aside-content-block.is-hidden-on-desktop .contact-section,
  #cloud-site section.aside-content-block.is-hidden-on-desktop .customer-section,
  #cloud-site section.aside-content-block.is-hidden-on-desktop .partner-section {
    background: none;
    width: 100%;
  }

  #cloud-site section.aside-content-block.is-hidden-on-mobile {
    display: none;
  }

  .related-casestudies {
    align-items: center;
    flex-direction: column;
    margin-left: 0;
    margin-right: 0;
    padding: 72px 28px;
  }

  .related-casestudies h3 {
    margin-bottom: 24px;
    width: fit-content;
  }

  #cloud-site .related-casestudies .text {
    margin-top: 0;
  }
}

@media only screen and (max-width: 780px) {
  #cloud-site .l-content {
    padding: 32px 28px;
  }

  #cloud-site .hero .hero-title {
    font-size: 40px;
  }
}
