/*
Theme Name: Belleview Custom Homes Website Template
Theme URI: http://www.belleviewcustomhomes.com
Description: WordPress theme for Belleview Custom Homes of Burlington/Milton/Oakville.
Author: Dion Rodrigues
Author URI: http://www.dionrodrigues.com
Version: 1.0
Tags: 
 
*/

/*** GLOBAL STYLES ***/
html
{
	margin: 0;
	padding: 0;
}
body
{
	background: #fff;
	margin: 0;
	padding: 0;
	height: 100%;
	font-family: 'Open Sans', sans-serif;
}
.clear {
	clear: both;
}
p {
	
}
a {
	color: #00324c;
}
h1 {
	
}
h2 {
	
}
h3 {
	
}
h4 {
	
}
.button, a, img, .button, input {
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}
.button {
	width: 150px;
	display: block;
	margin: 0 auto;
	text-align: center;
	padding: 1% 2%;
	text-decoration: none !important;
	text-transform: uppercase;
	font-weight: 900;
}
.button.black {
	background: #000;
	color: #fff;
}
.button:hover {
	opacity: 0.7;
}
/*** HEADER ***/

header {
	width: 100%;
	background: rgba(0, 0, 0, .95);
	margin: 0;
	padding: 0;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 160px;
	z-index: 2;
}
header .social {
	width: 20%;
	display: block;
	float: right;
	text-align: center;
}
header .social ul, header .social ul li, header .nav ul, header .nav ul li {
	list-style: none;
	list-style-type: none;
}
header .social ul li {
	display: block;
	width: 33%;
	float: left;
	text-align: center;
}
header .logo {
	width: 25%;
	display: block;
	float: left;
}

header .nav {
	display: block;
	width: 75%;
	float: right;
}

header .nav ul li {
	display: block;
	width: auto;
	padding: 3% 1.5%;
	float: left;
	text-transform: uppercase;
}
header .nav ul li a {
	font-size: 14px !important;
	color: #fff;
	text-decoration: none !important;
}
header .nav ul li a:hover {
	color: #c9c9c9 !important;
}


/*** MAIN ***/

.header-clear {
	height: 100px;
	display: inline-block;
	width: 100%;
	clear: both;
	position: relative;
}

.content {
	max-width: 1400px;
}
.content .sep-line {
	background: #00324c;
	display: block;
	height: 3px;
	margin: 15px 0;
	width: 20%;
}
.container {
	max-width: 100%;
	display: block;
	margin: 0 auto;
	position: relative;
}

.col-container {
	display: flex;
	flex-direction: row;
}

.col-container .col {
	width: 29%;
	padding: 1%;
	margin: 1%;
}

.content.homepage, .content.whatwedo, .content.gallery, .content.innerpages {
	background: #fff;
	padding: 2% 3%;
	display: block;
	margin: 0 auto;
	margin-top: 3%;
	margin-bottom: 3%;
	max-width: 80%;
	text-align: left;
	font-size: 1.1em;
	color: #000;
}
.container.grey, .content.whatwedo {
	background: #f6f6f6;
}
.content.homepage h1, .content.whatwedo h1, .content.gallery h1, .content.innerpages h1 {
	font-size: 1.6em;
	font-weight: 900 !important;
	text-transform: uppercase;
	padding: 0;
	margin: 0;
}
.Collage img {
	padding: 6px;
	vertical-align: bottom;
}
.am-container {
	margin-top: 2%;
}
.am-wrapper{
	float:left;
	position:relative;
	overflow:hidden;
}
.am-wrapper img{
	position:absolute;
	outline:none;
}
.content.homepage p {
	font-weight: 100 !important;
}
.content.whatwedo span {
	display: block;
	width: 200px;
	height: 200px;
	border-radius: 50%;
	background: transparent !important;
	color: #fff;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	line-height: 200px;
}
.content.whatwedo h3 {
	font-weight: 900;
	text-align: center;
	text-transform: uppercase;
	font-size: 1.1em;
}
.content.whatwedo p {
	font-size: 0.9em;
}
.content.whatwedo span img:hover {
	transform: scale(1.03);
}
.content.innerpages .page-content {
	display: inline;
	width: 66%;
	float: left;
	text-align: left;
}
.content.innerpages .page-content a.btn {
	display: inline;
	padding: 5px 10px;
	background: black;
	color: white;
	text-align:center;
	width: auto;
	text-decoration: none;
	font-size: 17px;	
	font-weight: bold;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
	width: 150px;
	text-align: center;
	padding: 1% 3%;
	text-decoration: none !important;
	text-transform: uppercase;
	font-weight: 900;
}
.content.innerpages .page-content a.btn:hover {
	opacity: 0.7;
}
.content.innerpages .page-image {
	display: inline;
	float: right;
	margin-left: 2%;
	padding-left: 2%;
	width: 30%;
	height: 300px;
	max-height: 300px;
}
.content.innerpages .page-image img {
	width: auto;
	height: 100%;
	text-align: center;
	display: block;
	margin: 0 auto;
}
.content.innerpages .page-image-mobile {
	display: none;
}
.banner {
	width: 100%;
	display: block;
	position: relative;
	clear: both;
	background-size: cover;
	background-repeat: no-repeat;
	padding: 0;
	margin: 0;
	background-position: center center;
}
.banner.home {
	height: 50%;
	min-height: 50%;
	padding-top: 0px;
}
.banner .image-thumbs {
	position: absolute;
	bottom: 25px;
	left: 50%;
	right: 50%;
	width: 50%;
	margin-left: -25%;
	display: block;
	height: 100px;
}
.banner .image-thumbs img {
	width: 20%;
	margin-left: 2.5%;
	margin-right: 2.5%;
	height: 100px;
}
.banner.home img {
	width: 100%;
	height: auto;
	margin-top: 0;
	padding-top: 0;
}
.banner.home h3.banner-title {
	position: absolute;
	bottom: 0%;
	margin: 0;
	padding: 0;
	left: 0%;
	padding-bottom: 10px;
	padding-top: 10px;
	padding-left: 1%;
	padding-right: 1%;
	background: rgba(0, 0, 0, .75);
	width: 98%;
	color: #fff !important;
	font-size: 2.1em;
	text-shadow: 1px 2px 3px #000;
	text-transform: uppercase !important;
}

/*** NAV BAR ***/

main {
  background-color: rgba(0,0,0,0.9);
  border-bottom: 1px solid #d9d9d9;
  position: fixed;
  top: 0;
  width: 100%;
  height: 125px;
  z-index: 10;
}
main .container {
	width: 100%;
	max-width: 1400px;
	height: 100%;
	overflow: auto;
	margin: auto;
	position: absolute;
	top: 0; left: 0; bottom: 0; right: 0;
}
main .logo {
	display: block;
	width: 20%;
	float: left;
}
main .logo img {
	max-width: 90%;
	margin-top: 2%;
}
main .mobilenav {
	display: none;
}
main .mobilenavcontent {
	display: none;
}
main #navBar {
	width: 80%;
	display: block;
	float: right;
	margin-top: 1.5%;
}
main nav ul, main nav ul li {
	list-style: none;
	list-style-type: none;
} 
main nav ul {
	width: 100%;
	-webkit-margin-before: 0em;
	-webkit-margin-after: 0em;
	-webkit-margin-start: 0px;
	-webkit-margin-end: 0px;
	-webkit-padding-start: 0px;
}
main nav ul li {
	
}
main nav ul li a {
	display: block;
	width: 12%;
	padding: 2% 2%;
	text-transform: uppercase;
	float: left;
	text-align: center;
	font-weight: 900;
	text-decoration: none;
	color: #fff;
	display: block;
}
main nav ul li a:hover {
	opacity: 0.7;
	background: #505050;
}
.collapse {
  -webkit-animation: collapse .5s ease forwards;
          animation: collapse .5s ease forwards;
}
.open {
  -webkit-animation: open .5s ease forwards;
          animation: open .5s ease forwards;
}

/*** FOOTER ***/

footer {
	width: 100%;
	background: rgba(0, 0, 0, .95);
	margin: 0;
	padding: 0;
	color: #fff;
}
footer a:link, footer a:active, footer a:visited{
	color: #fff;
}
footer a:hover {
	color: #fff;
	opacity: 0.7;
}
footer .col.wider {
	width: 36%;
}
footer .col.short {
	width: 32%;
}
footer .col h3 {
	font-size: 1.4em;
}
footer .col h3, footer .col p {
	font-weight: 400;
}
footer .col p strong {
	font-weight: 700;
}
footer .col img {
	max-width: 60%;
	display: block;
	margin: 0 auto;
	text-align: center;
	margin-top: 5%;
}
footer ul.social {
	margin: 0;
	padding: 0;
}
footer ul.social li {
	list-style: none;
	list-style-type: none;
	display: block;
	width: 20%;
	float: left;
	text-align: center;
}
footer ul.social li img {
	max-width: 60%;
	height: auto;
}
footer ul.social li img:hover {
	cursor: pointer;
	opacity: 0.8;
}
footer .copyright {
	padding: 2%;
	color: #fff;
	font-size: 12px;
	text-align: center;
}

/*** FORMS ***/

form.wpcf7-form {
	max-width: 80%;
	display: block;
	clear: both;
}

form.wpcf7-form label {
	display: block;
	width: 100%;
	clear: both;
}

footer form input, footer form textarea, form.wpcf7-form input, form.wpcf7-form textarea {
	display: block;
	width: 80%;
	margin-left: 2%;
	margin-bottom: 10px;
	float: left;
	clear: both;
	box-sizing: border-box;
	padding: 1% 2%;
	border-radius: 6px;
	border: 0;
}
form.wpcf7-form input, form.wpcf7-form textarea {
	border: 1px solid #d9d9d9;
	margin-left: 0%;
	width: 100%;
}
form input[type="submit"]:hover {
	cursor: pointer;
	opacity: 0.8;
}
footer form textarea {
	min-height: 100px;
}
footer form input[type="submit"], form.wpcf7-form input[type="submit"] {
	width: 35%;
	border: 0;
	background: #00324c;
	color: #fff;
	font-size: 14px;
	font-weight: 900;
}
form.wpcf7-form span.req {
	display: block;
	float: right;
	font-size: 10px;
	color: #ff0000;
	text-align: right;
	width: auto;
}

/*** ANIMATIONS ***/

@-webkit-keyframes collapse {
  from {
    opacity: 1;
    top: 0;
  }
  to {
    opacity: 0;
    top: -73px;
  }
}
@keyframes collapse {
  from {
    opacity: 1;
    top: 0;
  }
  to {
    opacity: 0;
    top: -73px;
  }
}
@-webkit-keyframes open {
  from {
    opacity: 0;
    top: -73px;
  }
  to {
    opacity: 1;
    top: 0;
  }
}
@keyframes open {
  from {
    opacity: 0;
    top: -73px;
  }
  to {
    opacity: 1;
    top: 0;
  }
}

/*** mobile styles ***/ 

@media (max-width: 767px) {
	main {
		overflow: visible;
	}
	main .container {
		overflow: visible;
	}
	.header-clear {
		height: 30px;
	}
	header, main {
		position: relative;
		height: 105px;
	}
	.button {
		margin-bottom: 5%;
	}
	main .logo {
		width: 60%;
		margin-left: 3%;
		margin-top: 1%;
		float: left;
	}
	main .logo img {
		max-width: 75%;
	}
	main #navBar {
		display: none;
	}
	main .mobilenav {
		display: block;
		width: 20%;
		float: right;
		margin-right: 1%;
		text-align: right;
		padding-right: 1%;
	}
	main .mobilenavcontent.open {
		display: block;
		height: 500px;
		background: rgba(0,0,0,0.92);
		position: relative;
		z-index: 2;
		margin-top: 20%;
	}
	main .mobilenavcontent.open ul {
		list-style: none;
		list-style-type: none;
		-webkit-margin-before: 0em;
		-webkit-margin-after: 0em;
		-webkit-margin-start: 0px;
		-webkit-margin-end: 0px;
		-webkit-padding-start: 0px;
	}
	main .mobilenavcontent.open ul li {
		width: 90%;
		padding-left: 5%;
		padding-right: 5%;
		text-align: center;
		font-size: 20px;
		color: #fff;
		margin-bottom: 1%;
		list-style: none;
		list-style-type: none;
		padding-top: 5%;
	}
	main .mobilenavcontent.open ul li a {
		color: #fff;
		text-align: center;
		text-transform: uppercase;
		text-decoration: none;
		font-weight: 900;
	}
	main .mobilenav img {
		max-width: 30px;
		margin-top: 25px;
	}
	.col-container {
		display: block;
	}
	.col-container .col, footer .col.wider, footer .col.short {
		width: 98%;
		float: none;
		clear: both;
		margin-top: 5%;
		margin-bottom: 5%;
	}
	.content.whatwedo span {
		height: 150px;
	}
	.content.innerpages .page-content {
		float: none;
		width: 100%;
		clear: both;
		margin: 0;
		padding: 0;
		word-wrap: break-word;
	}
	.content.innerpages .page-image {
		display: none;
	}
	.content.innerpages .page-image-mobile {
		display: block;
		width: 100%;
		clear: both;
		float: none;
		text-align: center;
		height: 250px;
		overflow: hidden;
		margin: 0;
		padding: 0;
	}
	.content.innerpages .page-image-mobile img {
		max-height: 120%;
		width: auto;
	}
	footer .copyright {
		padding: 2% 5% 10%;
		font-size: 10px;
	}
	footer form input, footer form textarea, form.wpcf7-form input, form.wpcf7-form textarea, form.wpcf7-form {
		width: 98%;
		max-width: 98%;
		margin: 1%;
	}
	footer form input[type="submit"], form.wpcf7-form input[type="submit"] {
		width: 50%;
	}
}

@media (max-width: 321px) {
	main {
		height: 85px;
	}
}

@media (min-width: 768px) and (max-width: 801px) {
	main {
		height: 80px;
	}
	main nav ul li a {
		padding: 1%;
		font-size: 9px;
	}
}