.path-exhibitors-preview,
.path-exhibitors {
  background-color: #F1F3F5;
  background-image: url(./../src/images/pattern-triangles-light-blue.png);
  background-position: top right;
  background-size: contain;
  background-size: 1030px;
  background-repeat: no-repeat;
}

#edit-field-exhibitor-category-value--wrapper .fieldset-legend {
  position: relative;
}

.view-id-exhibitors {
  padding: 0;
  margin-top: 0rem;
}
.view-id-exhibitors .form-group {
  margin-bottom: 1rem;
}

.view-id-exhibitors>.view-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.path-exhibitors-preview .main-container,
.path-exhibitors .main-container {
  background: transparent;
}

.view-id-exhibitors .views-row {
  margin: 6px 4px;
  position: relative;
  background-color: #fff;
  width: 382px;
  height: 382px;
  border-radius: 7px;
  transition: 0.5s ease;
}




.view-id-exhibitors .views-row:hover {
  box-shadow: 2px 2px 30px #00000012;
  transition: 0.5s ease;
}
.view-id-exhibitors .views-row:hover .bg-img {
  opacity: 0;
  transition: 0.5s ease;

}
.view-id-exhibitors .views-row .bg-img {
  opacity:1;
  transition: 0.5s ease;

}
.view-id-exhibitors .description {
  display: flex;
  justify-content: center;
  position: absolute;
  width: 100%;
  height: 100%;
  /* background: red; */
  padding: 30px;
  transition: 1s ease;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.view-id-exhibitors .description p{
  height: 130px;
  overflow: hidden;
}
.view-id-exhibitors .views-row .description a.view-details {
  margin-top: 14px;
}

.view-id-exhibitors .box >a {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  /* background: red; */
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 62px 23px 20px 23px;
}

.view-id-exhibitors .views-row .description h1 {
  transform: translateY(100px);
  transition: 0.5s ease;
  opacity: 0;
}

.view-id-exhibitors .views-row .description a,
.view-id-exhibitors .views-row .description p {
  transform: translateY(100px);
  transition: 0.5s ease;
  opacity: 0;
}

.view-id-exhibitors .views-row span img {
  margin: 0px auto;
  top: 50%;
  transform: translate3d(-50%, -50%, 0);
  position: absolute;
  left: 50%;
}

.view-id-exhibitors .views-row .category {
  position: absolute;
  bottom: 18px;
  left: 50%;
  width: 100%;
  transform: translateX(-50%);
  padding: 0px 27px;
}

.view-id-exhibitors .views-row .plus {
  position: absolute;
  width: 34px;
  height: 34px;
  background: url(../../src/images/sprites-e-con.png);
  top: 20px;
  left: 20px;
  background-size: 500px;
  z-index: 9;
}

.view-id-exhibitors .views-row .plus.Other {
  background-position: -5px -251px;
}

.view-id-exhibitors .views-row .plus.Medical {
  background-position: -5px -251px;
}

.view-id-exhibitors .views-row .plus.Biomedical {
  background-position: -5px -251px;
}

.view-id-exhibitors .views-row .plus.Innovative {
  background-position: -5px -251px;
}

.view-id-exhibitors .views-row .plus.Technologies {
  background-position: -5px -251px;
}

.view-id-exhibitors .views-row .plus {
  background-position: 0px 0px;
}

.view-id-exhibitors .views-row:hover,
.view-id-exhibitors .views-row:hover .description {
  background: white;
  border-radius: 7px;
  opacity: 1;
  transition: 0.3s ease;
  z-index: 5;
}

.view-id-exhibitors .views-row:hover h1,
.view-id-exhibitors .views-row:hover .description h1 {
  transform: translateY(0px);
  transition: 0.3s ease;
  opacity: 1;
}

.view-id-exhibitors .views-row h1:hover{
  color: var(--blue);
  transition: 0.3s ease;

}

.view-id-exhibitors .views-row .description a:hover {
text-decoration: none;
}

.view-id-exhibitors .views-row:hover p,
.view-id-exhibitors .views-row:hover .description p,
.view-id-exhibitors .views-row:hover .description a {
  transform: translateY(0px);
  transition: 0.5s ease;
  opacity: 1;
}

.view-id-exhibitors .bg-img {
  display: block;
  width: 86%;
  height: 62%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%,-50%,0);
}
.view-id-exhibitors .bg-img.adaptWidth img{
  width: 100%;
  height: auto;
}
.view-id-exhibitors .bg-img.adaptHeight img{
  height: 100%;
  width: auto;
}



/*/
FILTERS
*/
.path-exhibitors-preview form,
.path-exhibitors form {
  background-color:transparent ;
}
.path-exhibitors-preview .views-exposed-form .form-checkboxes,
.path-exhibitors .views-exposed-form .form-checkboxes{
  display: flex;
}

.path-exhibitors-preview .views-exposed-form .form-type-checkbox label,
.path-exhibitors .views-exposed-form .form-type-checkbox label{
  background: transparent;
  height: 100%;
  border: 1px solid #D8DFE6;
  border-radius: 5px;
  padding: 1rem 1rem;
  margin: 0.5rem 0.5rem;
  display: flex;position: relative;
  align-items: center;
  padding-left: 41px;
}

.path-exhibitors-preview .views-exposed-form .form-type-checkbox label:before,
.path-exhibitors .views-exposed-form .form-type-checkbox label:before {
  width: 16px;
  height: 16px;
  position: absolute;
  content: "";
  border-radius: 20px;
  left: 12px;
}

.path-exhibitors-preview  .views-exposed-form .form-type-checkbox.js-form-item-field-exhibitor-category-value-bio label:hover,
.path-exhibitors .views-exposed-form .form-type-checkbox.js-form-item-field-exhibitor-category-value-bio label:hover {
  background-color:#36528a2f ;
  border: 1px solid #36528A;
}

.path-exhibitors-preview .views-exposed-form .form-type-checkbox.js-form-item-field-exhibitor-category-value-bio input:checked + label,
.path-exhibitors .views-exposed-form .form-type-checkbox.js-form-item-field-exhibitor-category-value-bio input:checked + label {
  background-color:#36528a2f ;
  border:2px solid #36528A;
}

.path-exhibitors-preview .views-exposed-form .form-item-field-exhibitor-category-value-medical label:hover,
.path-exhibitors .views-exposed-form .form-item-field-exhibitor-category-value-medical label:hover {
  background-color:#167c803d ;
  border: 1px solid #167C80;
}

.path-exhibitors-preview .views-exposed-form .form-item-field-exhibitor-category-value-medical input:checked + label ,
.path-exhibitors .views-exposed-form .form-item-field-exhibitor-category-value-medical input:checked + label {
  background-color:#167c803d ;
  border: 2px solid #167C80;
}

.path-exhibitors-preview .views-exposed-form .form-item-field-exhibitor-category-value-innovative label:hover,
.path-exhibitors .views-exposed-form .form-item-field-exhibitor-category-value-innovative label:hover {
  background-color:#c26b6a31 ;
  border: 1px solid #C26B6A;
}

.path-exhibitors-preview .views-exposed-form .form-item-field-exhibitor-category-value-innovative input:checked + label,
.path-exhibitors .views-exposed-form .form-item-field-exhibitor-category-value-innovative input:checked + label {
  background-color:#c26b6a31 ;
  border: 2px solid #C26B6A;
}

.path-exhibitors-preview .views-exposed-form .form-type-checkbox.form-item-field-exhibitor-category-value-tech label:hover,
.path-exhibitors .views-exposed-form .form-type-checkbox.form-item-field-exhibitor-category-value-tech label:hover{
  background-color:#eeda7434 ;
  border: 1px solid #EED974;
}

.path-exhibitors-preview .views-exposed-form .form-type-checkbox.form-item-field-exhibitor-category-value-tech input:checked + label,
.path-exhibitors .views-exposed-form .form-type-checkbox.form-item-field-exhibitor-category-value-tech input:checked + label {
  background-color:#eeda7434 ;
  border:2px solid #EED974;
}

.path-exhibitors-preview .views-exposed-form .form-type-checkbox.form-item-field-exhibitor-category-value-other label:hover,
.path-exhibitors .views-exposed-form .form-type-checkbox.form-item-field-exhibitor-category-value-other label:hover {
  background-color: #9b9b9b2a ;
  border: 1px solid #9b9b9b;
}

.path-exhibitors-preview .views-exposed-form .form-type-checkbox.form-item-field-exhibitor-category-value-other input:checked + label,
.path-exhibitors .views-exposed-form .form-type-checkbox.form-item-field-exhibitor-category-value-other input:checked + label {
  background-color: #9b9b9b2a ;
  border:2px solid #9b9b9b;
}

.path-exhibitors-preview .views-exposed-form .form-type-checkbox.js-form-item-field-exhibitor-category-value-bio label:before,
.path-exhibitors .views-exposed-form .form-type-checkbox.js-form-item-field-exhibitor-category-value-bio label:before {
  background-color:#36528A ;
}

.path-exhibitors-preview .views-exposed-form .form-item-field-exhibitor-category-value-medical label:before,
.path-exhibitors .views-exposed-form .form-item-field-exhibitor-category-value-medical label:before {
  background-color:#167C80 ;
}

.path-exhibitors-preview .views-exposed-form .form-item-field-exhibitor-category-value-innovative label:before,
.path-exhibitors .views-exposed-form .form-item-field-exhibitor-category-value-innovative label:before {
  background-color:#C26B6A ;
}

.path-exhibitors-preview .views-exposed-form .form-type-checkbox.form-item-field-exhibitor-category-value-tech label:before,
.path-exhibitors .views-exposed-form .form-type-checkbox.form-item-field-exhibitor-category-value-tech label:before {
  background-color:#EED974 ;
}

.path-exhibitors-preview .views-exposed-form .form-type-checkbox.form-item-field-exhibitor-category-value-other label:before,
.path-exhibitors .views-exposed-form .form-type-checkbox.form-item-field-exhibitor-category-value-other label:before {
  background-color: #9b9b9b ;
}

.path-exhibitors-preview .views-exposed-form .form-type-checkbox:first-child label,
.path-exhibitors .views-exposed-form .form-type-checkbox:first-child label{
  margin-left: 0;
}

.path-exhibitors-preview .views-exposed-form .form-type-checkbox:last-child label,
.path-exhibitors .views-exposed-form .form-type-checkbox:last-child label {
  margin-right: 0;
}

.path-exhibitors-preview form fieldset,
.path-exhibitors form fieldset {
  float: none !important;
}

.path-exhibitors-preview .form-actions,
.path-exhibitors .form-actions {
  display: flex;
  margin-bottom: 1rem;
}

.path-exhibitors-preview input.form-checkbox,
.path-exhibitors-preview .form-submit,
.path-exhibitors input.form-checkbox,
.path-exhibitors .form-submit {
  display: none;
}

.alert-business-card {
  position: fixed;
  background: #0eb8e4;
  width: 95%;
  padding: 20px 50px;
  left: 50%;
  bottom: 27px;
  transform: translateX(-50%) translateY(150px);
  border-radius: 7px;
  box-shadow: 0px 5px 5px 1px #00000024;
  color: #fff;
  z-index: 99;
  opacity: 0;
  z-index: 1179;
  transition: 0.2s ease;
  max-width: 640px;
}

.alert-business-card.active {
  opacity: 1;
  transform: translateX(-50%) translateY(0px);
  transition: 0.2s ease;
}

.alert-business-card p{
  color: #fff;
}



@media (max-width:1200px) {
  .alert-business-card {
    width: calc(100% - 30px);
    padding: 20px 30px;
  }
}

@media (max-width:768px) {
  .alert-business-card {
    padding: 20px 20px;
  }
}
 

@media (max-width:1200px) {
  .view-id-exhibitors>.view-content {
    justify-content: center;
  }

  .view-id-exhibitors .views-row {
    margin: 6px 6px;
  }
}

@media (max-width:992px) {
  .path-exhibitors-preview .views-exposed-form .form-checkboxes,
  .path-exhibitors .views-exposed-form .form-checkboxes {
    display: flex;
    flex-direction: column;
  }

  .path-exhibitors-preview .views-exposed-form .form-type-checkbox label,
  .path-exhibitors .views-exposed-form .form-type-checkbox label {
    margin: 0.5rem 0rem;
  }
}

@media (max-width:768px) {
  .view-id-exhibitors .views-row:hover .bg-img {
    opacity: 1;
  }
  .path-exhibitors-preview .container-sections section,
  .path-exhibitors .container-sections section{
    padding:0 ;
  }
  .view-id-exhibitors .views-row {
    height: 352px;
  }
  .view-id-exhibitors .views-row span img {
    max-width: 80%;
  }
  .view-id-exhibitors .description {
    display: none;
  }
  /*FILTRI MOBILE */
  #edit-field-exhibitor-category-value {
    display: none;
  }

  #edit-field-exhibitor-category-value--wrapper .fieldset-legend {
    padding-left: 40px;
  }

  .open-filters #edit-field-exhibitor-category-value  {
    display: block;
  }

  .path-exhibitors-preview .views-exposed-form .form-type-checkbox label, .path-exhibitors .views-exposed-form .form-type-checkbox label {
    border: 1px solid #aab6c2;
  }

  .bef-exposed-form .form--inline>fieldset.form-item {
    position: relative;
  }

  .bef-exposed-form .form--inline>fieldset.form-item.open-filters .fieldset-legend:before {
    transform: translate(-50%,-50%) rotate(45deg);
    transition:0.3s ease;
  }

  .bef-exposed-form .form--inline>fieldset.form-item .fieldset-legend:before {
    content: "";
    background: url(../../src/images/sprites-e-con.png);
    width: 25px;
    height: 25px;
    position: absolute;
    display: block;
    background-position: 0px 0px;
    background-size: 500px;
    top: 11px;
    left: 17px;
    transition: 0.2s ease;
    transform-origin: center;
    transform: translate(-50%,-50%) rotate(0deg);
}

}
