html {
  font-size: 14px;
  height:100%
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  height:auto;
}


#cardgrid {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: auto;
    grid-gap: 30px;
 
} 
/*funkar ej 
*/

/*.divtest {
    color: red;
    grid-column: 3;
    grid-row: 3;
   
}*/
.Kategorimeny {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 40px;
    margin-bottom:40px;
}
.card {
    width: 100%;
    height:100%;
    align-items: center;
    
}


.startImg {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-around;
}
.produktCard {
    width: 150px;
    padding-bottom: 10px;
    
   
}



.kategorialternativ {
    height: auto;
    border: solid 2px;
    border-color: lightgray;
    border-radius:8px;
   
    color: black;
    padding-left:3px;
    padding-right:3px;
    padding-bottom:3px;
}

.mainProdukt {
    background-color: azure;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
    border: solid 1px;
    flex-wrap: wrap;
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
    padding-top:8px;
    padding-bottom:3px;
    font-size:18px;
}
#kundvagn {
    /*width: 100px;
    display: flex;
    justify-content: flex-end;
    align-items:center;*/
    /* background-image: url('/Bilder/nays.jpg');*/
    /*color:red;*/


    position: absolute;
    top: 40%;
    left: 80%;
    transform: translate(-50%, -50%);
}


.antal {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 18px;
    height: 18px;
    background-color: red;
    color: white;
    position: absolute;
    top: 15%;
    left: 80%;
    transform: translate(-55%, -10%);
    border-radius: 30px;
}


#visabild {
    /*  width: 15%;
    height: auto;*/

    grid-row: 2/4;
    grid-column: 2/3;
    object-fit: cover;
    width: 100%;
    border-color: gray;
    border: solid 1px;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.3);
    border-radius:3px
    /*box-shadow: 3px 3px 20px #ccc;
    -webkit-box-shadow: 3px 3px 1px #ccc;
    -moz-box-shadow: 3px 3px 1px #ccc;*/
}



#indexproduktbild {
    width: 150px;
    height:150px;
}

a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

    a:hover {
        color: #1d4ed8;
        text-decoration: none;
    }





.visaproduktgrid 
{
    width:100%;
    height:95%;    /*"1200px fixar felet på tex lowrance ("produkt", viasprodukt)"*/
    display: grid;
    grid-template-columns: 80px 300px 1fr 1fr 1fr 80px;
    grid-template-rows: 1fr 150px 150px 1fr 1fr; 
    grid-gap: 10px;
    padding-top:1%;
}



.visanamn {
    font-size: 20px;
    font-weight: bold;
}




.visapris {
    grid-row: 3/4;
    grid-column: 3;
    font-size: 20px;
    font-weight: bold;

}
.antal2 {
    grid-row: 3;
    grid-column: 4;
}


.visavarumärke {
    font-size: 15px;
   
}
.rubrikTop {
    grid-row: 2;
    grid-column: 3/5;
  
}






.visabeskrivning {
    grid-row: 4/6;
    grid-column: 2/5;
    border-color: lightgray;
    border: solid 1px;
    background-color: rgb(242,242,242);
    border-radius: 3px;
    padding-left:8px;
    padding-right:1px;
    padding-bottom:6px;
}

#visabildgrid    /*går ingenstans */
{
 
 
    
}


.visakundvagn {
    grid-row: 3/4;
    grid-column: 3/4;
    font-size: 15px;
    margin-left:40%;
    width:100%;
    
}






#kassagrid
{
    width: 100%;
    height: 95%; 
    display: grid;
    grid-template-columns: 25% 25% 25%;
    grid-template-rows: 25% 25% 25% ;
    grid-gap: 10px;
    padding-top: 1%;
    padding-left: 20%;
}


.kassaproduktnamn {
    grid-row: 1;
    grid-column: 2/3;
  
}

.kassaproduktpris {
    grid-row: 3;
    grid-column: 3;
}
.kassadelete {
    grid-row: 3;
    grid-column: 3;
}
.kassaproduktfärg {
    grid-row: 2;
    grid-column: 1;
}
/*


.kassaproduktvikt
{

}

.kassaproduktstorlek
{

}


.kassaproduktmarke
{

}


.kassaantal
{

}


.kassaproduktbild {
  
}

.kassasumbit
{

}






.kassatotalsumma*/  /* utanför form loopen*/
/*{

}*/