﻿#map {
  height: 100%;
}

/* Optional: Makes the sample page fill the window. */
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

.trans,
.trans:before,
.trans:after,
.trans *,
.trans *:before,
.trans *:after {
  -webkit-transition: all 1s cubic-bezier(.42, .97, .52, 1.49);
  -moz-transition: all 1s cubic-bezier(.42, .97, .52, 1.49);
  -o-transition: all 1s cubic-bezier(.42, .97, .52, 1.49);
  transition: all 1s cubic-bezier(.42, .97, .52, 1.49);
}

.displayLogo {
  content: "";
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: 10;
  background: url(https://canigetfibre.co.za/favicon.png);
  background-size: cover;
  width: 50px;
  height: 50px;
}

.addressForm {
  width: 0;
  position: fixed;
  height: 50px;
  padding-left: 35px;
  z-index: 8;
  overflow: hidden;
}

.addressForm input[type=button] {
  border: none;
  padding: 5px;
  background: #189bd2;
  font-size: 22px;
  position: absolute;
  margin-top: 4px;
  color: white;
  cursor: pointer;
  margin-left: -1px;
  height: 42px;
}

.addressForm input[type=text] {
  padding: 0;
  width: 0;
  padding-top: 5px;
  padding-bottom: 5px;
  margin-top: 4px;
  border: none;
  font-size: 20px;
  border: 3px solid #189bd2;
  height: 26px;
  color: #189bd2;
}

.searchVehicle {
  background: #000428;
  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #004e92, #000428);
  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #004e92, #000428);
  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 7;
  opacity: 0.96;
  top: -100%;
}

.welcomeBanner .searchVehicle {
  top: 0;
}

.searchLight {
  position: fixed;
  top: -100%;
  left: 50%;
  margin-top: -75px;
  margin-left: -300px;
  width: 600px;
  height: 150px;
  text-align: center;
  opacity: 0;
}

.welcomeBanner .searchLight {
  top: 50%;
  opacity: 1;
}

.wonderPaste {
  color: #189bd2;
  font-size: 50px;
}

.logo.activated .addressForm {
  width: 100%;
}

.logo.activated .addressForm input[type=text] {
  padding: 5px;
  padding-left: 15px;
  width: calc(100% - 100px);
  max-width: 280px;
}

@media screen and (min-width: 480px) {
  /*.logo:hover .addressForm {
    width: 100%;
  }*/
  .logo.activated .addressForm input[type=text]

  /*,
  .logo:hover .addressForm input[type=text]*/
    {
    padding: 5px;
    padding-left: 15px;
    width: calc(100% - 100px);
    max-width: 280px;
  }

  .addressForm {
    height: 100px;
  }

  .displayLogo {
    width: 100px;
    height: 100px;
  }

  .addressForm input[type=text] {
    margin-top: 28.5px;
  }

  .logo.activated .addressForm input[type=text]

  /*,
  .logo:hover .addressForm input[type=text]*/
    {
    padding-left: 60px;
    width: 280px;
  }

  .addressForm input[type=button] {
    margin-top: 29px;
  }

  /*.logo:hover .displayLogo {
    transform: rotate(-150deg);
  }*/
}

.logo.activated .displayLogo {
  transform: rotate(-150deg);
}


*,
*:after,
*:before {
  font-family: 'Quicksand', sans-serif;
}


.formElement {
  display: block;
  position: relative;
  width: 300px;
  padding: 0;
  text-align: left;
  margin: 0 auto;
  margin-top: 15px;
}

.formElement input {
  box-sizing: content-box;
  height: 30px;
  text-decoration: none solid rgba(0, 0, 0, 0.870588);
  background: none;
  border-top: 0px none rgba(0, 0, 0, 0.870588);
  border-right: 0px none rgba(0, 0, 0, 0.870588);
  border-bottom: 1px solid rgb(158, 158, 158);
  border-left: 0px none rgba(0, 0, 0, 0.870588);
  margin: 0px 0px 0px;
  outline: rgba(0, 0, 0, 0.870588) none 0px;
  padding: 0px;
  padding-left: 2px;
  width: 100%;
  color: white;
}

.formElement label {
  bottom: 32px;
  box-sizing: border-box;
  color: rgb(158, 158, 158);
  cursor: text;
  display: block;
  height: 22px;
  left: 2px;
  position: absolute;
  text-decoration: none solid rgb(158, 158, 158);
  top: 4px;
  width: 100%;
  column-rule-color: rgb(158, 158, 158);
  perspective-origin: 36.2656px 11px;
  transform-origin: 36.2656px 11px;
  border: 0px none rgb(158, 158, 158);
  outline: rgb(158, 158, 158) none 0px;
}

.formElement.focused label,
.formElement.textin label {
  font-size: .8rem;
  -webkit-transform: translateY(-70%);
  transform: translateY(-70%);
  left: 0;
  color: #189bd2;
}

.formElement.focused input,
.formElement.textin input {
  border-bottom-color: #189bd2;
}

.formElement:after {
  content: "";
  width: 302px;
  height: 0px;
  background: #189bd2;
  position: absolute;
  display: block;
}

.formElement.focused:after {
  height: 3px;
}

.formElement a {
  width: 100%;
  outline: 0;
  cursor: pointer;
  display: block;
  overflow: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  vertical-align: middle;
  z-index: 1;
  transition: .3s ease-out;
  text-decoration: none;
  color: #fff;
  background-color: #189bd2;
  text-align: center;
  letter-spacing: .5px;
  transition: .2s ease-out;
  cursor: pointer;
  font-size: 1rem;
  border: none;
  opacity: 1;
  height: 36px;
  line-height: 36px;
  text-transform: uppercase;
  vertical-align: middle;
  -webkit-tap-highlight-color: transparent;
  box-sizing: inherit;
}

.formElement a:hover {
  box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.14), 0 1px 7px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -1px rgba(0, 0, 0, 0.2);
}

.hidden {
  opacity: 0;
  height: 0;
}

a[title="Click to see this area on Google Maps"] {
  display: none !important;
}

#results-tab {
  top: -100%;
  right: 0;
  bottom: 150%;
  position: fixed;
  z-index: 6;
  width: 400px;
  background: #FFFFFF;
  box-shadow: rgb(0 0 0 / 35%) 0px 5px 15px;
}

#results-tab.active {
  top: 0;
}

#results-tab.active2 {
  bottom: 0;
}

#results-tab .res-title {
  width: 100%;
  text-align: center;
  background-color: #189bd2;
  color: #FFFFFF;
  font-size: 50px;
  height: 63px;
}

#results-tab #results-list {
  width: 100%;
  overflow-y: scroll;
  height: calc(100% - 65px);
}

#results-tab #results-list>div:not(.rescontainer) {
  width: calc(90% - 30px);
  margin: 5%;
  border-radius: 10px;
  display: block;
  text-align: center;
  box-shadow: rgb(0 0 0 / 16%) 0px 1px 4px;
  padding: 15px;
}

#results-tab #results-list>.rescontainer {
  padding-top: 50%;
}

#results-tab #results-list>.rescontainer>.resloader {
  width: 160px;
  height: 160px;
  margin: 0 auto;
  margin-top: 20px;
  border-radius: 50%;
  padding-top: 10px;
  padding-left: 10px;
  display: block;
  text-align: center;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.loader {
  border: 16px solid #f3f3f3;
  /* Light grey */
  border-top: 16px solid #189bd2;
  /* Blue */
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@media (max-width: 800px) {
  #searchForm.activated #displayLogo {
    display: none;
  }

  #searchForm.activated #addressText {
    top: 58px;
    left: 0;
    right: 0;
    position: fixed;
    width: calc(100% - 16px);
    max-width: calc(100% - 16px);
    padding: 5px;
  }
  #searchForm:not(.activated2) #addressText {
    top: -100px;
  }

  #results-tab {
    width: 100%;
  }

  #results-tab.active2 #results-list {
    margin-top: 40px;
  }
}

/* Ignore Google Elements */

/*.gmnoprint {
  display: none;
}

.gm-fullscreen-control {
  display: none;
}*/