  /**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */


.clear {
  clear: both;
}

.filtertitle span {
  font-size: 1rem;
}

.searchbar {
  width: 100%;
  padding: 0.5rem 1rem;
  background: #5992d6;  
}

.filterbar {
  width: 100%;
  padding: 1rem;
  background: #f6f6f6;
}

.filterwrapper {
    width: 100%;
    max-width: 95rem;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
}

.filterwrapper .col50:after {
  content: '';
  display: block;
  clear: both;
}

.ato-dropdownbox {
    display: block;
    position: relative;
    margin: 0rem 1rem 0 0;
    width: calc(100% - 1.2rem);
}

.submitcol {
  width: 10rem;
}

.ato-dropdownbox:last-of-type {
    display: block;
    margin: 0rem !important;
}

.filterwrapper .flex {
  display: flex;
  width: calc(100% - 10rem);
}

.filterwrapper .col50 {
    width: 100%;
}

.submitcol {
    padding-left: 1rem;
    box-sizing: border-box;
}

.submitcol input[type="submit"] {
    margin: 0.55rem 0 0 0;
    height: 2.25rem;
    padding: 0.4rem;
    box-sizing: border-box;
    border: 0;
    display: block;
    width: 100%;
    background: #5992d6;
    color: #fff;
    opacity: 0.85;
    border-radius: 0 !important;
}

.submitcol input[type="submit"]:hover {
  opacity: 1;
}

.resetfilter {
    display: block;
    text-align: center;
    color: #5992d6 !important;
}

.ato-dropdownbox .titel {
  color: #7a7a7a;
  position: relative;
  font-size: 1rem;
  padding: 0.4rem;
  cursor: pointer;
  background: #fff;
  margin-top: 0.5rem;
}

 .ato-dropdownbox .mainlabel {
  color: #5992d6 !important;
  font-size: 1.1rem !important;
 }

.ato-dropdownbox .titel:hover {
  cursor: pointer;
}

.ato-dropdownbox .titel:after {
    content: url(/wp-content/plugins/atoproductfinderV2/public/images/icon_dropdown_blue.png);
    position: absolute;
    right: 0.5rem;
    bottom: 0.5rem;
}

.ato-dropdownbox .optioncontainer {
    display:none;
    background: #fff;
    color: #fff;
    padding: 0.5rem;
    position: absolute;
    width: 100%;
    box-sizing: border-box;
    z-index: 10;
    margin-top: 1px;
    
    -webkit-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.25);
  -moz-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.25);
  box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.25);
}

/*
.ato-dropdownbox .auswahlcontainer {
  max-height: 12rem;
    overflow-y: scroll;
}*/

.ato-dropdownbox .auswahl-sum {
    position: relative;
    padding-left: 1.5rem;
    display: block;
    margin: 0 0 0.5rem 0;
    line-height: 1.2rem;
}

.ato-dropdownbox .auswahl-sum.has-items {
  display: block;
}

.ato-dropdownbox .auswahl-sum a {
  float: right;
}

.ato-dropdownbox .filterbtn {
  color: #fff;
  background: linear-gradient(to right, rgba(55,157,238,1) 0%, rgba(0,206,185,1) 50%,rgba(55,157,238,1) 100%);
      transition: 0.5s;
  background-size: 200% auto;
  margin: 0 auto;
  display: inline-block;
  padding: 0.5rem 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 1rem;
}

.auswahlcontainer label {
  color:#6c6c78;
}

.ato-dropdownbox.aktiv .titel::after {
  transform: rotateX(180deg);
  bottom: 0;
}

.ato-dropdownbox.aktiv .optioncontainer {
  display: block;
  min-height: 3rem;
  max-height: 15.75rem;
  overflow-y: scroll;
}

form[name="filter"] {
  display: inherit;
width: 100%;
height: auto;
}


/* Create a custom checkbox */
.optioncontainer .checkmark {
  position: absolute;
  top: 3px;
  left: 0;
  height: 16px;
  width: 16px;
  background-color:#fff;
  border:1px solid #5992d6;
}

/* On mouse-over, add a grey background color */
.optioncontainer label:hover input ~ .checkmark {
  background: #5992d6;
  cursor: pointer;
}

/* When the checkbox is checked, add a blue background */
.optioncontainer label input:checked ~ .checkmark {
  background-color: #fff;
  border:1px solid #5992d6;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.optioncontainer label input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.optioncontainer label .checkmark:after {
    left: 2px;
    top: 2px;
    width: 10px;
    height: 10px;
    border: 0;
    background: #5992d6;

}

.optioncontainer label {
    position: relative;
    padding-left: 1.5rem;
    display: block;
    margin: 0 0 0.5rem 0;
    line-height: 1.2rem;
    font-weight: normal;
    font-size: 0.75rem;
}

.optioncontainer label:last-of-type {
    margin-bottom: 0;
}

.optioncontainer label:hover {
  cursor: pointer;
}

.optioncontainer input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
    left: 0;
}

.customatoheader {
  text-align: left;
}

.customatoheader h1 {
    font-size: 36px !important;
    line-height: 40px !important;
    font-family: "Lato", Helvetica, Arial, Lucida, sans-serif;
    color: #6c6c78 !important;
    font-weight: normal;
    background: #fff;
    padding: 5px !important;
    display: inline-block;
    margin-bottom: 8px !important;
}

.customatoheader h2 {
    font-size: 14px !important;
    font-weight: bold;
    border-radius: 0;
    background-color: #dd4a4a;
    border: none;
    color: #FFF;
    display: inline-block;
    clear: both;
    padding: 6px 17px !important;
}

.finderresults {
  width: 95rem;
  display: flex;
  flex-wrap: wrap;
  margin: 3rem auto;
}

.findercontact {
  width: 95rem;
  margin: 0rem auto 3rem;
}

.finderteaser {
  width: calc(20% - 0.8rem);
  background-color: #f6f6f6;
  margin: 0 1rem 1rem 0;
  position: relative;
  display: block;
  background-image: url(/wp-content/plugins/atoproductfinderV2/public/images/icon_download.svg);
  background-position: right 1rem bottom 1rem;
  background-size: 2rem;
  background-repeat: no-repeat;
}

.finderteaser:nth-of-type(5n) {
  margin-right: 0;
}

.finderteaser:nth-of-type(5n):after {
  content: '';
  display: block;
  clear: both;
}

.finderimg {
  display: block;
  width: 100%;
  border: 1px solid #f6f6f6;
}

.finderimg img {
  display: block;
  width: 100%;
  height: auto;
}

.findertitle {
    padding: 1rem;
    font-size: 1.2rem;
    padding-bottom: 4rem;
    color: #5992d6;
}

.finderteaser:hover .findertitle {
  color:#dd4a4a;
}

.inwrapper {
  max-width: 95rem;
  margin: 0 auto;
}

.inwrapper form {
  margin-bottom: 4rem;
}

.searchbar .filterwrapper {
  display: block;
  text-align: right;
}

.searchbar input {
    background: #fff !important;
    padding: 0.3rem 0.5rem 0.3rem 2.3rem;
    width: 16rem;
    background-image:url(/wp-content/plugins/atoproductfinderV2/public/images/icon_searchfinder.png) !important;
    background-position: left 0.6rem center !important;
    background-repeat: no-repeat !important;
    background-size: 1rem !important;
    border-radius: 0 !important;
    border: 0 !important;
    outline: none !important;
}

.disabled .titel {
  background: #fafafa !important;
}

.applybtn {
  display: block;
  width: 100%;
  text-align: center;
  background: #5992d6;
  color:#fff;
  margin-top: 0.5rem;
}

.applybtn:hover {
  color:#fff;
  background: #dd4a4a;
}

.productloader {
  height: 64px;
  width: 64px;
  display:block;
  margin: 5rem auto;
  background: url(/wp-content/plugins/atoproductfinderV2/public/images/productloader.gif) 0 0 no-repeat;
  background-size: 100%;
}

label.disabled {
  opacity: 0.5;
}

.finaldisabled {
  display: none !important;
}

@media screen and (max-width: 98rem) {
  .finderresults, .findercontact {
    width: calc(100% - 3rem);
  }

  .findertitle {
    font-size: 1rem;
  }
}

@media screen and (max-width: 78rem) {
  .finderteaser {
    width: calc(25% - 0.75rem);
  }

  .finderteaser:nth-of-type(5n) {
    margin-right: 1rem;
  }

  .finderteaser:nth-of-type(4n) {
    margin-right: 0;
  }
}

@media screen and (max-width: 1024px) {
  .finderteaser {
    width: calc(33.333333% - 0.666666rem);
  }

  .finderteaser:nth-of-type(4n) {
    margin-right: 1rem;
  }

  .finderteaser:nth-of-type(3n) {
    margin-right: 0rem;
  }

  .ato-dropdownbox {
      margin-bottom: 1rem;
  }

  .filterwrapper {
    align-items: flex-end;
  }

  .filterwrapper .flex {
    display: block;
  }
}

@media screen and (max-width: 767px) {
  .finderteaser {
    width: calc(50% - 0.5rem);
  }

  .finderteaser:nth-of-type(3n) {
    margin-right: 1rem;
  }

  .finderteaser:nth-of-type(2n) {
    margin-right: 0rem;
  }

  .filterwrapper {
    display: block;
  }

  .filterwrapper .flex {
    width: 100%;
  }

  .ato-dropdownbox {
    margin-right: 0;
    width: 100%;
  }

  .submitcol {
    width: 100%;
    padding-left: 0;
    margin-top: 1rem;
  }
}

@media screen and (max-width: 28rem) {
  .finderteaser {
    width: calc(100%);
  }

  .finderteaser, .finderteaser:nth-of-type(2n) {
    margin-right: 0rem;
  }
}