/*
 * Layout
=========================== */
.page-contents{
	margin: 50px 0;
}
/*
 * Image
=========================== */
.image-content{
  max-width: 500px;
  margin: 0 auto;
}

.main-image{
	position: relative;
	overflow: hidden;
}

.product-image{
  display: block;
}
/*
 * Sub Image
=========================== */
.sub-image > ul > li{
  margin:3px 0;
}

.sub-image > ul > li.active{
	border: 1px solid #dcdcdc;
	padding: 2px;
}

.sub-image > ul,
.sub-image > ul > li,
.sub-image > ul > li > a,
.sub-image > ul > li > a > img,
.main-image > img{
  display: block;
  width: 100%;
}
/*
 * Image
=========================== */
.sub-image > ul > li{
  margin:3px 0;
}

.sub-image > ul,
.sub-image > ul > li,
.sub-image > ul > li > a,
.sub-image > ul > li > a > img,
.main-image > img{
  display: block;
  width: 100%;
}
/*
 * Owl Carousel
=========================== */
.owl-prev,
.owl-next{
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50px;
  text-align: center;
  text-indent: 100%;
  white-space: nowrap;
  z-index: 2;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 80%;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  filter: alpha(opacity=0);
  -moz-opacity: 0;
  opacity: 0;
  cursor: pointer;
}

.owl-prev{
	left: -50px;
	background-image: url(https://aftr-school.com/css/image/left-arrow-angle.png);
}

.owl-next{
  right: -50px;
	background-image: url(https://aftr-school.com/css/image/right-arrow-angle.png);
}

.owl-carousel:hover .owl-prev{
	left: 0;
}

.owl-carousel:hover .owl-next{
  right: 0;
}

.owl-carousel:hover .owl-prev,
.owl-carousel:hover .owl-next{
  filter: alpha(opacity=100);
  -moz-opacity: 1;
  opacity: 1;
}
/*
 * Breadcrumb
=========================== */
.breadcrumb > li > a,
.breadcrumb > li > a:focus{
  color: #919191;
}

.breadcrumb > li > a:hover{
  color: #ababab;
}
/*
 * Info
=========================== */
.product-brand,
.product-brand:focus{
  color: #919191;
}

.product-brand:hover{
  color: #ababab;
}

.product-title,
.product-price{
  font-family: "Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
}

.product-title{
  margin: 0 auto;
	margin: 0 0 8px 0;
}

.product-price {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
}

.usual-price{
  text-decoration: line-through;
  margin-right: 4px;
  color: #9e9e9e;
}

.product-description{
	font-size: 14px;
	line-height: 1.6;
  padding: 8px 0;
  margin-bottom: 0;
  border-bottom: 1px solid #dcdcdc;
}

.show-outofstock {
  height: 36px;
  line-height: 36px;
  text-align: center;
  font-weight: bold;
  border:1px solid #ecf0f1;
  background-color: #ecf0f1;
  color: #95a5a6;
}
/*
 * Cart
=========================== */
.option-name{
	float: left;
}

.product-cart-module{
	padding: 20px 0;
	border-bottom:1px solid #dcdcdc;
}

.product-cart-module:first-child{
	border-top:1px solid #dcdcdc;
}

.product-cart-header{
	border-bottom: 1px solid #dcdcdc;
	padding-bottom: 10px;
}

.cart-option{
	width: 60px;
	float: left;
}

.cart-option > p{
	line-height: 39px;

}

.cart-thumb{
	max-width: 60px;
}

.cart-thumb > img{
	width: 100%;
}

ul.product-cart-list{
	float: right;
	width: 290px;
}

ul.no-option-second{
  width: 360px;
}

ul.product-cart-list > li {
	border-top: 1px solid #e5e5e5;
	padding: 13px 0;
	overflow: hidden;
	width: 100%;
}

ul.product-cart-list > li:first-child{
	padding-top: 0;
	border: 0;
}

ul.product-cart-list > li:last-child{
	padding-bottom: 0;
}

.stock,
.cart,
.like{
  float: left;
	vertical-align: middle;
}

.cart{
	width: 166px;
	padding: 0 10px;
	text-align: right;
}

.no-option-second > li > .cart{
  width: 236px;
}

.stock{
  width: 90px;
  font-size: 12px;
  margin-top: 11px;
}

.btn-add-cart{
  font-size: 13px;
  border-color: #aaa;
  background: #fff;
  color: #4a4d4f;
  font-weight: bold;
}

.btn-add-cart:hover {
	border-color: #222;
  background-color: #222;
  color: #fff;
}

.btn-add-cart > span{
  display: inline-block;
  vertical-align: top;
  margin-top: 5px;
}

.btn-add-cart > i{
  font-size: 21px;
  margin-top: -15px;
}

.like{
	width: 34px;
}

.like-btn{
	display: inline-block;
  border-radius: 100%;
  -moz-border-radius: 100%;
  -webkit-border-radius: 100%;
  padding: 8px;
  font-size: 18px;
  line-height: 0.9;
  border: 0;
  outline: 0;
  background-color: #95a5a6;
  color: #fff;
}

.btn-add-cart,
.like-btn {
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
}

.like-btn:hover{
	color: #F22613;
}

.like-btn.active{
	background-color: #F22613;
}

.like-btn.active:hover{
  color: #fff;
}
/*
 * Relation
=========================== */
.relation-products{
  margin-top: 50px;
}

.relation-title{
  border-bottom:1px solid #e5e5e5;
  padding-bottom: 10px;
  margin-bottom: 16px;
}

.product-cart-header .option-name{
	width: 60px;
}
/* 
 Products Options
=========================== */
.product-options{
  display: none;
  overflow: hidden;
  text-align: center;
}

.products-item:hover .product-options{
  display: block;
}

.product-options > li {
  display: inline-block;
  max-width: 50px;
}
/*
 * Cart Hero
=========================== */
.pop-cart-open {
	overflow: hidden;
}

.pop-cart{
	display: none;
  position: fixed;
  top: 69px;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: 996;
  animation: pop-cart-show 0.3s linear 0s;
}

.pop-cart-open .pop-cart {
	display: block;
  overflow-x: hidden;
  overflow-y: auto;
}

.pop-cart > .panel{
	box-shadow: 0 3px 3px #dcdcdc;
}

.pop-cart-title{
	margin-top: 0;
	margin-bottom: 20px;
	text-align: center;
}

.pop-cart-meta{
	margin-top: 10px;
}

@keyframes pop-cart-show{
  from{
      opacity: 0;
  }
  to{
      opacity: 1;
  }
}

@keyframes pop-cart-hide{
  from{
      opacity: 1;
  }
  to{
      opacity: 0;
  }
}
/*
 * SNS
=========================== */
.product-sns > p{
  margin-top: 6px;
  margin-bottom: 0;
  font-size: 11px;
  text-align: center;
}

.product-sns > ul {
	overflow: hidden;
}

.product-sns > ul > li{
	width: 33.333333333333%;
	float: left;
	padding: 0 2px;
}

.product-sns > ul > li > a{
	position: relative;
	display: block;
	text-align: center;
	padding: 10px 0;
	font-size: 20px;
	color: #666;
	line-height: 1;
	border-bottom: 2px solid #fff;
}

.product-sns > ul > li > a:after{
	content: '';
	display: block;
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background-color: #dcdcdc;
}

.product-sns > ul > li > a:hover{
	border-color: #333;
	color: #333;
}


.product-sns > ul > li > a:hover:after{
	background-color: #333;
}

.line-logo{
	display: block;
	height: 20px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  filter: alpha(opacity=60);
  -moz-opacity: 0.6;
  opacity: 0.6;
}
/*
// Tablet Size
// MAX: 991px
*/
@media (max-width: 991px) {
	.pop-cart{
	  top: 52px;
	}
}

/*
// SmartPhone Size
// MAX: 767px
*/
@media (max-width: 767px){
  .page-contents {
    margin-top: 0;
  }

  .breadcrumb {
    margin-bottom: 5px;
    display: none;
  }

  .product-title{
    font-size: 24px;
  }

  .product-cart{
    margin-left: -15px;
    margin-right: -15px;
  }

  .product-cart-list{
    padding-left: 10px;
    padding-right: 10px;
  }

  .product-cart-header{
    display: none;
  }

  .cart-option{
    width: 100%;
    float: none;
    background-color: #ecf0f1;
    margin-top: -20px;
    margin-bottom: 10px;
    padding: 5px 10px;
    display: table;
  }

  .cart-option > .thumb,
  .option-thumb-name{
    display: table-cell;
    vertical-align: bottom;
  }

  .cart-option > .thumb{
    width: 50px;
    padding-right: 8px;
    line-height: 1;
  }

  .option-thumb-name{
    font-weight: bold;
  }

  .stock,
  .cart,
  .like{
    float: none;
    vertical-align: top;
  }

  .stock{
    vertical-align: middle; 
  }

  ul.product-cart-list{
    width: 100%;
  }

  ul.product-cart-list > li{
    display: table;
    width: 100%;
  }

  ul.product-cart-list > li > .stock,
  ul.product-cart-list > li > .cart{
    display: table-cell;
    width: auto;
  }

  ul.product-cart-list > li > .cart .btn{
    padding-left: 8px;
    padding-right: 8px;
  }
  /*
   * Relation
  =========================== */
  #recommends-view > .col-md-3.col-xs-6:nth-child(2n+1){
    clear: left;
  }
  /*
   * Image
  =========================== */
  .main-image{
    margin-left: -15px;
    margin-right: -15px;
  }
  /*
   * Owl Carousel
  =========================== */
  .owl-dots{
    position: absolute;
    bottom: 10px;
    z-index: 100;
    margin-top: 0;
  }

  .owl-nav{
    display: none;
  }
}