body {
    background-color: #F7FAFC;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    padding: 0px;
    margin:0px;
    max-width: 100%;
    overflow-x:hidden;
}
.headerOuter,.headerGoAway{
    background-color: #0b4177;
    color: white;
    text-align: center;
    padding:12px;
    padding-left: 0px;
    padding-right: 0px;
    height:40px;
    width:100dvw;
    max-width: 100dvw;
    position: sticky;
    z-index: 300;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    top:0px
}
.headerGoAway{
    position: relative;
    padding: 0px;
    padding-top:10px;
    margin-bottom: -2px;
    height:30px;
    width:100dvw;
    max-width: 100dvw;
    z-index: 300;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
}
#headerTitle1,#headerTitle2{
    color: white;
    font-size: 35px;
    font-weight: 500;
    max-width: 95dvw;
    white-space: nowrap;
}
#headerTitle1{
    font-size: 22px;
    font-weight: 400;
}
#loadBlur{
    backdrop-filter: blur(5px);
    background-color: #ffffff55;
    width:100dvw;
    height:100dvh;
    position: fixed;
    top:0px;
    left:0px;
    z-index: 200;
}
#mapWrapperCenterer{
    width: 98vw;
    justify-items: center;
    padding-top: 1vw;
    padding-left: 1vw;
    padding-right: 1vw;
    padding-bottom: 10px;
}
.svg-wrapper {
    align-self: center;
    background: #f3faff;
    width: 98vw;  /* full viewport width */
    border: 1px solid #91b3e3;
    border-radius: 20px;
    overflow-x: auto; /* horizontal scroll */
    overflow-y: auto;     /* optional vertical scroll */
    -webkit-overflow-scrolling: touch; /* iOS momentum scrolling */
    touch-action: pan-x;                /* allow horizontal touch panning */
}

#world-svg {
    display: inline-block; /* allow it to exceed container width */
    width:100vw;
    min-width: 1200px; /* wider than viewport to enable scrolling */
    height: auto;
}
#infobox{
    position: absolute;
    left:100px;
    top:100px;
    width:300px;
    display: none;
    flex-flow:column nowrap;
    backdrop-filter: blur(12px);
    background-color: rgba(255,255,255,0.6);
    border-radius: 20px;
    padding: 10px;
    font-weight: 500;
}
#infoboxCloseBTN{
    border: #00000066 solid 1px;
    background-color: #00000015;
    color: #00000088;
    border-radius: 50%;
    position: absolute;
    text-align: center;
    font-size: 9px;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: center;
    height:19px;
    width:19px;
    top: 6px;
    right:6px;
    display: block;
    font-weight: 500;
}
@media (min-width: 480px) {
  #infoboxCloseBTN {
    display: block;
  }
    #bokLandListeHolderBlock{
    border-radius: 20px;
  }
}

@media (min-width: 800px) {
  #infoboxCloseBTN {
    display: none;
  }
    #bokLandListeHolderBlock{
    border-radius: 20px;
  }
  #moreInfoBttn:hover,.moreInfoBttn2:hover,.moreInfoBttn3:hover{
    transform: translateY(-2px);
  }
}

#infoBoxTitle,#infoBoxValue{
    color:rgb(0, 27, 56);
    font-size: 40px;
    cursor:default;
    align-items: center;
    height:100%;
    font-size: 50px;
    white-space: nowrap;
    max-width: 290px;
}

#infoboxHeader{
    display: flex;
    flex-flow:column nowrap;
    align-items: center;
    justify-content: space-between;
}

#moreInfoBttn{
    margin-top: 10px;
    padding: 12px 26px;

    font-size: 20px;
    font-weight: 600;
    font-family: inherit;

    color: #0b2a4a;
    background-color: #68b1ff;

    border: 1px solid #2F6DAE;
    border-radius: 15px;

    cursor: pointer;
    white-space: nowrap;

    transition:
        background-color 0.2s ease,
        transform 0.15s ease,
        box-shadow 0.15s ease;
}
.moreInfoBttn2,.moreInfoBttn3,.errorBttn{
    padding: 6px 13px;

    font-size: 18px;
    font-weight: 600;
    font-family: inherit;

    color: #0b2a4a;
    background-color: #68b1ff;

    border: 1px solid #2F6DAE;
    border-radius: 15px;

    cursor: pointer;
    white-space: nowrap;

    transition:
        background-color 0.2s ease,
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.moreInfoBttn3{
    opacity: 90%;
    color: #39434e;
    background-color: #c9cfd6;

    border: 1px solid #707479;
}

.errorBttn{
    color: #4e3939;
    padding: 8px,15px;
    background-color: #f9a1a1;
    border: 1px solid #ea3030;
}

#moreInfoBttn:hover,.moreInfoBttn2:hover{
    background-color: #8fc5ff;
    box-shadow: 0 6px 14px rgba(0,0,0,0.18);
}

#moreInfoBttn:active,.moreInfoBttn2:active,.moreInfoBttn3:active,.errorBttn{
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.moreInfoBttn3:hover{
    background-color: #d7d7d7;
    box-shadow: 0 6px 14px rgba(0,0,0,0.18);
}
.errorBttn:hover{
    background-color: #ffb0b0;
    box-shadow: 0 6px 14px rgba(0,0,0,0.18);
    transform: translateY(-2px);
}

#countryBookInfoHolder{
    display: flex;
    flex-flow: row nowrap;
    overflow-x: auto; /* horizontal scroll */
    -webkit-overflow-scrolling: touch; /* iOS momentum scrolling */
    /*touch-action: pan-x;                allow horizontal touch panning */
    overflow-y: hidden;
    padding: 20px;
    background-color: #f2f3f4;
}
#countryBookInfoTitle{
    margin-top: 20px;
    background-color: #f2f3f4;
    width:fit-content;
    min-width: 100px;
    font-size: 25px;
    padding-right:30px;
    padding-left:17px;
    padding-top:7px;
    border-top-right-radius: 30px;
    display: none;
}

#load-error{
    width:90vw;
    height:90vh;
    text-align: center;
    position: fixed;
    top:0;
    left:0;
    backdrop-filter: blur(10px);
    background-color: rgba(255,255,255,0.5);
    align-content: center;
    font-size: 100%;
    padding: 5%;
}

.sjangerShow{
    font-size: 18px;
    border-radius: 18px;
    padding:5px;
    padding-left:15px;
    padding-right:15px;
    width: fit-content;
    text-align: center;
    color: black;
    border:#f3faff, solid, 1.2px;
    margin-bottom: 6px;
}
#faglitteratur{
    border-color: #2F6DAE;
    background-color: #68b1ff;
}
#sakprosa{
    border-color: #38a180;
    background-color: #68fbcc;
}
#tegneserie{
    border-color: #E07A2D;
    background-color: #ffa763;
}
#skjønnlitteratur{
    border-color: #8A4FB3;
    background-color: #d191ff;
}
#countCOLOR{
    border-color: #5f6f82;
    background-color: #cfd9e6;
    margin-bottom: 0px;
}

.bookBottomContainer{
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: center;
}
.bookCard{
    height:110%;
    width:223px;
    min-width:200px;
    padding:7px;
    margin: 5px;
    border: 1.5px solid #b5e8b9;
    border-radius: 20px;
    background-color: #e7ffe9;
    display: flex;
    justify-content: space-between;
    flex-flow: column nowrap;
    align-items: center;
    text-align: center;
}
.bookInfo{
    margin-bottom: 8px;
    width:213px;
    padding:5px;
    max-height:91px;
    height:91px;
    font-size: 15px;
    background-color: #ddeeff;
    border-radius: 5px;
    border-width: 1px;
    border-style: solid;
    border-color: #a4cbef;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* iOS momentum scrolling */
    touch-action: pan-y;                /* allow horizontal touch panning */
}
.bookTitle{
    display: flex;
    justify-content: center; /* horizontal centering */
    align-items: center;     /* vertical centering */
    text-align: center;
    height:50px;
    font-size: 30px;
    max-width:220px;
    white-space: nowrap;
    margin-bottom: 2px;
}
.imageHolder{
    height:350px;
    margin-bottom: 6px;
}
.bookImg,.bookImgNoImg{
    height:350px;
}
.bookImgNoImg{
    width:200px;
    min-height:350px;
    min-width:200px;
    max-height:350px;
    max-width:200px;
    background-color: gray;
}

#bokLandListeHolderBlock{
    padding:1%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: baseline;
    align-items: center;
    width:calc(98dvw - 3px);
    background: #a1d8ff;
    border:#5d9bf1 solid 1.5px ;
    border-radius: 10px;
}

#bokLandListeHolder{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    align-items: start;
    width:100%;
    background: #a1d8ff;
}

#bokLandListeHolderCenterer{
    padding:1%;
    width:98vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

.landElement{
    border: rgb(158, 206, 255) solid 2px;
    background-color: #ffffff;
    border-radius: 15px;
    margin-top: 7px;
    padding: 0px 10px 0px 10px;
    height:50px;
    width: calc(100% - 20px);
    display: flex;
    flex-flow:row nowrap;
    align-items: center;
    justify-content: space-between;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}
.landElement:hover{
        box-shadow: 0 6px 14px rgba(0,0,0,0.18);
    transform: translateY(-2px);
}

.bokLandListeInfo{
    width: 45vw;
    white-space: nowrap;
}

.bokLandListeVAL{
    font-size: 25px;
}

#landListeHolderTopBar{
    width:100%;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: space-between;
    font-size: 22px;
    padding-left: 1vw;
}

#landListeHolderBarSpacer{
    font-size: inherit;
    width:fit-content;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: space-between;
    min-width: 150px;
    padding-right: 2vw;
    padding-left: 40px;
    white-space: nowrap;
}

#reverser{
    font-weight: 500;
    font-size: inherit;
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 8px;
    padding-right: 8px;
    text-align: center;
    margin-left: 7px;
    font-size: 20px;
    width:170px;
    white-space: nowrap;
}

@media (max-width: 500px) {
    #reverser{
    font-weight: 500;
    font-size: inherit;
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 2px;
    padding-right: 2px;
    text-align: center;
    margin-left: 7px;
    font-size: 12px;
    width:130px;
    white-space: nowrap;
}
}