@charset "utf-8";

@font-face {
    font-family: "Uni Neue W05";
    src: url("/fonts/uni_neue_w05_400.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Uni Neue W05";
    src: url("/fonts/uni_neue_w05_700.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* #D22536 */
body, html {
    background-color: #fafafa;
}
body {
    padding-bottom: 10rem;
    font-family: "Uni Neue W05" !important;
}

.mainNavBar {
    background-color: #D22536 !important;
    font-family: "Uni Neue W05";
    font-weight: 700;
}

button.navbar-toggler {
    border: none;
}
.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, .7%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* a {
    color: #D22536;
} */

.btn-primary {
    /* background-color: #D22536;
    border-color: #D22536; */
    font-weight: 700;
}

/* .btn-primary:hover {
    background-color: #ad1f2d;
    border-color: #ad1f2d;
} */

/* .btn-primary.focus, .btn-primary:focus {
    color: #fff;
    background-color: #ad1f2d;
    border-color: #ad1f2d;
    box-shadow: 0 0 0 0.2rem rgba(210,37,54,.5);
} */

/* .btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show>.btn-primary.dropdown-toggle {
    background-color: #ad1f2d;
    border-color: #ad1f2d;
} */

/* .btn-primary:not(:disabled):not(.disabled).active:focus, .btn-primary:not(:disabled):not(.disabled):active:focus, .show>.btn-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(210,37,54,.5);
} */

.hero1 {
    /* background: url(/data/DSC_0246.JPG), linear-gradient(rgba(0,0,0,0) 69%, rgba(255,0,0,1) 70%, rgba(20,0,0,0.8) 100%); */
    /* background: url(/data/DSC_0246.JPG), linear-gradient(rgba(0,0,0,0) 70%, rgba(210, 37, 54, 1) 100%); */
    background: url(/assets/squooshed/DSC_0246.webp), linear-gradient(rgba(0,0,0,0) 70%, rgba(0, 0, 0, 0.5) 100%), linear-gradient(rgba(0,0,0,0) 80%, rgba(0, 0, 0, 0.5) 100%);
    background-blend-mode: overlay;
    background-position: center 20%;
    background-repeat: no-repeat, repeat-x, repeat-x;
    background-attachment: fixed, scroll, scroll;
    min-height: 60vh;
    min-height: 60svh;
    background-repeat: no-repeat;
    background-size: cover, cover, cover;
    border-radius: 0;
    display: flex;
    flex-flow: row nowrap;
    padding: 2rem 0;
    margin-bottom: 0;
    user-select: none;
    position: relative;
    transition: min-height .4s;
}

.hero1 h1 {
    position: relative;
    display: inline-block;
    align-self: center;
    text-align: center;
    flex: 1 100%;
    color: #ffffff;
    font-weight: 700;
    font-size: 2.5rem;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.4);
}
.hero1 h1 > span {
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 2px;
    margin: 0 auto;
    display: block;
    margin-top: .5em;
}

.hero1.hero-smaller {
    min-height: 40vh;
    min-height: 40svh;
    background-position: center 25%;
}

#main-nav {
    top: 0;
    z-index: 100;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
#main-nav .nav-item:hover > a {
    color: #ffffff !important;
}

@media (min-width: 768px) {
    .hero1 h1 {
        margin-left: 5rem;
        align-self: flex-end;
        line-height: 1;
        text-align: left;
        font-size: 4.5rem;
        text-shadow: 2px 2px 15px rgba(0,0,0,0.1);
    }
    .hero1 h1 > span {
        margin-left: 2rem;
        font-size: 2rem;
        font-weight: 200;
    }

    #main-nav .nav-item:after {
        content: '';
        position: relative;
        display: block;
        bottom: 0;
        left: 50%;
        width: 100%;
        background: #ffffff;
        height: 2px;
        opacity: 0;
        width: 0%;
        transform: translateX(-50%);
        transition: width 0.2s, opacity 0.2s;
    }
    #main-nav .nav-item:hover:after {
        opacity: 1;
        width: 100%;
    }
    #main-nav .nav-item.active:after {
        display: none;
    }
    .kontakt-card address {
        margin-top: 0 !important;
    }
}

#main-nav-brand {
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.5s, opacity 0.3s;
}
#main-nav.attached #main-nav-brand {
    transform: translateY(0%);
    opacity: 1;
}

.card-container > * {
    transition: transform 0.2s;
}
.card-container:hover > * {
    transform: scale(1.04);
}
.card-container {
    position: relative;
    height: 100%;
    display: block;
    color: initial;
}
.card-container:hover {
    color: initial;
    text-decoration: none;
}

.shadow-card {
    position: relative;
    height: 100%;
    box-shadow: 0px 0px 45px 6px rgb(0 0 0 / 5%);
    border-radius: 3px;
    background-color: #ffffff;
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
}

.card-bottom {
    margin-top: auto;
    text-align: right;
}

.image-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.3s;
}
.image-card {
    padding: 0 !important;
}
.card-container > .image-card:after {
    content: '';
    background-color: #000000;
    opacity: .4;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: background-color 0.4s, opacity 0.3s;
}
.card-container:hover > .image-card:after {
    opacity: .3;
    background-color: #ad1f2d;
}
.image-card .card-content {
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    padding: 3rem 1rem;
    text-align: center;
    color: #ffffff;
    overflow: hidden;
    text-shadow: 0 0 4px rgba(0,0,0,1);
}
.image-card .card-content {
    transform: translateY(1rem);
    transition: transform 0.3s;
}
.card-container:hover > .image-card .card-content {
    transform: translateY(0);
}
.image-card .card-content > p {
    opacity: 0;
    transition: opacity 0.3s;
}
.card-container:hover > .image-card .card-content > p {
    opacity: 1;
}



/* .no-bg-btn primary */

.no-bg-btn {
    text-decoration: none !important;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
}
.no-bg-btn:hover {
    color: #D22536;
}

.no-bg-btn:after {
    content: '';
    position: relative;
    display: block;
    bottom: 0;
    left: -10%;
    background-color: rgba(210, 37, 54, 0);
    width: 0;
    height: 2px;
    transition: width 0.3s, background-color 0.5s;
}

.no-bg-btn:hover:after {
    width: 120%;
    background-color: #D22536;
}

@media (max-width: 575px) {
    .display-4 {
        font-size: 2rem;
    }
}
@media (max-width: 991px) {
    .main-cards > div {
        margin: 1rem 0;
    }
}


.display-4 {
    color: #212121 !important;
    font-weight: 700 !important;
}



.footerContactInfo > div {
    line-height: 1.7rem;
}
.footerContactInfo > div .feather {
    width: 1em;
    height: 1em;
    margin-top: -3px;
}












.tjanster-card {
    margin-bottom: 1.5rem!important;
}
.tjanster-card h2 {
    font-weight: 700;
    font-size: 1.7rem;
}
.tjanster-card .card-content > svg {
    width: 80px !important;
    height: 80px !important;
    stroke-width: 1px;
}

.kontakt-card .profile-circle > img {
    max-width: 100%;
    position: relative;
    top: 100%;
    transform: translateY(-100%);
    /* border-radius: 5px; */
}
.kontakt-card > .shadow-card {
    flex-direction: inherit !important;
    padding: 0;
    overflow: hidden;
}
.kontakt-card > .shadow-card .row {
    margin: 0;
}
@keyframes icon-fade-in {
    0% {
        width: 0em;
        margin-right: 0em;
        opacity: 0;
    }
    100% {
        width: 1em;
        margin-right: .3em;
        opacity: 1;
    }
}
.kontakt-card svg.feather {
    height: 1em;
    animation-name: icon-fade-in;
    animation-duration: 1s;
    animation-fill-mode: both;
}
/* .kontakt-card {
    border: 3px solid black;
    border-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='100' height='100' viewBox='0 0 100 100' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Cstyle%3Epath%7Banimation:stroke 1.5s 1 linear%3B%7D%40keyframes stroke%7Bto%7Bstroke-dashoffset:776%3B%7D%7D%3C/style%3E%3Cpath d='M1.5 1.5 l97 0l0 97l-97 0 l0 -97' stroke-linecap='square' stroke='%23D22536' stroke-width='3' stroke-dasharray='388'/%3E %3C/svg%3E") 1;
} */
.tjanstImage {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    aspect-ratio: 1;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    /* box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5); */
}
.tjanstImage.centered {
    top: 50%;
    transform: translateY(-50%);
}

.tjanstIframe {
    width: 100%;
    min-height: 50vh;
    border: none;
    box-shadow: 0 0 1px 1px #aaa;
}

.bgImageBanner {
    background: url(/elkedjan/assets/hero1_full.jpg), rgba(255, 37, 54, .3);
    background-blend-mode: overlay;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 30vh;
    color: #ffffff;
    position: relative;
}

.bgImageBanner > h1 {
    position: absolute;
    display: block;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    font-size: 3em;
}

.tjanst-header {
    word-break: break-all;
    line-height: .8;
}

.fullboxLink {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.read-more-link {
    font-size: 0 !important;
    color: #D22536;
}
.read-more-link::before {
    content: 'Läs mer';
    font-size: 1.1rem !important;
}


.policy-docs h3 {
    margin-top: 2rem;
}
.policy-docs p {
    margin-bottom: .5rem;
}

@keyframes scroll-mark {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}
.scroll-to-mark {
    position: absolute;
    width: 100%;
    background-color: #D2253622;
    animation-name: scroll-mark;
    animation-delay: 2s;
    animation-duration: 3s;
    animation-iteration-count: 1;
    animation-fill-mode: both;
    pointer-events: none;
}

.ptm_transitioned {
    opacity: 1;
    /* transform: scale(1); */
    transform: scale(1) translateY(0);
    transition: opacity .2s, transform .2s;
}
.ptm_transitioning {
    opacity: 0;
    /* transform: scale(.96); */
    transform: scale(.96) translateY(-2%);
    transition: opacity .2s, transform .2s;
}