/*
	Theme Name: FBR Theme
	Theme URI: http://fastbudgetrepairsllc.com
	Description: Custom theme for FBR
	Version: 1.0.0
	Tags: Custom, HTML5, CSS3
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
	font-family: 'Open Sans', sans-serif;
}
body {
	font:400 18px/1.8 'Open Sans', sans-serif;
	color:#444;
}

/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}

.clear {
    *zoom:1;
}

img {
	max-width:100%;
}
a {
	color:#444;
	text-decoration:none;
}
a:hover {
	color:#444;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/


/* header */
.header {
	padding: 20px 0;
	position: -webkit-sticky; /* Safari */
	position: sticky;
	top: 0;
	z-index: 200;
	background-color: white;
}

.header .site-phone {
	font-weight: bold;
	font-size: 2rem;
}

/* logo */
.logo {
	text-align: left;
}

.logo a {
	display: block;
}

.header .logo-img {
	
}

/* nav */
.nav {
	display: inline-block;
	text-align: right;
}

.nav ul,
.nav ul li {
	margin: 0;
	padding: 0;
	list-style-type: none;
	display: inline-block;
	vertical-align: middle;
}

.nav ul li a {
	padding: 5px 10px;
	display: block;
}

.nav ul li:first-child a {
	padding-left: 0;
}

.nav ul li:last-child a {
	padding-right: 0;
}

/* sidebar */
.sidebar {

}
/* footer */
.footer {
	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#bf2026+0,a1181c+100 */
	background: #bf2026; /* Old browsers */
	background: -moz-linear-gradient(top,  #bf2026 0%, #a1181c 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  #bf2026 0%,#a1181c 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  #bf2026 0%,#a1181c 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bf2026', endColorstr='#a1181c',GradientType=0 ); /* IE6-9 */
	color: white;
	padding: 80px 0 20px 0;
}

.footer .logo {
	max-width: 250px;
	margin: 0 auto 40px auto;
}

/*------------------------------------*\
    PAGES
\*------------------------------------*/

main {
	min-height: 50vh;
}

.home .wp-block-group.home-hero-group {
	width: 100%;
	position: relative;
	margin: 30px auto;
}

.home .wp-block-group.home-hero-group .wp-block-group__inner-container:before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	height: 80%;
	width: 100%;
	background-color: #ddd;
}

.home .image-group .wp-block-group__inner-container p {
	margin-bottom: 40px;
}

.home .home-hero-cover {
	border-bottom: 10px solid #c02026;
}

.home .home-hero-cover .wp-block-cover__inner-container {
	position: absolute;
    bottom: 10px;
}

.home .under-hero-icons {
	margin-top: 100px;
}

.home .under-hero-icons img {
	max-width: 150px;
    display: inline-block;
    max-height: 100px;
}

.home .under-hero-icons p {
	font-size: 1.5rem;
}

.home .under-hero-icons p strong {
	font-size: 2.5rem;
}

.home .start-repair-btn-group {
	margin: 100px auto 75px auto;
}

.home .image-group {
	margin: 100px auto ;
}

.home .image-group.image-on-right .wp-block-column:last-child,
.home .image-group.image-on-left .wp-block-column:first-child {
	height: 75vh;
}

.home .image-group.image-on-left .image-group-text .image-text-inside {
	padding-right: 25%;
}

.home .image-group.image-on-right .image-group-text .image-text-inside {
	padding-left: 25%;
}

.home h2 {
	font-family: 'Oswald', sans-serif;
	font-size: 4rem;
	position: relative;
	color: #c02026;
	font-weight: bold;
	padding-bottom: 20px;
	margin-bottom: 40px;
}

.home h2:after {
	content: "";
	position: absolute;
	width: 200px;
	bottom: 0;
	left: 50%;
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	transform: translateX(-50%);
	border-bottom: 2px solid #c02026;
}

.home .home-cta-group h3 {
	font-size: 5rem;
	font-weight: bold;
	color: #c02026;
	font-weight: bold;
}

.home .home-cta-group {
	padding: 150px 0;
	background-image: url(img/above-footer-bg.jpg);
	background-repeat: no-repeat;
	background-position: center bottom;
	background-size: cover;
}

.header .nav-menu-btn {
	display: none;
}

.header .nav-menu-btn {
	padding: 10px;
    border: 1px solid #ddd;
    background-color: white;
    line-height: 1rem;
}

.header .nav-menu-btn img {
	width: 100%;
	max-width: 20px;
	max-height: 20px;
}

.mobile-nav {
	display: none;
	
	padding: 0px 20px;
}

.mobile-nav ul,
.mobile-nav ul li {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.mobile-nav ul li a {
	padding: 5px 10px;
	display: block;
}

body.page .page-title {
	text-transform: uppercase;
	font-weight: bold;
	font-size: 3rem;
	font-family: 'Oswald', sans-serif;
}

.faq-wrapper {
	
}

.faq-wrapper .faq-item {
	margin: 2rem auto;
}

.faq-wrapper .faq-item .faq-question {
	font-weight: bold;
	font-family: 'Oswald', sans-serif;
	border-bottom: 1px solid #ddd;
	padding-bottom: 2rem;
	margin-bottom: 1rem;
	font-size: 2.5rem;
	line-height: 2.75rem;
}

.faq-wrapper .faq-item .faq-answer {
	font-size: 2rem;
}

body.page main {
	padding-bottom: 100px;
}

body.page.home main {
	padding-bottom: 0px;
}

main.support-page h2 {
	text-transform: uppercase;
	font-weight: bold;
	font-size: 3rem;
	font-family: 'Oswald', sans-serif;
	margin: 4rem auto;
}

.feedback-wrapper .feedback-item {
	margin: 10px auto 20px auto;
	padding-bottom: 20px;
	border-bottom: 1px solid #ddd;
}

.feedback-wrapper .feedback-item:last-child {
	border-bottom: 0;
	padding-bottom: 0;
	margin-bottom: 0;
}

.feedback-wrapper .feedback-item .review-name {
	font-weight: bold;
	font-style: italic;
}

.feedback-wrapper .feedback-item .review-date {
	font-style: italic;
	font-size: 1.5rem;
	margin-top: -.5rem;
}

.feedback-wrapper .feedback-item .review-content {
	margin-top: 20px;
}

.feedback-wrapper .feedback-item blockquote {
	padding: 10px 15px;
	background-color: #eee;
	border: 1px solid #ddd;
	font-size: 1.5rem;
}

.feedback-wrapper .feedback-item .star-wrapper {
	display: inline-block;
	vertical-align: baseline;
	color: #bf2026;
}

.feedback-wrapper .feedback-item .star-count {
	display: inline-block;
	vertical-align: baseline;
	margin-right: 15px;
}

.nf-form-fields-required {
	text-align: center;
}

p:empty {
	display: none;
}

/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/


/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (min-width:320px) {

}
@media only screen and (min-width:480px) {

}
@media only screen and (max-width:860px) {
	
	.header {
		position: fixed;
		width: 100%;
		top: 0;
	}
	
	.home .under-hero-icons {
		margin: 40px auto;
	}

	.home .under-hero-icons .wp-block-columns .wp-block-column {
		margin-bottom: 40px;
	}
	
	.home .under-hero-icons .wp-block-columns .wp-block-column:last-child {
		margin-bottom: 0;
	}
	
	.home .wp-block-group.about-us-group {
		padding: 0 20px;
	}
	
	.home .image-group.image-on-right .image-group-text,
	.home .image-group.image-on-left .image-group-text {
		margin: 40px auto 0;
	}
	
	.home .image-group.image-on-right .image-group-text .image-text-inside,
	.home .image-group.image-on-left .image-group-text .image-text-inside {
		padding: 0 20px;
	}
	
	.home .home-cta-group {
		padding: 40px 20px;
	}
	
	.home .image-group {
		margin: 40px auto;
	}
	
	.home h2 {
		font-size: 2.5rem;
	}
	
	.home .home-cta-group h3 {
		font-size: 2rem;
	}
	
	.home .wp-block-group.home-hero-group {
		margin-top: 0;
	}
	
	.nav {
		display: none;
	}
	
	.mobile-nav {
		display: block;
		position: fixed;
		top: 0;
		padding-top: 120px;
		left: -100vw;
		width: 100vw;
		background-color: #fff;
		z-index: 100;
		height: 100vh;
		-webkit-transition: left 250ms ease;
		-moz-transition: left 250ms ease;
		-o-transition: left 250ms ease;
		transition: left 250ms ease;
	}
	
	body.menu-visible .mobile-nav {
		left: 0;
	}
	
	html.menu-visible,
	body.menu-visible {
		overflow: hidden;
	}
	
	.header .nav-menu-btn {
		display: inline-block;
	}
	
	body.page main {
		padding-top: 110px;
	}
}
@media only screen and (min-width:1024px) {

}
@media only screen and (min-width:1140px) {

}
@media only screen and (min-width:1280px) {

}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}
