
@font-face {
  font-family: 'TitilliumText22LMedium';
  src: url('../fonts/TitilliumText22L004-webfont.eot');
  src: url('../fonts/TitilliumText22L004-webfont.eot?#iefix') format('embedded-opentype'),url('../fonts/TitilliumText22L004-webfont.woff') format('woff'),url('../fonts/TitilliumText22L004-webfont.ttf') format('truetype'),url('../fonts/TitilliumText22L004-webfont.svg#TitilliumText22LMedium') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'TitilliumText22LThin';
  src: url('../fonts/TitilliumText22L001-webfont.eot');
  src: url('../fonts/TitilliumText22L001-webfont.eot?#iefix') format('embedded-opentype'),url('../fonts/TitilliumText22L001-webfont.woff') format('woff'),url('../fonts/TitilliumText22L001-webfont.ttf') format('truetype'),url('../fonts/TitilliumText22L001-webfont.svg#TitilliumText22LThin') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/TitilliumWeb-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/TitilliumWeb-Bold.ttf') format('truetype');
}

body {
  margin-top: 3%;
}

body, p, .ui-autocomplete-input, button, input, .ui-widget button, .ui-widget input {
  font-family: "TitilliumText22LMedium", "Titillium Web";
}

p.address {
  line-height: 15px;
}

.boxCompany {
  background-color: #f0f0f0;
  display: block;
  margin-bottom: 60px;
  padding: 5px;
  position: relative;
  line-height: 8px;
}

.boxImg {
  float: right;
  height: 120%;
  width: 152px;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: absolute;
  right: 22px;
  margin: -3% 0;
  top: 0;
  box-shadow: 2px 3px 8px 0 rgb(0 0 0 / 20%);
}

.imgInBox {
  vertical-align: middle;
  display: inline-block;
  width: 100%;
}

.boxCompany:hover {
  background-color: #f7f7f7;
  transition: all 0.3s ease-in-out;
}

.boxCompany p {
  font: 12px;
}

.linkImg {
  height: 14px;
  width: 14px;
  margin-top: -50px;
  margin-left: 2%;
  border-right: 1px solid #ddd;
  margin-right: 4px;

  padding-left: 10px;
  border-left: 1px solid #ddd;


  padding-right: 10px;
  float: none;
}


/*
.buttonsPages {
  display: flex;
  flex-direction: row;
}
.buttons {
  margin: 2px;
  padding: 2px;
  padding-left: 8px;
  padding-right: 8px;
  border: 1px solid;
  background-color: #f0f0f0;
  border-radius: 8px;
}
*/

.buttons a {
  text-decoration: none;
  color: black;
  font-weight: bold;
}

.buttonsPages {
  display: flex;
  justify-content: center;
  align-items: center;
}

.buttons, button {
  display: inline-block;
  margin: 0 5px;
  padding: 8px 12px;
  border: none;
  border-radius: 3px;
  background-color: #ccc;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  
  color: black;
  font-weight: bold;
}

.buttons:hover,
.buttons.active, button:hover {
  background-color: #555;
}

h3.titleCompanyName {
  line-height: 16px;
}

.boxData {
  width: 67%;
}

button#btn_reset {
  
}
.ui-widget {
  margin-bottom: 10px;
  margin-right: 10px;
}

.search {
  display: flex;
}

.ui-widget input {
  height: 35px;
  max-width: 65%;
}

.boxBelowLinkImg {
  display: flex;
}

a  {
  color: inherit;
  text-decoration: none;
}

p.descripcio {
  line-height: 14px;
}

p.activitat {
  line-height: 14px;
}

@media (max-width: 980px) {
.et_header_style_left #logo {
    max-width: 90%;
}
}

/* pop up */

.popup {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height:  -webkit-fill-available;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  visibility: hidden;
}

/*
.popup {
  display: flex;
  align-items: baseline;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  visibility: hidden;
  padding-top: 55px;
}
*/

.popup-content {
  background-color: white;
  padding: 20px;
  border-radius: 5px;
  margin: 2%;
  max-width: 60%;
  max-height: 480px;
  overflow: auto;
  width: 60%;
}

.close-btn {
  padding: 10px 20px;
  background-color: #ccc;
  border: none;
  cursor: pointer;
  margin-top: 20px;
}

.close-btn:hover {
  background-color: #999;
}

.imgInPopUp {
  max-height: 250px;
  max-width: 100%;
  display: block;
  margin: auto;
}