/*
Theme Name: CBTBI-v2
Theme URI: http://cbtbi.org/
Description: Custom theme for Congregation B'nai Tikvah-Beth Israel
Author: Graphic Design by Randi Wolf - Code by Steve Kurtz, Sewell Internet
Version: 2.0
*/

@import url('https://fonts.googleapis.com/css?family=Poppins');

body {
	font-size:14pt;
	line-height: 1.3em;
	color: #330066; /* Randi's spec */
	color: #163e60; /* Sampled from PDF */
	font-family: Poppins, Arial, Helvetica, sans-serif; /* Randi speced ITC Avant Gards Gothic Book */
	margin: 0;
	padding: 0;
	}
h1, h2 {
	font-family: Poppins, Arial, Helvetica, sans-serif; /* Randi speced ITC Avant Gards Gothic Demi */
	font-weight:bold;
	font-size: 22pt;
	margin-top: 15px;
	margin-bottom: 10px;
	}
h1 {
	font-size: 24pt;
	text-align: center;
	padding-bottom: 5px;
	margin-bottom: 25px;
	border-bottom: #163e60 solid 2px;
	}
h1 a {
	text-decoration: none;
	}
h1 a:hover {
	text-decoration: underline;
	}

h3 {
	font-family: Poppins, Arial, Helvetica, sans-serif; /* Randi speced ITC Avant Gards Gothic Demi */
	font-size: 18pt;
	margin-bottom: 10px;
	}
h4 {
	font-family: Poppins, Arial, Helvetica, sans-serif; /* Randi speced ITC Avant Gards Gothic Demi */
	font-weight: normal;
	font-size: 16pt;
	background-color: #163e60;
	color: #fff;
	text-align: center;
	padding-top: 5px;
	padding-bottom: 5px;
	margin-bottom: 0px;
	margin-top: 0px;
	}
p {
	margin-top: 0.5em;
	margin-bottom: 1em;
	}
#Clear {
	clear: both;
	}
#Wrapper-Window, #Wrapper-Slideshow {
	width: 100%;
	}
#Wrapper-Content, #Wrapper-Content-Header {
	width: 1200px;
	margin-left: auto;
	margin-right: auto;
	}
#Top-Content {
	position: relative;
	padding-bottom: 20px;
	/* margin-top: -10px; /* I should not need to do this! */
	}
#Wrapper-Content {
	background-image: url(graphics/tallit-noflame.jpg);
	background-size: 100% auto;
	}
	
#Header {
	margin-top: 30px;
	margin-bottom: 30px;
	margin-bottom: 20px; /* SK 10/21/16 - Longer Top Menu*/
	width: 100%;
	}
#Nav {
	float: left;
	/* width: 925px; */ /* SK 10/21/16 - Longer Top Menu*/
	width: 1100px !important;  /* SK 10/21/16 - Longer Top Menu*/
	margin-left: 50px;
	font-size: 20pt;
	color:#0CF;
	margin-bottom: 10px;
	}
#Tagline {
	margin-left: 25px;
	clear: left;
	}
#TaglineMobile {
	display: none;
	}
#HeaderRight {
	float: right;
	width: 200px;
	margin-right: 30px;
	}
#HeaderRight input[type="text"] {
    width: 150px;
	margin-bottom: 10px;
	}
#HeaderRight a, #HeaderRight a:hover {
	color:#0CF;
	}
	
#Nav {
	z-index: 9999;
	}
#Nav a {
	color: #163e60;
	text-decoration: none;
	font-family: AvantGardeDemi, Times, Arial, sans-serif; /* Randi speced ITC Avant Gards Gothic Demi */
	}
	
#Wrapper-Slideshow {
	width: 100%;
	background-color: #163e60;
	}
#Slideshow {
	position: relative;
	width: 1200px;
	margin-left: auto;
	margin-right: auto;
	}
#Logo img {
	float: left;
	position: absolute;
	bottom: 25%;
	margin-left: 50px;
	max-width: 275px !important;
	z-index: 999;
	}
#LogoNoEvents img {
	float: left;
	position: absolute;
	bottom: 10%;
	margin-left: 50px;
	max-height: 80% !important;
	max-width: 275px !important;
	z-index: 999;
	}
#UpcomingEventsHeader {
	float: left;
	position: absolute;
	bottom: 0;
	margin-left: 50px;
	width: 255px;
	background-color: #163e60;
	background-color: rgba(22, 62, 96, 0.75);
	padding-top: 10px;
	padding-bottom: 20px;
	padding-left: 10px;
	padding-right: 10px;
	z-index: 9999;
	text-align: center;
	color: #fff;
	font-weight: bold;
	}
#LeftColumn {
	float: left;
	margin-left: 50px;
	width: 275px;
	}
#LeftColumn img {
	max-width: 275px;
	height: auto;
	margin-top: 20px;
	}

#UpcomingEvents {
	width: 255px;
	background-color: #163e60;
	background-color: rgba(22, 62, 96, 0.75);
	text-align: center;
	color: #fff;
	padding-top: 1px;
	padding-bottom: 15px;
	padding-left: 10px;
	padding-right: 10px;
	}
#UpcomingEvents h3 {
	color: #0CF;
	margin-bottom: 0px;
	}
.Upcoming {
	font-size: 16pt;
	line-height: 22pt;
	color: #fff;
	font-family: 'Noto Sans', Arial, sans-serif; /* Randi speced ITC Avant Gards Gothic Demi */
	}
#UpcomingEvents a {
	font-size: 0.9em;
	font-weight: bold;
	color: #0CF !important;
	}
#UpcomingEvents a:hover {
	color: #fff !important;
	text-decoration: none;
	}
.Events {
	font-size: 22pt;
	color: #fff;
	font-family: 'Noto Sans', Arial, sans-serif; /* Randi speced ITC Avant Gards Gothic Demi */
	}
.EventSeeAlso {
	display: block;
	text-align: right;
	}
#CenterColumn {
	position: relative;
	float: left;
	width: 800px;
	margin: 10px 20px 10px 30px;
	}
#CenterColumnWide {
	position: relative;
	margin: 0px 30px 0px 30px;
	padding: 10px 0px 10px 0px;
	}	
#CenterColumnWide img {
	max-width: 94%;
	height: auto;
	}
p.no-wrap-text {
	overflow: hidden !important; 
	}
h4.UrgentRedBackgroundHeader {
	background-color:#F00;
	font-size: 1.5em;
	text-align: center;
	color: #000;
	}
#Urgent {
	background-color: #eee;
	margin-bottom: 10px;
	border: #F00 solid 1px;
	}
#Urgent p {
	padding-left: 10px;
	padding-right: 10px;
	}
	
/*#CenterColumnWide h2, #CenterColumnWide h3 {
	overflow: hidden;
	}*/

#CenterLeft {
	float: left;
	width: 800px;
	}
#CenterRight {
	float: right;
	width: 300px;
	padding-left: 20px;
	border-left: #CCC solid 1px;
	}
	
#RightSidebar {
	position: relative;
	float: right;
	width: 320px;
	margin: 10px 20px 10px 0px;	
	}
#Wrapper-Content img.bottom {
	position: absolute; 
	right: 0; 
	bottom: 0; 
	}
#Wrapper-Content img.silouette {
	max-width: 35%;
	}
#Wrapper-Content a {
	font-weight: bold;
	color: #163e60;
	}
#Wrapper-Content a:hover {
	text-decoration: none;
	}
#ContentQuote {
	width: 65%;
	margin-left: 40px;
	}
#ContentQuote blockquote, #BottomContent blockquote {
	text-indent: 0px !important;
	margin-left: 0px;
	line-height: 1.5em;
	}
#ContentQuote blockquote em {
	font-family: "Times New Roman", Times, serif;
	font-size: 1.2em;
	}
#BottomContent {
	width: 65%;
	}
#BottomContent blockquote em {
	font-family: "Times New Roman", Times, serif;
	font-size: 1.2em;
	}
#HP-Event {
	margin-top: 10px;
	margin-left: 40px;
	margin-right: 40px;
	padding-bottom: 20px;
	height: auto;
	clear: both;
	border-bottom: #CCC solid 1px;
	}
#HP-Event:last-child {
	border-bottom: none;
	}
#HP-Event img {
	float: right;
	max-height: 150px;
	width: auto;
	/* box-shadow: 5px 5px 5px #888888; */
	}
#Wrapper-ManyFaces {
	width: 100%;
	background-color: #163e60;
	}
#ManyFaces {
	width: 1200px;
	margin-left: auto;
	margin-right: auto;
	background-color: #163e60;
	}
#ManyFaces img {
	max-width: 1200px;
	}
#Wrapper-Footer {
	width: 100%;
	background-color: #163e60;
	padding-bottom: 10px;
	}
#Footer {
	width: 1200px;
	margin-left: auto;
	margin-right: auto;
	color: #fff;
	}
#Footer h3 {
	text-transform: uppercase;
	font-size: 1.1em;
	margin-bottom: 6px;
	color: #0CF;
	}
#Footer ul {
	margin-top: 0px;
	padding-left: 0;
	list-style:none;
	}
#Footer ul li {
	line-height: 0.95em;
	margin-bottom: 10px;
	}
#Footer ul li a {
	color: #eee;
	text-decoration: none;
	}
#Footer ul li a:hover {
	color: #fff;
	text-decoration: underline;
	}
#CenterRight {
	font-size: 0.9em;
	}
#CenterRight aside h3 {
	font-size: 1.4em;
	margin-bottom: 6px;
	border-bottom: #CCC solid 1px;
	}
#CenterRight aside ul {
	margin-top: 0px;
	padding-left: .3em;
	list-style:none;
	}
#CenterRight aside ul li {
	padding-top: 3px;
	padding-bottom: 3px;
	line-height: 1.2em;
	border-bottom: #ddd dotted 1px; 
	font-weight: normal;
	}
#CenterRight aside ul a {
	font-weight: normal;
	text-decoration: none;
	}
#CenterRight aside ul a:hover {
	font-weight: normal;
	text-decoration: underline;
	}
#Footer-Left {
	width: 600px;
	float: left;
	margin-top: 10px;
	margin-right: 5%;
	}
#Footer-Center {
	width: 200px;
	float: left;
	margin-top: 10px;
	margin-right: 5%;
	margin-left: 5%;
	}
#Footer-Right {
	width: 200px;
	float: left;
	margin-top: 10px;
	}

img.alignright, .alignright {
	float: right;
	margin-left: 20px;
	margin-bottom: 10px;
	}
img.alignleft, .alignleft {
	float: left;
	margin-right: 20px;
	margin-bottom: 10px;
	}
img.aligncenter, .aligncenter {
	display: block;
    margin-left: auto;
    margin-right: auto;
	}
table.aligncenter {

    margin-left: auto !important;
    margin-right: auto !important
	}

#Search h2, #Blog h2 {
	display: inline-block;
	float: left;
	}
.PostedOn {
	font-size: .8em;
	font-style:italic;
	float: right;
	margin-top: 15px;
	color: #6089aa;
	}
.loop-element {
	border-bottom: #aaa solid 1px;
	padding-bottom: 10px;
	}
.loop-element:last-child {
	border-bottom: #aaa solid 0px;
	padding-bottom: 20px;
	}
.pagination {
	margin-top: 10px;
	}
.alignleft {
	display: inline-block;
	float: left;
	}
.alignright {
	display: inline-block;
	float: right;
	}
#Sidebar h3.widget-title {
	font-size: 1.4em;
	}
#Sidebar ul li a {
	font-weight: normal !important;
	}
/* Contact Form 7 Hack - Corrects mising checkboxes */

div.wpcf7 input[type="checkbox"] {
  -webkit-appearance: checkbox !important;
}
input[type="checkbox"]{
  width: 20px; /*Desired width*/
  height: 20px; /*Desired height*/
}


/* Google Calendar */	
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document url-prefix("http://www.google.com/calendar"), url-prefix("https://www.google.com") {
.tg-today, .bg-exists .tg-today, .st-bg-today {
 background-color:#9FF !important;
}
.lv-today {
/* background-color:#ffffcc !important;*/
.st-bg-today{background-color:rgb(0,77,146) !important;}
.lv-today{background-color:rgb(0,77,146) !important;}
}
}
#GoogleCalendar {
	height: 900px;
	clear: both;
	}
td.st-bg-today {
	background-color: #9FF !important;
	}
td.st-dtitle-today {
	background-color: #9FF !important;
	}
.st-bg-today{background-color:rgb(0,77,146) !important;}
.lv-today{background-color:rgb(0,77,146) !important;}
	
	
#calendarContainer {
	width: 100%;
	height: 900px;
	}
	
@media screen and (max-width: 1220px) {

#Wrapper-Content, #Wrapper-Content-Header, #Slideshow, #ManyFaces {
	width: 100%;
	}
#Slideshow img {
	max-width: 100%;
	}
#CenterColumn {
	width: 700px;
	}
#Wrapper-Content img.silouette {
	max-width: 30%;
	}
#HP-Event img {
	max-width: 50%;
	}
#ManyFaces img {
	max-width: 100%;
	}
#Footer {
	width: 90%;
	}
}

@media screen and (max-width: 1100px) {
#Footer {
	width: 90%;
	}
#CenterColumn {
	width: 600px;
	}
}

@media screen and (max-width: 1024px) {
#Logo img {
	float: left;
	position: absolute;
	bottom: 30%;
	margin-left: 85px;
	max-width: 210px !important;
	}
#LogoNoEvents img {
	float: left;
	position: absolute;
	bottom: 5%;
	margin-left: 25px;
	max-height: 90% !important;
	z-index: 999;
	}
#CenterColumn {
	width: 500px;
	}
#Nav {
	width: 90% !important;
	}
}

@media screen and (max-width: 850px) {
#Tagline {
	display: none;
	}
#TaglineMobile {
	display: block;
	padding-top: 20px;
	margin-left: 40px;
	clear: left;
	font-size: 1.4em;
	width: 100%;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	}
#HeaderRight {
	float: none;
	margin-left: auto;
	margin-right: auto;
}

@media screen and (max-width: 850px) {

#LeftColumn, #UpcomingEventsHeader { 
	display: none; 
	}
#CenterColumn { 
	width: 95%; 
	margin-left: 2%;
	}
#CenterLeft, #CenterRight {
	width: 95%; 
	margin-left: 2%;
	float: none;
	border-left: #aaa solid 0px;
	}	

#Logo img {
	float: left;
	position: absolute;
	bottom: 20px;
	margin-left: 5%;
	max-width: 25% !important;
	}
#Nav, #Tagline, #TaglineMobile; {
	margin-left: 2%;
	}
#Footer-Left {
	width: 95%;
	float: none;
	margin-top: 10px;
	margin-right: 0px;
	}
}

