/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */
html{
    height: 100%;
}
body {
    /*padding-top: 3rem;*/
    /*color: #5a5a5a;*/
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background: #f0f8ff;
    color: #151515;
}
.navbar{
    padding: 0.2rem 1rem;
}

.nav-link{
    font-size: 1rem;
    padding-left: 0.8rem !important;
    padding-right: 0.8rem !important;
    color: #000000 !important;
}

.card{
    /*border: 2px solid #b3cbff !important;*/
    border: 2px solid #729fff !important;
}

.ui-menu-item a{
    position: relative;
    display: block;
    z-index: 9999;
    padding: 0.5rem 1.25rem;
    margin-bottom: -1px;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.125);
    text-decoration: none;
}

/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
    /*margin: 4rem auto;*/
}


/* Since positioning the image, we need to help out the caption - 3rem */
.carousel-caption {
    bottom: 8rem;
    z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel-item {
    /*height: 50rem;*/
}
.carousel-item > img {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    /*height: 50rem;*/
}

.footer-links li{
    list-style: none;
}

.footer-links li a{
    text-decoration: none;
    color: #000000;
}
.footer-links li a:hover{
    color: #ff0c74;

}


/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
    margin-bottom: 1.5rem;
    text-align: center;
}
.marketing h2 {
    font-weight: 400;
}
.marketing .col-lg-4 p {
    margin-right: .75rem;
    margin-left: .75rem;
}

.wt-300{
    font-weight: 300 !important;
}


/* Featurettes
------------------------- */

.featurette-divider {
    margin: 3.5rem 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
.featurette-heading {
    font-weight: 300;
    line-height: 1;
    letter-spacing: -.05rem;
}

#searchBox {
    width: 25rem;
}

#formcategory{
    width:10rem;
}

.gridproduct{
    width: 100%;
    padding: 0 1.5rem;
    display: flex;
    position: relative;
}


/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 40em) {
    /* Bump up size of carousel content */
    .carousel-caption p {
        margin-bottom: 1.25rem;
        font-size: 1.25rem;
        line-height: 1.4;
    }

    .featurette-heading {
        font-size: 50px;
    }
}

#mainheader{
    margin: 3rem auto 4rem;
    /*background-color: #5cd1ff;*/
}

@media (max-width: 520px){
    #mainheader{
        margin: 3rem auto 4rem;
    }

    .gridproduct{
        width: 100%;
        /*width: 50%;*/
        padding: 0;
        display: flex;
        position: relative;
    }
}

@media (min-width: 62em) {
    .featurette-heading {
        margin-top: 7rem;
    }
}

@media (max-width: 520px) {
    #searchBox{
        width:230px !important;
        margin-right: 8px !important;
    }
    .owl-carousel .owl-item img{
        width:70%;
    }
    .nav-link {
        font-size: 1rem;
        padding: 0.8rem !important;
        margin: 0;
        color: #5a5a5a;
    }
}

.red{color: #ff0500;}
.gold{color: #ffcb45;}
.blue{color: #2512ff;}
.green{color: #00940b;}

.maingreen{
    background: #3a8104;
    color: #fff;
}

.lightblue{
    background: #6893ff;
    color: #fff;
}

.list-group-item-action:hover{
    background: #84c639;
    color: #fff;
}

.btn-cart {
    color: #fff;
    /*background-color: #6383ff;*/
    /*border-color: #c1cbff;*/

    background-color: #60c766;
    border-color: #7cd279;
}

.btn-cart:hover,.btn-cart:focus {
    color: #fff;
    /*background-color: #3a4d96;*/
    /*border-color: #c1cbff;*/
    background-color: #289828;
    border-color: #7cd279;
}

.btn-remove{
    color: #fff;
    background-color: #fa8691;
    border-color: #ff8b96;
}

.btn-remove:hover,.btn-remove:focus{
    color: #fff;
    background-color: #d8554b;
    border-color: #ff8b96;
}

.productpic{
    height: 140px;
    width: 180px;
    overflow: hidden;
    display: flex;
    position: relative;
}
.productdiv{
    margin: 0 auto 1rem;
    /*color: #28a745;*/
}

.producttext{
    color: #000000;
    font-size: 16px;
    /*margin-bottom: 5px;*/
}

.price-slash{
    font-size:14px;
    color:#575353;
}

.price-sell{
    font-size:14px;font-weight: 700;
}

.productlink{
    text-decoration: none;
}

.cartinput{
    height: calc(1rem + 0.75rem + 2px) !important;
}

.productpic img {
    height: auto;
    width: 100%;
    transition: all 1s ease;
    display: flex;
    position: relative;
}
.productpic img:hover {
    transform: scale(1.1);
}

.discount{
    position: absolute;
    display: flex;
    top:0;
    left:0;
    padding: 7px;
    background: #729fff;
    /*background: #ff7f7f;*/
    color: #ffffff;
    z-index:100;
    font-size: 0.8rem;
}
.maincard{
    background: #28a745;
    color: #fff;
}
.maincard span{
    font-size: 1.2rem;

}
.maincard:hover{
    background: #32cf56;
    color: #000000;
}

.btn-links {
    color: #fff;
    background-color: #fa6991;
    border-color: #ec8080;
    padding: 0.15rem 0.75rem;
}

.btn-links:hover,.btn-links:focus {
    color: #fff;
    background-color: #ff2953;
    border-color: #ec8080;
}

/* The side navigation menu */
.sidenav {
    height: 100%; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 9999; /* Stay on top */
    top: 0; /* Stay at the top */
    left: 0;
    /*background: linear-gradient(180deg,#000 0%, #100c4a 74%); !* Gradient*!*/
    background: linear-gradient(360deg,#0028ff 10%, #f0f8ff 60%); /* Gradient*/
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 60px; /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
}

.sidenav .username {
    padding: 3px 8px;
    text-decoration: none;
    font-size: 1.1rem;
    color: #121212;
    display: block;
    transition: 0.3s;
}

/* The navigation menu links */
.sidenav .link {
    padding: 3px 8px 3px 32px;
    text-decoration: none;
    font-size: 1.1rem;
    color: #121212;
    display: block;
    transition: 0.3s;
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
    color: #ff0057;
}

/* Position and style the close button (top right corner) */
.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main {
    transition: margin-left .5s;
    padding: 20px;
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
    .sidenav {padding-top: 15px;}
    .sidenav .link {font-size: 18px;}
}

.list-group-item-action:hover, .list-group-item-action:focus {
    z-index: 1;
    color: #ffffff;
    text-decoration: none;
    background-color: #6892fa;
}