
@font-face {
  	font-family: 'Roboto';
	font-style: normal;
  	font-weight: 300;
  	src: url('roboto/roboto-300.eot'); /* IE9 Compat Modes */
  	src: url('roboto/roboto-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       	url('roboto/roboto-300.woff2') format('woff2'), /* Super Modern Browsers */
       	url('roboto/roboto-300.woff') format('woff'), /* Pretty Modern Browsers */
       	url('roboto/roboto-300.ttf')  format('truetype'), /* Safari, Android, iOS */
       	url('roboto/roboto-300.svg#Roboto') format('svg'); /* Legacy iOS */
}

@font-face {
  	font-family: 'Roboto';
	font-style: normal;
  	font-weight: 400;
  	src: url('roboto/roboto-400.eot'); /* IE9 Compat Modes */
  	src: url('roboto/roboto-400.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       	url('roboto/roboto-400.woff2') format('woff2'), /* Super Modern Browsers */
       	url('roboto/roboto-400.woff') format('woff'), /* Pretty Modern Browsers */
       	url('roboto/roboto-400.ttf')  format('truetype'), /* Safari, Android, iOS */
       	url('roboto/roboto-400.svg#Roboto') format('svg'); /* Legacy iOS */
}

@font-face {
  	font-family: 'Roboto';
	font-style: normal;
  	font-weight: 500;
  	src: url('roboto/roboto-500.eot'); /* IE9 Compat Modes */
  	src: url('roboto/roboto-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       	url('roboto/roboto-500.woff2') format('woff2'), /* Super Modern Browsers */
       	url('roboto/roboto-500.woff') format('woff'), /* Pretty Modern Browsers */
       	url('roboto/roboto-500.ttf')  format('truetype'), /* Safari, Android, iOS */
       	url('roboto/roboto-500.svg#Roboto') format('svg'); /* Legacy iOS */
}

@font-face {
  	font-family: 'Roboto';
	font-style: normal;
  	font-weight: 700;
  	src: url('roboto/roboto-700.eot'); /* IE9 Compat Modes */
  	src: url('roboto/roboto-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       	url('roboto/roboto-700.woff2') format('woff2'), /* Super Modern Browsers */
       	url('roboto/roboto-700.woff') format('woff'), /* Pretty Modern Browsers */
       	url('roboto/roboto-700.ttf')  format('truetype'), /* Safari, Android, iOS */
       	url('roboto/roboto-700.svg#Roboto') format('svg'); /* Legacy iOS */
}


body {
	background-color: #eff0f5;
}

/*body, .panel, .form-control {
	color: #4d5d70;
}*/

p {
	margin: 0 0 2px;
}

p:empty {
	margin: 10px 0;
}

a > img {
	border: 1px solid rgba(0, 0, 0, .1);
	/*width: 100%;*/
}

i.fa, i.far, i.fas {
	line-height: 1;
	font-size: 14px;
}

/* car panel */
h6 {
	font-size: 14px;
}
.car-title { 
	text-overflow: ellipsis;
	overflow: hidden; 
	height: 1.5em; 
	white-space: nowrap;
 }
.ribbon-wrapper {
	width: 85px;
	height: 88px;
	overflow: hidden;
	position: absolute;
	top: 6px;
	right: 6px;
	.ribbon {
		font: bold 15px sans-serif;
		color: #333;
		text-align: center;
		-webkit-transform: rotate(-45deg);
		-moz-transform:    rotate(-45deg);
		-ms-transform:     rotate(-45deg);
		-o-transform:      rotate(-45deg);
		position: relative;
		padding: 7px 0;
		top: 15px;
		left: -30px;
		width: 120px;
		background-color: #ebb134;
		color: #fff;
	}
}

.ribbon.ribbon-danger {
	left: -20px;
	top: 15px;
  	background-color: #ff3f39 !important;
}

.ribbon.ribbon-primary {
	left: -20px;
	top: 15px;
  	background-color: #1E88E5 !important;
}

.ribbon.ribbon-success {
	left: -20px;
	top: 15px;
	background-color: #4caf50 !important;
}

.ribbon.ribbon-yellow {
	left: -20px;
	top: 15px;
	background-color: #ffa239 !important;
	text-shadow: 0px 0px 1px #000000;
}

.label.top-left:before {
	content: "";
	display: inline-block;
	position: absolute;
	border: .21rem solid transparent;
	border-bottom-color: #a92d05;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	left: 0rem;
	bottom: -.3rem;
}
.label-wrapper {
	position: absolute;
	top: 0px;
	left: -3px;
	z-index: 10;
}

.label-wrapper > .label-second {
	top: 20px !important;
}

.main-holder {
	padding: 10px 0 10px 22px;
	background: #fff;
	border-bottom: 1px solid #e5e5e5;
	position: relative;
	margin-left: 5px; 
	margin-right: 5px; 
}

.main-holder:after {
	display: block;
	content: '';
	background: url({{ scontent('images/title-marker.jpg') }}) 0 0 no-repeat #de0000;
	background-size: 11px;
	width: 9px;
	bottom: 0;
	position: absolute;
	left: 0;
	top: 0;
}

.pull-right {
	padding-right: 10px;
}

.sub-header {
	font-size: 16px;
	padding-top: 4px;
}

.sidebar-content {
	padding-bottom: 0px;
}

.category-title {
	border-bottom-color: #f7bb0f;
}

.mySlides {
	-webkit-transition: -webkit-transform 1.5s ease-in-out;
	-moz-transition: -moz-transform 1.5s ease-in-out;
	-o-transition: -o-transform 1.5s ease-in-out;
	transition: transform 1.5s ease-in-out;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-visibility: hidden;

	display: none;
	position: relative;
}

.slide.active, .mySlides.active {
	opacity: 1;
	display: block;
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}

.fade {
	-webkit-animation-name: fade;
	-webkit-animation-duration: 2s;
	animation-name: fade;
	animation-duration: 2s;
}

@-webkit-keyframes fade {
	from {opacity: .4} 
	to {opacity: 1}
}

@keyframes fade {
	from {opacity: .4} 
	to {opacity: 1}
}

.img-slide {
	max-width: 100%;
}

a > img.img-make {
	border: transparent;
}

.img-make {
	/*border: 1px solid #ddd;*/
	padding: 0px 20px 0px 20px;
}

.category-title > h5 {
	font-size: 16px;
}

.main-header {
	margin: 15px 5px 10px 5px;
	font-size: 20px;
}


.thumb- > a > img, .placeholder-car {
	/*min-height: 166px;*/
	background-image: url("https://www.scontent.houseofcarsphuket.com/storage/placeholdercar.jpg");
	background-repeat: no-repeat;
	background-size: cover;
}

.carousel-sold>.carousel-inner {
	background-color: transparent;
}

.first-slide {
	max-height: 360px;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

iframe {
	width: 100%    !important;
  	/*height: 100%   !important;*/
}

.table-bordered.table-legacy>thead>tr>th {
	border: 1px solid #ccc !important;
}

.table-legacy>thead>tr>th {
    background-color: #eee;
}

table.dataTable thead .sorting:before, table.dataTable thead .sorting:after, table.dataTable thead .sorting_asc:before, table.dataTable thead .sorting_asc:after, table.dataTable thead .sorting_desc:before, table.dataTable thead .sorting_desc:after, table.dataTable thead .sorting_asc_disabled:before, table.dataTable thead .sorting_asc_disabled:after, table.dataTable thead .sorting_desc_disabled:before, table.dataTable thead .sorting_desc_disabled:after {
	bottom: 0.5em;
}

@media screen and (max-width: 768px) {
	html, body {
		width: auto;
		overflow-x: scroll!important;
	} 
	.content {
	    padding: 0 5px 20px 5px;
	}

	.col-md-12, .col-sm-12, .col-xs-12 {
		padding: 0;
	}

	.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3,
	.col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1,
	.col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4,
	.col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10,
	.col-sm-11, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5,
	.col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10,
	.col-xs-11, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5,
	.col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {
	    position: relative;
	    min-height: 1px;
	    /*padding-left: 5px;
	    padding-right: 5px*/
	    padding: 5px;
	}

	.login-container .page-container {
    	padding-top: 10px;
	    position: static
	}

}

.navbar > .container {
	margin-right: auto;
  margin-left: auto;
  /*padding-left: 10px;
  padding-right: 10px;*/
}


.main-row {
  margin-left: 0px;
  margin-right: 0px;
}

.navbar-hoc {
	background: -webkit-linear-gradient(left,#003e52 25%,#196a80 75%,#1a9cb7 100%);
  background: linear-gradient(to right,#003e52 25%,#196a80 75%,#1a9cb7 100%);
}

.text-dark {
	color: #2e3742;
}

.alert-warning {
	border: 1px solid #f3d593;
}

.form-group {
	margin-bottom: 5px;
	position: relative;
}

.navbar-head {
	margin: -3px 0;
}

.navbar-header {
	min-width: 150px;
}

.panel {
  margin-bottom: 15px;
}

.bootstrap-select.btn-group .dropdown-toggle .caret {
	top: 35% !important;
}

.btn-group {
	display: inline-flex;
}

.btn-sm {
	min-width: 80px;
}

.btn-xs {
	min-width: 80px;
}

.btn-icon.btn-xs {
	min-width: 10px;
}

.no-margin-head {
	margin: -4px 0px 0px 5px;
}

.img.img-article {
  width: 120px !important;
  height: 120px !important
}
.panel-narrow > .panel-body {
  padding: 10px;
}

.img-xl {
    width: 80px !important;
    height: auto;
}

@media screen and (min-width: 768px) {
	.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3,
	.col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1,
	.col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4,
	.col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10,
	.col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5,
	.col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10,
	.col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5,
	.col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {
	    position: relative;
	    min-height: 1px;
	    /*padding-left: 5px;
	    padding-right: 5px*/
	    padding: 5px;
	}
}

.thumbnail.no-padding .caption {
  padding: 5px;
}
.relative {
  position: relative;
}

@media (min-width: 1200px){
	.form-horizontal .control-label[class*=col-lg-] {
    padding-top: 12px;
	}
}

@media(min-width: 1025px) {
	.form-horizontal .control-label[class*=col-md-] {
		padding-top: 12px;
	}
}

@media (min-width: 480px) {
	.form-horizontal .control-label[class*=col-xs-] {
	    padding-top: 12px;
	}
}

.label.top-left {
  position: absolute;
  left: 5px;
  top: 0px;
  display: inline-block;
  /*background-color: #ff5722;*/
  border-radius: 0px 2px 2px 0px;
  padding: .3rem .5rem;
  text-transform: capitalize;
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1;
  white-space: nowrap;
  cursor: default;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.label-warning {
	background-color: #ff5722;
}

.label-primary {
	background-color: #1E88E5;
}

.label-danger {
	background-color: #E53935;
	border-color: #D32F2F;
}
/* ---- ----- ---- */

.hoc-item-card__badge-wrapper {
  position: absolute;
  right: 5px;
  top: 6px;
}
.hoc-item-card__badge-wrapper .hoc-badge {
  float: right;
  margin-left: 0.5rem;
}
.hoc-badge--promotion {
  background-color: rgba(255, 212, 36, .9);
}
.hoc-badge--promotion:after {
  content: "";
  width: 0;
  height: 0;
  left: 0;
  bottom: -4px;
  border-style: solid;
  position: absolute;
  border-width: 0 19px 4px 19px;
  border-color: transparent rgba(255, 212, 36, .9) transparent rgba(255, 212, 36, .9);
}
.hoc-badge {
  display: inline-block;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
  padding: 4px 2px 3px 2px;
}
.hoc-badge--fixed-width {
  width: 38px;
  height: 35px;
}
.hoc-badge--promotion__label-wrapper--th-TH {
  -webkit-box-orient: vertical;
  -webkit-box-direction: reverse;
  -webkit-flex-direction: column-reverse;
  -moz-box-orient: vertical;
  -moz-box-direction: reverse;
  -ms-flex-direction: column-reverse;
  flex-direction: column-reverse;
}
.hoc-badge--promotion__label-wrapper {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -moz-box-orient: vertical;
  -moz-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  text-align: center;
  position: relative;
  font-weight: bold;
  line-height: 12px;
  color: #ff5722;
  text-transform: uppercase;
  font-size: 1.2rem;
}
.hoc-badge--promotion__label-wrapper__off-label {
  color: white;
  margin: 2px 0;
}
.hoc-badge--promotion__label-wrapper--th-TH {
  -webkit-box-orient: vertical;
  -webkit-box-direction: reverse;
  -webkit-flex-direction: column-reverse;
  -moz-box-orient: vertical;
  -moz-box-direction: reverse;
  -ms-flex-direction: column-reverse;
  flex-direction: column-reverse;
}
.hoc-product-info-price-before-discount {
  text-decoration: line-through; 
}

.hoc-price-first-line {
	color: #f57224;
	font-weight: 500;
}

.footer {
  bottom: 10px;
}
.page-footer {
  background-color: #ffffff;
  -webkit-box-shadow: inset 0 1px 0 rgba(187,187,187,0.5),0 22px 0 #FDF7F0;
  box-shadow: inset 0 1px 0 rgba(187,187,187,0.5),0 22px 0 #FDF7F0;
}

.bootstrap-select.btn-group .dropdown-toggle .caret {
    margin-top: -7px;
}

/*
  Bootstrap Carousel Fade Transition (for Bootstrap 3.3.x)
  CSS from:       http://codepen.io/transportedman/pen/NPWRGq
  and:            http://stackoverflow.com/questions/18548731/bootstrap-3-carousel-fading-to-new-slide-instead-of-sliding-to-new-slide
  Inspired from:  http://codepen.io/Rowno/pen/Afykb 
*/
.carousel-inner {
	background-color: #000000;
}
.carousel-fade .carousel-inner .item {
  opacity: 0;
  transition-property: opacity;
}

.carousel-fade .carousel-inner .active {
  opacity: 1;
}

.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
  left: 0;
  opacity: 0;
  z-index: 1;
}

.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
  opacity: 1;
}

.carousel-fade .carousel-control {
  z-index: 2;
}

/*
  WHAT IS NEW IN 3.3: "Added transforms to improve carousel performance in modern browsers."
  Need to override the 3.3 new styles for modern browsers & apply opacity
*/
@media all and (transform-3d), (-webkit-transform-3d) {
  .carousel-fade .carousel-inner > .item.next,
  .carousel-fade .carousel-inner > .item.active.right {
    opacity: 0;
    -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
  }
  .carousel-fade .carousel-inner > .item.prev,
  .carousel-fade .carousel-inner > .item.active.left {
    opacity: 0;
    -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
  }
  .carousel-fade .carousel-inner > .item.next.left,
  .carousel-fade .carousel-inner > .item.prev.right,
  .carousel-fade .carousel-inner > .item.active {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
  }
}


/* END CUSTOM CAROUSEL */

.main-holder {
	padding: 10px 0 10px 22px;
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  position: relative;
  margin-left: 5px; 
  margin-right: 5px; 
}

.main-holder:after {
	display: block;
	content: '';
	background: url(https://scontent.houseofcarsphuket.com/images/title-marker.jpg) 0 0 no-repeat #de0000;
	background-size: 11px;
	width: 9px;
	bottom: 0;
	position: absolute;
	left: 0;
	top: 0;
}

.hicon {
  display: inline-block;
  height: 20px;
  width: 20px;
  background-repeat: no-repeat;
  border-radius: 26%;

	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	min-width: 1em;
	display: inline-block;
	text-align: center;
	font-size: 16px;
	vertical-align: middle;
	position: relative;
	top: -1px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.hicon-lg {
  height: 28px;
  width: 28px;
}
.hicon-xs {
	height: 17px;
  width: 17px;
}
.hicon-facebook {
  background-image: url('icons/facebook.svg');
}
.hicon-instagram {
  background-image: url('icons/029-instagram.svg');
}
.hicon-line {
  background-image: url('icons/line.svg');
}
.hicon-web {
	background-image: url('icons/web.svg');
}

.flag-icon, .flag-icon-background {
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 50%
}

.flag-icon {
    position: relative;
    display: inline-block;
    width: 1.33333333em;
    line-height: 1em
}

.flag-icon:before {
    content: "\00a0"
}

.flag-icon.flag-icon-squared {
    width: 1em
}
.flag-icon-th {
    background-image: url(flags/4x3/th.svg)
}
.flag-icon-us {
    background-image: url(flags/4x3/us.svg)
}

.checkbox-switchery.checkbox-right.switchery-sm label:hover,
.checkbox-switchery.checkbox-right.switchery-sm label:focus,
label.checkbox-switchery.checkbox-right.switchery-sm:hover
label.checkbox-switchery.checkbox-right.switchery-sm:focus
{
 	background-color: #E6E9EF;
 	border-radius: 2px;
}

.checkbox-ul {
	list-style-type: none;
	margin-left: -25px;
}
.checkbox-switchery.checkbox-right.switchery-sm label,
label.checkbox-switchery.checkbox-right.switchery-sm
 {
	padding: 10px 15px;
	cursor: pointer;
}

.checkbox-switchery.checkbox-right .switchery {
  margin-right: 10px;
}

.form-horizontal .checkbox {
	padding-top: 0px;
}

.form-horizontal .checkbox {
	min-height: 20px
}

.bootstrap-select .btn {
	padding: 6px 12px;
}

#major-publishing-actions {
	padding: 10px;
}