/*
	Theme Name: Par 3 Wraps Theme
	Description: Child theme of Genesis
	Author: BE - customized version
	Author URI: 
	
	Template: genesis
*/

/* Fonts
------------------------------------------------------------ */


/* Defaults
------------------------------------------------------------ */

body,
h1,
h2,
h2 a,
h2 a:visited,
h3,
h4,
h5,
h6,
p,
select,
textarea {
	color: #333;
	font-family: Lato, sans-serif;
	/*font-family: 'PT Sans', sans-serif;*/
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5em;
	margin: 0;
	padding: 0;
	text-decoration: none;
}

input {
	color: #333;
	font-family: Arial, Helvetica, Tahoma, sans-serif;
	font-size: 14px;
	line-height: 22px;

}

blockquote,
input,
select,
textarea,
.author-box,
.sticky,
.wp-caption {
	background-color: #f5f5f5;
	border: 1px solid #ddd;
	padding: 1em; /*added*/
}

li,
ol,
ul {
	margin: 0;
	padding: 0;
}

ol li {
	list-style-type: decimal;
}


/* Hyperlinks
------------------------------------------------------------ */

a,
a:visited {
	color: #25a;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

a img {
	border: none;
}


/* Body
------------------------------------------------------------ */

/*body {
	background-color: #fff;
}*/


/*-- Master Reset --------------------
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}:focus{outline:0}ins{text-decoration:none}del{text-decoration:line-through}table{border-collapse:collapse;border-spacing:0}
-*/
body { 
  background: 
  url(images/clouds.png) repeat-x top left,
  url(images/bg-hex.jpg) repeat-x top left;
  background-color: #1966ff;

/*  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;*/
}

/* Wrap
------------------------------------------------------------ */

#wrap {
	margin: 0 auto;
	max-width: 1140px;
	background-color: #fff;
	box-shadow:0px 2px 25px #000;
	-webkit-box-shadow:0px 2px 25px #000;
	-moz-box-shadow: 0px 2px 25px #000;
	/*padding: 1em;*/
	/*background: transparent;*/
}

/*side padding edges of main area*/

.wrap {
	padding: 0 2em;

}

/*// If full width site
.wrap {
	margin: 0 auto;
	max-width: 960px;

	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
*/

/**
// If not responsive and full width
#wrap {
	min-width: 960px;
}
*/

#wrapPad {
	float: left;
	width: 95%;
	margin: 2%;
}

/* Header
------------------------------------------------------------ */

#header {
	overflow: hidden;
	/*width: 100%;*/
	max-width: 100%; /*tryout*/
	height: auto; /*tryout*/
	/*min-height: 220px;*/
	background-color: transparent;
	background:
	transparent url(images/header-bg.png) no-repeat bottom right;
	/*box-shadow:0px 2px 15px #333;
	-webkit-box-shadow:0px 2px 15px #333;
	-moz-box-shadow: 0px 2px 15px #333;
	/*background: url(images/fills/transpBlack75.png);

	/*opacity: 0.5;*/
}

/*logo must be added to simplehooks*/
#logo {
	/*border: 1px solid red;*/
	float: right;
	background: url(images/logo-900.png) no-repeat top left;
	background-size: 100% 100%;
	height: 190px;
	width: 600px;
	/*display: block;*/
  /*position: relative;*/
    -moz-transition: 0.4s;
		  -o-transition: 0.4s;
		  -webkit-transition: 0.4s;
		  transition: 0.4s;
}

#title-area {
	float: left;
	overflow: hidden;
	padding: 20px;
	width: 280px;
	height: 200px;
	margin: 30px 0 0 0;
	/*border: 1px solid red;*/
	background: url(images/fills/transpBlack75.png);
}

#title {
	font-size: 45px;
	/*color: #fff;*/
	border-left: 5px solid #32f46d;
	/*background: url(images/fills/transpBlack75.png);*/
	padding: 3px;
	margin-bottom: 5px;
	font-family: 'Cabin Condensed', sans-serif;
	/*text-transform: uppercase;*/
	-moz-transition: 0.4s;
	-o-transition: 0.4s;
	-webkit-transition: 0.4s;
	transition: 0.4s;
	
}

#title a,
#title a:hover {
	color: #fff;
	line-height: 40px;
	text-decoration: none;
}

#description {
	/*font-size: 24px;*/
	line-height: 1.2em;
	margin-bottom: 20px;
	color: #fff;
	/*font-family: 'Source Code Pro', sans-serif;*/
	-moz-transition: 0.4s;
		  -o-transition: 0.4s;
		  -webkit-transition: 0.4s;
		  transition: 0.4s;
}

#header .widget-area {
	font-size: 28px;
	/*border: 1px solid red;*/
	float: left;
	margin-top: 30px;
	background: 
		url(images/fills/transpBlack50.png);
	/*margin-top: 220px;*/
	padding: 0.5em;
	color: #fff;
	float: right;
}
#header .widget-area a {
	color: #c6edb8;
}
/* Image Header - Partial Width
------------------------------------------------------------ */

.header-image #title-area,
.header-image #title,
.header-image #title a {
	display: block;
	float: left;
	overflow: hidden;
	padding: 0;
	text-indent: -9999px;
}

.header-image #description {
	display: block;
	overflow: hidden;
}


/* Navigation Constants
------------------------------------------------------------ */

li:hover ul ul,
li.sfHover ul ul {
	left: -9999px;
}

li:hover,
li.sfHover {
	position: static;
}

#header ul.nav li a.sf-with-ul,
#header ul.menu li a.sf-with-ul,
#nav li a.sf-with-ul,
#subnav li a.sf-with-ul {
	
}

li a .sf-sub-indicator {
	display: none;
}

/* Header Right Navigation
------------------------------------------------------------ */

#header ul.menu {
	float: right;
}

#header ul.menu ul {
	float: right;
	margin: 0;
	padding: 0;
	width: 100%;
}

#header ul.menu li {
	background-color: #333;
	float: left;
	list-style-type: none;
	/*text-transform: uppercase;*/
}

#header ul.menu li a {
	color: #fff;
	display: block;
	font-size: 13px;
	padding: 7px 10px 5px;
	position: relative;
	text-decoration: none;
}

#header ul.menu li a:hover,
#header ul.menu li a:active,
#header ul.menu .current_page_item a,
#header ul.menu .current-cat a,
#header ul.menu .current-menu-item a {
	background-color: #000;
	color: #fff;
}

#header ul.menu li li a,
#header ul.menu li li a:link,
#header ul.menu li li a:visited {
	background-color: #333;
	border: 1px solid #666;
	border-top-width: 0;
	color: #fff;
	font-size: 12px;
	padding: 5px 10px;
	position: relative;
	text-transform: none;
	width: 138px;
}

#header ul.menu li li a:hover,
#header ul.menu li li a:active {
	background-color: #000;
}

#header ul.menu li ul {
	height: auto;
	left: -9999px;
	position: absolute;
	width: 160px;
	z-index: 9999;
}

#header ul.menu li ul a {
	width: 140px;
}

#header ul.menu li ul ul {
	margin: -33px 0 0 159px;
}

#header ul.menu li:hover>ul,
#header ul.menu li.sfHover ul {
	left: auto;
}


/* Primary Navigation
------------------------------------------------------------ */

#nav {
	background-color: #eee;
	border-top: 5px solid #32f46d;
	clear: both;
	color: #333;
	overflow: hidden;
	/*font-family: 'Source Code Pro', sans-serif; */
	/*text-transform: uppercase;*/
	/*text-transform: uppercase;*/
	width: 100%;
	margin-bottom: 10px;
	padding-bottom: 1px; 
	/*margin-top: 20px;*/
}

#nav ul {
	float: left;
	width: 100%;
}

#nav li {
	float: left;
	list-style-type: none;
}

#nav li a {
	color: #333;
	display: block;
	font-size: 18px;
	padding: 17px 20px 15px;
	position: relative;
	text-decoration: none;
	border-left: 1px solid #e2e2e2;
}
#nav li:last-child {
	border-right: 1px solid #e2e2e2;
}
#nav li:last-child a { color: #02510f;

 }


#nav li a:hover,
#nav li a:active,
#nav .current_page_item a,
#nav .current-cat a,
#nav .current-menu-item a {
	background-color: #ccc;
	color: #000;
	outline: 1px solid #adadad;
/*	box-shadow:0px 2px 5px #333;
	-webkit-box-shadow:0px 2px 5px #333;
	-moz-box-shadow: 0px 2px 5px #333;*/
}

#nav li li a,
#nav li li a:link,
#nav li li a:visited {
	background-color: #eee;
	/*background-color: #ccc;*/
	border-top-width: 0;
	color: #333;
	font-size: 18px;
	padding: 17px 20px 15px;
	position: relative;
	text-transform: none;
	width: 180px;
	box-shadow:0px 2px 5px #333;
	-webkit-box-shadow:0px 2px 5px #333;
	-moz-box-shadow: 0px 2px 5px #333;
	outline: none;
}

#nav li li a:hover,
#nav li li a:active {
	background-color: #ccc;
	/*outline: 1px solid #adadad;*/
}

#nav li ul {
	height: auto;
	left: -9999px;
	position: absolute;
	width: 160px;
	z-index: 9999;
}

#nav li ul a {
	width: 140px;
}

#nav li ul ul {
	margin: -33px 0 0 159px;
}

#nav li:hover>ul,
#nav li.sfHover ul {
	left: auto;
}


/* Secondary Navigation
------------------------------------------------------------ */

#subnav {
	background-color: #333;
	border-bottom: 1px solid #666;
	clear: both;
	color: #fff;
	overflow: hidden;
	text-transform: uppercase;
	width: 100%;
}

#subnav ul {
	float: left;
	width: 100%;
}

#subnav li {
	float: left;
	list-style-type: none;
}

#subnav li a {
	color: #fff;
	display: block;
	font-size: 13px;
	padding: 7px 10px 5px;
	position: relative;
	text-decoration: none;
}

#subnav li a:hover,
#subnav li a:active,
#subnav .current_page_item a,
#subnav .current-cat a,
#subnav .current-menu-item a {
	background-color: #000;
	color: #fff;
}

#subnav li li a,
#subnav li li a:link,
#subnav li li a:visited {
	background-color: #333;
	border: 1px solid #666;
	border-top-width: 0;
	color: #fff;
	font-size: 12px;
	padding: 5px 10px;
	position: relative;
	text-transform: none;
	width: 138px;
}

#subnav li li a:hover,
#subnav li li a:active {
	background-color: #000;
}

#subnav li ul {
	height: auto;
	left: -9999px;
	position: absolute;
	width: 160px;
	z-index: 9999;
}

#subnav li ul a {
	width: 140px;
}

#subnav li ul ul {
	margin: -33px 0 0 159px;
}

#subnav li:hover>ul,
#subnav li.sfHover ul {
	left: auto;
}


/* Inner
------------------------------------------------------------ */

#inner {
	overflow: hidden;
	width: 100%;
}


/* Content
------------------------------------------------------------ */

#content {
	float: left;
	width: 59.49367%; /* 470/790 */
}

.full-width-content #content {
	width: 100%;
}

.sidebar-content #content {
	float: right;
}

blockquote {
	margin: 5px 0 20px 0;
	padding: 15px 20px 15px 20px;
}

.post {
	margin: 0 0 40px;
}

.entry-content {
	overflow: hidden;
	/*padding: 1.55em 0 2em 0;*/
}

.entry-content p {
	padding: 0 0 15px 0;
}

p.subscribe-to-comments {
	padding: 20px 0 10px;
}

.clear {
	clear: both;
}

hr,
.clear-line {
	background: transparent;
	border: none;
	/*border-bottom: 1px solid #ddd;*/
	overflow: hidden;
	width: 100%;
	/*margin: 15px;*/
}
.bumpdown {margin: 20px 0; padding: 10px 0; border-bottom: none;}


.spacer {
	float: left;
	width: 100%;
	height: 20px;
	overflow: hidden;
	/*border: 1px solid red;*/
}

/* Primary Sidebar - Overriding from Genesis */

.sidebar-primary {
	float: right;
	width: 180px;
}

.sidebar-content .sidebar-primary,
.sidebar-sidebar-content .sidebar-primary {
	float: left;
}

.floatright {
  float: right;
  padding: 20px 0 20px 20px;
}


/* Contact Page
------------------------------------------------------------ */
#map {
	border: 1px solid #e1e1e1;
	width: 99.5%;
    height: 300px;
}
#map img {
    max-width: none; 
}

/* Alerts ------------------------------*/

.alert {
    padding: 18px 5% 18px 5%;
    /*text-align: center;*/
    margin: 0 0 20px 0;
    font-size: 1.3em;
}
.callout {
    padding: 12px 5% 12px 5%;
    width: 86%;
    float: left;
    /*text-align: center;*/
    margin: 0 0 20px 0;
    border: 10px solid #e1e1e1;
	background-color: #fff;
	/*box-shadow:0px 2px 5px #c1c1c1;
	-webkit-box-shadow:0px 2px 5px #c1c1c1;
	-moz-box-shadow: 0px 2px 5px #c1c1c1;*/
}
.alert.white {
    background: #d1d1d1;
    border-top: 1px solid #e4e4e4;
    border-bottom: 1px solid #e4e4e4;
    color: #d1d1d1;
}

.warning {
	padding: 12px 5% 0 5%;
	margin: 10px 0 20px 0;
	background: #fff url(images/error.png) no-repeat top left;
	background-position: 26px 16px;
	text-indent: 30px;
    border: 1px solid #ccc;
    color: #d54c4c;
}

.alert.red {
    background: #FFD7D8;
    border-top: 1px solid #f9bac7;
    border-bottom: 1px solid #f9bac7;
    color: #d54c4c;

}

.alert.orange {
    background: #FFCBA8;
    border-top: 1px solid #efd1b1;
    border-bottom: 1px solid #efd1b1;
    color: #cc6600;
}

.alert.green {
    /*background: #00b800;*/
    background: #acffac;
    
    /*border-top: 2px solid #00ff00;*/
    /*border-bottom: 1px solid #007b00;*/
    color: #00450f;
    font-family: 'Cabin Condensed', sans-serif;
    text-align: center;
}

.fourUp {
	/*margin: 20px 0;*/
	padding: 20px 0;
	/*border: 1px solid red;*/
	float: left;
}
.fourUp a {
/*	
	font-size: 1.2em;
	text-transform: uppercase;*/
}
.fourUp h3 {
	color: #25a;
	font-family: 'Cabin Condensed', sans-serif;
	font-size: 1.3em;
	/*text-transform: uppercase;*/
	padding: 1em 0 0.5em 0; 
}
.fourUp img:hover { opacity: 0.7;
	}
.opac img:hover { opacity: 0.7;
	}
/* Contact Page
------------------------------------------------------------ */

table {
	border: 8px solid #d1d1d1;
	border-collapse: collapse;
    width: 100%;
    margin-bottom: 10px;
}
td {
    padding: 0.35em 0.75em 0.25em 0.75em;
    
}
tr:nth-child(even) {
    /*background-color: #EEE;*/
    background: url(images/fills/transpBlack10.png);
    }
tr:nth-child(odd) {
    /*border-bottom: 1px solid #d1d1d1;*/
}
th {
    padding: 0.5em 0 0.5em  0.75em;
    /*font-size: 1.3em;*/
    /*font-family: 'Bitter',  serif;*/
    text-align: left;
    border-bottom: none;
}
/*-- increase ---------------------*/
a.increase {
	padding: 0 5px;
}

#increase {padding: 0; float:right;}
#increase a {
  display: block;
  height: 30px;
  width: 70px;
  padding: 0; 
  text-decoration:none;
  background: url(https://par3wraps.com/wp-content/themes/BE-Genesis-Child-master/images/increase-button.png) no-repeat top left;
  }
#increase a:hover {
  background: url(https://par3wraps.com/wp-content/themes/BE-Genesis-Child-master/images/increase-button.png) no-repeat bottom left;
  }
#increase span { display: none; }


/* Column Classes
------------------------------------------------------------ */

.five-sixths,
.four-fifths,
.four-sixths,
.one-fifth,
.one-fourth,
.one-half,
.one-sixth,
.one-third,
.three-fifths,
.three-fourths,
.three-sixths,
.two-fifths,
.two-fourths,
.two-sixths,
.two-thirds {
	float: left;
	margin-left: 3%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.one-half,
.three-sixths,
.two-fourths {
	width: 48%;
}

.one-third,
.two-sixths {
	width: 31%;
}

.four-sixths,
.two-thirds {
	width: 65%;
}

.one-fourth {
	width: 22.5%;
}

.three-fourths {
	width: 73.5%;
}

.one-fifth {
	width: 17.4%;
}

.two-fifths {
	width: 37.8%;
}

.three-fifths {
	width: 58.2%;
}

.four-fifths {
	width: 78.6%;
}

.one-sixth {
	width: 14%;
}

.five-sixths {
	width: 82%;
}

.first {
	clear: both;
	margin-left: 0;
	/*margin-top: 15px; added to line up columns horizontally*/
	/*border: 1px solid red;*/
}
/*.bump {
	margin-top: -15px; added to line up columns horizontally
	border: 1px solid blue;
}*/


/* Headlines
------------------------------------------------------------ */

h1,
h2,
h3,
h4,
h5,
h6 {
	line-height: 1.25em;
	margin: 0 0 5px;
}

h1 {
	font-size: 36px;
}

h2,
h2 a,
h2 a:visited {
	font-size: 30px;
}


h3 {
	font-size: 20px;
}

h4 {
	font-size: 16px;
	font-weight: bold;
}

h5 {
	font-size: 14px;
}

h6 {
	font-size: 12px;
}
p.sidestatement {font-size: 24px; line-height: 1.4em; font-family: 'Droid Serif', serif;}
p.question {
	background: #e1e1e1;
	width: 100%;
	padding: 5px 10px;
	margin: 5px 0; 
}
h2.entry-title a  {
	margin: 1.35em 0 1em 0;
	padding: 0 0 0 0.5em;
	border-left: 4px solid #32f46d;
	font-family: 'Cabin Condensed', sans-serif;
}
h1.entry-title {
	margin: 0.35em 0;
	padding: 0 0 0 0.5em;
	border-left: 4px solid #32f46d;
	font-family: 'Cabin Condensed', sans-serif;
}
/* Ordered / Unordered Lists
------------------------------------------------------------ */

.entry-content ol,
.entry-content ul {
	margin: 0;
	padding: 1em 0 15px;
}

.entry-content ol {
	margin: 0;
}

.archive-page ul li,
.entry-content ul li {
	list-style-type: square;
	margin: 0 0 0 20px;
	padding: 0 0 1em 0;
}

.entry-content ol li {
	margin: 0 0 0 35px;
}

.archive-page ul ul,
.entry-content ol ol,
.entry-content ul ul {
	padding: 0;
}


/* Post Info
------------------------------------------------------------ */

.post-info {
	margin: 5px 0;
}


/* Post Meta
------------------------------------------------------------ */

.post-meta {
	border-bottom: 1px solid #ddd;
	overflow: hidden;
	width: 100%;
}


/* Author Box
------------------------------------------------------------ */

.author-box {
	margin: 0 0 40px;
	overflow: hidden;
	padding: 10px;
}


/* Sticky Posts
------------------------------------------------------------ */

.sticky {
	margin: 0 0 40px;
	padding: 20px;
}


/* Archive Page
------------------------------------------------------------ */

.archive-page {
	float: left;
	padding: 20px 0;
	width: 45%;
}

/* Images
------------------------------------------------------------ */

img {
	height: auto;
	max-width: 100%;
	overflow: hidden;
}

.author-box .avatar {
	background-color: #fff;
	float: left;
	margin: 0 10px 0 0;
}

.post-image {
	margin: 0 10px 10px 0;
}

.comment-list li .avatar {
	background-color: #fff;
	float: right;
	margin: 0 5px 0 10px;
	padding: 4px;
}

img.centered,
.aligncenter {
	display: block;
	margin: 0 auto 10px;
}

img.alignnone {
	display: inline;
	margin: 0 0 10px;
}

img.alignleft {
	display: inline;
	margin: 0 10px 10px 0;
}

img.alignright {
	display: inline;
	margin: 0 0 10px 10px;
}

.alignleft {
	float: left;
	margin: 0 10px 0 0;
}

.alignright {
	float: right;
	margin: 0 0 0 10px;
}

.wp-caption {
	padding: 5px;
	text-align: center;
}

p.wp-caption-text {
	font-size: 12px;
	line-height: 16px;
	padding: 5px 0;
}

.wp-smiley,
.wp-wink {
	border: none;
	float: none;
}

.gallery-caption {
}


/* Post Navigation
------------------------------------------------------------ */

.navigation {
	overflow: hidden;
	padding: 20px 0;
	width: 100%;
	font-family: 'Source Code Pro', sans-serif; 
	/*text-transform: uppercase;*/
}

.navigation li {
	display: inline;
}

.navigation li a,
.navigation li.disabled,
.navigation li a:hover,
.navigation li.active a {
	border: 1px solid #ddd;
	padding: 5px 8px;
}

.navigation li a:hover,
.navigation li.active a {
	background-color: #f5f5f5;
}


/* Primary / Secondary Sidebars
------------------------------------------------------------ */

.sidebar {
	margin-top: 2em;
	display: block;
	float: right;
	line-height: 20px;
	width: 31.25%; /* 300/960 */
}

.sidebar h2 {
	/*background-color: #f5f5f5;*/
	border-bottom: 1px solid #ddd;
	font-size: 18px;
	font-weight: bold;
	padding: 5px 5px 5px 0;
	/*text-transform: uppercase;*/
}

.sidebar p {
	line-height: 1.4em;
	/*line-height: 20px;*/
}

.sidebar-content #sidebar {
	float: left;
}

.sidebar .widget {
	margin: 0 0 15px;
	padding: 0 0 10px;
}


.widget-area ol,
.widget-area ul {
	margin: 10px 0 0 25px;
}

.widget-area ol ol,
.widget-area ul ul {
	/*margin: 0 0 0 15px;*/
}

.widget-area ul li {
	list-style-type: none;
	word-wrap: break-word;
	border-left: 3px solid red;
	border-top: 1px solid #ddd; 
	border-bottom: 1px solid #ddd; 
	border-right: 1px solid #ddd;
	margin: 0 0 5px -25px;
	padding: 5px 5px 5px 15px;
	background-color: #f5f5f5;
}


/*social icons*/
ul.social {
	margin: 0;
	float: right;
	/*background-color: #58595b;
	padding: 5px 5px 0 2px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	border: 1px solid red;*/
}
ul.social li {
	list-style-type: none;
	list-style: none;
	float: left;
	padding: 0 0 0 3px;
}
/* Buttons
------------------------------------------------------------ */

/*div.gform_footer input.button,
.button,
.button:visited {
	background: url(https://par3wraps.com/wp-content/themes/BE-Genesis-Child-master/images/button-bg.jpg) repeat-x;
	border: 1px solid #580816;
	color: #fff;
	display: inline-block;
	font-family: 'Rokkitt', Georgia, Times, serif;
	font-size: 28px;
	line-height: 28px;
	padding: 16px 32px;
	text-decoration: none;
	text-transform: uppercase;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

div.gform_footer input.button:hover,
.button:hover {
	background: url(https://par3wraps.com/wp-content/themes/BE-Genesis-Child-master/images/button-bg.jpg) repeat-x left bottom;
	cursor: pointer;
	text-decoration: none;
}*/

/*-------button classes from Themezilla--------------------*/
a.button {
	/*height: 20px;*/
	display: inline-block;
	margin: 0 5px 20px 5px;
	text-decoration: none;
	/*font-weight: bold;*/
	/*font-size: 12px;*/
	/*line-height: 12px;*/
	padding: 3px 10px;
	-webkit-border-radius: 3px;
	   -moz-border-radius: 3px;
	   		border-radius: 3px;
	-webkit-box-shadow:0 1px 1px rgba(0, 0, 0, 0.08);
	   -moz-box-shadow:0 1px 1px rgba(0, 0, 0, 0.08);
    		box-shadow:0 1px 1px rgba(0, 0, 0, 0.08);
}

a.button.large {
	height: 24px;
	padding: 11px 10px 0 10px;
	font-size: 14px;
	line-height: 14px;
}
a.button.large.indent {
	margin: 0 0 0 35px;
}

a:hover.button { background-position: 0 -28px; }
a:hover.button.large { background-position: 0 -35px; }

a.button.white {
	background-image: url(images/buttons/button_white.png);
	border: 1px solid #d3d3d3;
	color: #555555;
	text-shadow: 0 1px 0 rgba(255,255,255, 0.8);
}

a.button.large.white { background-image: url(images/buttons/button_white_large.png); }
a:hover.button.white { border: 1px solid #c4c4c4; }

a.button.grey {
	background-image: url(images/buttons/button_grey.png);
	border: 1px solid #b5b5b5;
	color: #000;
	text-shadow: 0 1px 0 rgba(255,255,255, 0.4);
}

a.button.large.grey { background-image: url(images/buttons/button_grey_large.png); }
a:hover.button.grey { border: 1px solid #989898; }

a.button.red {
	background-image: url(images/buttons/button_red.png);
	border: 1px solid #df6f8b;
	color: #913944;
	text-shadow: 0 1px 0 rgba(255,255,255, 0.3);
}

a.button.large.red { background-image: url(images/buttons/button_red_large.png); }
a:hover.button.red { border: 1px solid #c36079; }

a.button.orange {
	background-image: url(images/buttons/button_orange.png);
	border: 1px solid #f5b74e;
	color: #996633;
	text-shadow: 0 1px 0 rgba(255,255,255, 0.4);
}

a.button.large.orange { background-image: url(images/buttons/button_orange_large.png); }
a:hover.button.orange { border: 1px solid #d29a3a; }

a.button.green {
	background-image: url(images/buttons/button_green.png);
	border: 1px solid #adc671;
	color: #5d7731;
	text-shadow: 0 1px 0 rgba(255,255,255, 0.4);
}

a.button.large.green { background-image: url(images/buttons/button_green_large.png); }
a:hover.button.green { border: 1px solid #8bb14d; }

a.button.teal {
	background-image: url(images/buttons/button_teal.png);
	border: 1px solid #90c6c8;
	color: #437b7d;
	text-shadow: 0 1px 0 rgba(255,255,255, 0.4);
}

a.button.large.teal { background-image: url(images/buttons/button_teal_large.png); }
a:hover.button.teal { border: 1px solid #7db9bb; }

a.button.blue {
	background-image: url(images/buttons/button_blue.png);
	border: 1px solid #8dc5da;
	color: #42788e;
	text-shadow: 0 1px 0 rgba(255,255,255, 0.4);
}

a.button.large.blue { background-image: url(images/buttons/button_blue_large.png); }
a:hover.button.blue { border: 1px solid #7caec0; }

a.button.navy {
	background-image: url(images/buttons/button_navy.png);
	border: 1px solid #a2afb8;
	color: #515f6a;
	text-shadow: 0 1px 0 rgba(255,255,255, 0.4);
}

a.button.large.navy { background-image: url(images/buttons/button_navy_large.png); }
a:hover.button.navy { border: 1px solid #8996a0; }

a.button.purple {
	background-image: url(images/buttons/button_purple.png);
	border: 1px solid #bc9db9;
	color: #7b5777;
	text-shadow: 0 1px 0 rgba(255,255,255, 0.4);
}

a.button.large.purple { background-image: url(images/buttons/button_purple_large.png); }
a:hover.button.purple { border: 1px solid #a482a0; }

a.button.black {
	background-image: url(images/buttons/button_black.png);
	border: 1px solid #4c4c4c;
	color: #ffffff;
	text-shadow: 0 1px 0 rgba(0,0,0, 0.4);
}

a.button.large.black { background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAABGCAIAAACCKmkKAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAE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H8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAAADdJREFUeNpiKCsrY3rx4gUTAwMD0////zFofGxsfHLxjx8/mMzNzZmeP3/OxMDAMKD448ePgAEAoy5bbL/1cbwAAAAASUVORK5CYII=); }
a:hover.button.black { border: 1px solid #2c2c2c; }
/* Gallery Page
------------------------------------------------------------ */

#cssgallery {
	/*width: 960px;
	margin: 0 auto;*/
	text-align: left;
	float: left;
	/* border: 1px solid red; */
	padding: 0 0 0 0;
	}

#cssgallery h3 { padding: 1em 0; }

#cssgallery img:hover { /*border : 2px solid #FF0000;*/
	border: 1px solid #ccc;
	opacity: 0.7;
	/*-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;  
*/}
#cssgallery img {
	border: 1px solid #c1c1c1;
    }

ul.thumbs {
	width: 100%;
	float: left;
	list-style-type: none;
	list-style-image: none;
	}

ul.thumbs li {
	float: left;
	list-style-type: none;
	margin: 0 0.4em 0.3em 0;
	}
img.whiterim { 
	padding: 4px;
	border: 1px solid #ccc;
	background-color: #fff;
	}
/* Search Form
------------------------------------------------------------ */

.s {
	font-size: 12px;
	margin: 5px 2px 0 0;
	padding: 4px 5px;
	width: 195px;
}

.breadcrumb { 
	width: 75%;
	/*outline: 1px solid red;*/
	margin: 10px 0 0 0;
	}

.facebook a { float: right; padding: 5px 3.33%; display: block;}
.facebook img {margin: 0 0 -7px 10px; }
/* Footer Widgets
------------------------------------------------------------ */

#footer-widgets {
	overflow: hidden;
	width: 100%;
}

#footer-widgets .widget-area {
	float: left;
	padding: 20px;
	width: 25%;

	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

#footer-widgets h4 {
	background: none;
	border: none;
	color: #fff;
	font-size: 12px;
	font-weight: bold;
	margin: 0 0 5px;
	padding: 0;
	text-transform: uppercase;
}


/* Footer
------------------------------------------------------------ */

#footer {
	overflow: hidden;
	width: 100%;
	/*background-color: #111111;*/
	padding: 0 0 1em 0;
}

#footer-right {
	text-align: right;
	/*border: 1px solid red;*/
	font-weight: bold;
}
#footer-left span {padding: 0 0 30px 30px; border: 1px  red;}

#headerwrap {
	/*overflow: hidden;*/
	width: 100%;
	height: 20px;
	/*border-top: 5px solid red;*/
	/*background-color: #111111;*/
}

#footerwrap {
	/*overflow: hidden;*/
	width: 100%;
	height: 30px;
	/*border-top: 1px solid red;*/
	margin-top: 5px;

	/*background-color: #111111;*/
}
#footerinside {
	margin: 0 auto;
	max-width: 1140px;
	padding-right: 50px;
}
/* Comments
------------------------------------------------------------ */

#comments,
#respond {
	margin: 0 0 15px;
	overflow: hidden;
}

#author,
#comment,
#email,
#url {
	font-size: 12px;
	margin: 10px 5px 0 0;
	padding: 5px;
	width: 250px;
}

#comment {
	height: 150px;
	margin: 10px 0;
	width: 98%;
}

.ping-list {
	margin: 0 0 40px;
}

.comment-list ol,
.ping-list ol {
	padding: 10px;
}

.comment-list li,
.ping-list li {
	font-weight: bold;
	margin: 15px 0 5px;
	padding: 10px 5px 10px 10px;
}

.comment-list li ul li {
	list-style-type: none;
	margin-left: 10px;
	margin-right: -6px;
}

.comment-list p,
.ping-list p {
	margin: 10px 5px 10px 0;
}

.comment-list cite,
.ping-list cite {
	font-style: normal;
}

.commentmetadata {
	font-size: 11px;
}

.nocomments {
	text-align: center;
}

#comments .navigation {
	display: block;
}

.bypostauthor {
}

.thread-alt,
.thread-even {
	background-color: #f5f5f5;
}

.alt,
.depth-1,
.even {
	border: 1px solid #ddd;
}
/* Styles for display-posts-shortcode plugin on home page
------------------------------------------------------------ */
/*.display-posts-listing .listing-item {
    clear: both;
    padding: 1em 0 1em 0;
}

.display-posts-listing img {
    float: left;
    margin: 0 15px 10px 0;
}
.display-posts-listing span.date {  
	width: 100%;
	padding: 0 1em 0 0;
}

.display-posts-listing a.title
{width: 100%;}

}
*/



.featured-posts-grid .listing-item {
	margin-bottom: 40px;
	padding: 0.5em;
	background-color: #eee;
	border-radius: 3px;
}

.listing-item img {
	vertical-align: top;
	margin: 0 15px 10px 0;
}
.listing-item img:hover {
    opacity: 0.7;
}

.featured-posts-grid .listing-item a.image {
	display: block;
}
.listing-item a.title { font-size: 19px; width: 100%; float: left;}
.listing-item span.date {  
	width: 100%;
	float: left;
	font-size: 13px;
	padding: 0 1em 0 0;
	color: #999;
	font-style: italic;
}

/*
Base properties for Mobile Navigation Menu (before any media queries declared)
---------------------------------------------------------------------------------------------------- */
#mobilenav {display:  none; } /* hide the nav menu at mobile size */

#menu-mobile-navigation {
	background-color: #333;
 	display: none; 
}

#menu-mobile-navigation a {
	color: #999;
}

#menu-mobile-navigation a:hover,
#menu-mobile-navigation .current-menu-item > a {
	color: #fff;
}

#menu-mobile-navigation .sub-menu a:hover,
#menu-mobile-navigation .sub-menu .current-menu-item > a:hover {
	color: #222;
}

/* Magnific Popup CSS */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1042;
  overflow: hidden;
  position: fixed;
  background: #0b0b0b;
  opacity: 0.8;
  filter: alpha(opacity=80);
}

.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1043;
  position: fixed;
  outline: none !important;
  -webkit-backface-visibility: hidden;
}

.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 8px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.mfp-container:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

.mfp-align-top .mfp-container:before {
  display: none;
}

.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 1045;
}

.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
  width: 100%;
  cursor: auto;
}

.mfp-ajax-cur {
  cursor: progress;
}

.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: -moz-zoom-out;
  cursor: -webkit-zoom-out;
  cursor: zoom-out;
}

.mfp-zoom {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in;
}

.mfp-auto-cursor .mfp-content {
  cursor: auto;
}

.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.mfp-loading.mfp-figure {
  display: none;
}

.mfp-hide {
  display: none !important;
}

.mfp-preloader {
  color: #CCC;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 1044;
}

.mfp-preloader a {
  color: #CCC;
}

.mfp-preloader a:hover {
  color: #FFF;
}

.mfp-s-ready .mfp-preloader {
  display: none;
}

.mfp-s-error .mfp-content {
  display: none;
}

button.mfp-close,
button.mfp-arrow {
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  display: block;
  outline: none;
  padding: 0;
  z-index: 1046;
  -webkit-box-shadow: none;
  box-shadow: none;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

.mfp-close {
  width: 44px;
  height: 44px;
  line-height: 44px;
  position: absolute;
  right: 0;
  top: 0;
  text-decoration: none;
  text-align: center;
  opacity: 0.65;
  filter: alpha(opacity=65);
  padding: 0 0 18px 10px;
  color: #FFF;
  font-style: normal;
  font-size: 28px;
  font-family: Arial, Baskerville, monospace;
}

.mfp-close:hover,
.mfp-close:focus {
  opacity: 1;
  filter: alpha(opacity=100);
}

.mfp-close:active {
  top: 1px;
}

.mfp-close-btn-in .mfp-close {
  color: #333;
}

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
  color: #FFF;
  right: -6px;
  text-align: right;
  padding-right: 6px;
  width: 100%;
}

.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #CCC;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap;
}

.mfp-arrow {
  position: absolute;
  opacity: 0.65;
  filter: alpha(opacity=65);
  margin: 0;
  top: 50%;
  margin-top: -55px;
  padding: 0;
  width: 90px;
  height: 110px;
  -webkit-tap-highlight-color: transparent;
}

.mfp-arrow:active {
  margin-top: -54px;
}

.mfp-arrow:hover,
.mfp-arrow:focus {
  opacity: 1;
  filter: alpha(opacity=100);
}

.mfp-arrow:before,
.mfp-arrow:after,
.mfp-arrow .mfp-b,
.mfp-arrow .mfp-a {
  content: '';
  display: block;
  width: 0;
  height: 0;
  position: absolute;
  left: 0;
  top: 0;
  margin-top: 35px;
  margin-left: 35px;
  border: medium inset transparent;
}

.mfp-arrow:after,
.mfp-arrow .mfp-a {
  border-top-width: 13px;
  border-bottom-width: 13px;
  top: 8px;
}

.mfp-arrow:before,
.mfp-arrow .mfp-b {
  border-top-width: 21px;
  border-bottom-width: 21px;
  opacity: 0.7;
}

.mfp-arrow-left {
  left: 0;
}

.mfp-arrow-left:after,
.mfp-arrow-left .mfp-a {
  border-right: 17px solid #FFF;
  margin-left: 31px;
}

.mfp-arrow-left:before,
.mfp-arrow-left .mfp-b {
  margin-left: 25px;
  border-right: 27px solid #3F3F3F;
}

.mfp-arrow-right {
  right: 0;
}

.mfp-arrow-right:after,
.mfp-arrow-right .mfp-a {
  border-left: 17px solid #FFF;
  margin-left: 39px;
}

.mfp-arrow-right:before,
.mfp-arrow-right .mfp-b {
  border-left: 27px solid #3F3F3F;
}

.mfp-iframe-holder {
  padding-top: 40px;
  padding-bottom: 40px;
}

.mfp-iframe-holder .mfp-content {
  line-height: 0;
  width: 100%;
  max-width: 900px;
}

.mfp-iframe-holder .mfp-close {
  top: -40px;
}

.mfp-iframe-scaler {
  width: 100%;
  height: 0;
  overflow: hidden;
  padding-top: 56.25%;
}

.mfp-iframe-scaler iframe {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  background: #000;
}

/* Main image in popup */
img.mfp-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 40px 0 40px;
  margin: 0 auto;
}

/* The shadow behind the image */
.mfp-figure {
  line-height: 0;
}

.mfp-figure:after {
  content: '';
  position: absolute;
  left: 0;
  top: 40px;
  bottom: 40px;
  display: block;
  right: 0;
  width: auto;
  height: auto;
  z-index: -1;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  background: #444;
}

.mfp-figure small {
  color: #BDBDBD;
  display: block;
  font-size: 12px;
  line-height: 14px;
}

.mfp-figure figure {
  margin: 0;
}

.mfp-bottom-bar {
  margin-top: -36px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  cursor: auto;
}

.mfp-title {
  text-align: left;
  line-height: 18px;
  color: #F3F3F3;
  word-wrap: break-word;
  padding-right: 36px;
}

.mfp-image-holder .mfp-content {
  max-width: 100%;
}

.mfp-gallery .mfp-image-holder .mfp-figure {
  cursor: pointer;
}

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
  /**
       * Remove all paddings around the image on small screen
       */
  .mfp-img-mobile .mfp-image-holder {
    padding-left: 0;
    padding-right: 0;
  }
  .mfp-img-mobile img.mfp-img {
    padding: 0;
  }
  .mfp-img-mobile .mfp-figure:after {
    top: 0;
    bottom: 0;
  }
  .mfp-img-mobile .mfp-figure small {
    display: inline;
    margin-left: 5px;
  }
  .mfp-img-mobile .mfp-bottom-bar {
    background: rgba(0, 0, 0, 0.6);
    bottom: 0;
    margin: 0;
    top: auto;
    padding: 3px 5px;
    position: fixed;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  .mfp-img-mobile .mfp-bottom-bar:empty {
    padding: 0;
  }
  .mfp-img-mobile .mfp-counter {
    right: 5px;
    top: 3px;
  }
  .mfp-img-mobile .mfp-close {
    top: 0;
    right: 0;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    text-align: center;
    padding: 0;
  }
}

@media all and (max-width: 900px) {
  .mfp-arrow {
    -webkit-transform: scale(0.75);
    transform: scale(0.75);
  }
  .mfp-arrow-left {
    -webkit-transform-origin: 0;
    transform-origin: 0;
  }
  .mfp-arrow-right {
    -webkit-transform-origin: 100%;
    transform-origin: 100%;
  }
  .mfp-container {
    padding-left: 6px;
    padding-right: 6px;
  }
}

.mfp-ie7 .mfp-img {
  padding: 0;
}

.mfp-ie7 .mfp-bottom-bar {
  width: 600px;
  left: 50%;
  margin-left: -300px;
  margin-top: 5px;
  padding-bottom: 5px;
}

.mfp-ie7 .mfp-container {
  padding: 0;
}

.mfp-ie7 .mfp-content {
  padding-top: 44px;
}

.mfp-ie7 .mfp-close {
  top: 0;
  right: 0;
  padding-top: 0;
}
/* Smaller Screens
------------------------------------------------------------ */


@media only screen and (max-width: 1020px) { 
		/*I added this - */
		#header .widget-area {
		/*display:none;*/
		/*text-align: center;*/
		/*margin: 0 auto;*/
		padding: 0.5em;
		/*width: 100%;	*/
		/*border: 1px solid red;*/
		}
		#title-area {height: 140px;}
		#logo {
		/*border: 1px solid red;*/
		float: right;
		background: url(images/logo-900.png) no-repeat top left;
		background-size: 100% 100%;
		height: 127px;
		width: 400px;
		}
		#nav li a {
		padding: 17px 10px 15px 10px;
		}
	}


@media only screen and (max-width: 800px) { 
	#logo {
	float: right;
	background: url(images/logo-900.png) no-repeat top left;
	background-size: 100% 100%;
	height: 95px;
	width: 300px;
	}
	#nav li a,
	#nav li li a,
	#nav li li a:link,
	#nav li li a:visited {
	font-size: 16px;
	}
}

@media only screen and (max-width: 700px) { 
	.content-sidebar #content, 
	.sidebar-content #content, 
	.content-sidebar #sidebar, 
	.sidebar-content #sidebar { 
		width: 100%; 
	} 
	
	.one-half,
	.one-third,
	.two-thirds,
	.one-fourth,
	.three-fourths,
	.one-fifth,
	.two-fifths,
	.three-fifths,
	.four-fifths,
	.one-sixth,
	.five-sixths {
		float: none;
		width: 100%;
		padding: 0;
		margin: 0;
	}
	
	#footer-left,
	#footer-right {
		text-align: center;
	}
	/*I added this - */
	#header .widget-area {
	float: left;
	background: none;
	/*text-align: center;*/
	margin: 0 auto;
	
	padding: 0.5em;

	/*width: 100%;*/
	/*border: 1px solid red;*/
	}
	#title-area {
	float: left;
	overflow: hidden;
	padding: 10px 20px;
	width: 280px;
	height: 100px;
	margin: 100px 0 0 0;
	/*border: 1px solid red;*/
	background: url(images/fills/transpBlack75.png);

	/*margin-top: 120px;*/

	}
	#logo {
	/*border: 1px solid red;*/
	float: none;

	padding: 0 auto;
	background: url(images/logo-900.png) no-repeat top left;
	background-size: 100% 100%;
	height: 91px;
	width: 300px;
	}

	#headerwrap {
	display: none;
	}
	#header {
		/*border: 1px solid red;*/
		/*url(images/fills/transpBlack75.png),*/
		background: 
		url(images/header-bg.png) no-repeat bottom right;
		  -moz-transition: 0.4s;
		  -o-transition: 0.4s;
		  -webkit-transition: 0.4s;
		  transition: 0.4s;
	}
	/**/
/*	#title-area {

		font-size: 0.5em;
		
		background: transparent;
		float: none;
		margin: 0 auto;
		padding: 0 0 0 0;
	}*/
	#title {
		/*font-size: 25px;*/
		/*border-left: 5px solid #32f46d;*/
	}
	#description {
		/*font-size: 15px;*/
	}
	
	/*gallery styles*/
	#cssgallery ul.thumbs li {
	float: left;
	padding: 0;
	margin: 0;
	list-style-type: none;
	}
	#cssgallery img.whiterim { 
	padding: 0;
	border: 1px solid #ccc;
	background-color: #fff;
	}
	/*hide main nav at small screen*/
	#nav { display: none; }

	/* Mobile Navigation Menu Icon properties */

	#mobilenav {display: inherit; } /* unhide the nav menu at mobile size */
	
	#mobile-menu-icon {
		border-bottom: 1px solid #ddd;
		cursor: pointer;
		display: block;
		padding: 24px 24px;
		padding: 2.4rem 2.4rem;
		text-align: center;
	}

	#mobile-menu-icon::before {
		color: #999;
		content: 'MENU \2630';
		font-weight: bold;
		letter-spacing: 1px;
	}
	
	#mobile-menu-icon:hover::before {
		color: #eee;
		content: 'MENU \2637';
	}
	
	#mobile-menu-icon:active::before {
		color: #fff;
		content: 'MENU \2637';
	}
	
	/* Hide Mobile Navigation Menu until it's toggled via script */
	
	.menu-mobile {
		display: none;
	}
	

	/*#menu-mobile-navigation li {border: 1px solid red; list-style: none; padding: 0.25em; display: block;}*/

	/* Mobile Navigation Menu misc properties */
	
	#menu-mobile-navigation {
		clear: both;
		color: #999;
		/*font-family: Georgia;*/
		line-height: 1.5;
		width: 100%;
		z-index: 9999;
	}

	#menu-mobile-navigation .menu-item {
		display: block;
		text-align: left;
	}

	#menu-mobile-navigation a {
		background-color: #f0f0f0;
		border-bottom: 1px solid #ccc;
		color: #222;
		display: block;
		padding: 10px 12px;
		padding: 1rem 1.2rem;
		position: relative;
	}

	#menu-mobile-navigation a:hover,
	#menu-mobile-navigation .current-menu-item > a,
	#menu-mobile-navigation .sub-menu .current-menu-item > a:hover {
		background-color: #ddd;
		color: #222;
	}

	#menu-mobile-navigation .sub-menu .current-menu-item > a {
		color: #999;
	}

	#menu-mobile-navigation > .menu-item > a {
		text-transform: uppercase;
	}

	#menu-mobile-navigation .sub-menu {
		left: 0px;
		opacity: 1;
		position: relative;
		-webkit-transition: opacity .4s ease-in-out;
		-moz-transition:    opacity .4s ease-in-out;
		-ms-transition:     opacity .4s ease-in-out;
		-o-transition:      opacity .4s ease-in-out;
		transition:         opacity .4s ease-in-out;
		width: 100%;
		z-index: 99;
	}

	#menu-mobile-navigation .sub-menu a {
		background-color: #fff;
		border-bottom: 1px solid #ccc;
		font-size: 14px;
		font-size: 1.4rem;
		padding: 18px 30px;
		padding: 1.8rem 3rem;
		position: relative;
		width: 100%;
	}

	#menu-mobile-navigation .sub-menu a::before {
		content: "- ";
		font-size: 14px;
		font-size: 1.4rem;
	}
	
	#menu-mobile-navigation .sub-menu a:hover {
		background-color: #f7f7f7;
	}
	
	#menu-mobile-navigation .sub-menu li li a {
		padding: 18px 40px;
		padding: 1.8rem 4rem;
	}
	
	#menu-mobile-navigation .sub-menu .sub-menu {
		margin: 0;
	}

	#menu-mobile-navigation .menu-item:hover {
		position: static;
	}

	#menu-mobile-navigation .menu-item:hover > .sub-menu {
		left: auto;
		opacity: 1;
	}
}