/* header*/
#top {
    background-image: url("https://cdn.discordapp.com/attachments/1019536222286258257/1082304677212860426/UF_svart_stor1.png");
    /* Center and scale the image nicely */
    background-position: 0 100px;
    background-position-x: center ;
    background-repeat: no-repeat;
    background-size: contain;

    /* Needed to position the navbar */
    position: relative;
    
    height: 600px;
    width: 100%;
    
    border-bottom: black solid 2px;


}

.modal {
    display: block !important;
    /* I added this to see the modal, you don't need this */
}

/* Important part */
.modal-dialog {
    overflow-y: initial !important;
}

.modal-body {
    height: 80vh !important;
    overflow-y: auto !important;
}


#top a {
    text-decoration: none;
    color: black;
    text-align: start;
}


#startnav {
    width: 90%;

}

#Middlenav {
    width: 5%;
}

#endnav {
    width: 5%;
}



.dot {
    height: 15px;
    width: 15px;
    margin-top: -4px;

    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active {
    background-color: #717171;
}



#Text {
    text-align: start;

}

#navbar2 {
    width: 100%;
    display: none !important;
    color: black !important;
}

.dropdown-menu-right {
    right: 0;
    left: auto;
    height: 100%;
}

.container1 {
    display: inline-block;
    cursor: pointer;
}

.bar1,
.bar2,
.bar3 {
    width: 35px;
    height: 5px;
    background-color: #333;
    margin: 6px 0;
    transition: 0.4s;
}

.change .bar1 {
    transform: translate(0, 11px) rotate(-45deg);
}

.change .bar2 {
    opacity: 0;
}

.change .bar3 {
    transform: translate(0, -11px) rotate(45deg);
}

.navbar2Start,
.navbar2Mid,
.navbar2End {
    width: 33%;
    color: black !important;
}

#searchbar2 a {
    color: black;
}

#mySidenav a {
    color: black;
}








#startnav a {
    color: black;
    position: relative;
    text-decoration: none;
}

#startnav a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    border-radius: 2px;
    background-color: black;
    bottom: 0;
    left: 0;
    transform-origin: right;
    transform: scaleX(0);
    transition: transform .5s ease-in-out;
}

#startnav a:hover::before {
    transform-origin: left;
    transform: scaleX(1);
}

#endnav a {
    color: black;
    position: relative;
    text-decoration: none;
}

#endnav a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    border-radius: 2px;
    background-color: black;
    bottom: 0;
    left: 0;
    transform-origin: right;
    transform: scaleX(0);
    transition: transform .5s ease-in-out;
}

#endnav a:hover::before {
    transform-origin: left;
    transform: scaleX(1);
}







.sidenav {
    height: 100%;

    width: 0;

    position: fixed;

    z-index: 1;

    top: 0;

    right: 0;
    background-color: rgb(255, 255, 255);

    overflow-x: hidden;

    padding-top: 60px;

    transition: 0.5s;

}

.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}
.close{
    z-index: 1000;
}
















.transparent {
    color: black !important;
    background-color: white !important;


}

.transparent a {
    color: black !important;


}

.transparent button .bi-bag-fill {
    color: black !important;
    fill: black !important;
}


#navbar {
    background: none;

    position: sticky;
    width: 100%;

}

.header {
    background-color: white;
    width: 100%;
    height: 60px;
    display: flex;
}

.header h1 {
    text-align: center;
    width: 100%;
}

















/* dropdown*/
.endnav {
    position: relative;
    display: inline-block;
}

.thedropdown {
    /*dropdwon content*/
    height: 500px;
    width: 300px;
    background-color: white;
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.show {
    display: block !important;
}

.hide {
    display: none;
}

#overflow {
    overflow-y: scroll;
    overflow-x: hidden;
}

.products {
    width: 100%;
    height: 250px;
    overflow-y: scroll;
    overflow-x: hidden;
}

#cartitems {
    height: 150px;
    width: 100%;
}

#img-box {
    height: 125px;
    width: 100px;
    background-color: red;
}

#cartinfo h1 {
    font-size: medium;
}

#productinfo {
    width: 100%;
    height: 50px;
    font-size: smaller;
}

.form1 {

    width: 60px;
}

#ItemPrice {
    width: 60px;
    background: none;

}

#trash {
    background: none;
    border: none;
    height: min-content;
}


.order {
    border-top: 0.5px solid gray;
    height: 100px;
    width: 100%;
    color: grey;
    border-bottom: 0.5px solid gray;
}

.order h1 {
    font-size: medium;
}

#price {
    margin-right: 12px;
}

.checkout {
    width: 100%;
    height: 100px;
}

.checkout h1 {
    font-size: medium;
    color: black;
}

#sum {
    margin-right: 12px;
    font-size: medium;
    color: black;
}

#pay {
    width: 100%;
    height: 50px;
}

#pay button {
    width: 100%;
    height: 100%;
    text-align: center;
    background-color: black;
    /*Tema färg(loga)*/
    color: white;

}

#logga {
    background-image: url('/public_html/uf/bilder/Liten_UF_logga_Vit.png');
}

#bag {

    padding-right: 20px;
    background: none;
    border: none;
}

#searchbar {

    width: 100%;
    padding-top: 120px;



}



/* header slut*/
#GAP {
    padding-top: 40px;
}

.trebox {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;

}

.tre {
    height: 350px;
    width: 350px;


}

.del1,
.del2 {
    width: 50%;
    height: 500px;

}

/*  */
.product {
    background-position: center;
    background-size: cover;
    height: 350px;
    width: 350px;
}



.modal {
    width: 90% !important;
    height: 95% !important;
    max-width: 90% !important;
    margin: 0 auto;
    background-color: white;
    box-shadow: 2px gray;
    background-color: #E5E7E6;
}

.modal-dialog {
    width: 100% !important;
    max-width: 100% !important;
    pointer-events: auto !important;

}




#itemInfo {
    color: black !important;
    width: 75%;
    overflow: hidden;

}

#itemInfo h2 {
    color: black !important;
    font-size: large;
}

.remove {
    background: none;
    height: 10%;
    border: none;
}

#itemInfo_a {
    text-decoration: none;
    position: relative;
    text-align: left;
    font-size: 1.2rem;
    font-size: large;
    font-weight: lighter;
    padding: 10px 0;
    background: #0f0f0f;
    text-decoration: none;
    color: #fff;
    padding: 10px 15px;
    text-shadow: 0px 0px 2px rgb(0 0 0 / 50%);
}

#itemInfo h1 {
    font-family: Arial, Verdana;
    font-weight: 800;
    font-size: 2.5rem;
    text-transform: uppercase;
    font-size: 36px;
}

#topPrudukt3 a {
    text-decoration: none;
    color: black;
}

#Prudukt3IMG {
    max-height: 95%;
    max-width: 95%;

}

#Prudukt3IMGSMÅ {

    width: 50%;
    height: 100px;
    cursor: pointer;
}

#Prudukt3IMGSMÅ img {
    opacity: 40%;
}

#Prudukt3INFO {
    width: 100%;
    height: 500px;
    color: grey;
}















.trebilder button {
    background-color: #0f0f0f;
    font-size: 16px;
    font-weight: 600;

}

.trebilder a {
    text-decoration: none;
    color: black;

}

.ett {
    height: 350px;
    width: 350px;
    background-image: url("https://images.unsplash.com/photo-1554591203-3c8b71297add?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1170&q=80");
    background-position: center;
    background-size: cover;
    border-radius: 7.5px;
    color: rgb(0, 0, 0);

}

.två {
    height: 350px;
    width: 350px;
    background-image: url("https://images.unsplash.com/photo-1511499767150-a48a237f0083?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=580&q=80");
    background-position: center;
    background-size: cover;
    border-radius: 7.5px;
    color: black;

}

/* tre */
.fyra {
    height: 350px;
    width: 350px;
    background-image: url("https://images.unsplash.com/photo-1503792070985-b4147d061915?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1123&q=80");
    background-position: center;
    background-size: cover;
    border-radius: 7.5px;
    color: white;

}

.fyra button {
    color: black;
}

.ett button {
    width: 100px;
    background: white;
    border-radius: 4px;
    border: grey;
    text-align: left;
    font-size: large;


}

.två button {
    width: 100px;
    background: white;
    border-radius: 4px;
    border: grey;
    text-align: left;
    font-size: large;

}

.fyra button {
    width: 100px;
    background: white;
    border-radius: 4px;
    border: grey;
    text-align: left;
    font-size: large;

}

#tre {
    border-radius: 0;
}

#tre,
#ett,
#två p {
    padding-left: 20px;
    padding-top: 45%;
}

#tre button {
    border-radius: 0;
    text-align: center;
}

#tre h1 {
    padding-top: 0;
}

.tre {
    text-decoration: none !important;
    color: white !important;

}




h2 {
    font-family: Arial, Verdana;
    font-weight: 800;
    font-size: 2.5rem;
    color: white;
    text-transform: uppercase;
    text-decoration: none;
}







/*footer*/
#Footer {
    height: 335px;
    width: 100%;
    position: absolute;
    bottom: 0;
    width: 100%;


}


#Footer a {
    text-decoration: none;
    color: white;
}

#FooterName {
    margin: 0 auto;
    width: 100%;
}

#footerdel1,
#footerdel2,
#footerdel3,
#footerdel4 {
    width: 33%;
    height: 200px;
}

#footerdel1 h1 {
    font-size: 200%;
}

#footerdel1 li {
    list-style: none;
    text-align: left;
    font-size: larger;
}

#footerdel1 p {
    font-size: medium;
}

#footerdel2 h1 {
    font-size: 200%;
}

#footerdel2 p {
    font-size: medium;
}

#footerdel3 h1 {
    font-size: 200%;
}

#footerdel3 a {
    text-align: left;
    display: block;
    font-size: medium;
}

#footerdel4 a {
    display: block;
    text-align: left;
    font-size: medium;
}

#footerdel4 h1 {
    font-size: 200%;
}



.message {
    height: 50px;

}


.alert {
    z-index: 99999;
    width: 100%;
    height: 100px;
    background-color: white;
    display: none;


}

.alert span {
    color: black;

}

.alertButtons button {
    border: none;

    padding: 2px;
    border-radius: 2px;
}

#Tillcheckout {
    color: white;
}
#footer a{color: white !important;
}
#footer a:hover{color: black;}






@media (prefers-reduced-motion: reduce) {
    .fade {
        transition: none !important;
    }
}






/* <!-- Media css --> */

/* // Small devices (landscape phones, 576px and up) */
@media (max-width: 576px) {}

/* // Medium devices (tablets, 768px and up) */
@media (max-width: 768px) {}

/* // Large devices (desktops, 992px and up) */
@media (max-width: 992px) {
    #navbar2 {
        display: flex !important;
    }
    #searchbar {
        display: none !important;
    }

    #top {
        width: 100%;


    }
    
    .trebox {
        display: block !important;

    }

    #tre {
        width: 100%;
    }

    .tre {
        margin-top: 20px;
    }

    #footerinfo {
        display: block !important;
    }
    

    #footerdel1,
    #footerdel2,
    #footerdel3,
    #footerdel4 {
        width: 99%;
        height: 200px;
        
    }
    #footerdel2{
        margin-top: 50px;
        
    }
    #inofOmoss{
        width: 85% !important;
    }

    .thedropdown {
        width: 100%;
    }

    .pro {
        width: 100%;

    }

    .trebox {
        width: 100%;
        justify-content: center;
    }

    .tre {
        width: 90%;
        margin: 0 auto !important;
        margin-top: 20px !important;
    }

    .product {
        width: 100%;
        margin: 0 auto !important;
    }

    .modal {
        width: 100% !important;
        display: block !important;
        height: 200% !important;
    }

    .modal-cont {
        display: block !important;
    }

    .del1,
    .del2 {
        width: 100% !important;
        
    }
    .del1{
        height: 400px;
    }
    .del2{
        height: 200px;
    }


    #endnav {
        float: left;
        width: 25% !important;
    }

    #startnav {
        display: none !important;
    }

    #mobilMenyBtn {
        display: block !important;
    }

    #product_img1{
        width: 100% !important;
        height: 100% !important;
    }
    #itemInfo{
        width: 100%;
    }
    #infotext{
        font-size: 32px;
        padding: auto;
    }
    #itemdesc{
        font-size: medium;
    }
    

}

/* // Extra large devices (large desktops, 1200px and up) */
@media (max-width: 1200px) {
    #Middlenav {
        width: 5%;

    }


    #endnav {
        width: 5%;
    }

    #startnav {
        width: 90%;
    }


}

@media (min-width: 992px) {

    .dot,
    #dots {
        display: none !important;
    }

    .tre {
        display: flex !important;
    }


}