.calendly-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translateY(-50%) translateX(-50%);
  transform: translateY(-50%) translateX(-50%);
  width: 80%;
  min-width: 901px;
  max-width: 1000px;
  height: 90%;
  max-height: 680px;
}

.calendly-wrapper .close-modal {
  font-size: 25px;
  color: #fff;
  cursor: pointer;
  position: absolute;
  top: -4px;
  right: -24px;
}

.calendly-wrapper #calendly-iframe {
  max-height: 680px;
  background-color: #fff;
}

@media(max-width: 991px) {
  .calendly-wrapper {
    position: fixed;
    top: 50px;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-transform: none;
    transform: none;
    width: 100%;
    height: auto;
    min-width: 0;
    max-height: none;
  }
  .calendly-wrapper #calendly-iframe {
    max-height: 100%;
  }
  .calendly-wrapper .close-modal {
    top: -50px;
    right: 14px;
    font-size: 40px;
  }
}
/* Support Box */

.support-box {
  grid: auto / 1fr 1fr;
  grid-gap: 20px;
}

.support-box > div {
  background: #fff;
  cursor: pointer;
  position: relative;
  border: 1px solid #e0e0e0;
  padding: 20px 25px 20px 120px;
}

.support-box .icon {
  position: absolute;
  left: 40px;
  top: 50px;
  font-size: 44px;
  color: #0095cd;
}

.support-box h4 {
  margin-bottom: 0;
}

.support-box p {
  margin: 10px 0;
}

.support-box > div:hover {
  border-color: #0095cd;
}

@media(max-width: 991px) {
  .support-box .icon {
    top: 30px;
  }
}

@media(max-width: 767px) {
  .support-box {
    grid: auto / 1fr;
    grid-gap: 40px;
  }
  .support-box > div {
    padding-left: 90px;
  }
  .support-box .icon {
    left: 20px;
  }
}

section.hero {
  height: 250px;
  background: #035481 url(/gallery/images/dedi-overview.jpg) no-repeat 0 0;
}

section.hero h1 {
  font-size: 32px;
}

section.hero .wrap {
  grid-template: auto / 1fr 1fr;
  align-items: center;
}

section.hero .wrap .desk {
  margin-right: 60px;
}

section.hero .grid.offer {
  display: grid;
  grid-template: auto / 1fr 3fr;
  align-items: center;
  justify-items: center;
}

section.hero .grid.offer > div {
  padding: 0 12px;
  border: none !important;
}

section.hero.fixed-nav {
  margin-bottom: 60px;
}

@media(max-width:991px) {
  section.hero {
    height: 344px;
  }
  section.hero .wrap {
    grid-template: auto / 1fr;
    grid-gap: 20px;
  }
  section.hero .wrap .btn {
    margin-top: 0;
  }
}

@media(max-width:767px) {
  section.hero {
    background: #035481;
    height: 500px;
  }
  section.hero .grid.offer {
    grid-template: auto / 1fr;
    text-align: center;
  }
  section.hero .wrap .desk {
    margin-right: 0;
  }
  section.hero .grid.offer > div {
    padding: 0;
  }
  section.hero .wrap .btn {
    margin-top: 15px;
  }
}


/* Secondary nav */

section.nav .grid {
  grid-template: 60px / repeat(3, 220px);
  justify-content: center;
}

@media(max-width:767px) {
  section.nav .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* Section 2 */

.grid.boxes {
  grid-template: auto / 400px 400px;
  grid-gap: 20px;
  justify-content: center;
}

.block > .grid {
  grid-template: auto / 2fr 1fr;
}

.block > .grid > p {
  grid-column: 1/3;
}

@media(max-width:991px) {
  .grid.boxes {
    grid-template: auto / 1fr;
    justify-content: center;
  }
  .block > .grid {
    grid-template: auto / 3fr 3fr 1fr;
  }
  .block > .grid > p {
    grid-column: 1;
  }
}

@media(max-width:767px) {
  .block > .grid {
    grid-template: auto / 3fr 1fr;
  }
  .block > .grid > p {
    grid-column: 1/3;
  }
}


/* Section 3 */

section.benefits .grid {
  grid-template: auto / repeat(3, 1fr);
}

section.benefits .grid.tac {
  grid-template: auto / repeat(6, 1fr);
  justify-items: center;
  align-items: center;
}

section.benefits .purevpn,
section.benefits .uptimedoctor,
section.benefits .hubspot,
section.benefits .comodo,
section.benefits .moo,
section.benefits .avg {
  display: inline-block;
  background: url('/gallery/images/testimonials-logo-grey.png') no-repeat;
  overflow: hidden;
  text-indent: -9999px;
  text-align: left;
}

section.benefits .purevpn {
  background-position: 50% 0;
  width: 147px;
  height: 49px;
}

section.benefits .uptimedoctor {
  background-position: 12.903% 24.091%;
  width: 124px;
  height: 36px;
}

section.benefits .hubspot {
  background-position: 11.429% 41.892%;
  width: 120px;
  height: 34px;
}

section.benefits .comodo {
  background-position: 11.111% 58.482%;
  width: 119px;
  height: 32px;
}

section.benefits .moo {
  background-position: 11.111% 76.959%;
  width: 119px;
  height: 39px;
}

section.benefits .avg {
  background-position: 7.843% 98.131%;
  width: 104px;
  height: 42px;
}

@media(max-width:991px) {
  section.benefits .grid {
    grid-template: auto / 1fr;
  }
  section.benefits .grid.tac {
    grid-template: auto / 1fr 1fr 1fr;
    grid-gap: 20px 0;
  }
}

@media(max-width:767px) {
  section.benefits .grid {
    grid-gap: 40px;
  }
  section.benefits .purevpn,
  section.benefits .uptimedoctor,
  section.benefits .hubspot,
  section.benefits .comodo,
  section.benefits .moo,
  section.benefits .avg {
    width: 86px;
    background-size: 100%;
    height: 22px;
  }
  section.benefits .purevpn {
    height: 27px;
  }
}


/* Section 4 */

section.diagram .grid {
  grid-template: auto / 1fr 1fr;
  align-items: center;
}

section.diagram img {
  max-width: 100%;
}

@media(max-width:991px) {
  section.diagram .grid {
    grid-gap: 40px;
  }
}

@media(max-width:767px) {
  section.diagram .grid {
    grid-template: auto / 1fr;
    grid-gap: 10px;
  }
}


/* Section 5 */


/* Grid was with class "margined" */

section.reasons .grid {
  grid-template: auto / 1fr;
}

section.reasons .grid .block {
  width: 50%;
  margin: 0 auto;
}

section.reasons .grid .block .btn {
  width: 100%;
}

@media(max-width:767px) {
  section.reasons .grid {
    grid-template: auto / 1fr;
    grid-gap: 25px;
  }
  section.reasons .grid .block {
    width: 100%;
    margin: 0 auto;
  }
}


/* Section parallax */

section.parallax {
  background: #0095cd url('/gallery/images/private-cloud-reasons.jpg') 50% 50% no-repeat;
  background-size: cover;
}
