/*
    Theme Name: Aviridi
    Author: WSS
    Description: Custom made theme for Aviridi
    Version: 0.0.1
    License: GPL v2
    License URI: https://www.gnu.org/licenses/licenses.html
    Text Domain: aviridi
*/

.popup button.f-button.is-close-btn {
    color: #161616;
    padding: 10px;
    right: 0 !important;
    top: 0 !important;
    background: transparent;
    width: 3.125rem;
    height: 3.125rem;
    border-bottom: 1px solid #dbe7e7;
    border-radius: 0;
}

.fancybox__container .fancybox__backdrop {
    background: var(--black-40, rgba(22, 22, 22, 0.4));
}
@media screen and (max-width: 768px) {
    .popup button.f-button.is-close-btn {
        border-bottom: none;
        border-left: 1px solid #dbe7e7;
    }
}

input[type="file"].wpcf7-form-control {
    position: relative;
    color: transparent;
    border: 0;
    width: 100%;
    padding: 1rem 0;
    border-bottom: .0625rem solid rgba(22, 22, 22, .2);
    padding-right: 1.25rem;
    font-size: .875rem;
    font-weight: 400;
    letter-spacing: .0175rem;
    line-height: 140%;
    color: #161616;
    transition: .35s
    ease all;
    background: rgba(0, 0, 0, 0);
    border-color: rgba(253, 254, 254, .3019607843);
    color: #fdfefe;
}

input[type="file"].wpcf7-form-control:hover {
    border-color: #ea651f;
}

input[type="file"].wpcf7-form-control::-webkit-file-upload-button {
    visibility: hidden;
}

input[type="file"].wpcf7-form-control::before {
    content: '';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    cursor: pointer;
    transition: background 0.2s ease;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="%23ffffff" viewBox="0 0 24 24"><path d="M12 15.577L8.461 12.039L9.169 11.319L11.5 13.65V5H12.5V13.65L14.83 11.32L15.539 12.039L12 15.577ZM5 19V14.962H6V18H18V14.962H19V19H5Z"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px;
    margin-right: 10px;
    color: #7fa3a7;
}

input[type="file"].wpcf7-form-control:hover::before {
    background-color: #0b72d0;
}

input[type="file"].wpcf7-form-control::file-selector-button {
    display: none;
}
input[type="file"].wpcf7-form-control:hover:before {
    background-color: #ea651f;
}
.file-name {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #555;
}

.main-banner__section .wrapper-runningLine {
    height: 0;
    border-top: 0;
}
.solution_item-infoBlock p img {
    max-height: 24px;
    width: auto;
}
.company-image {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    gap: 30px;
}
.company-image a {
    max-width: 60%;
    display: block;
    margin-left: auto;
    min-width: 60%;
    margin-right: 40px;
}
.company-image_text {
    position: relative;
    z-index: 4;
    top: 10px;
    text-decoration: underline;
    font-weight: 500;
    font-size: 1.07rem;
}
.company-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/*@media screen and (min-width: 991px) and (max-width: 1720px) {*/
/*    .company-image {*/
/*        padding-right: 40px;*/
/*    }*/
/*}*/

/*@media screen and (min-width: 767px) and (max-width: 991px) {*/
/*    .company-image {*/
/*        padding-right: 20px;*/
/*    }*/
/*}*/


@media screen and (min-width: 1024px) and (max-width: 1280px) {
    .company-image a {
        max-width: 72%;
    }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .company-image a {
        max-width: 90%;
        margin-right: 20px;
    }
}

@media screen and (max-width: 768px) {
    .company-image {
        gap: 20px;
        flex-direction: row;
        flex-wrap: wrap;
        align-content: center;
        padding: 0 20px;
    }
    .company-image a {
        min-width: calc(50% - 10px);
        max-width: calc(50% - 10px);
        margin: 0 auto;
    }
    .company-image_text {
        font-weight: 600;
    }
}


@media screen and (max-width: 480px) {
    .company-image_text {
        top: 10px;
        font-size: 0.9rem;
        line-height: 120%;
        min-height: auto;
        text-align: center;
        font-weight: bold;
    }
    .company-image a {
        min-width: 100%;
        max-width: 100%;
    }
    .company-image img {
        max-width: 75%;
        margin: 0 auto;
        display: block;
    }
    .company-image {
        gap: 8px;
    }
}
