/* Mesam tabs */


.mesam-nav-tabs > .nav-item {
    /* padding: 15px 40px; */
    padding: 25px 60px;
    font-size: 24px;
    cursor: pointer;
    background-color: #fff;
    border: 1px solid #ddd;
    position: relative;
    margin-bottom: 2px;
}

.mesam-nav-tabs > .active.nav-item {
    background-color: #f2f2f2;
    z-index: 21 !important;
}
div.attachment-link a{
    word-break: break-word;
}
.custom-slider p{
    color: #fff;
    text-align: center;
    font-family: Helvetica, sans-serif;
    margin: 0;
}
.custom-slider img{
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 25px;
    width: 37px;
    height: 37px !important;
}
.custom-slider{
    /* display: flex; */
    background-color: #181818;
    border-radius: 40px;
    padding: 25px 0;
    margin-top: -44px;    
    font-size: 16px;
}
.custom-slider .col{
    width: 50%;
}
.custom-slider .col:nth-child(odd){
    padding: 0 0 0 30px;
}
.custom-slider .col:nth-child(even){
    padding: 0 30px 0 0;
}
.slick-track{
    margin-left: 0;
}
.slick-slider .slick-arrow{
    background: url(./arrow.svg) 50% no-repeat;
    background-size: 140%;
    background-color: transparent;
    font-size: 0;
    border: 0;
    width: 35px;
    height: 35px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -10px;
    z-index: 1;
}
.slick-slider .slick-arrow[type=button]:focus, 
.slick-slider .slick-arrow[type=button]:hover, 
.slick-slider button.slick-arrow:focus, 
.slick-slider button.slick-arrow:hover{
    background-color: transparent !important;
    outline: none;
}
.slick-slider .slick-arrow.slick-next{
    left: auto;
    right: -10px;
    transform: translateY(-50%) rotate(180deg);
}
.slick-slider .slick-arrow.slick-arrow[aria-disabled='true']{
    opacity: .5;
}
.custom-slider .visible-desktop{
    display: none;
}

.nyheter-slider .item{
    /* margin: 0 45px; */
}
.nyheter-slider .title,
.nyheter-single-slider .title{
    font-size: 24px;
    color: #000;
}

.nyheter-single-slider .title{
    font-weight: 600;
    margin-bottom: 20px;
}
.nyheter-slider .date,
.nyheter-single-slider .date{
    color: #808080;
    font-size: 14px;
    margin-bottom: 15px;
}
.nyheter-slider .slick-arrow.slick-prev{
    left: -50px;
    padding: 0;
}
.nyheter-slider .slick-arrow.slick-next{
    right: -50px;
    padding: 0;
}

.nyheter-single-slider .slick-arrow.slick-prev{
    left: -40px;
    top: 40px;
}
.nyheter-single-slider .slick-arrow.slick-next{
    right: -40px;
    top: 40px;
}
.nyheter-single-slider .title span:last-child{
    display: none;
}
.custom-slick-prev img,
.custom-slick-next img{
    cursor: pointer;
}
.custom-slick-prev img[aria-disabled="true"],
.custom-slick-next img[aria-disabled="true"]{
    opacity: .5;
}

@media screen and (min-width: 1024px) {  
    .custom-slider .visible-desktop{
        display: block;
    }   
    .custom-slider .visible-mobile{
        display: none
    }  
    .nyheter-slider .item{
        margin: 0;
        /* margin-right: 55px; */
    }
    .nyheter-slider .item a{
        display: flex;
        flex-direction: column;
    }
    .nyheter-slider .item[data-slick-index="1"] a{
        padding-left: 18px;
        padding-right: 20px
    }
    .nyheter-slider .item[data-slick-index="2"] a{
        padding-left: 33px;
    }
    .nyheter-single-slider .desc{
        display: none;
    }
    
    .nyheter-single-slider .title{
        cursor: pointer;
    }
    .nyheter-single-slider .title span:last-child{
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

@media screen and (max-width: 767px) {    
    .mesam-tabs{    
        box-shadow: 0 -1px 10px 1px rgb(0 0 0 / 15%);
        overflow: hidden;
        border-radius: 20px;
    }
    .mesam-nav-tabs > .nav-item{
        margin: 0;
        border: none;
        box-shadow: 0 -1px 10px 1px rgb(0 0 0 / 15%);
        background-color: #f6f6f6;
    }
    .mesam-nav-tabs > .active.nav-item{
        background-color: #fff;
    }
    .mesam-nav-tabs > .nav-item:first-child{
        border-radius: 20px 20px 0 0;
    }
}

@media(min-width: 768px){
    .nyheter-single-slider .item{
        padding: 20px;
    }
}

@media screen and (min-width:768px){
    .custom-slider{
        display: flex;
        padding: 45px 0;
        font-size: 18px;
    }
    .custom-slider img{
        width: 55px;
        height: 55px !important;
        margin-bottom: 30px;
    }
     
    .custom-slider .col:nth-child(odd),
    .custom-slider .col:nth-child(even){
        padding: 0 10px;
    }
    .mesam-nav-tabs {
        display: flex;
    }
    .mesam-nav-tabs > .nav-item {
        border: none;
        background-color: #f2f2f2;
        border-top-right-radius: 20px;
        border-top-left-radius: 20px;
        box-shadow: 0 0 10px 1px rgba(0,0,0,0.3);
        margin-bottom: 0;
    }
    .mesam-nav-tabs > .active.nav-item {
        background-color: #fff;
    }
    .mesam-nav-tabs > .nav-item:not(:first-child) {
        margin-left: -25px;
    }
    .nav-item:first-child .tab-corner.corner-left {
        display: none;
    }
    .nav-item .tab-corner {
        position: absolute;
        bottom: -10px;
        background: #f2f2f2;
        display: block;
        width: 30px;
        height: 30px;
        overflow: hidden;
    }

    .nav-item .tab-corner::before {
        content: '';
        border-radius: 50%;
        border: 20px solid #f2f2f2;
        box-shadow: inset 0 0 10px 1px rgba(0,0,0,0.3);
        width: 80px;
        height: 80px;
        position: absolute;
    }
    .nav-item:not(.active) .tab-corner::before{
        box-shadow: inset -1px 6px 10px 1px rgb(0 0 0 / 30%);
    }

    .nav-item.active .tab-corner::before {
        border-color: #fff;
    }
    
    .nav-item:last-child .tab-corner.corner-right {
        background: #fff;
    }

    .tab-corner.corner-left {
        left: -20px;
    }
    .tab-corner.corner-left:before {
        right: -10px;
        bottom: -10px;
    }

    .tab-corner.corner-right {
        right: -20px;
    }
    .tab-corner.corner-right::before {
        left: -10px;
        bottom: -10px;
    }
    .custom-slider .col{
        width: 25%;
    }
    
}

.mesam-tab-content {
    z-index: 20;
}
.mesam-tab-content > .mesam-tab-pane:not(.active) {
    display: none;
}

.mesam-tab-pane {
    padding: 25px 35px;
    background-color: #fff;
}

@media screen and (min-width:768px){
    .mesam-tab-content {
        box-shadow: 0 0 10px 1px rgba(0,0,0,0.3);
        position: relative;
    }

    .mesam-tab-content,
    .mesam-tab-pane{
        border-bottom-right-radius: 20px;
        border-bottom-left-radius: 20px;
        border-top-right-radius: 20px;
    }

    /* .mesam-tab-content::after{ */
    .mesam-nav-tabs > .active::after {
        content: '';
        position: absolute;
        background: #fff;
        bottom: -20px;
        left: 0;
        right: 0;
        height: 20px;
        z-index: 22;
    }

    .mesam-tab-content .mesam-tab-pane {
        display: flex;
        padding-top: 90px;
    }
    .mesam-tab-content .mesam-tab-pane > * {
        padding: 0 25px;
    }
    .mesam-tab-content .mesam-tab-pane .mesam-tab-body {
        width: 70%;
    }
    .mesam-tab-content .mesam-tab-pane .mesam-tab-body:last-child {
        width: 100%;
    }
    .mesam-tab-content .mesam-tab-pane .mesam-tab-meta {
        width: 30%;
    }
    
}
.mesam-tab-content .mesam-tab-pane .mesam-tab-meta .attachment-link {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: nowrap;
    margin-bottom: 15px;
}

.mesam-tab-content .mesam-tab-pane .mesam-tab-meta .attachment-link .icon{
    min-width: 44px;
    margin-right: 25px;
}
.mesam-tab-content .mesam-tab-pane .mesam-tab-meta .attachment-link .icon > img {
    width: 100% !important;
}
.mesam-tab-content .mesam-tab-pane .mesam-tab-meta h6 {
    width: 100%;
}

.mesam-tabs h6 {
    font-size: 1em !important;
}
.mesam-tabs a,
.mesam-tabs a:hover,
.mesam-tabs a:active,
.mesam-tabs a:visited {
    color: var( --e-global-color-1a7d14f );
}



/* Mesam tabs */