html {
    position: relative;
    min-height: 100%;
}
body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    left:0;
    height: 60px;
    background-color: #f5f5f5;
}

.container .text-muted {
    margin: 20px 0;
}


.table tr.vmiddle td{
    vertical-align: middle;
}


.product{
    border:1px solid #ccc;
    margin: 5px;
    padding: 0 15px 15px;
}
.product:hover{
 border:1px solid #777;
}

.product.product-cart{
  background: #f5f5f5;
  border:1px solid #777;
  overflow: hidden;
}

span.badget-cart{
  position: absolute;
    left: -16px;
    top: 0;
    background: #F00;
    color: #FFF;
    transform: rotate(315deg);
    font-size: 12px;
    padding: 3px;
    width: 50px;
}

.product h2{
    padding: 0;
}

.title-section{
	padding:0;
	margin:0;
	border-bottom:3px solid #333;
	font-size:25px;
	margin-bottom:30px;
}

.title-first{
	font-size:30px;
}

.box-product{
	padding-bottom:10px;
  clear: both;
}

.description-section{
	text-align:center;
}
.box-product h2{
  font-size:20px;
}


.stock{
  font-style: italic;
}

.m-0{
  margin:0 !important
}
.p-0{
  padding: 0 !important;
}

.d-flex{
  display: flex;
  justify-content:start;
  flex-wrap: wrap;
  align-items: stretch;
}

.d-flex > div{
  width:23%;
  flex:0 0 23%;
  display: flex;
  flex-direction: column;
  
}

.d-flex > div > .product-header{
  flex:0 0 85%;
}


@media (max-width:640px) {

  .title-first{
    text-align: center;
    font-size: 20px;
    padding:0 15px;
  }
  .title-section{
    text-align: center;
    border-bottom: 2px solid #333;
    margin:10px 0 20px
  }
  .d-flex{
    flex-direction:column;
  }

  .d-flex > div{
    width: 100%;
    flex: 0 0 100%;
  }
}

/*!
 * bootstrap-vertical-tabs - v1.2.1
 * https://dbtek.github.io/bootstrap-vertical-tabs
 * 2014-11-07
 * Copyright (c) 2014 İsmail Demirbilek
 * License: MIT
 */
.tabs-left, .tabs-right {
  border-bottom: none;
  padding-top: 2px;
}
.tabs-left {
  border-right: 1px solid #ddd;
}
.tabs-right {
  border-left: 1px solid #ddd;
}
.tabs-left>li, .tabs-right>li {
  float: none;
  margin-bottom: 2px;
}
.tabs-left>li {
  margin-right: -1px;
}
.tabs-right>li {
  margin-left: -1px;
}
.tabs-left>li.active>a,
.tabs-left>li.active>a:hover,
.tabs-left>li.active>a:focus {
  border-bottom-color: #ddd;
  border-right-color: transparent;
}

.tabs-right>li.active>a,
.tabs-right>li.active>a:hover,
.tabs-right>li.active>a:focus {
  border-bottom: 1px solid #ddd;
  border-left-color: transparent;
}
.tabs-left>li>a {
  border-radius: 4px 0 0 4px;
  margin-right: 0;
  display:block;
}
.tabs-right>li>a {
  border-radius: 0 4px 4px 0;
  margin-right: 0;
}
.sideways {
  margin-top:50px;
  border: none;
  position: relative;
}
.sideways>li {
  height: 20px;
  width: 120px;
  margin-bottom: 100px;
}
.sideways>li>a {
  border-bottom: 1px solid #ddd;
  border-right-color: transparent;
  text-align: center;
  border-radius: 4px 4px 0px 0px;
}
.sideways>li.active>a,
.sideways>li.active>a:hover,
.sideways>li.active>a:focus {
  border-bottom-color: transparent;
  border-right-color: #ddd;
  border-left-color: #ddd;
}
.sideways.tabs-left {
  left: -50px;
}
.sideways.tabs-right {
  right: -50px;
}
.sideways.tabs-right>li {
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  transform: rotate(90deg);
}
.sideways.tabs-left>li {
  -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  transform: rotate(-90deg);
}

.block-note{
  border: 1px solid #ccc;
  background: #F5F5F5;
  padding: 10px;
}

.block-note p{
  margin:0;
}

.input-group-flex{
	display: flex !important;
	justify-content:space-between;
}
.input-group-flex .input-group-btn{
	width: 25% !important;
    padding: 0;
    display: block;
    margin: 0;
}

.btn-info-update{
		margin-top:5px;
	}

.input-group-flex input{
	width:50%;
}

@media (max-width:640px) {
	.input-group-flex .input-group-btn .btn{
		padding:5px 0;
	}
	
}
.gallery-thumbnail{
  position: relative;
  display: block;
}
.gallery-thumbnail::after{
  content: "";
  display: block;
  background: rgba(0, 0, 0, 0.5);
  position: absolute;
  top:0;
  left: 0;
  bottom: 0;
  right: 0;
  opacity: 0;
  transition: opacity 1s;
  z-index: 1;
}

.gallery-thumbnail i{
  opacity: 0;
  font-size:30px;
  transform: translate(-50%, -50%);
  position: absolute;
  top:50%;
  left: 50%;
  color:#fff;
  transition: opacity 1s;
  z-index: 2;
  
}

.gallery-thumbnail:hover i{
  opacity: 1;
}

.gallery-thumbnail:hover::after{
  opacity: 1;
}