/** cfom CSS **/

.cfom-wrapper{
    padding: 0 !important;
    clear:both;
    margin-bottom:15px;
}

.cfom-wrapper span.show_description{
    font-size: 11px;
    color: #999;
    padding-left: 5px;
}
.cfom-wrapper span.show_required{color: red;}

.cfom-wrapper textarea{
  height: inherit !important;
  min-height: inherit !important;
  min-width: inherit !important;
}
/** hiding prices for related products **/
.related.products .amount-options { display:none; }

/** hiding prices for upsell products **/
.upsells .amount-options { display:none; }

/** price container **/
#cfom-price-container {
  
}
#cfom-price-container ul li{
  list-style:none;
  line-height: 4px;
}
/*#cfom-price-container {
  text-align: center;
  background: #00DD88;
  background: -moz-linear-gradient(center top , #00DD88 0%, #00CC00 100%) repeat scroll 0 0 transparent;
  border-radius: 15px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);  
  margin: 5px 0 10px 15px;
  position: absolute;
  right: -580px;
  width: 350px;
  min-height: 50px;
  display: none;
  z-index: 100;
}*/

#cfom-price-cloner-wrapper{display:none;}

/** Ends price container **/

/** ========= palettes input design ========== **/
.cfom-palettes label > input {
  visibility: hidden;
  position: absolute;
}

.cfom-single-palette {
  margin:2px;
}

.cfom-palettes label > input + .cfom-single-palette {
  cursor:pointer;
  text-align: center;
  width: 60px;
  height: 60px;
  float: left;
  border:2px solid transparent;
  position: relative;
  color: #c73c3c;
  transition: 0.5s all;
  -webkit-transition: 0.5s all;
}
.cfom-palettes label > input:checked + .cfom-single-palette {
  border:2px solid #000;
  margin-right: 10px;
}
.cfom-palettes .amount {
    position: absolute;
    /*background-color: rgba(0,0,0,0.5);*/
    bottom: 0;
	text-align: center;
	left: 0;
	width: 100%;
}
.cfom-single-palette:hover {
	-moz-box-shadow:    0px 0px 5px white;
	-webkit-box-shadow: 0px 0px 5px white;
	box-shadow: 0px 0px 8px white;
	z-index: 999;
}
/** ========= Ends palettes ============*/

/** ========= Image upload =============*/
.cfom_upload_image_box{
  /*border: 1px dashed;
  background: #eee;
  text-align: center;*/
}
.cfom_upload_image_box .pre_upload_image{
/*width: 100px;
height: 100px;*/
overflow: hidden;
float: left;
text-align: center;
background-color: #FFF;
margin: 5px;
cursor: pointer;
position: relative;
max-width:100px;
}

.cfom_upload_image_box .input_image{
/*position: absolute;*/
bottom: 0;
background-color: #fff;
width: 100%;
}
.p_u_i_name{
background-color: #E0DFDF;
overflow: hidden;
margin: 0 auto;
font-size: 13px;
padding: 5px;
}

.nm-imagetools .fa {
	color: black;
}

/** ======== audio/video ======== **/
.cfom_audio_box .cfom_audio{
  text-align:center;
}
/** ========== File ========== **/
.cfom-file-container {
  background-color: #ccc;
  padding: 25px;
}
.modal-body {
    position: relative;
    overflow-y: auto;
    max-height: 400px;
    padding: 15px;
}
.cfom-dragdrop-text{
  display:block;
  font-style: italic;
}
.cfom-file-cb{display: none !important}

/** ========= Ends Image upload =============*/

/** ========== prices handler ==============**/
.cfom-option-price-list li > span:first-child{
  padding:10px;
  float: left;
  clear: both;
}
.cfom-option-price-list li > span:last-child{
  padding:10px;
  float: right;
}

/** ==== variation quantity === */
.cfom-wrapper table td {
  text-align:center !important;
}

/** ========= cfom Conditional Fields =========== */
.cfom-c-hide{
  display:none;
}

.cfom-c-show{
  display:block;
}

/** =========== Bulkquantity =============== */
#cfom-input-bulkquantity input[type=range] {
  -webkit-appearance: none;
  margin-top: 0.5rem;
  width: 100%;
  border: none !important;
  background: transparent;
  padding: 0;
}
#cfom-input-bulkquantity input[type=range]:focus {
  outline: none;
}
#cfom-input-bulkquantity input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 0.3rem;
  cursor: pointer;
  animate: 0.2s;
  background: #eee;
  border-radius: 5px;
}
#cfom-input-bulkquantity input[type=range]::-webkit-slider-thumb {
  height: 1rem;
  width: 1rem;
  border-radius: 0.5rem;
  background: #0275d8;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -0.35rem;
}
#cfom-input-bulkquantity input[type=range]::-moz-range-track {
  width: 100%;
  height: 0.3rem;
  cursor: pointer;
  animate: 0.2s;
  background: #eee;
  border-radius: 5px 10px;
}
#cfom-input-bulkquantity input[type=range]::-moz-range-thumb {
  height: 1rem;
  width: 1rem;
  border-radius: 0.5rem;
  background: #0275d8;
  cursor: pointer;
}
#cfom-input-bulkquantity input[type=range]::-ms-track {
  width: 100%;
  height: 0.9rem;
  cursor: pointer;
  animate: 0.2s;
  background: transparent;
  color: transparent;
}
#cfom-input-bulkquantity input[type=range]::-ms-fill-lower {
  background: #e1e1e1;
  border-radius: 10px 5px;
}
#cfom-input-bulkquantity input[type=range]::-ms-fill-upper {
  background: #eee;
  border-radius: 10px;
}
#cfom-input-bulkquantity input[type=range]::-ms-thumb {
  height: 1rem;
  width: 1rem;
  border-radius: 0.5rem;
  background: #0275d8;
  cursor: pointer;
}
#cfom-input-bulkquantity input[type=range]:focus::-ms-fill-lower {
  background: #eee; 
  
}

#cfom-input-bulkquantity datalist {
  display: flex;
  justify-content: space-between;
  height: 6px;
  overflow: hidden;
  margin-top: -6px;
}
#cfom-input-bulkquantity datalist option::before {
  content: '';
  display: block;
  width: 0;
  border-right: 1px solid #DDD;
  height: 10px;
  padding-left: 3px;
  text-indent: 0; 
}

/* ========== Croppie ========== */
.cfom-croppie-btn{
  display:none;
}

/* ========== Pre Images style ========== */
.cfom_upload_image_box .pre_upload_image {
  width: 75px;
  float: left;
  margin-right: 5px;
}
.cfom_upload_image_box input[type=radio], .cfom_upload_image_box input[type=checkbox] {
  display: none;
}

.cfom_upload_image_box input + img{
  cursor:pointer;
  border:2px solid transparent;
}
.cfom_upload_image_box input:checked + img{
  border:2px solid #f00;
}

.cfom-col{
  padding:0 5px!important;
}

/* pricematrix */
.cfom-slider-container{
  margin:10px auto;
}

#cfomSlider{
  width:100%;
}
#cfomSlider .slider-selection {
	background: #81bfde;
}

/*
    2- Helper Icon With Desciption CSS
*/
#cfom_tooltip{
    font-family: Ubuntu, sans-serif;
    font-size: 0.875em;
    text-align: center;
    text-shadow: 0 1px rgba( 0, 0, 0, .5 );
    line-height: 1.5;
    color: #fff;
    background: -webkit-linear-gradient( top, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.88) );
    background: -moz-linear-gradient( top, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.88) );
    background: -ms-radial-gradient( top, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.88) );
    background: -o-linear-gradient( top, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.88) );
    background: linear-gradient( top, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.88) );
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border-top: 1px solid #fff;
    -webkit-box-shadow: 0 3px 5px rgba( 0, 0, 0, .3 );
    -moz-box-shadow: 0 3px 5px rgba( 0, 0, 0, .3 );
    box-shadow: 0 3px 5px rgba( 0, 0, 0, .3 );
    position: absolute;
    z-index: 10024;
    padding: 15px;
    overflow: visible;

}
#cfom_tooltip:after{
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #333;
    border-top-color: rgba( 0, 0, 0, .7 );
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    margin-left: -10px;
}
#cfom_tooltip.top:after{
    border-top-color: transparent;
    border-bottom: 10px solid #333;
    border-bottom-color: rgba( 0, 0, 0, .6 );
    top: -20px;
    bottom: auto;
}
#cfom_tooltip.left:after{
    left: 10px;
    margin: 0;
}
#cfom_tooltip.right:after{
    right: 10px;
    left: auto;
    margin: 0;
}