fieldset.titlewrapper {
    max-height: 68px;
    margin-bottom: -12px;
    background-color: #005A9C;
}

fieldset.titlewrapper
a {
    color: white;
}

.views-field.views-field-body {
    overflow: overlay;
    overflow-y: auto;
    max-height: 325px;
    margin-bottom: 10px;
    font-size: smaller;
}
fieldset.highwestrebates  {
    padding: 2rem 2rem 5rem 2rem;
    margin: 1rem;
    position: relative;
    border: 1px solid #ccc;
}

html body div div#block-views-block-rebates-block-2{
	display: flex;
}
html body div.rebates-card-wrapper {
    display: flex;
    flex-basis: calc(25% - 2rem);
    flex: 1;
    flex-wrap: wrap;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: flex-start;
    overflow-y: auto;
}

div#block-views-block-rebates-block-2 
p {
    max-width: max-content;
    text-wrap: wrap;
}

fieldset {
    max-width: 500px;
    margin: 10px;
    height: 430px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    background-color: white;
    align-items: center;
}

fieldset.titlewrapper {
    border-style: none;
    border-top-left-radius:10px;
    border-top-right-radius:10px;
    border-bottom-left-radius:none;
    border-bottom-right-radius:none;
   
}

fieldset.bodywrapper {
    border-style: none;
    border-bottom-left-radius:0px;
    border-bottom-right-radius:0px;
    border-top-left-radius:0px;
    border-top-right-radius:0px;
}

.rebates-card-wrapper {
    filter: drop-shadow(0 0 0.20rem grey);
}

/*exposed filter*/
@media screen and (min-width: 800px) {
form#views-exposed-form-rebates-block-2 {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: flex-start;
    justify-content: center;
    align-items: flex-start;
}
form > * + * {
    margin-top: 0px;
    margin-left: 20px;
}
}

.t-teme-temp1 input[type=submit] {
    background-color: #B81037;
    color: white;
   
}

/*button*/
fieldset.buttonwrapper {
    max-height: 50px;
    margin-top: -14px;
    background-color: #005A9C;
    border-top-left-radius:0px;
    border-top-right-radius:0px;
    border-bottom-left-radius:10px;
    border-bottom-right-radius:10px;
    border:none;
}
fieldset.buttonwrapper
a {
    color: white;
}