/*
 * NOTICE OF LICENSE
 *
 * This file is licenced under the Software License Agreement.
 * With the purchase or the installation of the software in your application
 * you accept the licence agreement.
 *
 * You must not modify, adapt or create derivative works of this source code
 *
 *  @author    Frederic Moreau
 *  @copyright 2016 - 2024 BeComWeb
 *  @license   LICENSE.txt
*/
 
 /* Quick order form page */
#eqof_page_title{
	margin-bottom:1.75rem;
}
/* Common */
.green-icon{
	color:#48b151
}
.red-icon{
	color:#d4323d;
}
.eqof_product_name{
	font-weight:bold;
}
.bold{
	font-weight:bold;
}
.eqof_transparent_bg{
	background:transparent !important;
}
#quick-order-form p{
	font-size:0.85rem;
}
#quick-order-form table th,
#quick-order-form table td{
	padding:8px;
	font-size:0.85rem;
	color: rgb(122, 122, 122);
	border-bottom: 2px solid #E7E7E7;
	font-weight: normal;
	position: relative;
}
#quick-order-form table tr:last-child td{
	border-bottom: 0;
}
#quick-order-form .eqof_img{
	width:100px;
}
#quick-order-form .eqof_img img{
	display:block;
	width: calc(100% - 12px);
}
#quick-order-form .easyquickorderform_orders .eqof_img img{
	margin:0px auto;
}
.eqof_qty_selector{
	width:68px;
	padding:4px;
	margin: 0; 
	text-align:center;
	background-color:#fbfbfb;
	border:2px solid #ddd;
	color: #555;
	font-weight: bold;
	appearance: none;
}
.eqof_qty_selector::-webkit-inner-spin-button, 
.eqof_qty_selector::-webkit-outer-spin-button { 
	-webkit-appearance: none;
}
.eqof_qty_selector{
	-moz-appearance: textfield;
	appearance: none;
}
.eqof_qty_modifier .eqof_change_qty,
.eqof_qty_modifier .eqof_set_qty{
	display: inline-block;
	width: 22px;
	height: 22px;
	margin:0;
	line-height: 21px;
	text-align: center;
	background-color: #E7E7E7;
	outline:none;
	text-decoration:none;
	color: black;
	border-radius:50%;
	font-weight: normal;
	font-size: 18px;
}
.eqof_qty_modifier .eqof_change_qty:hover,
.eqof_qty_modifier .eqof_set_qty:hover{
	color:#555;
}
#easyquickorderform_container {
	background:white;
  	padding:30px;
  	border-radius:20px;
}
#easyquickorderform_container .eqof_product_infos{
	width:auto;
}
#easyquickorderform_container .eqof_quantity{
	width:96px;
	padding-top: 15px !important;
}
#easyquickorderform_container .eqof_qty_selector_cart_container, .eqof_quantity_container {
	position: absolute;
	display: flex;
}
.eqof_qty_selector_cart, .eqof_qty_selector {
	display: block;
	margin:0px auto;
	font-size: 16px;
	background-color: transparent;
	border:none;
	text-align: center;
	height: 21px;
	font-weight: normal;
}
#easyquickorderform_container .eqof_qty_modifier {
	position: absolute;
	width: 72px;
	display: flex;
	justify-content: space-between;
	left: 50%;
	transform: translateX(-50%);
}
#easyquickorderform_container .eqof_price{
	width:120px;
}
/* If discount */
#easyquickorderform_container .eqof_product_price .eqof_basic_price{ /* "Old price" */
	text-decoration: line-through;
}
#easyquickorderform_container .eqof_product_price .eqof_reduction_label{ /* Reduction (in % or €) */
	display: inline-block;
	margin: 0 3px;
	padding: 3px;
	line-height: 100%;
	background-color: #f39d72;
	font-size: 90%;
	color: #fff;
}
.easyquickorderform_menu ul {
	border-bottom:2px solid #C6C6C6;
  	margin-bottom: 45px;
}
.easyquickorderform_menu ul li {
	display: table-cell;
	padding: 14px;
	cursor:pointer;
	text-transform: uppercase;
  	font-weight: bold;
  	font-size: 15px;
	text-align: center;
}
.easyquickorderform_menu ul li.active {
	border-bottom:4px solid #588ad4;
}
.easyquickorderform_left_container {
	padding-left: 0;
  padding-right: 0;
}
.easyquickorderform_left_container .eqof_block_title{
	background:#1E1E1E;
	color: white;
	padding:13px 20px 10px;
  	font-size: 18px;
	min-height: 47px;
	margin-bottom: 0;
	width: 100%;
	border-radius:20px 20px 0 0;
}

.easyquickorderform_left_container .eqof_block_title i{
	width:24px;
}

.easyquickorderform_left_content {
	padding-top: 0.75rem;
	border:2px solid #E7E7E7;
	border-top:0;
	border-radius:0 0 20px 20px;
	padding-left: 15px;
	padding-right: 15px;
}

/* Avoid material icons being target of click events */
#easyquickorderform_container a .material-icons{
	pointer-events: none;
}

/* Ajax loader */
#eqof_ajax_loader{
	text-align: center;
	margin-top:30px;
	font-size: 22px;
	line-height: 32px;
	font-weight: bold;
	background-color: #f1f1f1;
	padding: 12px 20px;
	display: none;
}
#eqof_ajax_loader i{
	font-size:32px;
	animation: eqof_icon_rotate 2s linear infinite;
}

/* Add to cart button animation */
.eqof_add_btn i.spinner{
	animation: eqof_icon_rotate 3s linear infinite;
}
@keyframes eqof_icon_rotate{
	from{transform:rotate(0deg);}
	to{transform:rotate(360deg);}
}

/* Modals */
#quick-order-form .modal-backdrop{
	z-index:1050;
}
#eqof_modal .modal-header{
	background-color: #F6F6F6;
  	color: inherit;
  	text-transform: uppercase;
}
#eqof_modal .modal-header .modal-title{
	display:inline-block;
}
#eqof_modal .modal-header button{
	color:inherit;
	opacity:1;
}
	/* "More infos" modal */
#eqof_more_infos_content hr{
	margin-bottom:0.75rem;
}
#eqof_more_infos_content > section{
	margin-bottom:2em;
}
#eqof_more_infos_content table{
	margin-top:1.5em;
	margin-bottom:0;
}
#eqof_more_infos_content #eqof_more_infos_gallery > div > img{
	padding:5px;
	border:1px solid #eee;
	margin-bottom:0.5em;
}
	/* Message */
#eqof_message{
	text-align:center;
	font-weight:bold;
	z-index:1052;
}
#eqof_message .modal-header{
	border-bottom:0;
	padding:5px 15px 5px 5px; 
}
#eqof_message .modal-body{
	border-bottom:0;
	padding:5px 5px 30px 5px; 
}
	/* Search form and results */
#eqof_search_form{
	text-align:center;
	margin-top:0.75rem;
	margin-bottom:1.5rem;
	position:relative;
}
#eqof_search_form input[name="eqof_search_value"]{
	height: 42px;
	padding: 10px 35px 10px 10px;
	font-size:14px;
	background:transparent;
}
#eqof_search_form button[name="eqof_search_submit"]{
	position:absolute;
	top:0; 
	right:4px;
	width:30px;
	height:42px;
	background-color:transparent;
	border:none;
}
.eqof_search_results .alert{
	display:none;
}
.eqof_search_results {
	max-height: 575px;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: #588ad4 #f0f0f0;
	margin-bottom: 15px;
}
/* Chrome, Edge, Safari */
.eqof_search_results::-webkit-scrollbar {
	width: 8px;
}
.eqof_search_results::-webkit-scrollbar-track {
	background: #f0f0f0;
}
.eqof_search_results::-webkit-scrollbar-thumb {
	background-color: #588ad4;
	border-radius: 4px;
}

.easyquickorderform_orders_products_list.collapsed {
	height:0;
	overflow:hidden;
}

#eqof_results_found, .easyquickorderform_orders_products_list_ul{
	padding-right: 10px;
	margin-bottom: 0;
}
#eqof_results_found li, .easyquickorderform_orders_products_list_ul li{
	padding:10px 0;
	border:0;
	transition:0.3s all;
	position: relative;
}
#eqof_results_found li:not(:last-child), .easyquickorderform_orders_products_list_ul li:not(:last-child){
	border-bottom:2px solid #C6C6C6;
}
#eqof_results_found li:last-child, .easyquickorderform_orders_products_list_ul li:last-child{
	padding-bottom:0;
}
#eqof_results_found li:first-child, .easyquickorderform_orders_products_list_ul li:first-child{
	border-top:1px solid #f6f6f6;
}
#eqof_results_found li:hover{
	border-color:#eee;
}
#eqof_results_found li > div, .easyquickorderform_orders_products_list_ul li > div{
	float:left;
}
#eqof_results_found li .eqof_img, .easyquickorderform_orders_products_list_ul li .eqof_img{
	width:25% !important;
}
#eqof_results_found li .eqof_product_infos {
	width:60% !important;
}
.easyquickorderform_orders_products_list_ul .eqof_product_infos {
	width:75% !important;
}
#eqof_results_found li .eqof_product_infos p, .easyquickorderform_orders_products_list_ul .eqof_product_infos p {
	margin-bottom:5px;
	line-height:1.2em;
}
#eqof_results_found li .eqof_product_infos .eqof_product_reference, .easyquickorderform_orders_products_list_ul li .eqof_product_infos .eqof_product_reference, .easyquickorderform_orders_products_list_ul li .eqof_product_infos .eqof_invoice_date {
	font-size: 10px !important;
}
#eqof_results_found li .eqof_product_infos .eqof_product_price {
	font-weight: bold;
	font-size: 0.95rem;
}
.easyquickorderform_orders_products_list_ul .eqof_product_infos .eqof_product_old_price {
	font-weight:bold;
	color:#909090;
	font-size: 0.80rem !important;
}
.easyquickorderform_orders_products_list_ul .eqof_product_infos .eqof_product_price {
	font-weight: bold;
	font-size: 0.65rem !important;
	text-transform: uppercase;
}
.easyquickorderform_orders_products_list_ul .eqof_product_infos .eqof_product_price span {
	font-size: 0.85rem;
}
#eqof_results_found li .eqof_search_result_btn, .easyquickorderform_orders_products_list_ul li .eqof_search_result_btn, .easyquickorderform_orders .eqof_select_btn {
	width:15%;
}
#eqof_results_found li .eqof_search_result_btn a, .easyquickorderform_orders_products_list_ul li .eqof_search_result_btn a, .easyquickorderform_orders .eqof_search_result_btn a {
	display: block;
	width: 40px;
	height: 40px;
	float: right;
	margin-top: 15px;
	border-radius:50%;
	padding:9px;
	position: relative;
    /* display: inline-block; */
    text-align: center;
}
.eqof_select_btn::before {
    content: "\f217"; /* Code Unicode pour fa-cart-plus */
    font-family: 'FontAwesome';
    display: inline-block;
    font-size: 20px;
    line-height: 39px;
    position: absolute;
    top: 0;
    left: -1px;
    width: 100%;
    height: 100%;
}
.easyquickorderform_orders_products_list_ul li .eqof_search_result_btn {
	position: absolute;
	right: 0;
	top: calc(50% - 27px);
}
.easyquickorderform_orders .eqof_search_result_btn a {
	margin-top: 10px;
}
#eqof_results_found li .eqof_search_result_btn a i, .easyquickorderform_orders_products_list_ul li .eqof_search_result_btn a i, .easyquickorderform_orders .eqof_search_result_btn a i {
	font-size:21px;
}
#eqof_results_found li .eqof_search_result_btn .eqof_select_btn, .easyquickorderform_orders_products_list_ul li .eqof_search_result_btn .eqof_select_btn, .easyquickorderform_orders .eqof_select_btn {
	background-color:#588ad4;
	color:#fff;
}
#eqof_results_found li .eqof_search_result_btn .eqof_more_infos, .easyquickorderform_orders_products_list_ul li .eqof_search_result_btn .eqof_more_infos {
	background-color:#f6f6f6;
	border:1px solid #ccc;
}
/* Products table */
.eqof_buttons_responsive_container {
	margin-top: 30px;
}
#eqof_buttons{
}
#eqof_checkout_btn i{
	margin-right:0;
}
.order_amount{
	text-transform:uppercase;
	color: #1E1E1E;
  	font-size: 16px;
	font-weight: 700;
	margin-top: 30px;
}
#eqof_products_table, #eqof_empty_cart_warning{
	border-radius:20px;
	overflow:hidden;
	border-collapse: separate;
	border-spacing: 0;
	border:2px solid #E7E7E7;
	margin-top: 30px;
}
#eqof_products_table thead tr:first-child th{
	padding-top:12px;
	padding-bottom:12px;
}
#eqof_products_table .eqof_img img{
	margin:0 auto;
}
#eqof_products_table .eqof_product_infos p{
	margin-bottom: 5px;
	line-height: 1.2em;
}
#eqof_products_table .eqof_product_reference {
	font-size: 12px;
}
#eqof_products_table .eqof_product_price {
	text-transform: uppercase;
	font-weight: bold;
	font-size: 0.65rem;
}
#eqof_products_table .eqof_unit_price {
	font-size: 0.9rem;
}
#eqof_products_table td.eqof_price {
	font-weight: bold;
  	color: #232323;
  	font-size: 1rem;
	padding-top: 15px;
}
#eqof_products_table .eqof_delete{
	width:40px;
	text-align:center;
	font-size:20px;
	padding-top: 15px;
}
#eqof_products_table .eqof_delete .eqof_del_btn {
	color: #232323;
}
#eqof_products_table tfoot td{
	font-size:90%;
	font-style:italic;
	color:#999;
}
	/* Products selector */
#eqof_product_selector_content .eqof_product_selector_title{
	margin-top: 0.5em;
	margin-bottom: 1em;
	padding-bottom: 0.5em;
}
#eqof_product_selector_content .eqof_product_infos p{
	margin-bottom:5px;
}
#eqof_product_selector_content .eqof_add_btn {
	font:normal 600 15px/1 "Open Sans", Verdana, Arial, sans-serif;
	background-color: #588ad4;
	color: #fff;
	padding:12px 20px;
	border:1px solid transparent;
	cursor: pointer;
	text-transform: uppercase;
	border-radius:25px;
  }

	/* Responsive */
@media screen and (max-width:991px){
	#quick-order-form p{
		font-size:0.8rem;
	}
	#quick-order-form table th,
	#quick-order-form table td{
		padding:4px;
		font-size:0.8rem;
	}
	#eqof_results_found li .eqof_img, .easyquickorderform_orders_products_list_ul li .eqof_img {
		width:30% !important;
	}
	#eqof_results_found li .eqof_product_infos, .easyquickorderform_orders_products_list_ul li .eqof_product_infos {
		width:70% !important;
	}
	#eqof_results_found li .eqof_search_result_btn, .easyquickorderform_orders_products_list_ul li .eqof_search_result_btn {
		width:100%;
		margin-top: -20px;
	}
	#eqof_results_found li .eqof_search_result_btn .eqof_more_infos, .easyquickorderform_orders_products_list_ul li .eqof_search_result_btn .eqof_more_infos {
		float:left;
		margin-right:0;
		margin-left:5px;
	}
	#eqof_results_found li .eqof_search_result_btn .eqof_select_btn, .easyquickorderform_orders_products_list_ul li .eqof_search_result_btn .eqof_select_btn {
		float:right;
	}
	#easyquickorderform_container .eqof_price{
		width:80px;
	}
	#eqof_product_selector_content .eqof_add_btn{
		font-size:13px;
		padding:8px 6px;
	}
	#eqof_product_selector_content .eqof_add_btn i{
		font-size:20px;
	}
	#quick-order-form .eqof_img {
		width: 20%;
	}
}

@media screen and (max-width:900px){
	#eqof_checkout_btn, #eqof_clear_cart_btn {
		font-size:12px;
	}
	#eqof_checkout_btn i {
		display:none;
	}
}

@media screen and (max-width:767px){
	/* Product selector */
	#eqof_product_selector_content .alert{
		padding: 6px;
	}
	#eqof_results_found li .eqof_img, .easyquickorderform_orders_products_list_ul li .eqof_img {
		width: 20% !important;
	}
	.eqof_buttons_container {
		display:none;
	}
	#eqof_results_found li .eqof_search_result_btn {
		margin-top: -75px;
	}
}

@media screen and (max-width:575px){
	/* Products list */
	#eqof_buttons > div{
		width:100%;
		margin-bottom:0.75rem;
	}
	#eqof_buttons > div > a{
		width:100%;
	}
	#eqof_products_table thead tr:nth-child(2){
		display:none;
	}
	#eqof_products_table tbody tr{
		border-bottom:1px solid #f6f6f6;
	}
	#eqof_products_table tbody td{
		border:none;
		padding-top:1em;
		padding-bottom:1em;
	}
	#eqof_products_table thead tr:first-child th, #eqof_products_table tbody td.eqof_img{
		width: 15%;
		display: none;
	}
	#eqof_products_table tbody td.eqof_product_infos{
		width: 40%;
		border-right:1px solid #f6f6f6;
	}
	#eqof_products_table .eqof_product_infos p{
		font-size:0.9rem;
		margin-bottom:12px;
	}
	#eqof_products_table tbody td.eqof_price{
		clear:left;
		width: 20%;
		text-align:center;
		font-size:1rem;
	}
	#eqof_products_table tbody td.eqof_quantity{
		width: 20%;
	}
	#eqof_products_table tbody td.eqof_quantity .eqof_qty_selector{
		height:32px;
		position:relative;
		top:-3px;
	}
	#eqof_products_table tbody td.eqof_quantity .eqof_qty_modifier .eqof_set_qty{
		margin:0;
	}
	#eqof_products_table tbody td.eqof_delete{
		width:20%;
		border-right:1px solid #f6f6f6;
	}
	#eqof_products_table tbody td.eqof_delete a {
		margin-top: 40px;
		display: block;
	}
	/* Product selector */
	#eqof_product_selector_content table thead th{
		display:none;
	}
	#eqof_product_selector_content table tr{
		border-top:1px solid #f6f6f6;
	}
	#eqof_product_selector_content table tr td{
		display:block;
		width:auto;
		float:left;
		border:none;
		padding-top:1em;
		padding-bottom:1em;
	}
	#eqof_product_selector_content table .eqof_img{
		width:25%;
	}
	#eqof_product_selector_content table .eqof_product_infos{
		width:50%;
	}
	#eqof_product_selector_content table .eqof_price{
		width:25%;
		text-align:right;
		font-size:1rem;
		font-weight:bold;
	}
	#eqof_product_selector_content table .eqof_quantity{
		clear:both;
	}
	#eqof_product_selector_content table .eqof_quantity .eqof_qty_selector{
		position:relative;
		top:-2px;
	}
	#eqof_product_selector_content table .eqof_quantity .eqof_qty_modifier{
		display:inline-block;
	}
	#eqof_product_selector_content table .eqof_quantity .eqof_qty_modifier .eqof_set_qty{
		margin:0;
	}
	#eqof_product_selector_content table .eqof_quantity, 
	#eqof_product_selector_content table .eqof_addto_cart{
		width:50%;
		text-align:center;
	}
	#eqof_product_selector_content table .eqof_addto_cart .eqof_add_btn{
		font-size:13px;
		padding:5px;
	}
}
@media screen and (max-width:550px){
	.easyquickorderform_menu ul li {
		font-size: 12px;
	}
}
@media screen and (max-width:399px){
	/* Product selector */
	#eqof_modal .modal-title{
		font-size:0.8rem;
	}
	#eqof_product_selector_content table .eqof_img{
		width:33%;
	}
	#eqof_product_selector_content table .eqof_product_infos{
		width:66%;
	}
	#eqof_product_selector_content table .eqof_price{
		width:33%;
		text-align:center;
		clear:left;
	}
	#eqof_product_selector_content table .eqof_quantity{
		width:67%;
		clear:none;
	}
	#eqof_product_selector_content table .eqof_addto_cart{
		width:100%;
	}
	/* More infos pop-up */
	#eqof_modal #eqof_more_infos_combinations .combination_reference{
		display:none;
	}
}
@media screen and (max-width:359px){
	#eqof_more_infos_content #eqof_more_infos_gallery > div{
		width:100%;
	}
	#eqof_products_table .eqof_product_infos p{
		font-size:0.8rem;
		margin-bottom:6px;
	}

}

/* Hooks */
.easyquickorderform-logo img{
	display:block;
	margin:0 auto;
}
.easyquickorderform-front a{
	transition:0.3s all;
}
	/* Nav */
#easyquickorderform-nav{
	white-space:nowrap;
}
#easyquickorderform-nav a{
	height:100%;
	display: inline-block;
	padding: 12px;
	cursor: pointer;
	line-height: 24px;
}
#easyquickorderform-nav a:hover, 
#easyquickorderform-nav a.active{
	color:#2fb5d2;
}
@media screen and (max-width:479px){
	#easyquickorderform-nav a{
		font-size:11px;
	}
}
	/* Home */
#easyquickorderform-home{
	margin:10px 0;
	padding:10px 0;
	background:#fff;
}
#easyquickorderform-home .easyquickorderform-logo{
	border-right: 1px solid #d9d9d9;
}
#easyquickorderform-home h4{
	margin-top:0.5em;
	padding-left:15px;
}
#easyquickorderform-home p{
	padding-left:15px;
}
#easyquickorderform-home p:last-child{
	margin-bottom:0;
}
#easyquickorderform-home p a{
	margin:1em 0;
}
@media screen and (max-width:991px){
	#easyquickorderform-home p a{
		font-size:0.9em;
	}
}
@media screen and (max-width:767px){
	#easyquickorderform-home .easyquickorderform-logo{
		border-right:0;
	}
	#easyquickorderform-home h4,
	#easyquickorderform-home p{
		padding-left:0;
		text-align:center;
	}
}
@media screen and (max-width:479px){
	#easyquickorderform-home p a{
		white-space:initial;
	}
}
	/* Columns */
#easyquickorderform-column {
	box-shadow: 2px 2px 8px 0 rgba(0,0,0,.2);
	background: #fff;
	padding: 1.563rem 1.25rem;
	margin-bottom: 1.563rem;
}
#easyquickorderform-column a{
	max-width:100%;
	white-space:initial;
	font-size: 0.9em;
	padding: 0.5em;
}
@media screen and (max-width:991px){
	#easyquickorderform-column h6,
	#easyquickorderform-column p,
	#easyquickorderform-column a{
		font-size: 0.85em;
	}
}

.easyquickorderform_orders {
	border:2px solid #E7E7E7;
	margin-bottom: 20px;
	border-radius:20px;
	overflow:hidden;
}

.easyquickorderform_orders_header {
	background:#F6F6F6;
	border-bottom:2px solid #E7E7E7;
	padding:10px 15px;
	font-size: 14px;
}

.easyquickorderform_orders_header.collapsed {
	border-bottom:none;
}

.easyquickorderform_orders_header .reference{
	font-weight: 700;
}

.easyquickorderform_orders_header .price {
	font-weight: 700;
  	display: flex;
  	justify-content: end;
}
.easyquickorderform_orders_header .price span {
	font-weight: 400;
	font-size: 10px;
	margin-top: -5px;
	margin-left: 6px;
}

.easyquickorderform_orders_header .order_date {
	font-weight: 400;
	font-size: 13px;
	margin-top: 5px;
}

.easyquickorderform_orders_header .order_overlay {
	margin-top: 10px;
	color: #909090;
	cursor:pointer;
}

.eqof_clear_cart_btn {
	border:2px solid #1E1E1E;
	color: #1E1E1E;
	text-transform: uppercase;
	font-weight: 600;
	font-size: 14px;
	border-radius:19px;
}

.eqof_clear_cart_btn:hover {
	color:#588ad4;
}

#eqof_checkout_btn {
	background:#588ad4;
	color: white;
	text-transform: uppercase;
	font-weight: 700;
	border-radius:21px;
}

.text_info {
	text-align: right;
	font-size: 14px;
	font-weight: 400;
}