/*
Theme Name: Enfold Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating will be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/

/* Menu */
.logo {
    padding: 5px 0;
}
.menu-item > a {
    margin: 0 30px;
    color: black !important;
    font-weight: normal !important;
    font-size: 16px !important;
}
.current-menu-item > a, .menu-item > a:hover {
    -webkit-text-stroke: .7px black;
}
#btn-languages .active {
    background-color: black;
}

/* Przycisk */
.wp-element-button, .wp-element-button:link {
    background-color: #2db1e4;
    color: white !important;
    text-decoration: none;
}
.wp-element-button:hover {
    background-color: black;
    text-decoration: none;
}
.wp-element-button::after {
    content: "...";
}
.wp-element-button:hover::after {
    display: none;
}



/* CLIENTS SECTION */

.our-services-section .description {
    visibility: hidden;
}

.our-services-section .flex_cell_inner {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-y: hidden;
    overflow-x: scroll;
    gap: 35px;
    height: 70px !important;
    justify-content: space-between;
}
.our-services-section .flex_cell_inner::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

.our-services-section .flex_cell_inner .logo {
    display: flex !important;
    align-items: center;
}

.our-services-section .flex_cell_inner div {
    min-width: 100px;
}

@media (min-width: 1200px) {
    .our-services-section .flex_cell_inner {
        flex-wrap: wrap;
        overflow-x: hidden;
        overflow: visible;
        height: auto !important;
    }

    .our-services-section .client-item {
        width: 150px;
        min-height: 130px;
        position: relative;
        display: flex;
        align-items: center;
    }

    .our-services-section .client-item .logo {
        width: 200px;
        height: 70px;
    }

    .our-services-section .client-item .logo p {
        margin: 0;
    }

    .our-services-section .client-item .logo {
        display: flex;
        align-items: center;
    }

    .our-services-section .client-item .logo img {
        width: 80%;
        height: auto;
    }

    .our-services-section .client-item .description {
        z-index: 999;
        top: -50px;
        position: absolute;
        background: grey;
        width: 200px !important;
        height: 220px !important;
        padding: 15px;
        border-radius: 10px;
        font-size: 12px;
        line-height: 19px;
    }

    .our-services-section .client-item:hover div.logo {
        display: none;
    }

    .our-services-section .client-item:hover div.description {
        transition: height 0.3s, transform 0.3s, background-color 0.3s;
        transform: translateY(10%);
        visibility: visible !important;
        top: -50px;
        background: #1d1727;
        color: white;
        font-size: 1px !important;
    }

    .our-services-section .client-item:hover div.description p {
        font-size: 12px !important;
    }

    .our-services-section .client-item .description p {
        color: white !important;
    }
}

/* END OF CLIENTS SECTION */


/* SERVICES SECTION */

.services-section img {
    max-height: 40px;
    max-width: auto;
    margin: 0;
    padding: 0;
}

.services-section .avia_textblock p {
    /*min-height: 460px;*/
}

.services-section .flex_column {
    display: flex;
    flex-direction: column;
    min-height: 350px !important;
}

.services-section .flex_column .avia-image-container {
    height: 4rem;
}

.services-section .flex_column .card-box__content {
    min-height: 200px;
}

/* END OF SERVICES SECTION */