body {
  font-family: Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
  color: #000000;
}
* {
  box-sizing: border-box;
}

#mapwrapper {
  font-family: Arial, Helvetica, sans-serif;
  position: relative;
  overflow: hidden;
  max-width: 650px;
  margin: 20px auto;
  padding: 0 0;
  background-color: #fff;
  min-width: 220px;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
#mapbase svg {
  max-height: 100%;
  width: 100%;
  margin: 0;
}
#frjstip {
  font: 14px/16px Helvetica, Arial, sans-serif;
  display: none;
  max-width: 40%;
  padding: 15px;
  color: #404040;
  z-index: 1000;
  float: left;
  position: absolute;
  background: rgba(265, 265, 265, 1);
  word-break: keep-all;
  border: solid 1px #cecece;
}
#frjstip p {
  margin: 0!important;
  color: #404040!important;
}
#frjstip img {
  float: left;
  padding: 3px;
  max-width: 100%;
}
.jquery-modal.blocker.current{
  background:none;
}
.modal {
  box-shadow: none!important;
  border: solid 1px #cecece;
  border-radius: 0!important;
}

.map-and-details-container {
  display: flex;
  flex-wrap: wrap;
}

.rip-details-container {
  display: none;
  padding-bottom: 50px;
}

.rip-details-container.active {
  display: block
}

.rip-details-container, .map-container {
  flex: 0 0 100%;
  max-width: 100%;
}

.rip-details-container.active, .map-container.with-details {
  flex: 0 0 100%;
  max-width: 100%;
}

.fai-slick .slick-prev.slick-arrow.slick-disabled svg path, .fai-slick .slick-next.slick-arrow.slick-disabled svg path {
  stroke: #e8e8e8 !important;
}

.details-main-fai-img, .details-pro-fai-img {
  max-height: 50px;
  padding-left: 8px;
  padding-right: 8px;
}

#input-postal-code-container {
  width: 300px;
  margin: auto;
}

#input-postal-code {
  background-color: #E8E8E8;
  border: none;
  outline: none;
}

#postal-codes-results {
  width: 300px;
  margin: auto;
  background-color: #161615;
  color: white;
  font-size: 14px;
}

.search_city_result {
  padding: 5px 10px;
}

.search_city_result a {
  color: white;
}

.search_city_result a:hover {
  color: #53AA72;
}

.search_city_result p {
  margin: 0;
}

.details-title {
  margin-top: 25px;
  font-size: 32px;
  max-width: 350px;
  line-height: 35px;
  font-family: 'Branding', sans-serif;
  font-weight: 600;
}

.details-title a {
  color: #53AA72;
}

.details-logo-rip {
  max-width: 250px;
  max-height: 125px;
}

.details-separator {
  width: 35px;
  height: 1px;
  background-color: #161615;
  margin: 20px 0;
}

.rip-details-container {
  padding-left: 40px;
}

@media screen and (max-width: 768px){
  .rip-details-container {
    padding-left: 0;
  }
}

.rip-details-container p {
  max-width: 400px;
}

.details-btn {
  background-color: #53AA72;
  color: white;
  padding: 8px 15px;
  margin-bottom: 20px;
}

.details-btn:hover {
  background-color: #41895b;
  color: white;
}

.slick-arrow:before {
  display: none;
}

.slick-track {
  display: flex;
  align-items: center;
}

.slick-prev {
  left: -30px;
}

.slick-next {
  right: -30px;
}

.slick-arrow {
  width: 17px;
  height: 35px;
}

.slick-slider {
  margin: 0 30px;
  margin-bottom: 50px;
}

.slick-slider, .slick-slide {
  width: 350px;
  max-width: calc(100% - 60px);
}

.details-main-ocen-img-container {
  display: flex;
  align-items: center;
}

.details-main-ocen-img-container img {
    max-width: 90px;
    max-height: 30px;
}

.details-pro-fai-img-container img {
    max-width: 100%;
    max-height: 30px;
    margin: auto;
    margin-bottom: 10px;
}

@media screen and (max-width: 320px){
  #mapbase svg {
    height:300px;
  }
}
@media screen and (max-width: 400px) and (min-width: 321px) {
  #mapbase svg {
    height:340px;
  }
}
@media screen and (max-width: 480px) and (min-width: 401px) {
  #mapbase svg {
    height:410px;
  }
}
@media screen and (max-width: 568px) and (min-width: 481px) {
  #mapbase svg {
    height:420px;
  }
}
@media screen and (max-width: 685px) and (min-width: 569px) {
  #mapbase svg {
    height:430px;
  }
}
@media screen and (max-width: 767px) and (min-width: 686px) {
  #mapbase svg {
    height:450px;
  }
}
@media screen and (min-width: 768px) {
  #mapbase svg {
    height:630px;
    padding: 10px;
    position: static;
    width: 100%;
  }

  .rip-details-container.active, .map-container.with-details {
    flex: 0 0 50%;
    max-width: 50%;
  }
}
