/*
Theme Name: AI Fellow
Description: Developed by Ai Fellow AB
Version: 1.0
Author: Juan Pablo Silva
Author URI: https://aifellow.se
Template: enfold
*/

.responsive .container {
	max-width: 1130px;
}

#top a:focus-visible,
#top button:focus-visible,
#top input:focus-visible,
#top select:focus-visible,
#top textarea:focus-visible,
#top [tabindex]:not([tabindex="-1"]):focus-visible {
    outline: 3px solid #000000 !important;
    outline-offset: 3px !important;
    box-shadow: 0 0 0 6px #ffffff !important;
}

/* Header och navigation */
#menu-item-187 > .sub-menu {
    top: 90px;
    margin-left: 10px;
    width: fit-content;
    min-width: 0;
}

#menu-item-187 > .sub-menu a {
    width: auto;
    white-space: nowrap;
    padding: 8px 14px;
}

.logo svg,
.logo.avia-img-svg-logo > a > img,
.logo .alternate.avia-img-svg-logo {
    z-index: 99999;
}

#top .social_bookmarks {
    padding-top: 28px;
}

.html_av-overlay-full #top #wrap_all #av-burger-menu-ul li a,
.html_av-overlay-side #top #wrap_all .av-burger-overlay-scroll #av-burger-menu-ul a {
    color: #74ddf2;
}

.av-hamburger-inner,
.av-hamburger-inner::after,
.av-hamburger-inner::before {
    background: #74ddf2 !important;
}

.html_av-overlay-full #av-burger-menu-ul li {
    font-size: 26px;
}

@media only screen and (max-width: 767px) {
    #av-burger-menu-ul > .burger_social_bookmarks > li {
        width: 30px;
        height: 30px;
        text-align: center;
        display: inline-block;
        margin-top: 40px;
    }
}

/* Typografi */
#top #wrap_all .all_colors h1,
#top #wrap_all h1.av-special-heading-tag {
    font-size: 40px;
    line-height: 1.2;
    font-weight: 700;
}

#top #wrap_all .all_colors h2 {
    font-size: 28px;
    line-height: 1.25;
    font-weight: 700;
}

#top #wrap_all h2.av-special-heading-tag {
    font-size: 28px;
    line-height: 1.3;
    font-weight: 700;
}

#top #wrap_all .all_colors h3,
#top #wrap_all h3.av-special-heading-tag {
    font-size: 20px;
    line-height: 1.3;
    font-weight: 700;
}

#top #wrap_all .all_colors p {
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
}

@media only screen and (max-width: 767px) {
    #top #wrap_all .all_colors h1,
    #top #wrap_all h1.av-special-heading-tag {
        font-size: 28px;
        line-height: 1.15;
    }

    #top #wrap_all .all_colors h2 {
        font-size: 24px;
        line-height: 1.25;
    }

    #top #wrap_all h2.av-special-heading-tag {
        font-size: 24px;
        line-height: 1.3;
    }

    #top #wrap_all .all_colors h3,
    #top #wrap_all h3.av-special-heading-tag {
        font-size: 18px;
        line-height: 1.3;
    }

    #top #wrap_all .all_colors p {
        line-height: 1.55;
    }
}

/* Huvudinnehåll */
body .column-top-margin {
    margin-top: 20px;
}

.avia_textblock {
    line-height: 1.8;
}

.avia_iconbox_title {
    color: #000000;
}

.av-iconlist-small .iconlist_title_small {
    line-height: 1.7em;
}

/* Tillgängliga etiketter som tidigare var H6 */
#top .avia-icon-list p.av_iconlist_title {
    font-size: 14px !important;
    line-height: 1.1em !important;
    font-weight: 700 !important;
}

#top .ai-team-role {
    display: block;
    font-size: 14px;
    line-height: 1.1em;
}

.iconbox_left .iconbox_icon {
    top: 0;
}

.avia-icon-list li {
    padding-bottom: 10px;
}

.content,
.sidebar {
    padding-bottom: 0;
}

.avia-image-container.avia-align-right {
    display: block;
    float: right;
    margin-left: 15px;
    margin-top: -1px;
    z-index: 999;
}

@media only screen and (max-width: 767px) {
    .av_iconlist_title {
        font-size: 16px !important;
        line-height: 1.8;
    }
}

/* Pratbubbla */
.speech-bubble {
    position: relative;
    background: #ffffff;
    color: #333333;
    padding: 25px 30px;
    border-radius: 20px;
    font-family: sans-serif;
    text-align: center;
    width: auto;
    margin: 40px auto;
}

.speech-bubble-wrapper {
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.15));
    display: inline-block;
    width: 100%;
}

.speech-bubble::after {
    content: "";
    position: absolute;
    bottom: -69px;
    right: 40px;
    width: 75px;
    height: 70px;
    background: #ffffff;
    clip-path: path("M 40 0 Q 35 25, -6 81 Q 25 15, 0 0 Z");
}

/* Footer */
@media only screen and (max-width: 767px) {
    #footer {
        padding: 0 !important;
    }

    #footer .widget {
        margin: 0 !important;
    }

    .flex_column .widget:first-child,
    .content .widget:first-child {
        text-align: center;
    }
}

/* Flytande kontroller och chatt */
#scroll-top-link.avia_pop_class,
#av-cookie-consent-badge.avia_pop_class {
    margin-right: 70px;
}

#scroll-top-link,
#av-cookie-consent-badge {
    color: #74ddf2;
    border: 1px solid #74ddf2;
}

/* Cookieval – AA-kontrast */
#top .avia-cookie-hide-notification {
    color: #c2185b !important;
    background-color: #ffffff !important;
}

#fo-toggle-button {
    margin-right: 25%;
}

@media only screen and (max-width: 1370px) {
    #fo-toggle-button {
        margin-right: 0;
    }
}
