a:link, a:visited {
	text-decoration:underline;
	color:#595856;
	font-weight:400;
}

a:hover, a:active {
	color:#8E0900;
}

p{
	padding:0;
	margin:0 0 15px 0;
	font-size:15px;
	line-height:160%;
	font-weight:300;
}

li {
	padding:0;
	margin:0 0 5px 0;
	font-size:15px;
	line-height:160%;
	font-weight:300;
	font-size:13px;
}

h1, h2, h3, h4, h5, h6{
	padding:0;
	margin:0 0 12px;
	font-size:20px;
	font-weight:bold;
	
}

.mainhead {
	color:#8E0900;
	text-transform:uppercase;
}

.subhead {
	font-size:16px;
	color:#B3B3B3;
	font-weight:400;
}

body {
	background-color:#ffffff;
	margin:0;
	text-align: center;
	color:#000;
	font-family: 'Lato', sans-serif;
	
}

#wrapper {
	margin-left: auto;
    margin-right: auto;
    width:100%;
    max-width:1080px;
    text-align:left;
	position:relative;
	background-color:none;
}

#headerWrapper {
	position:relative;
	width:100%;
	max-width:1080px;
	margin:0 auto;
	z-index:999;
}

#logoimg {
	position:absolute;
	left:0;
	top:15px;
}

#header {
	width:100%;
	position:relative;
	height:109px;
	background-image:url(images/grey_darker.jpg);
	
}

#social .tele {
	float:right;
}
	#social .tele p {
		margin:7px 0 0;
		font-size:20px;
		font-weight:700;
		color:#8E0900;
	}
	
#social {
	position:absolute;
	right:0;
	top:10px;
}

	#social img:hover {
		opacity:0.7;
	}
	
	#social p {
		margin:7px 0 0;
		font-size:20px;
		font-weight:700;
		color:#8E0900;
		text-align:right;
	}

.navWrapper {
	position:relative;
	margin:0 auto;
	width:100%;
	max-width:1080px;
}

#nav {
	position:relative;
	width:100%;
	background:#EAE8E4;
	font-size:13px;
}

#nav ul{
	margin: 10px 0;
	
	float: right;
}
        
#nav ul li{
	display: inline;
	padding:0 10px;
	margin:0;
}

#nav a:link, #nav a:visited {
	text-decoration:none;
	color:#595856;
}

#nav a:hover, #nav a:active {
	color:#8E0900;
	font-weight:400;
}

/*FOR DROPDOWN*/
#navlist
{	margin: 0;
	padding: 0;}

#navlist li
{	
	list-style: none;
	float: left;
	}

#navlist li a
{	display: block;
	margin: 0 1px 0 0;
	padding: 0;
	text-decoration: none;
	}

#navlist li a:hover
{		}

#navlist div
{	position: absolute;
	visibility: hidden;
	margin: 5px 0 0 0;
	padding: 0;
	background: #FFFFFF;
	width:auto;
	border:1px solid #8F8F8F;
	z-index: 121;
	color:#545454;
	}

	#navlist div a
	{	position: relative;
		display: block;
		margin: 0;
		padding: 5px 10px;
		width: auto;
		#fff-space: nowrap;
		text-align: left;
		text-decoration: none;
		background: #FFFFFF;
		font-size:12px;
		}

#navlist div a:hover {	
	background: #B6CC81;
	color: #fff;
}
/*END DROPDOWN*/



#main {
	position:relative;
	padding:0 0px 20px;
}

#interior {
	position:relative;
	margin:25px auto 0;
}

	#interior .side-photo {
		float:left;
		width:30%;
		margin:0 2% 20px 0;
		border:3px solid #AFA7A7;
	}
		#interior .side-photo img {
			width:100%;
		}
	
	#interior .right-info {
		float:left;
		width:65%;
		margin-bottom:20px;
	}

.intro {
	float:left;
	width:35%;
}

.homeboxesContainer {
	position:relative;
	float:right;
	width:65%;
	margin:0 0 20px;
	
}
	.homeboxes {
		float: left;
		position:relative;
    	margin: 0 0 20px 2%;
    	min-height: 220px;
   	 	width: 48%;
		background-image:url(images/grid_beige.png);
	}
	
	.homeboxes p {
		padding:0 10px 10px;
		font-weight:400;
		color:#969696;
		font-size:13px;
	}

.label {
	background:#8E0900;
	
}

	.label h3 {
		color:#fff;
		padding:5px;
	}
	
	.bgone {
		background-image:url(images/icon_commercial.png);
		background-repeat:no-repeat;
		background-position:right bottom;
	}
	.bgtwo {
		background-image:url(images/icon_residential.png);
		background-repeat:no-repeat;
		background-position:right bottom;
	}
	.bgthree {
		background-image:url(images/icon_windows.png);
		background-repeat:no-repeat;
		background-position:right bottom;
	}
	.bgfour {
		background-image:url(images/icon_misc.png);
		background-repeat:no-repeat;
		background-position:right bottom;
	}

.button {
	text-align:center;
	background:#8E0900;
	width:120px;
	position:absolute;
	bottom:12px;
	right:12px;
	border-radius:5px;
	-moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background: linear-gradient(to bottom, #FFD877 0%, #EFB413 100%) repeat scroll 0 0 rgba(0, 0, 0, 0);
    border-color: -moz-use-text-color -moz-use-text-color #F7C23B;
    text-decoration: none;
    
    box-shadow:0px 1px 1px #6D6C69;
}

	.button:hover {
		box-shadow:none;
		-moz-border-bottom-colors: none;
   	 	-moz-border-left-colors: none;
   	 	-moz-border-right-colors: none;
    	-moz-border-top-colors: none;
    	background: linear-gradient(to bottom, #FFD877 0%, #FFD877 100%) repeat scroll 0 0 rgba(0, 0, 0, 0);
    	border-color: -moz-use-text-color -moz-use-text-color #FFD877;
	}
	
	.button p {
		margin:0;padding:4px;
		color:#fff;
	}

#promo{
	position:relative;
}

.red-stripe {
	position:relative;
	width:100%;
	height:35px;
	background:#8E0900;
}
.red-stripe-wrapper {
	width:100%;
	max-width:1080px;
	position:relative;
	margin:0 auto;
	height:35px;
}

.commercial-bg {
	background-image:url(images/icon_commercial.png);
	background-repeat:no-repeat;
	background-position:right bottom;
}

.residential-bg {
	background-image:url(images/icon_residential.png);
	background-repeat:no-repeat;
	background-position:right bottom;
}
.window-bg {
	background-image:url(images/icon_windows.png);
	background-repeat:no-repeat;
	background-position:right bottom;
}
.misc-bg {
	background-image:url(images/icon_misc.png);
	background-repeat:no-repeat;
	background-position:right bottom;
}

.floatleft{
	float:left;
	margin:0 10px 10px 0;
}

.floatright{
	float:right;
	margin:0 0 10px 10px;
}

#footer {
	position:relative;
	background-image:url(images/grey_darker.jpg);
	padding:10px 0;
	border-top:2px solid #EAE8E4;
	clear:both;
}

#footertext{
	position:relative;
	margin:0;
}

#footertext p{
	font-size:11px;
	color:#000;
	margin:0;
	padding:0;
	
}

#footer a:link, #footer a:visited {
	text-decoration:none;
	color:#000;
}

#footer a:hover, #footer a:active {
	color:gray;
}



/* CONTACT */

#formContainer {
    position: relative;  /* Adjust position as needed */
    z-index: 10;         /* Higher z-index ensures it's on top */
    margin-top: 50px;    /* Provide sufficient space from the top or adjust as needed */
}

#imageBehind {
    position: absolute;
    z-index: 1;          /* Lower z-index to keep it behind the form */
}


.side-contact {
	float:left;
	width:28%;
	margin:0 2% 20px 0;
	background: #C9C7C7;
	padding:1%;
}

.side-contact p {
	margin-left:0px;
}

.side-contact ul li {
	list-style-type:none;
	width:99%;
}

.side-contact ul {
	margin: 0; padding: 0;
    left:0;
}


fieldset {
	border:0;
	width:99%;
	margin:0;
	padding:0;
	font-family: 'Lato', sans-serif;
}

label {  
	text-align:left;
	font-size:14px;
}

.formstyle {
	background-color:#fff;
	border:1px solid #000;
	width:99%;
	margin-bottom:10px;
	font-size:13px;
}

.fulltext {
	background-color:#fff;
	border:1px solid #000;
	width:99%;
	height:80px;
	font-size:13px;
	font-family: 'Lato', sans-serif;
}

.submitbutton {
	border:none;
	border-radius:5px;
	margin-top:10px;
	color:#fff;
	padding:6px 12px;
	font-family: 'Lato', sans-serif;
	
	-moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background: linear-gradient(to bottom, #FFD877 0%, #EFB413 100%) repeat scroll 0 0 rgba(0, 0, 0, 0);
    border-color: -moz-use-text-color -moz-use-text-color #F7C23B;
    text-decoration: none;
    
    box-shadow:0px 1px 1px #6D6C69;
}

	.submitbutton: hover {
		box-shadow:none;
		-moz-border-bottom-colors: none;
   	 	-moz-border-left-colors: none;
   	 	-moz-border-right-colors: none;
    	-moz-border-top-colors: none;
    	background: linear-gradient(to bottom, #FFD877 0%, #FFD877 100%) repeat scroll 0 0 rgba(0, 0, 0, 0);
    	border-color: -moz-use-text-color -moz-use-text-color #FFD877;
	}

.formmessage {
	position:relative;
	top:0;
	margin:0; padding:0;
}

.redtext {
	color:red;
	position:relative;
	top:0;
	float:right;
	margin:0; padding:0;
}

#tele-mobile {
	float:left;
	margin:20px 0 0 10px;
	display:none;	
}

	#tele-mobile p{
		font-size: 15px;
		font-weight:500;
	}
	
.errorblurb {
	color:#fff;
	text-transform:uppercase;
	font-weight:700;
}
	
#interior .red {
	color:#8E0900;
	font-size:20px;
}

/*******************************************************************************
 * MENU
 * -----------------------------------------------------------------------------
 */

/* nav-wrap */
	#nav-wrap {
		position: relative;
		display:none;
		font-size:13px;
		text-transform:uppercase;
		width:100%;
		background-color:#EAE8E4;
		text-align:center;
	}
	
		


	/* menu icon */
	#menu-icon, #menu-icon2 {
		color: #595856;

		padding: 5px;
		cursor: pointer;
		display: block; /* show menu icon */
		
		font-weight:bold;
		font-family: 'Lato', sans-serif;
	}
	
	#menu-icon2 {
		width:auto;
		color: #595856;
	}
	
	#menu-icon:hover, #menu-icon2:hover {
		color: #8E0900;
		
	}
	#menu-icon.active, #menu-icon2.active {
		color:#8E0900;
	}
	
	/* main nav */
	#navmobile {
		clear: both;
		position: relative;
		width: 100%;
		z-index: 10000;
		padding: 0 0 2px;
		background: #EAE8E4;
		font-size:10px;
		margin:0;
		
		display: none; /* visibility will be toggled with jquery */
	}
	
	
	#navmobile li, #navmobile2 li {
		clear: both;
		float: none;
		margin: 11px 0;
		list-style:none;
		font-size:11px;
		font-family: 'Lato', sans-serif;
		text-transform:uppercase;
		
	}
	#navmobile a, 
	#navmobile ul a,
	#navmobile2 a, 
	#navmobile2 ul a {
		font: inherit;
		background: none;
		display: inline;
		padding: 0;
		color: #595856;
		border: none;
		text-decoration:none;
	}
	#navmobile a:hover, 
	#navmobile ul a:hover,
	#navmobile2 a:hover, 
	#navmobile2 ul a:hover {
		background: none;
		color: #8E0900;
	}
	
	/* dropdown */
	#navmobile ul, #navmobile2 ul {
		width: 100px;
		position: static;
		display: block;
		border: none;
		background: inherit;
	}
	#navmobile ul li, #navmobile2 ul li {
		margin: 20px 15px 3px 15px;
	}


/**
 * 8.0 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;
}

@media (max-width: 1080px) {
	#main, #interior {
		padding:0 10px 10px;
	}
}

@media (max-width: 700px) {
 	.homeboxesContainer, .intro, #interior .right-info, #interior .side-photo, #interior .side-contact {
 		width:100%;

 	}
}

@media (max-width: 500px) {
	.homeboxes {
		width:100%;
		margin:0 0 20px;
	}
	
	#nav-wrap {
		display:block;
	}
	
	#nav {
		display:none;
	}
	
	#logoimg {
		text-align:center;
		width:100%;
		top: 70px;
	}
	
	#header {
		height:200px;
	}
	
	#tele-mobile {
		display:block;
	}
	
	.nivo-caption {
		visibility:hidden;
	}
	
	#social .tele {
		display:none;
	}
}
