/*

Theme Name: China Red
Theme URI: http://chinaredguernsey.com
Author: Qpid
Author URI: http://qpiddigital.com
Description: Make all of your modifications to Renew in this child theme.
Version: 1.0.0
Template: x

*/

@import url( '../x/framework/css/site/stacks/renew.css' );

/*General*/

p strong{
	font-family: "futura-pt",sans-serif;
	font-weight: 700;
	color: #222;
}

/* === Jack Hero === */
#chinared-hero{
	width: 100%;
	background: url('img/chinared-hero.jpg');
	background-size: cover;
	display: block;
	text-align: center;
	color: #fff;
	font-size: 20px;
}
#chinared-hero img {
	height: auto;
	max-height: 100%;
	max-width: 90%;
}
#hero-top-spacer{
	height: 16%;
}
#hero-tel {
	height: auto;
	margin-bottom: 1.5%;
}
#hero-tel a {
	color: #fff;	
}
#hero-tel a:hover{
	text-decoration: underline;
}
#hero-logo {
	height: 22%;
	margin-bottom: 30px;
}
#hero-welcome {
	height: 15%;
	margin-bottom: 30px;
}
#hero-bot-text {
	height: auto;
	margin: 0 auto 30px auto;
}
#hero-bot-text p {
	width: 800px;
	max-width: 90%;
	margin: 0 auto;
}
#hero-button {
	margin-top: 30px;
}
.chinared-button{
	line-height: 1.3 !important;
	width: 240px;
	height: auto;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	max-width: 90%;
	box-shadow: none !important;
	position: relative;
	padding: 15px 0 !important;
	bottom: 0;
}
.x-btn, .button, [type="submit"]{
	background-color: #ec0928 !important;
}
.x-btn:hover, .button:hover, [type="submit"]:hover{
	border-color: #fff !important;
}
@media screen and (max-width: 400px){
	#hero-top-spacer{
		height: 5%;
	}
	#hero-bot-text p, #hero-tel a {
		font-size: 14px;
	}
	#hero-tel p {
		margin-bottom: 5%;
	}
	#hero-logo {
		height: 20%;
		margin-bottom: 30px;
	}
	#hero-welcome {
		height: 10%;
		margin-bottom: 30px;
	}
	.chinared-button {
		padding: 10px 0 !important;
		font-size: 16px !important;
	}
}
@media screen and (min-width: 401px and max-width: 768px){
	#hero-top-spacer{
		height: 5%;
	}
	#hero-bot-text {
		margin: 1% auto 3% auto;
	}
	#hero-bot-text p {
		font-size: 16px;
	}	
}
@media screen and ( min-width: 767px and max-width: 1400px){
	#hero-top-spacer{
		height: 10%;
	}
	#hero-bot-text {
		margin: 0 auto 3% auto;
	}
	#hero-bot-text p {
		font-size: 16px;
	}	
}

/*Navigation*/

.x-navbar{
	border-bottom: 3px solid #a5061c;
}

.x-navbar .x-nav > li > a{
	font-family: "futura-pt",sans-serif !important;
	font-style: normal !important;
	font-weight: 300 !important;
	text-transform: uppercase;
}

.x-navbar .x-nav > li > a:hover {
	-webkit-box-shadow: none!important; 
	box-shadow: none!important;
}

/*Heading Styles*/

h1,h2,h3,h4,h5,h6{
	font-family: "futura-pt",sans-serif !important;
	font-style: normal !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	margin: 0 !important;
}

h2{
	font-size: 42px !important;
}

h3{
	font-size: 24px !important;
}

h2:after{
	display: block;
	height: 3px;
	background-color: #ec0928;
	content: " ";
	margin-left: auto;
	margin-right: auto;
	width: 100px;
	margin-top: 20px;
	margin-bottom: 30px;
}

h3:after{
	display: block;
	height: 3px;
	background-color: #ec0928;
	content: " ";
	margin-left: auto;
	margin-right: auto;
	width: 100px;
	margin-top: 15px;
	margin-bottom: 25px;
}

/*Container*/

.cred-content-container{
	max-width: 800px !important;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.didyouknow{
	margin-top: 50px;
	margin-bottom: 60px;
}

/*Map*/

.x-map{
	margin-bottom: 0 !important;
}

.x-map .x-map-inner iframe{
	height: 650px !important;
}

.x-map .x-map-inner{
	padding: 0 !important;
	height: 650px !important;
}

/*Footer*/

.x-colophon.bottom{
	text-align: center;
	font-size: 16px;
	padding-top: 30px;
	
}

.x-colophon.bottom .x-colophon-content{
	letter-spacing: normal !important;
}

.x-colophon.bottom a:hover{
	text-decoration: underline;
}

#cred-social-container{
	text-align: center;
	margin: 0 auto;
	display: block;
	margin-bottom: 30px;
}

.cred-fb-icon {
	width: 48px;
	height: 48px;
	background: url('img/chinared-fb-icon.png') no-repeat;
	display: inline-block;
	background-position: 0 0;
	margin: 0 auto;
	-webkit-background-size: contain;
	background-size: contain;
	overflow: hidden;
	image-rendering: optimizeSpeed;
	image-rendering: -moz-crisp-edges;
	image-rendering: -o-crisp-edges;
	image-rendering: -webkit-optimize-contrast;
	image-rendering: optimize-contrast;
	-ms-interpolation-mode: nearest-neighbor;
	margin-right: 15px;
}

.cred-tripadvisor-icon {
	width: 48px;
	height: 48px;
	display: inline-block;
	background: url('img/chinared-tripadvisor-icon.png') no-repeat;
	background-position: 0 0;
	margin: 0 auto;
	-webkit-background-size: contain;
	background-size: contain;
	overflow: hidden;
	image-rendering: optimizeSpeed;
	image-rendering: -moz-crisp-edges;
	image-rendering: -o-crisp-edges;
	image-rendering: -webkit-optimize-contrast;
	image-rendering: optimize-contrast;
	-ms-interpolation-mode: nearest-neighbor;
}

.cred-fb-icon a, .cred-tripadvisor-icon a {
  width: 100%;
  height: 100%;
  display:block;
}

.cred-fb-icon:hover, .cred-tripadvisor-icon:hover {
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
  filter: alpha(opacity=80);
  -moz-opacity: 0.8;
  -khtml-opacity: 0.8;
  opacity: 0.8;
}

/*Mailing List*/

.cred-mailing-list-form{
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.cred-mailing-list h3{
	color: #ffffff;
}

.cred-mailing-list h3:after{
	background-color: #ffffff;
}

.your-email{
	color: #ffffff;
}

input[type="email"]{
	width: 250px;
	height: 50px;
	margin-bottom: 25px;
	color: #777;
	line-height: 50px;
	text-align: center;
}

input:focus:required:invalid, textarea:focus:required:invalid, select:focus:required:invalid{
	color: #777777;
}

form{
	margin: 0;
}

.x-btn, .button, [type="submit"]{
	padding-top: 13px;
}

/*Media Queries*/

@media all and (max-width: 480px) {
.x-map .x-map-inner iframe{
	height: 320px !important;
}

.x-map .x-map-inner{
	padding: 0 !important;
	height: 320px !important;
}

#hero-top-spacer{
	height: 2%;
}

#hero-bot-text p{
	font-size: 16px;
}

}