/*
 Theme Name:   Twenty Twenty Child
 Theme URI:    https://applia.rosamunda.dk/twentytwenty-child/
 Description:  Twenty Twenty Child Theme
 Author:       Susanne Rove
 Author URI:   https://www.easyweb.dk
 Template:     twentytwenty
 Version:      1.8.2
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  twentytwentychild
*/


:root .has-background-background-color {
    background-color: #e5e7dc;
}


.home .entry-header{
    display:none;
 }


.entry-content {
    font-family: "Exo 2","Helvetica Neue",Arial,sans-serif;
}

body {
    font-family: "Exo 2","Helvetica Neue",Arial,sans-serif;
    color: #58585a;
}

    body:not(.overlay-header)  body:not(.overlay-header) .primary-menu > li > .icon, .modal-menu a, .footer-menu a, .footer-widgets a, #site-footer .wp-block-button.is-style-outline, .wp-block-pullquote:before, .singular:not(.overlay-header) .entry-header a, .archive-header a, .header-footer-group .color-accent, .header-footer-group .color-accent-hover:hover {
        color: rgb(88,88,90) !important;
    }
    
    .modal-menu a{
        padding-top: 1rem;
        padding-bottom:1rem;
    }
    
    
    
    @media (min-width:700px){
        .modal-menu > li > .ancestor-wrapper > a{
            padding-top: 1rem;
            padding-bottom:1rem;
        }
    }
    
    .primary-menu, .primary-menu .menu-item{
        margin-top:0 !important;
    }


#site-content {
    background-color: #e5e7dc;
}

.entry-content .wp-block-column {
    border-top: solid #594955 2px;
}

/****************************************************
*
*              generiske
*
******************************************************/

.ew-header {
        color: #6d6d6d;
        text-decoration: none;
        font-size: 1.9rem;
        margin-left: 16px;
        text-align:left;
    }

.ew-top-border{
    border-top: 2px solid;
}

.ew-grey, .ew-grey a{
    color:#58585a;
}

.ew-bg-white, .ew-bg-white-ul ul {
    background-color:white;
}

.ew-bg-light-ul ul, .ew-bg-light{
    background-color: #f5f6f2; /* #f5f5f5;*/
}


.ew-light-bg{
    background-color: #e5e7dc; /* #f5f5f5;*/
}

.ew-grey-bg{
    background-color: #58585a;
}


.ew-dark-bg{
    background-color: #95bb80;  /* #cb9e59; #58585a;*/
    color:white;
}

.ew-light-border{
    border: 1px solid #e7e7e7;
}


.ew-margin-large{
    margin-top:0;/*20px;*/
    padding-top:40px;/*20px;*/
}

.ew-padding-large{
    padding-top:32px;
    padding-bottom: 32px;
}

.ew-padding-bt15{
    padding-bottom:15px;
}

.ew-small{
    font-size:14px;
}

/***** button *****/
.ew-lightBtn{
    display:inline-block;
    padding-top:10px;
    padding-bottom: 20px;
}
.ew-lightBtn a{
    background-color:#e7e7e7;
    padding:10px;
    text-decoration: none;
    color:#58585a;
    font-size:14px;
}
.ew-lightBtn a:hover{
    background-color:#dbdbdb;
}



@media (min-width: 1000px){
    .ew-padding-large{
        margin-left:16px;
    }
}

/****************************************************
*
*              header
*
******************************************************/
.site-header-box {
    box-shadow: 0 -1px 0 0 #f3f3f3 inset, 0 0 5px 0 rgb(0 0 0 / 3%);
}

.ew_header_I {
    position: fixed;
    width: 100%;
    z-index: 99;
    background-color:inherit;
}

.ew_header_II {
    padding-top: 90px;
    background-color:#375883;
}

    .appliaContainer, .categoriesHeader, .ew-posts-container {
        max-width: 1200px;
    }


.ew-categoriesMenu {
    display: block !important;
}


.appliaContainer, .categoriesHeader {
    margin-left: auto;
    margin-right: auto;
}

.breadcrumbSeparator{
    color:white;
}

.header-inner {
    height: 90px;
}

.appliaContainer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    
}

/*.appliaLogo {
    position: absolute;
    width: 100%;
    left:0;
    display: flex;
    justify-content: center;
}*/

.site-logo img {
    max-height: 5rem;
}

.applia-icon {
    width:28px;
}

.appliaLeft, .appliaRight {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

    .appliaLeft .toggle-text {
        display: none;
    }

.applia-nav-toggle {
    position:relative;
}

.applia-search {
    display: none !important;
}


.applia-menu-mobile {
    display: flex;
    margin-right:-2rem;
}

.toggle-wrapper {
    display: none;
}

.toggle-inner {
    height: 2.8rem;
    align-items:center;
}

.toggle-inner .toggle-text {
    /*padding-top: 0.5rem;*/
    /*left: 34px;*/
    z-index:1;
    text-transform:uppercase;
    font-size:14px;
    font-weight:700;
    position:static;
}


.applia-menu-desktop {
    margin-right: -3rem;
}
    .applia-menu-desktop ul {
        height:4.4rem;
        align-items:center;
    }
    .applia-menu-desktop ul ul{
        height: initial;
    }

    .applia-menu-desktop li {
        margin-left: 0;
        padding-left: 3rem;
        padding-right: 3rem;
        /*border-left: solid #efefef 1px;*/

        height: inherit;
        display: flex;
        align-items: center;
    }

        .applia-menu-desktop li::before {
            position: absolute;
            height: 32px;
            width: 1px;
            left: 0;
            top: 6px;
            content: '';
            background-color: #efefef;
        }


    .applia-menu-desktop a {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    }

.ew-menu-mini {
    position:relative;
}

    /*.ew-menu-mini button.ew-ani-button{
        padding-right:0;
    }*/

    .ew-menu-mini button.ew-ani-button .ew-burger,
    .ew-menu-mini button.ew-ani-button .ew-burger-txt {
        display: block;
    }

    .ew-menu-mini button.ew-ani-button .ew-luk,
    .ew-menu-mini button.ew-ani-button .ew-luk-txt {
        display: none;
    }

    .ew-menu-mini button.ew-ani-button.active .ew-burger,
    .ew-menu-mini button.ew-ani-button.active .ew-burger-txt {
        display: none;
    }
    .ew-menu-mini button.ew-ani-button.active .ew-luk,
    .ew-menu-mini button.ew-ani-button.active .ew-luk-txt {
        display: block;
    }


    .modal-menu > li > a, .modal-menu > li > .ancestor-wrapper > a {
    font-size: 1.9rem;
 }

    @media (min-width: 700px) {

        /*.modal-menu > li > a, .modal-menu > li > .ancestor-wrapper > a {
            font-size: 1.9rem;
        }*/


        .appliaLeft .toggle-text {
                display:block;
            }

        .applia-search {
            display: flex !important;
        }

            .ew-menu-mini::before {
                position: absolute;
                height: 32px;
                width: 1px;
                left: 0;
                top: 6px;
                content: '';
                background-color: #efefef;
            }

    }

    @media (min-width: 1000px) {

     /*   .menu-modal {
            justify-content:center;
        }

        .menu-modal-inner {
            width: 100%;
        }*/

       .header-titles-wrapper {
            margin-right: 0;
        }
        

        .toggle-wrapper {
            display: block;
        }


        .applia-menu-mobile {
            display: none;
        }

        

    }
    
/****************************************************
*
*              Blå boks i top
*
******************************************************/
    
    .bluebox {
        padding: 40px 0;
    }
    
    .bluebox ul.primary-menu{
        justify-content: center;
        color:white;
    }
    
/****************************************************
*
*              Footer
*
******************************************************/

.ew-footer-last{
    background-color:#375883 !important;
    font-size: 1.1rem;
    padding: 1rem 0;
}

.ew-footer-last .footer-copyright{
    color:white;
}

.ew-footer-last a{
    text-decoration: none;
}



/****************************************************
*
*              menu
*
******************************************************/
.ew-modal-inner .mobile-menu {
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.ew-modal-inner .modal-menu li {
    border: none;
}

.menu-modal {
    top:60px;
}
.admin-bar .menu-modal {
    top: 122px;
}

.ew-search-submit {
    position: absolute;
    right: 0;
    background-color: transparent;
    height: 44px;
    padding: unset;
    padding-right: 1.8rem;
}

.ew-search-field {
    /*font-size: 14px;*/
    line-height: 17.5px;
    height: 44px;
    /*padding-left: 12px;*/
    border-radius: 3px !important;
    box-shadow: 0 0 5px 0 rgba(0,0,0,.03) !important;
}

.ew-search-form {
    margin-top:20px;
}


/****************************************************
*
*              categoriesHeaderMenu
*              Kategorier i menu
*
******************************************************/
.categoriesHeaderMenu {
    padding-top:0;
    padding-right:2.5rem;
    padding-bottom: 2rem;
    padding-left:2.5rem;
}

.categoriesHeaderMenu .categoryMainItem {
        padding: 4px;
}

.categoriesHeaderMenu .categoryMainItem a {
    padding: 0;
    font-size: 1em;
    
}

.categoriesHeaderMenu div div {
    display: inline-block;
}

@media (min-width: 700px) {
   
    .categoriesHeaderMenu {
        display: flex;
        /*white-space: nowrap;*/
        /*height: 100px;*/
        align-items: center;
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 1rem 0; /*2.5rem;*/
    }
    
    .categoriesHeaderMenu .categoryMainItem {
        padding: 10px;
        width:33%;
        white-space:nowrap;
    }
}
/****************************************************
*
*              categoriesHeader
*              bånd øverst på tværs af siden
*
******************************************************/
.categoriesHeader {
    display: none;
    justify-content: center;
    white-space: nowrap;
    height: 100px;
    align-items: center;
}

.EWcategoriesListItem {
    display: list-item !important;
}

.categoryMainItem.subcategoryMainItem a {
    font-size: 1.6rem;
}


.categoriesHeader div {
    display: inline-block;
    text-transform:uppercase;
}
.categoryMainItem {
    padding: 0 10px;
}
    .categoryMainItem a {
        color: white; /*#6d6d6d;*/
        text-decoration: none;
        font-size: 1.9rem;
    }
.categoryColorItem {
    margin-bottom:2px;
    width: 8px;
    height: 8px;
    border-radius: 4px;
    margin-left:4px;
    margin-right:4px;
    /*margin-bottom:-2px;
    width: 4px;
    height: 19px;
    margin-left:4px;
    margin-right:10px;
    transform:matrix(1,0,-0.445229,1,0,0);*/
}

@media (min-width: 700px) {
    .categoriesHeader a{
        /*font-weight: 700;*/
    }
}

@media (min-width: 1100px) {
    .categoriesHeader {
        display: flex;
    }
}


/****************************************************
*
*              sidekolonner
*
******************************************************/


@media (min-width: 1000px) {
    .ew-content-col {
        float: left;
        margin-right: 2%;
        width: 67%;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }
       

        .ew-right-col {
            float: right;
            width: 31%;
            min-width: 300px;
        }
}


/****************************************************
*
*              posts
*
******************************************************/


.ew-posts-container {
    width:100%;
}

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

article {
    /*background-color:white;*/
    /*max-width:480px;*/
}

.ew-featured-media img {
    width:100%;
}



.ew_category_stamp {
    position: absolute;
    color: white;
    padding: 3px 8px 5px;
}

.ew_category_stamp_Annonce{
    position:relative;
}
.ew_category_stamp_Annonce div{
    position:absolute;
    right:0;
    background-color:white;
    color:black;
    padding: 3px 8px 5px;
}

.ew-post-top {
    padding-top:15px;
    padding-bottom:15px;
    margin:auto;
    font-weight:300;
    font-size:1.6rem;
    text-overflow:ellipsis;
}

.ew-post-headline {
    margin: 15px 0 !important;
    margin-top:-4px;
    font-weight: 700;
    font-family: Glegoo,Georgia,serif !important;
    font-size: 1.9rem;
}

.ew-post-headline a {
    text-decoration: none;
    color:initial;
}

.ew-ReadMoreExcerpt p {
    margin-bottom: 0;
    font-family: "Exo 2","Helvetica Neue",Arial,sans-serif;
    font-size:1.6rem;
    font-weight:400;
}

.ew-ReadMoreExcerpt a {
    text-decoration: none;
    color:initial;
}

.ew-post-top, .ew-post-headline {
    max-width: 58rem;
    width: calc(100% - 4rem);
}

.ew-content-col article {
            margin: 16px;
            margin-top:0;
            flex-basis: 45%;
        }
    @media (min-width: 1000px) {

        
            .ew-content-col article:first-child {
                flex-basis: 100%;
                max-width: none;
            }

                .ew-content-col article:first-child .ew-post-headline {
                    font-size: 2.3rem;
                }

                .ew-content-col article:first-child .ew-post-top,
                .ew-content-col article:first-child .ew-post-headline,
                .ew-content-col article:first-child .ew-ReadMoreExcerpt p {
                    max-width:100% !important;
                }

    
}
/****************************************************
*
*              Search
*
******************************************************/
.ew-search-form-page{
    flex-basis: 100%;
}

.ew-search-form-page form{
    position:relative;
    margin:16px;
    margin-top:0;
}
.ew-search-form-page .search-field{
    margin:0;
}

article.ew-SearchArticles{
    flex-basis: 100% !important;
    margin-bottom: 0;
}

.ew-SearchArticles .ew-post-headline, .ew-SearchArticles .entry-content p{
    max-width: 100% !important;
}

.ew-search-headline{
    margin: 15px auto;
    font-weight: 700;
    font-family: Glegoo,Georgia,serif;
    font-size: 1.9rem;
    width: calc(100% - 4rem);
}

.ew-search-headline a{
    text-decoration: none;
    color:initial;
}

/****************************************************
*
*              article header
*
******************************************************/



.ew_article_header_headline {
    padding-top: 3rem;
    padding-bottom: 3rem;
    color: white;
}

.ew_article_header_top {
    display: inline-block;
    padding: 5px 15px 7px;
    margin-top: 1px;
    font-size: 1.5rem;
}

.ew_article_header_top a {
    text-decoration: none;
    color: inherit;
    font-weight: 700;
    
}

.ew_article_header_headline h1 {
    font-size: 2.6rem;
    font-family: Glegoo,Georgia,serif;
    font-weight: 700;
    margin-top:0;
    margin-bottom:0;
}


@media (min-width: 700px) {

    .ew_article_header h1 {
        font-size: 4.4rem;
    }
}

/****************************************************
*
*              article content
*
******************************************************/


.has-dropcap p {
    font-family: Glegoo,Georgia,serif;
    font-size: 1.3em;
    margin-bottom: 0;
    line-height: 30px;
}

    .has-dropcap:first-letter {
        float: left;
        margin: .25em .1em 0 0;
        font-size: 2.7em;
        font-weight: 700;
        line-height:30px;
    }
    
    .ew-article {
        padding-bottom:24px;
        min-height: 104px;
    }
    
    @media (min-width: 1000px) {
        .ew-article{
            min-height: 116px;
        }
    }
    
    
/****************************************************
*
*              ew widget
*
******************************************************/

.ew-widget-title{
    padding-left:20px;
    padding-right:20px;
}

.ew-widget ul{
    margin:0 !important;
    list-style:none;
    
}

.ew-widget ul li{
    margin:0;
    border-bottom: solid #e7e7e7 1px;
    
}

.ew-widget a{
    text-decoration: none;
    color:inherit;
    display:block;
    font-weight: normal;
}

.ew-widget li a{
    padding:20px;
}

.ew-widget li a:hover{
    background-color:#f5f5f5;
    text-decoration: none;
}

.ew-widget h3{
    margin:0;
    font-size: 1em;
    line-height: 2.5em;
}



/****************************************************
*
*              faktaboks
*
******************************************************/
.ew-faktabox{
    border:solid black 1px;
    background-color:silver;
    padding:20px;
    font-weight: lighter;
}

@media (min-width: 1000px) {
    .ew-faktabox{
       width:33%;
       float:right;
    } 
}


/****************************************************
*
*              medlemsliste
*
******************************************************/

.EW-medlemsliste{
    width:500px !important;
    margin-left: auto;
    margin-right: auto;
}

.ew-medlemslisteItem{
    background-color: #e5e7dc;
    margin-top: 15px;
    margin-bottom: 15px;
    padding:20px;
    height:180px;
    display:flex;
    align-items: center;
    border-radius: 3px;
}

.ew-medlemslisteItem a{
    text-decoration: none;
    color:black;
}

.ew-medlemslisteLeftBox{
    width:30%;
    background-color:white;
    height:100%
}
.ew-medlemslisteLeftBox img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ew-medlemslisterightBox{
    flex-grow: 1;
    margin-left:14px;
}

.ew-medlemslisteBox{
    background-color:white;
    height:100%;
    object-fit: contain;
}
.ew-medlemslisteBox img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (min-width: 1000px) {
    .EW-medlemsliste{
    width:auto !important;
    display:flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
    
    .ew-medlemslisteItem
    {
        flex-grow: 1;
        width:45%;
    }
    
    .ew-medlemslisteItem:nth-child(odd)
    {
        margin-right:15px;
    }

    .ew-medlemslisteItem:nth-child(even)
    {
        margin-left:15px;
    }
   
}

/****************************************************
*
*              medlemsprofil
*
******************************************************/
.medl_profil{
    padding:20px;
    display:flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.medl_profil .medl_profil_box{
    /*float:left;padding-right:10px;*/
    width:100%;
    padding:20px;
    line-height: 1.3em;
}

.medl_profil .medl_profil_box a{
    color:inherit;
}

.medl_profil .medl_profil_box h2{
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 10px;
}

.ewLeftborder{
    display:none;
    
}

.medl_profil_topbox{
    max-height:230px;
}

.medl_profil_topbox div, .medl_profil_topbox img{
    height:100%;
    object-fit:contain;
}

.medl_profil_blikfang{
    display:none;
    justify-content:flex-end;
}



@media (min-width: 550px) {
    .medl_profil{
        flex-wrap: nowrap;
    }
    
    .medl_profil .medl_profil_box{
        /*float:left;padding-right:10px;*/
        width:auto;
        min-width: 33%;
        
    }
    
    
    
    
    .ewLeftborder{
        display:block;
        width:1px;
        max-width: 1px;
        border-left: solid #58585a 1px;
    }
    
    
}

@media (min-width: 800px) {
    .medl_profil_blikfang{
        display:flex;
    }
    
    .medl_profil .medl_profil_topbox{
        /*float:left;padding-right:10px;*/
        max-width: 50%;
        
    }
}


.fa-2x{
    margin-right:10px;
}

.mapouter{position:relative;text-align:right;}

.gmap_canvas {overflow:hidden;background:none!important;}



/****************************************************
*
*              owl
*
******************************************************/

/*.owl-carousel{
    background-color:white;
}*/

.dbj_Medlemsbaand {
    padding:20px;
    background-color:white;
    margin-bottom:20px;
}


/****************************************************
*
*              To historier
*
******************************************************/

.toHistorier {
    /*margin: -16px;*/
    padding-left: 2rem;
    padding-right: 2rem;
    column-gap: 42px;
}

@media (min-width: 1130px){
    .toHistorier {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }
}

.toHistorier .toSubHistorier {
    /*margin: 16px;*/
    margin-top: 0;
    /*flex-basis: 47%;*/
    background-color: white;
    border-top: 2px solid;
    border-color: #594955;
    max-height: 480px;
    overflow: hidden;
    flex-basis: 0;
    flex-grow: 1;
}

        .toHistorier .toSubHistorier .histContentDiv {
            padding: 15px 20px;
            border-top: 1px solid #e7e7e7;
            font-size:1.6rem;
        }

    .toHistorier .toSubHistorier .histImgDiv {
            height:250px;
            overflow:hidden;
    }
.histImgDiv img {
    width: 100%;
}



