/* These styles are generated from project.scss. */

/* arabic font */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@500;700&display=swap');

.cairo{
  font-family: 'Cairo', sans-serif;
  font-weight: 600;
}

.tajawal{
  font-family: 'Tajawal', sans-serif;
  font-weight: 500;
}

.tajawal-bold{
  font-family: 'Tajawal', sans-serif;
  font-weight: 700;
}

:lang(ar) {
  font-family: 'Cairo', sans-serif;
  letter-spacing:0 !important;
  text-align: right;
  direction: rtl !important;
}

.arabic-direction{
  direction: rtl !important;
}

.arabic-reverse {
  flex-direction:row-reverse;
}

.latin-direction{
  direction: ltr !important;
}


.alert-debug {
  color: black;
  background-color: white;
  border-color: #d6e9c6;
}

.alert-error {
  color: #b94a48;
  background-color: #f2dede;
  border-color: #eed3d7;
}

/*** nav bar for authenticated users ***/

.navbar .badge {
	color: #fff;
	background: #dc3545;
	font-size: 10px;
	border-radius: 20px;
	position: absolute;
	min-width: 10px;
	padding: 2px;
	min-height: 10px;
	top: 4px;
}
.navbar a.notifications, .navbar a.messages {
	position: relative;
}

/***  My css ***/

.no-radius{
  border-radius:0 !important;
}


/* to fix horizontal scrollbar when 0 padding in container-fluid */
/*
.row {
  //margin-left: 0 !important;
  //margin-right: 0 !important;
}
*/

/* horizontal divider */
.divider-1::before {
    display: block;
    width: 1px;
    height: 60%;
    content: '';
    background: #ddd;
    position: absolute;
    top: 20%;
    right: 0;
}
.divider-2::before {
    display: block;
    width: 2px;
    height: 60%;
    content: '';
    background: #ddd;
    position: absolute;
    top: 20%;
    right: 0;
}


.bg-global-home{
  background-color:#fffef9;
}

/** make selected image name visible in the input file when arabic language **/
.custom-file-label {
  text-align:center;
}


/***   Bande verte titre du produit ou nom producteur  ****/
  .sublink {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 15px;
    // background: rgba(0,124,85,0.9);
    background: rgba(28, 179, 110, 0.8);
    color: #ffffff;
    font-size: 12px;
    line-height: 17px;
    text-align: center;
}

.sublink-producer {
    display: block;
    font-size: 15px;
    font-weight: bold;
    line-height: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sublink:hover, .sublink-producer:hover{
  color: #ffffff;
  text-decoration: none;
}


.no-letter-spacing{
  letter-spacing: 0 !important;
}


/********* checkout step (admin home) *******************/

.checkout-step {
    font-size: 14px;
    padding: 20px;
    // margin-top: 4px;
    position: relative;
    border-left: 1px solid #ccc;
}

  .checkout-step-number {
    border-radius: 50%;
    border: 2px solid gray;
    //display: inline-block;
    font-weight:bold;
    height: 32px;
    width: 32px;
    //margin-right: 15px;
    padding: 2px;
    text-align: center;
    position: absolute;
    //left:-15px;
    z-index:100;
    background-color: #ccc;
}

.checkout-step-title {
  //font-size: 18px;
  //font-weight: 500;
  vertical-align: middle;
  // display: inline-block;
  margin: 0 20px;
}

.checkout-step-number-success {
  border-radius: 50%;
  border: 2px solid #fff;
  display: inline-block;
  font-weight:bold;
  height: 32px;
  width: 32px;
  margin-right: 15px;
  padding: 2px;
  text-align: center;
}


/*************   Pure css pure css star rating (/!\ NOT django-star-rating) *******************/
.star-ratings-css {
      unicode-bidi: bidi-override;
      color: #c5c5c5;
      font-size: 25px;
      height: 40px;
      width: 120px;
      margin: 0;
      position: relative;
      padding: 0;
      text-shadow: 0px 1px 0 #a2a2a2;
  }

  .star-ratings-css-top {
      color: #ff971a;
      padding: 0;
      position: absolute;
      z-index: 1;
      display: block;
      top: 0;
      //left: 0;
      overflow: hidden;
      text-shadow: 0px 1px 0 #ff971a;
  }

  .star-ratings-css-top-primary {
      color: #1cb36e;
      padding: 0;
      position: absolute;
      z-index: 1;
      display: block;
      top: 0;
      //left: 0;
      overflow: hidden;
      text-shadow: 0px 1px 0 #1cb36e;
  }

  .star-ratings-css-bottom {
      padding: 0;
      display: block;
      z-index: 0;
  }

/********  // End pure css star rating ******************/

/******** footer : bootstrap snippet ******/
.col_white_amrc { color:#FFF;}

footer { width:100%; background-color:#08202e; min-height:250px; padding:10px 0px 25px 0px ;}

ul.footer_ul_amrc li a, ul.footer_ul_amrc li a:visited {
  color: #6d767a !important;
  text-decoration: none !important;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}

ul.footer_ul_amrc li a:focus, ul.footer_ul_amrc li a:hover {
  color: #235f83 !important;
}

.pt2 { padding-top:40px ; margin-bottom:20px ;}
footer p { font-size:13px; color:#CCC; padding-bottom:0px; margin-bottom:8px;}
.mb10 { padding-bottom:15px ;}
.footer_ul_amrc { margin:0px ; list-style-type:none ; font-size:14px; padding:0px 0px 10px 0px ; }
.footer_ul_amrc li {padding:0px 0px 5px 0px;}
.footer_ul_amrc li a{ color:#CCC;}
.footer_ul_amrc li a:hover{ color:#fff; text-decoration:none;}
.fleft { float:left;}
.padding-right { padding-right:10px; }

.footer_ul2_amrc {margin:0px; list-style-type:none; padding:0px;}
.footer_ul2_amrc li p { display:table; }
.footer_ul2_amrc li a:hover { text-decoration:none;}
.footer_ul2_amrc li i { margin-top:5px;}

.bottom_border { border-bottom:1px solid #323f45; padding-bottom:20px;}
.foote_bottom_ul_amrc {
	list-style-type:none;
	padding:0px;
	display:table;
	margin-top: 10px;
	margin-right: auto;
	margin-bottom: 10px;
	margin-left: auto;
}
.foote_bottom_ul_amrc li { display:inline;}

.foote_bottom_ul_amrc li a {
  color:#999 !important;
  text-decoration: none !important;
  margin:0 12px;
}

.social_footer_ul { display:table; margin:15px auto 0 auto; list-style-type:none;  }
.social_footer_ul li { padding-left:20px; padding-top:10px; float:left; }
.social_footer_ul li a {
  border:1px solid #ccc !important;
  color:#6d767a !important;
  padding:8px;
  border-radius:50%;
 }
.social_footer_ul li i {  width:20px; height:20px; text-align:center;}

/**  /End footer   **/



/*******  FAQ Accordion   *********/

.accordion .card2 .card-header2 {
	background: none;
	border: none;
	padding: .4rem 1rem;
}
.accordion .card-header2 h2 span {
	float: left;
	margin-top: 10px;
}
.accordion .card-header2 .btn {
	font-size: 1rem;
	text-align: left;
	position: relative;
	padding-left: 2rem;
}
.accordion .card-header2 i {
	font-size: 1.2rem;
	font-weight: bold;
	position: absolute;
	left: 0;
	top: 10px;
}
.accordion .card-header2 .btn:hover {
	color: #ff8300;
}

.accordion .highlight .btn {
	color: #74bd30;
}
.accordion .highlight i {
  left:-5px;
	transform: rotate(180deg);
}



/*** Slider of events on home page *****************/

.post-slide{
    background: #fff;
    margin: 0 15px;
}
.post-slide .post-img{
    position:relative;
    float: left;
    width:50%;
    height: auto;
}
.post-slide .over-layer{
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    position: absolute;
    opacity:0;
    cursor: pointer;
    transition: opacity 0.30s ease 0s;
}
.post-slide .over-layer:after{
    color: #fff;
    content: "+";
    font-size: 52px;
    position: absolute;
    top: 35%;
    left:45%;
}
.post-slide .post-img:hover .over-layer{
    opacity:1;
}
.post-slide .post-img img{
    width:100%;
    height: auto;
}
.post-slide .post-review{
    float: left;
    padding: 1px 20px;
    width: 50%;
}
.post-slide .post-title{
    margin:0 0 5px 0;
}
.post-slide .post-title a{
    color: #3498db;
    font-size: 20px;
    font-weight: 700;
    display: block;
    text-transform: capitalize;
    transition:color 0.30s ease;
}
.post-title > a:hover{
    text-decoration: none;
    color:#333;
}
.post-slide .post-date{
    display:block;
    font-size:15px;
    margin-bottom:17px;
}
.post-slide .post-others{
    display:block;
    font-size:15px;
    font-weight:700;
    margin-bottom:5px;
}
.post-description{
    color: #333;
    font-size: 15px;
    font-weight:400;
    text-align:left;
}
.owl-pagination{
    margin-top: 40px;
}
.owl-theme .owl-controls .owl-page.active span, .owl-theme .owl-controls.clickable .owl-page:hover span{
    background: #28a745;
}
@media only screen and (max-width: 990px){
    .post-slide .over-layer:after{
        top:39%;
        left: 45%;
    }
}
@media only screen and (max-width: 640px){
    .post-slide .post-img{
        width:100%;
    }
    .post-slide .post-review{
        width:100%;
        padding:10px;
    }
}

/* ******************************************** */
/*  Floating social media links bar             */
/* ******************************************** */
.fl-fl {
  // background: #000000;
  text-transform: uppercase;
  // letter-spacing: 1px;
  padding: 5px;
  width: 190px;
  position: fixed;
  right: -140px;
  z-index: 1000;
  -webkit-transition: all .25s ease;
  -moz-transition: all .25s ease;
  -ms-transition: all .25s ease;
  -o-transition: all .25s ease;
  transition: all .25s ease;
}

.fl-bar-icon {
  font-size: 20px;
  color: #fff;
  padding: 10px 0;
  width: 40px;
  margin-left: 10px;
}

.fl-fl:hover {
  right: 0;
}

.fl-fl a {
  color: #fff !important;
  text-decoration: none !important;
  text-align: center;
  line-height: 43px!important;
  vertical-align: top!important;
}

.float-fb {
  top: 300px;
  background: #3b5998;

}

.float-tw {
  top: 360px;
  background: #00acee;
}

.float-ig {
  top: 400px;
}


/* ******************************************** */
/*  Recent producers boxes                      */
/* ******************************************** */

.dw_box{
	padding-left: 25px;
	padding-top: 30px;
	padding-bottom: 25px;
	padding-right: 25px;
	//border-left: solid 3px #1cb36e;
	min-height: 230px;
	border-bottom-left-radius: 60px 60px;
}

.dw_box_title{
	font-size: 24px;
	font-weight: 600;
	color: #404040;
	line-height: 1.2;
}

.dw_box_text{
	margin-top: 10px;
}

.dw_box_panel{
	position: absolute;
	top: 0px;
	right: 0px;
	width: 120px;
	height: 35px;
	border-bottom-left-radius: 60px 60px;
	font-size: 14px;
	font-weight: 600;
	color: #fff;
	line-height: 35px;
	text-align: center;
	opacity: .8;
	z-index: 20;
}

/* For arabic language */
.dw_box_arabic{
	padding-left: 25px;
	padding-top: 30px;
	padding-bottom: 25px;
	padding-right: 25px;
	min-height: 230px;
	border-bottom-left-radius: 60px 60px;
}

.dw_box_panel_arabic{
	position: absolute;
	top: 0px;
	left: 0px;
	width: 120px;
	height: 35px;
	border-bottom-right-radius: 60px 60px;
	font-size: 14px;
	font-weight: 600;
	color: #fff;
	line-height: 35px;
	text-align: center;
	opacity: .8;
	z-index: 20;
}


/* ******************************************** */
/*  Ratings progress bar                        */
/* ******************************************** */

.rating-bar {
    width: 300px;
    padding: 5px;
    border-radius: 5px
}

.bar-container {
    margin-bottom: 5px;
    height:10px;
}

/* ******************************************** */
/*  Fix right to left stars in Rateyo lib       */
/* ******************************************** */

.jq-ry-group, .jq-ry-rated-group{
  right:0 !important;
}
