/*-----------------------------------------------------------------------------------

	Template Name: Hanbai
	Template URI: http://themes.tanpopo.co/hanbai
	Description: A theme for selling domains.
	Author: Tanpopo
	Author URI: http://tanpopo.co
	Version: 1.0

-------------------------------------------------------------------------------------

	Summary:

	1. General Style
	2. Highlight Colors
	3. Frontend Style

-----------------------------------------------------------------------------------*/


/* 1. General Style */

body {
	font-family: 'Open Sans', sans-serif;
	line-height: 1.5em;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 600;
	text-rendering: auto;
}

h1 {
	font-size: 22px;
	line-height: 33px;
}

h2 {
	font-size: 20px;
	line-height: 30px;
}

h3 {
	font-size: 18px;
	line-height: 27px;
}

h4 {
	font-size: 16px;
	line-height: 24px;
}

h5, h6 {
	font-size: 14px;
	line-height: 21px;
}

a {
	-webkit-transition: color .2s ease;
	-moz-transition: color .2s ease;
	-o-transition: color .2s ease;
	transition: color .2s ease;	
}

a:hover {
	text-decoration: underline;
}

strong {
	font-weight: 600;
}


/* 2. Highlight Colors */

.blue .btn {
	background-color: #04AEE4;
	color: #fff;
}

.blue .btn:hover,
.blue .btn:focus,
.blue .btn:active,
.blue .btn.active {
	background-color: #17a0cd;
	color: #fff;	
}

.orange .btn {
	background-color: #ff8800;
	color: #fff;
}

.orange .btn:hover,
.orange .btn:focus,
.orange .btn:active,
.orange .btn.active {
	background-color: #e57a00;
	color: #fff;	
}

.red .btn {
	background-color: #e14e0c;
	color: #fff;
}

.red .btn:hover,
.red .btn:focus,
.red .btn:active,
.red .btn.active {
	background-color: #c7460a;
	color: #fff;	
}

.green .btn {
	background-color: #84BD3C;
	color: #fff;
}

.green .btn:hover,
.green .btn:focus,
.green .btn:active,
.green .btn.active {
	background-color: #71a334;
	color: #fff;	
}

.blue a,
.blue a:hover,
.blue #features div > h4,
.blue #description div > h4 {
	color: #04aee4;	
}

.orange a,
.orange a:hover,
.orange #features div > h4,
.orange #description div > h4 {
	color: #ff8800;	
}

.red a,
.red a:hover,
.red #features div > h4,
.red #description div > h4 {
	color: #e14e0c;	
}

.green a,
.green a:hover,
.green #features div > h4,
.green #description div > h4 {
	color: #84BD3C;	
}


/* 3. Frontend Style */

#main {
	margin-bottom: 60px;
	padding: 0 30px;
}

header {
	margin-right: -30px;
	margin-left: -30px;
	padding: 20px 30px;
	background-color: #2D3541;
	color: #fff;
	line-height: 50px;	
}

header h1 {	
	float: left;
	margin: 0;
	font-size: 26px;
}

.powered {
	float: right;
	line-height: 38px;
}

.registrar-logo {
	margin-left: 10px;
	height: 30px;
}

.showcase-img {
	margin-right: -30px;
	margin-bottom: 30px;
	margin-left: -30px;
}

.showcase-img > figure {
	position: relative;
	margin: 0;
	height: 200px;
	background-position: center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;	
	background-repeat: no-repeat;
}

.showcase-img > figure > .caption {
	display: none;	
	position: absolute;
	margin-right: 20px;
	margin-left: 20px;
	padding: 15px 20px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	color: #fff;
	font-size: 20px;
	line-height: 24px;
}

.showcase-img > figure > .caption.available {
	background-color: rgba(132,189,60,0.9);
}

.showcase-img > figure > .caption.unavailable {
	background-color: rgba(255,80,73,0.9);
}

.no-rgba .showcase-img > figure > .caption.available {
	background-color: #84bd3c; /* Old IE modernizr fix */
}	

.no-rgba .showcase-img > figure > .caption.unavailable {
	background-color: #ff5049; /* Old IE modernizr fix */
}

#status {
	margin-right: -30px;
	margin-bottom: 30px;
	margin-left: -30px;
	color: #fff;
	font-size: 14px;	
}

#status p {
	margin: 0;
	padding: 10px 30px;
}

#status.available {
	background-color: #84BD3C;
}

#status.unavailable {
	background-color: #FF5049;
}

#description {
	margin-bottom: 30px;
	padding-bottom: 30px;
	border-bottom: 1px solid #E3E4E5;
}

article .btn {
	margin-top: 10px;
}

.title > h2, .title > h3 {
	font-size: 20px;
	line-height: 30px;
}

#features {
	margin-bottom: 30px;
}

.feature-icon {
	display: block;
	margin-bottom: 10px;
	color: #c6c8cc;
	font-size: 32px;
	line-height: 48px;
}

#features div > h4,
#description div > h4  {
	margin: 0 0 4px 0;
	color: #04AEE4;
	text-transform: uppercase;
	font-size: 12px;
}

#features article > p {
	margin-bottom: 20px;
}

#stats {
	padding: 20px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	-webkit-box-shadow: 0 0 0 1px #e3e4e5;
	-moz-box-shadow: 0 0 0 1px #e3e4e5;
	box-shadow: 0 0 0 1px #e3e4e5;			
}

.no-boxshadow #stats {
	border: 1px solid #e3e4e5; /* Old IE modernizr fix */
}

#stats ul li {
	display: inline-block;
	margin-right: 30px;
}

#stats ul li:before {
	margin-right: 10px;
	color: #c6c8cc;
	content: "\f058";
	font-size: 16px;
	font-family: FontAwesome;
	-webkit-font-smoothing: antialiased;	
}

aside {
	overflow: auto;
	background-color: #f0f1f3;
}

.inner-sidebar {
	padding: 30px 30px 0 30px;
}

.buy-box {
	margin-bottom: 30px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	background-color: #fff;
	-webkit-box-shadow: 0 0 0 1px #e3e4e5;
	-moz-box-shadow: 0 0 0 1px #e3e4e5;
	box-shadow: 0 0 0 1px #e3e4e5;			
}

.buy-box a {
	display: block;
	padding: 20px;
	color: #333;	
}

.buy-box a:hover, .buy-box a:focus {
	text-decoration: none;	
}

.buy-box p {
	margin: 0;
	font-weight: 600;
	font-size: 16px;
}

.buy-box span {
	width: 35px;
	height: 22px;
}

.buy-box span.paypal-icon {
	background: url("../img/paypal.png");
}

#contact h4 {
	margin: 0 0 4px 0;
	text-transform: uppercase;
	font-size: 12px;
}

.hmargin {
	margin-bottom: 20px;
}

#contact input[type="text"], #contact textarea {
	padding: 10px;
}

#contact .input-block-level {
	min-height: 40px;
	min-height: 20px \9;
	line-height: 20px \9;	
}

#contact label {
	float: left;
	margin-bottom: 10px;
	font-size: 12px;
	line-height: 40px;
}

#contact .input-mini {
	width: 30px;
}

.btn {
	margin-bottom: 4px;
	padding: 10px 20px;
	border: none;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	background: #f0f1f3;	
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	color: #424b58;
	text-decoration: none;
	text-transform: uppercase;
	text-shadow: none;
	font-weight: 600;
	font-size: 10px;			
}

.btn:hover,
.btn:focus,
.btn:active,
.btn.active {
	background-color: #e1e2e5;	
}

.btn:hover {
	-webkit-transition: background-color .25s ease;
	-moz-transition: background-color .25s ease;
	-o-transition: background-color .25s ease;
	transition: background-color .25s ease;		
}

.btn-default {
	background-color: #3C4450;
	color: #fff;
}

.btn-default:hover,
.btn-default:focus,
.btn-default:active,
.btn-default.active {
	background-color: #2D3541;
	color: #fff;	
}

.notes {
	font-size: 12px;
}

footer {
	padding: 0 30px;
	text-transform: uppercase;
	font-size: 10px;
}

#related-domains h5 {
	margin-bottom: 6px;
	font-size: 12px;
}

#related-domains ul li, .social ul li, .lang ul li  {
	display: inline-block;
}

#related-domains ul li {
	margin-right: 20px;
	font-weight: 600;
}

.related a {
	color: #999;	
}

.related a:hover {
	color: #999;	
	text-decoration: underline;		
}

#bottom-footer {
	padding: 20px 0;
	border-top: 1px solid #e3e4e5;
}

#footer-info {
	float: left;
}

.copyright {
	padding-right: 15px;
}

.lang, .lang ul {
	display: inline-block;
}

.lang ul li {
	padding-right: 4px;
}

.social {
	float: right;
}

.social ul {
	margin-bottom: 0;
}

.social ul li {
	margin-left: 10px;
	font-size: 24px;
}

.social a {
	color: #c6c8cc;
}

.social a:hover {
	text-decoration: none;
}

.social .facebook a:hover {
	color: #3b5998;
}

.social .gplus a:hover {
	color: #db4a39;
}

.social .linkedin a:hover {
	color: #0e76a8;
}

.social .rss a:hover {
	color: #ee802f;
}

.social .skype a:hover {
	color: #00aff0;
}

.social .tumblr a:hover {
	color: #34526f;
}

.social .twitter a:hover {
	color: #00acee;
}

@media (min-width: 768px) and (max-width: 979px) {
	#main, footer {
		margin-right: 300px;
	}

	aside {
		position: fixed;
		top: 0;
		right: 0;
		width: 300px;
		height: 100%;		
	}

	.buy-box p {
		font-size: 14px;
	}
}

@media (min-width: 980px) {
	#main, footer {
		margin-right: 350px;
	}

	aside {
		position: fixed;
		top: 0;
		right: 0;
		width: 350px;
		height: 100%;	
	}
}

@media (max-width: 767px) {
	#main, footer {
		padding: 0;
	}

	#main {
		margin-bottom: 40px;
	}

	header {
		margin-right: -20px;
		margin-left: -20px;
	}

	.showcase-img {
		margin-right: -20px;
		margin-left: -20px;
	}	

	header, #status p {
		padding-right: 20px;
		padding-left: 20px;
	}

	#status {
		margin-right: -20px;
		margin-left: -20px;	
	}

	aside {
		margin-bottom: 50px;
		-webkit-border-radius: 4px;
		-moz-border-radius: 4px;
		border-radius: 4px;
	}	
}

@media (max-width: 480px) {
	#stats ul li {
		display: block;
		margin: 0;
	}

	#related-domains ul li {
		display: block;		
		margin: 0;
	}

	.buy-box p {
		font-size: 14px;
	}
}

@media (max-width: 979px) {	
	.showcase-img > figure > .caption {
		font-size: 16px;
		line-height: 20px;
	}

	#footer-info, .social {
		float: none;
	}

	.social ul li {
		margin-right: 10px;
		margin-left: 0;
	}

	.lang {
		display: block;
	}
}	

@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2) {
	.buy-box span.paypal-icon {
		background: url("../img/paypal@2x.png");
		background-size: 35px 22px;
	}
}


.notification-board {
	position: fixed;
	z-index: 9999;
}

.notification-board.top {
	top: 0;
}

.notification-board.right {
	right: 0;
}

.notification-board.bottom {
	bottom: 0;
}

.notification-board.left {
	left: 0;
}

.notification-board > .notification {
	position: relative;
	padding: 15px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	background-color: rgba(45,53,65,0.9);
	color: #fff;
	
}

.notification-board.success > .notification {
	background-color: rgba(132,189,60,0.9);	
}

.notification-board.error > .notification {
	background-color: rgba(255,80,73,0.9);	
}

.no-rgba .notification-board > .notification {
	background-color: #2d3541; /* Old IE modernizr fix */
}

.no-rgba .notification-board.success > .notification {
	background-color: #84bd3c; /* Old IE modernizr fix */
}	

.no-rgba .notification-board.error > .notification {
	background-color: #ff5049; /* Old IE modernizr fix */
}

.notification-board > .notification:after {
	display: block;
	visibility: hidden;
	clear: both;
	overflow: hidden;
	height: 0;
	content: "\0020";
}

.notification-board.top > .notification {
	margin-top: 20px;
}

.notification-board.right > .notification {
	margin-right: 30px;
}

.notification-board.bottom > .notification {
	margin-bottom: 10px;
}

.notification-board.left > .notification {
	margin-left: 30px;
}


@media (max-width: 767px) {
	.notification-board {
		width: 100%;
	}

	.notification-board.top > .notification,
	.notification-board.right > .notification,
	.notification-board.bottom > .notification,
	.notification-board.left > .notification {
		margin-right: 20px;
		margin-left: 20px;
	}	
}


@media (min-width: 768px) and (max-width: 979px) {
	.notification-board {
		width: 270px;
	}	
}

@media (min-width: 980px) {
	.notification-board {
		width: 320px;
	}	
}	
