/*======================================
Theme Name: zeeVision
Theme URI: http://themezee.com/themes/zeevision/
Description: zeeVision is an elegant business WordPress theme with a colorful flat design. The modern HTML5 and CSS3 code and the responsive layout make the theme ready to be displayed on any mobile device. The built-in front page template includes an intro text, horizontal widgets area and a big content slideshow to attract visitors. You can choose from eight different color schemes, pick between left or right sidebar layout and also upload your own logo via theme options. Of course there is support of all WordPress core features like custom menus, widgetized sidebars, custom background, custom headers and featured images. Check out a full demo on http://preview.themezee.com/zeevision/
Version: 1.0.3
Author: ThemeZee
Author URI: http://themezee.com
Tags:  two-columns, light, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, full-width-template, sticky-post, threaded-comments, translation-ready, theme-options, flexible-width, one-column, left-sidebar, right-sidebar, black, silver, red, white, green, blue, orange, purple, gray
Text Domain: zeeVision_language
License: GNU General Public License v2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html
======================================*/

/* CSS Reset | http://meyerweb.com/eric/tools/css/reset/ | v2.0
-------------------------------------------------------------- */
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, 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,
article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* General Styles
-------------------------------------------------------------- */
html {
	font-size: 100.01%;
}
body {
	font-family: "Roboto", sans-serif;
	font-size: 1.0em;
	border: 0;
	color: #111;
}

/* Links */
a, a:link, a:visited{
	color: #547F9E!important;
	text-decoration: none;
}
a:hover, a:active {
	text-decoration: underline;
}

h1, h2 {
	font-family: "Roboto", sans-serif;
}

/* Form Elements */
input, textarea {
	padding: 0.3em;
	background: #fff;
	border: 1px solid #ddd;
	font-size: 1.0em;
	color: #333;
}
input[type="submit"], input[type="buttom"] {
	padding: .2em 1em;
}
input[type="submit"] {
	border: none;
	color: #fff;
	background: #76b1db !important;
	text-transform: uppercase;
	font-family: "Roboto", sans-serif;
}
input[type="submit"]:hover {
	background-color: #303030 !important;
	cursor: pointer;
}

/* Clearing Floats */
.clearfix:before, .clearfix:after {  
	content: " ";
	display: table;  
}  
.clearfix:after {  
	clear: both;
}  
.clearfix {
    *zoom: 1; /* For IE 6/7 only */  
}

/* Make Form Elements responsive */
input, textarea, select {
	max-width: 100%;
}

/* Basic Structure 
-------------------------------------------------------------- */
#wrapper {
	width: 100%;
}
#header-wrap {
	background: #547F9E;
}

#wrap {
	clear: both;
	margin: 1em auto 0;
}
#content {
	float: left;
	width: 65%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
#sidebar {
	margin-left: 65%;
	width: 35%;
	padding-left: 2em;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
       
}
.container {
	max-width: 1340px;
	width: 90%;
	margin: 0 auto;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

/* Header
-------------------------------------------------------------- */
.backToStuller {
	position: absolute;
}
.backToStuller a {
	padding: 5px;
	color: #000 !important;
	display: inline-block;
}
#logo {
	clear: both;
	max-width: 100%;
	text-align: center;
	margin: 40px 0;
}
#logo .logo-image {
	border: 0;
	max-width: 100%;
	height: auto;
}
#logo .site-logo-vertical {
	display: none;
}
#logo .site-logo {
	vertical-align: middle;
	width: 100%;
	max-width: 600px;
}
#logo .site-title {
	font-size: 5em;
	font-weight: 600;
	color: #fff;
	font-family: "Roboto", sans-serif;
	text-transform: uppercase;
	vertical-align: middle;
}
#logo a:hover {
	text-decoration: none;
}
#logo .site-description {
	margin-top: 0.4em;
	color: #fff;
}

/* Custom Header Image */
#custom-header {
	margin-top: 1em;
}
#custom-header img {
	max-width: 1340px;
	vertical-align: top;
	width: 100%;
	height: auto;
}
/* Navigation Menu
-------------------------------------------------------------- */
#navwrapper {
	
}
#mainnav-icon {
	display: none;
}
#mainnav, #secondarymainnav {
	max-width: 1340px;
	margin: 0 auto;
	overflow: auto;
}
#mainnav_container {
	background-color: #000005;
}
#mainnav-menu {
	list-style-type: none;
	list-style-position: outside;
	position: relative;
}
#mainnav-menu li{
	float:left;
	width: 20%;
	text-align: center;
}
#mainnav-menu a {
	display: block;
	padding: .4em;
	text-decoration: none;
	font-size: 1.3em;
	-webkit-transition: all 0.2s ease-out;
	-moz-transition: all 0.2s ease-out;
	-ms-transition: all 0.2s ease-out;
	-o-transition: all 0.2s ease-out;
	transition: all 0.2s ease-out;	
	color: #fff !important;
	font-family: "Roboto", sans-serif !important;
	text-transform: uppercase;
	font-weight: 600;
	color: #FFF !important;
	border: 1px solid #000005;
}


#mainnav-menu a:hover {
	background: #FFF !important;
	color: #547F9E !important;
}
#mainnav-menu ul {
	position: absolute;
	display: none;
	z-index: 99;
	background: #fff;
	box-shadow: 0 0 5px #bbb;
}
#mainnav-menu ul a {
	width: 250px;
	width: 16rem;
	padding: 1em;
	float: left;
	font-weight: normal;
	color: #555;
	border: none;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
#mainnav-menu ul a:link, #mainnav-menu ul a:visited{
	color: #555;
	text-decoration: none;
}
#mainnav-menu ul a:hover {
	border: none;
	background: #eee;
}
#mainnav-menu ul ul{
	border: none;
}
#mainnav-menu li ul ul {
	margin-left: 250px;
	margin-left: 16rem;
}
#mainnav-menu li:hover ul ul, #mainnav-menu li:hover ul ul ul, #mainnav-menu li:hover ul ul ul ul{
	display:none;
}
#mainnav-menu li:hover ul, #mainnav-menu li li:hover ul, #mainnav-menu li li li:hover ul, #mainnav-menu li li li li:hover ul{
	display:block;
}

#mainnav-menu .secondary-menu-item {
	display: none;
}


#secondarynav_container, .secondary-menu-item a {
	background-color: #ffffff !important;
}
#secondarymainnav-menu {
	clear: both;
	list-style-type: none;
}
#secondarymainnav-menu li{
	float:left;
	width: 16.5%;
	text-align: center;
}
#secondarymainnav-menu a, #mainnav-menu .secondary-menu-item a {
	color: #000005 !important;
}
#secondarymainnav-menu a {
	display: block;
	padding: .5em;
	text-decoration: none;
	font-size: 1.1em;
	-webkit-transition: all 0.2s ease-out;
	-moz-transition: all 0.2s ease-out;
	-ms-transition: all 0.2s ease-out;
	-o-transition: all 0.2s ease-out;
	transition: all 0.2s ease-out;	

	font-family: "Roboto", sans-serif;
	text-transform: uppercase;
	font-weight: 200;
}
#secondarymainnav-menu a:hover {
	background: #FFF !important;
	color: #75B0DA !important;
}


/* Widget Styling
-------------------------------------------------------------- */
.widget {
	margin-bottom: 2em;
	color: #333;
	background: #fff;
	-ms-word-wrap: break-word;
	word-wrap: break-word;
}
.widgettitle {
	font-size: 1.5em;
	font-weight: 500;
	font-family: "Roboto", sans-serif;
	padding: 0 1em 0 1em;
	margin-bottom: 0;
	color: #fff;
	border-bottom: 3px solid #547F9E;
}
.widgettitle_inner {
	background-color: #547F9E;
	text-transform: uppercase;
	display: inline-block;
	padding: 10px 10px 5px 10px;
}
.widgetcontent {
	padding: .5em;
	background-color: #ffffff;
	display: block;
}
.widget .textwidget {
	line-height: 1.5em;
}
.widget .textwidget p {
	margin-bottom: 1em;
}
.widget ul {
	line-height: 1.5em;
}
.widget ul {
	list-style: circle inside;
	color: #555;
}
.widget ul .children {
	padding: 0;
	margin: 0.5em 0 0.5em 1em;
}
.widget a:link, .widget a:visited  {
	text-decoration: none;
	color: #007fe0;
}
.widget a:hover, .widget a:active {
	text-decoration: underline;
}
.widget img {
	max-width: 100%;
	height: auto;
}

/* Custom Widgets
-------------------------------------------------------------- */

/* Theme Search Widget */
#searchform {
	display: block;
	position: relative;
	width: 100%;
	margin: 0;
	padding: 0;
	overflow:hidden;
}
#s {
	display: inline-block;
	margin: 0;
	width: 100%;
	background: #fff;
	border: 1px solid #a7a9ac;
	font-size: 1.0em;
	color: #333;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
#searchsubmit {
	position: absolute;
	display: block;
	top: -7px;
	right: 0;
	width: 35px;
	height: 35px;
	background: url(images/search-icon.png) 0 11px no-repeat transparent !important;
	border: none;
	cursor: pointer;
}
#searchsubmit:hover {
	background: url(images/search-icon.png) -36px 11px no-repeat;
}


/* Theme Calendar Widget */
#wp-calendar {
	margin: 0;
	width: 100%;
	color: #444;
	line-height: 1.6em;
}
#wp-calendar th,
#wp-calendar td,
#wp-calendar caption {
	text-align: left;
}
#wp-calendar caption {
	font-style: italic;
	margin-bottom: 0.1em;
}
#wp-calendar th {
	font-weight: bold;
	font-size: 0.85em;
}
#wp-calendar tfoot tr td {
	padding-top: 0.5em;
}
#wp-calendar #next {
	padding-right: 0.8em;
	text-align: right;
}


/* Categories Widget */
.widget_categories ul {
	list-style-type: none;
}


/* Subscribe Widget */
.s2_form_widget .widgettitle {
	display: none;
}
.s2_form_widget .widgetcontent {
	background: none;
}
.s2_form_widget form {
	margin-top: 10px;
}
.s2_form_widget form p, .s2_form_widget form input {
	display: inline-block; 
}
.s2_form_widget form input[type="text"] {
	width: 60%; 
}
.s2_form_widget form p {
	margin-left: 15px !important;
	float: right;
}
.s2_form_widget .widgetcontent{
	padding: 10px;
	background-color: #ffffff;
}
.s2_form_widget .unsubscribe {
	background-color: #e2eff8;
	color: #111;
}


/* Social Media Widget */
.socialMediaIcons {
	background-image: url('https://stuller.com/static/i/socialmediaicons.png');
	width: 25px;
	height: 25px;
}
.facebook {
	background-position: 0 0;
}
.twitter {
	background-position: -31px 0;
}
.pinterest {
	background-position: -94px 0;
}
.instagram {
	background-position: -63px 0;
}


/* Videos */
.widget .ytv-list {
	display: none;
}


/* Send an Idea */
.CF_widget h1 {
	display: none;
}
.CF_widget label {
	width: 25%;
	float: left;
	line-height: 30px;
}
.CF_widget input[type='text'], .CF_widget textarea {
	width: 70%;
	float: left;
	margin: 3px 0;
}
.CF_widget .captchainput img {
	float: left;
	margin: 3px 0;
}
.CF_widget .captchainput input {
	width: 37%;
	margin-left: 15px;
}
.CF_widget #CF_submit {
	margin-top: 10px;
}


/* Categories */
.widgetcontent .cat-item {
	color: #547F9E;
}


/* Posts and Pages
-------------------------------------------------------------- */
.type-post, .type-attachment  {
	margin: 0 0 2em 0;
	background: #ffffff;
}
.page-title, .post-title, .category-title, .searchResults-title, .tag-title {
	-ms-word-wrap: break-word;
	word-wrap: break-word;
	padding: 3.5em 3em 0 3em;
	color: #547F9E;
	text-transform: uppercase;
}
.single-post .post-title {
	padding-top: 1.5em;
}
.page-title, .category-title, .searchResults-title, .tag-title {
	padding-top: 0;
	padding-bottom: 1em;
	padding-left: 0;
}
.page-title span, .category-title span, .searchResults-title span, .tag-title span {
    	font-size: 2.0em;
	font-weight: bold;
	line-height: 1.4em;
}
.page-title span.lightHeader, .category-title span.lightHeader, .searchResults-title span.lightHeader, .tag-title span.lightHeader {
    	color: #ffffff;
	font-size: 1em;
}
.post-title span, .post-title a {
    	font-size: 1.5em;
	font-weight: bold;
	color: #444;
	line-height: 1.4em;
}
.post-title a:link {
	color: #444;
}
.post-title a:hover, .post-title a:active{
	color: #007fe0;
}
.subheading {
	padding-left: 3em;
	color: #747579;
	font-style: italic;
}
.sticky {
	border-left: 8px solid #ccc;
}

.post-date {
	width: 70px;
	height: 70px;
	margin: 0 auto;
	background-color: #547F9E;
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	border-radius: 50%;
	color: #FFF;
	text-align: center;
	position: absolute;
	left: 46%;
	top: 150px;
	font-family: "Roboto", system, sans-serif;
}

.post-date .post-month {
	padding-top: 12px;
	text-transform: uppercase;
}

.post-date .post-day {
	font-size: 2.6em;
	font-weight: 500;
	margin-top: -4px;
	font-family: "Roboto", sans-serif;
}

.post-attributes {
	padding: 0 3em 1em 3em;
}

.post-commentsAndVotes {
	float: left;
	width: 50%;
}

.post-author {
	float: right;
	width: 50%;
}

/*.single-post .post-author {
	float: none;
	width: 100%;
	padding: 0 1em .5em 3em;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	display: inline-block;
}*/

.author-image {
	float: left;
}

.author-image > img {
	width: 50px;
	height: 50px;
	overflow: hidden;
	border: 1px solid #a7a9ac;
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	border-radius: 50%;
}

.author-nameAndTitle {
	float: left;
	margin-left: 1em;
	width: 74%;
}

.author-name {
	line-height: 25px;
}

.author-title {
	font-style: italic;
	line-height: 25px;
}

.author-biography {
	margin-top: 15px;
	color: #747579;
}

.author-biography blockquote {
	margin: .5em 0;
}

/* Page Links | wp_link_pages() */
.page-links {
	margin: 0;
	word-spacing: 1em;
}

/* Postmeta */
.postmeta {
	display: inline-block;
	color: #747579;
	margin: 0.5em 0.1em;
	padding-left: 3.7em;
	font-size: .8em;
}
.postmeta span, .postmeta .post-edit-link {
	line-height: 1.9em;
}
.postmeta > span {
	float: left;
}
.postmeta .sep, .postmeta .post-edit-link  {
	padding-left: 0.8em;
	margin-left: 0.7em;
	border-left: 1px solid #a7a9ac;
}
.single-post .postmeta {
	font-size: 1.1em;
	padding-left: 2.6em;
}
.postinfo {
	clear: both;
	color: #747579;
	margin: 0;
	padding: 0.7em 1em 0.7em 2em;
	border-top: 1px solid #ffffff;
	line-height: 1.5em;
	font-size: .8em;
}
.postinfo .meta-tags {
	padding-left: 0.8em;
	margin-left: 0.6em;
	border-left: 1px solid #ffffff;
}
.single-post .votes {
	padding-left: 3em;
}

/* Read more Link */
.more-link {
	display: inline-block;
	margin: 1em 0 0;
	padding: 0.4em 1.2em;
	text-decoration: none;
	font-size: 0.9em;
	background-color: #007fe0;
	color: #fff;
}
.more-link:link, .more-link:visited {
	color: #fff;
}
.more-link:hover, .more-link:active{
	background-color: #303030;
	text-decoration: none;
}

/* Archives and Search Heading */
.archive-title {
	font-weight: bold;
	color: #fff;
	background: #747579;
	font-family: "Roboto", sans-serif;
	padding: 0.8em 1em;
	margin-bottom: 1em;
	margin-top: 1.5em;
}
.archive-title span{
	color: #eee;
}

/* Default Pagination */
.post-pagination {
	color: #fff;
	background: #547F9E;
	padding: 0 1em;
	margin-bottom: 2em;
}
.post-pagination .alignleft {
	float: left;
	color: #fff;
}
.post-pagination .alignright {
	float: right;
	color: #fff;
}
.post-pagination a:link, .post-pagination a:visited {
	color: #fff;
}
.post-pagination a:hover span {
	text-decoration: underline !important;
}
.pagerBar {
	background-color: #547F9E; 
	padding: 10px;
	line-height: 20px;
	height: 20px;
}
.pagerBar a {
	color: #FFF !important;
}

/* Pagination with WP-Pagenavi plugin */
.wp-pagenavi {
	float: left;
	margin-bottom: 2em;
	width: 100%;
	font-size: 1.0em;
	color: #fff;
	background: #007fe0;
	padding: 0.6em 1em;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.wp-pagenavi .pages {
    float: right;
	margin-top: 0.3em;
}
.wp-pagenavi a {
    margin: 0 0.5em 0 0;
	display: inline-block;
	padding: 0.3em 0.6em;
    text-align: center;
	text-decoration: none;
	color: #fff;
}
.wp-pagenavi a:link, .wp-pagenavi a:visited {
	color: #fff;
}
.wp-pagenavi a:hover {
	text-decoration: underline;
}
.wp-pagenavi .current {
    display: inline-block;
	margin: 0 0.5em 0 0;
	padding: 0.3em 0.6em;
    background: #fff;
    color: #007fe0;
}

/* Pagination */
#pagination .pages {
	float: left;
}
#pagination .page-numbers {
	margin-bottom: 0;
}
#pagination ul {
	list-style-type: none !important;
	float: left;
}
#pagination li:first-child {
	margin-right: 10px;
}
#pagination li:last-child {
	margin-left: 10px;
}
#pagination li {
	float: left;
	padding: 0 3px;
}

/* Faces of Stuller */
.facesofstuller .entry #authorlist ul {
	list-style-type: none !important;
	margin-left: 0 !important;
}
.facesofstuller .entry #authorlist li {
	border-bottom: 1px solid #a7a9ac;
	padding: 5px;
}
.facesofstuller .entry  #authorlist .author-image {
	margin-right: 15px;
}

/* About the Author */
.authorTemplate .entry .author-image {
	margin-right: 15px;
}
.authorTemplate .entry .author-image > img {
	width: 140px !important;
	height: 140px !important;
}



/* Text Elements
-------------------------------------------------------------- */
.entry {
	line-height: 1.6em;
	padding: 1em 3em;
	margin: 0;
	-ms-word-wrap: break-word;
	word-wrap: break-word;
	background: #ffffff;
}
.entry p, .comment p {
	margin: 0 0 0.75em 0 ;
}
.entry h1, .comment h1,
.entry h2, .comment h2,
.entry h3, .comment h3,
.entry h4, .comment h4,
.entry h5, .comment h5,
.entry h6, .comment h6 {
	color: #222;
	font-weight: bold;
	line-height: 1.0em;
	margin: 1.2em 0 0.3em;
}
.entry h1, .comment h1 {
	font-size: 3.0em;
}
.entry h2, .comment h2 {
	font-size: 2.25em;
	font-family: "Roboto", sans-serif;
}
.entry h3, .comment h3 {
	font-size: 1.5em;
}
.entry h4, .comment h4 {
	font-size: 1.25em;
}
.entry h5, .comment h5 {
	font-size: 1.125em;
	margin: 1.3em 0 0;
}
.entry h6, .comment h6 {
	font-size: 1.0em;
	margin: 1.3em 0 0;
}
.entry ul, .comment ul{
	list-style: square inside;
	margin: 0 0 1.5em 2em;
}
.entry ol, .comment ol{
	list-style: decimal inside;
	margin: 0 0 1.5em 2em;
}
.entry ol ol, .comment ol ol{
	list-style: upper-alpha inside;
}
.entry ol ol ol, .comment ol ol ol{
	list-style: lower-roman inside;
}
.entry ol ol ol ol, .comment ol ol ol ol{
	list-style: lower-alpha inside;
}
.entry ul ul, .comment ul ul,
.entry ol ol, .comment ol ol,
.entry ul ol, .comment ul ol
.entry ol ul, .comment ol ul {
	margin-bottom: 0.2em;
}
.single-post .entry {
	clear: both;
}
dl {
	margin: 1em 0;
}
dt {
	font-weight: bold;
}
dd {
	margin-bottom: 1.5em;
}
strong {
	font-weight: bold;
}
cite,
em,
i {
	font-style: italic;
}
big, .big_tag {
	font-size: 1.3em;
}
ins {
	padding: 1px 2px;
	background: #ffa;
	text-decoration: none;
}
code, pre {
	padding: 3px 8px;
	margin: 0 1px;
	background: #ffffff;
	color: #222;
	font-size: 0.9em;
	font-family: "Roboto", sans-serif;
	overflow: auto;
	line-height: 1.0em;
}
del, strike, s{
	text-decoration: line-through;
}
small {
	font-size: 0.7em;
}
abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}
sup,
sub {
	height: 0;
	line-height: 1;
	position: relative;
	vertical-align: baseline;
	font-size: 0.8em;
}
sup {
	bottom: 1ex;
}
sub {
	top: .5ex;
}
.entry var, .entry kbd, .entry tt, .entry .tt_tag {
	font-size: 1.1em;
}
blockquote {
	background:#f5f5f5;
	border-left: 10px solid #ccc;
	margin: 1.5em 0;
	padding: 0.8em 1.5em;
}
blockquote p {
	display:inline-block;
}
blockquote cite {
	display: block;
	margin: 0.5em 0 0 0.5em;
	color: #777;
}
/*.entry table {
	border-collapse: collapse;
	border-spacing: 0;
	border: 1px solid #ddd;
	margin: 1em 0;
	text-align: left;
	width: 100%;
}
.entry tr th,
.entry thead th {
	background: #ffffff;
	font-weight: bold;
	padding: 0.2em 1em;
}
.entry tr td {
	border-top: 1px solid #ddd;
	padding: 0.2em 1em;
}
.entry tr.alternate td {
	background: #f5f5f5;
}/*

/* Images | Gallery | Videos
-------------------------------------------------------------- */
article .wp-post-image {
	max-width: 100%;
	height: auto;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.entry img {
	max-width: 100%;
	height: auto;
	/*padding: 3px;
	border: 1px solid #ddd;*/
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.wp-caption {
	max-width: 100%;
	height: auto;
	text-align: center;
	margin: 1em 0;
}
.wp-caption-text {
	margin: 0 !important;
	padding: 0;
	font-size: 0.9em;
	text-align: center;
}
.alignleft { 
	float: left; 
	display: inline; 
	margin: 1em 2em 1em 0;
}
.alignright	{
	float: right; 
	display: inline; 
	margin: 1em 0 1em 2em;
}
.aligncenter {
	margin: 1em auto; 
	display: inline;
}

/* Gallery Styling */
.gallery {
	margin: 1em auto !important;
}
.gallery-item {
	float: left;
	margin: 0.7em 0 0 0 !important;
	padding-right: 1px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.gallery img {
	margin: 0 !important;
	padding: 2px !important;
	border: 1px solid #ddd !important;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.gallery-caption {
	margin-left: 0.3em !important;
}

/* Make Vidoes responsive */
embed, iframe, object, video {
	max-width: 100%;
}

/* Image.php Navigation */
#image-nav {
	color: #fff;
	background: #007fe0;
	padding: 0.5em 1em;
	margin: 2em 0;
}
#image-nav span {
	display: block;
}
#image-nav .nav-previous {
	float: left;
}
#image-nav .nav-next {
	float: right;
}
#image-nav .nav-previous a, #image-nav .nav-next a {
	font-size: 0.9em;
	text-decoration: none;
	color: #fff;
}
#image-nav .nav-previous a:hover, #image-nav .nav-next a:hover {
	text-decoration: underline;
}

/* Comments
-------------------------------------------------------------- */
.post-commentsAndVotes .meta-comments img, .post-commentsAndVotes .meta-comments a {
	vertical-align: middle;
}

#comments {
	margin: 0 0 2em 0;
	padding: 0;
	background: #fff;
	border-top: 1px solid #747579;
}
#comments .comments-title, #respond .comment-reply-title {
	-ms-word-wrap: break-word;
	word-wrap: break-word;
	padding: .5em;
	background: #ffffff;
	border-top: 1px solid #ffffff;
	border-bottom: 1px solid #ffffff;
	margin: 2em 0 0 0;
}
#comments .comments-title span, #respond .comment-reply-title span{
	font-weight: bold;
}
.commentlist {
	display: block;
	margin: 1em 0 2em 2em;
}
.commentlist .comment{
	display: block;
	list-style: none;
	line-height: 1.5em;
	-ms-word-wrap: break-word;
	word-wrap: break-word;
	margin-top: .5em;
}
.commentlist .comment .avatar:after {
	clear: both;
}
.comment-author {
	margin-bottom: 1em;
	background: #ffffff;
	padding: 5px 10px;
	color: #747579;
}
.comment-author .comment-meta {
	font-size: 0.8em;
	-ms-word-wrap: break-word;
	word-wrap: break-word;
	margin-left: 5px;
}
.comment-author .permalink {
	float: right;
	font-size: 0.8em;
}
.comment-author .fn {
	display: inline-block;
	float: left;
	font-weight: bold;
	font-size: 1.0em;
	color: #fff;
	background: #007fe0;
	padding: 0.8em 1.2em;
}
.comment-meta a:link, .comment-meta a:visited, 
.comment-meta a:active, .comment-meta a:hover {
	color: #222 !important;
}
.comment-author .fn a:link, .comment-author .fn a:visited {
	color: #fff !important;
	text-decoration: underline;
}
.comment-author .fn a:hover, .comment-author .fn a:active {
	text-decoration: none;
}
.comment-content .avatar, .comment-content img:first-child {
	overflow: hidden;
	border: 1px solid #a7a9ac;
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	border-radius: 50%;
	float: left;
	margin-right: 1.5em;
}
.comment-content p:first-child {
	float: left;
}
.bypostauthor .fn, .comment-author-admin .fn{
	background: #333;
}
#comments .children {
	margin-left: 2em;
}
#comments .children .comment-author {
	padding: 0 10px;
}
#comments .children .comment-content .avatar {
	width: 45px;
	height: 45px;
}
.nocomments {
	color: #444;
	padding: 1em;
}
.commentlist .pingback {
	display: block;
	margin: 0.6em 0 0;
	padding: 0.8em 0 0;
	border-top: 1px solid #ddd;
	list-style: none;
	line-height: 1.3em;
}
#respond .must-log-in, #respond .oneall_social_login {
	margin-top: 1em;
	margin-left: 2em;
}

/* Comment Pagination */
.comment-pagination {
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	font-size: 0.9em;
	padding: 0 1em;
	margin: 0 2em;
}
.comment-pagination .alignleft {
	float: left;
}
.comment-pagination .alignright {
	float: right;
}
.comment-awaiting-moderation {
	color: #900;
	border: 1px solid #900;
	padding: 5px;
	display: inline;
}

/* Comment Form */
#respond {
	margin: 0;
}
#commentform {
	padding: 0 2em 1em;
}
#commentform p {
	margin: 1em 0;
}
#commentform input[type="text"], #commentform textarea {
	display: inline-block;
	width: 100%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
#commentform label {
	display: block;
	margin: 0.6em 0 0.2em;
}
#commentform #submit {
	display: block;
	border: none;
	margin-top: 1em;
	padding: 1em 4em;
	text-decoration: none;
	color: #fff !important;
	background: #007fe0;
}
#commentform #submit:hover {
	background-color: #303030;
	cursor: pointer;
	text-decoration: none;
}

/* Page Templates
-------------------------------------------------------------- */

/* Fullwidth Template */
.fullwidth {
	float: none !important;
	width: 100% !important;
	padding: 0 !important;
}

/* Front Page Template
-------------------------------------------------------------- */

/* Front Page Slideshow */
#frontpage-slider-container {
	background: #fff;
}
#frontpage-slider-wrap {
	padding: 3em 0 6.5em;
	/* All other Slideshow Styles in flexslider.css */
}

/* Front Page Intro */
#frontpage-intro {
	margin-bottom: 2em;
	color: #555;
	padding: 2em;
	background: #fff;
	border-top: 8px solid #007fe0;
}
#frontpage-intro .frontpage-intro-text {
	font-size: 1.6em;
	line-height: 1.3em;
}

/* Front Page Widgets */
.frontpage-widgets {
	clear: both;
	margin-right: -2em;
}
.frontpage-widgets .widget-col-half {
	float:left;
	width: 50%;
	padding-right: 2em;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.frontpage-widgets .widget-col-third {
	float:left;
	width: 33.3333333333333%;
	padding-right: 2em;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

/* Footer
-------------------------------------------------------------- */
#footer-wrap {
	background: #000005;
}
#footer {
	padding: 1em 0;
	color: #fff;
	font-size: .8em;
}
#footer a {
	color: #ddd;
}
#footer #credit-link {
	float: right;
}

/*============================ MEDIA QUERIES ============================*/

.inthenewspost { width: 28%; }

/* Small screens | <1120px */
@media only screen and (max-width: 90em) {
	.mediaqueries .large {
		display: none !important;
	}
	.mediaqueries .small{
		display: block !important;
	}


	.container {
		width: 98%;
	}
	#mainnav-menu a {
		padding: 1em;
		font-size: 1.3em;
	}

	.post-date {
		top: 95px;
	}

	.post-title {
		padding-top: 0;
	}
	.inthenewspost { width: 43%; }
}
/* Smaller screens | <1120px */
@media only screen and (max-width: 90em) {
	.mediaqueries .large {
		display: none !important;
	}
	.mediaqueries .smaller{
		display: block !important;
	}

	#mainnav-menu a {
		padding: .5em;
		font-size: 1.1em;
	}
	.post-author {
		clear: both;
		width: 100%;
		float: none;
		padding-top: 25px;
	}
	.inthenewspost { width: 43%; }

}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 70em) {
	.mediaqueries .large {
		display: none !important;
	}
	.mediaqueries .tabletslandscape {
		display: block !important;
	}


	.container {
		width: 100%;
	}
	#header, #wrap, #footer, #custom-header {
		padding-left: 2em;
		padding-right: 2em;
	}
	#content {
		float: none;
		width: 100%;
		padding-right: 0;
	}
	#sidebar {
		clear: both;
		margin: 0;
		width: 100%;
		padding: 2em 0 0 0;
	}
	#logo {
		float: none;
		width: 100%;
	}

	/* Mobile Navigation */
	
	/* Reset */
	#mainnav, #mainnav-menu, #mainnav-menu li, #mainnav-menu a, #mainnav-menu ul, 
	#mainnav-menu ul a, #mainnav-menu ul ul, #mainnav-menu li ul ul 
	{
		margin: 0;
		padding: 0;
		position: static;
		float: none;
		display: inline;
		font-size: 1.0em;
		border: none;
		box-shadow: none;
		background: none;
		top: 0;
		left: 0;
	}
	#mainnav-menu li:hover ul ul, #mainnav-menu li:hover ul ul ul, #mainnav-menu li:hover ul ul ul ul,
	#mainnav-menu li:hover ul, #mainnav-menu li li:hover ul, #mainnav-menu li li li:hover ul, #mainnav-menu li li li li:hover ul
	{
		display: inline;
	}
	
	#mainnav {
		margin: 2em 0;
		float: none;
		background: yellow;
		padding: 1em 0;
	}
	#mainnav-icon {
		display: block;
		padding: 1.5em;
		text-decoration: none;
		font-size: 0.9em;
		color: #fff;
	}
	#mainnav-icon:hover {
		cursor: pointer;
		text-decoration:  underline;
	}
	#mainnav-icon:after {
		float: right;
		content: "";
		width: 32px;
		height: 30px;
		background: url(images/menu-icon.png) no-repeat 50%;
		margin: -0.5em 0 0 0;
	}
	#mainnav-menu {
		width: 100%;
		display: none;
		margin-top: 1px;
	}
	#mainnav-menu a {
		display: block;
		padding: .5em;
		text-decoration: none;
		font-size: 1.3em;
		border-left: 2px solid transparent;
		margin-bottom: 1px;
		clear: left;
		border: 1px solid #000005;
	}
	#mainnav-menu a:link, #mainnav-menu a:visited{
		color: #fff;
		text-decoration: none;
	}ainnav-menu ul {
		float: left;
		padding: 1em;
		width: 100%;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}
	#mainnav-menu ul a {
		display: block;
		width: 100%;
		color: #fff;
		margin-bottom: 1px;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
		
	}
	#mainnav-menu ul a:link, #mainnav-menu ul a:visited {
		color: #fff;
	}
	#mainnav-menu ul li ul {
		float: left;
		padding: 0 0 0 1em;
		width: 100%;
		border-top: none;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}

	#mainnav-menu .secondary-menu-item {
		display: inline;
	}
	#secondarynav_container {
		display: none;
	}
	
	/* Frontpage Template */
	#frontpage-slider-wrap {
		padding: 2em 2em 6em;
	}
	#frontpage-intro .frontpage-intro-text {
		font-size: 1.4em;
		text-align: center;
	}
	#frontpage-widgets-one, #frontpage-widgets-two {
		margin: 0;
	}
	.frontpage-widgets .widget-col-third  {
		float: none;
		width: 100%;
		padding-right: 0;
	}
	.inthenewspost { width: 43%; }

}

/* Tablets (portrait) | <800px */
@media only screen and (max-width: 50em) {
	.mediaqueries .large {
		display: none !important;
	}
	.mediaqueries .tabletsportrait{
		display: block !important;
	}


	#logo .site-title {
		font-size: 2.3em;
		text-align: center;
	}
	#frontpage-widgets-three {
		margin: 0;
	}
	.frontpage-widgets .widget-col-half  {
		float: none;
		width: 100%;
		padding-right: 0;
	}
	#frontpage-intro .frontpage-intro-text {
		font-size: 1.3em;
	}
	
	.entry h1, .comment h1 {
	font-size: 2.2em;
	}
	.entry h2, .comment h2 {
		font-size: 1.8em;
	}
	.entry h3, .comment h3 {
		font-size: 1.4em;
	}
	.entry tr th,
	.entry thead th {
		padding: 0.2em 0.4em;
	}
	.entry tr td {
		padding: 0.2em 0.4em;
	}
	.inthenewspost { width: 43%; }

}

/* Phablets (portrait) | <640px */
@media only screen and (max-width: 40em) {
	.mediaqueries .large {
		display: none !important;
	}
	.mediaqueries .phabletsportrait{
		display: block !important;
	}


	.page-title span {
		font-size: 1.5em;
	}
	.post-title span, .post-title a {
		font-size: 1.2em;
	}

	#author-detail {
		width: 100%;
	}

	#author-detail div:first-child, #author-detail div:last-child {
		width: 100% !important;
	}

	#custom-header { display: none; }

	.post-date {
		top: 68px;
		height: 50px;
		width: 50px;
	}
	.post-month { padding-top: 8px; }
	.post-day { font-size: 1.6em !important; }
	.post-title {
		padding-top: 0;
	}
	#logo .site-logo-horizontal {
		display: none;
	}
	#logo .site-logo-vertical {
		display: block;
	}
	.inthenewspost { width: 100%; }
}


/* Smartphones | <480px */
@media only screen and (max-width: 40em) {
	.mediaqueries .large {
		display: none !important;
	}
	.mediaqueries .smartphoneslarge{
		display: block !important;
	}


	.alignright, .alignleft {
		float: none;
		margin: 1em 0;
	}
	.page-title span {
		font-size: 1.2em;
	}
	.post-title span, .post-title a {
		font-size: 1.0em;
	}

	/* Margins */
	#wrap {
		margin-top: 1em;
	}
	#sidebar {
		padding-top: 1em;
	}
	#header {
		padding: 1.7em 1em 1em;
	}
	#custom-header {
		margin-top: 1em;
	}
	#wrap, #footer, #custom-header {
		padding-left: 1em;
		padding-right: 1em;
	}
	.widget, .type-post, .type-page, .attachment, 
	.post-pagination, .wp-pagenavi, #image-nav, #frontpage-intro,
	#comments, #comments .comments-title, #respond #reply-title, .commentlist {
		margin-bottom: 1em;
	}
	.inthenewspost { width: 100%; }
}

/* Smartphones | <320px */
@media only screen and (max-width: 30em) {
	.mediaqueries .large {
		display: none !important;
	}
	.mediaqueries .smartphonessmall{
		display: block !important;
	}


	.postmeta span, .postinfo span {
		display: block;
	}
	.postmeta .sep, .postinfo .sep, .postmeta .post-edit-link {
		border: none;
		margin: 0;
		padding: 0;
	}
	.inthenewspost { width: 100%; }
}

/* Big Screens Navi Fix | >720px */
@media only screen and (min-width: 70em) {
	/* ensure #nav is visible on desktop version */
	#mainnav-menu {
		display: block !important;
	}
}