

@media (max-width:40000px){
  .topNavMeny{
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
  }
}
@media (max-width:1800px){
  .topNavMeny{
      grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
            background-color:green;
  }
}
@media (max-width:1500px){
  .topNavMeny{
      grid-template-columns: 1fr 1fr 1fr 1fr;
            background-color:orange;
  }
}
@media (max-width:1200px){
  .topNavMeny{
      grid-template-columns: 1fr 1fr 1fr;
            background-color:red;
  }
}
@media (max-width:900px){
  .topNavMeny{
      grid-template-columns: 1fr 1fr;
      background-color:blue;
  }
}
@media (max-width:600px){
  .topNavMeny{
      grid-template-columns: 1fr;
      background-color:blue;
  }
}

@media (max-width:12000px){
  .topNavMenyAdmin{
      grid-template-columns: 1fr 1fr 1fr;
      background-color:red;
  }
}
@media (max-width:1700px){
  .topNavMenyAdmin{
      grid-template-columns: 1fr 1fr;
      background-color:blue;
  }
}

/*MenyHead: knapper paa toppen for pc*/

.topNavAdmin{
    position:absolute;
    top:0px;
    left:0px;
    width:50%; 
}

.topNavMenyLogo {
  position:relative;
  padding: 14px 16px;
  color:white;
  background-color:lightgrey;
}
.topNavMenyButtonTable{
 background-color:white;
 border-collapse: collapse;
 padding:0px;
 margin: auto;
 width: 80%;
 border:collapse;
}
.topNavMenyButton{
  max-width: 130px;
  padding: 0px 5px 5px 0px;
  font-family:Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight:bold;
  padding:0px;
  margin:0px;
  text-align:center;
  overflow:hidden;
  text-overflow:ellipsis;
  with-space:nowrap;
  color:#1b4786;
}
.topNavMenyButton:hover{
cursor:pointer;
}
.topNavMenyUnderCont{
    height:4px;
}
.topNavMenyUnderline{
 width:30px;
 height:4px;
 margin:auto;
 background-color:white;
}
.topNavMenySpace{
 width:30px;
 height:3px;
 background-color:white;
}


/*MenyBody: drop down meny for pc*/
.topNavMeny{ 
  display:none;
  position:absolute;  
  width:80%;
  z-index:2;
  border: 1px solid lightgrey;
  background-color:white;
  font-family:Arial, Helvetica, sans-serif;
  font-size: 14px;
   color:#1b4786;
  padding:20px;
  grid-gap:10px;
  margin:0px 10% 0px 10%;
}

.topNavMenyLine{
  overflow: hidden;
  white-space: nowrap;
  width:200px;
  padding: 4px 16px;
  text-decoration: none;
  font-size: 14px;
  display: block;
}
      
.topNavMenyTitle{
  font-weight: bold;
  font-size: 24px;
}
.topNavMenySubTitle{
  font-weight: bold;
  font-size: 18px;
}

.topNavMenyLink:hover {
  text-decoration: underline;
  cursor: pointer;
}

.topNavMenyHeadAdminLogout{
  position:absolute;
  top:10px;
  right: 20px;
  cursor:pointer;
}
.topNavMenyHeadAdminStock{
  position:absolute;
  bottom:10px;
  right: 20px;
  cursor:pointer;
}

.topNavDropdown{
  position:absolute;
  top:10px;
  right: 120px;
  cursor:pointer;
}
.topNavDropdownButton{
  background-color: #4CAF50;
  color: white;
  padding: 10px;
  font-family:Arial;
  font-size: 16px;
  font-weight:700;
  border: none;
  cursor: pointer;
}
.topNavDropdownCont{
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}
.topNavDropdownCont a{
  color: black;
  font-family:Arial;
  font-size: 16px;
  font-weight:700;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}
.topNavDropdownCont a:hover {
  background-color: #f1f1f1;
}
.topNavDropdown:hover .topNavDropdownCont {
  display: block;
}
.topNavDropdown:hover .topNavDropdownButton {
  background-color: #3e8e41;
}

/*Brukes ikke i PC
.topnav .konto{
  color:#001f3b;
  position:relative;
  bottom:0px;
  left:70px;
}


BRUKES I ADMIN
*/

.inline{
  display:inline-block;
}
.topNavAdminWindow{
    display:none;
    position:fixed;
    top:50px;
    left:400px;
    width:500px;
    z-index:4;
    background-color:white;
    border-radius: 20px;
    border:10px solid #1b4786;
    box-shadow: 10px 10px 5px rgba(180,180,180,0.5);
}
.topNavAdminWindowTopBar{
    width:100%;
    height:25px;
    background-color:#1b4786;
    cursor:move;
}
.topNavAdminWindowBottomBar{
    height:50px;
    background-color:#1b4786;
    padding:20px;
}
.topNavAdminWindowTitle{
    display:inline-block;
    margin:0px 0px 6px 0px;
    font-family:Arial, Helvetica, sans-serif;    
    font-size:14px;
    padding:2px 10px 2px 10px;
    color:white;
}

.topNavAdminWindowClose{
    border-radius:10px;
    margin:0px 0px 6px 0px;
    float:right;
    font-family:Arial, Helvetica, sans-serif;    
    font-size:14px;
    padding:2px 10px 2px 10px;
    background-color:white;
    color:#1b4786;
    cursor:pointer;
}
.topNavAdminWindowBody{
    padding:20px;
    height:450px;
    background-color:white;
}
.topNavAdminWindowError{
    padding:20px;
    height:50px;
    background-color:white;
    font-family:Arial, Helvetica, sans-serif;    
    font-size:14px;
    color:red;
}
.topNavAdminTable{
    width: 100%;
    font-family:Arial, Helvetica, sans-serif;    
    font-size:18px;
}
.topNavAdminTableKey{
    width: 25%;
    text-align:right;
    padding:5px 10px 5px 0px;
    background-color:#3399ff;
}
.topNavAdminTableValue{
    width: 75%;
    padding:5px 10px 5px 10px;
    background-color:#3399ff;
}
.topNavAdminTableInput{
    width:100%;
    border:1px solid lightgrey;
    font-size:18px;
}
.topNavAdminTableSB{
    width:100%;
    border:1px solid lightgrey;
    font-size:18px;
}
.topNavAdminTableArea{
    height:100px;
}
.topNavAdminButton{
    border-radius:8px;
    border:1px solid lightgrey;
    text-align:center;
    font-size:18px;
    padding:10px;
    background-color:orange;
    margin:auto;
    cursor:pointer;
}
.topNavAdminButton:hover{
    background-color:#3399ff;
}


.topNavSearchCont{
    position:absolute;
    top: 20px;
    left: 360px;
    width:400px;
    height:20px;
    background-color:white;
    padding:10px;
}
.topNavSearchWord{
    position:absolute;
    top:5px;
    left:10px;
    border:none;
   outline: none;
   background-repeat: no-repeat;
   height:30px;
   font-size:20px;
   width:400px;
   background-image: url('searchicon2.png');
   padding: 0px 40px 0px 10px;
   background-position: 470px 5px;
}

.headPicCont{
    top:0px;
    left: 40%;
    height:50px;
    background-color:#001e3a;;
}


/*ADMIN FILTER*/
.topNavAdminFilterCont{
    display:absolute;
    top:160px;
    left:0px;
    height:40px;
    width:99%;
    background-color: #eeeeee;
}
.topNavArt-1ER{
    position:absolute;
    top: 5px;
    left: 10px;
    width:110px;
    color:#1b4786;
    text-align:center;
}
.topNavArt-2ER{
    left: 150px;
}
.topNavArt-3ER{
    left: 300px;
}
.topNavArt-1ER label {
    width:100px;
    height:25px;
    font-family:Abel;
    white-space: nowrap;
    overflow: hidden;
    font-family:Abel;
    color:#1b4786;
    font-size:16px;
    line-height: 25px;
    text-align:center;
    border-radius: 5px;
}

.topNavArt-1ER input[type="checkbox"] {
    opacity: 0;
    position: absolute;
    width: 0px;
}
.topNavArt-1ER label {
    display: inline-block;
    background-color: #eee;
    font-family: Abel;
    border: 1px solid #1b4786;;
    cursor:pointer;
}
.topNavArt-1ER input[type="checkbox"]:checked + label {
    background-color:#bfb;
    border-color: #4c4;
}
.topNavArt-1ER input[type="checkobx"]:focus + label {
    border: 1px dashed #1b4786;;
}
.topNavArt-1ER label:hover {
    background-color: #dfd;
}


/******** slider range  **********/

.topNavFilterLabel{
    position:absolute;
    height:25px;
    width: 100px;
    font-family:Abel;
    font-size: 16px;
    line-height: 25px;
    color:#1b4786;
    text-align:left;    
    top: 5px;
    left: 350px;
}
.topNavFilterSliderCont{
    position:absolute;
    top: 5px;
    left: 440px;
    width:400px;
}

.topNavRangeCont{
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 370px;
  font-familie:Abel;
  border-radius: 10px;
  padding: 0px 10px 0px 10px;
}
.topNavRangeCont .price-input{
  width: 70px;
  display: flex;
}
.topNavRangeCont .price-input .field{
  width: 100%;
  height: 25px;
  line-height: 25px;
}
.topNavRangeCont .field input{
  width: 100%;
  height: 100%;
  outline: none;
  font-size: 16px;
  border-radius: 5px;
  text-align: center;
  border: 1px solid #999;
  -moz-appearance: textfield;
}
.topNavRangeCont input[type="number"]::-webkit-outer-spin-button,
.topNavRangeCont input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
}
.topNavRangeCont .slider{
  height: 5px;
  width: 200px;
  position: relative;
  background: #ddd;
  border-radius: 5px;
}
.topNavRangeCont .slider .progress{
  height: 100%;
  left: 0%;
  right: 0%;
  position: absolute;
  border-radius: 5px;
  background: #17A2B8;
}

.topNavRangeCont .range-input{
    position: relative;
    width: 200px;
}
.topNavRangeCont .range-input input{
  position: absolute;
  width: 100%;
  height: 5px;
  top: -7px;
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.topNavRangeCont input[type="range"]::-webkit-slider-thumb{
  height: 17px;
  width: 17px;
  border-radius: 50%;
  background: #17A2B8;
  pointer-events: auto;
  -webkit-appearance: none;
  box-shadow: 0 0 6px rgba(0,0,0,0.05);
}
.topNavRangeCont input[type="range"]::-moz-range-thumb{
  height: 17px;
  width: 17px;
  border: none;
  border-radius: 50%;
  background: #17A2B8;
  pointer-events: auto;
  -moz-appearance: none;
  box-shadow: 0 0 6px rgba(0,0,0,0.05);
}


/******************* tool adword *************************/
.topNavAdminAdwordButton{
    margin:auto;
    width:200px;
    height:30px;
    font-family:Arial;    
    font-size:16px;
    line-height:30px;
    text-align:center;
    color:black;
    background-color:#3399ff;
    border-radius:30px;
    cursor:pointer;
}
.topNavAdminAdwordBrandButton{
    margin:auto;
    width:120px;
    height:20px;
    font-family:Arial;    
    font-size:12px;
    line-height:20px;
    text-align:center;
    color:black;
    background-color:#3399ff;
    border-radius:30px;
    cursor:pointer;
}


/******************* brand side  *************************/
.topNavBrandSearchCont{
    display:flex;
    width:100%;
    justify-content:space-around;
}
.topNavBrandSearch{
    width: 300px;
    border-top-style: hidden;
    border-right-style: hidden;
    border-left-style: hidden;
    border-bottom-style`: groove;
    color: grey;
    font-family:Abel;
    font-size: 20px;
}
.topNavBrandSearch:focus {
    outline: none;
}

.topNavBrandCont{
    position:relative;
    width:100%;
    padding-top:100%;
    font-family:Abel;
    border:1px solid lightgrey;
}
.topNavBrandPic{
    position:absolute;
    top:20px;
    left:10%;
    width:80%;
    height:60%;
    object-fit:contain;
    cursor:pointer;
}
.topNavBrandName{
    position:absolute;
    top:0%;
    font-size:16px;
    color:lightgrey;
    text-align:center;
    width:100%;
}

