/*
 Theme Name:   Twenty Fourteen Child
 Theme URI:    http://example.com/twenty-fourteen-child/
 Description:  Twenty Fourteen Child Theme
 Author:       John Doe
 Author URI:   http://example.com
 Template:     twentyfourteen
 Version:      1.0.0
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  twenty-fourteen-child
*/

@import url("../twentyfourteen/style.css");

/* =Theme customization starts here
-------------------------------------------------------------- */
.entry-title {
	text-transform: none;
}
.entry-meta {
	text-transform: none;
}
.cat-links {
	text-transform: none;
}
.widget .widget-title {
	text-transform: none;
}
.post-navigation .meta-nav {
	text-transform: none;
}
.site-navigation a {
	text-transform: none;
}
.comment-reply-title, .comments-title {
	text-transform: none;
}
/* TOC */
#toc-container{
	background:#f7f8ff;
}
#toc {
	border:1px solid #EDF3DE;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border-radius:6px;
}
#toc ul{
	padding-bottom:0;
}
#toc li{
}
#toc a {
	text-decoration:none;
	color:#6C8C37;
	outline:none;
}
#toc a:hover {
	text-decoration:underline;
	color:#009193;
}
#toc strong {
	/*border-bottom:1px solid #EDF3DE;*/
	/*display:block;*/
	font-size:16px;
	padding:0 5px;
}
#toctop{
	display:block;
	margin-bottom: 5px;
}
#toccontent{
	border-top:1px solid #EDF3DE;
	padding:0 0 0 5px;
}
h2.toctitle {
	border-bottom: 1px solid #D5D6D6;
}
.viewcode{
	background: #009193;
	padding: 5px;
	color: #fff;
	border-radius: 6px;
}
.viewcode_a{
	padding-left: 5px;
	color: #fff;
}
a.viewcode_a:hover {
	text-decoration:none;
	color:#fff;
}

/* CPN */
.dealbox{
	border-bottom: 1px solid #EEEEEE;
	margin-bottom: 15px;
	padding: 0 0 5px;
}
.dealbox h4{
	font-size: 16px;
	border: 0;
    margin: 0 0 5px 0;
    color: #009AD3;
}
.dealbox a{
	color: #009AD3;
	text-decoration: none;
}
.dealbox a:hover{
	color: #009AD3;	
    text-decoration: underline;
}
.codebox{
	border-bottom: 1px solid #EEEEEE;
	margin-bottom: 15px;
	padding: 0 0 5px;
}
.codebox h4{
	font-size: 16px;
	border: 0;
    margin: 0 0 5px 0;
}
.codebox .coupon{
/*float:left;*/
    padding: 0px;;
}
.codetitle{
}
.dealtitle{
	background: url("sale.jpg") no-repeat scroll left center transparent;
    padding-left: 50px;
}
.codeinfo{
	
}
.codelabel{
	float:left;
}
.codedesc{
/*	clear: both;*/
}
.dealdesc{
	clear: both;
}
div.coupon_code
{
display:inline;
}
div.cpncode
{
cursor:pointer;
display:inline;
height:21px;
max-width:185px;
overflow:hidden;
/*float:left;*/
font-size:17px;
font-weight:bold;
color:#333333;
border:1px dashed #FAA50B;
padding:1px 26px 0 5px;
background:#FEF3DE url(scissors.png) right no-repeat;
}
div.cpncode.active{background:#33CC66 url(scissors.png) right no-repeat;
}
div a.cpncode_a{
text-decoration: none;
}
.CouponTips{
position: absolute;
font-family:arial,sans-serif;
font-size:16px;
font-weight:normal;
left: -1000px;
top: -1000px;
border: solid 1px #777;        
background-color: #FFFFdd;
color:#000;
padding: 1px;
z-index: 50;
cursor: pointer;
}
/* Separators */

.site-content span + .entry-modified-date:before {
	content: "\0020\007c\0020";
}
.sticky .entry-modified-date {
	display: none;
}

@media screen and (min-width: 401px) {
	.site-content span + .entry-modified-date:before {
		content: "";
	}

	.attachment span.entry-modified-date:before,
	.site-content .entry-modified-date a:before {
		-webkit-font-smoothing: antialiased;
		display: inline-block;
		font: normal 16px/1 Genericons;
		text-decoration: inherit;
		vertical-align: text-bottom;
	}
	.site-content .entry-modified-date a:before,
	.attachment .site-content span.entry-modified-date:before {
		content: "\f420";
		margin-right: 1px;
		position: relative;
		top: 1px;
	}
}
/* AD */
.featured-ad {
	background-color: #fff7ed;
	-webkit-box-sizing: border-box;
	-moz-box-sizing:    border-box;
	box-sizing:         border-box;
	position: relative;
	width: 100%;
    font-size: 0.7em;
	margin-bottom: 15px;
}
.featured-ad-inner {
	overflow: hidden;
}
.featured-ad .adhint {
	float: right;
	background-color: #efc439;
	border-radius: 2px;
	color: #fff;
	display: inline-block;
	padding: 0 2px;
	vertical-align: baseline;
	position: absolute;
    right: 0;
    z-index: 1;
}
.featured-ad .adbox {
	margin: 0;
	max-width: 96%;
	width: 96%;
	padding: 1%;
	border: 1px solid #fff7ed;
}
.featured-ad .adbox:nth-child( n+2 ) {
	display: none;
}
.featured-ad .adbox:hover {
	border: 1px solid #e5760b;
}
.featured-ad .adthumbnail {
	overflow: hidden;
    height: 140px;
    display: block;
    border: 0;
}
.featured-ad .adtitle {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.featured-ad .addiscount {
    color: #008a00;
    font-size: 1.1em;
    font-weight: bold;
    clear: both;
}
.featured-ad .admore {
	float: right;
	padding: 0 2% 2% 2%;
}
.featured-ad .cpncode {
    font-size: 0.9em;
    height: inherit;
}

.featured-ad .dealbutton{	
	background-color: #FAA50B;
    border-radius: 5px;
    text-align: center;
    color: #FFFFFF;
    font-weight: bold;
    text-decoration: none;
    padding: 2px 10px;
    border: 0
}
.featured-ad .dealbutton:hover{
	text-decoration: none;
	color: #FFFFFF;	
	background-color: #1f5fca;
}

/* table css */
.tdata { background: #cccccc; margin: 0 0 8px 0; border: solid #cccccc; border-width: 1px 1px 1px 0;}
.tdata tr.even td, tr.even{ background-color: #f5f5f5; border-right: 1px solid white; }
.tdata tr.odd td, tr.odd{ background-color: #ffffff; border-right: 1px solid white; }		
.tdata .rank{ font-weight: bold; font-size: 19px; text-align: center; vertical-align: middle; }
.tdata td{ background:white; vertical-align: middle; padding:9px; border-left: 1px solid #cccccc;   }				
.tdata th{ background:white; font-weight: normal; text-align: left; border: solid #cccccc; border-width:0 0 1px 1px; padding: 0 9px; }	
.tdata thead th { background: White repeat-x; font-weight: bold; }
.shortd{ color: #d00000; font-weight: bold;}

@media screen and (min-width: 310px) {
	.featured-ad .adbox {
		float: left;
		width: 47%;
	}
	.featured-ad .adbox:nth-child( 1 ) {
		clear: both;
	}
	.featured-ad .adbox:nth-child( n+2 ) {
		display: block;
	}
	.featured-ad .adbox:nth-child( n+3 ) {
		display: none;
	}
}

@media screen and (min-width: 484px) {
	.featured-ad .adbox {
		width: 30.3333333%;
	}

	.featured-ad .adbox:nth-child( 3 ) {
		clear: none;
	}

	.featured-ad .adbox:nth-child( 1 ) {
		clear: both;
	}
	.featured-ad .adbox:nth-child( n+2 ) {
		display: block;
	}
	.featured-ad .adbox:nth-child( n+4 ) {
		display: none;
	}
}