.showroom.reda {
  float: left;
  width: 30%;
  font-size: 120%;
  border: 1px solid #ccc;
  padding: 6px;
  order: 0;
}

.showroom.gdynia {
  float: left;
  width: 30%;
  font-size: 120%;
  border: 1px solid #ccc;
  padding: 6px;
  margin-left: 5px;
  order: 1;
}

.showroom.serwis {
  float: right;
  width: 30%;
  font-size: 120%;
  border: 1px solid #ccc;
  padding: 6px;
  margin-left: 5px;
  order: 2;
}

.pg-kontakt-mapa {
  width: 100%;
  height: 500px;
  position: relative;
  overflow: hidden;
}

.company-info>ul {
  border-bottom: 1px solid #c5c5c5;
}

.company-info>ul>li {
  list-style-type: none;
}

.person>ul>li>i {
  font-size: 1.4em;
  letter-spacing: 3px;
}

#contact_details>div>ul {
  list-style-type: none;
  margin: 1em 0;
}

#contact_details {
  width: 70%;
}

.contact-form {
  max-width: 70%;
}

div#contact_details div.person {
  margin: 3px;
  border: 1px solid #e1e1e1;
  float: left;
}

@media only screen and (min-width: 1270px) {
  div#contact_details div.person {
    width: 223px;
    height: 175px;
  }
}

@media only screen and (min-width: 1px) {
  div#contact_details div.person {
    width: 256px;
    height: 170px;
  }
}

/***KONTAKT***/
div.contacts div#panel_map div.departments {
  display: flex;
}

div.contacts div#panel_map div.showroom {
  margin-bottom: 15px;
  text-align: center;
  flex: 1;
}

div.contacts div#panel_map div.showroom p,
div.contacts div#panel_map div.showroom ul {
  margin: 5px 0;
  padding: 0;
}

div.contacts div#panel_map div.showroom.reda {
  float: left;
  list-style-type: none;
  width: 30%;
  font-size: 120%;
  border: 1px solid #ccc;
  padding: 6px;
  order: 0;
}

div.contacts div#panel_map div.showroom.gdynia {
  float: left;
  width: 30%;
  font-size: 120%;
  border: 1px solid #ccc;
  padding: 6px;
  margin-left: 5px;
  order: 1;
}

div.contacts div#panel_map div.showroom.serwis {
  float: right;
  width: 30%;
  font-size: 120%;
  border: 1px solid #ccc;
  padding: 6px;
  margin-left: 5px;
  order: 2;
}

form#contactForm {
  float: left;
  width: 70%;
}

div.company-info {
  width: 25%;
  float: right;
}

div.company-info ul {
  padding: 0 0 0 30px;
}

div#contact_details div.person {
  margin: 3px;
  border: 1px solid #e1e1e1;
  float: left;
}

div#contact_details ul {
  padding-left: 10px;
}

div#contact_details ul li {
  line-height: 2.5em;
}

div#contact_details ul li.region {
  font-weight: 700;
  line-height: 1.1em;
  margin-bottom: 10px;
}

div#contact_details ul li.person {
  background-repeat: no-repeat;
  background-position: 0% 50%;
  line-height: 1.8em;
}

div#contact_details ul li.position {
  display: inline-block;
  line-height: 1.1em;
  margin-bottom: 6px;
}

div#contact_details ul li.email {
  background-repeat: no-repeat;
  background-position: 0% 50%;
}

div#contact_details ul li.phone {
  background-repeat: no-repeat;
  background-position: 0% 50%;
}

.column.main {
  width: 80%!important;
  margin-right: auto;
  margin-left: auto;
  margin-top: 10px;
}

.departments {
  display: flex;
}
div.person ul li {
  height: 33px;
}
div.person ul li p, .mobile p, .mobile a, .email a {
  display: inline-block;
  vertical-align: super;
}
div.person .fas:before {
  background-color: black;
  width: 25px;
}
.fa-user-tie:before {
  -webkit-mask: url('../images/user-tie-solid.svg') no-repeat 50% 50%;
  mask: url('../images/user-tie-solid.svg') no-repeat 50% 50%;
}

.fa-mobile-alt:before {
  -webkit-mask: url('../images/phone-volume-solid.svg') no-repeat 50% 50%;
  mask: url('../images/phone-volume-solid.svg') no-repeat 50% 50%;
}
@media screen and (max-width: 768px) {
  div.company-info {
    width: 100%;
    margin-top: 40px;
  }

  .oddzialy {
    display: grid;
  }

  #company-buildings {
    width: 100vw!important;
  }

  .departments {
    display: block;
  }
  
  .departments>div {
    width: 100%!important;
    margin-left: 0!important;
    margin-left: 0!important;
  }

  .departments>div>ul {
    list-style-type: none;
  }

  .contact-form {
    max-width: 100%;
    margin-top: 20px;
    text-align: -webkit-center;
  }

  #contact_details {
    width: auto;
  }

  #contact_details>div {
    width:100%!important;
  }

  .mpgooglemaps_review_map>iframe {
    border: 0;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
  }
  div.person ul {
    text-align: -webkit-left;
    float: left;
  }
}