/* 
  ------------------------------------------------
  PVII Affinity
  Copyright (c) 2013 Project Seven Development
  www.projectseven.com
  01: 1 Col Flex
  ------------------------------------------------
*/
html, body { 
    width:100%;
    height: 100%;
}

body {
	font-family: Verdana, Arial, sans-serif;
	/*font-family: 'Molengo', Verdana, Arial, sans-serif;*/
	color: #333333;
	background: #CCCCCC url(../images/seamless2.jpg) top left repeat-x;
	margin: 0px;
	padding: 0px;
	font-size: 1em;
}



img {
	/*vertical-align: bottom;*/
}
.masthead {
	padding: 0px 30px 0px 10px;
	text-align: left;
	position: relative;
	overflow:hidden;
	/*box-shadow: 0px 0px 30px #000;*/
}

.masthead-address {
	float: right;
	visibility:visible;
	
}

.masthead h1
{
font-size: 14px;
text-align: right;
color: #666666;
font-weight:normal;
line-height: 140%;
}

.content-wrapper {
	padding: 0em 1.25em 1.25em 1.25em;
	overflow: hidden;
	
}
.columns-wrapper {
	overflow: hidden;
	background-color: #FFF;
	position: relative;
	-webkit-box-shadow: 0px 0px 19px 5px rgba(51,51,51,0.55);
-moz-box-shadow: 0px 0px 19px 5px rgba(51,51,51,0.55);
box-shadow: 0px 0px 19px 5px rgba(51,51,51,0.55);
}
.columns-wrapper, .menu-top-wrapper, .masthead {
	max-width: 960px;
	margin: auto;
}

.buttons-content{
	margin: 0em 1.25em 0em 1.25em;


}

/*.main-content-wide{
	margin: 0em 1.25em 0em 1.25em;
}

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

.main-content {
	float: left;
	width: 64%;
	margin-right: 1%;

}

.main-content .content, .main-content-wide .content{
	padding: 10px ;
	font-size: .95em;
	line-height: 1.5em;
}


.sidebar {
	width: 35%;
	float: left;
	border-left: thin #999999 dashed;
}

.sidebar .content {
	padding: 10px;
	font-size: .95em;
	line-height: 1.5em;


}
.sidebar .content p{
	padding: 10px 0px 10px 0px;
	margin: 0;
	font-size: .95em;

}

.sidebar .content-about {
	padding: 0px 15px 0px 15px;
	font-size: .95em;
	line-height: 1.5em;


}


/*Heading styles*/
h1, h3, h4 {
	margin: 15px 0px 0px 0px;
	font-weight: normal;
	line-height: 1.5em;
}
h2 {
	margin: 5px 0px 0px 0px;
	font-weight: normal;
	text-align:center;
}
h1 { font-size: 1.35em; 
	text-align:center;}
h2 { font-size: 1.25em; }
h3 { font-size: 1.2em; 
	text-align:center;}
h4 { font-size: 1.1em; 
	text-align:left;}

.top-navigation h1{
	font-size: 1.1em;
	padding: 10px 8px;
	text-align:center;
	margin: 0px;
}

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

img.shadow {
	height: auto !important;
	width: auto !important;
	max-width: 100%;
	/*border-radius: 5px;
	margin: 10px;*/
	-webkit-box-shadow: 0px 0px 10px 5px rgba(40,40,40,0.3);
-moz-box-shadow: 0px 0px 10px 5px rgba(41,41,41,0.3);
box-shadow: 0px 0px 10px 5px rgba(41,41,41,0.3);
	
}

.fancy {
	border: 1px solid rgba(255,255,255,.2);
	box-shadow: 0px 0px 30px rgba(0,0,0,.65);
}
.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*/
a
{
color: #D552AA;
text-decoration: underline;
}

a:hover
{
text-decoration: underline;
}



/*The DIVs that contains the horizontal menu bar at the top of your page.*/
.menu-top-wrapper .p7DMM01 {
	background-color: transparent;
	border-top: thin #999999 dashed;
	border-bottom: thin #999999 dashed;
	
	box-shadow: none;
}
.top-navigation {
	
	/*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;
}

.contact_form{
	background-color: #ECEBE8;
	padding: 5px;
}

/*The Footer*/
.footer {
	background-color: #fff;
	
	padding: 10px 15px;
	color: #666;
	font-size: 0.8em;
	border-top: thin #999999 dashed;
	text-align: center;
	clear: both;
	line-height: 1.5em;
	/*position: fixed;
	z-index: 999;*/
	top: auto;
	bottom: 0px;
	width: 100%;
}
.footer p.copyright {
	margin: 0px;
	color: #8C8C8C;
	font-size: 0.8em;
}

.footer img{
margin: 5px 10px;	
}

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

.masthead-address {
	height: 0px;
}

.footer {
	position: static;
	width: auto;
}
.content-wrapper, .columns-wrapper {margin: 0px; border: none;}
.sidebar, .main-content {
	width: auto;
	float: none;
	position: static;
}
.main-content .content, .sidebar .content {
	padding: 20px 10px;
	border-radius: 0px ;
	border: none;
	height: auto !important;
	max-height: 888678px;
}

.sidebar {
	border-left: none;
}

.p7DMM01 ul a, .p7DMM01 ul a:hover, .p7DMM01 ul a:focus, .p7DMM01 ul a.open {
	border-bottom: 1px solid;
	border-color: #89AEC9;
}
.p7DMM01 ul li:last-child a {
	border-bottom: none;
}
}
/*Medium windows - reduce padding content padding*/
@media only screen and (min-width: 700px) and (max-width: 980px) {
.main-content .content, .sidebar .content {padding: 20px 15px;}
.top-navigation {padding: 0px 10px;}
.content-wrapper {margin-left: 10px; margin-right: 10px;}
}


/*form stuff that i don't really understand!*/
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

form > div {
  clear: both;
  overflow: hidden;
  padding: 1px;
  margin: 0 0 10px 0;
}
form > div > fieldset > div > div {
  margin: 0 0 5px 0;
}
form > div > label,
legend {
	width: 24%;
  float: left;
  padding-right: 10px;
}
form > div > div,
form > div > fieldset > div {
  width: 76%;
  float: right;
}
form > div > fieldset label {
	font-size: 90%;
}
fieldset {
	border: 0;
  padding: 0;
}

input[type=text],
input[type=email],
input[type=url],
input[type=password],
textarea {
	width: 100%;
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
  border-right: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
input[type=text],
input[type=email],
input[type=url],
input[type=password] {
  width: 50%;
}
input[type=text]:focus,
input[type=email]:focus,
input[type=url]:focus,
input[type=password]:focus,
textarea:focus {
  outline: 0;
  border-color: #4697e4;
}

@media (max-width: 600px) {
  form > div {
    margin: 0 0 15px 0; 
  }
  form > div > label,
  legend {
	  width: 100%;
    float: none;
    margin: 0 0 5px 0;
  }
  form > div > div,
  form > div > fieldset > div {
    width: 100%;
    float: none;
  }
  input[type=text],
  input[type=email],
  input[type=url],
  input[type=password],
  textarea,
  select {
    width: 100%; 
  }
}
@media (min-width: 1200px) {
  form > div > label,
	legend {
  	text-align: right;
  }
}