* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

html {
	font-size: 16px;
}

body {
	font-size: 100%;
	background-image: url('../img/background4_reduced.jpg');
	font-family: arial, helvetica, sans-serif;
}

h2 {
	font-size: 180%;
}

h3 {
	font-size: 150%;
}

h4 {
	font-size: 120%;
}

.page {
	min-width: 320px;
	width: 100%;
	min-height: 100vh;
	position: relative;
	padding-bottom: 90px;
}

#mainheader {
	background-color: white;
}

#mainheader a {
	color: #7D7D7D;
	text-decoration: none;
}

#business-header {
	float: left;
	margin-left: 20px;
	width: 300px;
}

#business-header img {
	width: 100%;
	display: block;
}

#contact-header {
	float: right;
	text-align: right;
	margin-top: 10px;
	margin-right: 20px;
}



#nav-header {
	background: #9b9b9b;
	background: -moz-linear-gradient(top, #9b9b9b 0%, #000000 100%);
	background: -webkit-linear-gradient(top, #9b9b9b 0%,#000000 100%);
	background: linear-gradient(to bottom, #9b9b9b 0%,#000000 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9b9b9b', endColorstr='#000000',GradientType=0 );
}

#nav-header span {
	display: none;
}

#nav-header ul {
	list-style-type: none;
	text-align: center;
}

#nav-header ul li {
	display: inline-block;
	border-right: 1px solid white;
}

#nav-header ul li:first-child {
	margin-left: 20px;
}

#nav-header ul li:last-child {
	border: none;
}

#nav-header ul li a {
	display: block;
	text-decoration: none;
	color: white;
	padding: 20px 20px;
}

#nav-header ul li a:hover {
	background-color: #C6C6C6;
	color: black;
}

#nav-header ul li a.current {
	background-color: white;
	color: black;
}

.content {
	width: 80%;
	margin: 20px auto;
}

.content-page { 
	background-color: white;
	padding: 20px;
}

/*================Home==============
===================================*/

.home {

}

#home {
	text-align: center;
}

#slider {
	position: relative;
	width: 60%;
	margin: 20px auto;
}

#slider img {
	width: 100%;
    position: absolute;
    opacity: 0;
    height: 0;
    transition: 3s ease-out;
}

#slider img.active_mainslide {
    position: relative;
    opacity: 1;
    height: auto;
}

#slider_indicators {
	text-align: center;
	margin: 10px;
}

.slider_indicator {
	width: 15px;
	height: 15px;
	background-color: white;
	display: inline-block;
	border-radius: 50%;
	box-sizing: border-box;
}

.slider_indicator.active_indicator {
	background-color: red;
}

.slider_indicator:hover {
	border: none;
	cursor: pointer;
	border: 1px solid black;
}

section#main_section {
	background-color: #E6E6E6;
	width: 80%;
	margin: 0 auto 20px auto;
	padding: 20px;
}

#home h2 {
	margin: 10px 0;
}

#home h3 {
	margin: 10px 0;
	font-style: italic;
}

/*=======================About==================
===============================================*/

#about h2 {
	margin: 0 0 20px 0;
}

#about img {
	float: right;
	width: 30%;
	margin: 0 0 20px 20px;
	min-width: 125px;
}
#about p {
	margin: 10px 0;
	line-height: 1.2;
}

/*=======================Styles==================
===============================================*/

#styles h2 {
	margin: 0 0 20px 0;
}

#styles img {
	width: 100%;
	display: block;
}

#styles p {
	margin: 10px 0;
	line-height: 1.2;
}

/*=======================Options==================
===============================================*/

#options h2 {
	margin: 0 0 20px 0;
}

#options img {
	float: right;
	width: 30%;
	margin: 0 0 20px 20px;
}

#options ul {

}

#options ul li {
	margin: 10px 20px;
}

/*=======================Gallery==================
===============================================*/

#gallery h2 {
	margin: 0 0 20px 0;
}

#gallery p {
	margin: 10px 0;
	line-height: 1.2;
}

#gallery .gallery {
	text-align: center;
}

#gallery .custom_door_gallery {
	display: inline-block;
	width: 140px;
	height: 140px;
	margin: 20px;
	padding: 20px;
	border: 1px solid grey;
}

#gallery .custom_door_gallery img {
	width: 100px;
	height: 100px;
	display: block;
}

/*=======================Installations==================
===============================================*/

#installations h2 {
	margin: 0 0 20px 0;
}

#installations img {
	float: right;
	width: 30%;
	margin: 0 0 20px 20px;
}
#installations p {
	margin: 10px 0;
	line-height: 1.2;
}

#installations p span {
	font-weight: bold;
	font-size: 110%;
	text-transform: uppercase;
}

/*=======================Contact=================
===============================================*/

#contact h2 {
	margin: 0 0 20px 0;
	text-align: left;
}

#contact #contact_info {
	border-bottom: 1px solid grey;
	padding-bottom: 50px;
	text-align: center;
}

#contact #contact_info div {
	width: 49%;
	display: inline-block;
	vertical-align: top;
	min-width: 200px;
}

#contact #contact_info h2 + div {
	/*margin-right: 50px;*/
}

#contact #contact_info div p {
	margin: 10px 0;
	text-align: left;
}

#contact #contact_info div img {
	width: 100%;
}

#contact #contact_form {
	margin: 50px 0;
}

#contact #contact_form #contact_inputs > div {
	width: 49%;
	display: inline-block;
	margin: 10px 0;
	text-align: center;
}

#contact #contact_form #contact_inputs > div > div {
	width: 60%;
	margin: 0 auto;
	display: none;
}

#contact #contact_form #contact_inputs input {
	display: block;
	width: 60%;
	margin: 0 auto;
}

#contact #contact_form #checkboxes div {
	margin: 20px;
}

#contact #contact_form #checkboxes h4 {
	margin: 20px 0;
}

#contact #contact_form #checkboxes .error {
	display: none;
}

#contact #contact_form #checkboxes label {
	min-width: 150px;
	display: inline-block;
}

#contact #contact_form #checkboxes input {
	margin: 0 0 0 10px;
	vertical-align: middle;
}

#contact #contact_form #message {
	margin: 40px 0 20px 0;
}

#contact #contact_form #message textarea {
	display: block;
	margin: 0 auto;
	width: 80%;
	min-height: 100px;
}

#contact #contact_form #message > div {
	width: 80%;
	display: none;
	margin: 0 auto;
}

#contact #contact_form #sub_res {
	text-align: center;
}

#contact #contact_form #sub_res input {
	width: auto;
	padding: 10px 20px;
	display: inline-block;
	margin: 20px;
}

#contact_modal {
	display: none;
	width: 300px;
	position: absolute;
	background-color: white;
	border: 1px solid black;
	padding: 30px;
}

#contact_modal div {
	text-align: center;
}

/*=======================Footer==================
===============================================*/

footer {
	width: 100%;
	background-color: #E6E6E6;
	padding: 20px;
	position: absolute;
	bottom: 0;
}

footer p {
	float: left;
	margin-top: 15px;
}

footer img {
	float: right;
	height: 50px;
}

/*======================Colors=================
=============================================*/
.red_button:hover {
	border:1px solid #b30808;
	
	background-color: #e40a0a; 
	background-image: -webkit-gradient(linear, left top, left bottom, from(#e40a0a), to(#9f0202));
	background-image: -webkit-linear-gradient(top, #e40a0a, #9f0202);
	background-image: -moz-linear-gradient(top, #e40a0a, #9f0202);
	background-image: -ms-linear-gradient(top, #e40a0a, #9f0202);
	background-image: -o-linear-gradient(top, #e40a0a, #9f0202);
	background-image: linear-gradient(to bottom, #e40a0a, #9f0202);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#e40a0a, endColorstr=#9f0202);

	
}

.red_button {
	color: #FFFFFF;
	text-decoration:none;
	border: 1px solid #df0909;
	background-color: #f62b2b; 
	background-image: -webkit-gradient(linear, left top, left bottom, from(#f62b2b), to(#d20202));
	background-image: -webkit-linear-gradient(top, #f62b2b, #d20202);
	background-image: -moz-linear-gradient(top, #f62b2b, #d20202);
	background-image: -ms-linear-gradient(top, #f62b2b, #d20202);
	background-image: -o-linear-gradient(top, #f62b2b, #d20202);
	background-image: linear-gradient(to bottom, #f62b2b, #d20202);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#f62b2b, endColorstr=#d20202);
	

}


/*======================Buttons=================
===============================================*/

#consult_button {
	display: inline-block;
	border-radius: 10px;
	padding: 20px 40px;
	margin: 50px 0;
	text-decoration: none;
	font-size: 1.2em;
	font-family: arial, helvetica, sans-serif;
	text-shadow: -1px -1px 0 rgba(0,0,0,0.3);
	font-weight: bold;	
}

#consult_button span {
	text-transform: uppercase;
}

/*====================================================
===================Errors===========================*/
.error {
	background-color: red;
	color: white;
	padding: 2px;
}


.clear {
	clear: both;
}

/*======================================================
========================================================
===============Media Queries============================
========================================================
======================================================*/

/*at 1100px width*/
@media only screen and (max-width: 1100px) {
	#slider {
		width: 70%;
	}
}
/*at 940px width*/
@media only screen and (max-width: 940px) {
	#slider  h2 {
		font-size: 150%;
	}
	#slider  h3 {
		font-size: 120%;
	}
}

/*at 768px width*/
@media only screen and (max-width: 768px) {
	h2 {
		font-size: 150%;
	}

	h3 {
		font-size: 120%;
	}

	h4 {
		font-size: 100%;
	}

	#business-header {
		width: 250px;
	}

    #nav-header ul li a {
    	padding: 15px 15px;
    	font-size: 80%;
    }

    #slider {
		width: 80%;
	}

	#slider h2 {
		font-size: 120%
	}

	#slider h3 {
		font-size: 100%;
	}
}

/*at 640px width*/
@media only screen and (max-width: 640px) {
	h2 {
		font-size: 120%;
	}

	h3 {
		font-size: 100%;
	}

	h4 {
		font-size: 80%;
	}

	#business-header {
		width: 200px;
	}

	#nav-header ul li a {
    	padding: 10px 10px;
    	font-size: 70%;
    }
    #slider {
    	width: 100%;
    }

    #slider h2 {
    	font-size: 100%;
    	margin: 5px;
    }

    #slider h3 {
    	font-size: 80%;
    	margin: 5px;
    }
    #gallery .gallery .custom_door_gallery {
    	margin: 10px;
    	padding: 10px;
    	height: 120px;
    	width: 120px;
    }
}

/*at 440px width*/
	@media only screen and (max-width: 460px) {

		#business-header {
			float: none;
			margin: 0 auto;
		}

		#contact-header {
			float: none;
			text-align: center;
			margin: 0;
		}

	    #nav-header ul {
	    	display: none;
	    }

	    #nav-header ul li {
	    	display: block;
	    	font-size: 100%;
	    	border-right: none;
	    	border-bottom: 1px solid white;
	    }

	    #nav-header ul li:first-child {
	    	margin-left: 0;
	    }

	    #nav-header span a {
			text-decoration: none;
			color: white;
		}

	    #nav-header span {
			display: inline-block;
			font-size: 200%;
			padding: 5px;
			margin-left: 10px;
		}

		#slider h2 {
	    	margin: 0 0 5px 0;
	    }

	    #slider h3 {
	    	font-size: 80%;
	    	margin: 5px 0 0 0;
	    }

	    #gallery .gallery .custom_door_gallery {
	    	width: 50px;
	    	height: 50px;
	    	margin: 5px;
	    }

	    #gallery .gallery .custom_door_gallery img {
	    	width: 40px;
	    	height: 40px;
	    }

	}