﻿/*
Theme Name: Twenty Twenty Child Custom
Theme URL: https://dbjob.dk/
Description: Twenty Twenty Child Custom Theme
Author: SR
Author URL: https://dbjob.dk/
Template: twentytwenty
Version: 1.0.2
Text Domain: twentytwenty-child
*/



/*
    generiske basis
  
*/
/****** U G E S K R I F T E T **********************/
/*******************************
*
*   generiske basis
*
*******************************/

:root {
    --dbjBasisBack: white; /* laerer */
    --dbjPrimary: rgb(240 248 255); /*lyseblå */
    --dbjPrimarySecondary: #e7e6e6; /*laerer gråbrun lys*/
    --dbjSecondary: #b0143e; /*pink*/
    --dbjFooter: rgb(231,230,230);
    --dbjYellow: #fde8d8; /*laerer lyserød*/
    --dbjBokse: white;
    --dbjTxtPrimary: black;
    --dbjTxtSecondary: black; /*mørkegrå*/
    --contentWidth: 640px;
    --contentWiderWidth: 740px;
    --defaultFontSize: 1.3rem;
    --font-family: BatonTurboWeb-Regular, sans-serif;
    --seniorI: #507879; /*laerer grøn*/
}

@font-face {
    font-family: 'BatonTurboWeb-Regular';
    src: url('fonts/BatonTurboWeb-Regular.woff') format('woff'), url('fonts/BatonTurboWeb-Regular.woff2') format('woff2');
    //src: url('../fonts/Futuris.eot?#iefix') format('embedded-opentype'), url('../fonts/Futuris.woff2') format('woff2'), url('../fonts/Futuris.woff') format('woff'), url('../fonts/Futuris.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    color: black;
}

a {
    color: var(--dbjTxtSecondary) !important;
}

.site-logo img{
    max-height: 40px !important;
}


#site-header::before {
    position: absolute;
    content: "";
    background-color: var(--dbjPrimarySecondary);
    width: 100%;
    height: 100%;
    opacity: 0.3;
    z-index: -99;
}

.dbj_frontpageSpecific {
    background-position-x: center;
    background-size: cover;
}

.dbj_frontpageSpecific #site-header{
    background-color: transparent !important;
}

.post-inner{
    padding-top:0;
}

.footer-widgets-outer-wrapper {
    border-color: transparent;
}
@media (min-width: 700px) {
    .footer-widgets-outer-wrapper {
        padding: 4rem 0;
    }
}

.dbj_searchBackgroundImage {
    height: 470px;
    align-items: flex-end;
}
@media (max-width: 640px) {
    .dbj_searchBackgroundImage {
        height: 340px;
    }
}

.dbj_linkButton, input.dbj_linkButton {
    color: white !important;
    background-color: #686868 !important;
    font-size: 14px;
}

.dbj_jobSearchBox {
    margin-bottom: 64px;
}
@media only screen and (max-width: 640px) {
    .dbj_jobSearchBox form {
        flex-direction: initial;
    }

    .dbj_jobSearchBox {
        margin-bottom: 32px;
    }
}
@media only screen and (max-width: 440px){
    .dbj_jobSearchBox form {
        flex-direction: column;
    }

    .dbj_jobSearchBox {
        margin-bottom: 0;
    }
}


.dbj_jobSearchBox .dbj_small_tm{
    display:none; /*!*/
}

.dbj_leftBannerBox
{
    margin-bottom:10px;
}


.dbj_boxtype_advanced header {
    color:black;
}


@media (max-width: 1250px) {
    .regionlist{
        display:none;
    }

    .dbj_joblist_main{
        gap:0;
        align-items:stretch;
        flex-direction:column;
    }

    .dbj_boxtype_advanced form {
        flex-direction: row;
        justify-content: center;
        align-items:start;
    }
    .dbj_boxtype_advanced {
        width: 100%;
        max-width: var(--contentWiderWidth);
        margin: 0 auto;
    }

    .dbj_jobagentBox, .dbj_leftBannerBox {
        display: none;
    }
        .dbj_boxtype_advanced header {
            display: none;
        }

    .dbj_leftWidget {
        float:none;
    }

    
    
}
@media (max-width: 400px) {
    .dbj_boxtype_advanced form {
        flex-direction: column;
        justify-content: center;
    }
}

@media (min-width: 1250px) {
    .dbj_leftWidget {
        float: right;
    }
}

    .regionlist {
        width: 230px;
        background-color: rgb(213,215,198);
        padding: 20px;
    }


    .dbj_headerBox {
        background-color: transparent;
        color: var(--seniorI);
        font-size: 21px;
        font-weight: normal;
        padding-left: 0;
        padding-top: 0;
        padding-bottom: 0;
    }

    .dbj_fullwidth_area {
        padding-top: 0;
    }


.dbj_whitebox input[type=email] {
    border-radius: 0;
    padding: 1.5rem 1.8rem;
    font-size: 1.6rem;
}

.dbj_whitebox input[type=submit] {
    color: var(--dbjTxtSecondary);
}


    /************menu **************/
#lj_Burger_outer{
    padding-top:unset;
}

    #lj_Burger_outer span {
        height: 2.6rem;
        width: 2.6rem;
    }

    #lj_Burger_outer svg {
        height: 2.6rem;
        width: 2.6rem;
    }



body:not(.overlay-header) #site-header .toggle {
    color: var(--dbjPrimary)
}


    .primary-menu a:hover, .primary-menu a:focus, .primary-menu .current_page_ancestor {
        text-decoration: none;
        color: rgb(131,131,131) !important;
    }

    .primary-menu li.current-menu-item > a {
        color: var(--seniorI) !important;
    }

    .dbj_whitebox form div {
        padding-bottom: 0;
    }

/* orange i knap menu - den yderste til højre*/

#site-header .primary-menu-wrapper ul li:last-child a {
    background-color: var(--dbjSecondary);
    color: #fff !important;
    -webkit-transition: background .3s ease;
    transition: background .3s ease;
    padding: 0.4em 1.1em;
    font-weight: normal;
    margin-top: -0.8rem;
    border-radius:5px;
}
    #site-header .primary-menu-wrapper ul li:last-child a:hover{
        opacity:.8;
    }

    #site-header .primary-menu-wrapper ul li:last-child a:before {
        /*content: url(images/lock-solid.svg);*/
        position: relative;
        display: inline-block;
        width: .9em;
        font: normal normal normal 0.9em/1 FontAwesome;
        font-size: inherit;
        color: #000;
        text-align: center;
        text-rendering: auto;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        padding-right: 0.3em;
        margin-right: 5px;
    }
    }
    /**************** header ***************************/
    .header-inner {
    padding: 2rem 0;
}

    @media (min-width: 700px) {
        .header-inner {
            padding: 2rem 0;
        }
    }

    @media (min-width: 1000px) {
        .header-inner {
            padding: 2rem 0;
        }
    }

    .lj_flame {
        width: 20px;
        display: inline-block;
        margin-right: 20px;
        margin-bottom: -5px;
    }


    /************* footer ***********************/
@media (min-width: 700px) {
    .footer-widgets {
        margin-left: 0;
        width: 100%;
    }
    .footer-widgets-wrapper {
        margin-left:0;
        width:100%;
        display:block;
    }
}


.footer-nav-widgets-wrapper {
    color: rgb(100,100,100);
}

    #site-footer .section-inner{
        display:block;
    }

/*@media (min-width: 700px) {*/
    #site-footer {
        padding: 0;
    }
/*}*/



    .lj_footerList {
        display: flex;
        justify-content: space-between;
    }

        .lj_footerList > div {
            flex-basis: 30%;
        }

    .lj_footerHeader {
        border-bottom: solid black 1.6px;
        padding-bottom: 1em;
        margin-bottom: 1em;
    }

    .lj_footerListing {
        padding: 0.4em 0;
        font-size: 1.5rem;
        margin:0;
        font-weight:normal;
    }

        .lj_footerListing a {
            color: black !important;
            text-decoration: none;
            font-size: 1.5rem;
        }

            .lj_footerListing a:hover {
                text-decoration: underline;
            }

    
    .dbj_absoluteFooter {
        font-size: 1.5rem;
        line-height: 2em;
    }

        .dbj_absoluteFooter a {
            color: black !important;
        }


    span.lj_nobreak {
        white-space: nowrap;
    }

    @media (max-width: 500px) {
    .lj_footerList {
        flex-direction:column;
    }
    .lj_footerHeader {
        padding-bottom: 0;
        margin-bottom: 0;
        margin-top:1em;
    }
}

    /**************************/
    .dbjHeader {
        color: black; /*!*/
        padding-top: 1em;
        text-align:center;
    }

        .dbjHeader h2, .dbjHeader h3 {
            display: inline;
            font-weight: normal;
            font-size: 2.5rem;
            letter-spacing: -0.015em;
        }


        /********* knap ***************/
        .dbj_jobSearchBox form input[type="submit"], .dbj_boxtype_advanced form input[type="submit"] {
            color: white;
        }

    .dbj_jobSearchBox form input[type="submit"] {
        font-size:1.3rem;
        padding-top:0.85em;
        padding-bottom:0.85em;
    }


    /**** søgning med faneblad **********/
    /*#jobSearchFaneblad form div {
        text-align: right;
    }*/

    .dbj_faneblad .dbj_faneblad_active{
        color:black
    }

    #jobSearchFaneblad div.dbj_miniTxt{
        margin-top: 5px;
    }

        #jobSearchFaneblad .dbj_miniTxt, #jobSearchFaneblad div.dbj_miniTxt a {
            color: black !important;
        }

            #jobSearchFaneblad div.dbj_miniTxt h2, #jobSearchFaneblad h1.dbj_miniTxt {
                font-size: 1.2rem;
                font-weight: normal;
            }

            #jobSearchFaneblad h1.dbj_miniTxt{
                margin-bottom: 0.5rem;
                margin-top:0;
            }


    /***** søge dropdowns ********/
    .dbj_boxtype_advanced select {
        color: #a19f9f;
        border-radius: 5px;
        padding: 1.1rem 0.8rem;
        font-size: 1.3rem;
        -webkit-appearance: none; /* fjern default-visning af dropdown-box på iphone */
    }

    .dbj_boxtype_advanced select option:first-child{
        color:red;
    }

    /****** søgeboks på jobs-siden ***************/
    .dbj_boxtype_advanced #dbj_searchit{
        height:41px;
    }

    input#dbj_searchit::placeholder {
        color: #a19f9f;
    }


    /***** jobrullator**************/
    .dbj_jobrullator .item {
        border: solid #d8d8d8 1px;
    }

        .dbj_jobrullator .item a {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

            .dbj_jobrullator .item a font {
                text-transform: none; /*!*/
                font-size: 14.4px !important; /*!*/
            }

            .dbj_jobrullator .item a b {
                text-align: center;
            }

/********* faktaboks *****************/
.dbj_boxtype_std.dbj_smal {
    display: none;
}

.dbj_boxtype_std.lj_factbox {
    display: flex;
    column-gap:10px;
}

@media (max-width: 1250px) {
    .dbj_boxtype_std.lj_factbox {
        display: none;
    }
    .dbj_boxtype_std.dbj_smal {
        display: block;
        display: flex;
        column-gap: 10px;
    }
}



.dbj_boxtype_std.lj_factbox, .dbj_boxtype_std.dbj_smal {
    background-color: white;
    border-left: solid black 1px;
    border-bottom: solid black 1px;
    font-weight: normal;
    padding: 20px;
    width: 270px;
    
}

.lj_factboxHeader {
    display:flex;
    column-gap:10px;
}

.factboxitem {
    margin-bottom: 10px;
}
.factboxitem b {
    font-weight: normal !important;
    color: #000000;
}

.factboxitem font {
    color: #a19f9f;
}
    /********* lærerjob - cirkel med optælling af job **********/
    .lj_ledigeJobCounterArea {
        column-gap: 55px;
        padding-top: 1em;
        padding-bottom: 1em;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: var(--dbjPrimary);
    }

    .lj_ledigeJobItem {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

.lj_jobCounterTxt {
    color: black;
    display: inline-block;
    margin-right: 0;
    margin-top: 0.5em;
    font-size: 0.9em;
}

.lj_jobCounter {
    text-align: center;
    font-size: 1.2em;
    font-weight:bold;
}

.lj_circleContainer a:hover div {
    color: #5ca9bd !important;
}
.lj_circleContainer a div {
    text-decoration:underline;
}


        @media (max-width: 570px) {

            .lj_ledigeJobCounterArea {
                justify-content: space-evenly;
                column-gap: normal;
            }

    }


    /***** pink blok på forsiden ***********/

    .lj_blueRow {
        color: white;
        background-color: var(--dbjSecondary);
        padding: 2em 0;
        gap: 30px;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .lj_opretprofil_knap a {
        background-color: var(--dbjSecondary) !important;
        color: white !important;
        text-transform: initial;
        border:solid white 2px;
        padding: 0.6em 3em;
    }

    /**** blokade ********/

    .lj_blokade {
        text-align: center;
        padding: 2em 0;
    }

        .lj_blokade a {
            display: flex;
            justify-content: start;
            align-items: center;
            gap: 44px;
            background-color: #f7f7f7;
            max-width: 263px;
            margin: 20px auto;
            -webkit-box-shadow: 3px 3px 6px rgba(0,0,0,.15);
            -moz-box-shadow: 3px 3px 6px rgba(0,0,0,.15);
            box-shadow: 3px 3px 6px rgba(0,0,0,.15);
            padding: 1em;
        }

        .lj_blokade img {
            content: url("images/dlf_logo_dark_green.ashx");
            width: 45px;
        }

        .lj_blokade span {
            color: black;
            font-size: x-large;
        }

    /***** rekrutteringsguiden ***********/
    @media (max-width: 1000px) {
        .lj_rekruttering {
            display: none !important;
        }
    }

    .lj_rekruttering {
        gap: 30px;
    }

        .lj_rekruttering a {
            padding: 0;
            color: black !important;
            text-decoration: underline;
        }

            .lj_rekruttering a:hover {
                opacity: 0.5;
            }
    

    /***** artikler - grøn blok *******/

.ugeskr_nyhedsheader{
    text-align:left;
    display:flex;
}

    .ugeskr_nyhedsheader h3{
        margin: auto 10px;
    }

    .lj_lgroenBG ul.wp_rss_retriever_list, .ugeskr_nyhedsheader {
        width: 960px;
    }

.ugeskr_graficon {
    width:24px;
}



@media (max-width: 1000px) {
    .lj_lgroenBG {
            display: none;
        }
    }
.lj_lgroenBG {
    background-color: var(--dbjPrimary);
    padding-bottom: 1em;
}

.wp_rss_retriever {
    display: flex;
    justify-content: center;
}

    .wp_rss_retriever ul:before, .wp_rss_retriever ul:after {
        content: none;
    }

.lj_lgroenBG .wp_rss_retriever_item {
    margin-left: 0 !important;
    line-height: normal;
}

        .lj_lgroenBG ul.wp_rss_retriever_list {
            margin-bottom: 0;
            align-items: start;
            
        }

    .lj_lgroenBG div.wp_rss_retriever_item_wrapper {
        display: flex;
        flex-direction: column;
        border-left: solid black 1px;
        border-bottom: solid black 1px;
    }



.lj_lgroenBG div.wp_rss_retriever_item_wrapper a {
    color: black !important;
}

            .wp_rss_retriever_image{
                order:1;
            }
            .wp_rss_retriever_title{
                order:2;
                padding-left:10px;
                height: 60px;
                max-height:60px;
                font-size:1.7rem;
            }
            .wp_rss_retriever_metadata {
                order: 3;
                padding-left: 10px;
                display:flex;
            }


    /******  jobdetaljer jopoplistning ********/

    .dbj_jobHeadline a {
        text-transform: initial;
    }

    .dbj_jobbet {
        color: black;
        letter-spacing: normal;
    }
        .dbj_jobbet .dbj_linkButton{
            display:inline-block;
        }

        .dbj_jobCompanyname, .dbj_jobBody {
            font-size: 1.1em;
        }

    .dbj_jobbox {
        border-bottom: solid rgb(216, 216, 216) 0.8px;
    }


    /******* jobrotator2 ******/

    .jobrotator2 font {
        color: var(--seniorI);
    }

    @media (max-width: 1250px){
        .jobrotator2 {
            display: flex;
            justify-content: center;
            flex-wrap:wrap;
        }
    }


.dbj_jobdetails .wp-block-button__link, .wp-block-button__link {
    background-color: var(--dbjSecondary) !important;
}


    /****** jobagenbox *********/

    .dbj_jobagentBox {
        color: #ffffff;
        background-color: #dd8da0;
    }

        .dbj_jobagentBox .wp-block-button {
            margin-top: 16px;
        }

            .dbj_jobagentBox .wp-block-button a {
                background-color: var(--dbjSecondary) !important;
                text-transform: initial;
                font-weight: normal;
            }



    /****** fixed widget - widget som er klistret til bunden af siden *************/

    


    .dbj_fixedWidget {
        background: var(--dbjSecondary);
        width: 300px;
        padding: 15px 17px 10px 17px;
        text-align: center;
        position: fixed;
        left: 0;
        bottom: 10px;
        z-index: 999999;
        display:flex;
        justify-content:space-between;
	border-radius:10px;

    }

    @media (max-width: 500px) {
        .dbj_fixedWidget {
            display: none;
        }
    }

        .dbj_fixedWidget > div a {
            display:flex;
            flex-direction:column;
            font-size:11px;
            align-items:center;
            color:white !important;
            row-gap:10px;
        }

        .dbj_fixedWidget a {
            text-decoration:none;
        }

        .lj_phone {
            background: url(images/phone.svg);
        }

    .lj_mail {
        background: url(images/mail.svg);
    }

    .lj_speaker {
        background: url(images/speaker.svg);
    }

    .lj_phone, .lj_mail, .lj_speaker {
        height: 25px;
        width:25px;
        background-repeat: no-repeat;
    }


 /**********  prispakker *****************/



/*** ### desktop-visning ### ***/

.lj_prisblok_desktop {
    display: none
}

@media (min-width: 660px) {
    .lj_prisblok_desktop {
        display: block
    }
}

.lj_prisblok_desktop > div
{
    display:flex;
    justify-content:space-between;
    column-gap:30px;
}

.lj_prisblok_desktop div span{
    flex-basis:20%;
    text-align:center;
    padding:20px;
    border:solid #eee 1px;
    column-gap:20px;
}

.lj_prisblok_desktop div span:first-child {
    flex-basis: 40%;
    text-align:left;
    flex-grow:initial;
    display:flex;
}

.lj_prisblok_desktop img {
    width: 30px;
    min-width: 30px;
    height:fit-content;
}

.lj_prisblok_desktop .pris_header {
    font-size: 2rem;
}

.lj_prisblok_desktop .pris_header span:first-child{
    border-top:none;
    border-left:none;
    border-right:none;
}

.lj_prisblok_desktop a {
    background-color: var(--dbjPrimary);
    color: #fff !important;
    padding: 0.4em 1.1em;
    font-weight: normal;
    margin-top: -0.8rem;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.8rem;
}




/*** ### mobil-visning ### ***/
@media (min-width: 660px) {
    .lj_prisblok_mobil {
        display: none
    }
}


.lj_pakke > div {
    padding: 20px;
    border-top: solid #eee 1px;
}

.lj_pakkeLine {
    display: flex;
    /*justify-content: space-around;*/
    align-items: center;
    column-gap: 20px;
    
    
}

.lj_pakke h1:last-of-type {
    border-top: solid #eee 1px;
}

    .lj_pakke {
        margin-bottom: 40px;
        border: solid black 2px;
        border-radius: 18px;
    }

    .lj_pakke h1 {
        text-align:center;
        padding:3rem;
        margin:0;
    }

.lj_pakkeLine img {
    width: 30px;
    min-width: 30px;
}

.lj_pkTxt{
    flex-grow:1;
}

.lj_pakke a {
    background-color: #507879;
    padding: 10px;
    border-radius: 18px;
    width: 90%;
    display: block;
    text-align: center;
    margin: 0 auto;
    color: white !important;
    text-decoration: none;
    font-size: 2rem;
}



/**********  om lærerjob - speciel visning af et område på siden */

.lj_rekruttering_blok {
    background-color: #ebf2eb;
    margin: 0 calc(50% - 50vw);
    padding: 20px;
}
    .lj_rekruttering_blok div {
        width: calc(100% - 5rem);
        max-width: 120rem;
        margin: 0 auto;
        padding: 0 20px;
    }


/************** collapse - fold ud og ind i jobagent ********************/

.lj_collapse_button {
    background-color: #eee;
    color: black;
    cursor: pointer;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    border-radius: 0 !important;
    margin-bottom: 10px;
}

    .lj_collapse_button:after {
        content: '\002B'; /* Unicode character for "plus" sign (+) */
        font-size: 12px;
        color: black;
        float: right;
        margin-left: 5px;
    }

    /* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
    .lj_active, .lj_collapse_button:hover {
        background-color: #ccc;
    }

        .lj_active:after {
            content: "\2212"; /* Unicode character for "minus" sign (-) */
        }

/* Style the collapsible content. Note: hidden by default */
.lj_collapse {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}


/*******hot job ***********/
@media (max-width: 1250px) {
    .lj_hot_right .dbj_headerBox {
        margin: 0 auto;
    }
}

@media (min-width: 1250px) {
    .lj_hot_right {
        background-color: #ededed;
        border-radius: 5px;
        padding: 20px;
        width: fit-content;
    }

        .lj_hot_right .jobrotator2 div {
            border-radius: 5px;
        }
}


    /****** orange "ny" tag ****************/

    .lj_newTag {
        padding-left: 20px;
    }

        .lj_newTag div {
            background-color: var(--dbjSecondary);
            color: white;
            display: inline-block;
            padding: 3px 10px;
            border-radius: 12px 12px 12px 12px;
            font-size: 1.5rem;
        }


/****** lærerjob specials **********/

.dbj_lj_h3 {
    font-weight: normal;
    letter-spacing: -0.015em;
}

.dbj_lj_h4 {
    margin: 0;
    font-weight: normal;
    font-size: unset;
    display: inline;
}



/************** ugeskrift bannersektion *************/

.ugeskr_banner {
    display: flex;
    justify-content: space-between;
    flex-wrap:wrap;
}

.ugeskr_annoncehead {
    width:100%;
    color:gray;
}

@media (max-width: 1000px) {
    .ugeskr_banner {
        flex-direction: column;
        row-gap:16px;
    }

    .ugeskr_annoncehead {
        width: 300px;
        position: relative;
        margin: 0px auto;
    }

    
}

@media (max-width: 1250px) {
    .dbj_smalrows {
        flex-direction: column;
        row-gap: 10px;
        border:none !important;
    }
}

