@charset "UTF-8";

:root{
	--body-color: #ffffff;
	--theme-color: #F3FAFF;
	--theme-color2: #F39442;
	--theme-color3: #538252;
	--theme-color4: #2B70A8;
}



#front-intro, #sluttnotat{
    background-color: var(--theme-color);


    /*
    background: #FDC830; 
    background: -webkit-linear-gradient(to right, #F37335, #FDC830);  
    background: linear-gradient(to right, #F37335, #FDC830); 
 
    background: #FFEFBA; 
    background: -webkit-linear-gradient(to right, #FFFFFF, #FFEFBA); 
    background: linear-gradient(to right, #FFFFFF, #FFEFBA); 
    

    background: #fffc00; 
    background: -webkit-linear-gradient(to right, #ffffff, #fffc00);  
    background: linear-gradient(to right, #ffffff, #fffc00); 
    
    background: #FFE000;  
    background: -webkit-linear-gradient(to right, #799F0C, #FFE000); 
    background: linear-gradient(to right, #799F0C, #FFE000);
    */
    
}


.karusell-bildetekst{
   top: 35%;
   color: black;
}

.carousel-item{
    border-top-left-radius: 80vh;
    border-bottom-left-radius: 80vh;
    background-size: cover !important;
    background-position: center center !important;
}

#carousel-controls-front{
    width: 100px;
    height: 100%;
    position: absolute;
    top:0;
    bottom:0;
}

.carousel-control-next{
    left: 55px;
}

.carousel-control-next, .carousel-control-prev{
    opacity: 1;
    width: 40px;
}

.carousel-indicators{
    margin: 0;
    height: 100%;
    width: 30px !important;
    flex-direction: column;
}

.carousel-indicators button{
    border-radius: 100%;
    width: 30px !important;
    height: 30px !important;
    border: 0px solid transparent !important;
    margin-top: 5px;
    margin-bottom: 5px;
}

.carousel-indicators button:hover{
    opacity: 0.8;
}

.carousel-indicators button:active{
    opacity: 0.3;
}



.carousel-control-prev-icon:active, .carousel-control-next-icon:active{
	opacity:0.5;
}

.carousel-indicators [data-bs-target]{
    background-color: var(--theme-color2);
}

.carousel-indicators{
    left: 51vw;
}

@media (max-width: 1200px){
    .carousel-indicators button{
        width: 10px !important;
        height: 10px !important;
    }
}


@media (min-width: 1300px ){

    .carousel, .carousel-item{
        height: 80vh;
        width: 120vw;
    }

}



@media (min-width: 1200px){

 
    .carousel{
        margin-left: 5vw;
    }


    .carousel, .carousel-item{
        height: 70vh;
        width: 60vw;
    }

    .karusell-bildetekst{
        top: 35%;
        width: 40%;
    }


}

@media (min-width: 768px) and (max-width: 1199.98px ){

    .carousel{
        margin-left: 0%;
    }

    .carousel, .carousel-item{
        height: 50vh;
        width: 120vw;
    }

    .karusell-bildetekst{
        top: 21%;
        width: 40%;
    }

    .carousel-indicators{
        left: 84vw;
    }

}


@media (min-width: 577px ) and (max-width: 767.98px){

    .carousel{
        margin-left: 0;
        min-width: 700px;
    }

    .carousel-item{
        height: 400px;
        min-width: 700px;

    }

    .karusell-bildetekst{
        top: 21%;
        left: 5%;
        width: 50%;
    }

    .carousel-indicators{
        left: 84vw;
    }
}


@media (max-width: 576.98px ){


    .carousel{
        margin-left: 3%;
        min-width: 130vw;
    }

    .carousel-item{
        border-top-left-radius: 50vh;
        border-bottom-left-radius: 50vh;
        height: 400px;
        min-width: 130vw;
    }

    .karusell-bildetekst {
        top: 20%;
        left: 9%;
   }

    .karusell-bildetekst h2{
        top: 20%;
        left: 9%;
        width: 50%;
        margin-bottom: 110px;
    }

    .karusell-bildetekst p{
        text-align: center;
        width: 90%;
        font-size: 20px;
    }

    .carousel-indicators{
        left: 85vw;
    }

}

@media ( max-width: 360px ){

    .carousel{
        margin-left: 0%;
        min-width: 150vw;
    }

    .carousel-item{
        height: 45vh;
     }
}



.the-content{
    border-bottom: 1px solid var(--theme-color2);
    border-top: 1px solid var(--theme-color2);
}

.faktaboks-content{
    text-align: center;

    /*
    background-image: url('/wp-content/themes/stiftelsen/img/pynt-horiz.svg'), url('/wp-content/themes/stiftelsen/img/pynt-horiz.svg');
    background-position: center -32%, center 132%;
    
    background-size: contain, contain;
    background-repeat: no-repeat, no-repeat;
    */


}

.faktaboks a{
    transition: all 0.3s;
    transform: translateZ(1px);
}

.faktaboks:hover a, .faktaboks a:focus{
    transform: scale(1.1, 1.1);
    text-decoration: none;
}

@media (max-width: 767.98px){
    .faktaboks{
        width: unset;
    }

}

.faktaboks-bilde{
    font-size: 26px;
    color: black;
    height: 60px;
}

.faktaboks-tekstalt{
    font-size: 50px;
    font-weight: 700;
    background: linear-gradient(#F96A42, #E4562E, #DD3809);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    height: 52px;
    line-height: 100%;
}


.faktaboks-tittel{
    font-size: 26px;
    color: black;
}

.faktaboks-border{    
    border-bottom: 1px solid var(--theme-color2);
    width: 155px;

}

.bruksomrade-item-content{
    border-bottom: 1px solid var(--theme-color2);
    height: 100%;

}

.sluttnotat-bilde{
    background-repeat: no-repeat;
}

@media ( min-width: 768px ){
    .sluttnotat-bilde{
        border-radius: 200px;
        height: 500px;
        width: 100%;
        background-size: cover;
    }
}

@media ( max-width: 767.98px ){
    .sluttnotat-bilde{
        border-radius: 200px;
        height: 300px;
        width: 150vw;
        margin-left: -50vw;
        background-size: 130vw auto;
        background-position: 105% 60%;

    }
}

