/*
 Theme Name:   Vertex Child
 Description:  Vertex Child Theme used for foamfrenzy.com
 Author:       Matt Cheah
 Template:     Vertex
 Version:      1.0.0
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  vertex-child
*/

@import url("../Vertex/style.css");

/* =Theme customization starts here
-------------------------------------------------------------- */

/*MAIN THEME CUSTOMIZATIONS */

/* #main-header {
	height:700px;
} */

#top-menu {
	background:none !important;
	z-index: 200;
	position: absolute;
    width: 100%;
	box-shadow:none;
}

#top-menu>img {
	width:100%;
}

body .nav li ul, body .et_mobile_menu{
	background-color:#6F5B2F;
}


#top-area {
position:relative;
	z-index:10;
	height:160px;
}

.not-home #top-area .title {
	top:60px;
	position:relative;
	font-weight:700;
	text-shadow:1px 1px 2px black, 0 0 150px #000000, 0 0 100px #000000, 0 0 200px #000000;;

}

.not-home>header {
	height:200px;
}

.not-home>#content-area {
	position:relative;
	top:130px;
	background-color:#a8cbdb;
	padding: 60px;
}

#top-menu>img{ 
	position:absolute;
	} 

#et-logo img {
    max-height: 111px;
}

#et-logo {
	margin-top:-40px;
}

body.home #top-menu nav, .et-fixed nav, body nav {
    padding-top: 0;
    width:1100px;
    position:relative;
    right:90px;
}

html body {
	color:#222;
}


/*FOOTER INFORMATION */

#main-footer {
    padding: 0;
    bottom: 50px;
    z-index: 1200;
}

.not-home #main-footer {
    padding: 0;
    bottom: 60px;
    z-index: 1200;
    position:relative;
}

#main-footer h3 {
	color:white;
	font-weight: 400;
	font-size:28px;
}

#footer-info {
	display:none;
}

#footer-widgets div {
	text-shadow: 1px 1px 1px #111;
}

.footer-widget table tr {
	height:22px;
}
.footer-widget table tr td{
	font-weight: 100;
}

.footer-widget strong{
	color:white;
}

.home .fwidget, .home #footer-widgets {
    margin-bottom: 10px;
}

.not-home .fwidget, .not-home #footer-widgets {
    margin: 10px 0;
}

.centered {
	text-align: center;
}

#main-footer .widget_siteorigin-panels-image img {
	float: left;
    height: 80px;
    padding-right: 4px;
    width: auto;
    margin-top: 20px;
}

.our-profiles-widget-image {
	height:30px;
	width:110px;
	float:left;
}

#siteorigin-panels-image-2 img {
	clear:both;
}


/*TAGLINE BACKGROUND COLOR*/
.home .tagline, .home .et-zoom, .home a.more, .home .skill-amount, .home .description p.meta-info, .home .alt-description p.meta-info, .home #content-area .wp-pagenavi span.current, .home #content-area .wp-pagenavi a:hover, .home .comment-reply-link, .home .form-submit #submit {
    background-color: #87b5d0;
}

/*background color */
body, a.action-button, .et_mobile_menu, .description h2, .alt-description h2 {
    background-color: #6F5B2F !important;
}


/*HOMEPAGE CHANGES */

.home #top-area {
	position:relative;
	z-index:10;
	height:530px;
}

body.home #et-logo, #et-logo {
	display:inline;
	position:relative;
	right:200px;
}

body.home #top-area, .home section, .home footer {
	position:relative;
	z-index:100;
}

html body #pre-footer {
	background-color:#A8CBDB;
	background-image:none;
	padding: 0;
}

#pre-footer img {
	position:relative;
	top:20px;
	z-index:1000;
	width:100%;
}

.home>header {
	height:558px;
}

.home>section {
	position:relative;
	z-index:100;
	top:100px;
	height:720px;
}

.et-slider-area {
	background-image: url('http://foamfrenzy.com/wp-content/uploads/2014/02/carpet3.0.jpg');
}

.et-slide .et-description h2 {
	position:relative;
	bottom:15px;
	font-weight:400;
} 

.et-slide .et-description  {
	position:relative;
	bottom:105px;
	width:380px;
}

.et-slide .et-description p, .et-slide .et-description table td li, .et-slide .et-description {
	color:black;
}


.et-slide img {
	margin-right: 20px;
	box-shadow: 2px 2px 3px #000;
	margin-bottom: 40px;
}

.home-block {
	padding-top:60px;
}

.home-block header h2 {
	font-size:40px;
	color:#000;
	text-shadow:1px 1px 1px #bbb;
	font-weight:700;
}

.home-block header h3 {
	font-size:24px;
	color:#000;
	text-shadow:1px 1px 1px #bbb;
}

#location-table tr td {
	width:220px;
	vertical-align: top;
	
}

#location-table {
	position:relative;
	bottom:18px;
}

#et-slides .et-slide:nth-child(2) .et-description p, #et-slides .et-slide:nth-child(3) .et-description p {
	line-height: 22px;
}

#et-slides .et-slide:nth-child(3) .et-description {
	line-height: 20px;
}

#et-slides .et-slide:nth-child(3) .et-description table tr td {
	line-height: 14px;
}

/*ABOUT US PAGE */

#pg-10-0 div, .entry div {
	font-size: 18px;
	line-height: 26px;
}

.page-id-10 #pg-10-2 .textwidget h2 {
	font-weight: 700;
}
/*CARPET CLEANING PAGE */ 
#package-table, #package-table tr, #package-table td, #package-table th {
	border: 1px solid black;
	color:black;
	padding: 10px;
}

#package-table tr th {
	font-size:14px;
	font-weight: 100;
	vertical-align: top;
}

#package-table tr th .package-title {
	font-size:24px;
	font-weight: 400;
	text-align: center;
}

#package-table tr th:nth-child(2), #package-table tr td:nth-child(2) {
	background-color:#d6cbba;
	width:130px;
}

#package-table tr th:nth-child(3), #package-table tr td:nth-child(3) {
	background-color:#c9bca7;
	width:130px;
}

#package-table tr th:nth-child(4), #package-table tr td:nth-child(4) {
	background-color:#bfaf97;
	width:130px;
}

#package-table tr th:nth-child(5), #package-table tr td:nth-child(5) {
	background-color:#b5a387;
	width:130px;
}

#package-table tr:nth-child(2n) td:nth-child(2) {
	background-color:#e2d7c5;
}

#package-table tr:nth-child(2n) td:nth-child(3) {
	background-color:#d6c9b3;
}

#package-table tr:nth-child(2n) td:nth-child(4) {
	background-color:#cebea5;
}

#package-table tr:nth-child(2n) td:nth-child(5) {
	background-color:#c4b297;
}




#package-table tr:nth-child(2n+1) td:first-child {
	background-color:#CCC;
}

#package-table tr:nth-child(2n) td:first-child {
	background-color:#DDD;
}

#package-table tr:first-child th:first-child {
	
	border-left: 1px solid #a8cbdb;
	border-top:1px solid #a8cbdb;
}

#package-table tr td {
	font-size:12px;
	line-height:16px;
	text-align:center;
}

#package-table tr td strong {
	font-size:16px;
}

#package-table #green-check, #red-x {
	height:30px;
	width:auto;
}

/*UPHOLSTERY PAGE */

#upholstery-table, #upholstery-table tr, #upholstery-table td, #upholstery-table th {
	border: 1px solid black;
	color:black;
	padding: 10px;
}

#upholstery-table tr th {
	font-size:14px;
	font-weight: 100;
	vertical-align: top;
}

#upholstery-table tr th .package-title {
	font-size:24px;
	font-weight: 400;
	text-align: center;
}

#upholstery-table tr th:nth-child(2), #upholstery-table tr td:nth-child(2) {
	background-color:#d6cbba;
	width:135px;
}

#upholstery-table tr th:nth-child(3), #upholstery-table tr td:nth-child(3) {
	background-color:#c9bca7;
	width:135px;
}

#upholstery-table tr th:nth-child(4), #upholstery-table tr td:nth-child(4) {
	background-color:#bfaf97;
	width:135px;
}

#upholstery-table tr th:nth-child(5), #upholstery-table tr td:nth-child(5) {
	background-color:#b5a387;
	width:135px;
}

#upholstery-table tr:nth-child(2n) td:nth-child(2) {
	background-color:#e2d7c5;
}

#upholstery-table tr:nth-child(2n) td:nth-child(3) {
	background-color:#d6c9b3;
}

#upholstery-table tr:nth-child(2n) td:nth-child(4) {
	background-color:#cebea5;
}

#upholstery-table tr:nth-child(2n) td:nth-child(5) {
	background-color:#c4b297;
}

#upholstery-table tr:nth-child(2n+1) td:first-child {
	background-color:#CCC;
}

#upholstery-table tr:nth-child(2n) td:first-child {
	background-color:#DDD;
}

#upholstery-table tr:first-child th:first-child {
	
	border-left: 1px solid #a8cbdb;
	border-top:1px solid #a8cbdb;
}

#upholstery-table tr td {
	font-size:12px;
	line-height:16px;
	text-align:center;
}

#upholstery-table tr td strong {
	font-size:16px;
}

#upholstery-table #green-check, #red-x {
	height:30px;
	width:auto;
}

.page-id-14 #main-area {
	line-height: 28px;
} 

/*Gallery Page */

.page-id-16 .ze_imagelist {
	width:1000px !important;
}

.page-id-16 #content-area ul.ze_imagelist a.ze_box div.ze_title {
	bottom:56px;
	height:50px;
}

.page-id-16  #content-area #main-area article>div>div:nth-child(2) {
	width:100px !important;
}

/*testimonials page */

.testimonial-image-wrapper {
	display:none;
}

#pgc-18-0-0>div:nth-child(2n) .origin-widget{
	background-color:#c9baa3;
}

#pgc-18-0-0>div:nth-child(2n+1) .origin-widget{
	background-color:#eae1d3;
}

#pg-18-0 .origin-widget.origin-widget-testimonial-simple-clean, #pg-18-1 .origin-widget.origin-widget-testimonial-simple-clean {
	border: 2px solid #a38f72;
	box-shadow:6px 6px 15px #222;
}

#pg-18-0 small, #pg-18-1 small {
	color:black;
}

#pg-18-0 #commercial-link {
	text-decoration: underline;
	font-size:14px;
}

#commercial-placeholder {
	text-decoration: none;
	color:black;
}

#pgc-18-1-0>div:nth-child(2n+1) .origin-widget{
	background-color:#c9baa3;
}

#pgc-18-1-0>div:nth-child(2n) .origin-widget{
	background-color:#eae1d3;
}


/*Contact Page */

.page-id-21 #top-area h1.title {
	color:white;
	font-weight: bold !important;
}

 #main-area textarea {
	height:100px;
	width:360px;
}

.page-id-21 #main-header #top-area .title {
	text-shadow:none;
	font-weight: bold;
}

/*How can we help you page */

.page-id-118 a {
	color:white;
	font-weight:400;
}

/* Parallax Scroller */

/*
.bubble1 {
	height: 200px;
	padding: 20px;
	margin: 300px auto 0 40px;
	display: block;
	z-index: 900;
	position:fixed;
	left:0px;
	top:0;
}

.bubble2 {
	height: 110px;
	padding: 20px;
	margin: 160px auto 0 133px;
	display: block;
	z-index: 700;
	position:fixed;
	left:0;
	top:0;
}

.bubble3 {
	height: 150px;
	padding: 20px;
	margin: 390px auto 0 200px;
	display: block;
	z-index: 800;
	position:fixed;
	left:0;
	top:0;
}

NO MORE BUBBLESSSSSSSSSS*/ 

/* ========================= RESPONSIVE CHANGES ============================= */

@media only screen and (max-width: 1350px) {
	#footer-widgets {
		position:relative;
		top:20px;
	}	

	#et-logo img {
    max-height: 80px;
	}

	#pre-footer img {
    	height: 120px;
	}
}

@media only screen and (max-width: 1150px) {
	.et-slider-arrows a {
		margin:0 40px;
	}
	
	body.home #et-logo, #et-logo {
    right: 40px;
    max-height: 60px;
    bottom:20px;
	}

	body.home #top-menu nav, .et-fixed nav, body nav {
		width:1000px;
	}
	.page-id-16 .ze_imagelist {
	width:1000px !important;
	}

}

@media only screen and (max-width: 1050px) {
	.et-slider-area #slider .et-slide {
		display:inline-block;
		float:none;
		margin-right:0;
	}

	.home >section.et-slider-area {
		height:auto;
		padding-bottom: 50px;
	}

	.et-slider-arrows {
		display: none;
	}

	#top-menu>img {
		height:105px;
	}

	body.home #top-menu nav, .et-fixed nav, body nav {
		width:1000px;
		right:120px;
	}

	body.home #et-logo, #et-logo img {
    display:none;
	}

	#content-area table {
		width:800px !important;
	}

	.container {
		width:800px;
	}

	.page-id-16 .ze_imagelist {
	width:900px !important;
	}

	
}

@media only screen and (max-width: 960px) {
	body.home #top-menu nav, .et-fixed nav, body nav {
    right: 30px;
    width: 710px;
	}

	#top-menu a {
		padding:0 6px;
	}

	.et-slide .et-description {
    bottom: 63px;
    position: relative;
    width: 280px;
	}

	#pre-footer img {
	    top: 25px;
	    height:140px;
	}

	#footer-widgets {
		position:relative;
		top:40px;

	}	

	.wpseo-opening-hours td {
		font-size: 12px;
	}

	#top-menu ul.nav > li > a {
    font-size: 14px;
	}

	#content-area table {
		width:700px !important;
	}

	.container {
		width:700px;
	}

	.page-id-16 .ze_imagelist {
	width:700px !important;
	}



}

@media only screen and (max-width: 767px) {
	.opened .et_mobile_menu {
    text-align: left;
    top: 32px;
	}

	.et-main-image {
		display: inline;
	}

	#slider .et-slide .et-description {
		float:none;
		width: auto;
		position:relative;
		top:50px;
	}

	.et-fixed .et_mobile_menu {
    left: auto;
    position: absolute;
    right: -22px;
    top: 28px;
	}

	.home > header {
    height: 358px;
	}

	.mobile-text, .desktop-text  {
		font-weight: 700;
		font-size:18px;
	}

	#content-area table {
		width:450px !important;
		position:relative;
		right:10%;
	}

	#content-area table td {
		padding:5px !important;
	}

	#content-areatable tbody tr th, .package-title,  #content-area table td strong, #content-area table h3{ 
		font-size:12px !important;
	}

	#content-area table h3, .package-title {
		font-weight: bold !important;
	}

	.container {
		width:450px;
	}

	#main-area .text {
		margin-left:0px;
	}
	.page-id-16 .ze_imagelist {
	width:400px !important;
	}
} 

@media only screen and (max-width: 540px) {
		.container {
			width:auto;
		}

		#content-area table {
		width: 350px !important;
		right:17%;
		}

		#content-area table tbody tr th, .package-title, #content-area table td strong, #content-area table h3{ 
		font-size:8px !important;
		}

		#green-check, #red-x {
			height:20px !important;
		}

		#main-footer {
			padding: 0 0 0 10px !important;
		}

		.page-id-16 .ze_imagelist {
	width:400px !important;
	}


}	

@media only screen and (max-width: 480px) {

	.tg-031e, .tg-031e strong {
		font-size:10px !important;
	}

	.page-id-16 .ze_imagelist {
	width:160px !important;
	}
}




iframe.noScrolling{
           width: 100%;
           height: 100%;
           overflow: hidden;
        }