/* banners */

.left-banner {
    margin-right: -.2rem;
    border-radius: 1%;
    padding: 0;
}

.right-banner-top-1 {
 
    border-radius: 1%;
    padding: 0;
    float: left;
    padding-left: .2rem;
}

.right-banner-top-2 {

    border-radius: 1%;
    padding: 0;
    padding-right: .2rem;
}

.right-banner-down {

    margin-top: .5rem;
    margin-left: .3rem;
    border-radius: 1%;
    padding: 0;
}

.right-banner-down .banner-text {
    position: absolute;
    text-align: center;
    margin: auto;
    top: 50%;
    left: 45%;
    color: whitesmoke;
    z-index: 200;
}

.right-banner-top-1 .banner-text {
    position: absolute;
    text-align: center;
    margin: auto;
    top: 50%;
    left: 35%;
    color: whitesmoke;
    z-index: 200;
    font-size: 20px;
}

.right-banner-top-2 .banner-text {
    position: absolute;
    text-align: center;
    margin: auto;
    top: 50%;
    left: 35%;
    color: whitesmoke;
    z-index: 200;
    font-size: 20px;
}

.left-banner .banner-text {
    position: absolute;
    text-align: center;
    margin: auto;
    top: 50%;
    left: 35%;
    color: whitesmoke;
    z-index: 200;
}

.dark-image {
    -webkit-filter: brightness(100%);
}

.dark-image :hover {
    -webkit-filter: brightness(70%);
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    -ms-transition: all 1s ease;
    transition: all 1s ease;
}

.imgBox {
    /* now a container for the image */
    display: inline-block;
    /* shrink wrap to image */
    overflow: hidden;
    /* hide the excess */
    height: auto;
    width: 100%;
    border-radius: 1%;
}
.imgBox img {
    display: block;
    /* no whitespace */
    transition: .8s ease-in-out;
    border-radius: 1%;
}

.imgBox:hover img {
    transform: scale(1.3);
    display: block;
    overflow: hidden;
    border-radius: 1%;
    cursor: pointer;
  
}

.imgBox1 img {
    display: block;
    /* no whitespace */
    transition: .8s ease-in-out;
    border-radius: 1%;
}


.imgBox1:hover img {
    
    transform: scale(1.3) rotate(-9deg) ;
    display: block;
    overflow: hidden;
    border-radius: 1%;
    cursor: pointer;
    -ms-transform: scale(1.3)  rotate(-9deg);
    /* IE -9 */
    -moz-transform: scale(1.3)  rotate(-9deg);
    /* Firefox */
    -webkit-transform: scale(1.3)  rotate(-9deg);
    /* Safari and Chrome */
    -o-transform: scale(1.3)  rotate(-9deg);
}
.imgBox1 {
    /* now a container for the image */
    display: inline-block;
    /* shrink wrap to image */
    overflow: hidden;
    /* hide the excess */
    height: auto;
    width: 100%;
    border-radius: 1%;
}




@media  screen and (max-width: 768px) {
    .container.banner-ec {
      margin-top: 10px;
    }
    .left-banner {
      margin-right: -.2rem;
      border-radius: 1%;
      padding: 0;
      width: 96%;
      margin: 10px;
      margin-top: 10px;
    }
    
  }


/* end banners */


/* prducts */

.product-border {
    box-shadow: inset -1px -1px #9d9c9c, -1px -1px #9d9c9c
}

.add-to-cart {
    display: hidden;
    color: orange;
    font-size: 1.5rem;
    opacity: 0;
    transition: visibility 0s, opacity 0.25s linear;
}

.add-to-fav {
    display: hidden;
    color: orange;
    font-size: 1.5rem;
    opacity: 0;
    transition: visibility 0s, opacity 0.5s linear;
}

.add-to-cart i:hover {
    color: rgba(0, 0, 255, 0.555);
    cursor: pointer;
}

.add-to-fav i:hover {
    color: rgba(0, 0, 255, 0.555);
    cursor: pointer;
}

.product-staff {
    position: absolute;
    top: 20px;
    right: 28px;
    z-index: 20;
}

.product-img img:hover {
    cursor: pointer;
}

.product-img:hover .add-to-cart,
.product-img:hover .add-to-fav {
    display: inline !important;
    visibility: visible;
    opacity: 1;
}

.price {
    font-size: 15px;
}

.product-title a {
    font-size: 18px;
}

.arrow {
    color: grey;
    position: absolute;
    right: 15px;
}

.more-product:hover+.arrow {
    position: absolute;
    right: 8px;
}

.imgBox {
    position: relative;
}
.imgBox1 {
    position: relative;
}

.image-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.image-hover:hover {
    opacity: 1;
    
}

@keyframes slide {
    0% {
        left: 0;
        top: 0;
    }
    50% {
        left: 244px;
        top: 100px;
    }
    100% {
        left: 488px;
        top: 0;
    }
}


/* end products */

@media(max-width:1400px) {
    .profile-menu {
        width: 10rem;
    }
}

@media(max-width:1000px) {
    .profile-menu {
        width: 6rem;
    }
    .user-name {
        display: none;
    }
    .profile-menu {
        margin-left: 2rem;
    }
    .fal.fa-user.user-profile {
        margin-left: 5rem;
    }
}

@media(max-width:600px) {
    .profile-menu {
        width: 6rem;
    }
    .user-name {
        display: none;
    }
    .profile-menu {
        margin-left: 2rem;
    }
    .fal.fa-user.user-profile {
        margin-left: 3rem;
    }
}

@media(max-width:400px) {
    .profile-menu {
        width: 8rem;
    }
    .user-name {
        display: none;
    }
    .profile-menu {
        margin-left: 4rem;
    }
    .fal.fa-user.user-profile {
        margin-left: 4rem;
    }
}


/*************** my drop down profile menu ******************/

.dropbtn {
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

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

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    overflow: auto;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown a:hover {
    background-color: #ddd;
}

.show {
    display: block;
}


/*******************search box ****************************/

#myInput {
    background-image: url('/css/searchicon.png');
    background-position: 10px 12px;
    background-repeat: no-repeat;
    width: 100%;
    font-size: 16px;
    padding: 12px 20px 12px 40px;
    border: 1px solid #ddd;
    margin-bottom: 12px;
}

#myUL {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#myUL li a {
    border: 1px solid #ddd;
    margin-top: -1px;
    /* Prevent double borders */
    background-color: #f6f6f6;
    padding: 12px;
    text-decoration: none;
    font-size: 18px;
    color: black;
    display: block
}

#myUL li a:hover:not(.header) {
    background-color: #eee;
}

/**************bg transparent ****************/
.bg-transparentt {
    width: 100%;
    height: 1000rem;
    display: block;
    overflow: hidden;
    opacity: .5;
    position: fixed;
    z-index: 900;
    background: black;

  }

  .loader {
    border: 2px solid #f3f3f3; /* Light grey */
    border-top: 2px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 30px;
    height: 30px;
    margin: auto;
    animation: spin 2s linear infinite;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  .search-result a {
      color: grey;
  }
  
  
  /* social buttons  */

  #social {
    position: fixed;
    width: 60px;
    margin-top: 150px;
    transition: all 0.3s linear;
    box-shadow: 2px 2px 8px 0px rgba(0, 0, 0, .4);
  }

  #social ul {
    margin-top: 0;
    margin-bottom: 0rem;
  }

  #social li {
    height: 45px;
    position: relative;
  }

  #social li a {
    color: #fff !important;
    display: block;
    height: 100%;
    width: 100%;
    line-height: 45px;
    padding-left: 25%;
    border-bottom: 1px solid rgba(0, 0, 0, .4);
    transition: all .3s linear;
    text-decoration: none !important;
  }

  #social li:nth-child(1) a {
    background: green;
  }
  
  #social li a i {
    position: absolute;
    top: 14px;
    left: 24px;
    font-size: 15px;
  }

 #social ul li a span {
    display: none;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-right: 40px;
  }

   #social ul li a:hover {
    z-index: 1;
    width: 150px;
    border-bottom: 1px solid rgba(0, 0, 0, .5);
    box-shadow: 0 0 1px 1px rgba(0, 0, 0, .3);
  }

 #social ul li:hover a span {
    padding-left: 30%;
    display: block;
    font-size: 15px;
  }

  #social ul {
    list-style-type: none;
    padding: 0;
  }
  #social {
    z-index: 1000;
  }