/*
    css styles in market
*/

/* ______________ GENERAL ______________ */

@import url('https://fonts.googleapis.com/css?family=Tajawal');
@import url('https://fonts.googleapis.com/css?family=Cairo');
:root {
  --main-color: #0f2a62;
  --main-hover-color: #0f2a6287;
  --main-s-color: #2c539e;
  --main-orang: #f85d00;
}

body {
  font-family: 'Cairo', 'Poppins', sans-serif;
  line-height: 1.85;
  text-align: right;
  overflow-x: hidden;
  background-image: url(../images/body-bg.jpg);
  background-repeat: repeat;
  background-attachment: fixed;
  font-weight: 300;
}

img {
  width: 100%;
}

.mg-b-2 {
  margin-bottom: 1.5em;
}

.container-fluid {
  width: 85%;
}

.overflow-relative {
  overflow: hidden;
  position: relative;
}

a {
  color: #000;
  -webkit-transition: .35s;
  transition: .35s;
}

a:hover {
  color: var(--main-color);
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
}

ul li {
  display: inline-block;
}

#market {
  background-repeat: repeat;
  background-attachment: fixed;
  padding-bottom: 4em;
}

/*_____________________________________
 ______________ HEADER ______________ */

.ads {
  height: 3em;
  line-height: 3em;
  padding: 1em 0;
  background-image: linear-gradient(to left, var(--main-color), var(--main-s-color));
  font-size: 14px;
  color: #fff;
  overflow: hidden;
  position: relative;
  z-index: 99999;
  /*background: var(--main-color);*/
}

.ads p {
  margin: -1em 0;
  padding: 0;
}

.ads .close-ads {
  color: #fff;
  cursor: pointer;
}

.top-nav {
  line-height: 4em;
  background-color: #fff;
  height: 4em;
  margin-bottom: 3em;
  z-index: 99999999;
  position: relative;
  box-shadow: 0 2px 12px -6px #38274a;
}
.main-menu ul li a {
  font-weight: bold;
 }
.logo img {
  width: 6em;
  vertical-align: top;
  padding: 5px;
}

.main-menu {
  font-size: 13px;
  font-weight: 500;
}

.main-menu ul li {
  margin: 0 1em;
  position: relative;
}

.main-menu ul li a:hover::before {
  content: "";
  position: absolute;
  top: 0;
  width: 100%;
  height: 2px;
  background-color: var(--main-color);
  -webkit-transition: .35s;
  transition: .35s;
}

.m-menu {
  display: none;
}

.m-menu svg {
  color: var(--main-color);
  font-size: 20px;
  line-height: 3em;
  cursor: pointer;
}

.box-menu {
  position: absolute;
  width: 10em;
  left: 1em;
  top: 4.2em;
  background-color: #ffffff;
  padding: 0 1em 0;
  display: none;
  z-index: 99;
  box-shadow: 10px 13px 25px 0 #0000001a;
  border-radius: 11px;
}

.box-menu>li {
  padding: 0;
  margin: 0;
  display: block;
  text-align: center;
  line-height: 3;
  border-bottom: solid #e2e2e2 1px;
}

.box-menu>li a {
  color: #000;
  padding: 0px 0em;
  text-align: left;
}

.box-menu>li a:hover {
  color: var(--main-color);
}

.sign ul li {
  margin: 0 1em;
  font-size: 14px;
  font-weight: 500;
}

.sign-up {
  color: #fff;
  background-image: linear-gradient(to left, var(--main-color), var(--main-s-color));
  padding: 5px 20px;
  font-weight: normal;
  border-radius: 50px;
  font-size: 13px;
  background: var(--main-color);
}

.sign-up:hover {
  color: var(--main-color);
  background-image: linear-gradient(to left, #fff, #fff);
  border: 1px solid var(--main-color);
  padding: 5px 20px;
  font-weight: normal;
}

/*/----------------------------------------
-------------------------------------------
-/-/-/-/-/- MAKET SHOPPING HTML5 page /-/-/
-------------------------------------------
-------------------------------------------*/

#Product-view, #related-products {
  background-color: #fff;
  padding: 1.5em 1.5em 0;
  border-radius: 12px;
  box-shadow: 0 3px 1px -1px #f1f1f1;
}

.Product-view-img {}

.Product-view-img img {
  width: 100%;
  margin-bottom: 2em;
}

#Product-view h5 {
  display: inline-block;
  font-size: 17px;
  margin-left: 1em;
}

.Product-view-title {
  font-size: 25px;
  margin: .5em 0 0;
}

.product-view-cat {
  padding: .5em 0;
  margin: 0 0 1.5em;
  border-bottom: solid 1px #eee;
}

.product-view-cat span {
  display: inline-block;
  margin: 0 .5em;
  color: var(--main-s-color);
  font-size: 12px;
}

.product-company span {
  color: #F8D837;
}

.product-view-description {
  font-size: 15px;
  color: #747474;
  margin-bottom: 3em;
  font-family: 'Tajawal', sans-serif;
}

.colors-list {
  display: inline-block;
}

.color-item {
  opacity: .7;
  height: 2em;
  width: 2em;
  border: solid 4px #fff;
  box-shadow: 0 5px 11px 0 #e1e1e1;
  border-radius: 100%;
  background-color: #ff6b6b;
  display: inline-block;
  margin: 0 .5em;
}

.colors {
  border: solid 1px #eee;
  padding: .2em 1em;
  background: #f9f9f9;
  border-radius: 50px;
  font-size: 14px;
  color: #5b5b5b
}

.quantity-control, .form-control {
  display: inline-block;
  box-shadow: none;
  outline: none;
  border: solid 1px #eee;
  background: #f9f9f9;
  width: 5em;
  border-radius: 50px;
  height: 2em;
}

.quantity-control:focus {
  outline: none;
  box-shadow: none;
}
.product-price-left {
  border-radius: 0 50px 50px 0 !important;
  margin-left: -1em !important;
}
.product-price {
  margin-right: -1em;
  padding: .5em 1.2em;
  display: inline-block;
}

.lock {
  width: 5em;
  margin: 0 auto;
  padding: 2em 0;
}

.product-price h3 {
  font-size: 18px;
  margin: 0 .2em;
  color: #453F58;
  display: inline-block;
}

.product-price span {
  color: #888;
  display: inline-block;
  position: relative;
}

.product-price span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 1px;
  width: 100%;
  background-color: #f33737;
}

.buy-product {
  padding: .5em 2em;
  background-image: linear-gradient(to left, var(--main-color), #bd7eff);
  float: right;
  border-radius: 50px;
  transition: box-shadow .2s;
  background: var(--main-color);
}

.buy-product:hover {
  box-shadow: 1px 6px 21px -7px #a971e3;
}

.buy-product a {
  color: #fff;
}

#related-products {
  padding: 1em 0;
  overflow: hidden;
  box-shadow: 0 3px 1px -1px #f1f1f1;
}

#related-products h2 {
  color: var(--main-color);
  border-bottom: solid 1px #eee;
  padding-bottom: .5em;
  margin-bottom: 2em;
  text-align: center;
  font-size: 17px;
}

.r-product {
  width: 100%;
  overflow: hidden;
  display: flex;
  margin-bottom: 1em;
  padding-bottom: 1em;
  border-bottom: solid 1px #f5f5f5;
}

.r-product:last-child {
  width: 100%;
  overflow: hidden;
  display: flex;
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.r-product-img {
  height: 5em;
  width: 5em;
  background: #eee;
  display: inline-block;
  margin: 0 1em;
  border-radius: 5px;
}

.r-product-info {
  display: inline-block;
  overflow: hidden;
}

.r-product-info h1 {
  font-size: 16px;
  line-height: 1.5;
  color: #453F58;
  transition: .3s;
  font-weight: normal;
  margin-left: 1em;
}

.r-product-info .product-price {
  font-size: 12px;
}

.r-product-info .product-price h3 {
  font-size: 13px;
  margin: 0;
}

/*/----------------------------------------
-------------------------------------------
-/-/-/-/-/- MAKET SHOPPING HTML5 page /-/-/
-------------------------------------------
-------------------------------------------*/

/* ______________ SIDEBAR ______________ */

.sidebar {
  border-radius: 50px 50px 5px 5px;
  margin-bottom: 2em;
  padding-bottom: 2em;
  position: relative;
}

.widget {
  background-color: #fff;
  margin-bottom: 2em;
  box-shadow: 0 3px 1px -1px #f1f1f1;
  position: relative;
  overflow: hidden;
  border-radius: 50px 50px 11px 11px;
  padding: 0;
}

.title-widget {
  background-image: linear-gradient(to left, var(--main-color), var(--main-s-color));
  padding: 0 1em;
  border-radius: 50px 50px 0 0;
 /* background: var(--main-color);*/
}

.search-toggle {
  background-image: linear-gradient(to left, var(--main-color), var(--main-s-color));
  position: absolute;
  float: left;
  height: 100%;
  top: 0;
  overflow: hidden;
  font-size: 15px;
  width: 3.5em;
  left: 0;
  border-radius: 50px 0 0 50px;
  opacity: .3;
}

.title-widget h2 {
  margin: 0;
  color: #fff;
  line-height: 3em;
  padding: 0;
  font-size: 17px;
  text-align: center;
}

.title-sidebar svg {
  margin: 0 .5em
}

.icon-sub {
  color: #d0d0d0;
  font-size: 12px;
  margin-top: .5em;
}

.sidebar-menu {
  margin: 0;
  background-color: #fff;
  padding-bottom: .5em;
}

.sidebar li a {
  transition: .35s;
  font-size: 14px;
  width: 100%;
  line-height: 3.3;
}

.sidebar .sub-menu {
  display: none;
}

.sidebar svg {
  margin: 0 .5em
}

.sidebar li {
  display: block;
  margin: 0;
  padding: 0 1.5em;
  border-bottom: 1px dashed #f9f9f9;
  transition: .3s
}

.sidebar>li:hover {
  background-color: #f7f7f7;
}

.sidebar li:last-child {
  display: relative;
  border-bottom: none
}

.sidebar li a:hover {
  padding-left: .5em;
  text-decoration: none;
  color: var(--main-color);
}

.sidebar .sub-menu {
  background-color: var(--bg-color);
  margin: 0 -1.5em;
}

.sidebar .sub-menu li {
  background-color: #f7f7f7;
  padding: 0 3em
}

.sidebar .sub-menu li:hover {
  background-color: #eee;
}
.sidebar li a { margin: 0px; display: block; }

/* ------ feautures products  -------- */

.feau-product {
  overflow: hidden;
  position: relative;
  border-radius: 1px solid #eee;
  margin: 0 1em .em;
  border-bottom: solid 1px #f7f7f7;
  padding-bottom: 1em;
}

.feautures-products .content-widget {
  margin: 2em 0;
}

.feau-product {
  margin-top: 1em;
}

.feau-product .feau-thumb {}

.feau-product .feau-thumb img {
  width: 100%;
  border-radius: 7px;
}

.feau-product .feau-info {
  margin: 0
}

.feau-product .feau-info a {
  font-size: 13px;
}

.feau-product .row {
  margin: 0;
  padding: 0;
}

.feau-product .col-md-8, .feau-product .col-lg-6 {
  padding: 0;
  margin: 0;
}

/* ------ trend-products  -------- */

.trend-products {
  border-radius: 11px
}

.trend-products .trend-product {
  margin: 2em;
  border-radius: 50px;
  height: 4em;
  background-color: #eee;
}

.widget-footer {
  margin-bottom: 2em;
  border: solid 1px #f5f5f5;
  padding: 0 1.5em 2em;
}

.f-widget-trending .post-trending {
  margin-bottom: .8em;
  padding-bottom: .8em;
  border-bottom: 1px solid #f7f7f7;
}

.f-widget-trending .post-trending:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.f-widget-trending .post-trending::before {
  counter-increment: section;
  content: counter(section);
  width: 2em;
  height: 2em;
  font-size: 11px;
  line-height: 1.9em;
  color: #fff;
  position: absolute;
  margin-top: 0;
  z-index: 2;
  border-radius: 100%;
  margin-left: 3em;
  border: 2px solid #fff;
  text-align: center;
  left: 0;
}

.f-widget-trending .thumb {
  width: 4em;
  height: 4em;
  display: inline-block;
  margin-right: 1em;
  background-color: #eee;
}

.f-widget-trending .thumb img {
  width: 100%;
  border-radius: 100%;
}

.f-widget-trending .thumb-link {
  display: inline-block;
}

.f-widget-trending .thumb-link span {
  font-size: 10px;
  color: #b9b9b9;
}

.f-widget-trending .thumb-link h4 {
  margin: .5em 0;
  line-height: 0;
  font-size: 12px;
}

/* ______________ WRAOOER ______________ */

/* slideshow */

/* begin > edit swipper plugin*/

.swiper-pagination-progressbar {
  background: rgba(255, 255, 255, 0.25);
  position: absolute;
}

.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transform: scale(0);
  transform-origin: left top;
  background: var(--main-color);
}

.swiper-button-prev, .swiper-container-rtl .swiper-button-next {
  background-image: none;
  left: 10px;
  right: auto;
}

.swiper-button-next, .swiper-container-rtl .swiper-button-prev {
  background-image: none;
  right: 10px;
  left: auto;
}

/* end > edit swipper plugin*/

.top-products .row {
  margin: 0;
}

.slideshow {
  background-image: url(../images/bg-slider.png);
  background-size: cover;
  background-color: #fff;
  margin-bottom: 2em;
  overflow: hidden;
  position: relative;
  border-radius: 11px;
}

.img-top-product {
  padding: 3em;
}

.img-top-product img {
  width: 100%;
}

.info-top-product h1 {
  font-size: 20px;
  vertical-align: middle;
}

.info-top-product {
  margin: 3em 0;
}

.info-top-product h1 {
  padding: 1em 0 0 1em;
  line-height: 45px;
}

.btn-buy-slider {
  color: #fff;
  padding: 5px 20px;
  border-radius: 50px;
  font-weight: normal;
  background: var(--main-color);
}

/* search */

.search-form {
  position: relative;
  margin-bottom: 2em
}

.search-form input[type="text"] {
  width: 100%;
  font-size: 13px;
  overflow: hidden;
  color: #000000;
  max-height: 4em;
  height: 4em;
  padding: 0 3em;
  outline: none;
  border: none;
  box-shadow: 0 3px 1px -1px #f1f1f1;
  border-radius: 50px;
}

.search-toggle {
  background-image: linear-gradient(to left, var(--main-color), var(--main-s-color));
  position: absolute;
  float: left;
  height: 100%;
  top: 0;
  overflow: hidden;
  font-size: 15px;
  width: 3.5em;
  left: 0;
  border-radius: 50px 0 0 50px;
  opacity: .5;
  transition: .2s;
  background: var(--main-color);
}

.search-toggle:hover {
  opacity: 1;
}

.product-cat a {
  color: var(--main-color);
  font-size: 10px;
  position: relative;
  z-index: 55;
  font-weight: bold;
}

.search-toggle svg {
  color: #fff;
  position: absolute;
  left: 55%;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* latest-products */

.product-item {
  background-color: #fff;
  margin-bottom: 2em;
  overflow: hidden;
  transition: .3s;
  padding: 1em;
  box-shadow: 0 3px 1px -1px #f1f1f1;
  border-radius: 11px;
}

.product-item:hover {
  box-shadow: 0px 20px 50px -14px #cacaca
}

.product-cat {
  position: absolute;
  top: 0.2em;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  padding: 0 20px 2px;
  border-radius: 0 0 11px 11px;
  z-index: 3;
}

.product-cat a {
  color: var(--main-color);
  font-size: 10px;
  position: relative;
  z-index: 55
}

.product-cat a:hover {
  color: #888
}

.product-img {
  background-color: #eee;
  margin-bottom: 1em;
  overflow: hidden;
  border-radius: 11px;
}

.product-img img {
  width: 100%;
  transition: .35s cubic-bezier(0.43, 0.06, 0.41, 1.87);
}

.product-img img:hover {
  transform: scale(1.2);
}

.product-company {
  font-size: 11px;
  color: #888;
  letter-spacing: 1px;
}

.product-company span {
  color: #F8D837;
}

.product-title h1 {
  font-size: 16px;
  line-height: 1.6;
  color: #453F58;
  transition: .3s;
  font-weight: 600;
}

.product-title h1:hover {
  color: var(--main-color)
}

.product-buy {
  border: solid 3px #fff;
  background-color: var(--main-color);
  color: #fff;
  text-align: center;
  font-size: 15px;
  padding: .4em;
  height: 2.8em;
  width: 2.8em;
  border-radius: 50px;
  box-shadow: 0 6px 13px -2px #d8d8e1;
  transition: .3s;
  background: var(--main-color);
}

.product-buy:hover {
  box-shadow: none;
  cursor: pointer;
  transform: scale(.9);
}

.product-price {
  background-color: #f6f7fa;
  margin-right: -1em;
  padding: .5em 1.2em;
  border-radius: 50px 0 0 50px;
}

.product-price h3 {
  font-size: 18px;
  margin: 0;
  color: #453F58;
  display: inline-block;
  margin: 0 .2em
}

.product-price span {
  color: #888;
  display: inline-block;
  position: relative;
}

.product-price span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 1px;
  width: 100%;
  background-color: #f33737
}

/*  load more  */

.page-link {
  border: none;
}

ul.pagination {
  margin: 1em;
  -ms-flex-pack: center !important;
  -webkit-box-pack: center !important;
  justify-content: center !important;
}

.page-item.active .page-link {
  background: var(--main-color);
  border-color: none;
}

.load-more {
  line-height: 3em;
  background-color: #fff;
  text-align: center;
  box-shadow: 0 3px 1px -1px #f1f1f1;
  border-radius: 50px;
  transition: .2s ease;
  position: relative;
  padding: em !important;
}

.load-more:hover {
  opacity: .8;
  box-shadow: none
}

.load-more a {
  font-size: 15px;
  color: #8479e1
}

.load-more svg {
  color: #ddd
}

a {
  color: #000;
  -webkit-transition: .35s;
  transition: .35s;
}

/* _ _ _ _ _ _ _ FOOTER _ _ _ _ _ _ _  */

footer {
  background-color: var(--main-color);
  padding-top: 2em;
}

.f-widget {
  background-color: var(--main-color);
  padding: 2em;
  border-radius: 11px;
  margin-bottom: 2em
}

.f-widget-title {
  color: #fff;
  padding-bottom: .5em;
  border-bottom: solid 1px #ffffff12;
  margin-bottom: .5em;
}

.f-widget-title h4 {
  font-size: 22px
}

.f-widget p {
  color: #ffffff87;
  font-family: 'Tajawal', sans-serif;
}

.f-widget ul {
  border-right: solid 5px #fff3;
  padding-right: 1em;
}

.f-widget ul li {
  display: block;
  list-style: circle;
  transition: .3s
}

.f-widget ul li a:hover {
  padding: 0 .4em;
  color: var(--main-color)
}

.f-widget ul li a {
  color: #fff;
}

.f-widget ul li {
  color: #fff;
}

.f-widget ul li svg {
  margin: 0 0 0 1em
}

.language span {
  color: #9e90a1;
  margin: 0 1em;
}


.select-language {
  background: var(--main-s-color);
  border: none;
  padding: 0 1em;
  border-radius: 50px;
  outline: none;
  font-size: 14px;
  color: #fff;
  margin-top: -0.2em;
  height: 23px;
}

.copyright {
  border-top: solid 1px #eeeeee08;
  text-align: center;
  color: #ffffff;
  background-color: var(--main-color);
  padding: 1em;
  margin-top: 1em;
  font-family: 'Tajawal', sans-serif;
}

.Product-view-info .product-price {
  background-color: #fff;
  margin-right: -1em;
  padding: .5em 1.2em;
  border-radius: 50px 0 0 50px;
}
