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

.clients-wrapper-outer {
    margin: 96px 0px;
}

.clients-wrapper {
    display: flex;
    flex-wrap: wrap;    
    justify-content: space-between;
    margin: 50px 0px;
}

.client-card {
    background-color: #f2f7fa;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 1 1 calc(33.333% - 12px); /* 3 Karten pro Reihe minus Lücken */
    max-width: calc(33.333% - 12px);
    box-sizing: border-box;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
    position: relative;
    padding-bottom: 40px;
    margin-bottom: 24px;
}

.client-card > div {
    /*border: 1px solid red;*/
}

@media only screen and (max-width: 768px) {
    .clients-wrapper {
        justify-content: space-between;
    }

    .client-card {
        flex: 1 1 calc(50% - 12px); /* 3 Karten pro Reihe minus Lücken */
        max-width: calc(50% - 12px);
    }
}

@media only screen and (max-width: 640px) {
    .client-card {
        flex: 1 1 100%;
        max-width: 100%;
    }
}
.client-card::after {
    position: absolute;
    content: '';
}

a.client-card:hover {
    color: inherit;
}

.client-logo-wrapper {
    background-color: #fff;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    aspect-ratio: 3 / 2;
}

.client-logo {
    max-width: 80%;
    max-height: 80%;
}

.client-title {
    color: #003366;
    font-weight: 700;
    --awb-font-size: var(--h5_typography-font-size);
    --awb-text-color: var(--h5_typography-color);
    margin-top: 24px;
    margin-bottom: 24px;

}

.client-terms {
    padding-bottom: 20px;
    margin-bottom: 32px;
}

.client-category {
    border: 1px solid #003366;
    border-radius: 4px;
    padding: 0px 8px;
    margin-bottom: 10px;
    margin-right: 10px;
    display: inline-flex;
    cursor: pointer;
}

.clients-filter .client-category.active, 
.clients-filter .client-category:hover {
    background-color: #003366;
    color: #fff;
}

.client-arrow {
    position: absolute;
    bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}

.client-arrow::before {    
    color: #28b463;
    font-size: 32px;
}

#content .post-content .um .um-form input[type="text"],
#content .post-content .um .um-form input[type="password"],
#content .post-content .um .um-form input[type="email"] {
    height: var(--awb-form-input-height);
    background-color: var(--awb-form-bg-color);
    color: #003366 !important;
    border-width: 1px !important;
    border-color: #003366 !important;
    border-radius: 4px !important;
    font-size: 16px !important;
}

#content .post-content .um .um-form input[type="text"]:focus,
#content .post-content .um .um-form input[type="password"]:focus,
#content .post-content .um .um-form input[type="email"]:focus {
    border-color: #167ce5 !important;
}

#content .post-content .um .um-form input[type="text"]::placeholder,
#content .post-content .um .um-form input[type="password"]::placeholder,
#content .post-content .um .um-form input[type="email"]::placeholder {
    color: hsla(210, 100%, 18%, calc(100% - 40%));
}

#content .post-content .um-field-label label {
  font-size: 16px !important;
  line-height: normal !important;
  font-weight: normal !important;
  color: #003366 !important;
}

#content .post-content .um .um-form input:autofill {
  -webkit-text-fill-color: #003366 !important;
}

#content .post-content .um-field-label label::after {
    content: '*';
    position: absolute;
    margin-left: 5px;
}

#content .post-content .um input[type="submit"].um-button {
    background-image: linear-gradient(100deg, rgb(0, 168, 128) 0%, rgb(4, 55, 111) 100%);
    font-weight: 500 !important;
    font-size: 16px;

}

#content .post-content a.um-link-alt {
    font-size: 16px;
    line-height: normal;
    color: #003366 !important;
}

#content .post-content .um a.um-link {
    color: #002b5c;   
}

#content .post-content .um-account-side li a.current span.um-account-icon {
    color: #002b5c;
}

#content .post-content .um-account-side li {
    background-color: #eff4f8;
}

#content .post-content .um-field {
    padding: 20px 0px;
}

#content .fusion-form .fusion-form-element-required {
    text-decoration: none;
}