/*
==========================================
				DEFAULT CSS
==========================================
*/

section {
  float: right;
}

.kode-content {
  float: right;
}

html,
body {
  direction: rtl;
}

.bx-wrapper,
.bxslider,
#loader-wrapper,
.owl-carousel .owl-wrapper-outer {
  direction: ltr;
}

@font-face {
  font-family: "Droid Arabic Kufi";
  src: url("./fonts/Droid.Arabic.Kufi.ttf");
}

body,
p,
h1,
h2,
h3,
h4,
h5,
h6,
span,
a {
  font-family: "Droid Arabic Kufi";
}

.section-heading-1 .kode-icon::before {
  left: 20%;
}

.section-heading-1 .kode-icon::after {
  right: 20%;
}

/*
==========================================
				HEADER CSS
==========================================
*/

header,
.kode-navigation ul li,
.logo-container,
.logo,
.top-strip,
.top-strip .site-info ul li {
  float: right;
}
.top-strip .site-info {
  float: left;
}
.top-strip .site-info ul li {
  margin: 0px 10px 0px 0px;
}
.top-strip .site-info ul li i {
  margin: 0px 0px 0px 5px;
}
.header-3 .top-strip {
  padding: 7px 0px 7px 10px;
}
.kode-navigation ul ul {
  left: auto;
  right: 0;
}
header {
  left: auto;
  right: 0;
}
.header-3 .logo {
  text-align: center;
}
.header-3 .logo img {
  height: 75px;
  width: 100%;
  object-fit: contain;
  bottom: auto;
}
.logo-container {
  box-shadow: 0px 15px 15px 0px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 15px 15px 0px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0px 15px 15px 0px rgba(0, 0, 0, 0.2);
}
.logo-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
}
.logo .title_ar {
  font-family: "Droid Arabic Kufi";
  font-size: 15px;
  text-align: center;
  margin: 0px;
  padding: 0px;
  color: white;
}
.logo .title_en {
  font-size: 9.3px;
  text-align: center;
  font-family: Arial;
  font-weight: bold;
  margin: 0px;
  padding: 0px;
  color: white;
  margin-top: 5px;
}
.header-3 .top-strip .pull-left .fa {
  margin-left: 5px;
}
.header-3 .kode-navigation ul ul li {
  text-align: center;
}
.header-3 .kode-navigation ul li a {
  padding: 30px 20px;
  font-family: "Droid Arabic Kufi";
}
.cart-icon {
  display: inline-block;
  position: absolute;
  left: 0;
  width: 65px;
  height: 45px;
  line-height: 45px;
  font-size: 20px;
  color: white;
}
.cart-icon .fa {
  margin-left: -8px;
}
.cart-icon .badge {
  position: absolute;
  top: 6px;
  right: 12px;
  padding: 3px 4px;
  font-size: 12px;
  min-width: 18px;
  background-color: white;
  box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.4);
}
.widget-new-arrival .bx-wrapper .bx-controls-direction a {
  z-index: 1;
}
aside .widget h2:before,
.sidebar .widget h2:before {
  left: auto;
  right: 0;
  width: 160px;
}
.widget-new-arrival .bx-wrapper .bx-controls-direction a.bx-prev {
  left: 0;
  right: auto;
}
.widget-new-arrival .bx-wrapper .bx-controls-direction a {
  right: auto;
  left: 40px;
}
.widget-categories ul li:before {
  right: auto;
  left: 0;
  transform: rotate(180deg);
  -o-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
}
.widget-categories ul li:hover:before {
  right: auto;
  left: 10px;
}
.widget-new-arrival ul li .kode-thumb {
  float: right;
}
.widget-new-arrival ul li .kode-text {
  padding: 0px 90px 0px 0;
}

/*
==========================================
				BANNER
==========================================
*/

.kode-banner .bx-wrapper img {
  width: 100%;
  height: 550px;
  object-fit: cover;
}
.kode-banner .kode-caption-2 {
  left: auto;
  right: 50%;
  margin-left: auto;
  margin-right: 60%;
  text-align: right;
}
.search-section .nav-tabs {
  direction: rtl;
}
.kode-banner .kode-caption-2 .caption-btns {
  float: right;
}
.kode-service-3 img {
  height: 90px;
  width: 90px;
  border-radius: 15px;
  border: solid 3px #ccc;
  margin-bottom: 20px;
  transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
}
.kode-service-3:hover img {
  border: solid 3px #2d7424;
  box-shadow: 3px 3px 5px #ccc;
}
.header-3 .top-links {
  background: none;
  display: inline-block;
  width: auto;
  float: right;
}
.header-3 .top-links > ul {
  background: none;
}
.header-3 .top-links ul li a {
  font-size: 13px;
  color: #fff;
  padding: 0 9px;
}
.sub-list li > a {
  color: #666 !important;
}
.sub-list li > a:hover {
  color: #fff !important;
}
.header-3 .top-links ul ul li a {
  font-size: 13px;
}

/*
==========================================
			SECTION Categories
==========================================
*/

.best-seller-pro .kode-caption {
  top: 35%;
  direction: rtl;
}
.best-seller-pro .kode-caption p.price {
  font-size: 22px;
}

/*
==========================================
			SECTION Sponsor
==========================================
*/

.sponsor {
  background-color: #363636;
  text-align: center;
  padding: 50px 0px;
  position: relative;
}
.sponsor:before {
  content: "";
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  background-image: url("images/pettern.png");
}
.sponsor .container {
  position: relative;
}
.sponsor h2 {
  font-size: 32px;
  text-transform: uppercase;
  color: #fff;
  margin-top: -6px;
}
.sponsor .col-sm-4 img {
  width: 100%;
  height: 70px;
  object-fit: contain;
}
.img-frame {
  background: #fff;
  padding: 10px;
  border: 1px solid #ccc;
  margin-bottom: 30px;
}
.sponsor .row {
  width: 70%;
  margin: 0 auto;
  margin-top: 20px;
  display: inline-block;
}

/*
==========================================
				books3-sidebar CSS
==========================================
*/

.search-section .nav-tabs > li {
  margin: 0px -4px 0px 0;
}
.search-section .nav-tabs > li:first-child.active > a:before,
.search-section .nav-tabs > li:last-child.active > a:after {
  display: block;
}
.search-section .nav-tabs > li:first-child.active > a:after,
.search-section .nav-tabs > li:last-child.active > a:before {
  display: none;
}
.books-listing-4 .kode-thumb img {
  height: 300px;
  object-fit: cover;
}
.kode-text h3 a {
  color: #333;
}
.widget-new-arrival ul li .publisher .kode-thumb {
  width: 100px;
  border-radius: 50%;
}
.widget-new-arrival ul li .publisher .kode-thumb img {
  height: 100px;
  object-fit: fill;
}
.widget-new-arrival ul li .publisher .kode-text {
  padding: 0px 116px 0px 0;
}
.widget-new-arrival ul li .publisher .kode-text h3 {
  margin-top: 40px;
}
#snackbar {
  visibility: hidden;
  min-width: 250px;
  height: 60px !important;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 2px;
  padding: 16px;
  position: fixed;
  top: 135px;
  left: calc(50% - 250px);
  right: calc(50% - 250px);
  margin: 0 auto;
  bottom: auto;
  z-index: 1;
  font-size: 17px;
}
#snackbar.show {
  visibility: visible;
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}
#snackbar .fa{
    margin: 0 10px;
}

@-webkit-keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }
  to {
    bottom: 30px;
    opacity: 1;
  }
}
@keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }
  to {
    bottom: 30px;
    opacity: 1;
  }
}
@-webkit-keyframes fadeout {
  from {
    bottom: 30px;
    opacity: 1;
  }
  to {
    bottom: 0;
    opacity: 0;
  }
}
@keyframes fadeout {
  from {
    bottom: 30px;
    opacity: 1;
  }
  to {
    bottom: 0;
    opacity: 0;
  }
}

/*
==========================================
			SECTION Login Modal
==========================================
*/
#myModal,
.modal-open {
  padding: 0 !important;
}
#myModal .nav-tabs {
  margin-bottom: 15px;
}

#myModal .sign-with {
  margin-top: 25px;
  padding: 20px;
}

#myModal div#OR {
  height: 30px;
  width: 30px;
  border: 1px solid #c2c2c2;
  border-radius: 50%;
  font-weight: bold;
  line-height: 28px;
  text-align: center;
  font-size: 12px;
  float: left;
  position: absolute;
  right: auto;
  left: -16px;
  top: 40%;
  z-index: 1;
  background: #dfdfdf;
}

#myModal .nav-tabs > li.active > a {
  color: white;
}


/*
=============================================
				CART
=============================================
*/
.table>tbody>tr>td, .table>tfoot>tr>td{
  vertical-align: middle;
}
@media screen and (max-width: 600px) {
  table#cart tbody td .form-control{
  width: 20%;
  display: inline !important;
}
.actions .btn{
  width:36%;
  margin:1.5em 0;
}

.actions .btn-info{
  float:left;
}
.actions .btn-danger{
  float:right;
}

table#cart thead { display: none; }
table#cart tbody td { display: block; padding: .6rem; min-width:320px;}
table#cart tbody tr td:first-child { background: #333; color: #fff; }
table#cart tbody td:before {
  content: attr(data-th); font-weight: bold;
  display: inline-block; width: 8rem;
}



table#cart tfoot td{display:block; }
table#cart tfoot td .btn{display:block;}

}

/*
=============================================
				FOOTER
=============================================
*/

.footer {
  padding: 40px 0 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer h3 {
  font-size: 16px;
  color: #fff;
  margin-bottom: 30px;
}

.main-info img {
  width: 75px;
  margin-bottom: 10px;
}

.main-info p {
  font-size: 15px;
  margin: 0;
}

.main-info .logo {
  display: flex;
  align-items: center;
  width: 100%;
}

.main-info .title_en {
  color: rgba(255, 255, 255, 0.7);
  margin-top: -5px;
}

.footer .row {
  margin-bottom: 30px;
}

.footer-link li {
  margin-bottom: 5px;
}

.footer-link li a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  text-decoration: none;
}

.footer-link li:hover a {
  color: #fff;
}

.lib-copyrights {
  background: #055531;
  padding: 15px 0;
}

.lib-copyrights p > span {
  display: block;
  font-size: 12px;
}

.lib-copyrights .social-icon {
  margin-top: 16px;
}

.contact span {
  display: block;
  font-family: tahoma;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.9);
}

.emergency span {
  font-family: tahoma;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.9);
  margin-right: 10px;
}

.qr_code img {
  width: 100px;
  height: 100px;
}

.dl-menuwrapper li.dl-back:after,
.dl-menuwrapper li > a:not(:only-child):after {
  transform: scaleX(-1);
  /* left: 20px;*/
}

/* Large desktops and laptops */

@media (min-width: 1200px) {
}

/* Landscape tablets and medium desktops */

@media (min-width: 992px) and (max-width: 1199px) {
}

/* Portrait tablets and small desktops */

@media (min-width: 768px) and (max-width: 991px) {
  .products-list,
  .filter-list {
    padding: 15px;
  }
  .details-slider .carousel-inner {
    margin: 0;
  }
  .slide-indicate {
    margin: 0 10px 0 0;
  }
}

/* Landscape phones and portrait tablets */

@media (max-width: 767px) {
  .top-strip {
    display: none;
  }
  .bx-wrapper img {
    height: 400px;
  }
}

/* Portrait phones and smaller */

@media (max-width: 480px) {
}
