/*
	Name: Smashing HTML5
	Date: July 2009
	Description: Sample layout for HTML5 and CSS3 goodness.
	Version: 1.0
	Author: Enrique Ramírez
	Autor URI: http://enrique-ramirez.com
*/

/* Imports */
@import url("reset.css");
@import url("global-forms.css");

/***** Global *****/
/* Body */
body {
	background: #000 url('../images/bg1.jpg') repeat center center;
	/*background: lightblue;*/
	color: #000305;
	font-size: 87.5%; /* Base font size: 14px */
	font-family: 'Helvetica Neue', 'Helvetica', Trebuchet, 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
	line-height: 1.429;
	margin: 0;
	padding: 0;
	text-align: left;
}

/* Headings */
h2 {font-size: 1.571em}	/* 22px */
h3 {font-size: 1.429em}	/* 20px */
h4 {font-size: 1.286em}	/* 18px */
h5 {font-size: 1.143em}	/* 16px */
h6 {font-size: 1em}		/* 14px */

h2, h3, h4, h5, h6 {
	font-weight: 400;
	line-height: 1.1;
	margin-bottom: .8em;
}
	
/* Anchors */
a {outline: 0;}
a img {border: 0px; text-decoration: none;}
a:link, a:visited {
	color: #C74350;
	padding: 0 1px;
	text-decoration: underline;
}
a:hover, a:active {
	/*background-color: #C74350;*/
	color: #fff;
	text-decoration: none;
	/*text-shadow: 1px 1px 1px #333;*/
}
	
/* Paragraphs */
p {margin-bottom: 1.143em;}
* p:last-child {margin-bottom: 0;}

strong, b {font-weight: bold;}
em, i {font-style: italic;}

::-moz-selection {background: #F6CF74; color: #fff;}
::selection {background: #F6CF74; color: #fff;}

/* Lists */
ul {
	list-style: outside disc;
	margin: 1em 0 1.5em 1.5em;
}

ol {
	list-style: outside decimal;
	margin: 1em 0 1.5em 1.5em;
}

dl {margin: 0 0 1.5em 0;}
dt {font-weight: bold;}
dd {margin-left: 1.5em;}

/* Quotes */
blockquote {font-style: italic;}
cite {}

q {}

/* Tables */
table {margin: .5em auto 1.5em auto; width: 98%;}
	
	/* Thead */
	thead th {padding: .5em .4em; text-align: left;}
	thead td {}

	/* Tbody */
	tbody td {padding: .5em .4em;}
	tbody th {}
	
	tbody .alt td {}
	tbody .alt th {}
	
	/* Tfoot */
	tfoot th {}
	tfoot td {}


/* Custom
*********/
.c-red {
	color:#d21a3f;
}
.hide {
	display:none;
}

/* HTML5 tags */
header, section, footer,
aside, nav, article, figure {
	display: block;
}

/***** Layout *****/
.body {clear: both; margin: 0 auto}
img.right, figure.right {float: right; margin: 0 0 2em 2em;}
img.left, figure.left {float: left; margin: 0 0 2em 2em;}

/* Wrapper
*****************/
#wrapper {
	width:680px;
	margin:0 auto;
	position:relative;
}
#shadow {
	position:absolute;
	top:0;
	left:0;
	background: #000;
	opacity:0.5;
}
/*
	Header
*****************/
header#top {
	font-size:14px;
	width:680px;
	height:31px;
	color:white;
	background:#ea2b58  url('../images/bg_top.png');
/*	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
*/	position:relative;
	margin-bottom:77px;
}
header#top #panel {
	font-size:14px;
	top: -1px;
	right: 0px;
	position:absolute;
}
header#top a{
	color:white;
	text-decoration:none;
	/*border-bottom:1px dotted white;*/
}
header#top .text{
	text-shadow: 1px 0px 3px #555;
	font-weight:bold;
	height: 31px;
	padding:0;
}
header#top .text .big{
	font-size:19px;
	position:absolute;
	top:1px;
	left:10px;
}
header#top .text .normal {
	position:absolute;
	top: 5px;
	left: 35px;
	border:none;
}
header#top .text a {
	text-decoration:none;
}
header#top nav.social_login a{
	border-bottom: none;
}
header hgroup {
	padding:5px;
}
header input {
}
header nav.social_login {
	background:#fff;
	height:20px;
	padding:3px 3px 1px 3px;
	margin-top:3px;
	/*right:310px;
		width:20px;*/
	right:300px;
	top:2px;
	border-bottom: none;
	position:absolute;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}
header nav.social_login ul li {
	display:inline;
}
header#top .links a {
	text-decoration:none;
	border:0px;
}
header#top .links {
	position:absolute;
	width:300px;
	top: 0px;
	right:-96px;
	height:31px;
}
header#top .links ul{
	text-align:center;
	/*position: relative;
		top:-4px;
		text-align:center;*/
}
header#top .links ul li{
	margin-top:5px;
	float:left;
	width:102px;
	height:31px;
	background: url('../images/top_link_bg.png') no-repeat 0 -5px;
}

article{
	overflow: none;
	padding: 20px;
	margin-top:-2px;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	position:relative;
	min-height: 310px;
	color:black;
	background: #f1f1f1;
	padding-bottom: 20px;
	font-size:14px;
}
article h2 {
	font-size:21px;
	color:#f02c50;
	font-weight:bold;
}
article h3 a {
	font-size:16px;
	color:#f02c50;
}
#private article section {
	
}
.box article{
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	padding: 30px;
	margin-bottom:30px;
}
.box .useravatar {
	width:200px;
	max-height:200px;
	overflow:hidden;
	float:right;
}
.box .bio {
	font-size:16px;
	width:49%;
	padding:0;
	margin:0;
}

.box .bio tr td:first-child {
	
}
.box h3.back {
	float:right;
}
#login_box {
	position:absolute;
	z-index:2;
}
#close_login_box {
	position:absolute;
	top:10px;
	right:10px;
}
#user_coupons {
	margin-top:40px;
}

table.coupons,table.coupons tr,table.coupons td, table.coupons th  {
	font-size:14px;
	padding:0;
	margin:0;
}
table.coupons {
	margin-top: 0px;
}
table.coupons .date{
	width:100px;
}
table.coupons .text{
	color:#f02c50;
	width:350px;
}
table.coupons .text2{
	width:250px;
}
table.coupons .sun{

}
table.coupons .number {
	font-size:14px;
	color:#9b9b9b;
}
table.coupons div.coupon{
	height:27px;
	background:#e7e7e7;
	padding:10px 10px 0px 10px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	margin:5px 0;
}
table.coupons div.coupon .action {
	float:right;
}
input.save.button {
	margin-top:30px;
}

#buy_coupon .text {
	width:49%;
}
#buy_coupon .text a {
	font-size:18px;
	color:#f02c50;
	text-decoration:underline;
}
#buy_coupon .table_price {
	float:right;
	width:49%;
}
#buy_coupon table.coupons th {
	font-weight:normal;
}
#buy_coupon table.coupons tr.info td {
	font-size:21px;
	font-weight:bold;
}
#buy_coupon input.number {
	text-align:center;
}
#buy_coupon .info a {
	position:relative;
	text-decoration:none;
}
#buy_coupon .number {
	
}
#buy_coupon hr {
	background: #dadada url('../images/bg_hr.png') repeat-x;
	border:0;
	height:2px;
	margin-top: 30px;
}
#buy_coupon .pay{
	padding:0;
	margin:0;
	
}
#buy_coupon .pay li {
	float:left;
	width:120px;
	text-align:center;
}
/*
	SINGIN
*/
section.signin, section.regin {
	width:49%;
	font-size:16px;
}
section.signin {
	margin-left:30px;
	padding-left:30px;
	border-left:1px solid #c1c1c1;
	float:right;
}
section.regin input, section.regin select, section.signin input, section.signin select{
	margin:10px 0;
	padding:5px;
	width: 80%;
}
section.regin select {
	padding:0;
}
section.regin input.agree {
	width:10px;
	padding:10px;
}
section.signin #enter_to_site {
	width:133px;
}
section.signin .action {
	margin-top:-10px;
}
section.signin .lostpass {
	position:relative;
	top:-10px;
	font-size:13px;
}
section.regin .agree {
	padding:5px 0;
	font-size:13px;
}
section.regin .agree input {
	float:left;
	margin:3px 10px 0 0;
	line-height: 10px;
}
section.signin h2{
	font-size:19px;
}
section.signin .hr {
	border-bottom:1px solid #c1c1c1;
	background:none;
	margin:20px 0;
}
section.signin .social {
	
}
section.signin .social ul{
	padding:0;
	margin:0 auto;
	list-style: none;
	text-align:center;
	height:31px;
	width:115px;
}
section.signin .social ul li {
	float:left;
	margin-left:5px;
}
/*	Coupons
*****************/
#coupons {
	margin: 85px auto;
	position:relative;
	margin-bottom: 2em;
	width:680px;
}
#coupons .tabs {
	position:absolute;
/*	top:5px;*/
	font-size:18px;
	color:white;
	height: 43px;
	top:-33px;
	/*background: #cd1b37;*/

	-moz-border-radius-topright: 10px;
	-moz-border-radius-topleft: 10px;
	
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	/*margin-left: 15px;*/
}
#coupons .tabs li {
	/*padding: 10px 10px 8px 10px;
		margin:-4px 0 0 0;*/
	position:relative;
	padding-right: 15px;
	border: 0px solid white;
	width:165px;
	background: #cd1b37;
	float:left;
	height:100%;
	padding-left:21px;
	padding-top:2px;
	-moz-border-radius-topright: 10px;
	border-top-right-radius: 10px;
}
#coupons .tabs li:first-child {
	padding-right: 0px;
	-moz-border-radius-topleft: 10px;
	border-top-left-radius: 10px;
	-moz-border-radius-topright: 0px;
	border-top-right-radius: 0px;
	/*padding: 10px 10px 8px 10px;
		margin:-4px 0 0 10px;
		float:left;*/
}
#coupons .tabs li:last-child {
	left:-1px;
}
#coupons .tabs li.active {
	position: relative;
	bottom:5px;
	background:#f1f1f1;
	padding-top:7px;
		
	-moz-border-radius-topright: 10px;
	-moz-border-radius-topleft: 10px;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	/*color:#b10023;
		height:32px;
		text-align:center;
		z-index:1;
		background:#f1f1f1;
		padding: 10px 10px 8px 10px;
		margin:-4px 0 0 0;
		
		-moz-border-radius-topright: 10px;
		-moz-border-radius-topleft: 10px;
		
		border-top-left-radius: 10px;
		border-top-right-radius: 10px;*/
}
#coupons .tabs li.active:first-child {
	/*color:#b10023;
		height:32px;
		text-align:center;
		z-index:1;
		background:#f1f1f1;
		padding: 10px 20px 10px 20px;
		margin:-4px 0 0 0px;*/
}
#coupons .tabs li a {
	color:#fff;
	text-decoration:none;
}
#coupons .tabs li.active a{
	color:#b10023;
}

#content {
	padding:0 5px;
	position:relative;
	margin-left:-5px;
}

#content .tabs {
	position:relative;
	top:5px;
	font-size:14px;
	color:white;
	height:30px;
	background: #cd1b37;

	-moz-border-radius-topright: 10px;
	-moz-border-radius-topleft: 10px;
	
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	/*margin-left: 15px;*/
}
#content .tabs li a {
	color:#fff;
	text-decoration:none;
}
#content .tabs li.active a{
	color:#b10023;
}
#content .tabs li {
	margin:0 0 0 20px;
	float:left;
}
#content .tabs li.active {
	
	color:#b10023;
	text-align:center;
	z-index:1;
	background:#f1f1f1;
	padding: 9px 15px 9px 15px;
	margin:-9px 0 0 15px;
	
	-moz-border-radius-topright: 10px;
	-moz-border-radius-topleft: 10px;
	
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}
#content .tabs li.active:first-child {
	margin-left:0;
	padding-bottom:11px;
	
}
/*#coupons nav ul.tabs{
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}
#coupons nav ul.tabs li{
	background: #f1f1f1;
}

#coupons nav ul.tabs li.active {
}
#coupons nav ul.tabs li.active a:hover, #coupons nav ul.tabs li.active a:active {
	text-decoration: none;
}
#coupons nav ul.tabs li a {
	color:white;
	text-decoration:none;
}
#coupons nav ul.tabs li.active a {
	color:#ea2b58;
}*/
#coupons section {
	min-height: 100px;
}
#coupons section header{
	float:right;
	top:0px;
}
#coupons section {
	display:none;
}
#coupons section.current{
	display: block;
}

#coupons #price {
	position:absolute;
	left:-35px;
	width:247px;
	height:75px;
	text-align:center;
}

#coupons #price .sum {
	position: absolute;
	left:55px;
	color:#fff;
	top:0px;
	font-size:21px;
	font-weight:bold;
}
#coupons #price .sum span {
	font-size:42px;
}

.buy {
	position:absolute;
	right: -10px;
	bottom: -15px;
	text-align:center;
}

.buy.button a {
	display:block;
	width:183px;
	height:46px;
}
#content .buy {
	bottom: 40px;
	right: 30px;
	position:absolute;
	text-align:center;
}
.buy span{
	position: absolute;
	/*
		left:50px;
		color:#fff;
		top:4px;
		font-size: 25px;
		font-weight:bold;*/
}

/*
	Body
*****************/
.body {
	background: #cd1b37;
	color:white;
	margin-bottom: 2em;

	width:680px;
	color:white;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}

/*#content ul.tabs{
	padding:0;
	margin:0;
	background:#ea2b58;
	height:30px;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}
#content ul.tabs li a {
	color: white;
	text-decoration:none;
}
#content ul.tabs li {
	color: white;
	padding:12px 10px 7px 10px;
	top: 5px;
	margin-left:20px;
	position:relative;
	display:inline;
	-moz-border-radius-topright: 10px;
	-moz-border-radius-topleft: 10px;
	
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}
#content ul.tabs li:first-child {

}
#content ul.tabs li.active {
	color:black;
	background: #f1f1f1;	
}
#content ul.tabs li.active a {
	color:black;
}


#coupons ul.tabs {
	padding:0;
	margin:0;
}

*/
#content article {
	padding-bottom:30px;
	position:relative;
	left:0px;
}

#content article #terms {
	width:49%;
	float:right;
}
#content article #features {
	width:49%;
}

#coupons article h2 {
	color:#000;
	width: 450px;
	line-height: 32px;
	font-size:21px;
}
#coupons.body {
	padding:0;
}
#coupons .info {
	width:180px;
	position:absolute;
	top:179px;
}
#coupons .info table  {
	padding:0;
	margin:0;
}
#coupons .info table tbody td {
	padding: 5px 0;
}
#coupons .info table td:first-child {
	color:#787878;
}
#coupons .info table td.cond {
	color:#d21a3f;
}
#coupons .social {
	font-size:10px;
	float:right;
	width:180px;
	margin-top:-10px;
}

#coupons .social div {
	
}
#coupons .social div.timer {
	position:relative;
	left: 28px;
/*	right:0px;*/
	width:150px;
	text-align:right;
}
#yandex_share {
	position:relative;
	right:-22px;
	/*margin-left:125px;
		margin-top:-5px;
		padding-bottom:5px;
		height:10px;*/
}
#coupons .social .b-share__text {
	color:#000;
	position:relative;
	top: 3px;
	font-size: 11px;
}
#coupons .social div.timer strong {
	font-size:14px;
}
#coupons .social div.time {
	color:#d42749;
	font-size:14px;
	font-weight:bold;;
}

#coupons .social ul {
	padding:0;
	margin:0;
	list-style:none;
	margin-left:10px;
}
#coupons .social ul li {
	float:left;
}
/*
	Extras
*****************/
#extras {margin: 0 auto 3em auto; overflow: hidden;}

#extras ul {list-style: none; margin: 0;}
#extras li {border-bottom: 1px solid #fff;}
#extras h2 {
	color: #C74350;
	font-size: 1.429em;
	margin-bottom: .25em;
	padding: 0 3px;
}

#extras a:link, #extras a:visited {
	color: #444;
	display: block;
	border-bottom: 1px solid #F4E3E3;
	text-decoration: none;
	padding: .3em .25em;
}

#extras li:last-child,
#extras li:last-child a {border: 0}

#extras .blogroll li:nth-last-child(2),
#extras .blogroll li:nth-last-child(3),
#extras .blogroll li:nth-last-child(2) a,
#extras .blogroll li:nth-last-child(3) a {border: 0;}

#extras a:hover, #extras a:active {color: #fff;}

	/* Blogroll */
	#extras .blogroll {
		float: left;
		width: 615px;
	}
	
	#extras .blogroll li {float: left; margin: 0 20px 0 0; width: 185px;}
	
	/* Social */
	#extras .social {
		float: right;
		width: 175px;
	}
	
	#extras div[class='social'] a {
		background-repeat: no-repeat;
		background-position: 3px 6px;
		padding-left: 25px;
	}
	
		/* Icons */
/*		.social a[href*='delicious.com'] {background-image: url('../images/icons/delicious.png');}
		.social a[href*='digg.com'] {background-image: url('../images/icons/digg.png');}
		.social a[href*='facebook.com'] {background-image: url('../images/icons/facebook.png');}
		.social a[href*='last.fm'], .social a[href*='lastfm.'] {background-image: url('../images/icons/lastfm.png');}
		.social a[href*='/feed/'] {background-image: url('../images/icons/rss.png');}
		.social a[href*='twitter.com'] {background-image: url('../images/icons/twitter.png');}*/

/*
	About
*****************/
#contentinfo a {
	color:#fff;
}
#contentinfo {
		width: 680px;
		padding: 5px;
		text-align: right;
		color:#000;
		border-radius: 10px;
		-moz-border-radius: 10px;
		-webkit-border-radius: 10px;
		
		color:white;
}
#about {
	
}
#company {
	width:49%;
}
#adress_phones {
	width:49%;
	float:right;
}

/*#about .primary {float: left; width: 170px;}
#about .primary strong {color: #C64350; display: block; font-size: 1.286em;}
#about .photo {float: left; margin: 5px 20px;}

#about .url:link, #about .url:visited {text-decoration: none;}

#about .bio {float: right; width: 300px;}*/

/*
	Footer
*****************/
/*#contentinfo {padding-bottom: 2em; text-align: right;}*/

/***** Sections *****/
footer { 
	display:none;
}
/* Blog */
.hentry {
	border-bottom: 1px solid #eee;
	padding: 1.5em 0;
}
li:last-child .hentry, #content > .hentry {border: 0; margin: 0;}
#content > .hentry {padding: 1em 0;}

.entry-title {font-size: 1.429em; margin-bottom: 0;}
.entry-title a:link, .entry-title a:visited {text-decoration: none;}

.hentry .post-info * {font-style: normal;}

	/* Content */
	.hentry footer {margin-bottom: 2em;}
	.hentry footer address {display: inline;}
	#posts-list footer address {display: block;}

	/* Blog Index */
	#posts-list {list-style: none; margin: 0;}
	#posts-list .hentry {padding-left: 200px; position: relative;}
	#posts-list .hentry:hover {
		background: #C64350;
		color: #fff;
	}
	#posts-list .hentry:hover a:link, #posts-list .hentry:hover a:visited {
		color: #F6CF74;
		/*text-shadow: 1px 1px 1px #333;*/
	}
	
	#posts-list footer {
		left: 10px;
		position: absolute;
		top: 1.5em;
		width: 190px;
	}
	
	/* About the Author */
	#about-author {
		background: #f9f9f9;
		clear: both;
		font-style: normal;
		margin: 2em 0;
		padding: 10px 20px 15px 20px;
		
		border-radius: 5px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
	}
	
	#about-author strong {
		color: #C64350;
		clear: both;
		display: block;
		font-size: 1.429em;
	}
	
	#about-author .photo {border: 1px solid #ddd; float: left; margin: 5px 1em 0 0;}
	
	/* Comments */
	#comments-list {list-style: none; margin: 0 1em;}
	#comments-list blockquote {
		background: #f8f8f8;
		clear: both;
		font-style: normal;
		margin: 0;
		padding: 15px 20px;
		
		border-radius: 5px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
	}
	#comments-list footer {color: #888; padding: .5em 1em 0 0; text-align: right;}
	
	#comments-list li:nth-child(2n) blockquote {background: #F5f5f5;}
	
	/* Add a Comment */
	#add-comment label {clear: left; float: left; text-align: left; width: 150px;}
	#add-comment input[type='text'],
	#add-comment input[type='email'],
	#add-comment input[type='url'] {float: left; width: 200px;}
	
	#add-comment textarea {float: left; height: 150px; width: 495px;}
	
	#add-comment p.req {clear: both; margin: 0 .5em 1em 0; text-align: right;}
	
	#add-comment input[type='submit'] {float: right; margin: 0 .5em;}
	#add-comment * {margin-bottom: .5em;}
	
  /* Forms */
  form.signin_form input[type='text'] { width: 80px; border: 1px solid gray;}
  form.signin_form input[type='password'] { width: 80px; border: 1px solid gray;}

  /* Coupons table */
  table.coupons tr th { text-align: center; }
  table.coupons tr td.center { text-align: center; }

