/* Common */

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Open Sans", sans-serif;
  width: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-tap-highlight-color: transparent;
  -webkit-overflow-scrolling: touch;
}

@media only screen
  and (min-width: 1366px) {
    h1, .section-heading {
      font-size: 36px;
    }
  }

@media only screen
  and (min-width: 768px)
  and (max-width: 1365px) {
    h1, .section-heading {
      font-size: 24px;
    }
  }

@media only screen
  and (min-width: 320px)
  and (max-width: 767px) {
    h1, .section-heading {
      font-size: 28px;
    }
  }

h1, .section-heading {
  line-height: 48px;
  color: #000000;
  font-weight: 600;
}

.button {
  display: inline-flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background: #00B4FF;
  color: #000000;
  text-decoration: none;
  font-weight: 600;
}

.button:hover {
  background: #005BE2;
  color: #FFFFFF;
}

.button:focus {
  background: #031B66;
  color: #FFFFFF;
}
.button:active {
  background: #031B66;
  color: #FFFFFF;
}

/* Navigation bar */

nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-weight: 600;
  font-size: 14px;
  color: #404040;
  position: fixed;
  background: #FFFFFF;
  width: 100%;
  z-index: 10;
  top: 0;
  right: 0;
}

nav.open {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 11px;
}

nav > .logo {
  background-image: url(./assets/images/logo_small.svg);
  background-repeat: no-repeat;
  width: 147px;
  height: 20px;
}

nav > .menu-items {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

nav a {
  color: inherit;
  text-decoration: none;
}

nav > .menu-items.left, nav > .menu-items.right {
  display: none;
}

nav.open > .menu-items.left, nav.open > .menu-items.right {
  width: 100%;
  display: block;
  padding: 20px 0;
}

nav.open > .menu-items.left {
  border-bottom: 1px solid #DDDDDD;
  line-height: 48px;
}

nav.open > .menu-items.right {
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
}

nav.open > .menu-items.right > a {
  width: 100%;
  height: 48px;
}

nav.open > .menu-items.right > a:first-child {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #6D8290;
  border-radius: 4px;
  margin-top: 18px;
}

nav.open > .menu-control {
  background-image: url("./assets/images/close.svg");
  width: 18px;
  height: 18px;
  position: absolute;
  right: 24px;
  top: 31px
}


nav > .menu-control {
  display: none;
  width: 15px;
  height: 13px;
  margin-left: auto;
}

nav.open {
  height: 100vh;
  z-index: 20;
  background: #FFFFFF;
}



@media only screen
  and (min-width: 1366px) {
    nav {
      height: 84px;
      padding: 0 135px;
    }

    nav > .menu-items.left, nav > .menu-items.right {
      display: block;
    }

    nav > .menu-items.right {
      margin-left: auto;
    }

    nav > .menu-items.left {
      margin-left: 54px;
    }

    .menu-items.left > a:first-child {
      margin-right: 50px;
    }

    .menu-items.right > a:first-child {
      text-transform: uppercase;
    }

    .menu-items.right > a:last-child {
      margin-left: 34px;
      width: 141px;
      height: 36px;
      font-size: 14px;
    }
  }

@media only screen
  and (min-width: 768px)
  and (max-width: 1365px) {
    nav {
      height: 70px;
      padding: 0 10px;
    }

    nav.open {
      width: 360px;
    }

    nav > .menu-control {
      display: block;
      background-image: url("./assets/images/hamburger_dark.svg");
    }
  }

@media only screen
  and (min-width: 320px)
  and (max-width: 767px) {
    nav {
      background-color: #FFFFFF;
      height: 67px;
      padding: 0 25px;
    }

    nav.open > .logo {
      background-image: url("./assets/images/logo_small.svg");
      margin-top: 12px;
    }

    nav > .menu-control {
      display: block;
      background-image: url("./assets/images/hamburger_dark.svg");
    }

  }

@media only screen
  and (min-width: 320px)
  and (max-width: 767px) {
    .close-button {
      right: 27px !important;
      top: 24px;
    }
  }

.disable-scroll {
  margin: 0;
  height: 100%;
  overflow: hidden;
  position: fixed;
}


/* Header */

header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.intro-text > p {
  color: #6d8290;
}

header > .right {
  display: flex;
  align-items: center;
}

.intro-text > a {
  width: 214px;
  height: 50px;
  font-size: 16px;
  line-height: 32px;
}

.card-on-image {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 319px;
  height: 124px;
  background: #ffffff;
  border-radius: 4px;
  -webkit-box-shadow: -4px 4px 29px rgba(90, 90, 90, 0.09);
  box-shadow: -4px 4px 29px rgba(90, 90, 90, 0.09);
  margin-bottom: 28px;
}

.card-on-image:last-child {
  margin-bottom: 0;
}


.card-on-image > .icon {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 90px;
  fill: #262f36;
}

.card-on-image > .text {
  padding-right: 30px;
}

.card-on-image h3 {
  font-size: 18px;
  line-height: 25px;
  font-weight: 600;
  color: #1f3043;
  margin-top: 24px;
  margin-bottom: 9px;
}

.card-on-image p {
  color: #6d8290;
  font-size: 15px;
  line-height: 20px;
  margin: 0;
}

@media only screen
  and (min-width: 1366px) {
    header {
      height: 600px;
      padding-left: 135px;
      padding-right: 28px;
      margin-top: 84px;
    }

    header > .right {
      background-image: url("./assets/images/kt_developer.png");
      background-repeat: no-repeat;
      background-position: right;
      background-size: contain;
      width: 631px;
      height: 510px;
    }

    header > .intro-text {
      width: 530px;
    }

    .intro-text > h1 {
      margin-bottom: 24px;
    }

    .intro-text > p {
      font-size: 21px;
      line-height: 34px;
      margin-top: 0;
      margin-bottom: 39px;
    }
  }

@media only screen
  and (min-width: 768px)
  and (max-width: 1365px) {
    header {
      padding-left: 42px;
      padding-right: 38px;
      height: 527px;
      margin-top: 70px;
    }

    header > .intro-text {
      width: 40%;
    }

    .intro-text > p {
      font-size: 18px;
      line-height: 32px;
      margin-top: 0;
      margin-bottom: 24px;
    }

    .intro-text > h1 {
      margin-bottom: 12px;
    }
  }

@media only screen
  and (min-width: 320px)
  and (max-width: 767px) {
    header > .intro-text {
      height: 376px;
      text-align: center;
      background-image: linear-gradient(rgba(31, 48, 67, 0.8), rgba(31, 48, 67, 0.8)), url("./assets/images/kt_developer.png");
      background-repeat: no-repeat;
      background-size: cover;
    }

    header > .right {
      width: 100%;
      justify-content: center;
    }

    .intro-text > h1 {
      padding: 0 28px;
      margin-bottom: 9px;
      color: #FFFFFF;
    }

    .intro-text > p {
      padding: 0 36px;
      font-size: 18px;
      line-height: 26px;
      margin-top: 0;
      margin-bottom: 30px;
      color: #FFFFFF;
    }

    .intro-text > a.button {
      width: 180px;
      height: 40px;
      margin-left: auto;
      margin-right: auto;
    }

    .card-on-image {
      width: 84%;
      margin-left: auto;
      margin-right: auto;
    }

    header > .right {
      height: 404px;
      position: relative;
    }

    .right > .cards-on-image {
      position: absolute;
      bottom: 30px;
    }

    header {
      margin-top: 67px;
    }


  .card-on-image h3 {
    font-size: 16px;
    line-height: 22px;
  }

  .card-on-image p {
    font-size: 14px;
    line-height: 19px;
  }

  .feature .feature-header .feature-heading {
    font-size: 24px;
    line-height: 33px;
  }

  .feature .feature-description {
    font-size: 16px;
    line-height: 32px;
  }

  .categories h1, .categories .section-heading {
    font-size: 26px;
    line-height: 48px;
  }
}

@media only screen
  and (min-width: 320px)
  and (max-width: 347px) {
    header > .intro-text {
      height: 420px
    }
  }



/* Features */

.features {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  background: #005BE2;
  color: #ffffff;
}

.feature {
  flex-grow: 0;
  flex-shrink: 1;
  flex-basis: auto;
}

/* .features > .feature:last-child {
  border-right: none;
} */

.feature .feature-icon {
  margin-bottom: 25px;
}

.feature .feature-heading {
  margin-bottom: 18px;
  font-size: 24px;
  line-height: 33px;
  font-weight: 600;
}

.feature .feature-description {
  line-height: 32px;
}

@media only screen
  and (min-width: 1366px) {
     .features {
      height: 379px;
      padding: 0 88px 0;
    }

    .feature {
      padding-right: 40px;
      padding-left: 47px;
      padding-top: 70px;
      flex-grow: 1;
      flex-shrink: 1;
      flex-basis: 0%;
    }
  }

@media only screen
  and (min-width: 768px)
  and (max-width: 1365px) {
    .feature {
      width: 94%;
      text-align: center;
      padding: 30px 0;
      border-bottom: 1px solid #335A84;
      margin: 0 auto;
    }

    .feature > .feature-header {
      display: flex;
      justify-content: center;
      align-items: center;
      margin-bottom: 10px;
    }

    .feature .feature-heading {
      margin-bottom: 0;
      font-weight: 600;
      font-size: 18px;
      line-height: 32px;
    }

    .feature .feature-description {
      padding: 0 100px;
    }

    .feature-header > .feature-icon + .feature-heading {
      margin-left: 15px;
    }

    .feature .feature-icon {
      margin-bottom: 0;
    }
  }

@media only screen
  and (min-width: 320px)
  and (max-width: 767px) {
    .features {
      padding-top: 19px;
    }

    .feature {
      border-bottom: 1px solid #335a84;
      width: 90%;
      padding: 30px 0;
      margin: 0 auto;
      text-align: center;
    }

    .feature .feature-heading {
      font-weight: 600;
      font-size: 24px;
      line-height: 33px;
    }

    .feature:last-child {
      border-bottom: none;
    }
  }

/* Try API */

.try-api {
  display: flex;
  flex-direction: column-reverse;
}

.text-intro > h1, .text-intro > .section-heading {
  font-size: 26px;
  line-height: 35px;
  display: inline-block;
  margin-top: 0;
  margin-bottom: 19px;
}

.text-intro div {
  font-size: 18px;
  line-height: 32px;
  color: #6d8290;
  margin-bottom: 42px;
}

.text-intro .button {
  width: 214px;
  height: 50px;
  font-size: 16px;
}

.try-api > .screenshot {
  background-image: url("./assets/images/trucks-and-roads.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

.screenshot > img {
  width: 98%;
  height: auto;
}

@media only screen
  and (min-width: 1366px) {
    .try-api {
      height: 792px;
      justify-content: space-between;
      align-items: center;
      flex-direction: row;
    }

    .try-api > .text-intro {
      margin-right: 10%;
      width: 34%;
    }

    .try-api > .screenshot {
      width: 37%;
      height: 633px;
    }

    .screenshot > img {
      position: absolute;
      top: 126px;
      left: 39%;
    }

    .text-intro > h1, .text-intro > .section-heading {
      font-size: 36px;
      line-height: 49px;
    }

    .text-intro > div {
      font-size: 20px;
      line-height: 36px;
    }
  }

@media only screen
  and (min-width: 768px)
  and (max-width: 1365px) {
    .try-api .text-intro {
      margin: 66px auto;
      text-align: center;
    }

    .try-api > .screenshot {
      margin: 0 0 66px 6%;
      width: 52%;
      height: 458px;
    }

    .screenshot > img {
      position: absolute;
      left: 40%;
      top: 13%;
      width: 115%;
      max-height: 70%;
      object-fit: contain;
    }
  }

@media only screen
  and (min-width: 320px)
  and (max-width: 767px) {
    .try-api .text-intro {
      margin: 60px auto;
      text-align: center;
      width: 90%;
    }

    .try-api h1, .try-api .section-heading {
      width: 70%;
    }

    .try-api > .screenshot {
      width: 84%;
      margin: 0 auto;
      margin-bottom: 70px;
      position: static;
      background: none;
    }
  }


/* Integrations */

.integrations {
  background: #F2F2F2;
  text-align: center;
}

.integrations > .heading {
  font-size: 26px;
  line-height: 35px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #000000;
}

.integrations > .description {
  font-size: 16px;
  line-height: 25px;
  color: #6d8290;
  margin: 0 auto 60px auto;
  text-align: center;
}

.logos {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  align-items: center;
}

.logos img.logo-fleetio {
  width: 183px;
}

.logos img.logo-progressive {
  width: 203px;
}

.logos img.logo-mcleod {
  width: 155px;
}

.logos img.logo-lytx {
  width: 81px;
}

.logos img.logo-dat {
  width: 124px;
}

.integrations a.button {
  width: 199px;
  height: 45px;
  background: none;
  color: #000000;
  font-size: 14px;
  line-height: 19px;
  border: 1px solid #000000;
  margin-top: 77px;
  margin: 77px 0 104px;
}

.integrations a.button:hover {
  color: #FFFFFF;
  background: #005BE2;
  border-color: #005BE2;
}

@media only screen
  and (min-width: 1366px) {
    .integrations > .heading {
      padding-top: 85px;
      font-size: 36px;
      line-height: 48px;
    }

    .integrations > .description {
      width: 50%;
      font-size: 20px;
      line-height: 37px;
    }

    .logos {
      padding: 0 156px;
    }
  }

@media only screen
  and (min-width: 768px)
  and (max-width: 1365px) {
    .integrations > .heading {
      padding-top: 66px;
    }

    .integrations > .description {
      margin: 24px 120px 40px;
    }

    .integrations > .logos {
      margin: 0 83px;
    }

    .integrations a.button {
      margin-top: 0;
    }

    .logos .logo {
      flex-grow: 1;
      flex-shrink: 0;
      flex-basis: 30%;
      margin-bottom: 40px;
    }

    .logos img.logo-fleetio {
      width: 152px;
    }

    .logos img.logo-progressive {
      width: 172px;
      padding-top: 7px;
    }

    .logos img.logo-mcleod {
      width: 128px;
    }

    .logos img.logo-lytx {
      width: 76px;
    }

    .logos img.logo-dat {
      width: 115px;
    }
  }

@media only screen
  and (min-width: 320px)
  and (max-width: 767px) {
    .integrations > .heading {
      padding-top: 40px;
    }

    .integrations > .description {
      padding: 0 20px;
    }

    .logos .logo {
      flex-grow: 1;
      flex-shrink: 0;
      flex-basis: 100%;
      margin-bottom: 40px;
    }
    .integrations a.button {
      margin-top: 10px;
      margin-bottom: 60px;
    }
  }


/* Categories */

.categories > h1, .categories > .section-heading {
  text-align: center;
  margin-bottom: 73px;
  margin-top: 86px;
}

.categories-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.categories-container > .category {
  height: 190px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  border-bottom: 1px solid #dddddd;
  border-right: 1px solid #dddddd;
}

.category > .icon {
  margin-bottom: 14px;
}

.category > .heading {
  font-size: 24px;
  line-height: 33px;
  color: #000000;
  font-weight: 600;
}

.category > a {
  color: #000000;
  text-decoration: none;
  font-size: 14px;
  line-height: 32px;
}
.category > a > span {
  color: #00b4ff
}

.category > a:hover {
  color: #005BE2;
}
.category > a:hover > span {
  color: #005BE2;
}


.categories > .show-control {
  display: none;
}

@media only screen
  and (min-width: 1366px) {
    .categories > h1, .categories > .section-heading {
      margin: 86px 0 73px;
    }

    .categories-container {
      margin: 73px 163px 105px;
    }

    .categories-container > .category {
      width: 25%;
      height: 239px;
    }

    .categories-container > .category:nth-child(4n) {
      border-right: none;
    }

    .categories-container > .category:nth-last-child(-n + 4) {
      border-bottom: none;
    }
  }

@media only screen
  and (min-width: 768px)
  and (max-width: 1365px) {
    .categories > h1, .categories > .section-heading {
      margin: 66px 0 24px;
    }

    .categories-container {
      margin: 0 1.3% 42px;
    }

    .categories-container > .category {
      width: 33.33%;
    }

    .categories-container > .category:nth-child(3n) {
      border-right: none;
    }

    .categories-container > .category:nth-last-child(-n + 3) {
      border-bottom: none;
    }

  }

@media only screen
  and (min-width: 320px)
  and (max-width: 767px) {
    .categories:not(.expanded) .category:not(.show-always) {
      display: none;
    }

    .categories.expanded .category {
      display: flex;
    }

    .categories-container > .category {
      width: 100%;
    }

    .categories.expanded .category:last-child {
      border-bottom: none;
    }

    .categories:not(.expanded) .category:nth-child(4) {
      border-bottom: none;
    }

    .categories > .show-control {
      display: block;
      margin-bottom: 70px;
      text-align: center;
      color: #4A88C2;
      font-size: 16px;
      line-height: 22px;
    }

    .categories> .show-control::after {
      content: "+ Show More";
    }

    .categories.expanded > .show-control::after {
      content: "+ Show Less";
    }
  }


/* Footer */

footer {
  background: #F2F2F2;
  color: #666666;
  font-size: 14px;
}

footer a:hover {
  color: #a4a6a8;
}

footer > .upper-row {
  height: 110px;
}

.upper-row a {
  display: block;
  color: #666666;
  text-decoration: none;
  line-height: 34px;
  margin-bottom: 12px;
}

footer > .upper-row {
  border-bottom: 2px solid #000000;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
}

.upper-row .social-icons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 84px;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 15px;
  margin-left: auto;
}

.social-icons a {
  margin-bottom: 0;
  line-height: normal;
}

.social-icons div {
  background-repeat: no-repeat;
  background-size: contain;
}

.social-icons .facebook {
  background-image: url("./assets/images/facebook.svg");
  width: 9px;
  height: 18px;
}

.social-icons .facebook:hover {
  background-image: url("./assets/images/facebook-hovered.svg");
}

.social-icons .twitter {
  background-image: url("./assets/images/twitter.svg");
  width: 18px;
  height: 15px;
}

.social-icons .twitter:hover {
  background-image: url("./assets/images/twitter-hovered.svg");
}

.social-icons .linkedin {
  background-image: url("./assets/images/linkedin.svg");
  width: 15px;
  height: 15px;
}

.social-icons .linkedin:hover {
  background-image: url("./assets/images/linkedin-hovered.svg");
}

.upper-row .support-email {
  line-height: 34px;

  color: #000000;
  font-weight: bold;
  font-style: normal;
}
.upper-row .support-email > a {
  color: #000000;
 }

.upper-row > .col:last-child {
  margin-left: auto;
}

@media only screen
  and (min-width: 1366px) {
    footer {
      padding: 48px 134px 0;
    }

    .upper-row .col {
      width: 182px;
    }

    .upper-row > .col:nth-child(2) {
      margin-left: 80px;
    }
  }

@media only screen
  and (min-width: 768px)
  and (max-width: 1365px) {
    footer {
      padding: 36px 23px 0;
    }

    .upper-row > .col:nth-child(2) {
      margin-left: 141px;
    }


  }

@media only screen
  and (min-width: 320px)
  and (max-width: 767px) {
    footer {
      padding: 43px 30px;
    }

    footer > .upper-row {
      height: auto;
    }

    .upper-row .col {
      width: 100%;
    }

    .upper-row .col:last-child {
      margin-top: 35px;
      margin-bottom: 18px;
    }

    .upper-row .social-icons {
      margin-left: 0;
    }
  }

/* Footer Lower Row */

footer > .lower-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 113px;
  align-items: center;
}

.lower-row > .copyright {
  margin-left: 19px;
}

.lower-row .legal-links {
  margin-left: 23px;
}

.legal-links > a {
  padding: 0 28px;
  border-left: 1px solid #6d8290;
  color: #6d8290;
  text-decoration: none;
}

@media only screen
  and (min-width: 320px)
  and (max-width: 767px) {
    footer > .lower-row {
      height: auto;
      align-items: initial;
      margin-top: 30px;
      flex-direction: column;
    }

    .lower-row .legal-links, .lower-row .copyright {
      margin-left: 0;
    }

    .lower-row > .copyright {
      margin-bottom: 30px;
    }

    .lower-row > .legal-links {
      display: flex;
      flex-direction: column;
      height: 68px;
      justify-content: space-between;
      line-height: 34px;
    }

    .legal-links > a {
      border-left: none;
      padding: 0;
    }

    #main-site {
      margin-bottom: 12px;
    }
  }
