/* 
  ------------------------------------------------
  PVII Affinity
  Copyright (c) 2013 Project Seven Development
  www.projectseven.com
  01: 1 Col Flex
  ------------------------------------------------
*/

body {
	font-family: "Segoe UI", Optima, Helvetica, Arial, sans-serif;
	color: #000;
	background-color: #404040;
	background-image: url(../img/backgrounds/auckland-city-and-harbour-1.jpg);
	  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
	margin: 0px;
	padding: 0px;
	font-size: 1em;
	/*padding-bottom: 4em;*/
}
img {
	vertical-align: bottom;
}
.masthead {
	padding: 10px 50px;
	/*text-align: left;*/
	background-color: rgb(203,203,150);
	position: relative;
	z-index: 10;
	box-shadow: 0px 0px 30px #000;
}

.masthead-inner {max-width: 900px;
	margin: 0 auto;
}

.content-wrapper {
	/* margin: 4em 1.25em 0em 1.25em; */
	margin: 2em auto 3em auto;
	overflow: hidden;
	background-color:#FFF;
	max-width:1100px;
	/* padding-top: 2em; */
}
.columns-wrapper {
	overflow: hidden;
	background-color: #FFF;
	position: relative;
}
.columns-wrapper, .menu-top-wrapper {
	max-width: 1000px;
	margin: auto;
}

.main-content .content{
	padding: 30px;
	font-size: 1em;
	line-height: 1.5em;
	border: 1px solid;
	border-radius: 5px;
	border-color: #666;
	margin-top: 4em;
}

.main-content .content2{
	padding: 30px;
	padding-top: 350px;
	font-size: 1em;
	line-height: 1.5em;
	border: 1px solid;
	border-radius: 5px;
	border-color: #666;
	background-image:url(../img/auckland_skyline_1.jpg);
	background-repeat: no-repeat;
	background-position:center top
	
}

/*Heading styles*/
h1, h2, h3, h4 {
	margin: 30px 0px 0px 0px;
	font-family: Federo, "Segoe UI", Optima, Helvetica, Arial, sans-serif;
	font-weight: normal;
}
h1 { font-size: 1.5em; }
h2 { font-size: 1.35em; color:#003399; }
h3 { font-size: 1.25em; }
h4 { font-size: 1.1em; }

/*A utility rule assigned to the first heading to remove top margins.*/
.content h1:first-child,
.content h2:first-child,
.content h3:first-child,
.content h4:first-child {
	margin-top: 0px;
}


/*Make Image Scalable - Assign this class to any image to make it scale with the browser window size*/
img.scalable {
	height: auto !important;
	width: auto !important;
	max-width: 100%;
	border-radius: 5px;
}

/* 
Add the fancy class to the scalable class to add a drop shadow
<img class="scalable fancy"...>
*/
.fancy {
	border: 1px solid rgba(255,255,255,.5);
	box-shadow: 0px 0px 20px rgba(0,0,0,.5);
}
/* 
Add the accented class to the scalable class to add eounded corners and a border.
<img class="scalable accented"...>
*/
.accented {
	border-radius: 5px;
	border: 1px solid #222;
}
.sidebar ul, .sidebar ol, .sidebar2 ul, .sidebar2 ol {
	margin: 0 0 0 .5em;
	padding: 0 0 0 .5em;
	line-height: normal;
}
.sidebar li, .sidebar2 li { 
	margin-bottom: 4px; 
}

/*Ordinary Link Styles*/
.content a {
	color: #002953;
	text-decoration: none;
	border-bottom-width: 1px;
	border-bottom-style: dotted;
}
.content a:hover, .content a:focus {
	color: #000;
	border-bottom-style: solid;
}
.footer a {
	color: #8C8C8C;
}
.footer a:hover, .footer a:focus { color: #FFF; }


/*The DIVs that contains the horizontal menu bar at the top of your page.*/
.menu-top-wrapper .p7DMM01 {
	background-color: transparent;
	border: none;
	box-shadow: none;
}
.top-navigation {
	background-color: #7BA4C1;
	border-bottom: 1px solid #FFF;
	box-shadow: 0px 0px 30px #999;
	position: relative;
	z-index: 9;
}
.top-navigation:after {
	content: "\0020";
	font-size: 0px;
	display: inline;
	overflow: hidden;
	line-height: 0;
	clear: both;
}

/*Default Row Structures*/
.affinity-row {
	padding: 0px;
}
/*This rule assigns a gray gradient background to every other row*/
/*.affinity-row:nth-child(even) {
	background-color: #EEE;
	background-image: linear-gradient(#EEE, #CCC);
}*/
/*Turns off the Background for Nested Rows*/
.affinity-row .affinity-row:nth-child(even) {
	background-color: transparent;
	background-image: none;
	background-image: none;
}

/*Turns off the Background*/
.affinity-row.nobackground {
	background-color: transparent;
	background-image: none;
	background-image: none;
}
/*Clear Fix to Clear Floats*/
.affinity-row:after {
	visibility: hidden;
	display: block;
	content: "\0020";
	clear: both;
	height: 0;
}

/*Strctural wrapper for 2-column row*/
.affinity-row .column-half {
	width: 50%;
	float: left;
}

/*Strctural wrapper for 3-column row*/
.affinity-row .column-third {
	width: 33.3333333%;
	float: left;
}
/*Strctural wrapper for 4-column row*/
.affinity-row .column-fourth {
	width: 25%;
	float: left;
}
/*Strctural wrapper for 5-column row*/
.affinity-row .column-fifth {
	width: 20%;
	float: left;
}

/*Column Content*/
.column-content {
	line-height: 1.35;
	padding: 15px 24px;
}
.affinity-row.sidebar-right .column-content,
.affinity-row.sidebar-left .column-content,
.affinity-row.thirds.full-height .column-content {
	padding: 30px;
}


/*The Footer*/
.footer {
	background-color: #222;
	box-shadow: inset 0px 16px 2px rgba(255,255,255,.025);
	border-top: 1px solid #000;
	padding: 15px 15px;
	font-size: 0.7em;
	color: #8C8C8C;
	text-align: center;
	clear: both;
	position: fixed;
	z-index: 999;
	top: auto;
	bottom: 0px;
	width: 100%;
}
.footer p.copyright {
	text-transform: uppercase;
	margin: 0px;
}

/* Added styles for Wilford Electrical */

.we-wrapper-02 {background-color:#FFFFFF;}

.we-p1 {
	margin-top: 0;
	margin-bottom: 0;
	line-height: 1.6;
}
.we-b {font-weight: bold;}

.we-borderbottom {border-bottom: 2px solid rgba(204,204,204,1);
	padding-bottom: 20px;
	margin-bottom: 20px;}

.we-footer {
	background-color: #fff;
	box-shadow: inset 0px 16px 2px rgba(255,255,255,.025);
	/*border-top: 1px solid #000;*/
	padding: 15px 15px;
	margin-top: 10px;
	font-size: 0.7em;
	color: #8C8C8C;
	text-align: center;
	/*clear: both;*/
}

.we-center {text-align:center;}

.we-ssl {margin: 0 20px;}
.we-mel {margin: 0 20px;}

.we-header-info {font-size: 1.2em;
	font-weight: bold;
}

.we-spacer {padding-bottom: 30px;}

.we-pad-toptext {padding-left: 40px;
	padding-top: 10px;}

.we-imagecenter {margin: 0 auto;}

.we-nolinkdeco {
	text-decoration: none !important;
	border-bottom-width: 0 !important;
	border-bottom-style: none !important;
}

.we-paddleft {padding-left: 40px;}

.we-smallimg {margin-left: 40px;
	float:right;}

dd {color: #666633;}

.float-left {float:left;}
.float-right {float:right;}

.clearfix:before,
.clearfix:after {
  content: ".";    
  display: block;    
  height: 0;    
  overflow: hidden;	
}
.clearfix:after {clear: both;}
.clearfix {zoom: 1;} /* IE < 8 */


/*1 Column for Narrow Browser Windows and Smartphones in both orientations*/
@media only screen and (min-width: 0px) and (max-width: 700px) {
body {
	padding-bottom: 0px;
}
.footer {
	position: static;
	width: auto;
}
.content-wrapper, .columns-wrapper {margin: 0px; border: none;}
.main-content .content {
	padding: 20px 10px;
	border: none;
	margin-top: 1em;
}
.p7DMM01 ul a, .p7DMM01 ul a:hover, .p7DMM01 ul a:focus, .p7DMM01 ul a.open {
	border-bottom: 1px solid !important;
	border-color: #89AEC9 !important;
}
.p7DMM01 ul li:last-child a {
	border-bottom: none !important;
}

.column, .column-1, .column-2, .column-3,
.column-half, .column-third, .column-fourth,
.column-fifth {
	float: none !important;
	width: auto !important;
}
.column-content {
	height: auto !important;
	max-height: 888678px;
	border: none !important;
}

.column-content p{
	text-align: center;}
	
.we-header-info {font-size: .8em;
	}
	
.we-pad-toptext {padding-left: 20px;
	padding-top: 0;}
	
.we-smallimg {margin:auto;
	float:none;
	text-align:center;
	}

}
/*Medium windows - reduce padding content padding*/
@media only screen and (min-width: 700px) and (max-width: 1280px) {
.main-content .content {padding: 10px 20px;}
.top-navigation {padding: 0px 10px;}
.content-wrapper {margin-left: 10px; margin-right: 10px;}

}




