/* genero-global.css — Globala sajtstilar
   Migrerad från Simple Custom CSS and JS (75.css + 231483.css + 239240.css) */

/* ── Navigering ─────────────────────────────────────────────────────────────── */
#top-menu li li a {
    padding: 16px 20px;
    width: 100%;
    border-bottom: 1px solid #ddd;
}
.nav li.et-touch-hover > ul,
.nav li:hover > ul {
    opacity: 1;
    visibility: visible;
    width: 28vw !important;
}
.nav li li {
    position: relative;
    line-height: 2em;
    display: block !important;
}
@media only screen and (min-width: 981px) {
    .et-fixed-header #top-menu li.current-menu-ancestor > a,
    .et-fixed-header #top-menu li.current-menu-item > a,
    .et-fixed-header #top-menu li.current_page_item > a {
        color: #ffffff !important;
    }
}

.Free-trial a {
    background-image: linear-gradient(90deg, #65a3d8 0%, #476499 100%);
    padding: 15px 20px !important;
    border-radius: 4px;
    color: white !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 90% !important;
    position: relative;
    margin-bottom: 18px;
    font-weight: 700;
}
@media only screen and (min-width: 981px) {
    .et-fixed-header #top-menu .Free-trial a {
        color: #fff !important;
    }
}
.et-fixed-header #top-menu .Free-trial a {
    color: #fff !important;
}

header#main-header {
    box-shadow: none !important;
}
.et_contact_bottom_container {
    width: 100%;
}

#main-header .nav li ul {
    border-radius: 5px;
    border: none;
    box-shadow: 0px 0px 25px #00000057;
}
.container {
    width: 90%;
    max-width: 1080px;
    margin: auto;
}
.et_mobile_menu li a:hover,
.nav ul li a:hover {
    background-color: rgba(0, 0, 0, .03);
    opacity: .7;
    color: #fa9000 !important;
}

/* ── Mobilmeny ──────────────────────────────────────────────────────────────── */
@media screen and (max-width: 980px) {
    #main-header .container {
        width: 100% !important;
    }
    .et_header_style_left .logo_container {
        padding-left: 25px;
    }
    .et_header_style_centered #main-header .mobile_nav {
        background-color: transparent;
    }
    .mobile_nav.closed .select_page {
        display: none;
    }
    .et-fixed-header#main-header {
        background-color: transparent !important;
    }
}
.et_mobile_menu {
    top: 0 !important;
    border-top: 3px solid #283fc0 !important;
    background-color: #fff !important;
    padding: 20% 0;
    height: 100vh;
    overflow-y: scroll;
}
.et_mobile_menu li a {
    text-align: left;
    font-size: .8em;
    border: 0;
    padding: 15px 0;
    letter-spacing: 1px;
}
.mobile_nav ul#mobile_menu .current_page_item > a {
    color: #283fc0;
}
.mobile_nav ul#mobile_menu li ul li a {
    font-size: .8em !important;
    margin: auto;
    color: #363636 !important;
    padding-top: 1em;
}
.et_mobile_menu li a:hover {
    color: #999;
    transition: all .2s ease-in-out;
}
.mobile_menu_bar:before {
    padding-right: 15px;
    color: #363636 !important;
}
.mobile_nav.opened .mobile_menu_bar:before {
    content: "\4d";
    z-index: 99999;
}

@media only screen and (max-width: 480px) {
    li.Free-trial a:after {
        font-family: "ETmodules" !important;
        font-weight: normal;
        font-style: normal;
        font-variant: normal;
        -webkit-font-smoothing: antialiased;
        line-height: 36px;
        font-size: 24px;
        text-transform: none;
        content: '\35';
        position: relative;
        float: right;
        right: -5px;
        bottom: 7px;
    }
    li.Free-trial {
        margin: 10px 20px -10px 20px;
    }
    #main-header #mobile_menu.et_mobile_menu li.lang-item,
    #main-header #mobile_menu.et_mobile_menu li.Free-trial {
        border-bottom: none !important;
    }
}

#et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before {
    content: '\4d';
}
#top-menu .menu-item-has-children .menu-item-has-children > a:first-child::after,
#et-secondary-nav .menu-item-has-children .menu-item-has-children > a:first-child::after {
    content: '5';
}
#main-header #mobile_menu.et_mobile_menu .menu-item-has-children {
    position: relative;
}
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle {
    position: absolute;
    z-index: 1;
    width: 36px;
    height: 36px;
    line-height: 36px;
    border-radius: 50%;
    top: 6px;
    right: 25px;
    cursor: pointer;
    text-align: center;
    background-color: #fa9000;
    color: white;
}
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped {
    background-color: rgba(0, 0, 0, 0.1);
    display: block;
}
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle::before {
    font-family: "ETmodules" !important;
    font-weight: normal;
    font-style: normal;
    line-height: 36px;
    font-size: 24px;
    text-transform: none;
    content: '\33';
    position: relative;
    right: 1px;
}
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped::before {
    content: '\32';
}
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle ~ ul.sub-menu {
    display: none !important;
    padding-left: 0;
}
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped ~ ul.sub-menu {
    display: block !important;
    background-color: rgba(0, 0, 0, 0.03);
}
#main-header #mobile_menu.et_mobile_menu li li {
    padding-left: 0;
}
#main-header #mobile_menu.et_mobile_menu li a,
#main-header #mobile_menu.et_mobile_menu li li a,
#main-header #mobile_menu.et_mobile_menu li li li a {
    padding-left: 20px;
    padding-right: 20px;
}
#main-header #mobile_menu.et_mobile_menu .menu-item-has-children .sub-menu-toggle + a {
    padding-right: 20px;
}
#main-header #mobile_menu.et_mobile_menu .menu-item-has-children > a {
    background-color: transparent;
    font-weight: inherit;
}
#main-header #mobile_menu.et_mobile_menu li.current-menu-item > a {
    font-weight: bolder;
}
#main-header #mobile_menu.et_mobile_menu li a::after,
#main-header #mobile_menu.et_mobile_menu li li a::after,
#main-header #mobile_menu.et_mobile_menu li li li a::after {
    font-family: "ETmodules" !important;
    font-weight: normal;
    font-style: normal;
    line-height: 36px;
    font-size: 24px;
    text-transform: none;
    content: '\35';
    position: relative;
    float: right;
    right: 10px;
    bottom: 5px;
}

@media only screen and (min-width: 981px) {
    .et-fixed-header #top-menu .logga-in-nav a {
        color: #fff !important;
    }
}
@media only screen and (max-width: 480px) {
    .logga-in-nav a {
        margin: 20px 23px 0 19px;
    }
}

#et_mobile_nav_menu:before {
    content: 'MENU';
    font-size: 14px;
    position: absolute !important;
    bottom: 29px;
    right: 50px;
    color: #363633;
}
@media only screen and (min-width: 981px) and (max-width: 1150px) {
    #et_mobile_nav_menu:before {
        right: 80px;
    }
}

@media screen and (max-width: 1150px) {
    #top-menu {
        display: none !important;
    }
    #et_mobile_nav_menu {
        display: block !important;
    }
}

#top-menu > li.pll-parent-menu-item.menu-item-has-children.menu-item-231074 > ul {
    width: 6vw !important;
}

@media only screen and (min-width: 981px) {
    .et-fixed-header #top-menu li.current-menu-ancestor > a,
    .et-fixed-header #top-menu li.current-menu-item > a,
    .et-fixed-header #top-menu li.current_page_item > a {
        color: #000000 !important;
    }
}

/* ── Layout & innehåll ──────────────────────────────────────────────────────── */
@media only screen and (max-width: 980px) {
    #top-header > .container,
    #et_search_outer > .container,
    body.single #main-content > .container,
    body.page:not(.et-tb-has-template) div.et_pb_row,
    body.page.et-tb-has-template .et-l--post div.et_pb_row,
    body.single-project div.et_pb_row,
    body.single-project div.et_pb_row.et_pb_row_fullwidth {
        width: 90% !important;
    }
}
@media only screen and (max-width: 480px) {
    .et_header_style_left .logo_container {
        padding-left: 15px !important;
    }
}

/* ── Logotyp mobilpadding ───────────────────────────────────────────────────── */
@media (max-width: 980px) {
    .et_header_style_left #logo {
        position: relative;
        right: 20px;
    }
}

/* ── Tre anledningar (startsida) ────────────────────────────────────────────── */
#tre-anledningar-genero .et_pb_blurb_description {
    display: none;
}
@media only screen and (max-width: 980px) {
    .three-columns .et_pb_column {
        width: 33% !important;
    }
}

/* ── Formulärfel ────────────────────────────────────────────────────────────── */
.contact_form_errors,
.et_pb_contact_error_text {
    background: #fa9000;
    color: white !important;
    border-radius: 5px;
    padding: 40px 20px 0px !important;
    margin-bottom: 35px;
    box-shadow: 0 0 40px 0 #888;
    font-size: 20px;
    font-weight: 600;
    display: none;
}
p.gform_required_legend {
    display: none;
}

/* ── Navigation prev/next ───────────────────────────────────────────────────── */
span.nav-previous,
span.nav-next {
    background: #fa9000;
    padding: 10px;
    border-radius: 5px;
}
.et_pb_posts_nav.et_pb_post_nav_0_tb_body span a,
.et_pb_posts_nav.et_pb_post_nav_0_tb_body span a span {
    font-weight: 700;
    font-size: 18px;
    color: white !important;
}
@media screen and (max-width: 480px) {
    span.nav-previous,
    span.nav-next {
        width: 100%;
        display: block;
        margin-bottom: 20px;
    }
}

/* ── Knappar startsida ──────────────────────────────────────────────────────── */
.et_pb_button_module_wrapper.et_pb_button_0_wrapper.et_pb_button_alignment_left.et_pb_module {
    display: inline-block;
    margin-right: 20px;
}
.et_pb_button_module_wrapper.et_pb_button_1_wrapper.et_pb_button_alignment_left.et_pb_module {
    display: inline-block;
}

/* ── Sidebar ────────────────────────────────────────────────────────────────── */
div#sidebar-widget-divi div ul li {
    border-bottom: 1px solid #ccc;
    padding: 10px 0;
    margin: 0;
    padding-left: 10px;
}
div#sidebar-widget-divi div ul li:hover {
    background-color: rgba(0, 0, 0, .03);
}
#post-content-divi .et_pb_section,
#post-content-divi .et_pb_row {
    padding: 0;
}
#post-content-divi .et_pb_row {
    width: 100%;
}
@media (max-width: 1200px) {
    div#post-content-divi {
        padding: 0 5%;
    }
}

/* ── Bloggen ────────────────────────────────────────────────────────────────── */
.wp-block-image {
    margin: 1em 0;
}
@media screen and (min-width: 981px) {
    .et_pb_column_3_4 .et_pb_post_extra.el_dbe_block_extended .post-media,
    .et_pb_column_3_4 .et_pb_post_extra.el_dbe_block_extended .post-media-container,
    .et_pb_column_4_4 .et_pb_post_extra.el_dbe_block_extended .post-media,
    .et_pb_column_4_4 .et_pb_post_extra.el_dbe_block_extended .post-media-container {
        height: 250px;
    }
    .et_pb_column_4_4 .et_pb_post_extra.el_dbe_block_extended .post-content {
        padding: 30px 30px 60px 30px;
    }
    .et_pb_post_extra.el_dbe_block_extended .el-read-more-btn,
    .et_pb_post_extra.el_dbe_block_extended a.more-link {
        position: absolute;
        bottom: 50px;
    }
}

/* ── ABC extension knapp ────────────────────────────────────────────────────── */
#abc5a-ext-0-253 {
    background-color: #fa9000 !important;
}

/* ── Hero-formulär validering ───────────────────────────────────────────────── */
.error-val-hero {
    font-size: 12px;
    font-weight: bolder;
    clear: both;
    display: block;
    background: #ef6b1a;
    color: white;
    padding: 5px 14px !important;
    border-radius: 4px;
    margin-top: 8px;
    border: 1px solid #c02b0a;
}
.hide-results {
    display: none;
}
