/*Drop Menu Magic Adjustments*/

/* 
  ------------------------------------------------
  PVII Affinity
  Copyright (c) 2013 Project Seven Development
  www.projectseven.com
  04: 3 Col Flex Sidebar Right and Left
  ------------------------------------------------
*/

body {
	font-family: "Segoe UI", Optima, Helvetica, Arial, sans-serif;
	color: #000;
	background-color: #FFFFFF;
	margin: 0px;
	padding: 0px;
	font-size: 1em;
	padding-bottom: 4em;
}
img {
	vertical-align: bottom;
}
.masthead {
	padding: 10px 10px;
	text-align: left;
	background-color: #222;
	position: relative;
	z-index: 10;
	box-shadow: 0px 0px 30px #000;
}

.content-wrapper {
	overflow: hidden;
	margin-top: 1em;
	margin-bottom: 0em;
}


/*Logo and Banner*/

#banner {
	padding-bottom: 6px;
}
.columns-wrapper {
	overflow: hidden;
	background-color: #FFF;
	position: relative;
	padding-bottom: 10px;
}
.columns-wrapper, .menu-top-wrapper {
	max-width: 1260px;
	margin: auto;
}


#layout {
	max-width: 1110px;
	background-color: #FFF;
	box-shadow: 0px 0px 20px rgba(0,0,0,.5);
	border-radius: 0px 0px 7px 7px;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	padding-top: 0px;
	padding-right: 20px;
	padding-bottom: 0px;
	padding-left: 20px;
}
.main-content {
	float: left;
	width: 58%;
	position: relative;
	margin-top: 5px;
	margin-right: 0px;
	margin-bottom: 5px;
	margin-left: 0px;
	font-size: .9em;
}
.sidebar {
	width: 20%;
	float: left;
	margin: 5px;
}
.sidebar-right {
	width: 20%;
	float: left;
	margin-top: 5px;
	margin-right: 0px;
	margin-bottom: 5px;
	margin-left: 5px;
}

.main-content, .sidebar, .sidebar-right, .thismonth, .nextmonth {
	-webkit-transition: all linear .35s .1s;
	transition: all linear .35s .1s;
}
.sidebar .content{
	font-size: 0.9em;
	line-height: 1.5em;
	border: 1px solid;
	border-color: #c5c7c7;
	border-radius: 5px;
	background-color: #e6e5e5;
	text-align: center;
	padding-top: 10px;
	padding-bottom: 10px;
}

.sidebar .content img {
	margin-top: 6px;
	margin-right: 4px;
	margin-bottom: 14px;
	margin-left: 4px;
}

.sidebar-right .content {
	background-color: #ffffff;
	padding: 10px 20px;
	font-size: 0.8em;
	line-height: 1.5em;
}

.main-content .content{
	font-size: 1em;
	line-height: 1.5em;
	padding-top: 0px;
	padding-right: 10px;
	padding-bottom: 10px;
	padding-left: 10px;
}

.thismonth {
	width: 49%;
	float: left;
	margin-top: 10px;
	margin-right: 0px;
	margin-bottom: 5px;
	margin-left: 0px;
border: 1px solid;
	border-color: #a0c5be;
	border-radius: 5px;
	background-color:  #d4dad8;	
}

.nextmonth {
	width: 49%;
	float: right;
	margin-top: 10px;
	margin-right: 0px;
	margin-bottom: 5px;
	margin-left: 0px;
	border: 1px solid;
	border-color: #c5c7c7;
	border-radius: 5px;
	background-color: #e6e5e5;
}


.nextmonth .content {
	font-size: 1em;
	font-weight: bold;
	line-height: 1.5em;
	padding-top: 8px;
	padding-right: 20px;
	padding-bottom: 10px;
	padding-left: 20px;
	color: #506762;
}

.thismonth .content {
	font-size: 1em;
	font-weight: bold;
	line-height: 1.5em;
	padding-top: 8px;
	padding-right: 10px;
	padding-bottom: 10px;
	padding-left: 20px;
	color: #506762;
}

.thismonth .content ul, .nextmonth .content ul {
    padding: 0;
}

.thismonth .content li, .nextmonth .content li {
	margin: 5px 0;
}

/*Heading styles*/
h1, h2, h3, h4 {
	margin: 10px 0px 0px 0px;
	font-family: 'Titillium Web', Arial, sans-serif;
	font-weight: 700;
	font-stretch: ultra-condensed;
	line-height: 1em;
}
h1 { font-size: 1.5em; }
h2 {
	font-size: 1.8em;
	color: #506762;
	font-weight: 900;
	font-stretch: narrower;
}
h3 {
	font-size: 1.25em;
	margin-top: 0px!important;
}
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%;
}
.fancy {
	border: 1px solid rgba(255,255,255,.2);
	box-shadow: 0px 0px 30px rgba(0,0,0,.65);
}
.sidebar ul, .sidebar ol, .sidebar-right ul, .sidebar-right ol {
	margin: 0 0 0 .5em;
	padding: 0 0 0 .5em;
	line-height: normal;
}
.sidebar li, .sidebar-right li { 
	margin-bottom: 4px; 
}

/*Ordinary Link Styles*/
.content a:link, .content a:visited {
	color: #BC5637;
	text-decoration: none;
	font-weight: bold;
}
.content a:hover, .content a:focus {
	color: #437667;
	text-decoration: none;
	font-weight: bold;	
}
.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;
}

/*Footer and Copyright*/
.footer {
	color: #000;
	font-size: 0.8em;
	border-radius: 0px 0px 5px 5px;
	border-top: 1px solid;
	border-color: #726561;
	background-image: -webkit-linear-gradient(#857671, #5F5450) !important;
}
.footer h3, .footer h4 {
	font-family: "Droid Sans", Optima, "Segoe UI", Arial, sans-serif;
	font-weight: normal;
	text-transform: uppercase;
	margin: 10px 0px 0px 0px;
}
.footer ul {
	margin: 0px;
	padding: 0px;
	margin-top: 10px;
}
.footer li {
	list-style-type: none;
	line-height: 1.75;
}
.footer a {
	color: #000;
}
.footer a:hover, .footer a:focus {
	color: #CFC9C7;
}
.copyright {
	font-size: 0.85em;
	text-transform: uppercase;
	clear: both;
	padding: 5px 10px 15px 20px;
}


/*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;
}
.p7DMM03.p7DMM.p7dmm-left, .p7DMM03.p7DMM.p7dmm-right {
	padding: 0px !important;
}
#layout {
	max-width: none;
	padding: 10px;
}
.footer {
	position: static;
	width: auto;
}
.content-wrapper, .columns-wrapper {margin: 0px; border: none;}
.sidebar, .sidebar-right, .main-content, .thismonth, .nextmonth {
	width: auto !important;
	float: none !important;
	position: static !important;
	padding: 6px 0px 0px 4px !important;
	margin: 6px 0px 0px 0px !important;
}
.main-content .content, .sidebar .content, .sidebar-right .content, .thismonth .content, .nextmonth .content{
	font-size: 80%;
	padding: 2px;
	margin: 0px;
	border: none;
	height: auto !important;
	max-height: 888678px;
}

.main-content .content ul, .sidebar .content ul, .sidebar-right .content ul, .thismonth .content ul, .nextmonth .content ul {
	padding: 10px!important;
}


.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;
}
}
/*Medium windows - reduce padding content padding*/
@media only screen and (min-width: 700px) and (max-width: 1140px) {
.main-content .content, .sidebar .content, .sidebar-right .content {padding: 20px 15px;}
.top-navigation {padding: 0px 10px;}
.content-wrapper {margin-left: 0px; margin-right: 0px;}
.main-content {width: 56%;}
.sidebar {width: 20%;}
.sidebar-right {width: 20%;}
}
