/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/* Production 01072021 */
#child-iframe{
  width: 100%;
  min-width: 100%;
  margin-top: 0px;
}
/* Production 01072021 */

/* Person Start */
.filter {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10PX;
}
.filter_button {
    display: flex;
    flex-wrap: wrap;
}
.option {
    background: grey;
    color: #fff;
    margin:5px;
    text-decoration: none;
    width: auto;
}
.option.fusion-button:active, .option.fusion-button:hover, .fusion-button.option.mixitup-control-active {
    background: #2f9a53 !important;
}
.persons_inner {
    display: flex;
    flex-wrap: wrap;
}
.person {
    /*width: calc(50% - 1rem);*/
    width: calc(33.3333% - 1rem);
    margin: .5rem;

    background-image: linear-gradient(rgb(226, 226, 226) 0%,rgb(255, 255, 255) 100%);
    background-position: left top;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 9px 13px 0px;
    padding: 0;
    min-height: 0px;
    position: relative;
    padding-bottom: 50px;
}
.person-item-contactperson-infos{
    color: #000;
    padding: 15px 20px 20px 20px;

}
.person-item-contactperson-infos a{
    color: #000;
}
.person-item-contactperson-infos a:hover{
    color: #f0f0f0;
}
.person-item-contactperson-name {
    font-size: 120%;
    font-weight: 700;
    color:#0c7abf;
}
#main .person a {
text-decoration: none;
}
#main .person a:hover {
  color:#0c7abf;
}
.person-phone-mail {
  position: absolute;
  bottom: 20px;
  left: 20px;
}
.mobile-filter-toggle {
  background: #0c7abf;
  color:white;
  border-radius: 5px;
  padding: 7px 12px;
  font-size: 15px;
  display: none;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3px;
}
.mobile-filter-toggle:focus, .mobile-filter-toggle:hover, .mobile-filter-toggle:active, .mobile-filter-toggle.active {
  background:#2f9a53;
  color:white !important;
}
/* Person End */

.f-select-dd {
  background-color: inherit;
  border: inherit;
  color: #fff;
  margin-left: 16px;
  font-size: 13px;
  font-weight: 700;
}

.f-select-dd option {
  color: #000;
  background-color: #fff;
}

#location-select .fusion-button, #location-select-shop .fusion-button {
  width: 100%;
}

.fancybox__backdrop {
  background: rgba(24, 24, 27, 0.5) !important;
}


/**
 * custom-select
 */
/*the container must be positioned relative:*/
.custom-select {
  position: relative;
  background-color: inherit;
  border: inherit;
  color: #fff;
  margin-left: 16px;
  font-size: 13px;
  line-height: 25px;
  font-weight: 700;
}

.custom-select select {
  display: none; /*hide original SELECT element:*/
}

.select-selected {
  color: var(--menu_hover_first_color);
  position: relative;
}

/*style the arrow inside the select element:*/
.select-selected:after {
  position: absolute;
  content: "";
  top: 18px;
  right: 10px;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-color: #fff transparent transparent transparent;
}

/*point the arrow upwards when the select box is open (active):*/
.select-selected.select-arrow-active:after {
  border-color: transparent transparent #fff transparent;
  top: 11px;
}

/*style the items (options), including the selected item:*/
.select-items div {
  color: var(--awb-color5);
  padding: 8px 16px;
  border: 1px solid transparent;
  border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
  cursor: pointer;
  user-select: none;
}

.select-selected {
  color: inherit;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
  cursor: pointer;
  user-select: none;
}

/*style items (options):*/
.select-items {
  color: #000;
  position: absolute;
  background-color: #fff;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
  border-radius: 0 0 5px 5px;
  box-shadow: 5px 10px 20px 0px rgba(0,0,0,0.33);
}

/*hide the items when the select box is closed:*/
.select-hide {
  display: none;
}

.select-items div:hover, .same-as-selected {
  color: var(--awb-active-color);
}
/**
 * custom-select
 */

@media screen and (max-width:1100px) {


}


@media screen and (max-width:991px) {

    .person {
        width: calc(50% - 1rem);

    }

    .filter button{
      width: 100% !important;
      margin-left: 0;
      margin-right: 0;
      margin-top: 3px;
      margin-bottom: 3px;
      display: block;
    }
    .personfilter-buttons {
      display: none;
    }
    .persons_inner {
      margin-left: -0.5rem;
      margin-right: -0.5rem;
    }
    .mobile-filter-toggle {
      display: flex;

    }
}

@media screen and (max-width:600px) {

    .person {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    .persons_inner {
      margin-left:0;
      margin-right:0;
    }
}
