﻿
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;700&amp;display=swap');
.data-handler-container {
    font-family: 'Noto Sans' !important;
    font-weight: lighter;
    margin: 0px !important;
    padding: 0 !important;
    min-width: 100vw !important;
    width: 100vw !important;
    max-width: 100vw !important;
    min-height: 100vh !important;
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
    transform-origin: top left;
    background-repeat: no-repeat;
    background-size: cover;
    color: #0D4538 !important;
    text-align: center;
    font-weight: lighter;    
    background-color: #C3E6A7 !important;
    position:relative;    
}

.data-handler-container .main {
    overflow-y: auto !important;
    max-height:90vh;
}
.data-handler-container .bottom-holder {
    max-height: 9vh;
    height: 9vh;
    position: absolute;
   bottom: 80px;
    width:100%;
    padding-left:10px;
}
.data-handler-container a, .data-handler-container a:hover, .data-handler-container a:active {
    color: #0D4538 !important;
}
.data-handler-container .header-01{  
  font-size:6vw;
  text-transform:uppercase;
  width:85%;
  margin-left:auto;
  margin-right:auto;
  font-weight:lighter;
  padding:0!important;  
  font-weight:bold;
    margin-bottom: 1em;
margin-top: 1em;
}
.data-handler-container .grdContainer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "venstre hoyre";
    gap: 0;
    width: 100vw;
    min-height: 35vw;
    align-items: start;
}
.grdContainerItem.venstre {
    grid-area: venstre;    
}

.grdContainerItem.hoyre {
    grid-area: hoyre;
}

.data-handler-container .grdContainer .grdContainerItem{
    min-height:100%;        
    display: flex; /* gjør det mulig å styre vertikal plassering */
    align-items: flex-start;
}
.data-handler-container .grdContainer .grdContainerItem .sub-grid{
     width:100%;
    display: grid;
    grid-template-columns: 4fr  1fr;
    grid-gap: 0;    
    align-items: start;
    
}
.data-handler-container .grdContainer .grdContainerItem .sub-grid .price-item  div{
    width:100%;
    padding-right:1em;
    text-align: right!important; 
}
.data-handler-container .grdContainer .grdContainerItem .sub-grid .sub-grid-item{
     display: flex; /* gjør det mulig å styre vertikal plassering */
    align-items: flex-start;
    flex-direction: column;
}
.data-handler-container .grdContainer .grdContainerItem .sub-grid .sub-grid-item h1{
    font-size:2.0vw;
    padding:0!important;
    margin:0!important;
}
.data-handler-container .grdContainer .grdContainerItem .sub-grid .sub-grid-item p{
     font-size:1.0vw;
    padding:0!important;
    margin:0!important;    
    
}
.data-handler-container .grdContainer .grdContainerItem:first-child {
    font-size: 2.5vw;
    text-align: left;
    padding-left: 20px;
    display: flex;
    grid-area: venstre;    

}
.data-handler-container .grdContainer .grdContainerItem:last-child {
    font-size: 2.5vw;
    background-image: url(/WidgetImages/777/logo/blomst.png);
    background-position:top center;
    background-repeat:no-repeat;
    background-size:auto 35vw;
    text-align:center;
    display: flex;    
    justify-content: center;  /* Horisontal sentrering (valgfritt) */
    text-align: center;
    color:rgb(205, 230, 192);
    align-items: flex-start;
    grid-area: hoyre;

}
.data-handler-container .grdContainer .grdContainerItem .info-text{
    margin-top:8vw;
    height:2vw;
}
.data-handler-container .bottom {
    width: 100%;
    max-height: 100vh;
    height: 100vh;
}
.data-handler-container .bottom table {
    width: 100%;
    border-collapse:collapse;
    height: 90px;
}
.data-handler-container .bottom table tr td:nth-child(1){
    text-align:left;        
    padding:0;    
    position: relative;
}
.data-handler-container .bottom table tr td  a{
    padding-left:5px;
}

.data-handler-container .bottom table tr td:nth-child(2)  {        
    width: 70px;
    height: 70px;
    background-image: url('/WidgetImages/777/logo/logo.png?p=2');
    background-repeat: no-repeat;    
    background-size: contain;
    background-position: right top; 
    text-align: left;          
}
.data-handler-container .bottom .home-image {
    width: 50px;
    height: 50px;
    background-image: url('/WidgetImages/777/logo/home.png?p=3');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left top;
    cursor: pointer;
    position: absolute;
    top: 5px;
    left: 5px;
}

@media screen and (max-width: 700px) {
    .data-handler-container .grdContainer {
        grid-template-columns: 1fr;
        grid-template-areas: "venstre" "hoyre";
                 
    
    }
    .data-handler-container .grdContainer .grdContainerItem:last-child{
        min-height:35vw;
    }
}

@media screen and (min-width: 300px) and (max-width: 1440px) and (orientation: portrait) {
    .data-handler-container .grdContainer .grdContainerItem .sub-grid .sub-grid-item p {
        font-size: 2.0vw;
    }

    .data-handler-container .grdContainer .grdContainerItem .sub-grid .sub-grid-item h1 {
        font-size: 4.0vw;
    }

    .data-handler-container .grdContainer .grdContainerItem .sub-grid .sub-grid-item .price-item {
        font-size: 4.0vw;
    }

    .data-handler-container .grdContainer .grdContainerItem .sub-grid .price-item {
        padding-right: 1vw;
    }

    .data-handler-container .header-01 {
    }
}
@media screen and (min-width: 300px) and (max-width: 1440px) and (orientation: portrait ) {
    .data-handler-container .grdContainer .grdContainerItem .sub-grid .sub-grid-item p {
        margin-bottom: 20px !important;
    }

    .data-handler-container .grdContainer .grdContainerItem .sub-grid .sub-grid-item h1 {
        font-size: 4vw !important;
    }

    .data-handler-container .grdContainer .grdContainerItem .price-item {
        font-size: 4.0vw !important;
    }
}
@media screen and (max-height: 300px)  {
    .data-handler-container .header-01 {
        margin-top: 25px !important;
        margin-bottom: 25px !important;         
    }
    .data-handler-container .grdContainer {
        max-height: 100px!important;
        min-height: 100px!important;        
    }

    .data-handler-container .grdContainer .grdContainerItem .sub-grid {
        max-height: 100px !important;
        min-height: 100px !important;
        overflow-y: auto;
    }
}

@media screen and (min-height: 300px) and (max-width:1450px) and (orientation: landscape ) {

    .data-handler-container .header-01 {
        margin-top: 25px !important;
        margin-bottom: 25px !important;
        font-size: 4vw;
    }

    /*.data-handler-container .grdContainer {
        max-height: 200px !important;
        min-height: 200px !important;
    }*/

    /*.data-handler-container .grdContainer .grdContainerItem .sub-grid {
        max-height: 200px !important;
        min-height: 200px !important;
        overflow-y: auto;
    }

    .data-handler-container .grdContainerItem.hoyre {
        font-size: 3vh !important;
        background-size:contain!important;
    }

    .data-handler-container .grdContainerItem.hoyre .info-text {
        margin-top: 13vh;
        height: 2vw;
    }*/
}


@media screen and (min-width: 1620px) {
    .data-handler-container .header-01 {
        font-size: 4vw;
    }
}
@media screen and (min-width: 2680px) and (orientation: landscape ) {
    .data-handler-container .header-01 {
        font-size: 3vw;
    }

    .data-handler-container .grdContainer .grdContainerItem .sub-grid .sub-grid-item p {
        margin-bottom: 40px !important;
    }

    .data-handler-container .grdContainer .grdContainerItem:last-child {
        font-size: 1.2vw;
        background-size: auto 25vw;
    }

    .data-handler-container .grdContainer .grdContainerItem:first-child {
    }

    .data-handler-container .grdContainer .grdContainerItem .sub-grid .sub-grid-item h1 {
        font-size: 1.4vw;
    }

    .data-handler-container .grdContainer .grdContainerItem .sub-grid .price-item div {
        font-size: 1.4vw;
    }
}
@media (min-width: 1280px) and (max-width: 8024px){
    .data-handler-container .bottom-holder {
        bottom: 10px;
    }

    .data-handler-container .bottom .home-image {
        width: 70px;
        height: 70px;
    }

    .data-handler-container .bottom table tr td:nth-child(2) {
        width: 90px;
        height: 90px;
    }
    
}
@media (min-width: 1080px) and (max-width: 1920px) and (orientation:portrait) {
    .data-handler-container .header-01 {
        margin-top: 4vh;
        margin-bottom: 6vh;
    }
    .data-handler-container .bottom-holder {
        bottom: 10px;
        max-height: 5vh;
        height: 5vh;
    }

    .data-handler-container .bottom .home-image {
        width: 70px;
        height: 70px;
    }

    .data-handler-container .bottom table tr td:nth-child(2) {
        width: 90px;
        height: 90px;
    }
    .data-handler-container .grdContainer .grdContainerItem .sub-grid .sub-grid-item h1 {
        font-size: 2.5vw !important;
    }

    .data-handler-container .grdContainer .grdContainerItem .price-item {
        font-size: 2.5vw !important;
    }
}