/* Dropped in Bootstrap 4 */
.btn-xs {
    padding: 1px 5px;
    line-height: 1.5;
    border-radius: 3px;
    font-size: .8rem;
}
/* cart price cut */
.line-through {
	text-decoration-line: line-through;
	-webkit-text-decoration-line: line-through; /* Safari */
}
/* Sort By Button as Link */
.btn-sort {
	background: none;
	border: none;
	padding: 0px;
	margin: 0px;
	font-size: 13px;
	font-weight: bold;
}
@media (min-width: 768px) {
	.form-horizontal .col-form-label {
	    padding-top: 7px;
	    padding-right: 2rem;
	    margin-bottom: 0;
	    text-align: right;
	}
	.form-inline label {
		justify-content: flex-end;
	}
}
/* The box should have a fixed height */
.img-box {
    display: table-cell;
    height: 8.75rem;
    max-height: 8.75rem;
    max-width: 21.87rem;
    text-align: center;
    vertical-align: middle;
    width: 21.87rem;
}

.img-box .img-fluid {
    display: block;
    width: auto !important;
    max-height: 100%;
    max-width: 100%;
    margin-left: auto; /* Image Center Align */
    margin-right: auto;
}
/* Crop the image from the Center */
.img-crop-center {
    width: 100%;
    height: 12.5rem;
    overflow: hidden;
    position: relative;
}
.img-crop-center-md { /* Height of the Image*/
	height: 13.75rem;
}
.img-crop-center .img-fluid {
    /*position: absolute;*/
    left: -100%;
    right: -100%;
    top: -100%;
    bottom: -100%;
    margin: auto; 
    height: auto;
    width: auto;
    
     /* Stretch Image to Fit 100% of Div Height and Width */			
    height: 100%;
    width: 100%;
    object-fit: contain; /* Keep the aspect ratio */
}
.img-height-150 {
	max-height: 150px;
}
.img-file {
	width: 40px !important;
	height: 40px !important;
}
.custom-select.selectized, .selectize-dropdown.custom-select, .selectize-control.custom-select {
    height: auto;
    padding: 0px;
    border: none;
    background: #fff;
}
.fa-fr {
    width: 1.5rem !important;
    margin-right: .5rem;
}

/* Form Save - problem saving record message */
.alert-error {
    background-color: #f2dede;
    border-color: #ebccd1;
    color: #a94442;
}
/*-----------------------------------------------------*/
/* Multilevel Comments
/*-----------------------------------------------------*/
.shadow-box {
	background: #fff none repeat scroll 0 0;
	box-shadow: 0 0 3px #cacaca;
	padding: 10px 10px 5px;
	margin: 10px;
}
.comment-section {
	padding: 10px;
}
#comments-box .post-listing{
	padding: 10px 10px 0;
	margin-bottom: 20px;
}
.comment-section > span {
	font-weight: 600;
	text-transform: uppercase;
}
.comment-title {
	margin-bottom: 5px;
	/*font-weight: 600;*/
}
.comment-avatar {
	float: left;
	margin: 0 10px 0 0;
}
.commentlist li {
	margin-bottom: 20px;
	clear: both;
	position: relative;
	clear: both;
}
.author-comment {
	overflow: hidden;
	position: relative;
	margin-bottom: 5px;
}
.author-comment cite {
	color: #3b3b3b;
	position: relative;
	display: block;
	margin-bottom: 2px;
	padding-top: 5px;
	font-style: normal;
	font-weight: bold;
	float: left;
}
.comment-avatar img {
	max-width: 60px;
	max-height: 100px;
}
.commentmetadata {
	display: block;
	font-size: 85%;
	float: right;
	padding-top: 5px;
}

.commentmetadata a {
	color: #3b3b3b;
}
.commentmetadata a:hover {
	color: #000;
}
.comment-wrap {
	position: relative;
	border-bottom: 1px solid #E7E7E7;
}
.comment-author,
.comment-content {	
	margin-left: 80px;
}
.comment-content {
	position: relative;
	display: block;
	overflow: hidden;
	padding-bottom: 15px;
}
.comment-content p {
	line-height: 17px;
	margin-bottom: 10px;
}
.nocomments {
	text-align: center;
}
.commentlist li.pingback {
	padding: 5px 10px;
	border-bottom: 1px solid #ddd;
}
.commentlist .children {
	margin-top: 15px;
	margin-left: 50px;
}
.commentlist .reply a {
	position: absolute;
	bottom: 0px;
	right: 0px;
	background: #E7E7E7;
	padding: 3px 10px;
	font-size: 11px;
}
.commentlist .reply a:hover {
	background: #333;
	color: #FFF;
}
.comment-image {
	max-width: 80px;
	max-height: 80px;
}
label.error { /* jQuery Validator */
    background-color: #ee0101;
    border-color: #ee0101;
    color: #fff;
    font-size: 12px;
    padding: 5px;
    display: block;
}
/* Thumbnail Sizes */
.thumb-50 {
	max-width: 50px;
	max-height: 50px;
}
.thumb-80 {
	max-width: 80px;
	max-height: 80px;
}
.thumb-100 {
	max-width: 100px;
	max-height: 100px;
}
.thumb-crop-100 {
	width: 100% !important;
	height: 100px !important;
}
.thumb-200 {
	max-width: 200px;
	max-height: 200px;
}
.thumb-crop-h200 {
	height: 200px !important;
}
.thumb-250 {
	max-width: 250px;
	max-height: 250px;
}
.thumb-h300 {
	height: 300px !important;
}
/* validation errors in different lines */
.alert span.error {
	display: block;
}
/*--------------------------------*/
/* Dashboard Sales
/*--------------------------------*/
.sales {
	color: #fff;
    padding: 14px;
}
.sales-today {
    background: none repeat scroll 0 0 #337ab7;
}
.sales-yesterday {
    background: none repeat scroll 0 0 #f0ad4e;
}
.sales-this-month {
    background: none repeat scroll 0 0 #5cb85c;
}
.sales-all-time {
    background: none repeat scroll 0 0 #5bc0de;
}
/* Captcha Code */
.refresh-captcha {
	max-height: 37px;
}
.captcha-text {
	font-weight: 600;
	color: #007bff!important;
}
.terms-block {	
	overflow: scroll;
	max-height: 300px;
}
/* Bootstrap 4 - input-group-append https://github.com/bassjobsen/typeahead.js-bootstrap4-css/issues/1*/
.input-group>.twitter-typeahead {
     position: relative;
     -ms-flex: 1 1 auto;
     -webkit-box-flex: 1;
     flex: 1 1 auto;
     width: 1%;
     margin-bottom: 0;
 }
 .input-group>.twitter-typeahead:not(:last-child) {
     border-top-right-radius: 0;
     border-bottom-right-radius: 0;
 }
 .input-group>.twitter-typeahead>.tt-input {
     border-top-right-radius: 0;
     border-bottom-right-radius: 0;
 }
 .form-control.tt-input:focus {
     z-index: 3
 }
 /*---------------------------------------------*/
/* TYPEAHEAD SEARCH BAR
/*---------------------------------------------*/
.tt-suggestion {
	background-color: #fde910;
	color: #292f38;
	display: block;
	padding: 3px 20px;
}
.tt-suggestion.tt-is-under-cursor {
	color: #fff;
	background-color: #428bca;
}
.tt-suggestion.tt-is-under-cursor a {
	background-color: #000;
	color: #fff;
}
.tt-suggestion p {
	margin: 0;
}

.tt-suggestion:hover {
	background-color: #292f38;
	color: #fff;
}
/* Table Scroll */
.custom-scrollbar {
	position: relative;
	height: 200px;
	overflow: auto;
}
.table-wrapper-scroll-y {
	display: block;
}
/* validation error strings margin removal */
.message-block.alert.alert-error p,
.alert.alert-block.alert-danger p {
    margin-bottom: 0px !important;
}

/*---------------------------------------------*/
/* Shopping Cart
/*---------------------------------------------*/
.shopping-cart-box {
	background-color: #feea0f;
	color: #444444;
	position: absolute;	
    margin-right: 1rem;
    margin-left:auto;
	max-width: 450px;
	border-radius: 4px;
	padding: 10px;
	margin-top: 10px;
	display:none;
	z-index: 2000;
	right: 0;
}
.shopping-cart-box:after {
	content: '';
	position: absolute;
	bottom: 100%;
	width: 0; 
	height: 0;
	border-bottom: 8px solid #feea0f;
	border-right: 8px solid transparent;
	border-left: 8px solid transparent;
	right: 50px !important;
}
.shopping-cart-box ul.cart-products-loaded{
	margin: 0;
	padding: 0;
	list-style: none;
}
.shopping-cart-box .close-shopping-cart-box{
  float: right;
}
#shopping-cart-results ul.cart-products-loaded li {
	margin-bottom: 1px;
	padding: 6px 4px 6px 10px;
}
.shopping-cart-box .remove-item{
	float:right;
	text-decoration:none;
}
.shopping-cart-box .cart-products-total{
	font-weight: bold;
	text-align: right;
	padding: 5px 0px 0px 5px;
}
.shopping-cart-box h3{
	margin: 0;
	padding: 0px 0px 5px 0px; 
}
.cart-item-price {
	text-decoration-line: line-through;
	-webkit-text-decoration-line: line-through; /* Safari */
}
.alert.alert-block.alert-danger p { /* Error Messages Vertical Spacing */
	margin-bottom: 0px !important;
}
.cart-products-loaded {
    position: static !important;
    display: block !important;
}
.cart-products-loaded a {
	color: #fff;
}
@media only screen and (max-width: 768px) {
	.shopping-cart-box {
		right: auto !important;
		left: 10px;
	}
	.shopping-cart-box:after {
		left: 20px;
	}
 }
/* JSSocials */
#twitter-widget-0 {
	margin-top: 7%;
}
/* TinyMCE Border Issue */
.mce-tinymce {
  margin-left: .1rem!important;
}
.mce-container-body {
  margin-bottom: .1rem!important;
}
.btn.active {
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); 
}
/* site currency dropdown */
.site-currency .selectize-control {
	min-width: 125px !important;
}


/* detail page color select option */
.variant__color {
  	display: block;
  	border: none;
  	margin-bottom: 0;
}
form.cart.variations_form .variant__color {
  	position: relative;
}
.variant__color tr {
  	display: block;
  	margin-bottom: 12px;
}
.variant__color .label {
  	vertical-align: middle;
  	font-size: 14px;
  	color: #333333;
  	font-family: "sofia_promedium";
  	padding: 0 10px 0 0;
  	line-height: inherit;
  	text-align: left;
  	border: none;
  	border-radius: 0;
}
.variant__color td.label::after {
  	content: ":";
}
.variant__color label {
  	margin-bottom: 0;
  	font-weight: inherit;
  	font-family: inherit;
}
.variant__color .value {
  	padding: 0;
  	text-align: left;
  	border: none;
  	display: inline;
}
.variant__color select {
  	height: 30px;
  	line-height: 30px;
  	cursor: pointer;
  	width: 120px;
}
.variant__color .reset_variations {
  	margin-left: 10px;
  	vertical-align: middle;
}
.variant__color select[data-attributetype="box_style"] {
  	display: none !important;
}
.variant__color .data-val[data-attributetype="box_style"] {
  	display: inline-block;
  	vertical-align: middle;
}
.variant__color .data-val a.color {
  	position: relative;
  	display: inline-block;
  	vertical-align: middle;
  	min-width: 16px;
  	height: 16px;
  	line-height: 14px;
  	border-radius: 50%;
  	font-size: 10px;
  	margin: 7px;
  	text-transform: uppercase;
  	text-align: center;
}
.variant__color .data-val a.color[style="background: #ffffff;"],
.variant__color .data-val a.color[style="background: #FFFFFF;"] {
  	background-color: #f8f8f8 !important;
  	border: 1px solid #e4e4e4;
}
.variant__color .data-val a.color:hover::before,
.variant__color .data-val a.color.active::before {
    font-family: 'Font Awesome\ 5 Free';
    font-weight: 900;
    content: "\f00c";
    color: #fff;
}
.variant__color .data-val a.photo img {
  	max-height: 70px;
  	max-width: 180px;
  	opacity: 0.5;
}
.variant__color .data-val a.photo:last-child {
  	margin-right: 0;
}
.variant__color .data-val a.photo:hover img,
.variant__color .data-val a.photo.active img {
  	opacity: 1;
}
.variant__color .data-val a:not(.color) {
  	display: inline-block;
  	margin-right: 15px;
  	border: 1px solid #a2a2a2;
  	border-radius: 3px;
  	padding: 0 5px;
  	font-weight: 500;
}
.variant__color .data-val a:not(.color):last-child {
  	margin-right: 0;
}
.variant__color .data-val a:not(.color):hover,
.variant__color .data-val a:not(.color).active {
  	background-color: #85b839;
  	color: #fff;
  	border-color: transparent;
}

/* detail page */
.variant__text {
  height: 44px;
  border: none;
  overflow: hidden;
}
.variant__text::-moz-focus-inner {
  border: 0;
}
.variant__text:focus {
  outline: none;
}
.variant__text option {
  width: 39px;
  height: auto;
  font-size: 14px;
  padding: 5px 5px;
  text-align: center;
  margin-right: 20px;
  display: inline-block;
  cursor: pointer;
  border: #333 solid 1px;
  color: #333;
}
/* Leaflet Map width and height in forms */
.map-leaflet {
	width: 100%;
	height: 300px;
}
#mapLeaflet {
	z-index: 49;
}
/* Cart Toast */
.cart-toast {
	position: absolute;
	top: 0;
	right: 0;
}
/* Readmore Text */
.readmore-text {
	text-align: right;
}
/* Twitter Typeahead full width */
.twitter-typeahead {
	width: 100%;
}
.tt-input-group,
.tt-menu {
    width: 90%;
}
.nav-search {
	width: 100%;
}

.nav-inpt > .input-group-btn,
.search-input-group-btn {
    vertical-align: top;
}