/*
Theme Name: JGSGB Theme
Theme URI: http://jgsgb.org/
Description: Child theme of twentythirteen
Author: Roger Weiss
Author URI: http://BostonWebCo.com
Template:twentythirteen
Version: 1

*/

@import url("../twentythirteen/style.css");
/*@import url("../responsive/rtl.css");  */

body {
	color:#191919;
	font-size:1.1em;
	background-color: #4492c0;
}

/* Make banner responsive  */
.header-logo {
	max-width:100%;
	position: relative;
	display:block;
	padding:0 0;
	margin-right:auto;
	margin-left:auto;
}

.page-id-263 .wpcf7-form-control-wrap {
	line-height:1.0
}
table {
	font-size:1.1em !important;
	line-height:1.3 !important;
}
table.blocklinks td{
	background-color:#395faa;
	color:#FFF;
	padding:20px 20px;
	font-size:1.5em;
	border-right:1px solid #ededed;
	text-align:center;
}
table.blocklinks td:hover{
	background-color:#8bc968;
	color:#FFF;
}
table.blocklinks a,table.blocklinks a:hover  {
	color:#FFF;
	text-decoration:none;
}
/* eliminate hyhens*/

p, ul, ol, dl, blockquote, .post-statement, .statement {
    -webkit-hyphens: none;
    -moz-hyphens: none;
    hyphens: none;
}

.home .entry-header {
	display:none;
}
.site-info p {
	color:#FFF;
}

hr {
	background:#000;
}
.fourpix {
	width: 23%; 
	float: left; 
	margin: 0 4px;
}
footer#colophon.site-footer {
	background-color:#5c83ac;
}
div#secondary.sidebar-container {
	background-color:#324a76;
}
header.entry-header{
	display:block;
}
h1.entry-title {
	font-size:1.5em;
	color:#395faa;
	font-weight:bold;
}

h1 {
    font-size: 1.5em;
	color:#324A76;
	margin: 12px 0px;
}
h2 {
    font-size: 1.5em;
    margin: 0px 0px;
}
.navbar {
	background-color:#8bc968; /*#d0ddeb;*/
	/*  color:#FFF;  */
}
.widget {
	background-color: rgba(208, 221, 235, 0.6);

}
.widget a {
	 color: #105FAC;
	 font-weight:bold;
}
.widget a:hover {
	 color: #00F;
	 text-decoration:underline;
}

.entry-content a, .comment-content a {
    color: #105FAC;
	 font-weight:bold;
}


#text-3.widget {
	background-color:#d0ddeb;
	border:2px solid #4492c0;
	padding:12px 10px;
	margin-top:12px;
	font-size:1.1em;
}

.glance {
	border:thin #000 solid;
	padding:10px 10px;
	font-weight:bold;
}
.widget .widget-title {
	font: bold italic 20px "Source Sans Pro", Helvetica, sans-serif;
}
code, kbd, pre, samp {
	font-family: "Source Sans Pro",Helvetica,sans-serif;
	font-size:1.1em;
}
.nav-menu .sub-menu, .nav-menu .children {
    background-color: #4b7198;
}
.nav-menu li:hover > a, .nav-menu li a:hover {
    background-color: #4b7198;
}
ul.nav-menu ul a:hover,
.nav-menu ul ul a:hover, ul.nav-menu ul a:focus, .nav-menu ul ul a:focus  {
	background-color: #8bc968;
}

.whatsnew {
	padding: 6px;
	border: #4b7198 2px solid;
	margin: 12px 0;
}
.wn-container {
  height: 0;
  position: absolute;
  left:20px;
  top: 140px;
  width: 100%;
  z-index: 1;
}

span.wpcf7-list-item {
    display: block;
}
a.url, a.url:active, a.url:visited {
	color:#ccc !important;
}
.entry-content  a.tribe-event-url:hover {
   /* text-decoration: underline !important; */
    color: #8bc968;
}
.tribe-events-list .type-tribe_events h2 {
    font-size: 1.3em;
}
#tribe-events .tribe-events-content p, .tribe-events-before-html p, .tribe-events-after-html p {
 /*   width: 500px;  */
	width:100%;
}
#tribe-events .tribe-events-content ul {
    width: 500px;  
}

.site-footer .widget a {
	color:#FFF;
}
.site-footer  a {
	color:#ddd;
}
aside#text-2.widget.widget_text.masonry-brick {
    width: 220px;
}
aside#text-4.widget.widget_text.masonry-brick {
    /*max-width: 80%;*/
	min-width:280px;
	width:60%;
}
.nav-menu .sub-menu .current_page_item > a,  .nav-menu .sub-menu .current-menu-item > a {
    color: #fff;
    font-style: italic;
}
.entry-content a:hover, .comment-content a:hover {
    color: #00F;
	text-decoration:underline;
}
.tribe-events-category-specials {
	/*background-color:#9CF;*/
	padding: 5px 5px !important;
}
.tribe-events-list-widget ol li {
    margin-bottom: 30px;
    list-style: none outside none;
    padding: 5px 5px;
}
.tribe-events-list .vevent.hentry {
	padding: 0 1.0em;
}
.nav-menu .current_page_item > a, .nav-menu .current_page_ancestor > a, .nav-menu .current-menu-item > a, .nav-menu .current-menu-ancestor > a {
	color: #FFF; /*#8bc968; */
	font-weight:bold;
}

.tribe-events-venue a, .author.fn.org a {
	color:#00F !important;
}
.author.fn.org a:hover {
	color: #8bc968 !important;
}
span.fn.org.tribe-venue {
	font-size:1.2em;
}
dd.author.fn.org {
	font-size:1.2em;
}
span.author.fn.org {
	font-size:1.2em;
	font-weight:bold;
}
#pgm-tags {
	margin:-70px 20px; 0 0;
	float:right;
}
#jgbox {
	margin: 10px;
	padding: 10px;
	width: 450px;
	border: 1px solid #003399;
	margin-left: 50px;
}
#jgeventbox {
	margin-bottom: 20px;
	padding: 10px;
	width: 100%;
	border: 2px solid #f00;
}
h1, h2, h3, h4, h5, h6 {
clear: both;
font-family: inherit;
line-height: 1.3;
}
h3 {
	margin: 0 0;
}
.tribe-events-list-event-description {
	display:none;
}
.tribe-events-list-separator-month {
	margin:0 auto;
}
.tribe-events-list-separator-month + .vevent.hentry.tribe-events-first {
    padding-top: 0;
}

.hentry {
	padding:10px 0 ;
}
table.cele36 {
	line-height:1.4;
	font-size:1em;
}
h4.nomar {
	margin: 0 0;
}

#tribe-events-content a, .tribe-events-adv-list-widget .tribe-events-widget-link a, .tribe-events-adv-list-widget .tribe-events-widget-link a:hover, .tribe-events-back a, .tribe-events-back a:hover, .tribe-events-event-meta a, .tribe-events-list-widget .tribe-events-widget-link a, .tribe-events-list-widget .tribe-events-widget-link a:hover, ul.tribe-events-sub-nav a, ul.tribe-events-sub-nav a:hover {
    text-decoration: underline;
  /*  color: #bbb !important; */
    opacity: 1;
}

.wp-caption .wp-caption-text, .entry-caption, .gallery-caption {
	font-size:13px;
}
.postsubs {
	background-color:#4492c0;
	color:#FFF;
	padding:4px 6px;
}

@media (max-width: 1015px) {
		.sidebar .entry-header,
		.sidebar .entry-content,
		.sidebar .entry-summary,
		.sidebar .entry-meta,
		.sidebar .comment-list,
		.sidebar .comment-reply-title,
		.sidebar .comment-navigation,
		.sidebar .comment-respond .comment-form,
		.sidebar .featured-gallery,
		.sidebar .post-navigation .nav-links,
		.author.sidebar .author-info {
			max-width: 604px;
			padding-left: 0;
			padding-right: 0;
	}
	.site-main .widget-area {
		float: none;
		margin: 0px;
		width: 100%;
	}
	.site-main .sidebar-container {
		height: auto;
		margin: 0px auto;
		max-width: 604px;
		position: relative;
		top: 20px;
	}
}
@media (max-width: 643px) {
	.nav-menu .current_page_item > a, .nav-menu .current_page_ancestor > a, .nav-menu .current-menu-item > a, .nav-menu .current-menu-ancestor > a {
		background-color: #4b7198;
		color:#FFF;
	}
	.toggled-on .nav-menu li a:hover, .toggled-on .nav-menu ul a:hover {
		background-color: #8BC968;
		color: #FFF;
	}
	.nav-menu .sub-menu .current_page_item > a, .nav-menu .sub-menu .current-menu-item > a {
		color: #fff;
		font-style: italic;
	}
	.nav-menu .sub-menu, .nav-menu .children {
		border-style:none;
	}
	.fourpix {
		width: 46%; 
		float: left; 
		margin: 0 4px;
	}
	table.cele36, table.cele36 tr, table.cele36 td {
		display:block;
		width:100%;
	}
	table.cele36 tr {
		border:1px solid #ccc;
	}
	
	table.cele36 td {
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
		padding-left: 0; 		
	}
	
	table.cele36 td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
	}

	#tribe-events .tribe-events-content ul {
		width: 100%;
	}
}