/*
Theme Name: Base
Version: .5
Theme URI: 
Description: 
Author: 
Author URI: 
*/

/*--[ HTML5 Boilerplate RESET ]--------------------------------------------------------------------------------*/
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,figure,footer,header,hgroup,menu,nav,section,menu,time,mark,audio,video{border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent;margin:0;padding:0}
article,aside,figure,footer,header,hgroup,nav,section{display:block}
nav ul{list-style:none}
blockquote,q{quotes:none}
blockquote:before,blockquote:after,q:before,q:after{content:none}
a{font-size:100%;vertical-align:baseline;background:transparent;margin:0;padding:0}
ins{background-color:#ff9;color:#000;text-decoration:none}
mark{background-color:#ff9;color:#000;font-style:italic;font-weight:bold}
del{text-decoration:line-through}
abbr[title],dfn[title]{border-bottom:1px dotted #000;cursor:help}
table{border-collapse:collapse;border-spacing:0}
hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}
input,select{vertical-align:middle}

/*--[ HTML5 Boilerplate MINIMAL BASE STYLES ]--------------------------------------------------------------------------------*/
table { font-size:inherit; font:100%; }
select, input, textarea { font:99% sans-serif; }
pre, code, kbd, samp { font-family: monospace, sans-serif; } 
body, select, input, textarea { color:#444; }
h1,h2,h3,h4,h5,h6 { text-rendering: optimizeLegibility; }
html { -webkit-font-smoothing: antialiased; }
a:hover, a:active { outline: none; }
strong, th { font-weight: bold; }
td, td img { vertical-align:top; } he
sub { vertical-align: sub; font-size: smaller; }
sup { vertical-align: super; font-size: smaller; }
pre { padding: 15px; white-space: pre; /* CSS2 */ white-space: pre-wrap; white-space: pre-line; word-wrap: break-word; }
input[type="radio"] { vertical-align: text-bottom; }
input[type="checkbox"] { vertical-align: bottom; *vertical-align: baseline; }
input[type=text],input[type=email],textarea { width:100%;-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;margin-bottom:5px; }
.ie6 input { vertical-align: text-bottom; }
label, input[type=button], input[type=submit], button { cursor: pointer; }
::-moz-selection{ background: #999; color:#fff; text-shadow: none; }
::selection { background:#999; color:#fff; text-shadow: none; }
html { overflow-y: scroll; }
button {  width: auto; overflow: visible; }
.ie7 img { -ms-interpolation-mode: bicubic; }



/*--[ HELPER CLASSES ]--------------------------------------------------------------------------------*/
.ir { display:block; text-indent:-999em; overflow:hidden; background-repeat: no-repeat; } /* for image replacement */
.hidden { display:none; visibility:hidden; }  /* Hide for both screenreaders and browsers */
.visuallyhidden { position:absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px, 1px, 1px, 1px); } /* Hide only visually - available for screenreaders */
.invisible { visibility: hidden; } /* Hide visually and from screenreaders, but maintain layout */
.clear { clear: both; display: block; overflow: hidden; visibility: hidden; width: 0; height: 0; }
.clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
.clearfix { display: inline-block; }
* html .clearfix { height: 1%; } /* Hides from IE-mac \*/
.clearfix { display: block; }
 
/*--[ Layout ]--------------------------------------------------------------------------------*/
html {
	height:100%;
	font: 62.5% Arial, Helvetica, sans-serif; /* Reset to 10px equivilent */
	text-align: center;
	}
body { height:100%; }

#wrapper { min-height:100%; position:relative; }
/*#page-wrapper { width:1060px; margin:1em auto;position:relative;
	-moz-box-shadow: 0 0 5px rgba(0,0,0,.4);
	-webkit-box-shadow: 0 0 5px rgba(0,0,0,.4);
	box-shadow: 0 0 5px rgba(0,0,0,.4);
	 }*/
	
#header{ position:relative;width:1060px;height:auto;z-index:999;background:none;margin:0 auto; }
#top-nav-wrap { width:100%;height:30px; }
#top-nav { width:1060px;margin:0 auto;text-align:right; }
#logo-wrapper { float:left;position:relative;top:0;margin:0;padding:0;width:100%;text-align:center; }
#logo-wrapper img { float:left;margin:0 30px 0 0; }
#logo-only { float:none;position:relative;top:0;margin:0;padding:0;width:100%;text-align:center; }
#logo-only img { margin:1em 0; }
#top-info-wrapper { float:right;position:relative;top:0;margin:0;padding:.5em 0;width:100%; }
#page {
	position: relative;
	background:#fff;
	width:1060px;
	margin:0 auto;
	padding:0;
	text-align: left;
	font-size:1.4em;
	line-height: 1.4em;
	/*-moz-box-shadow: 0 0 5px rgba(0,0,0,1);
	-webkit-box-shadow: 0 0 5px rgba(0,0,0,1);
	box-shadow: 0 0 5px rgba(0,0,0,1);*/
	}
#main {
	position: relative;
	overflow: hidden;
	zoom: 1;
	clear: both;
	z-index:100;
	}
#main:after { clear: both; }

/*#slider { margin:0;
	-moz-box-shadow: 0 0 5px rgba(0,0,0,0.7);
	-webkit-box-shadow: 0 0 5px rgba(0,0,0,0.7);
	box-shadow: 0 0 5px rgba(0,0,0,0.7);
	}
#slider img { display:block; }*/

#main-content { float:left;width:95%;margin:2.5%; }
#sidebar { font-size:.8em; }

#sidebar ul { list-style:none; margin:0;padding:0; }
#sidebar ul { margin:0;padding:0; }


#footer-wrap { position:relative;
	width:1060px;
	margin:0 auto;
}
#footer {
	width:95%; margin:0 auto;
	padding: 1% 0;
	text-align:left;
	font-size:1em;
	overflow: hidden;
	zoom: 1;
	clear: both;
	}
#footer, #footer h3, #footer a {color:#fff;}

.col-wrap { clear:both; overflow:auto;margin:0 0 1em 0; }
.col-wrap:after {
	content: "";
	display: table;
	clear: both;
  }
.col1 { float:left;width:100%; }
.col2 { float:left;width:49%;margin-right:2%; }
.col3 { float:left;width:32%;margin-right:2%; }
.col2:last-child, .col3:last-child, .col2:nth-child(2), .col3:nth-child(3) { margin-right:0 !important; }

/*.breadcrumbs { margin:0 0 1em 0; padding:0 0 .5em 0; color:#aaa; font-size:.75em; line-height:1em; border-bottom:1px dotted #ccc;overflow:hidden; }
.breadcrumbs a { color:#888; } */

/*--[ Anchors ]--------------------------------------------------------------------------------*/
a { text-decoration: none; }
a:hover, a:focus { text-decoration: none; }

/*--[ Typography ]--------------------------------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 { line-height: 1.125em; margin: 0 0 .5em 0; letter-spacing: 0; font-weight:normal; }
h1 { font-size:2em; } 
h2 { font-size:1.6em; }
h3 { font-size:1.3em; }
h4 { font-size:1em; }
h5 { font-size:.8em; }
h6 { font-size:.7em; text-transform: uppercase; }

#header h2 { font-size:3em;line-height:1em;margin:0; }

.hentry p { margin:0 0 1em 0; }
#sidebar p { margin:0 0 1em 0; }

hr, pre, table, fieldset, article, article footer, nav {
	margin: 0 0 1.5em 0;
	line-height: 1.8em;
}
blockquote { text-align:center;margin:2em; }
ul, ol {
	margin:0 0 1em .25em;
}
article ul {
	margin: 0 0 2em 2em;
	list-style: disc outside;
}
article ol {
	margin: 0 0 2em 2em;
	list-style: decimal outside;
}
article blockquote {
	margin: 0 0 1.25em 2.5em;
	font-family: cambria, georgia, times, serif;
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
	background: #f6f6f6;
	padding: 1.19em 1.25em 0;
	font-style: italic;
}
.post { margin:0; }
small {font-size:0.6875em;}


/*--[ Form Elements and Buttons ]------------------------------------------------------------------------------------*/
input[type=submit], .button {
	background:#4f87b8;
	padding:3px 10px;
	color:#fff;
	border:1px solid #fff;
	text-shadow: 1px 1px 2px rgba(0,0,0,0);
	-webkit-transition-duration: 0.50s;
    -moz-transition-duration: 0.50s;
	-o-transition-duration: 0.50s;
	transition-duration: 0.50s;
}
input[type=submit]:hover, .button:hover {
	background:#5490c4;
	color:#fff;
	text-shadow: 1px 1px 2px rgba(0,0,0,.8);
	border:1px solid #5490c4;
}

label { font-size:.8em; }

/*--[ Search ]------------------------------------------------------------------------------------*/
#top-nav .search-box{
	float:right; margin:2px 2px 3px 20px;
	overflow:hidden;
	width:223px;
	}
#top-nav input.search-field{ 
	display:block;
	width:223px;
	margin:0;
	}
#top-nav input.search-field:focus{}

/* Search Form */
.search-box fieldset { border:1px solid #ccc;background:#fff; padding:2px; margin:0; }
.search-box input.search-input { background:transparent; border:none;color:#555; float:left; margin:0; max-width:80%; padding:2px; width:100px; font-size: 12px; }
.search-box input.search-input { width: 85%; }
.search-box input[type="submit"] { background-image:url('images/search.png'); background-color:transparent !important; background-repeat:no-repeat; border:none; cursor:pointer; display:block; float:right; margin:3px 5px 0 0; padding:0; width:16px !important; height:16px; }
.search-box input[type="submit"]:hover { background-image:url('images/search-over.png'); background-color:transparent !important; }

.search-highlight { background:#ff9; }

/*--[ Responsive Images ]--------------------------------------------------------------------------------*/
.entry-content img,
.comment-content img,
.widget img,
.gallery-item img {
	max-width: 100%; /* Fluid images for posts, comments, and widgets */
}
img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"] {
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}
img.size-full,
img.size-large,
img.header-image,
img.wp-post-image {
	max-width: 100%;
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}

/* Make sure videos and embeds fit their containers */
embed,
iframe,
object,
video {
	max-width: 100%;
}
.entry-content .twitter-tweet-rendered {
	max-width: 100% !important; /* Override the Twitter embed fixed width */
}
.entry-content embed,
.entry-content iframe,
.entry-content object,
.entry-content video {
	margin-bottom: 24px;
	margin-bottom: 1.714285714rem;
}


/*--[ Images ]--------------------------------------------------------------------------------*/
img {
	max-width: 100%;
	height: auto;
	width: auto\9; /* ie8 */
}
img[class*="wp-image-"] {
	/* No styles needed */
}
img.size-full {
	max-width: 100%;	
	width: auto; /* Prevent stretching of full-size images in IE8 */
}
.wp-post-image,
img.alignright, 
img.alignleft, 
img.aligncenter { }
a:hover .wp-post-image, a:focus .wp-post-image {
	padding: 0 !important;
	border: none !important;
}
.alignleft {
	float: left;
	clear: left;
	margin: 0 20px 20px 0;
}
.alignright {
	float: right;
	clear: right;
	margin: 0 0 20px 20px;
}
.aligncenter {
	margin: 0 auto 1.62em;
	display: block;
}
div.wp-caption {
	font-size:12px;
	line-height:12px;
	padding: 0 !important;
	text-align: center !important;
	max-width: 100% !important;
	width: auto !important;
}
div.wp-caption img {
	margin: 0;
	padding: 0;
	outline: 0;
	border: 0;
}
p.wp-caption-text {
	margin: 0 !important;
	padding: .5em 0 !important;
	clear: both;
	}
img.shadow { 
	-moz-box-shadow: 0px 1px 3px rgba(0,0,0,0.2); 
	-webkit-box-shadow: 0px 1px 3px rgba(0,0,0,0.2); 
	box-shadow: 0px 1px 3px rgba(0,0,0,0.2); 
	}

/*--[ Galleries ]--------------------------------------------------------------------------------*/

.gallery {
	margin-bottom: 1.6em;
}

.gallery-item {
	display: inline-block;
	padding: 0;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-icon img {
	margin: 0 auto;
}

.gallery-caption {
	color: #707070;
	color: rgba(51, 51, 51, 0.7);
	display: block;
	font-family: "Noto Sans", sans-serif;
	font-size: 12px;
	font-size: 1.2rem;
	line-height: 1.5;
	padding: 0.5em 0;
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}

/*--[ Comments ]--------------------------------------------------------------------------------*/

#comment {
	width: 100%;
	height: 150px;
}
#respond {
	margin-top: 0;
}
.comment_container {
	position: relative;
}
ol.comment-list {
	margin: 0 0 2em 1em;
	padding: 0;
	}
ol.comment-list img.avatar {
	display:none;
}
ol.comment-list li {
	margin: 0 0 .5em 0;
	padding: 0;
	list-style: none;
	overflow: hidden;
	position: relative;
	-moz-border-radius: 5px;
	-khtml-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	border: 1px dotted #eee;
}

ol.comment-list li header {
	margin: 0;
	line-height: 1.5em;

}
ol.comment-list li article nav {
	float: right;
	margin: 0; padding:0;
}
ol.comment-list li ul {
	margin: 0 0 0 1em;
	padding: 0;
}
ol.comment-list li li {
	border: 0;
	margin: 0;
	padding: 0;
}
ol.comment-list li .comment {
	overflow: hidden;
	margin:0; padding: .5em;	
	}
ol.comment-list li.bypostauthor .comment-text, ol.comment-list li.bypostauthor img.avatar {
	border-color: #D4E2EB;
}
ol.comment-list li p {
	margin: 0;
	padding:0;
	}
ol.comment-list li p.meta {
	font-weight: normal;
	background: transparent;
	padding: 0;
	font-style: italic;
	color: #777;
	font-size: 0.9em;
	margin: 0;
	}
ol.comment-list li p.meta strong {
	font-weight: bold;
	}
#respond {
	margin-bottom: 0;
	}
#respond input.text, #respond select, #respond textarea,
.comment-form-author input,
.comment-form-email input,
.comment-form-url input,
.widget_search input#s {
	border: 1px solid #eee;
	background: #f6f6f6;

	color: #777;
	font-size: 1em;
	line-height: 1em;
	padding: 0.375em;
	width: 50%;
	margin: 0 4px 0 0;
	outline: 0;
	display: block;
}

#respond input.text:focus, #respond select:focus, #respond textarea:focus,
.comment-form-author input:focus,
.comment-form-email input:focus,
.comment-form-url input:focus,
.widget_search input#s:focus { border:1px solid #ccc; }
.borderradius #respond input.text, .borderradius #respond select, .borderradius #respond textarea,
.borderradius .comment-form-author input,
.borderradius .comment-form-email input,
.borderradius .comment-form-url input,
.borderradius .widget_search input#s {
	-moz-border-radius:0.5em;
	-webkit-border-radius:0.5em;
	-khtml-border-radius:0.5em;
	-o-border-radius:0.5em;
	border-radius:0.5em;
}
#respond textarea {
	width: 98%;
	margin-right: 0;
}
#respond label {
	font-size: 1em;
	font-weight: bold;
}

.form-allowed-tags { display:none; }

/*--[ Widgets ]--------------------------------------------------------------------------------*/
.widget { margin-bottom:2em !important; }

.widget_search {
	overflow: hidden;
	zoom: 1;
}
.widget_search input#s {
	float: left;
	width: 50%;
}
.widget_search #searchsubmit {
	font-size: 0.875em;
	padding: 0 1em;
	border: 0;
	margin: 1px 0 0 0;
	line-height: 2.29em;
}
.widget_search label { display: none; }	
.widget_categories ul, 
.widget_archive ul, 
.widget_links ul,
.widget_recent_entries ul,
.widget_recent_comments ul,
.widget_meta ul,
.widget_pages ul,
.widget_rss ul,
.widget_pages ul,
.widget_nav_menu ul,
.widget_categories ul {
	padding: 0;
	list-style-type: none;
} 
.widget_archive ul li, 
.widget_links ul li,
.widget_recent_entries ul li,
.widget_recent_comments ul li,
.widget_meta ul li,
.widget_rss ul li,
.widget_pages ul li,
.widget_nav_menu ul li,
.widget_categories ul li {
	display: block;
}
.widget_archive ul li a,
.widget_links ul li a,
.widget_recent_entries ul li a,
.widget_recent_comments ul li a,
.widget_meta ul li a,
.widget_rss ul li a,
.widget_pages ul li a,
.widget_nav_menu ul li a,
.widget_categories ul li a {
	text-decoration: none;
	} 
.widget_archive ul li a:hover, .widget_archive ul li a:focus,
.widget_links ul li a:hover, .widget_links ul li a:focus,
.widget_recent_entries ul li a:hover, .widget_recent_entries ul li a:focus,
.widget_recent_comments ul li a:hover, .widget_recent_comments ul li a:focus,
.widget_meta ul li a:hover, .widget_meta ul li a:focus,
.widget_rss ul li a:hover, .widget_rss ul li a:focus,
.widget_pages ul li a:hover, .widget_pages ul li a:focus,
.widget_nav_menu ul li a:hover, .widget_nav_menu ul li a:focus,
.widget_categories ul li a:hover, .widget_categories ul li a:focus {
	text-decoration: none;
	}
.widget_tag_cloud div { padding: 0;	overflow: hidden; }
.widget_tag_cloud a { line-height: 1.62em; }
.widget_tag_cloud a:hover, .widget_tag_cloud a:focus { text-decoration: underline; }

#sidebar .widget { margin-bottom:2em; }

/* =Menus -------------------------------------------------------------- */
#top-nav ul {
	list-style: none;
	margin: 0;
	padding-left:0;
}
#top-nav li {
	float: right;
	position: relative;
}
#top-nav a { font-size:1.2em;line-height:30px;padding:0 10px;text-decoration:none; }

#main-nav-wrap {
	clear: both;
	position:relative;
	z-index:999;
	width: 100%;
	height:40px;
	display: block;
	margin: 0 auto;
	/*border-bottom:4px solid rgba(255,255,255,0);
	-moz-box-shadow: 0 2px 5px rgba(0,0,0,0.4);
	-webkit-box-shadow: 0 2px 5px rgba(0,0,0,0.4);
	box-shadow: 0 2px 5px rgba(0,0,0,0.4);*/
}
#main-nav-wrap.fixed {
	width: 1060px !important;
}
#main-nav {
	clear:both;
	display: block;
	margin: 0 auto;
	padding:4px 0 0 0;
	width: 1060px;
	font-size:1.4em;
	text-align:center;
}
#main-nav ul {
	list-style: none;
	display: inline-block;
	position:relative;
	margin: 0 auto;
	padding:0;
	left:0;
	}
#main-nav li {
	float: left;
	position: relative;
	/*border-right:1px solid rgba(0,0,0,0.2);*/
}
/*#main-nav li:first-child { border-left:1px solid rgba(0,0,0,0.2); }*/
#main-nav a {
	/*background:#fff;
	text-shadow: 1px 1px 1px rgba(0,0,0,.2);*/
	display: block;
	line-height: 36px;
	padding: 0 1.25em;
	text-decoration: none;
	text-align:left;
	/*border-bottom:4px solid rgba(255,255,255,0);*/
	-moz-border-radius: 5px 5px 0 0;
	-khtml-border-radius: 5px 5px 0 0;
	-webkit-border-radius: 5px 5px 0 0;
	border-radius: 5px 5px 0 0;
	-webkit-transition-duration: 0.50s;
    -moz-transition-duration: 0.50s;
	-o-transition-duration: 0.50s;
	transition-duration: 0.50s;
}
#main-nav ul ul {
	display: none;
	float: left;
	margin: 0;
	position: absolute;
	left: 0;
	z-index: 99999;
	width: 268px;
}
#main-nav ul ul li {
	padding: 2px .25em; }
#main-nav ul ul li:first-child, #main-nav ul ul li {
	border:none;
}
#main-nav ul ul ul {
	left: 100%;
	top: 0;
}
#main-nav ul ul a {
	border-bottom:none;
	font-size:1em;
	font-weight: normal;
	height: auto;
	line-height: 1.2em;
	padding: .5em 1.25em;
	display:block;
	width: calc(268px - 3em);
	-moz-border-radius: 0;
	-khtml-border-radius: 0;
	-webkit-border-radius: 0;
	border-radius: 0;
}
#main-nav ul ul li:hover > a {
	border-bottom:none;
}
#main-nav ul li:hover > a,
#main-nav ul a:focus {
	/*text-shadow: 1px 1px 1px rgba(0,0,0,.2);
	background: rgba(255,255,255,1);
	border-bottom:4px solid rgba(255,255,255,0);*/
}
#main-nav ul li:hover > ul {
	display: block;
}
#main-nav li.current_page_item > a {
	/*border-bottom:4px solid rgba(255,255,255,.2) !important;*/
}
#main-nav li.current_page_ancestor > a {
	/*border-bottom:4px solid rgba(255,255,255,.2) !important;*/
}


#main-nav li > a:after {
	position: absolute;
	right: 5px;
	content: '\25BE';
	font-size:1em;
	opacity:.3;
}
#main-nav ul ul li > a:after {
	position: absolute;
	right: 5px;
	content: '\25B8';
	font-size:1em;
	opacity:.3;
}
#main-nav li > a:only-child:after {
    content: '';
}

#sidebar ul.menu li { border-bottom:1px dotted #eee;  }
#sidebar ul.menu li:last-child { border-bottom:none;  }
#sidebar ul.menu li a { 
	padding:0 1em;
	font-size:1.2em;
	line-height:2em;
	display:block;
	background:none;
	-webkit-transition-duration: 0.50s;
    -moz-transition-duration: 0.50s;
	-o-transition-duration: 0.50s;
	transition-duration: 0.50s;
}
#sidebar ul.menu li a:hover { background:#eee; }

#sidebar ul.menu ul, #sidebar ul.menu ul ul { display:none; }
#sidebar ul.menu li.current-menu-item > ul, #sidebar ul.menu li.current-menu-ancestor > ul { display:block; }
#sidebar ul.menu ul li a { padding:0 1em 0 2em; }
#sidebar ul.menu ul ul li a { padding:0 1em 0 3em; }

.paging { overflow: hidden; zoom: 1; }
.paging .prev { float: left;}
.paging .next { float: right; }
#main-content article {margin-bottom:4em;}


/*  Template Specific

-----------------------------------*/

.page-template-page-sidebar-left #main-content { float:left;width:70%; }
.page-template-page-sidebar-left #main-content:before {
	content: '';
	left: 25%;
	top: 0;
	bottom: 0;
	position: absolute;
	z-index: -1;
}
.page-template-page-sidebar-left #sidebar { float:left;width:20%;margin:2.5%; }
.page-template-page-sidebar-left #sidebar:before {
	width:25%;
	content: '';
	left: 0;
	top: 0;
	bottom: 0;
	position: absolute;
	z-index: -1;
}

.page #main-content, .page-template-page-sidebar-right #main-content, .page-template-page-news-sidebar-right #main-content, .single #main-content, .archive #main-content, .search #main-content { float:left;width:70%; }
.page #main-content:before, .page-template-page-sidebar-right #main-content:before, .page-template-page-news-sidebar-right #main-content:before, .single #main-content:before, .archive #main-content:before, .search #main-content:before {
	content: '';
	left: 0;
	top: 0;
	bottom: 0;
	position: absolute;
	z-index: -1;
}
.page #sidebar, .page-template-page-sidebar-right #sidebar, .page-template-page-news-sidebar-right #sidebar, .single #sidebar, .archive #sidebar, .search #sidebar { float:left;width:20%;margin:2.5%; }
.page #sidebar:before, .page-template-page-sidebar-right #sidebar:before, .page-template-page-news-sidebar-right #sidebar:before, .single #sidebar:before, .archive #sidebar:before, .search #sidebar:before {
	width:25%;
	content: '';
	left: 75%;
	top: 0;
	bottom: 0;
	position: absolute;
	z-index: -1;
}
		
#sidebar ul { list-style:none; margin:0;padding:0; }
#sidebar ul li { margin:0 0 .5em 0; }

.communications_box { margin:0 0 2em 0; }

#info-box-wrap { 
	width:100%;
	overflow: hidden !important;
	margin: 0 -1%;
	padding: 0;
	clear: both;
	}
.info-box { float:left; width: calc(23% - 2px); padding:0; border:1px solid #fff; margin:0 1% 1% 1%; }
.info-box-image-wrap {
    display: inline-block;
    position: relative;
	width: calc(90% - 6px);
	margin:10% 10% 0 10%;
	overflow:hidden;
	border:3px solid #fff;
	-moz-box-shadow:0 2px 2px rgba(0,0,0,0.2);
	-webkit-moz-box-shadow:0 2px 5px rgba(0,0,0,0.2);
	-khtml-box-shadow:0 2px 5px rgba(0,0,0,0.2);
	-o-box-shadow:0 2px 5px rgba(0,0,0,0.2);
	box-shadow:0 2px 5px rgba(0,0,0,0.2);
	}
.info-box-image-wrap:after {
	padding-top: 100%; /*1:1 ratio*/
    display: block;
    content: '';
	background:#f9f9f9;
	}
.info-box-image-wrap .info-box-image {
	position: absolute;
    top: 0; bottom: 0; right: 0; left: 0; /*fill parent*/
	}
.info-box-name { margin:0;padding:0;overflow:hidden;font-size:1.1em;line-height:1.4em;height:1.4em;text-align:center; }

.single h1 {  }

.single #info-box { float:right;width:200px;margin:0 0 2em 2em;padding:0;text-align:center;font-size:.875em;line-height:1.2em; }
.single #info-box h3 { margin:0;padding:0;line-height:1.2em; }
.single #info-box img { width:200px;margin-bottom:.5em; }


.single img.photo { float:left;width:150px;margin:0 1em 1em 0; }

#previous_post { float:left; }
#next_post { float:right; }
/* Overrides  --------------------- */
.Testimonials_Widget_Slider_Widget blockquote { text-align:left;margin:1em 0; }
#rc-imageselect, .g-recaptcha {transform:scale(0.77);-webkit-transform:scale(0.77);transform-origin:0 0;-webkit-transform-origin:0 0;}

img.attachment-shop_catalog, img.size-shop_catalog, img.attachment-shop_single, img.size-shop_single { width:120px !important; max-height:120px !important; }


/*   Responsive Layouts 
-----------------------------------*/

@media screen and (max-width: 1200px) {

}

@media screen and (max-width: 480px) {
#main-nav li a { text-align:center; }

html, body { width:100%; }
#page-wrapper, #header, #page, #footer-wrap { width:100%;height:auto; }
#header { position:relative;display:block;padding:0;width:100%; }

#top-nav-wrap { display:none; }

#logo-wrapper, #top-info-wrapper { width:96%; height:auto; margin:0 auto;padding:2em 0; float: none; clear:both; }	
#logo-wrapper img { max-width: 100%; height: auto; }

/*#mobile-menu {position:fixed;top:0;z-index:9999;width:100%;height:42px;background:#aa0000;
	-moz-box-shadow: 0 0 10px rgba(0,0,0,1); 
	-webkit-box-shadow: 0 0 10px rgba(0,0,0,1); 
	box-shadow: 0 0 10px rgba(0,0,0,1); }

*/
	
.page #main-content, .page-template-page-sidebar-left #main-content, .page-template-page-sidebar-right #main-content, .page-template-page-news-sidebar-right #main-content, .single #sidebar, .archive #main-content, .search #main-content { float:none;width:95%; }
.page #main-content:before, .page-template-page-sidebar-left #main-content:before, .page-template-page-sidebar-right #main-content:before, .page-template-page-news-sidebar-right #main-content:before, .single #main-content:before, .archive #main-content:before, .search #main-content:before { width:100%;left: 0; }

.page #sidebar, .page-template-page-sidebar-left #sidebar, .page-template-page-sidebar-right #sidebar, .page-template-page-news-sidebar-right #sidebar, .single #sidebar, .archive #sidebar, .search #sidebar { width:90%; float: none; clear:both; border:none; margin:0; padding:2em 5%;background:#eee; }

.page #sidebar:before, .page-template-page-sidebar-left #sidebar:before, .page-template-page-sidebar-right #sidebar:before, .page-template-page-news-sidebar-right #sidebar:before, .single #sidebar:before, .archive #sidebar:before, .search #sidebar:before { width:100%;background:none; }

#main-nav-wrap { display:none; }

.col2, .col3, .col4 { float:none;width:100%;margin:0 auto 2em auto !important; }
#header .col2, #header .col3 { float:none;width:100%;margin:0 auto !important; }

#footer-wrap { width:100%; }
#footer { text-align:center; }
}

/*--[ PRINT STYLES ]--------------------------------------------------------------------------------*/
@media print {
  * { background: transparent !important; color: #444 !important; text-shadow: none; }
  a, a:visited { color: #444 !important; text-decoration: underline; }
  a:after { content: " (" attr(href) ")"; } 
  abbr:after { content: " (" attr(title) ")"; }
  .ir a:after { content: ""; }  /* Don't show links for images */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  img { page-break-inside: avoid; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3{ page-break-after: avoid; }
}