/*
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
*/

/* Person Start */
.filter {
    display: flex;
    flex-direction: column;
    align-items: left;
    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: #d2d7da !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: 4px;
    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:#000;
}
#main .person a {
text-decoration: none;
}
#main .person a:hover {
  color:#6c757a;
}
.person-phone-mail {
  position: absolute;
  bottom: 20px;
  left: 20px;
}
.mobile-filter-toggle {
  background: #6c757a;
  color:white;
  border-radius: 4px;
  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:#d2d7da;
  color:white !important;
}
/* Person End */

/* Anmeldeformular */
.hide-field {
	display:none !important;
}

@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:767px) {

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