/**
* 2007-2019 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author DMConcept <support@dmconcept.fr>
*  @copyright 2015 DMConcept
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/

/********************
      PRODUCT
********************/
#image-block{
	margin-bottom: 10px;
}

.pb-left-column #thumbs_list{
	width: 200px;
}

.pb-left-column #image-block #view_full_size .span_link{
	z-index: 5000;
}

.pb-left-column #image-block img{
	background: none !important;
}

/********************
    CONFIGURATOR
********************/
#configurator_preview{
    z-index : 6000;
}
#configurator_preview.loading:not(.scroll-to-fixed-fixed) {
	position: relative !important;
}
@media(max-width: 992px) {
	#configurator_preview_clear::before, #configurator_preview_clear::after {
		content: " ";
		display: table;
	}
	#configurator_preview_clear::after {
		clear: both;
	}
	#configurator_preview_clear::before, #configurator_preview_clear::after {
		content: " ";
		display: table;
	}
}

#configurator_preview{
    width: 100%;
}

#configurator_block .error-step p {
	font-weight: bold;
	color: #f13340;
}

#configurator_block .info_text p{
    color:#232323;
    margin-top: -10px;
}

#configurator_block .info-step p {
	font-weight: bold;
	color: #2fb5d2;
}

#configurator_block .step_list label.title {
    margin-bottom: 15px;
    display: block;
    float: left;
    padding-top: 5px;
}

#configurator_block .step_list label .step_title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1rem;
    margin-bottom: 0;
    padding: 7px 0;
    text-transform: uppercase;
}

#configurator_block .step_list label .step_title .material-icons {
    margin-left:-30px;
}

#configurator_block sup{
    font-weight: bold;
    color: #f13340;
    font-size: 17px;
    padding-right: 5px;
}

#configurator_block .display-step-amount {
    background: white none repeat scroll 0 0;
    border: 1px solid #c8c8c8;
    border-radius: 3px;
    color: #333;
    display: inline-block;
    float: right;
    font-size: 14px;
    top:-2px;
    padding: 3px;
    position: relative;
    min-width: 100px;
    text-align: center;
}

#configurator_block .display-step-amount::before {
    background: rgba(0, 0, 0, 0) linear-gradient(to right, #fff 0%, #d2d2d2 100%) repeat scroll 0 0;
    content: "";
    display: block;
    height: 1px;
    position: absolute;
    right: 100%;
    top: 50%;
    width: 100%;
}

#configurator_block .page-heading{
	margin-top: 0;
}

#configurator_block .page-heading .required{
    text-transform: none;
    font-size: 14px;
    font-weight: normal;
}

#configurator_block .step_list div > span{
    top: 0;
}

#configurator_block .info,
#configurator_block .info-fb{
    cursor: pointer;
    padding: 2px 4px;
    margin-left: 3px;
    font-size: 12px;
    background: #2fb5d2;
    color: white;
    border-radius: 3px;
    font-weight: bold;
}

#configurator_block .option_block{
    background: #fff none repeat scroll 0 0;
    cursor: pointer;
    float: left;
    font-size: 14px;
    margin-bottom: 5px;
    margin-right: 8px;
    position: relative;
    text-align: center;
}

#configurator_block .option_block .configurator-zoom{
	position: absolute;
	background: #000;
	top: 0;
	right: 0;
	color: #fff;
	font-size: 16px;
	padding: 4px 5px;
	cursor: pointer;
	display: none;
}

#configurator_block .option_block:hover .configurator-zoom{
	display: none;
}

#configurator_block .option_block.color:hover .configurator-zoom{
	display: none;
}

#configurator_block .quantity_wanted input{
    margin: -1px 0 auto;
    /*max-width: 65px;*/
    text-align: center;
}
#configurator_block .custom .quantity_wanted input{
    max-width: 175px;
}

#configurator_block .quantity_wanted input.qty-inline{
	margin: 0;
	display: inline-block;
}

#configurator_block .option label{
	cursor: pointer;
    font-size: 15px;
    line-height: 25px;
}

#configurator_block .option .quantity_wanted{
    display: inline-block;
    position: relative;
    top: 10px;
	margin: 0;
}

#configurator_block .option_block .quantity_wanted{
	margin-bottom: 0;
}

#configurator_block .label.totalprice {
	font-size: 92%;
}

#configurator_block .option_block .label.totalprice {
	margin-top: 15px;
}

#configurator_block .option_block.custom.selected .label.totalprice {
	margin-top: 11px;
}

#configurator_block .option_block.colortexture .label.totalprice {
	max-width: 113px;
}

#configurator_block .option_block .option_block_content{
	position: relative;
	margin: 0 auto;
}

#configurator_block .option_block .option_block_content .label{
    display: block;
    margin-left: 0;
    margin-top: 15px;
}

#configurator_block .option_block .option_block_content .label:empty {
    display: none;
}

#configurator_block .option_group .label{
	padding: 3px;
}

#configurator_block .option_block.colortexture .option_block_content .label{
    font-size: 12px;
    margin: 0;
    position: absolute;
    top: auto;
    z-index: 1;
    background: white;
    padding-right:26px;
    font-weight: bold;
    bottom: 0;
    left: 0;
    right: 0;
    margin-left: 2px;
    margin-bottom: 2px;
    margin-right: 2px;
}

#configurator_block .step_group .table .row-title{
    display: block;
    text-align: right;
}

#configurator_block .step_group .table .col-title{
    display: block;
    text-align: left;
}

#configurator_block .step_group .table thead > tr > td,
#configurator_block .step_group .table tbody > tr > td.table-cell{
    text-align: center;
    /*remove padding from bootstrap in order to have centered-text*/
    padding-left: 8px;
    vertical-align: middle;
    line-height: 9px;
}

#configurator_block .step_group td.selected{
    background-color: #ddf9e1;
    color: #35b33f;
}

#configurator_block .step_group td.table-cell{
    cursor: pointer;    
}

#configurator_block .option_block.selected .option_block_content{
   /* border: #46a74e solid 1px;
    -moz-box-shadow: inset 0px 0px 20px -10px #656565;
    -webkit-box-shadow: inset 0px 0px 20px -10px #656565;
    -o-box-shadow: inset 0px 0px 20px -10px #656565;
    box-shadow: inset 0px 0px 20px -10px #656565;
    filter:progid:DXImageTransform.Microsoft.Shadow(color=#656565, Direction=NaN, Strength=20);*/
}

#configurator_block .option_block.selected .option_block_content::after {
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAOCAYAAAAi2ky3AAAAiElEQVQokaXPwQ3DMAgF0D9LVugKhItlxvBOHQBbynBeITm0qSKRpOAg/dvnCYDBYZXCml6j+wCAucnCTVauuZMmeobsqbmHLzPIHpXyK7FKIU1TFJmbLLb0+dlgMeTw8xFzIQDANXdT/GJuBABIE51iFzlFotgt4sVcyD8shFxhQ4jF8tu7swGui+otf3QUOQAAAABJRU5ErkJggg==);
    border-radius: 30px;
    bottom: -7px;
    color: #46a74e;
    content: " ";
    display: block;
    font-family: "FontAwesome";
    font-size: 25px;
    position: absolute;
    right: -9px;
    z-index: 1;
    height: 30px;
    width: 30px;
    background-repeat: no-repeat;
    border: 2px solid;
    background-color: white;
    background-position: center center;
}

.form-group.form-ok.quantity_wanted input.qty{
    background: none;
    background-color: #ddf9e1;
    /*padding: 3px 5px;*/
}

.form-group.form-error.quantity_wanted  input.qty{
    background: none;
    background-color: #fff1f2;
    padding: 3px 5px;
}


#configurator_block .option_block.colortexture .option_block_content{
    height: 130px;
    width: 100%;
}

#configurator_block .option_block.colortexture img{
	width: 100%;
	height: 100px;
}

#configurator_block .option_block.custom{
    min-height: 175px;
    width: 125px;
}

#configurator_block .option_block .option_img > img{
    width: 100%;
}

#configurator_block .option_block.colortexture .option_img img {
	width: 130px;
	height: 100%;
    border: 2px solid #aaa;
    transition: border-color 200ms ease-in-out 0s;
    -webkit-transition: border-color 200ms ease-in-out 0s;
    -moz-transition: border-color 200ms ease-in-out 0s;
    -o-transition: border-color 200ms ease-in-out 0s;
    -ms-transition: border-color 200ms ease-in-out 0s;
}

#configurator_block .option_block.selected .option_img{
    border: none;
}

#configurator_block .option_block.custom .option_img{
	height: 120px;
	overflow: hidden;
}

#configurator_block .option_block.custom .option_block_content img{
    border: 2px solid #aaa;
    transition: border-color 200ms ease-in-out 0s;
    -webkit-transition: border-color 200ms ease-in-out 0s;
    -moz-transition: border-color 200ms ease-in-out 0s;
    -o-transition: border-color 200ms ease-in-out 0s;
    -ms-transition: border-color 200ms ease-in-out 0s;
}

#configurator_block .option_block.selected .option_block_content img{
    border: 2px solid #46a74e !important;
}

#configurator_block .step_options.step-color-texture .option_block .option_block_content .option_img .color-texture-label {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: #ffffffaa;
    font-size: 11px;
    margin: 2px 2px 0px 2px;
    padding: 3px 5px;
    font-weight: 600;
}

#configurator_block .step-color-texture .option_block, #configurator_block .step-color-texture .option_block .option_img {
    min-height: auto;
    width: 130px;
    height: 130px;
}

#configurator_block .option_block img{
    margin: 0 auto;
	max-height: 100%;
}

#configurator_block div.checker{
    display: inline-block;
}

#configurator_block .step_options hr{
    border-style: dashed none none;
}

#configurator_block .step_options.collapsing,
#configurator_block .step_options.in{
    padding-left: 25px;
}

#configurator_block .step_options.in{
    border-left: 2px solid #0074df;
}

/********************
    PREVIEW
********************/
#configurator_block > .col-md-3{
    position: static;
}
#configurator_preview .dl-horizontal dt{
    text-align: left;
    width: 125px;
}
#configurator_preview .dl-horizontal dd{
    margin-left: 130px;
}
#configurator_preview #dl-final-price dt{
    margin-top: 4px;
}
#configurator_preview #final_price,
#configurator_preview #old_price{
    font-weight: bold;
    font-size: 18px;
	display: block;
}
#configurator_preview #old_price{
	text-decoration: line-through;
}
#configurator_preview .list-group {
    max-height: 300px;
    overflow: auto;
}
@media(max-width: 992px) {
    #configurator_preview #configurator-progress { display:none; }
    #configurator_preview .list-group { max-height: 100px; }
    #configurator_preview .list-group .list-group-item { padding:0px 10px; }
    #configurator_preview .list-group .list-group-item strong { display:inline-block; }
}
#configurator_preview .list-group-item strong{
    /*text-transform: uppercase;*/
}
#configurator_preview .advantage{
	color: #b53930;
}
#configurator_preview dt.advantage{
	white-space: normal;
	margin-top: -5px;
}

#configurator_preview {
    background:#fff;
    padding:20px;
    border: 1px solid #aaa;
    margin-bottom: 20px;
}
#configurator_preview #dl-final-price dt { display:inline-block; width:50%; }
#configurator_preview #dl-final-price dd { display:inline-block; width:47%; text-align:right; margin:0; }


#configurator_block #configurator_preview #configurator_preview_summary {
    width: 100%;
    margin-bottom: 10px;
    border-bottom: 1px solid #aaa;
    padding: 0 15px;
}
#configurator_block #configurator_preview #configurator_preview_summary .page-subheading {
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 10px;
}
#configurator_block #configurator_preview #configurator_preview_summary ul li {
    margin-bottom: 5px;
}

#configurator_block #configurator_preview #configurator_preview_buttons {
    width: 100%;
    padding: 0 15px;
}
#configurator_block #configurator_preview #configurator_preview_buttons .buttons_container .configurator-add #add_configurator_to_cart {
    width: max-content;
    padding: 17px 37px;
    border-radius: 3px;
    font-weight: 500;
    box-shadow: 4px 4px 4px rgba(0, 0, 0, .14);
    display: inline-flex;
}
#configurator_block #configurator_preview #configurator_preview_buttons .buttons_container .configurator-add #add_configurator_to_cart span {
    line-height: normal;
    letter-spacing: normal;
    font-weight: 500;
    text-transform: uppercase;
    margin: auto;
}
#configurator_block #configurator_preview #configurator_preview_buttons .buttons_container .configurator-add #add_configurator_to_cart i {
    margin-right: 7px;
}

/********************
    PRICES BLOCK
********************/
.button.configure_link {
	font: 700 17px/21px Arial, Helvetica, sans-serif;
	color: #fff;
	text-shadow: 1px 1px rgba(0, 0, 0, 0.2);
	padding: 0;
	border: 1px solid;
	border-color: #0079b6 #006fa8 #012740 #006fa8; 
	margin: 0 7px 10px;}
.button.configure_link span {
    border: 1px solid;
    border-color: #06b2e6;
    padding: 10px 14px;
    display: block;
    background: #009ad0;
    background: -moz-linear-gradient(top, #009ad0 0%, #007ab7 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #009ad0), color-stop(100%, #007ab7));
    background: -webkit-linear-gradient(top, #009ad0 0%, #007ab7 100%);
    background: -o-linear-gradient(top, #009ad0 0%, #007ab7 100%);
    background: -ms-linear-gradient(top, #009ad0 0%, #007ab7 100%);
    background: linear-gradient(to bottom, #009ad0 0%, #007ab7 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#009ad0', endColorstr='#007ab7',GradientType=0); }
.button.configure_link:hover {
    border-color: #01314e #004b74 #0079b6 #004b74; }
.button.configure_link:hover span {
	filter: none;
	background: #0084bf; }

#buy_block .configure_link{
    width: 80%;
    text-align: center;
    display: block;
    margin: 15px auto;
}

.our_price_display .from_price{
    display: block;
}

#quantity-configurator-label { display:inline-block; text-align:left; margin-top:5px; }
.configurator-qty { display:inline-block; width:calc(100% - 100px); float:right; }
.configurator-qty .form-group { margin-bottom:5px; }
.configurator-add button { width:100%; }


/********************
    CART SUMMARY
********************/
#order .cart_description ul.configurator li strong{
    color: #525252;
}

/********************
    LOADER
********************/
.loading{
	position: relative;
}

.loading:before{
	content: "";
	display: block;
	background-color: rgb(255, 255, 255);
	background-color: rgba(255, 255, 255, 0.5);
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9000;
	background-image: url("../img/loader.gif");
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 35% auto;
}

/********************
    PROGRESS BAR
********************/
#configurator-progress{
    height: 80px;
    margin: 25px auto;
    position: relative;
    width: 80px;
}
#configurator-progress:after{
	content: "";
	background: url('../img/progress-bg.png') no-repeat 0px 0px / 100px 100px;
	display: block;
	position: absolute;
	z-index: 1;
	width: 100px;
	height: 100px;
	top: -10px;
	left: -10px;
}
#configurator-progress strong,
#configurator-progress canvas{
	position: relative;
	z-index: 2;
	color: #8b7f76;
	text-shadow: 0px 1px 30px rgba(250, 245, 239, 0.5);
}
#configurator-progress strong{
    font-size: 25px;
    left: 0;
    position: absolute;
    text-align: center;
    top: 29px;
    width: 100%;
}

/********************
    TABS
********************/
#configurator-tabs {
    text-align: center;
    margin-bottom:20px;
}

#configurator-tabs li:hover,
#configurator-tabs li:active,
#configurator-tabs li:focus {
    text-decoration: none;
}

#configurator-tabs li {
    background: #eee none repeat scroll 0 0;
    color: #333;
    cursor: pointer;
    display: inline-block;
    /*float: left;*/
    line-height: 45px;
    padding: 0;
    text-align: center;
    border-right: 1px solid #cfcfcf;
    border-bottom: 1px solid #fff;
}

#configurator-tabs li:last-child {
    border:none;
    border-radius: 0 7px 7px 0;
}

#configurator-tabs li:first-child {
    border-radius: 7px 0 0 7px;
}

#configurator-tabs li:only-child { 
    border-radius: 7px 7px 7px 7px;
}

#configurator-tabs li[data-selected=true] {
    text-shadow: 1px 1px rgba(0, 0, 0, 0.2);
    background: #0088C2;
    color:white;
}
#configurator_block.tabs {
    margin:0;
}

#configurator_block label span.label-default {
    /*border:1px solid rgba(0,0,0,.15);*/
    border-radius: 3px;
    font-size: 11px;
    font-weight: bold;
    background: #2fb5d2;
    color:white;
    display:inline-block;
    margin-left:5px;
    padding: 0 3px !important;
}

#configurator_block h1 span {
    text-transform: none;
    font-weight: normal;
    font-size: 0.9375rem;
    display: inline-block;
    height: 1.5rem;
    line-height: 1.6rem;
}

#configurator_block .form-group.form-error .form-control, .form-group.form-ok .form-control {
    padding-right: 30px;
}

#configurator_block .form-group.form-ok input, .form-group.form-ok textarea {
    border: 1px solid #46a74e;
    color: #35b33f;
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAOCAYAAAAi2ky3AAAAiElEQVQokaXPwQ3DMAgF0D9LVugKhItlxvBOHQBbynBeITm0qSKRpOAg/dvnCYDBYZXCml6j+wCAucnCTVauuZMmeobsqbmHLzPIHpXyK7FKIU1TFJmbLLb0+dlgMeTw8xFzIQDANXdT/GJuBABIE51iFzlFotgt4sVcyD8shFxhQ4jF8tu7swGui+otf3QUOQAAAABJRU5ErkJggg==) 98% no-repeat #ddf9e1;
}

#configurator_block .quantity_wanted.form-group.form-ok input:focus,
#configurator_block .quantity_wanted.form-group.form-error input:focus{
    outline: 0;
}

#configurator_block .form-group.form-error input, .form-group.form-error textarea {
    border: 1px solid #f13340;
    color: #f13340;
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAj0lEQVQokZWRsQ2AMAwEvVLsFuEUzMIKzMIKrMBO6JkAGiJMYiOI5CaXK3Imug5SP4E7oeCAdWw4RJdd8gHWDSkPjeTxclmmll3OnRBYNwusXEuGj4SUB0+OBqLL/YeP8kP6KruSSb6GolPbrRcF+yW5Mljn4NEarirc4xUiCobUTw2s673yAsE6u+EKN9IJydM/ZmaVOVAAAAAASUVORK5CYII=) 98% no-repeat #fff1f2;
}

#configurator_block .input-group-addon {
    padding: 6px 12px;
    font-size: 13px;
    font-weight: normal;
    line-height: 1;
    text-align: center;
    background-color: #eeeeee;
    border: 1px solid #aaa;
    border-radius: 0px;
    color: #000;
    font-weight: 500;
}

#configurator_block .option_input.form-group {
    height: auto;
}

#configurator_block .step_group.form-group {
    height: auto;
}

#configurator_block input {
    background: white;
    border: 1px solid #aaa;
    border-left: 0;
}
#configurator_block input[data-max] {
    border-right: 0;
}

#configurator_block .color, .custom-checkbox input[type="checkbox"] + span.color {
    width:100px;
    height:auto;
    margin-right: 2px;
    border-shadow:inherit !important;
}

#configurator_block .hidden {
    display: none;
}

#configurator_block .option_block.option_group.colortexture.color.selected {
    border: 1px solid #46a74e;
}

#configurator_block .option_block.option_group.colortexture.color.selected .option_block_content{
    border: none;
}

#configurator_block .color:hover {
	/* border: 0px; */
	outline: 0;
	/* margin-top: 6px; */
	box-shadow: initial !important;
	border: 0px solid;
	margin-top: 5px;
}

#configurator_block .color,#configurator_block .custom-checkbox input[type="checkbox"] + span.color {
    border:inherit;
}

#configurator_block .color.option_block.selected .option_block_content {
    height: 98px !important;
}

#configurator_block .step_group {
    border-left:18px solid #eee;
    border-bottom:1px solid #aaa;
    padding-left:10px;
    padding-bottom:10px;
    position: relative;
}

#configurator_block .step_group.info-on-this-step {
    border-color: #2fb5d2;
}

#configurator_block .step_group.error-on-this-step {
    border-color: #f13340;
}

/*#configurator_block .step_group.error-on-this-step label.title .step_title {
    color: #f13340;
}*/

#configurator_block .step_group.info-on-this-step label.title .step_title .material-icons,
#configurator_block .step_group.error-on-this-step label.title .step_title .material-icons {
    color: white;
}

#configurator_block .step_group {
    margin-bottom: 25px;
}



/* CONFIGURATOR STEP ERROR */
.configurator_step_error { background: url(../img/icon/form-error.png) no-repeat; width: 14px; display: inline-block; height: 14px; margin-right: 5px; }


/* UPLOAD - WEBCAM */
.step_group .uploader-webcam-block { position:relative; }
.step_group .uploader-webcam-block .uplaoder-webcam-actions { position:absolute; width:100%; text-align:center; bottom:25px; z-index:10; }
.step_group .uploader-webcam-block .uplaoder-webcam-actions .uploader-webcam-picture-btn { font-size: 40px; border-radius: 50%; padding: 10px 30px; }

.step_group .uploader-webcam-block.preview-on .uplaoder-webcam-actions .uploader-webcam-picture-btn { display:none; }
.step_group .uploader-webcam-block .webcam-preview { position: absolute; left: 0; width: 100%; }
.step_group .uploader-webcam-block.preview-on .uplaoder-webcam-actions .btn { padding: 5px 20px; font-size: 30px; }

.step_group .uploader-webcam-block.preview-off .uplaoder-webcam-actions .btn { display:none; }
.step_group .uploader-webcam-block.preview-off .uplaoder-webcam-actions .uploader-webcam-picture-btn { display:inline-block; }
.step_group .uploader-thumb { max-height: 50px; padding: 0 10px 0; }


/* STEP PRODUCTS */
.option_block .option_block_content { border: 1px }
.option_block .option_block_content .product-name { height: 80px; overflow: hidden; display: block; font-size: 13px; }
