/**
 * @package     CMGroupBuying component
 * @copyright   Copyright (C) 2012-2015 CMExtension Team http://www.cmext.vn/
 * @license     http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
 */

/* Deal detail - Start */

 .clearfix:after {
	clear: both;
	content: ".";
	display: block;
	height: 0;
	visibility: hidden;
}

.clearfix {
	display: block;
}

.deal_detail_block {
	background: none repeat scroll 0 0 #E0EFFF;
	border: 1px solid #65C8DF;
	width: 100%;
}

.deal_detail .deal_name {
	line-height: 1em;
	color: #333333;
	font-family: Arial;
	font-size: 2.5em;
	font-weight: bold;
	margin: 0px 10px 5px 0px;
}

.deal_detail .deal_short_description {
	color: #949494;
	font-size: 1.5em;
	font-weight: bold;
	line-height: 1.5em;
}

.deal_detail .deal_description {
	margin-top: 50px;
}

.deal_detail .tag {
	position: relative;
	width: 100%;
}

.tag .tag_background,
.tag .tag_background_repeat {
	background-repeat: repeat-x;
	position: absolute;
	height: 100%;
	top: 0px;
	height: 80px;
	float: left
}

.tag .tag_background {
	background-image: url("../images/tag_left.png");
	width: 28px;
	left: -28px;
}

.tag .tag_background_repeat {
	background-image: url("../images/tag.png");
	width: 100%;
	left: 0px;
}


.deal_detail .button {
	position: relative;
	width: 100%;
}

.deal_detail .discount_info {
	width: 100%;
	position: relative;
	height: 50px;
	margin-top: 10px;
}

.discount_info_block {
	float: left;
	margin: 0px auto;
	text-align: center;
	width: 33.33%;
}

.discount_info_block dt {
	font-weight: normal;
}

.price_block {
	width: 100%;
}

.price_container  {
	color: white;
	font-size: 2em;
	font-weight: 700;
	text-align: center;
	height: 80px;
	position: relative;
	width: 100%;
}
.price_container .price {
	padding: 1.2em 0;
}

.price_container  .price_label {
	font-size: 16px;
	line-height: 1.5em;
	font-weight: normal;
	padding-right: 0.5em;
	top: -0.2em;
	position: relative;
}

.buy_button:hover {
	cursor: pointer;
}

.upcoming_button:hover,
.expired_button:hover,
.voided_button:hover,
.not_avail_button:hover {
	cursor: default;
}

.buy_button,
.upcoming_button,
.expired_button,
.voided_button,
.not_avail_button {
	text-align: center;
	float: left;
	width: 100%;
}

.buy_button p,
.upcoming_button p,
.expired_button p,
.voided_button p {
	color: #FFFFFF;
	font-size: 20px;
	line-height: 42px;
	margin: 0;
	text-decoration: none;
}

.not_avail_button p {
	margin: 0;
	color: #FFFFFF;
	font-size: 20px;
	line-height: 20px;
	text-decoration:none;
}

.multi_option_modal table {
	width: 100%;
}

.multi_option_modal table tr td.purchase {
	width: 80px;
	text-align: center;
}

.multi_option_modal table tr td.purchase .buy_button {
	width: 50px;
}

.multi_option_modal table tr td.status {
	width: 100px;
	text-align: center;
	color: #666;
	font-size: 15px;
}

.multi_option_modal table tr td .details div {
	display: inline;
}

.multi_option_modal table tr td .option_name {
	cursor: pointer;
	font-weight: bold;
	font-size: 15px;
	line-height: 16px;
	color: #0185C6;
	text-decoration: none;
}

.multi_option_modal table tr td .option_name:hover {
	text-decoration: underline;
}

.multi_option_modal table tr td em {
	font-weight: bold;
}

.multi_option_modal table tr td {
	border-bottom: 1px #CCC dashed;
}

.multi_option_modal .advance_details {
	float: left;
}

.deal_detail .deal_value,
.deal_detail .deal_discount,
.deal_detail .deal_save {
	color: #333333;
	font-size: 12px;
	margin-bottom: 10px;
	text-align: center;
}

.deal_detail .deal_value dd,
.deal_detail .deal_discount dd,
.deal_detail .deal_save dd {
	font-size: 14px;
	font-weight: 700;
	margin: 0;
}

.deal_detail .time_left {
	font-weight: bold;
}

.advance_payment_block .advance_payment_info {
	padding: 10px;
	text-align: center;
}

.remaining_time_block,
.coupon_code_block,
.bought_block,
.advance_payment_block {
	margin: 5px 0 0;
}

.remaining_time_block .countdown_block {
	font-size: 15px;
	font-weight: bold;
	overflow: auto;
	padding-bottom: 10px;
	text-align: center;
	width: 100%;
}

.deal_detail h3 {
	color: #007B9C;
	font-size: 20px;
	font-weight: 400;
}

.bought_block {
	text-align: center;
}

.bought_block p {
	color: #007B9C;
	margin: 10px 0;
}

.deal_on {
	font-size: 15px;
	font-weight: 700;
	text-align: center;
	color: #007B9C;
	margin: 10px 0;
}

.tip_meter {
	margin: 7px auto;
	position: relative;
	width: 90%;
}

.tip_meter .progress_bar {
	min-height: 0;
	margin: 0;
}

.tip_meter span {
	font-weight: bold;
	min-height: 1em !important;
}

.tip_meter .min_max {
	min-height: 1em !important;
}
.bought_block .need_more {
	margin-top: 10px;
	position: relative;
	text-align: center;
}

.tip_meter .min {
	float: left;
}

.tip_meter .max {
	float: right;
}

.tag form {
	margin: 0;
}

.share_buttons {
	height: 20px;
	padding-top: 10px;
	width: 100%;
	margin-bottom: 20px;
}

.share_buttons ul {
	margin: 0px !important;
	padding: 0px !important;
}

.share_buttons li {
	padding-right: 5px !important;
	float: left;
	height: 20px;
	line-height: 2em !important;
	list-style: none outside none;
	font-size: 10px;
}

.fb_iframe_widget iframe {
	vertical-align: baseline !important;
}

.custom_tweet_button {
	cursor: pointer;
	display: block;
	background: url("../images/twitter.png") no-repeat scroll left top #FFFFFF;
	height: 20px;
	width: 20px;
}

#map_canvas {
	border: 1px solid;
	width: 100%;
	height: 200px;
	position: relative;
}

.partner_address p {
	line-height: 1.5em;
	margin: 0;
}

.partner_address .address_name {
	font-weight: bold;
	margin-top: 15px;
}

.partner_address .address_name span:hover {
	cursor: pointer;
}

.partner_address p {
	margin-bottom: 0 !important;
}

/* Deal detail - End */

/* Deal list - Start */
.deal_list:hover {
	cursor: pointer;
}

.deal_list .deal_name {
	color: #333;
	font-weight: bold;
	font-size: 14px;
	line-height: 20px;
	margin-bottom: 3px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	width: 100%;
}

.deal_list .deal_photo {
	position: relative;
}

.deal_list .deal_photo img {
	float: left;
}

.deal_list .deal_list_short_description {
	color: #333;
	font-size: 15px;
	font-weight: bold;
	width: 100%;
	height: 100%;
	position: absolute;
	background-color: #FFFFFF;
	opacity: 0.9;
	display: none;
	overflow: hidden;
	text-overflow: ellipsis;
}

.deal_list .deal_list_short_description div {
	padding: 10px;
}

.deal_list .deal_price, .deal_list  .deal_original_price {
	float: right;
}

.deal_list .deal_price {
	font-weight: bold;
	color: #C00;
	height: 0px;
	margin: 0.4em 0em;
	font-size: 2em;
}

.deal_list .deal_original_price {
	text-decoration: line-through;
	margin: 0.6em 0.5em;
	color: #069;
	font-size: 1.5em;
}

.deal_list .deal_view_button {
	margin: 8px 0px 8px 0px;
	position: relative;
}

.deal_list .deal_info {
	padding: 5px;
}
/* Deal list - End */

/* Subscription form - Start */
table#subscription_table {
	width: 100%;
}

.subscription_form_error {
	color: #C00;
	padding: 0px;
}
/* Subscription form - End */

/* Category browsing - Start */
#cm_category_browsing {
	position: relative;
}

#cm_category_browsing #map {
	width: auto;
	height: 100%;
}

#cm_category_browsing .category_navigation {
	background: white;
	width: 100%;
	height: 100%;
	float: left;
}

#cm_category_browsing .category_column {
	padding: 0px 10px 0 10px;
	overflow-y: auto;
}

#cm_category_browsing ul.category_ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

#cm_category_browsing .deal_column {
	overflow-y: auto;
	padding: 0px 10px 0 10px;
	position: relative;
}

#cm_category_browsing li.category_li {
	padding: 5px 5px;
}

#cm_category_browsing li.category_li:hover {
	background-color:#f7f8f8
}

#cm_category_browsing li.selected {
	color: #0891BE;
	background-color: #E6FAFF;
}

#cm_category_browsing li.category_li:hover {
	cursor: pointer;
}

#cm_category_browsing .loading {
	width: 100%;
	height: 100%;
	background: url("../images/loading.gif") no-repeat center;
}

#cm_category_browsing .deal {
	float: left;
	margin-bottom: 10px;
	position: relative;
	width: 100%;
}

#cm_category_browsing .deal .deal_location {
	color: #4E9700;
}

 #cm_category_browsing .deal .deal_price {
	float: left;
	color: #DA1B75;
	font-weight: bold;
}

#cm_category_browsing .deal .deal_original_price {
	float: left;
	margin-left: 10px;
	color: #DA1B75;
}

#cm_category_browsing .deal .deal_discount {
	float: left;
	margin-left: 10px;
}

#cm_category_browsing .deal .deal_original_price {
	text-decoration: line-through;
}

#cm_category_browsing .deal .deal_name {
	font-size: 1.1em;
	display: block;
	font-weight: bold;
	text-decoration: none;
	color: #007B9C;
}

#cm_category_browsing .deal .deal_name:hover {
	cursor: pointer;
}

#cm_category_browsing img {
	 max-width: none;
}

table.category_browsing_map td.deal_name {
	color: #007B9C;
	font-weight: bold;
	width: 250px;
}

table.category_browsing_map td.deal_image img {
	width: 250px;
}

table.category_browsing_map td.deal_button {
	float: right;
}

/* Category browsing - End */
.page_title {
	margin-left: 10px;
}

.page_title p {
	padding:3px 0px;
	font-size: 2em;
	font-weight: bold;
}

table.cmtable {
	width: 100%;
}

#buy_for_friend_message {
	margin-bottom: 20px;
}

.free_coupon_views {
	text-align: center;
	margin: 10px;
	font-weight: bold;
}

#cart_table select {
	height: auto;
	width: auto;
}

table#cart_table select.order_quantity {
	width: auto;
}

#cart_table td.shipping_cost {
	font-style: italic;
}

#cart_table td.discount {
	background-color: #F2F2F2;
}

#cart_table td.point_instruction {
	padding: 0px 0px 0px 10px;
}

#cart_table td.total {
	font-weight: bold;
	background-color: #CCC;
}

#cart_table tr.deal td {
	border-top: 1px solid #CCC;
}

#cart_table tr.first td {
	border-top: none;
}

#cart_table tr.point td {
	border: none;
}

#cart_table th.name {
	width: 55%;
}

#cart_table th.quantity {
	width: 4%;
}

#cart_table th.price {
	width: 20%;
}

#cart_table th.remove {
	width: 1%;
}

/* Tooltip for cart - Start */
span.cmquestion {
	cursor: pointer;
	display: inline-block;
	width: 16px;
	height: 16px;
	background-color: #89A4CC;
	line-height: 16px;
	color: White;
	font-size: 13px;
	font-weight: bold;
	border-radius: 8px;
	text-align: center;
	position: relative;
}

span.cmquestion:hover {
	background-color: #3D6199;
}

div.cmtooltip {
	background-color: #3D6199;
	color: white;
	position: absolute;
	left: 22px;
	top: -8px;
	z-index: 100;
	width: 250px;
	border-radius: 5px;
	display: none;
}

div.cmtooltip:before {
	border-color: transparent #3D6199 transparent transparent;
	border-right: 6px solid #3D6199;
	border-style: solid;
	border-width: 6px 6px 6px 0px;
	content: "";
	display: block;
	height: 0;
	width: 0;
	line-height: 0;
	position: absolute;
	top: 35%;
	left: -6px;
}

div.cmtooltip p {
	margin: 10px;
	color: White;
}
/* Tooltip for cart - End */

.order_item_option_name {
	font-weight: bold;
}

.cart_payment_container {
	min-width: 200px;
}

/* Deal map - Start */

table.deal_map {
	width: 520px;
	margin-bottom: 10px;
}

table.deal_map td.left {
	vertical-align: top;
	width: 150px;
}

table.deal_map td.right {
	vertical-align: top;
	width: 350px;
}

table.deal_map .deal_name {
	font-weight: bold;
	font-size: 18px;
	color: #069;
	width: 350px;
}

table.deal_map img.deal_image {
	width: 150px;
}

table.deal_map .deal_description {
	width: 300px;
}

table.deal_map table.deal_price_info {
	text-align: center;
	width: 100%;
	margin-top: 10px;
}

table.deal_map table.deal_price_info td {
	width: 33%;
}

table.deal_map table.deal_price_info div.text {
	font-weight: bold;
	font-size: 14px;
}

table.deal_map .deal_bought {
	float: left;
	font-style: italic;
}

table.deal_map .deal_button {
	text-align: right;
	padding-right: 20px;
}

#map img {
	max-width: none;
}

/* Deal map - End */

/* Subscription form - Start */

.form-subscription {
	max-width: 300px;
	padding: 19px 29px 29px;
	margin: 0 auto 20px;
	background-color: #fff;
	border: 1px solid #e5e5e5;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.05);
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,.05);
	box-shadow: 0 1px 2px rgba(0,0,0,.05);
}

.form-subscription .form-subscription-heading,
.form-subscription .checkbox {
	margin-bottom: 10px;
}

.form-subscription .form-subscription-heading {
	text-align: center;
}

.form-subscription input {
	font-size: 16px;
	height: auto;
	margin-bottom: 0px;
	padding: 7px 9px;
}

.form-subscription-buttons {
	text-align: center;
}

.form-subscription-buttons button {
	margin-left: auto;
	margin-right: auto;
}

/* Subscription form - End */

input.tos_checkbox {
	margin: 0 10px 0 0;
}

.fb-like, .fb-like span {
	position: initial !important;
}

/* Product list */
.products .product_name {
	color: #333333;
	font-size: 16px;
	font-weight: bold;
	line-height: 20px;
	margin-bottom: 3px;
}

.products .product_deals {
	margin-top: 20px;
}

.item-list .item-name {
	font-size: 15px;
	font-weight: bold;
}

.item-list .item-description {
	float: left;
}

.item-list .price,
.item-list .original-price {
	float: right;
	margin-left: 10px;
}

.item-list .price {
	color: #CC0000;
	font-size: 20px;
	font-weight: bold;
}

.item-list .original-price {
	text-decoration: line-through;
	color: #006699;
	font-size: 15px;
}

.item-list .item-price,
.item-list .item-type {
	float: right;
	clear: both;
	font-size: 15px;
	margin-top: 10px;
}

.item-list .item-type {
	margin-bottom: 10px;
}

.price_container_hover:hover {
	cursor: pointer;
}

.categories .category {
	margin-bottom: 20px;
}

.category-all {
	text-align: right;
}

.deal-carousel {
	margin: 0px 50px;
}

.deal-carousel .thumbnail {
	background-color: #fff;
}

.carousel-description {


	margin: 5px;



	font-weight: bold;
}

.owl-nav div {
	position: absolute;
}

.owl-nav .owl-prev,
.owl-nav .owl-next {
	color: #FFF;
	display: inline-block;
	zoom: 1;
	*display: inline;/*IE7 life-saver */
	font-size: 12px;
	-webkit-border-radius: 30px;
	-moz-border-radius: 30px;
	border-radius: 30px;
	background: #869791;
	filter: Alpha(Opacity=50);/*IE7 fix*/
	opacity: 0.5;
	top: 45%;
}

@media(max-width: 768px) {
	.deal-carousel {
		margin: 0;
	}
}

.owl-nav .owl-prev {
	left: -45px;
	padding: 10px 15px 10px 13px;
}


.owl-nav .owl-next {
	right: -45px;
	padding: 10px 13px 10px 15px;
}

.loading {
	clear: both;
}

.carousel-title {
	color: #333;
	font-size: 18px;
	height: 60px;
	line-height: 22px;
	margin: 0 0 6px;

	padding: 12px 16px 0;


}

.carousel-locations {
    padding: 0 16px;
}

.carousel-prices {
    color: #53a318;
    height: 60px;
    margin-top: 16px;
    display: table;
    width: 100%;
}

.carousel-price-container {
    padding: 0 16px 6px;
    text-align: right;
}

.carousel-original-price {
    color: #888;
    font-size: 14px;
    text-decoration: line-through;
}

.carousel-price {
    color: #53a318;
}

.single-offer .slider-thumbs {
    margin-bottom: 2rem
}

.single-offer .owl-nav div {
    position: absolute;
    top: 50%;
    left: -18px;
    padding: 6px;
    width: 35px;
    height: 35px;
    background-color: #fff;
    border-radius: 50%;
    text-align: center;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%)
}

.single-offer .owl-nav div.owl-next {
    left: auto;
    right: -18px
}

.single-offer .owl-nav div i {
    font-size: 31px;
    color: #777
}

.single-offer .deal-img-slider {
	margin-bottom: 10px;
}

.single-offer .white-block .white-block-content {
    padding: 2rem;
    background-color: #fff;
}

.single-offer .white-block .white-block-content p {
    margin-bottom: 0.8rem;
    font-size: 16px;
    font-size: 1rem;
    line-height: 1.9;
}

.single-offer .quantity {
    font-size: 14px;
    font-size: 0.875rem;
}

.single-offer .quantity:before {
    display: table;
    content: " ";
}

.single-offer .quantity .pull-right i {
    margin-right: 0.1rem;
    color: #919191;
}

.single-offer .deal-single-price .price {
	display: flex;
	margin: 0;
	color: #ff5722;
    flex-flow: row nowrap;
    align-items: baseline;
    font-size: 32px;
    font-size: 2rem;
    font-weight: 700;
}

.single-offer .deal-single-price .price span {
    margin-left: 0.5rem;
    font-size: 16px;
    font-size: 1rem;
    font-weight: 400;
    text-decoration: line-through;
    color: #777;
}

.single-offer .deal-single-add-to-cart {
    margin: 1rem 0 0;
}

.single-offer .deal-single-add-to-cart .btn,
.single-offer  .coupon-button .btn {
    font-size: 24px;
    font-size: 1.5rem;
    font-weight: 700;
}

.single-offer h5 {
    font-size: 16px;
    font-weight: 600;
    color: #4a4a4a;
    line-height: 1.5;
    margin-top: 10px;
    margin-bottom: 10px;
}

.single-offer .groupon-info h5 a {
    color: #ff5722;
}

ul.deal-single-value {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.single-offer .deal-single-value {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}

ul.deal-single-value li {
    margin: 7px 0;
    font-size: 14px;
    font-size: 0.875rem;
}

.single-offer .deal-single-value li {
    font-weight: 600;
    color: #4a4a4a;
}

.single-offer ul.deal-single-value li p {
    margin-bottom: 5px;
    font-size: 13px;
    font-size: 0.8125rem;
    font-weight: 400;
    color: #a7a7a7;
}

.single-offer .countdown {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0;
    padding: 1rem;
    background-color: #f3f3f3;
    font-size: 16px;
}

.single-offer .countdown i {
    align-self: flex-end;
    margin-right: 10px;
    font-size: 23px;
    color: #777;
}


.single-offer .deal-in-short {
    margin-bottom: 1rem;
}

.single-offer .deal-in-short h5 {
    font-size: 16px;
    font-weight: 600;
    color: #4a4a4a;
}

.store-social-networks {
    display: flex;
}

.store-social-networks li {
    margin: 0;
    line-height: 1.42857;
}

.store-social-networks li {
    margin: 0;
    line-height: 1.42857;
}

.store-social-networks li a {
    font-size: 32px;
    font-size: 2rem;
}

.store-social-networks a i {
    width: 28px;
}

.store-social-networks a i[class*='facebook'] {
    color: #3b5998;
}

.store-social-networks a i[class*='twitter'] {
    color: #00aced;
}

.store-social-networks a i[class*='google'] {
    color: #dd4b39;
}

.single-offer .shop {
    display: flex;
    align-items: center;
    margin-top: 1rem;
}

.single-offer .shop a img {
    max-width: 90px;
}

.list-inline>li {
    display: inline-block;
    padding-right: 5px;
    padding-left: 5px;
}

#dealList {
	position: relative;
}

#dealListLoading {
    position:absolute;
    background-color: #ddd;
    width: 100%;
    height: 100%;
    top: 0;
    opacity: 0.1;
}

#dealListLoading img {
    position: absolute;
    left: 50%;
    top: 5%;
}

.deal-single-value {
	text-align: center;
}