/*--------------------------------------------------------------
Responsive Style
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1. Media queries
--------------------------------------------------------------*/
/* Does the same thing as <meta name="viewport" content="width=device-width">,
 * but in the future W3C standard way. -ms- prefix is required for IE10+ to
 * render responsive styling in Windows 8 "snapped" views; IE10+ does not honor
 * the meta tag. See http://core.trac.wordpress.org/ticket/25888.
 */
@-ms-viewport {
	width: device-width;
}

@viewport {
	width: device-width;
}

/*--------------------------------------------------------------
2. Mobile Menus
--------------------------------------------------------------*/
.mobile-menu,
.mobile-menu-anchor,
.mobile-menu-text {
	display: none;
}

#mobile-header-left-menu {
	float: left;
}

#mobile-header-right-menu {
	float: right;
}

.mobile-menu-anchor a.genericon-menu,
.mobile-menu-anchor a.genericon-menu:hover {
	color: #404040;
	text-decoration: none;
}

.mobile-header-left-nav-open #mobile-header-left-menu .genericon-menu:before,
.mobile-secondary-nav-open #mobile-secondary-menu .genericon-menu:before,
.mobile-header-right-nav-open #mobile-header-right-menu .genericon-menu:before {
	content: "\f406";
}

.sidr {
	display: block;
	position: fixed;
	top: 0;
	height: 100%;
	z-index: 999999;
	width: 260px;
	overflow-x: none;
	overflow-y: auto;
	font-size: 15px;
	background: #333;
	color: #fff;
	-webkit-box-shadow: inset 0 0 5px 5px #222;
	-moz-box-shadow: inset 0 0 5px 5px #222;
	box-shadow: inset 0 0 5px 5px #222;
}

.sidr .sidr-inner {
	padding: 0 0 15px;
}

.sidr .sidr-inner>p {
	margin-left: 15px;
	margin-right: 15px;
}

.sidr.right {
	left: auto;
	right: -260px;
}

.sidr.left {
	left: -260px;
	right: auto;
}

.sidr h1,
.sidr h2,
.sidr h3,
.sidr h4,
.sidr h5,
.sidr h6 {
	font-size: 11px;
	font-weight: normal;
	padding: 0 15px;
	margin: 0 0 5px;
	color: #fff;
	line-height: 24px;
	background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #4d4d4d), color-stop(100%, #1a1a1a));
	background-image: -webkit-linear-gradient(#4d4d4d, #1a1a1a);
	background-image: -moz-linear-gradient(#4d4d4d, #1a1a1a);
	background-image: -o-linear-gradient(#4d4d4d, #1a1a1a);
	background-image: linear-gradient(#4d4d4d, #1a1a1a);
	-webkit-box-shadow: 0 5px 5px 3px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 0 5px 5px 3px rgba(0, 0, 0, 0.2);
	box-shadow: 0 5px 5px 3px rgba(0, 0, 0, 0.2);
}

.sidr p {
	font-size: 13px;
	margin: 0 0 12px;
}

.sidr p a {
	color: rgba(255, 255, 255, 0.9);
}

.sidr>p {
	margin-left: 15px;
	margin-right: 15px;
}

.sidr ul {
	display: block;
	margin: 0 0 15px;
	padding: 0;
	border-top: 1px solid #1a1a1a;
	border-bottom: 1px solid #4d4d4d;
}

.sidr ul li {
	display:block;
	margin: 0;
	line-height: 48px;
	border-top: 1px solid #4d4d4d;
	border-bottom: 1px solid #1a1a1a;
}

.sidr ul li:hover,
.sidr ul li.active,
.sidr ul li.sidr-class-active {
	border-top: none;
	line-height: 49px;
}

.sidr ul li:hover>a,
.sidr ul li:hover>span,
.sidr ul li.active>a,
.sidr ul li.active>span,
.sidr ul li.sidr-class-active>a,
.sidr ul li.sidr-class-active>span {
	-webkit-box-shadow: inset 0 0 15px 3px #222;
	-moz-box-shadow: inset 0 0 15px 3px #222;
	box-shadow: inset 0 0 15px 3px #222;
}

.sidr ul li a,
.sidr ul li span {
	padding: 0 15px;
	display: block;
	text-decoration: none;
	color: #fff;
}

.sidr ul li ul {
	border-bottom: none;
	margin: 0;
}

.sidr ul li ul li {
	line-height: 40px;
	font-size: 13px;
}

.sidr ul li ul li:last-child {
	border-bottom: none;
}

.sidr ul li ul li:hover,
.sidr ul li ul li.active,
.sidr ul li ul li.sidr-class-active {
	border-top: none;
	line-height: 41px;
}

.sidr ul li ul li:hover>a,
.sidr ul li ul li:hover>span,
.sidr ul li ul li.active>a,
.sidr ul li ul li.active>span,
.sidr ul li ul li.sidr-class-active>a,
.sidr ul li ul li.sidr-class-active>span {
	-webkit-box-shadow: inset 0 0 15px 3px #222;
	-moz-box-shadow: inset 0 0 15px 3px #222;
	box-shadow: inset 0 0 15px 3px #222;
}

.sidr ul li ul li a,
.sidr ul li ul li span {
	color: #ccc;
	padding-left: 20px;
}

.sidr ul li ul li ul li a,
.sidr ul li ul li ul li span {
	padding-left: 30px;
}

.sidr form {
	margin: 0 15px;
}

.sidr label {
	font-size: 13px;
}

.sidr input[type="text"],
.sidr input[type="password"],
.sidr input[type="date"],
.sidr input[type="datetime"],
.sidr input[type="email"],
.sidr input[type="number"],
.sidr input[type="search"],
.sidr input[type="tel"],
.sidr input[type="time"],
.sidr input[type="url"],
.sidr textarea, .sidr select {
	width: 100%;
	font-size: 13px;
	padding: 5px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	margin: 0 0 10px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	-ms-border-radius: 2px;
	-o-border-radius: 2px;
	border-radius: 2px;
	border: none;
	background: rgba(0, 0, 0, 0.1);
	color: rgba(255, 255, 255, 0.6);
	display: block;
	clear: both;
}

.sidr input[type=checkbox] {
	width: auto;
	display: inline;
	clear: none;
}

.sidr input[type=button],
.sidr input[type=submit] {
	color: #333;
	background: #fff;
}

.sidr input[type=button]:hover,
.sidr input[type=submit]:hover {
	background: rgba(255, 255, 255, 0.9);
}

/*--------------------------------------------------------------
3. x <= 1280px
--------------------------------------------------------------*/
@media screen and (max-width: 1280px) {
	.wrapper {
		width: 1098px;
	}

	#main {
	    width: 718px;
	}

	#featured-content.layout-four .hentry,
	#supplementary.four .widget-area {
	    width: 25%;
	}

	#featured-content.layout-three .hentry,
	#supplementary.three .widget-area {
	    width: 33.33%;
	}

	#featured-content.layout-four .hentry:nth-child(4n+1),
	#featured-content.layout-three .hentry:nth-child(3n+1) {
		clear: both;
	}

	#supplementary.two .widget-area {
		width: 50%;
	}

	/* Two Colummns */
	.has-post-thumbnail.excerpt-image-left .featured-image,
	.has-post-thumbnail.excerpt-image-right .featured-image {
	    width: 250px;
	}
	.has-post-thumbnail.excerpt-image-left .entry-container,
	.has-post-thumbnail.excerpt-image-right .entry-container {
	    width: 400px;
	}

	/* One Column (No Sidebar, Full Width) */
	.no-sidebar.full-width .has-post-thumbnail.excerpt-image-left .featured-image,
	.no-sidebar.full-width .has-post-thumbnail.excerpt-image-right .featured-image {
		width: 360px;
	}
	.no-sidebar.full-width .has-post-thumbnail.excerpt-image-left .entry-container,
	.no-sidebar.full-width .has-post-thumbnail.excerpt-image-right .entry-container {
		width: 618px;
	}

	/* Featured Grid */
	#featured-grid-content .grid-box {
		width: 366px;
	}

	#featured-grid-content .grid-box.first {
		width: 732px;
	}
}

/*--------------------------------------------------------------
4. x <= 1152px
--------------------------------------------------------------*/
@media screen and (max-width: 1152px) {
	.wrapper {
		width: 1038px;
		padding: 0 15px;
	}

	#masthead {
	    padding: 15px 0;
	}

	#site-branding,
	#promotion-message .wrapper,
	#promotion-message .section,
	#featured-content .wrapper,
	#featured-content .featured-heading-wrap,
	#content .wrapper,
	.hentry,
	.no-results,
	.not-found,
	.sidebar,
	#comments,
	#nav-below,
	#infinite-handle,
	#supplementary .widget,
	#site-generator {
		padding: 15px;
	}

	#supplementary {
		padding-top: 15px;
	}

	.gridalicious-nav-menu a,
	.sidebar-header-right .widget_nav_menu a {
	    padding: 10px 15px;
	}

	#site-generator .wrapper {
	    padding: 0 10px;
	}

	#breadcrumb-list .wrapper {
	    padding-left: 25px;
	}

	p,
	.entry-content ol,
	.entry-content ul,
	.sidebar ol,
	.sidebar ul,
	#supplementary ol,
	#supplementary ul {
		margin-bottom: 15px;
	}

	#main {
	    width: 678px;
	}

	.sidebar-primary {
	    width: 330px;
	}

	/* Two Colummns */
	.has-post-thumbnail.excerpt-image-left .featured-image,
	.has-post-thumbnail.excerpt-image-right .featured-image {
	    width: 230px;
	}

	.has-post-thumbnail.excerpt-image-left .entry-container,
	.has-post-thumbnail.excerpt-image-right .entry-container {
	    width: 390px;
	}

	/* One Column (No Sidebar, Full Width) */
	.no-sidebar.full-width .has-post-thumbnail.excerpt-image-left .featured-image,
	.no-sidebar.full-width .has-post-thumbnail.excerpt-image-right .featured-image {
		width: 330px;
	}
	.no-sidebar.full-width .has-post-thumbnail.excerpt-image-left .entry-container,
	.no-sidebar.full-width .has-post-thumbnail.excerpt-image-right .entry-container {
		width: 618px;
	}

	/* One Column (No Sidebar) */
	.no-sidebar.one-column .has-post-thumbnail.excerpt-image-left .entry-container,
	.no-sidebar.one-column .has-post-thumbnail.excerpt-image-right .entry-container {
		width: 460px;
	}
	/* Featured Grid */
	#featured-grid-content .grid-box {
		width: 346px;
	}

	#featured-grid-content .grid-box.first {
		width: 692px;
	}

}

/*--------------------------------------------------------------
5. x <= 1100px (iPad Landscape)
--------------------------------------------------------------*/
@media screen and (max-width: 1100px) {
	.wrapper {
		width: 960px;
	}

	#main {
	    width: 600px;
	}

	/* Two Colummns */
	.has-post-thumbnail.excerpt-image-left .featured-image,
	.has-post-thumbnail.excerpt-image-right .featured-image {
	    width: 185px;
	}

	.has-post-thumbnail.excerpt-image-left .entry-container,
	.has-post-thumbnail.excerpt-image-right .entry-container {
	    width: 360px;
	}

	/* One Column (No Sidebar, Full Width) */
	.no-sidebar.full-width .has-post-thumbnail.excerpt-image-left .featured-image,
	.no-sidebar.full-width .has-post-thumbnail.excerpt-image-right .featured-image {
		width: 300px;
	}
	.no-sidebar.full-width .has-post-thumbnail.excerpt-image-left .entry-container,
	.no-sidebar.full-width .has-post-thumbnail.excerpt-image-right .entry-container {
		width: 570px;
	}

	/* Featured Grid */
	#featured-grid-content .grid-box{
		width: 320px;
	}

	#featured-grid-content .grid-box.first {
		width: 640px;
	}

}

/*--------------------------------------------------------------
6. x <= 990px (iPad Portrait)
--------------------------------------------------------------*/
@media screen and (max-width: 990px) {
	.wrapper,
	.no-sidebar.one-column .wrapper {
		width: 738px;
	}

	.site {
		padding-top: 0;
	}

	#masthead {
	    padding: 10px 0;
	}

	#masthead .wrapper {
	    padding: 0 10px;
	}

	#site-branding {
    	padding: 5px 10px 0 10px;
	}

	#masthead .sidebar-header-right {
	    padding: 10px 10px 0;
	}

	#promotion-message .right a {
	    padding: 8px 15px;
	}

	#supplementary {
	    padding-top: 10px;
	}

	#featured-content .featured-heading-wrap {
	    padding: 10px 10px 0;
	}

	.genericon-menu,
	#promotion-message .section,
	#content .wrapper,
	.hentry,
	.no-results,
	.not-found,
	.sidebar,
	#comments,
	#nav-below,
	#infinite-handle,
	#supplementary .widget,
	#site-generator {
		padding: 10px;
	}

	.hentry,
	.widget {
		margin: 0 0 10px;
	}

	#featured-content .entry-container {
		margin-top: 10px;
	}

	#breadcrumb-list .wrapper {
	    padding-left: 15px;
	}

	h1, h2, h3, h4, h5, h6 {
		margin-bottom: 5px;
	}

	p,
	.entry-content ol,
	.entry-content ul,
	.sidebar ol,
	.sidebar ul,
	#supplementary ol,
	#supplementary ul {
		margin-bottom: 10px;
	}

	.hentry .featured-image {
	    margin-bottom: 15px;
	}

	.archive-post-wrap {
	    padding-bottom: 10px;
	}

	.site-title {
	    font-size: 30px;
	}

	h1 {
		font-size: 26px;
	}

	h2 {
		font-size: 24px;
	}

	h3 {
		font-size: 22px;
	}

	h4 {
		font-size: 18px;
	}

	h5 {
		font-size: 16px;
	}

	h6 {
		font-size: 14px;
	}

	.entry-title,
	#featured-grid-content .entry-title,
	#promotion-message h2,
	#featured-content #featured-heading {
		font-size: 24px;
	}

	#featured-content .entry-title {
		font-size: 20px;
	}

	#site-generator {
		font-size: 13px;
	}

	#site-branding,
	#main,
	.no-sidebar.content-width #main,
	.no-sidebar.one-column #main,
	#content_sidebar_wrap,
	#content_sidebar_wrap #main,
	.sidebar-primary {
	    width: 100%;
	}

	.sidebar-primary,
	.sidebar-secondary {
		clear: both;
		padding: 0;
	}

	.sidebar-primary .widget,
	.sidebar-secondary .widget,
	#featured-content.layout-four .hentry,
	#supplementary.four .widget-area,
	#supplementary.three .widget-area,
	#supplementary.two .widget-area {
	    float: left;
	    padding: 10px;
	    width: 50%;
	}

	.one-column .layout-four .featured-content-wrap {
	    margin-left: 0;
	    width: 100%;
	}

	.one-column #featured-content.layout-four .hentry {
		float: left;
		margin-left: 0;
	    padding: 10px;
	    width: 50%;
	}

	.sidebar-primary .widget:nth-child(2n+1),
	#featured-content.layout-four .hentry:nth-child(2n+1),
	#supplementary .widget-area:nth-child(2n+1) {
		clear: both;
	}

	#supplementary.four .widget-area,
	#supplementary.three .widget-area,
	#supplementary.two .widget-area {
		padding: 0;
	}

	.mobile-menu-anchor {
		display: inline-block;
	}

	#site-logo,
	#site-header {
		display: block;
	    float: none;
	}

	.logo-left #site-header {
		padding-top: 8px;
		padding-left: 0;
	}

	.logo-right #site-header {
		padding-top:  10px;
		padding-right: 0;
	}

	#site-logo img {
		max-height: 150px;
	}

	/* Sidebar Header Right */
	.sidebar-header-right {
	    clear: both;
	    display: inline-block;
	    float: none;
	    text-align: center;
	    width: 100%;
	}

	.sidebar-header-right .widget-wrap {
	    float: none;
	}

	.nav-primary,
	.nav-header-right,
	.nav-secondary {
		display: none;
	}

	#site-branding {
	    text-align: center;
	}

	.mobile-menu-one #site-branding {
		padding-left:  0;
	    width: 678px;
	}

	.mobile-menu-two #site-branding,
	.mobile-menu-three #site-branding {
		padding-left: 0;
		padding-right: 0;
	    width: 638px;
	}

	#mobile-secondary-menu {
		display: block;
		width: 100%;
	}

	#mobile-footer-menu {
	    border-top: 1px solid #eee;
	    display: block;
	    padding: 0 10px;
	    width: 100%;
	}

	/* Two Colummns & One Column */
	.has-post-thumbnail.excerpt-image-left .featured-image,
	.has-post-thumbnail.excerpt-image-right .featured-image,
	.no-sidebar.full-width .has-post-thumbnail.excerpt-image-left .featured-image,
	.no-sidebar.full-width .has-post-thumbnail.excerpt-image-right .featured-image,
	.no-sidebar.one-column .has-post-thumbnail.excerpt-image-left .featured-image,
	.no-sidebar.one-column .has-post-thumbnail.excerpt-image-right .featured-image {
	    width: 246px;
	}

	.has-post-thumbnail.excerpt-image-left .entry-container,
	.has-post-thumbnail.excerpt-image-right .entry-container,
	.no-sidebar.full-width .has-post-thumbnail.excerpt-image-left .entry-container,
	.no-sidebar.full-width .has-post-thumbnail.excerpt-image-right .entry-container,
	.no-sidebar.one-column .has-post-thumbnail.excerpt-image-left .entry-container,
	.no-sidebar.one-column .has-post-thumbnail.excerpt-image-right .entry-container  {
	    width: 432px;
	}

	/* Featured Grid */
	#featured-grid-content .grid-box,
	.no-sidebar.one-column #featured-grid-content .grid-box {
		width: 246px;
	}

	#featured-grid-content .grid-box.first,
	.no-sidebar.one-column #featured-grid-content .grid-box.first {
		width: 492px;
	}

}

/*--------------------------------------------------------------
7. x <= 767px
--------------------------------------------------------------*/
@media screen and (max-width: 767px) {
	.wrapper,
	.no-sidebar.one-column .wrapper {
		width: 660px;
	}

	.mobile-menu-one #site-branding {
	    width: 600px;
	}

	.mobile-menu-two #site-branding,
	.mobile-menu-three #site-branding {
	    width: 560px;
	}

	/* Two Colummns & One Column */
	.has-post-thumbnail.excerpt-image-left .featured-image,
	.has-post-thumbnail.excerpt-image-right .featured-image,
	.no-sidebar.full-width .has-post-thumbnail.excerpt-image-left .featured-image,
	.no-sidebar.full-width .has-post-thumbnail.excerpt-image-right .featured-image,
	.no-sidebar.one-column .has-post-thumbnail.excerpt-image-left .featured-image,
	.no-sidebar.one-column .has-post-thumbnail.excerpt-image-right .featured-image {
	    width: 210px;
	}

	.has-post-thumbnail.excerpt-image-left .entry-container,
	.has-post-thumbnail.excerpt-image-right .entry-container,
	.no-sidebar.full-width .has-post-thumbnail.excerpt-image-left .entry-container,
	.no-sidebar.full-width .has-post-thumbnail.excerpt-image-right .entry-container,
	.no-sidebar.one-column .has-post-thumbnail.excerpt-image-left .entry-container,
	.no-sidebar.one-column .has-post-thumbnail.excerpt-image-right .entry-container  {
	    width: 390px;
	}

	/* Featured Grid */
	#featured-grid-content .grid-box,
	.no-sidebar.one-column #featured-grid-content .grid-box {
		width: 220px;
	}

	#featured-grid-content .grid-box.first,
	.no-sidebar.one-column #featured-grid-content .grid-box.first {
		width: 440px;
	}

}

/*--------------------------------------------------------------
8. x <= 700px
--------------------------------------------------------------*/
@media screen and (max-width: 700px) {
	.wrapper,
	.no-sidebar.one-column .wrapper {
		width: 561px;
	}

	.mobile-menu-one #site-branding {
	    width: 501px;
	}

	.mobile-menu-two #site-branding,
	.mobile-menu-three #site-branding {
	    width: 461px;
	}

	#footer-left-content,
	#footer-right-content {
		display: block;
		text-align: center;
	    width: 100%;
	}

	/* Two Colummns & One Column */
	.has-post-thumbnail.excerpt-image-left .featured-image,
	.has-post-thumbnail.excerpt-image-right .featured-image,
	.no-sidebar.full-width .has-post-thumbnail.excerpt-image-left .featured-image,
	.no-sidebar.full-width .has-post-thumbnail.excerpt-image-right .featured-image,
	.no-sidebar.one-column .has-post-thumbnail.excerpt-image-left .featured-image,
	.no-sidebar.one-column .has-post-thumbnail.excerpt-image-right .featured-image {
	    width: 180px;
	}

	.has-post-thumbnail.excerpt-image-left .entry-container,
	.has-post-thumbnail.excerpt-image-right .entry-container,
	.no-sidebar.full-width .has-post-thumbnail.excerpt-image-left .entry-container,
	.no-sidebar.full-width .has-post-thumbnail.excerpt-image-right .entry-container,
	.no-sidebar.one-column .has-post-thumbnail.excerpt-image-left .entry-container,
	.no-sidebar.one-column .has-post-thumbnail.excerpt-image-right .entry-container  {
	    width: 320px;
	}

	/* Featured Grid */
	#featured-grid-content .grid-box,
	.no-sidebar.one-column #featured-grid-content .grid-box {
		width: 187px;
	}

	#featured-grid-content .grid-box.first,
	.no-sidebar.one-column #featured-grid-content .grid-box.first {
		width: 374px;
	}
}

/*--------------------------------------------------------------
9. x <= 600px (iPhone 5 Landscape)
--------------------------------------------------------------*/
@media screen and (max-width:600px) {
	.wrapper,
	.no-sidebar.one-column .wrapper {
		width: 522px;
	}

	.mobile-menu-one #site-branding {
	    width: 462px;
	}

	.mobile-menu-two #site-branding,
	.mobile-menu-three #site-branding {
	    width: 422px;
	}

	.site-title {
	    font-size: 26px;
	}

	h1 {
		font-size: 24px;
	}

	h2 {
		font-size: 22px;
	}

	h3 {
		font-size: 20px;
	}

	h4 {
		font-size: 18px;
	}

	h5 {
		font-size: 16px;
	}

	h6 {
		font-size: 14px;
	}

	.entry-title,
	#featured-grid-content .entry-title,
	#promotion-message h2,
	#featured-content #featured-heading {
		font-size: 22px;
	}

	#featured-content .entry-title {
		font-size: 18px;
	}

	/* Two Colummns & One Column */
	.has-post-thumbnail.excerpt-image-left .featured-image,
	.has-post-thumbnail.excerpt-image-right .featured-image,
	.no-sidebar.full-width .has-post-thumbnail.excerpt-image-left .featured-image,
	.no-sidebar.full-width .has-post-thumbnail.excerpt-image-right .featured-image,
	.no-sidebar.one-column .has-post-thumbnail.excerpt-image-left .featured-image,
	.no-sidebar.one-column .has-post-thumbnail.excerpt-image-right .featured-image {
	    width: 165px;
	}

	.has-post-thumbnail.excerpt-image-left .entry-container,
	.has-post-thumbnail.excerpt-image-right .entry-container,
	.no-sidebar.full-width .has-post-thumbnail.excerpt-image-left .entry-container,
	.no-sidebar.full-width .has-post-thumbnail.excerpt-image-right .entry-container,
	.no-sidebar.one-column .has-post-thumbnail.excerpt-image-left .entry-container,
	.no-sidebar.one-column .has-post-thumbnail.excerpt-image-right .entry-container  {
	    width: 297px;
	}

	/* Featured Grid */
	#featured-grid-content .grid-box,
	.no-sidebar.one-column #featured-grid-content .grid-box {
		width: 174px;
	}

	#featured-grid-content .grid-box.first,
	.no-sidebar.one-column #featured-grid-content .grid-box.first {
		width: 348px;
	}
}

/*--------------------------------------------------------------
10. x <= 540px (iPhone 4 Landscape)
--------------------------------------------------------------*/
@media screen and (max-width: 540px) {
	.wrapper,
	.no-sidebar.one-column .wrapper {
		width: 462px;
	}

	.mobile-menu-one #site-branding {
	    width: 402px;
	}

	.mobile-menu-two #site-branding,
	.mobile-menu-three #site-branding {
	    width: 362px;
	}

	body,
	button,
	input,
	select,
	textarea {
	    font-size: 14px;
	}

	button,
	input[type="button"],
	input[type="reset"],
	input[type="submit"] {
		font-size: 14px;
	}

	.site-title {
	    font-size: 24px;
	}

	h1 {
		font-size: 22px;
	}

	h2 {
		font-size: 20px;
	}

	h3 {
		font-size: 18px;
	}

	h4 {
		font-size: 16px;
	}

	h5 {
		font-size: 14px;
	}

	h6 {
		font-size: 13px;
	}

	.entry-title,
	#featured-grid-content .entry-title,
	#promotion-message h2,
	#featured-content #featured-heading {
		font-size: 20px;
	}

	#featured-content .entry-title {
		font-size: 18px;
	}

	/* Two Colummns & One Column */
	.has-post-thumbnail.excerpt-image-left .featured-image,
	.has-post-thumbnail.excerpt-image-right .featured-image,
	.no-sidebar.full-width .has-post-thumbnail.excerpt-image-left .featured-image,
	.no-sidebar.full-width .has-post-thumbnail.excerpt-image-right .featured-image,
	.no-sidebar.one-column .has-post-thumbnail.excerpt-image-left .featured-image,
	.no-sidebar.one-column .has-post-thumbnail.excerpt-image-right .featured-image {
	    width: 125px;
	}

	.has-post-thumbnail.excerpt-image-left .entry-container,
	.has-post-thumbnail.excerpt-image-right .entry-container,
	.no-sidebar.full-width .has-post-thumbnail.excerpt-image-left .entry-container,
	.no-sidebar.full-width .has-post-thumbnail.excerpt-image-right .entry-container,
	.no-sidebar.one-column .has-post-thumbnail.excerpt-image-left .entry-container,
	.no-sidebar.one-column .has-post-thumbnail.excerpt-image-right .entry-container  {
	    width: 282px;
	}

	/* Featured Grid */
	#featured-grid-content .grid-box,
	.no-sidebar.one-column #featured-grid-content .grid-box {
		width: 154px;
	}

	#featured-grid-content .grid-box.first,
	.no-sidebar.one-column #featured-grid-content .grid-box.first {
		width: 308px;
	}
}

/*--------------------------------------------------------------
11. x <= 479px (iPhone Portrait)
--------------------------------------------------------------*/
@media screen and (max-width: 479px) {
	.wrapper,
	.no-sidebar.one-column .wrapper {
		width: 320px;
	}

	#site-branding {
		padding-top: 0;
	}

	.genericon-menu {
	    padding: 5px;
	}

	.mobile-menu-one #site-branding {
	    width: 270px;
	}

	.mobile-menu-two #site-branding,
	.mobile-menu-three #site-branding {
	    width: 240px;
	}

	#promotion-message .section,
	.sidebar-primary .widget,
	.sidebar-secondary .widget,
	#featured-content.layout-four .hentry,
	#featured-content.layout-three .hentry,
	#supplementary.four .widget-area,
	#supplementary.three .widget-area,
	#supplementary.two .widget-area,
	.one-column #featured-content.layout-four .hentry {
		display: block;
	    float: none;
	    width: 100%;
	}

	#promotion-message .section {
		max-width: 100%;
	}

	#promotion-message .left {
		padding-bottom: 0;
	}

	#promotion-message .right {
		padding-top: 0;
	}

	#breadcrumb-list .wrapper,
	.entry-meta,
	.site-description {
	    font-size: 12px;
	}

	#site-generator {
		font-size: 11px;
	}

	/* Two Colummns & One Column */
	.has-post-thumbnail.excerpt-image-left .featured-image,
	.has-post-thumbnail.excerpt-image-right .featured-image,
	.no-sidebar.full-width .has-post-thumbnail.excerpt-image-left .featured-image,
	.no-sidebar.full-width .has-post-thumbnail.excerpt-image-right .featured-image,
	.no-sidebar.one-column .has-post-thumbnail.excerpt-image-left .featured-image,
	.no-sidebar.one-column .has-post-thumbnail.excerpt-image-right .featured-image {
	    width: 100%;
	}

	.has-post-thumbnail.excerpt-image-left .entry-container,
	.has-post-thumbnail.excerpt-image-right .entry-container,
	.no-sidebar.full-width .has-post-thumbnail.excerpt-image-left .entry-container,
	.no-sidebar.full-width .has-post-thumbnail.excerpt-image-right .entry-container,
	.no-sidebar.one-column .has-post-thumbnail.excerpt-image-left .entry-container,
	.no-sidebar.one-column .has-post-thumbnail.excerpt-image-right .entry-container  {
	    clear: both;
	    width: 100%;
	}

	/* Featured Grid */
	#featured-grid-content .grid-box,
	.no-sidebar.one-column #featured-grid-content .grid-box {
		width: 50%;
	}

	#featured-grid-content .grid-box.first,
	.no-sidebar.one-column #featured-grid-content .grid-box.first,
	#featured-grid-content .grid-box.first-cols,
	.no-sidebar.one-column #featured-grid-content .grid-box.first-cols {
		width: 100%;
	}

}

/*--------------------------------------------------------------
12. x <= 319px
--------------------------------------------------------------*/
@media screen and (max-width: 319px) {
	.site,
	.no-sidebar.one-column .site {
		width: 100%;
	}

	.wrapper {
	    padding: 0 5px;
	}

	#masthead {
		padding-top: 5px;
	}

	#site-branding,
	.mobile-menu-one #site-branding,
	.mobile-menu-two #site-branding,
	.mobile-menu-three #site-branding {
		clear: both;
		display: block;
	    padding: 0;
	    width: 100%;
	}

	#masthead .sidebar-header-right {
		padding-right: 0;
		padding-left: 0;
	}

	body,
	button,
	input,
	select,
	textarea {
	    font-size: 13px;
	}

	button,
	input[type="button"],
	input[type="reset"],
	input[type="submit"] {
		font-size: 13px;
	}

	.site-title {
	    font-size: 22px;
	}

	h1 {
		font-size: 20px;
	}

	h2 {
		font-size: 18px;
	}

	h3 {
		font-size: 16px;
	}

	h4 {
		font-size: 14px;
	}

	h5 {
		font-size: 13px;
	}

	h6 {
		font-size: 12px;
	}

	.entry-title,
	#featured-grid-content .entry-title,
	#promotion-message h2,
	#featured-content #featured-heading {
		font-size: 18px;
	}

	#featured-content .entry-title {
		font-size: 16px;
	}

	/* Featured Grid */
	#featured-grid-content .grid-box,
	.no-sidebar.one-column #featured-grid-content .grid-box {
		width: 100%;
	}

	/* Featured Grid */
	#featured-grid-content .grid-box,
	.no-sidebar.one-column #featured-grid-content .grid-box {
		width: 50%;
	}
}

/*--------------------------------------------------------------
13. Form Zoom Fix
--------------------------------------------------------------*/
@media screen and (-webkit-min-device-pixel-ratio:0) {
	select:focus,
	textarea:focus,
	input:focus,
	input#s,
	#respond form input[type="text"],
	#respond form textarea,
	input[type="text"],
	input[type="email"],
	input[type="url"],
	input[type="password"],
	textarea {
 		font-size: 16px;
  	}
}