html {
    scroll-behavior: smooth;
}

/* Bootstrap 4 text input with search icon */

.has-search .form-control {
    padding-left: 2.375rem;
}

.has-search .form-control-feedback {
    position: absolute;
    z-index: 2;
    display: block;
    width: 2.375rem;
    height: 2.375rem;
    line-height: 2.375rem;
    text-align: center;
    pointer-events: none;
    color: #aaa;
}

.home-text-heading{
    font-size: 17px;
    font-weight: 700;
}

.closebtn {
    position: absolute;
    top: -10px;
    right: 5px;
    font-size: 36px;
    margin-left: 50px;
    color: white;
}


.btn {
  box-shadow: none !important;
  outline: 0;
}

.list-group-item span {
  border: solid #222;
  border-width: 0 1px 1px 0;
  display: inline;
  cursor: pointer;
  padding: 3px;
  position: absolute;
  right: 0;
  margin-top: 10px;
}

.list-group-item-1 span {
  border: solid #222;
  border-width: 0 1px 1px 0;
  display: inline;
  cursor: pointer;
  padding: 3px;
  position: absolute;
  right: 0;
  margin-top: 10px;
}

.list-group-item a.btn.collapsed span {
  transform: rotate(40deg);
  -webkit-transform: rotate(40deg);
  transition: .3s transform ease-in-out;
}


.list-group-item a.btn span {
  transform: rotate(-140deg);
  -webkit-transform: rotate(-140deg);
  transition: .3s transform ease-in-out;
}

.catalog-title{
  font-size: 12px;
}

.product-title{
  font-size: 13px;
}

.product-price{
  font-size: 15px;
  color: blue;
  font-weight: bold;
}

.add-to-cart
{
    color: blue;
}

.section{width:100%;margin-left:-15px;padding:2px;padding-left:15px;padding-right:15px;background:#f8f9f9}
.title-price{margin-top:30px;margin-bottom:0;color:black}
.title-attr{margin-top:0;margin-bottom:0;color:black;}
.btn-minus{cursor:pointer;font-size:7px;display:flex;align-items:center;padding:5px;padding-left:10px;padding-right:10px;border:1px solid gray;border-radius:2px;border-right:0;}
.btn-plus{cursor:pointer;font-size:7px;display:flex;align-items:center;padding:5px;padding-left:10px;padding-right:10px;border:1px solid gray;border-radius:2px;border-left:0;}
div.section > div {width:100%;display:inline-flex;}
div.section > div > input {margin:0;padding-left:5px;font-size:10px;padding-right:5px;max-width:18%;text-align:center;}
.attr,.attr2{cursor:pointer;margin-right:5px;height:20px;font-size:10px;padding:2px;border:1px solid gray;border-radius:2px;}
.attr.active,.attr2.active{ border:1px solid orange;}


.card-img-top {
    width: 100%;
    height: 25vw;
    object-fit: cover;
}

/* .card-img-top-product {
    width: 100%;
    height: 25vw;
    object-fit: cover;
} */

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    .card-img-top-product {
        width: 100%;
        height: 50vw;
        object-fit: cover;
    }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    .card-img-top-product {
        width: 100%;
        height: 50vw;
        object-fit: cover;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    .card-img-top-product {
        width: 100%;
        height: 25vw;
        object-fit: cover;
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    .card-img-top-product {
        width: 100%;
        height: 25vw;
        object-fit: cover;
    }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    .card-img-top-product {
        width: 100%;
        height: 25vw;
        object-fit: cover;
    }
}

/* check box with image design*/

 .custom-control.image-checkbox {
            position: relative;
            padding-left: 0;
        }

        .custom-control.image-checkbox .custom-control-input:checked~.custom-control-label:after,
        .custom-control.image-checkbox .custom-control-input:checked~.custom-control-label:before {
            opacity: 1;
        }

        .custom-control.image-checkbox label {
            cursor: pointer;
        }

        .custom-control.image-checkbox label:before {
            border-color: #007bff;
            background-color: #007bff;
        }

        .custom-control.image-checkbox label:after,
        .custom-control.image-checkbox label:before {
            transition: opacity .3s ease;
            opacity: 0;
            left: .25rem;
        }

        .custom-control.image-checkbox label:focus,
        .custom-control.image-checkbox label:hover {
            opacity: .8;
        }

        .custom-control.image-checkbox label img {
            border-radius: 2.5px;
        }

        .form-group-image-checkbox.is-invalid label {
            color: #dc3545;
        }

        .form-group-image-checkbox.is-invalid .invalid-feedback {
            display: block;
        }
        /*end checkbox with image design*/
a{text-decoration: none !important}


.loader{
    height: 100%;
    width: 100%;
    overflow: hidden;
    background-color: #16191e;
    position: fixed;
    z-index: 9999;
    opacity: .8;
}

.loader>div{
    height: 50px;
    width: 50px;
    border: 5px solid #45474b;
    border-top-color: #2a88e6;
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 50%;
    animation: spin 1.5s infinite linear;

}

@keyframes spin {
    100%{
        transform: rotate(360deg);
    }
}



.page-item.disabled .page-link {  
    background-color:#ecf0f1;
    color: #7b8a8b;
}

.page-item.active .page-link {
    background-color: #f5f5f5;
    color: #7b8a8b;
    border: 1px solid #7b8a8b;
}

.page-link {    
    background-color: #ecf0f1;
    color: #7b8a8b;
}

.notif-unread{
    background-color: aliceblue;
}


