/*Navbar layout */
.navBar {
    display: flex;
    margin-top: 15px;
    margin-bottom: 15px;
}

.Title {

    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 2;
    margin-left: 3%;
}

.date-layout-desc{
    flex: 3;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    align-items: flex-start;
    margin-right: 1%;



}

.statistikk {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-end;

}

.om-planbarometer {
    position: relative;  
    cursor: pointer;
    margin-bottom: 8px;
    margin-right: 60px;
    width: 230px; 
    text-align: center;
}

#om-pb-trigger {
    cursor: pointer;
    color: black;
    font-weight: bold;
    font-size: 14px;
}

#om-pb-trigger:hover {
    text-decoration: underline;
    color: #424c6e;
}

.om-pb-popup {
    display: none;
    position: absolute;
    top: 100%; 
    left: 0;
    background: white;
    border: 1px solid #6286bc;
    border-radius: 8px;
    padding: 12px 16px;
    width: 400px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    font-size: 16px;
    line-height: 1.5;
    text-align: left;
}

.om-planbarometer:hover .om-pb-popup {
    display: block;
}

.om-pb-logos {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
}

.om-pb-popup-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.vekstbarometer {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

.menuIcon {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-end;

}

.front-last-update{
    display: flex;
    justify-content: flex-end;
    width: 100%;


    font-size: 11px;
    height: 30px;
}

.pop-up-list{
    font-size: 11px;
    display: flex;
    align-items: flex-end;
    width: 100%;
    margin-top: 15px;



}

.the-pop-expl{

    flex: 2;
    display: flex;
    flex-direction: column;




}


#sist-oppdatert-id{

    display: flex;
    justify-content: flex-end;
    width: 70%;
    height: 100%;
    align-items: flex-end;


}

.tha-ul{
    padding-left: 20px;
    margin: 0px;
}


.layout-decription{


    justify-content: center;

}


.layout-spec{
    font-size: 9px;
    font-weight: bold;
    letter-spacing: 0.05em;

    margin-right: 3px;
    margin-left: 3px ;

    padding: 2px;
    width: 110px;


    display: flex;
    justify-content: center;

    align-items: center;


}

#lay-blue{
    background-color: #C9D2E5;

}

#lay-more-spec{
    font-size: 8px;
    display: flex;
    flex: 1;
    font-weight: normal;
}

#lay-gray{
    background-color: #B9BBB7;

}

#lay-pink{
    background-color:#F8B887 ;

}
.ringerikeOgLogo {
    display: flex;

}

/* Others */


body {
    margin: 0;
}

.ringerikeLogo {
    width: 20px;
}

.Title > div > h2 {

    margin: 0;
}

.statistikk > div > h4 {

    margin: 0;
}

.vekstbarometer > div > h4 {

    margin: 0;
}

.menyLogo {

    height: 40px;


}

.vekstbarometerLogo {
    height: 40px;
}



.ringerikeOgLogo > h2 {

    font-weight: normal;
}

.ringerikeLogo {
    margin-left: 7px;
}

.ringerikeOgLogo > h2 {

    display: flex;
    align-items: flex-start;
}

.ringerikeOgLogo > div {
    display: flex;
    align-items: flex-end;
}

.menuText{
    font-weight: 700;
    font-size: 13px;
    line-height: 18px;
    margin: 0;
}

.pbbText{
    line-height: 25px;

}
.iconsAndLogos{

    display: flex;
    justify-content: center;
    align-items: flex-end;
}

#forRingerike{
    color: #818181;

}

#pplanbarometer{

    color: #515151;
}
.pageLink > a {

    text-decoration: none;
    color: black;
}

.pageLink > a:hover, .navLinkss:hover {

    color: #393980;
    text-decoration: underline;
}

.navLinkss{
    text-decoration: none;
    color: black;

}


#milepel-pop-up{
    margin-bottom: 10px;
    margin-top: 7px;


}


/* Fremdrift og milepel pop-up */
#fremdrift-window, #milepel-window {
    display: none;
}

/* Custom theme for the popup tooltips */
.tippy-box[data-theme~='custom-popup'] {
    background-color: white;
    border: 1px solid #6286bc;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-size: 11px;
    padding-left: 10px;
    padding-right: 10px;

}

.tippy-box[data-theme~='custom-popup'] .tippy-content {
    padding: 10px;
    color: #333;
}

.tippy-box[data-theme~='custom-popup'] .tippy-arrow {
    color: white;
}

/* Make the list items look hoverable */
#fremdrift-pop-up, #milepel-pop-up {
    cursor: pointer;
    color: black;
}

#fremdrift-pop-up:hover, #milepel-pop-up:hover {
    text-decoration: underline;
    color: #424c6e;
}


/* Fremdrift-specific theme with custom width */
.tippy-box[data-theme~='fremdrift-popup'] {
    background-color: white;
    border: 1px solid #7676bc;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-size: 11px;
    width: 450px !important; /* Changed from 6000px to 500px */
    max-width: none !important; /* Remove any max-width restrictions */
}

.tippy-box[data-theme~='fremdrift-popup'] .tippy-content {
    padding: 10px;
    color: #333;
}

.tippy-box[data-theme~='fremdrift-popup'] .tippy-arrow {
    color: white;

}


