@font-face {
  font-family: "Material Icons";
  font-style: normal;
  font-weight: 400;
  src: url("fonts/MaterialIcons-Regular.ttf") format("truetype");
}
.material-icons {
  font-family: "Material Icons";
  font-weight: normal;
  font-style: normal;
  font-size: 24px; /* Preferred icon size */
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;

  /* Support for all WebKit browsers. */
  -webkit-font-smoothing: antialiased;
  /* Support for Safari and Chrome. */
  text-rendering: optimizeLegibility;

  /* Support for Firefox. */
  -moz-osx-font-smoothing: grayscale;

  /* Support for IE. */
  font-feature-settings: "liga";
}

body {
  background: #e2e1e0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: 100px;
}
.green-bg {
  background: #0fa551;
}
.white_bg {
  background: #ffffff;
}
.deep-green-bg {
  background: #087739;
}
.opaque-overlay {
  /* background:
    linear-gradient(to bottom,
    rgba(4, 127, 58, 0.65) 59%,
    rgba(4, 127, 58, 0.65) 100%),
    url('https://placeimg.com/1920/1080/arch') no-repeat; */
  background-size: cover;
}
.tp_card_main {
  text-align: center;
  margin: 10px 0 10px 0;
  overflow: hidden;
  padding: 15px 0 15px 0;
}
.card-1 {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.card-1:hover {
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

img.tp_logo {
  width: 100px;
}
.main_parent_card {
  width: 150px;
  min-height: 150px;
  text-align: center;
  float: left;
}
.tp_title {
  margin-top: 10px;
  font-size: 14px;
}
/* form starting stylings ------------------------------- */
.group {
  position: relative;
  margin-bottom: 45px;
}
input {
  padding: 10px 10px 10px 5px;
  display: block;
  width: 100%;
  border: none;
  border-bottom: 1px solid #757575;
}
input:focus {
  outline: none;
}

/* LABEL ======================================= */
.labels {
  color: #999;
  font-size: 18px;
  font-weight: normal;
  position: absolute;
  pointer-events: none;
  left: 5px;
  top: 10px;
  transition: 0.2s ease all;
  -moz-transition: 0.2s ease all;
  -webkit-transition: 0.2s ease all;
}

/* active state */
input:focus ~ label,
input:valid ~ label {
  top: -20px;
  font-size: 14px;
  color: #5264ae;
}

/* BOTTOM BARS ================================= */
.bar {
  position: relative;
  display: block;
  width: 100%;
}
.bar:before,
.bar:after {
  content: "";
  height: 2px;
  width: 0;
  bottom: 1px;
  position: absolute;
  background: #5264ae;
  transition: 0.2s ease all;
  -moz-transition: 0.2s ease all;
  -webkit-transition: 0.2s ease all;
}
.bar:before {
  left: 50%;
}
.bar:after {
  right: 50%;
}

/* active state */
input:focus ~ .bar:before,
input:focus ~ .bar:after {
  width: 50%;
}

/* HIGHLIGHTER ================================== */
.highlight {
  position: absolute;
  height: 60%;
  width: 100px;
  top: 25%;
  left: 0;
  pointer-events: none;
  opacity: 0.5;
}

/* active state */
input:focus ~ .highlight {
  -webkit-animation: inputHighlighter 0.3s ease;
  -moz-animation: inputHighlighter 0.3s ease;
  animation: inputHighlighter 0.3s ease;
}

/* ANIMATIONS ================ */
@-webkit-keyframes inputHighlighter {
  from {
    background: #5264ae;
  }
  to {
    width: 0;
    background: transparent;
  }
}
@-moz-keyframes inputHighlighter {
  from {
    background: #5264ae;
  }
  to {
    width: 0;
    background: transparent;
  }
}
@keyframes inputHighlighter {
  from {
    background: #5264ae;
  }
  to {
    width: 0;
    background: transparent;
  }
}
.input_boxes_holder {
  overflow: hidden;
  padding: 0;
  background: white;
  border-radius: 5px 5px 0px 0px;
}

.btn_vk_calc {
  border: none;
  color: white;
  padding: 10px;
  cursor: pointer;
}

.result_card {
  height: 80px;
  padding: 15px;
  background: white;
  margin-bottom: 5px;
  border-radius: 10px;
}

/* Always set the map height explicitly to define the size of the div
 * element that contains the map. */

/* Optional: Makes the sample page fill the window. */
.controls {
  margin-top: 10px;
  border: 1px solid transparent;
  border-radius: 2px 0 0 2px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  height: 32px;
  outline: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

#origin-input,
#destination-input {
  background-color: #fff;
  font-family: Roboto;
  font-size: 15px;
  font-weight: 300;
  padding: 0 11px 0 13px;
  text-overflow: ellipsis;
  width: 97%;
}

#origin-input:focus,
#destination-input:focus {
  border-color: #4d90fe;
}

#destination-input {
  z-index: 99 !important;
  position: absolute !important;
  top: 55px !important;
  height: 50px !important;
  left: 5px !important;
}
#origin-input {
  z-index: 99 !important;
  position: absolute !important;
  height: 50px !important;
  left: 5px !important;
}
#mode-selector {
  color: #fff;
  background-color: #4d90fe;
  margin-left: 12px;
  padding: 5px 11px 0px 11px;
  z-index: 99;
  position: absolute;
  height: 50px;
}

#mode-selector label {
  font-family: Roboto;
  font-size: 13px;
  font-weight: 300;
}
#map {
  height: 400px;
}
a {
  color: #000000;
  text-decoration: none !important;
}
.selected_service {
  background: url("/img/city_bg.png");
}
.selected_service_info {
  background: white;
  backdrop-filter: blur(7px);
  margin: 10px;
  padding: 10px;
  text-align: center;
}
.result_card .float-end {
  text-align: right;
}
.topbarlink:hover {
  text-decoration: none;
}
.topbarlink {
  text-decoration: none;
  line-height: 1.56;
}
