#floating-contact {
  position: fixed;
  right: 25px;
  bottom: 0;
}

#floating-contact a {
  text-decoration: none;
  color: #fff;
  padding: 12px 25px 10px;
  background-color: #343435;
  display: inline-block;
  border-radius: 18px 18px 0 0;
  -webkit-transition: all 0.15s ease 0s;
  transition: all 0.15s ease 0s;
}

#floating-contact a:hover {
  background-color: #379CF0;
}

#floating-contact a span {
  text-transform: uppercase;
  font-family: "Texta Narrow";
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 1px;
}

.wpmui-popup .wdpu-text {
  width: 100%;
  margin: 0;
}

.wpmui-popup .wdpu-text h3 {
  /* font-family: "Newslab"; */
  font-family: 'value-black';
  font-size: 40px;
  font-weight: 900;
  line-height: 1.235;
  margin: 25px 0;
  text-transform: uppercase;
}

.wpmui-popup .wdpu-text a {
  text-decoration: none;
}

.wpmui-popup .wdpu-text a:hover {
  color: #343435;
}

.wpmui-popup .wdpu-text a.yhteystiedot-button {
  margin: 30px 0;
  display: inline-block;
  color: #379CF0;
  border: 2px solid #379CF0;
  text-decoration: none;
  text-transform: uppercase;
  box-sizing: border-box;
  font-family: "Texta Narrow";
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  padding: 17px;
}

.wpmui-popup .wdpu-text a.yhteystiedot-button:hover {
  background-color: #379CF0;
  color: #fff;
}

.wpmui-popup a.wdpu-close::before {
  color: #379CF0;
}

.wpmui-popup a.wdpu-close:hover::before {
  color: #343435;
}

/* MEDIAPANKKI */
.new-fixed-menu ul.sub-menu {
  display: none;
  padding: 0;
  margin: 0;
  position: absolute;
  top: 100%;
  background-color: #379CF0;
  min-width: 120px;
  max-width: 200px;
  text-align: center;
  opacity: 1;
}

.new-fixed-menu ul.sub-menu li {
  width: 100%;
  padding: 0;
}

.new-fixed-menu li.menu-item-has-children:hover>ul.sub-menu {
  display: block;
}

.wysiwyg iframe {
  max-width: 100%;
  min-height: 349px;
  width: 100%;
  height: auto;
}

@media only screen and (max-width: 620px) {
  .mediapankki-wrapper {
    padding: 0 25px;
  }

  .mediapankki-item {
    width: 100%;
    display: inline-block;
    text-align: center;
    margin: 0 0 25px;
  }
}

/* XCHANGE */
body.postid-1812 .more-button.project-list {
  display: none;
}

#gform_wrapper_4 .gform_body .gfield_label {
  display: block;
  font-size: 85%;
  text-transform: uppercase;
}

#gform_wrapper_4 .gform_body .validation_message {
  color: #379CF0;
  font-size: 85%;
}

#gform_wrapper_4 .gform_body input {
  padding: 8px 16px;
  width: calc(100% - 34px);
  color: #343435;
  border: 1px solid #343435;
}

#gform_wrapper_4 .gform_body .gfield_error input {
  border-color: #379CF0;
}

#gform_wrapper_4 #gform_submit_button_4 {
  background-color: #379CF0;
  color: #fff;
  margin: 25px 0;
  padding: 20px 0;
}

#gform_wrapper_4 #gform_submit_button_4:hover {
  background-color: #000;
}

#gform_wrapper_4 #gform_confirmation_message_4 {
  color: #379CF0;
}

/* REKRYOPAS */
#gform_wrapper_5 h3 {
  font-size: 28px;
  hyphens: auto;
  text-align: center;
}

#gform_wrapper_5 input {
  color: #343435;
  border: 1px solid #343435;
  padding: 7px 10px;
  width: calc(100% - 22px);
}

#gform_wrapper_5 input::-webkit-input-placeholder {
  color: #343435;
  opacity: .5;
}

#gform_wrapper_5 input:-moz-placeholder {
  color: #343435;
  opacity: .5;
}

#gform_wrapper_5 input::-moz-placeholder {
  color: #343435;
  opacity: .5;
}

#gform_wrapper_5 input:-ms-input-placeholder {
  color: #343435;
  opacity: .5;
}

#gform_wrapper_5 #gform_submit_button_5 {
  margin: 20px auto 0;
  width: 250px;
  padding: 15px;
  font-size: 16px;
  color: #fff;
  background-color: #379CF0;
  border: 0;
}

#gform_wrapper_5 #gform_submit_button_5:hover {
  background-color: #343435;
}

#gform_wrapper_5 .gform_footer {
  margin: 0;
}

#gform_wrapper_5 li.gfield_error .validation_message {
  color: #379CF0;
  margin-top: 10px;
}

#gform_confirmation_wrapper_5 #gforms_confirmation_message_5 {
  text-align: center;
  padding: 120px 0;
  font-size: 16px;
}

/* SEARCH FORM */
.search-row {
  padding: 70px 0;
}

.search-row form {
  display: flex;
  margin: 0;
  justify-content: center;
}

.search-row form input,
.search-row form button {
  border-radius: 2px;
}

.search-row form input {
  color: #343435;
  border: 1px solid #000;
  max-width: 70%;
  padding: 8px 12px;
}

.search-row form button {
  max-width: 20%;
  margin-left: 10px;
  text-transform: uppercase;
  background-color: #379CF0;
  border: none;
  padding: 0 20px;
  color: #fff;
}

.search-row form button:hover {
  background-color: #343435;
}

.search-row form button span::before {
  font-family: FontAwesome;
  content: "\f002";
  margin-right: 10px;
}

.search-row form input::-webkit-input-placeholder {
  color: #999;
}

.search-row form input:-moz-placeholder {
  color: #999;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  filter: alpha(opacity=100);
  opacity: 1;
}

.search-row form input::-moz-placeholder {
  color: #999;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  filter: alpha(opacity=100);
  opacity: 1;
}

.search-row form input:-ms-input-placeholder {
  color: #999;
}

.search-title h2 {
  margin-bottom: 10px;
}

@media screen and (max-width: 767px) {
  .search-row form button {
    max-width: 30%;
  }

  .search-row form button span {
    font-size: 0;
  }

  .search-row form button span::before {
    font-size: 14pt;
    margin: 0;
  }
}

/* LIST: TOIMIPAIKAT */
#new-contact-results>.row,
#new-contact-results-persons .col-18,
#new-contact-results #tp-hidden>.row {
  margin-bottom: 20px;
  border-bottom: 1px solid #f1f1f1;
}

#new-contact-results .col-12 {
  margin-bottom: 20px;
}

#new-contact-results .map-container {
  height: 250px;
  border: 1px solid #343435;
  border-radius: 2px;
  background-color: #fafafa;
}

#new-contact-results h2 {
  margin-top: 0;
  /* font-family: "Newslab"; */
  font-family: 'value-black';
  text-transform: uppercase;
  hyphens: auto;
}

#new-contact-results ul {
  list-style: none;
  margin: 0 0 25px;
  padding: 0;
}

#new-contact-results ul li {
  margin: 10px 0;
  position: relative;
  padding-left: 40px;
}

#new-contact-results ul li::before {
  position: absolute;
  left: 0;
  font-family: FontAwesome;
}

#new-contact-results ul li.office-address::before {
  content: "\f041";
}

#new-contact-results ul li.office-phone::before {
  content: "\f095";
}

#new-contact-results ul li.office-email::before {
  content: "\f1d9";
}

#new-contact-results ul li a {
  color: #379CF0;
  text-decoration: none;
}

#new-contact-results ul li a:hover {
  text-decoration: underline;
}

#new-contact-results .nothing-found {
  margin-bottom: 20px;
}

#new-contact-results #tp-hidden {
  display: none;
  margin-bottom: 0;
  border: 0;
}

#new-contact-results #tp-show-more {
  border: 0;
  margin-bottom: 70px;
}

#new-contact-results #tp-show-more>div {
  padding-top: 40px;
  text-align: center;
}

#new-contact-results #tp-show-more a {
  background-color: #379CF0;
  text-decoration: none;
  text-transform: uppercase;
  color: #fff;
  padding: 16px 32px;
  display: inline-block;
}

#new-contact-results #tp-show-more a:hover {
  background-color: #343435;
}

#new-contact-results #tp-show-more a span::after {
  font-family: FontAwesome;
  content: "\f054";
  margin-left: 10px;
}

/* TOIMIPAIKAT SIDEBAR */
#contact-sidebar {
  margin-bottom: 20px;
  display: none;
}

#contact-sidebar .inner .content {
  padding: 15px 10px;
  text-align: center;
  border: 1px solid #000;
  border-radius: 2px;
  background-color: #fff;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  display: inline-block;
}

#contact-sidebar .inner h5 {
  text-transform: uppercase;
  margin: 0 0 10px;
  /* font-family: "Newslab"; */
  font-family: 'value-black';
  font-size: 13pt;
  hyphens: auto;
}

#contact-sidebar .inner i {
  margin-bottom: 10px;
}

#contact-sidebar .inner a {
  text-decoration: none;
  color: #379CF0;
}

#contact-sidebar .inner a:hover {
  text-decoration: underline;
}

@media screen and (min-width: 992px) {
  #contact-sidebar {
    display: inline-block;
  }

  #contact-sidebar .stuck {
    position: fixed;
    top: 91px;
  }
}

/* NAVIGATION */
.contact-nav {
  background-color: #fafafa;
  margin-top: 70px;
  border-bottom: 1px solid #f1f1f1;
}

.contact-nav .container {
  position: relative;
}

.contact-nav .container::after {
  content: "";
  height: 40px;
  width: 2px;
  background-color: #000;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.contact-nav .container>div {
  text-align: center;
}

.contact-nav .nav-item {
  /* font-family: "Newslab"; */
  font-family: 'value-black';
  font-size: 26pt;
  text-transform: uppercase;
  color: #000;
  text-decoration: none;
  position: relative;
  margin: 50px 0;
  display: inline-block;
}

.contact-nav .nav-item:hover,
.contact-nav .nav-item.active {
  color: #379CF0;
}

@media screen and (max-width: 767px) {
  .contact-nav .container::after {
    height: 0;
    width: 0;
    background-color: initial;
    position: initial;
    left: auto;
    top: auto;
    transform: none;
  }

  .contact-nav .container>div {
    margin: 0;
    width: 50%;
  }

  .contact-nav .nav-item {
    font-size: 14pt;
    margin: 0;
    padding: 30px 0;
    width: 100%;
  }

  .contact-nav .nav-item:hover,
  .contact-nav .nav-item.active {
    background-color: #379CF0;
    color: #fff;
  }
}

@media screen and (max-width: 540px) {
  .contact-nav .nav-item {
    font-size: 10pt;
  }
}

/* LIST: PERSONS */
.custom-lead {
  text-align: center;
  margin-top: 20px;
  font-size: 12pt;
  font-weight: 300;
  background-color: #fafafa;
  padding: 20px;
  border: 1px solid #f1f1f1;
}

.custom-lead span::before {
  font-family: FontAwesome;
  content: "\f05a";
  margin-right: 6px;
}

#new-contact-results-persons h2 {
  margin-top: 0;
  /* font-family: "Newslab"; */
  font-family: 'value-black';
  text-transform: uppercase;
  hyphens: auto;
}

#new-contact-results-persons .col-8 {
  padding: 20px;
  margin-bottom: 20px;
}

#new-contact-results-persons ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#new-contact-results-persons ul li {
  color: #3d3d3d;
  font-size: 14pt;
  font-weight: 400;
  font-style: normal;
  font-family: "Texta Narrow";
  line-height: 1.2;
  position: relative;
}

#new-contact-results-persons ul li.person-name {
  margin-bottom: 10px;
  font-weight: bold;
}

#new-contact-results-persons ul li.person-location span::before {
  content: ", ";
}

#new-contact-results-persons ul li.person-location span:first-child::before {
  content: normal;
}

#new-contact-results-persons ul li.person-business {
  hyphens: auto;
}

#new-contact-results-persons ul li a {
  color: #379CF0;
  text-decoration: none;
}

#new-contact-results-persons ul li a:hover {
  text-decoration: underline;
}

#new-contact-results-persons .nothing-found {
  margin-bottom: 20px;
}

#new-contact-results-persons .avatar-holder {
  margin-bottom: 20px;
}

#new-contact-results-persons .avatar-holder .avatar-center {
  width: 140px;
  margin: 0;
}

#new-contact-results-persons .show-more-link {
  display: inline-block;
  margin-top: 50px;
}

#new-contact-results-persons .show-more-link:hover {
  cursor: pointer;
}

#new-contact-results-persons .show-more-link .fa-circle::before {
  color: #343435;
}

#new-contact-results-persons .show-more-link:hover .fa-circle::before,
#new-contact-results-persons .show-more-link.opened .fa-circle::before {
  color: #379CF0;
}

#new-contact-results-persons .show-more {
  margin-bottom: 20px;
  padding: 10px 0;
  background-color: #fafafa;
  border-top: 1px solid #f2f2f2;
  border-bottom: 1px solid #f2f2f2;
  display: none;
}

@media screen and (max-width: 767px) {
  #new-contact-results-persons .cp-link {
    text-align: center;
  }

  #new-contact-results-persons .cp-link .show-more-link {
    margin: 0 0 50px;
  }
}

/* FOOTER FIX */
footer.main.margin-top-none {
  border-top: 0;
  margin-top: 0;
}

footer .call-pricing {
  font-size: 10pt;
  text-align: center;
}
