/*
Theme Name: RDT015C
Theme URI: http://redeptot.vn
Author: Redeptot.vn
Author URI: http://redeptot.vn/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

.pagination {
    color: #333;
    font-size: 15px;
    width: 100%;
    float: left;
    text-align: center;
    background-color: #F4F3F3;
    padding: 4px 0;
}
.pagination .page-numbers.current {
    font-weight: bold;
    padding: 5px 9px;
    border-top: 2px solid blue;
    margin-top: -2px;
}
.pagination a.page-numbers {
    color: #333;
    font-weight: bold;
    padding: 5px 9px;
}
.pagination a {
    margin-right: 10px;
    display: inline-block;
    color: blue;
}
.pagination .next {
    padding: 0 12px;
    margin-left: 10px;
}
.span3.product, .span4.product {margin-bottom:20px !important;}
.span4.product:nth-child(3n+1) {margin-left:0px !important;}
.woocommerce .row {margin-bottom: 0px !important;}
.single_add_to_cart_button {
    vertical-align: middle;
    float: left;
    margin-top: 2px;
    margin-left: 10px;
    font-size: 14px;
    background: #CD2122;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 0 rgba(0,0,0,.8);
    border-radius: 3px;
    box-shadow: none;
    position: relative;
    border: 0;padding: 5px 10px;
}
.single_add_to_cart_button:hover {
    background: #343434;
    color: #fff;
    text-shadow: 0 -1px 0 rgba(0,0,0,0.6);
}
.logged-in #MainMenu.navbar {
    margin-top: 32px;
}#flags {
    margin: 15px 0 !important;
}
.admin-bar {
    margin-top: 32px !important;
}
.add-to-cart {
    box-shadow: 0px 1px 10px 0px rgb(245, 151, 142) inset;
    background: rgb(242, 69, 55) linear-gradient(to bottom, rgb(242, 69, 55) 5%, rgb(198, 45, 31) 100%) repeat scroll 0% 0%;
    border-radius: 7px;
    border: 1px solid rgb(208, 39, 24);
    display: inline-block;
    cursor: pointer;
    color: yellow;
    font-family: Verdana;
    font-size: 18px;
    font-weight: bold;
    padding: 9px 35px;
    text-decoration: none;
    text-shadow: 0px 1px 0px rgb(129, 14, 5);
}
.nk-main-menua li {
	position:relative;
}
.nk-main-menua li a:before {
    display: none !important;
}
.nk-main-menua ul.subnav {
    position: absolute;
    z-index: 111111111;
    top: 35px;
    display: block;
    width: 250px;
    background: #ed1c24;
    left: 0;
    margin: 5px 0;
	display:none;
}
.nk-main-menua li:hover ul.subnav {
	display: block;
}
.nk-main-menua ul.subnav li {
    width: 100% !important;
    text-align: left !important;
}
.nk-main-menua ul.subnav li a{
	padding:0 10px !important;
}

ul.subnav{}
#pagination {
    color: #20242b;
    font-size: 18px;
    width: 100%;
    float: left;
    text-align: center;
    border-left: 5px solid #20242b;
    background-color: #F4F3F3;
    padding: 4px 0;
}
#pagination .page-numbers.current {
    font-weight: bold;
    padding: 10px 16px;
    border-top: 2px solid #20242b;
    margin-top: -2px;
}
#pagination a.page-numbers {
    color: #20242b;
    font-weight: bold;
    padding: 10px 16px;
}
#pagination a {
    margin-right: 10px;
    display: inline-block;
    color: #20242b;
}
#pagination .next {
    padding: 0 12px;
    margin-left: 10px;
}
.baiviet, .baiviet div, .baiviet p {
	font-size:15px !important;
	font-family:tahoma !important;
	line-height:1.3 !important;
}
.baiviet {
	padding:0 10px !important;
}
.baiviet .page-title {
	font-size:18px;
	margin-bottom:10px;
}
/* ====================================================================================================================
 * RESETS
 * ====================================================================================================================*/
.flex-container a:hover,
.flex-slider a:hover {
  outline: none;
}
.slides,
.slides > li,
.flex-control-nav,
.flex-direction-nav {
  margin: 0;
  padding: 0;
  list-style: none;
}
.flex-pauseplay span {
  text-transform: capitalize;
}
/* ====================================================================================================================
 * BASE STYLES
 * ====================================================================================================================*/
.flexslider {
  margin: 0;
  padding: 0;
}
.flexslider .slides > li {
  display: none;
  -webkit-backface-visibility: hidden;
}
.flexslider .slides img {
  width: 100%;
  display: block;
}
.flexslider .slides:after {
  content: "\0020";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
html[xmlns] .flexslider .slides {
  display: block;
}
* html .flexslider .slides {
  height: 1%;
}
.no-js .flexslider .slides > li:first-child {
  display: block;
}
/* ====================================================================================================================
 * DEFAULT THEME
 * ====================================================================================================================*/
.flexslider {
  margin: 0 0 40px;
  background: #fff;
  border: 4px solid #fff;
  position: relative;
  zoom: 1;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
  -o-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
  box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
}
.flexslider .slides {
  zoom: 1;
}
.flexslider .slides img {
  height: auto;
  -moz-user-select: none;
}
.flex-viewport {
  max-height: 2000px;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
}
.loading .flex-viewport {
  max-height: 300px;
}
.carousel li {
  margin-right: 5px;
}
.flex-direction-nav {
  *height: 0;
}
.flex-direction-nav a {
  text-decoration: none;
  display: block;
  width: 40px;
  height: 40px;
  margin: -20px 0 0;
  position: absolute;
  top: 50%;
  z-index: 10;
  overflow: hidden;
  opacity: 0;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.8);
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.flex-direction-nav a:before {
  font-family: "flexslider-icon";
  font-size: 40px;
  display: inline-block;
  content: '\f001';
  color: rgba(0, 0, 0, 0.8);
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
}
.flex-direction-nav a.flex-next:before {
  content: '\f002';
}
.flex-direction-nav .flex-prev {
  left: -50px;
}
.flex-direction-nav .flex-next {
  right: -50px;
  text-align: right;
}
.flexslider:hover .flex-direction-nav .flex-prev {
  opacity: 0.7;
  left: 10px;
}
.flexslider:hover .flex-direction-nav .flex-prev:hover {
  opacity: 1;
}
.flexslider:hover .flex-direction-nav .flex-next {
  opacity: 0.7;
  right: 10px;
}
.flexslider:hover .flex-direction-nav .flex-next:hover {
  opacity: 1;
}
.flex-direction-nav .flex-disabled {
  opacity: 0!important;
  filter: alpha(opacity=0);
  cursor: default;
  z-index: -1;
}
.flex-pauseplay a {
  display: block;
  width: 20px;
  height: 20px;
  position: absolute;
  bottom: 5px;
  left: 10px;
  opacity: 0.8;
  z-index: 10;
  overflow: hidden;
  cursor: pointer;
  color: #000;
}
.flex-pauseplay a:before {
  font-family: "flexslider-icon";
  font-size: 20px;
  display: inline-block;
  content: '\f004';
}
.flex-pauseplay a:hover {
  opacity: 1;
}
.flex-pauseplay a.flex-play:before {
  content: '\f003';
}
.flex-control-nav {
  width: 100%;
  position: absolute;
  bottom: -30px;
  text-align: center;
}
.flex-control-nav li {
  margin: 0 6px;
  display: inline-block;
  zoom: 1;
  *display: inline;
}
.flex-control-paging li a {
  width: 11px;
  height: 11px;
  display: block;
  background: #666;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  text-indent: -9999px;
  -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  -o-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
}
.flex-control-paging li a:hover {
  background: #333;
  background: rgba(0, 0, 0, 0.7);
}
.flex-control-paging li a.flex-active {
  background: #000;
  background: rgba(0, 0, 0, 0.9);
  cursor: default;
}
.flex-control-thumbs {
  margin: 5px 0 0;
  position: static;
  overflow: hidden;
}
.flex-control-thumbs li {
  width: 25%;
  float: left;
  margin: 0;
}
.flex-control-thumbs img {
  width: 100%;
  height: auto;
  display: block;
  opacity: .7;
  cursor: pointer;
  -moz-user-select: none;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
}
.flex-control-thumbs img:hover {
  opacity: 1;
}
.flex-control-thumbs .flex-active {
  opacity: 1;
  cursor: default;
}
/* ====================================================================================================================
 * RESPONSIVE
 * ====================================================================================================================*/
@media screen and (max-width: 860px) {
  .flex-direction-nav .flex-prev {
    opacity: 1;
    left: 10px;
  }
  .flex-direction-nav .flex-next {
    opacity: 1;
    right: 10px;
  }
}
.flex-direction-nav {
  	display:none
}


/** Scroll to top button **/
#totop {height:9px; opacity:0; filter:alpha(opacity=0); position:fixed; right:-50px;  width:49px; z-index:9999; display:block; top:85%; background-image:url("images/arrow_totop.png"); background-repeat:no-repeat; background-position:center 15px; background-color:#404040; font-size: 9px; font-weight: 900; color: #fff; text-align: center; line-height: 1; padding: 28px 0 12px 0; -webkit-border-radius:2px; -moz-border-radius:2px; border-radius:2px; }
#totop.on { right:10px; opacity:0.7; filter:alpha(opacity=70);}
#totop.off{right:-59px}
#totop:hover { opacity:1; filter:alpha(opacity=100)}

.product-item-carousel {
	width: 25%; float: left;
}
.promotion_content {
    padding: 10px 0;
    border-top: 1px dashed gray;
    border-bottom: 1px dashed gray;
}

/*swiper*/
.swiper-container-android .swiper-slide, .swiper-wrapper {
    -webkit-transform: translate3d(0,0,0);
    -moz-transform: translate3d(0,0,0);
    -o-transform: translate(0,0);
    -ms-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}
.swiper-slide {
    -webkit-flex-shrink: 0;
    -ms-flex: 0 0 auto;
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
}
.swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-transition-property: -webkit-transform;
    -moz-transition-property: -moz-transform;
    -o-transition-property: -o-transform;
    -ms-transition-property: -ms-transform;
    transition-property: transform;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}
.product-main-info-nk .top-info .span7 .image-wrap .ty-center {
	clear:both;
	float:left;
	margin:30px 0 25px;
	height:60px;
	width:100%;
	position:relative;
}
.product-main-info-nk .top-info .span7 .image-wrap .ty-center .swiper-button-left,.product-main-info-nk .top-info .span7 .image-wrap .ty-center .swiper-button-right {
	float:left;
	width:30px;
	z-index:8;
	cursor:pointer;
}
.product-main-info-nk .top-info .span7 .image-wrap .ty-center .swiper-button-left .fa,.product-main-info-nk .top-info .span7 .image-wrap .ty-center .swiper-button-right .fa {
	font-size:20px;
	color:#8b8b8b;
	cursor:pointer;
	line-height:60px;
}
.product-main-info-nk .top-info .span7 .image-wrap .ty-center .swiper-container {
	float:left;
	width:calc(100% - 60px);
	width:-moz-calc(100% - 60px);
	width:-webkit-calc(100% - 60px);
	height:100%;
	overflow:hidden;
}
.product-main-info-nk .top-info .span7 .image-wrap .ty-center .swiper-container .swiper-slide {
	display:-webkit-box;
	display:-ms-flexbox;
	display:-webkit-flex;
	display:flex;
	-webkit-box-pack:center;
	-ms-flex-pack:center;
	-webkit-justify-content:center;
	justify-content:center;
	-webkit-box-align:center;
	-ms-flex-align:center;
	-webkit-align-items:center;
	align-items:center;
}
.product-main-info-nk .top-info .span7 .image-wrap .ty-center .swiper-container .swiper-slide a {
	display:block;
	border:1px solid LightGray;
	display:none;
}
.product-main-info-nk .top-info .span7 .image-wrap .ty-center .swiper-container .swiper-slide a.active {
	border-color:gray;
}
.custom-html-widget #fancybox-wrap {
    top: 100px !important;
    position: fixed!important;
}

/*Responsive*/
@media(max-width:900px) {
	.nk-fg-heading .list-sub-cats li a {
		padding: 7px 15px !important;
	}
	.nk-fg-heading .list-sub-cats li a:before {
		top: 10px !important;
	}
}
@media(max-width:768px) {
	.container-fluid {
		padding: 0 5px !important;
	}
	.nk-fg-products .nk-fgp-items, .news-related-wrap .news-related-item {
		width: 50% !important;
	}
	#wpadminbar, .nk-footer-menu, #tygh_footer .wysiwyg-content, #tygh_footer .block-top-brands-2016, #tygh_footer .nk-footer-awards, #tygh_footer .nk-footer-reg-receive, #tygh_footer .hotline, #totop {
		display:none;
	}
	.tygh-content, .footer-grid, .nk_header_new_2015_outer .row-fluid, .nk-service {
		min-width: 100%!important;
	}
	.news .span11, .news .span5, .row-fluid .span11, .row-fluid .span5, .row-fluid .span16 {
		width: 100%!important;
		overflow: hidden;
	}
	.news-category .product-item-image {
		margin-right: 0;
		width: 100%!important;
	}
	.news-category .product-item-image img {
		width: 100%!important;
	}
	.product-info {
		overflow: inherit;
		padding:5px;
	}
	#tygh_footer .footer-grid {
		padding:0 10px !important;
	}
	.product-item-carousel {
		width: 50%;
	}
	.nk-footer-company {
		width: calc(100% - 15px) !important;
	}
	.section-news-top ul>li {
		width: 49% !important;
	}
	.section-news-top ul>li img {
		width: 100% !important;
	}
	.table-responsive tbody, .table-responsive tfoot, .table-responsive thead {
		display: table !important;
		font-size:small !important
	}
	.table-responsive th:nth-child(1), .table-responsive td:nth-child(1), .table-responsive thead {
		display:none !important;
	}
	.table-responsive .table th {
		white-space: normal !important;
	}
	.table-responsive .table input {
		width: 30px !important;
		padding: 0;
	}
}

@media(max-width:480px) {
	.nk-fg-products .nk-fgp-items {
		width: 50% !important;
	}
	.nk-fg-products .nk-fgp-items .nk-fgp-in-items .nk-product-name-txt {
		white-space: normal !important;
	}
	.product-main-info-nk .new-popup-tab-border .tabs ul li, #tygh_footer .footer-grid li, .product-item-carousel, .news-related-wrap .news-related-item {
		width: 100% !important;
	}
	.product-main-info-nk .top-info .span7, .product-main-info-nk .top-info .span9.product-info, .product-item-carousel {
		width: calc(100% - 20px) !important;
	}
	.product-main-info-nk .top-info .span9.product-info{
	}.product-main-info-nk .top-info .span9.product-info {
		padding:0 10px !important;
		width: calc(100%)!important;
		width: -moz-calc(100%)!important;
		width: -webkit-calc(100%)!important;
	}
	.nk-fg-products .nk-fgp-in-items {
		border: none !important;
	}
	.section-news-top ul>li, .section-news-top ul>li img, .page-template-contact .span8, .page-template-contact .span7 {
		width: 100% !important;
	}
	.news-related-wrap .news-related-item {
		width: 50% !important;
	}
	.product-main-info-nk .top-info .span9.product-info .prices-container {
		width: 100% !important;
	}
	.block_product-title {
		line-height: 1.2!important;
	}
}
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	