/**
 * Screen Stylesheet
 * Default style for the Hybrid theme
 *
 * @since 0.3
 * @package Hybrid
 * @subpackage CSS
 */
html {
	margin-top: 46px;
}

/* Body */
body {
	font: normal normal normal 12px/18px arial, verdana, sans-serif;
	color: #000;
	}

/* Body container */
#body-container {
	margin: 30px;
	width: calc(100% - 60px);
	max-width: 900px;
	/*background-color: blue;*/
	display: inline-block;
}

#container {
	/*background-color:red;
	 grid-gap: 60px;*/
	/* display: grid;
  	grid-template-columns: 320px 450px 130px;
	width: 100%; */
}

#content {
  display: grid;
  	grid-template-columns: 320px 450px 130px;
	width: 100%;

}

.hfeed {
  order: 2;
	margin-right: 60px;
	border-top: 1px solid #b2001b;
  overflow-x: hidden;
}
.no-widgets .content, .no-default-widgets .content {

}

#primary {
	/*background-color: yellow;*/
	position: relative;
	order: 1;
	margin-right: 60px;
	border-top: 1px solid #b2001b;

}

#secondary {
	/*background-color: tomato;*/
	position: relative;
	order: 3;
	border-top: 1px solid #b2001b;
}

/* Links */
a {
	color: black;
	text-decoration: none;
	font-weight: bold;
	}
a:visited {
	color: black;
	}
a:hover, a:active {
	color: black;
	text-decoration: underline;
	}

h1
{
	font-size: 13pt;
	font-weight: bold;
	padding-top: 10px;
	margin: 0 0 15px 0;
	color: black;
}

/* Headers */
h2, h3, h4, h5, h6 {
	color: #000;
	font-weight: bold;
	}
h2 {
	font-size: 10pt;
	font-weight: bold;
	padding-top: 10px;
	margin: 0px 0 10px 0;
	color: black;
	}
h3 {
	font-size: 10pt;
	font-style: italic;
	font-weight: normal;
	padding-top: 10px;
	margin: 0px 0 10px 0;
	color: black;
	}
h4 {
	font-size: 13pt;
	font-weight: bold;
	padding-top: 10px;
	margin: 0px 0 25px 0;
	color: black;
	}
h5 {
	font-size: 15px;
	}
h6 {
	font-size: 13px;
	}

/* Lists */
ul {
	list-style: square;
	}

/* Blockquotes */
blockquote {
	font-style: italic;
	color: #555;
	}
blockquote blockquote {
	color: #777;
	}
blockquote em {
	font-style: normal;
	}

/* Code */
pre {
	padding: 9px;
	background: #f9f9f9;
	border: 1px solid #ccc;
	}
code {
	padding: 0 3px;
	background: #eee;
	}
pre code {
	background: transparent;
	}

/* Tables */
table {
	width: 100%;
	border-collapse: separate;
	border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;
	}
caption {
	font-size: .9em;
	font-style: italic;
	text-align: right;
	}
td, th {
	padding: 3px 6px;
	border-bottom: 1px solid #ccc;
	border-right: 1px solid #ccc;
	}
th {
	background: #eee;
	}

.line {
  display: inline-block;
  width: 100%;
  height: 1px;
  background-color: brown;
}

.line-dark {
  position: fixed;
  top: 65px;
  display: inline-block;
  width: calc(100% - 30px);
  margin-left: 15px;
  height: 1px;
  background-color: black;
}

/* Drop caps */
.drop-cap {
	float: left;
	margin: 3px 3px 0 0;
	font: normal normal normal 47px/35px "Warnock Pro", "Goudy Old Style", Palatino,"Book Antiqua", Cambria, Georgia, serif;
	color: #333;
	}

/* Notes */
.note {
	padding: 6px 9px;
	background: #eee;
	border: 1px solid #ccc;
	}

/* Warnings/Alerts */
.warning, .alert {
	padding: 6px 9px;
	background: #fffbbc;
	border: 1px solid #E6DB55;
	}

/* Errors */
.error {
	padding: 6px 9px;
	background: #ffebe8;
	border: 1px solid #C00;
	}

/* Downloads */
.download {
	padding: 6px 9px;
	background: #e7f7d3;
	border: 1px solid #6c3;
	}

/* Breadcrumb */
.breadcrumb {
	margin: -17px 0 0px 0;
	font-size: .9em;
	font-style: italic;
	color: #666;
	}
.breadcrumb a {
	color: #111;
	text-decoration: none;
	}
.breadcrumb a:hover {
	color: #d54e21;
	text-decoration: underline;
	}

.breadcrumb-title
{
	display:none;
}

/* Images */
.post img {
	max-width: 568px;
	padding: 5px;
	border: 1px solid #ccc;
	}

.thumbnail {
	float: left;
	width: 100px;
	height: 100px;
	margin: 5px 15px 0 0;
	}

/* Captions [caption] */
.wp-caption {
	max-width: 576px;
	margin-top: 6px;
	padding: 6px 1px 0 1px;
	border: 1px solid #ccc;
	text-align: center;
	}
.wp-caption .wp-caption-text {
	margin: 0;
	padding: 0 5px;
	text-align: right;
	font-size: .9em;
	font-style: italic;
	color: #666;
	}
.wp-caption img {
	max-width: 564px;
	margin: 0 auto;
	padding: 0;
	border: 1px solid #666;
	}

/* Gallery [gallery] */
.gallery img {
	border: 1px solid #ccc;
	}

/* Avatars */
.avatar {
	float: left;
	width: 100px;
	height: 100px;
	margin: 5px 15px 0 0;
	padding: 5px;
	border: 1px solid #ccc;
	}

/* Header */
#header {
	margin: 0 0 0 0;
	}

/* Blog title */
#site-title {
	font-size: 17pt;
	font-weight: bold;
	padding: 3px 5px 0px 0;
	margin: 0 0 10px 0;
	letter-spacing: -1px;
	}
#site-title a {
	color: #000;
	padding-right:20px;
	padding-bottom: 7px;
	}

/* Blog description */
#site-description {
	font: normal normal normal 16px/20px Georgia, Times, "Times New Roman", serif;
	margin: 0;
	color: #666;
	}

/* Navigation */
#navigation {
	overflow: visible;
	height: 44px;
	margin: -20px 0 0 320px;
  /* background-color: red; */
	/* z-index: 100;*/
	}
#page-nav li {
	margin-right: 5px;
	}
#page-nav li li {
	margin-right: 0;
	}
#page-nav li a {
	padding: 0px 10px 0px 0px;
	color: #111;
	font-weight: bold;
	font-size: 10pt;
	}

#page-nav ul li:first-child
{
	display:none;
}

#mMenu-icon {
  display: none;
}

#mMenu-wrp {
  position: fixed;
  top: 0px;
  left: 100vw;
  background-color: brown;
  width: 100%;
  height: 140vh;
  z-index: 1000;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

#mMenu-wrp .page-nav {
  position: relative;
  top: 50px;
  left: 0px;
  /* background-color: red; */
  font-size: 18px;
  line-height: 28px;
  margin-top: 20px;
}

#mMenu-wrp .page-nav ul {
  margin-left: 15px;
  list-style: none;
}

#mMenu-wrp .page-nav ul .current_page_item {
  /* background-color: yellow; */
  text-decoration: underline;
}

#mMenu-wrp .page-nav ul li {

}

/* Drop-downs style */
#page-nav li:hover ul, li.sfHover ul {
	top: 32px;
	}
#page-nav li li a {
	border-top: none;
	margin-right: 0;
	}
#page-nav li ul {
	border-top: 1px solid #ccc;
	}
#page-nav li li:hover ul, li li.sfHover ul , #page-nav li li li:hover ul, li li li.sfHover ul  {
	top: -1px;
	}
#page-nav li li li {
	margin-left: -1px;
	}

/* Posts */
.post {
	overflow: hidden;
	margin: 0 0 40px 0;
	}
.single .post, .attachment .post, .page .post {
	margin: 0;
	}

/* Archive information */
.author-info, .author-profile, .date-info, .category-info, .tag-info, .search-info, .taxonomy-info {
	overflow: hidden;
	margin: 0 0 40px 0;
	}

/* Entry title */
.entry-title {
	font-size: 13pt;
	margin: 0 0 25px 0;
	font-weight: bold;
	padding-top: 10px;
	font-size: 13pt;
	}

.archive .entry-title, .search .entry-title {
	font-size: 21px;
	margin: 0;
	}
.page-title, .attachment-title {
	margin: 0 0 21px 0;
	display:none;
	}
.entry-title a {
	color: #000;
	}

.hentry
{
	margin: 0;
	padding: 0;
}

.category-title
{
	margin: 0;
}

/* Byline */
.byline {
	margin: 0 0 30px 0;
	font-style: italic;
	color: #666;
	display: none;
	}
.archive .byline, .search .byline {
	margin: 0;
	}
.byline .byline-prep {
	text-transform: lowercase;
	}

/* Entry content */
.entry-content {
	overflow: hidden;
	margin: 10px 0 10px 0;
	}


/* Entry metadata */
.entry-meta {
	font-style: italic;
	color: #666;
	}

/* Page links (multiple-paged posts) */
p.pages a {
	margin: 0 3px;
	padding: 3px 9px 3px 9px;
	border: 1px solid #ccc;
	}

/* Navigation links */
.navigation-links {
	margin-bottom: 21px;
	font-style: italic;
	}
.navigation-links .previous {
	float: left;
	max-width: 50%;
	}
.navigation-links .next {
	float: right;
	max-width: 50%;
	text-align: right;
	}

/* WP Pagenavi plugin */
.wp-pagenavi {
	margin-bottom: 21px;
	}
.wp-pagenavi .pages, .wp-pagenavi .current, .wp-pagenavi .extend, .wp-pagenavi a {
	margin-right: 6px;
	padding: 3px 9px 3px 9px;
	border: 1px solid #ccc;
	}

/* Widgets */
.widget {
	overflow: visible;
	margin: 0 0 15px 0;
	color: #464646;
	}
.widget a {
	color: #464646;
	text-decoration: underline;
	}
.widget a:hover {
	color: black;
	text-decoration: underline;
	}

/* Widget titles */
.widget-title {
	font-family: arial, helvetica, sans-serif;
	font-size: 13pt;
	font-weight: bold;
	padding-top: 10px;
	margin: 0px 0 25px 0;
	color: black;
	display: none;
	}

/* #custom_html-2 {
	position: absolute;
	top: -55px;
	right: 0px;

}

#custom_html-2 a {
	font-size: 8pt;
	font-family: arial, helvetica, sans-serif;
	font-style: normal;
	text-decoration: none;
	margin-right: 4px;
	float: right;
}

#custom_html-2 img {
	float: right;
} */

#social-links {
	position: absolute;
  display: inline-block;
	top: -55px;
	right: 0px;
  /* background-color: red; */
  width: 120px;
}
#social-links div {
  display: inline-block;
  /* background-color: blue; */
  width: 100%;
}

#social-links a {
	font-size: 8pt;
	font-family: arial, helvetica, sans-serif;
	font-style: normal;
	text-decoration: none;
	margin-right: 4px;
	float: right;
}

#social-links img {
	float: right;
}

#utility-before-content
{
	position: absolute;
    top: 0px;
	left: 480px;
	margin-top: -60px;
	width: 100px;
	text-align: right;
	line-height: 160%;
}

#utility-before-content a
{
	font-size: 8pt;
	font-family: arial, helvetica, sans-serif;
	font-style: normal;
	text-decoration: none;

}

#utility-before-content img
{
	margin-left: 4px;
}

/* Utility widget areas */
#utility-after-content, #utility-after-page, #utility-after-single {
	margin: 0 0 21px 0;
	padding: 20px 20px 0 20px;
	border: 1px solid #ccc;
	display: none;
	}

/* Comments template */
#comments-template {
	}

/* Comment headers */
.comments-header {
	font-size: 1.2em;
	}

/* Comments are closed */
.comments-closed {
	font-style: italic;
	}

/* Comment list */
#comments-template ol {
	list-style: none;
	margin: 0 0 21px 0;
	}
#comments li, #comments li li li, #comments li li li li li {
	overflow: hidden;
	margin: 0 0 15px 0;
	padding: 15px 15px 0 15px;
	background: #fff;
	border: 1px solid #ccc;
	}
#comments li li, #comments li li li li {
	background: #f9f9f9;
	}

/* Avatar */
#comments-template .avatar {
	width: 40px;
	height: 40px;
	float: left;
	margin-right: 15px;
	padding: 0;
	border: 1px solid #666;
	}

/* Comment meta data */
.comment-meta-data {
	margin: 10px 0 21px 0;
	font-size: 13px;
	color: #666;
	}
.comment-author {
	font-size: 15px;
	color: #000;
	}
.comment-reply-link, .permalink, .comment-edit-link {
	font-style: italic;
	color: #666;
	}

/* Comment text */
.comment-text {
	clear: left;
	margin: 0 15px;
	}

/* Form */
.text-input {
	display: block;
	padding: 3px 6px;
	width: 97%;
	}
#comments-template label {
	font-size: .9em;
	}

/* Respond textarea */
textarea {
	width: 98%;
	}

/* Submit and rest buttons */
.button, .submit, .reset {
	width: 100px;
	margin-right: 15px;
	padding: 7px 15px 8px 15px;
	background: #fff;
	border: 1px solid #ccc;
	}
.button:hover, .submit:hover, .reset:hover {
	cursor: pointer;
	background: #f9f9f9;
	}

/* Footer container */
#footer-container {
	margin: 0 0 21px 0;
	}

/* Subsidiary */
#subsidiary {
	margin: 0 0 21px 0;
	}

/* Footer */
#footer {
	font-style: italic;
	color: #444;
	}
#footer .copyright {
	display: inline;
	float: left;
	margin-right: 9px;
	}

.extlinks {
	background: #ddd;
	font-weight: bold;
	padding: 0;
	width: 100%;
	/* margin-top: 10px; */
	margin-bottom: 12px;
}


.extlinks img {
	margin-bottom: 5px;
	width: 100%;
}

.extlinks a {
	/* clear: both; */
	text-decoration: none;
	padding-left: 5px;
	font-size: 7pt;
}

.extlinks a:hover {
	text-decoration: underline;
}

.extlinks:first-of-type {
	display: none;
	margin-top: 0px !important;
}

.cat-posts {
	list-style-type: none;
	margin-left:0px;
	margin-top:0;
}

.cat-posts-works li.cat-post-item p {
	margin-left: 10px;
	margin-bottom: 0px;
	margin-top: 0px;
}

li.cat-post-item {
	list-style-type: none;
	margin-left: 0px;
	padding-left: 0px;
	line-height: 130%;
	font-size: 9pt;
	color: white;
}

li.cat-post-item .post-date {
	color: #555555;
	text-decoration: none;
	color: grey;
}

li.cat-post-item a.post-title {
	text-decoration: none;
	font-weight: bold;
	color: black;
}

li.cat-post-item a.post-title:hover {
	text-decoration: underline;
}

li.cat-post-item p {
	color: #555555;
	padding:0;
	margin: 0 0 10px 0px;
}

/* Calendar styles */


#calendarhead
{
	height: 100px;
	width: 100%;
	position: relative;
	margin-top: 40px;
}
/*
.monthead
{
	display: inline;
	text-align: center;
	width: 60px;
	padding: 18px 6px 2px 6px;
	bottom: 0;
	font-family: arial, helvetica, sans-serif;
	font-size: 11pt;
	margin-left: -2px;
}
*/
.monthead a
{
	cursor: pointer;
	color: white;
	text-decoration: none;
}

#month_3
{
	padding-top: 2px;
	background-color: red;
}

#media-files{
	float: right;
	width: 100%;
	display: inline-block;
	padding-top: 0;
	text-align: center;
	clear: none;
}

#media-files h1
{
	font-size: smaller;
	margin-bottom: 0.5em;
	margin-top: 0;
	padding-top: 0;
}

#media-files img {
	width: 100%;
	padding: 0px;
	border: 0px;
}

#calendar-navbar
{
	position: relative;
	width:595px;
	height: 60px;
}

#calendar-navbar div
{
	padding: 30px 0.46em 0 0.46em;
 	margin: 0 0 0 -2px;
	background-color: red;
	text-align: center;
	cursor: pointer;
	font-family: arial, helvetica, sans-serif;
	font-size: 12pt;
	font-weight: bold;
	color: white;
	display: inline;
	bottom: 0;
}

#calendar-entries
{
	clear: both;
}

#Jan, #Feb, #Mar, #Apr, #May, #Jun, #Jul, #Aug, #Sep, #Oct, #Nov, #Dec
{
	display: none;
}

.calendar-entries div div
{
	background-color: #444444;
	height: 100px;
	overflow: hidden;
	margin-top: 10px;
	padding: 0;
}

.calendar-entries div div p
{
	margin: 30px 0 0 140px;
	color: white;
	padding: 0;
	padding-right: 30px;
	font-size: 8pt;
}

.calendar-entries div div p img
{
	float: left;
	position: absolute;
	border: 0;
	width:110px;
	height: 100px;
	margin-top: -30px;
	left: 0;
	padding: 0;
}

.calendar-entries div div h2
{
	margin-top: -13px;
	margin-left: 140px;
	color: lightgrey;
	font-size: 6pt;
	font-family: verdana, helvetica, sans-serif;
	font-weight: normal;
	position: absolute;
}

.calendar-entries div div h1
{
	margin-top: 3px;
	margin-left: 140px;
	position: absolute;
	color: white;
	font-family: courier new;
	font-size: 13pt;
	letter-spacing: 80%;
}

.calendar-entries div div h1 a
{
	color: white;
	text-decoration: none;
}

.calendar-entries div div h1 a:hover
{
	text-decoration: underline;
}

#execphp-3 li
{
	list-style-type: none;
}

.includepage
{
	line-height: 100%;
	padding-top: 1em !important;
}

.includepage>p
{
	font-size: x-small;
	margin-bottom: 1em;
}

.togglediv
{
	margin-bottom: 1em;
}

.togglediv div
{
	cursor: pointer;
	border-bottom: solid lightgrey 1px;
	background-image: url( '../../downarrow.png' );
	background-repeat: no-repeat;
	background-position: bottom right;
}

.togglediv p
{
	display: none;
}

.togglediv div
{
	background-color: grey;
	color: white;
	font-size: smaller;
}

.togglediv h1
{
	margin-top: 3px;
	margin-left: 140px;
	position: absolute;
	color: white;
	font-family: courier new;
	font-size: 13pt;
	letter-spacing: 80%;
}

.togglediv div
{
	background-color: #444444;
	height: 100px;
	overflow: hidden;
	margin-top: 10px;
	padding: 0;
}

.togglediv>div>p
{
	margin: 30px 0 0 140px;
	color: white;
	padding: 0;
	padding-right: 30px;
	font-size: 8pt;
	display: block;
}

.togglediv div p img
{
	float: left;
	position: absolute;
	border: 0;
	width:110px;
	height: 100px;
	margin-top: -30px;
	left: 0;
	padding: 0;
}

@media screen and (max-width: 960px) {
    #body-container {

		/* background-color: blue; */
	}
  #navigation {
  	overflow: visible;
  	height: 44px;
  	/* margin: -20px 0 0 320px; */
    margin-left: 34%;
    /* background-color: blue; */
  	/* z-index: 100;*/
  }

	#content {
		grid-gap: 6%;
  		grid-template-columns: 28% 43% 130px;

	}

	.hfeed {
		margin-right: 0px;

	}

	.no-widgets .content, .no-default-widgets .content {

	}

	#primary {
		margin-right: 0px;
	}

	#secondary {

	}
}

@media screen and (max-width: 850px) {
	#body-container {
		margin: 15px;
		width: calc(100% - 30px);

	}
}

@media screen and (max-width: 800px) {
	html {
		margin-top: 0px !important;
	}

	.line {
		display: none;
	}

	#sortformid {
		margin-bottom: 10px;
	}

	#body-container {
		margin: 15px;
		width: calc(100% - 30px);

	}

  #navigation {
    margin-left: 214px;
    /* background-color: red; */
  }

  #navigation li:last-of-type {
    /* background-color: yellow; */
    margin-right: 0px;
  }

  #navigation li:last-of-type a{
    padding-right: 0px;
  }

	#content {
		grid-gap: 0px;
  		grid-template-columns: 100%;

	}

	.hfeed {
		margin-right: 0px;
		order: 1;
    max-width: 440px;

	}

	.no-widgets .content, .no-default-widgets .content {

	}

	#primary {
		margin-right: 0px;
		order: 2;
    max-width: 440px;
	}

	#secondary {
		order: 3;
    border-top: 0px;
    max-width: 440px;
		border-top: 1px solid brown;
		border-bottom: 1px solid brown;
	}

  #social-links {
  	position: relative;
    display: block;
    top: 0px;
    right: auto;
    left: 0px;
    width: 130px;
		height: 100px;
    text-align: left;
		margin-right: 15px;
    margin-bottom: 15px;
		/* background-color: blue; */
		float: left;

  }

  #social-links div {
    display: inline-block;
    text-align: left;
    width: 100%;
		/* background-color: red; */
  }

  #social-links a {
  	font-size: 8pt;
  	font-family: arial, helvetica, sans-serif;
  	font-style: normal;
  	text-decoration: none;
  	margin-right: 4px;
  	float: left;
  }

  #social-links img {
  	float: left;
    margin-right: 4px;
  }

  .extlinks {
    width: 130px;
    height: 100px;
    margin: 0px;
    float: left;
    margin-right: 15px;
    margin-bottom: 15px;
  }

  .extlinks img {
    width: 100%;
    height: 75px;
  }
}

@media screen and (max-width: 485px) {
  #navigation {
    display: none;
  }

  #header {
    display: inline-block;
    /* background-color: blue; */
    position: relative;
    height: 50px;
    width: 100%;
    z-index: 1500;
  }

  #mMenu-icon {
    display: block;
    position: absolute;
    top: 4px;
    right: 0px;
    z-index: 1500;
  }

  .is-active {
    position: fixed !important;
    top: 4px;
    right: 0px;
    z-index: 1500;
  }

  .is-active-st {
    display: block;
    position: fixed !important;
    top: 15px;
    left: 15px;
  }

  .is-active-header {
    margin-bottom: -5px;
  }

  .is-active-mmw {
    /* display: block !important; */
    top: 0px !important;
    left: 0px !important;
  }

  #mMenu-wrp {

  }

}
