/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

.twoWeeksTable  {
	font-size: 14px;
	text-align:left;
}
   
.icon-bar {background-color: #000;}

.loading{
  background-image: url("spinner.png") 
  background-color: #DFDFDF
}

.is-loaded .loading {
  /* back to default styling, e.g. */
  background-image: none
  background-color: white
}

audio {
	height: 50px; 
	width: 300px
}

h3,h4 {
  font-weight: bold;
}

html,
button,
input,
select,
textarea {
    color: #222;
	height:100%;
} 

body a  {
	color: blue;
}

body a:visited {
	
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 0px;
    border-top: dotted 1px #000;
	border-width: thin;
	border-bottom: white;
    margin: 1em 0;
    padding: 0;
}

hr.divider {
    border-top: 5px solid #000;
	padding: 5px;
}

img.lineBreak {
	display: block;
	margin-left: auto;
	margin-top: 40px;
	margin-bottom: 40px;
	margin-right: auto;
	width: 100%;
}

img.mugshot {
	width: auto;
}

.photoFrame {
 float:right; padding: 5px 15px
}

img.originalRatio {
	width: auto;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

p {
	margin: 0em 0em 1em;
}

.tile {
	background-size:100%;
	background-position: center top;
	background-repeat: no-repeat;
	color: white;
	text-align:left;
	font-weight: bold;
}

.footer-paragraph {
	margin: 0;
}

.footer-emphasise {
	font-weight: bold;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

.wrapper {
	width: 90%;
    margin: auto;
}

/* ===================
    ALL: White Theme
   =================== */

.header-container {
    /* border-bottom: 0px solid white; */
}

.footer-container,
.main aside {
//    font: 10px/20px Helvetica, Helvetica Neue, Arial;
    border-top: 20px solid white;
}

.header-container,
.footer-container,
.main aside {
    background: white;
}

/* ==============
    MOBILE: Menu
   ============== */

nav ul {
    margin: 0;
    padding: 0;
}

nav a {
    display: block;
    margin-bottom: 10px;
    padding: 15px 0;

    text-align: left;
    text-decoration: none;
    font-weight: bold;

    color: black;
    background: white;
}

nav a:visited {
    color: black;
}

nav a:hover {
    text-decoration: none;
	color: green;
}

/* ==============
    MOBILE: Main
   ============== */

.main {
    padding: 0;
}

h1 {
    margin: 0;
}

.main article h1 {
    font-size: 2em;
}

.main aside {
    color: white;
    padding: 0px 5% 10px;
}

.footer-container footer {
    color: 444;
    padding: 20px 0;
}

.title {
		float: left;
		color: white;
		background: url('../img/trc_logoV2.png') no-repeat;
		width: 100%;
		height: 100px;
		background-size: 100%;
		text-indent:-9999px;
		margin-top: 3px;
		margin-bottom: 12px;
	}

.contact {
    display:block;
}	
	
.icon {
	float: left;
	width:26px;
	height:30px;
	margin-left: 4px;
	display:block;
	text-indent:-9999px;
	background-image:url('../img/elements_medium.png');
	background-repeat:no-repeat;
}

.play_icon {
	float: left;
	width:16px;
	height:40px;
	margin-left: 5px;
	margin-right: 9px;
	margin-top: 26px;
	display:block;
	text-indent:-9999px;
	background-image:url('../img/play.png');
	background-repeat:no-repeat;
}

.youTube {
	background-position:-218px -39px;
}

.search {
	background-position:-0px -39px;
}

.down {
	background-position:-141px -45px;
	width:12px;
	float: right;
}

.phone {
	background-position:-175px -39px;
}

.no_underline {
	text-decoration: none;
}

.phone_number {
    font-style: normal;
	color: #000;
	float: left;
	width:0px;
	height:40px;
	margin-left: 1px;
	display:block;
	text-indent:-9999px;
	background-image:url('');
	background-repeat:no-repeat;
}

.play {
	background-position:-0px -0px;
}

.twitter {
	background-position:-257px -39px;
}

.facebook {
	background-position:-290px -39px;
}


.quarters {
	width: 100%;
	float: left;
	background-size:100%;
	background-position: center top;
	background-repeat: no-repeat;
	color: white;
	text-align:left;
	font-weight: bold;
	}

.latest_sermon {
	width: 100%;
	float: left;
	background-size:100%;
	background-position: center top;
	background-repeat: no-repeat;
//	color: white;
	text-align:left;
	font-weight: bold;
	margin: 1px;
	margin-bottom: 3px;
	}
	
.quarters-text {
	color:black; 
	font-size: 12px;
	text-align:left;
	background-color: white;
}

.halves {
	width: 100%;
    float: left;
}

.firstHalf{
	margin-left: 0px;
}

.halves-title{
	margin-left: 20px;
	margin-top: 20px;
	display: block;
}

.halves-body{
	font-weight: normal;
	display: block;
	margin-left: 20px;
}



.singles {
	width: 100%;
    float: left;
	background-size:100%;
	color: white;
	font-weight: bold;
	text-align: center;
}
.nophotobanner {
	height: 80px;
}

.sermonTile {
    color: black;
	font-size: 14px;
	font-weight: normal;
}

.sermonTable table{
   border: 1px solid black;
}

.sermonTable , th, td {
	vertical-align:top;
}

.mp3Player {
	display: none;
}

.eventsTable , th, td {
	padding: 5px;
}

.thisSunday {
	background-color: green;
}

.sermonArchive {
	background-color: green;
}

.upcomingEvents {
	background-color: grey;
}

.cafe207 {
	background-color: green;
}

.theBible {
	background-color: grey;
}

.ourRoots {
	background-color: green;
}

.youth {
	background-color: grey;
}

.mission {
	background-color: green;
}

.howtofindus {
	background-color: grey;
}

.sermon1 {
	background-color: green;
}

.sermon2 {
	background-color: blue;
}

.sermon3 {
	background-color: purple;
}

.sermon4 {
	background-color: red;
}

.footerText {
//	width: 100%;
//	float: left;
	margin: 1px;
	background-size:100%;
}

.footerPics {
	//width: 100%;
	float: right;
	margin: 2px;
}

.pageText
{
	text-align: justify;
	color: black;
	font-weight: normal;
//	font: 12px/18px Helvetica, Helvetica Neue, Arial;
	font-size: 18px/20px; 
	font-family: Calibri,sans-serif;
	margin-top: 20px;
}

.busRoute
{
	margin-bottom: 10px;
}

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
   
//.banner { position: relative; overflow: auto; height: 100%}
//.banner li { list-style: none; background-size: 100% 100%}

.banner { position: relative; overflow: auto;}
.banner li { list-style: none; }

.banner ul {padding: 0 0 0 0; }

.banner ul li { 
	float: left;
	padding: 26px 0 26px;
}

.bannerImage
{    
    position:absolute;
    left:0;
    top:0;
}

.bannerText
{
    z-index:100;    
    color:white;
    font-weight:bold;	
	margin-top: 25px; 

	font-size: 22px;
}

.movingBannerText
{
    z-index:100;    
    color:white;
    font-weight:bold;	
	margin-top: 0px; 

	font-size: 16px;
}

.withPhotoBannerPositioning	{
		font-weight: bold;
		color: white;
		font-size: 16pt;
	}

.sliderBannerPositioning	{
		font-weight: bold;
		color: white;
		font-size: 40pt;
	}

.hbcBannerPositioning	{
		font-weight: bold;
		color: white;
		font-size: 40pt;
	}


.PreDottedHr
{
	padding-top: 30px;
}

.dottedHr
{
	height: 30px; 
	border-width: thin; 
	border-bottom: white; 
	border-left: white; 
	border-right: white; 
	border-style: dotted; 
	text-align: center
}

.dottedHrText
{
	background-color: white; 
	position: relative;
	top: -0.8em;
}

/*  
  -webkit-text-stroke-width: 1px;
  -moz-text-stroke-width: 1px;
  -ms-text-stroke-width: 1px;
  -o-text-stroke-width: 1px;
  text-stroke-width: 1px;

  -webkit-text-stroke-color: #25252A;
  -moz-text-stroke-color: #25252A;
  -ms-text-stroke-color: #25252A;
  -o-text-stroke-color: #25252A;
  text-stroke-color: #25252A;
*/
	
	}

.bannerText a
{
    color:white;
	text-decoration:none;
	
/*	
	  -webkit-text-stroke-width: 1px;
  -moz-text-stroke-width: 1px;
  -ms-text-stroke-width: 1px;
  -o-text-stroke-width: 1px;
  text-stroke-width: 1px;

  -webkit-text-stroke-color: #25252A;
  -moz-text-stroke-color: #25252A;
  -ms-text-stroke-color: #25252A;
  -o-text-stroke-color: #25252A;
  text-stroke-color: #25252A;
  
	*/
	
}

.movingBannerText a
{
    color:white;
	text-decoration:none;
	
/*	
	  -webkit-text-stroke-width: 1px;
  -moz-text-stroke-width: 1px;
  -ms-text-stroke-width: 1px;
  -o-text-stroke-width: 1px;
  text-stroke-width: 1px;

  -webkit-text-stroke-color: #25252A;
  -moz-text-stroke-color: #25252A;
  -ms-text-stroke-color: #25252A;
  -o-text-stroke-color: #25252A;
  text-stroke-color: #25252A;
  
	*/
	
}

.dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -16%;
  text-align: center;
}

.dots li {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 4px;
  text-indent: -999em;
  border: 2px solid #fff;
  border-radius: 6px;
  cursor: pointer;
  opacity: .4;
  -webkit-transition: background .5s, opacity .5s;
  -moz-transition: background .5s, opacity .5s;
  transition: background .5s, opacity .5s;
}

.dots li.active {
  background: #fff;
  opacity: 1;
}

video {
  width: 100%    !important;
  height: auto   !important;
}

.mejs-container {
  width: 100% !important;
  height: auto !important;
  padding-top: 57%;
}
.mejs-overlay, .mejs-poster {
  width: 100% !important;
  height: 100% !important;
}
.mejs-mediaelement video {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100% !important;
  height: 100% !important;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

/* Extra Small Devices, Phones */ 
@media only screen and (min-width : 480px) {

/* ====================
    INTERMEDIATE: Menu
   ==================== */

    nav a {
        padding: 0px 0%;
    }

    nav li:first-child a {
        margin-left: 0;
    }

    nav li:last-child a {
    }
	
	.title {
		float: left;
		color: white;
		background: url('../img/trc_logo.png') no-repeat;
		width: 65%;
		height: 100px;
		background-size: 100%;
	}

	.withPhotoBannerPositioning	{
		font-size: 24pt;
	}

	.sliderBannerPositioning	{
		font-size: 38pt;
		padding-top: 175px;
	}

	.hbcBannerPositioning	{
		font-size: 38pt;
		padding-top: 175px;
	}

	
	.searchAndMedia {
		width: 65%;
	}

	.movingBannerText {
		margin-top: -10px; 
		margin-bottom: 6px; 
		font-size: 22px;
	}
	
	.banner ul li {
		padding: 36px 0 36px;
	}

	.wrapper {
		width: 470px;
	}

	.halves {
	//	height: 265px;
	}

	.halves-title-container{
		height: 130px;
	}

	.quarters {
		width: 230px;
		margin-right: 15px;
		margin-bottom: 15px;
		font-size:26px;
	}

	.firstQuarter {
		margin-left: 0px;
	}
	
	.thirdQuarter {
		margin-left: 0px;
	}
	
	.latest_sermon {
		width: 233px;
		font-size:14px;
	}

	.quarters-text {
		font-size: 14px;
	}

	.quarters-title {
		margin: 15px 3px 79px;
		display: block
	}
	
	.quarters-title-extra-line {
		margin-bottom: 105px;
	}

	.quarters-title-container {
		height: 130px;
	}
	
	.thisSunday {
		background-image: url('../img/this_sunday.jpg'); 
		background-color: transparent;
	}

	.sermonArchive {
		background-image: url('../img/sermon_archive.jpg'); 
		background-color: transparent;
	}
	
	.upcomingEvents {
		background-image: url('../img/holiday_bible_clubs.jpg'); 
		background-color: transparent;
	}
	
	.cafe207 {
		background-image: url('../img/cafe_207.jpg'); 
		background-color: transparent;
	}
	
	.theBible {
		background-image: url('../img/the_bible.jpg'); 
		background-color: transparent;
	}
	
	.ourRoots {
		background-image: url('../img/our_roots.jpg'); 
		background-color: transparent;
	}
	
	.youth {
		background-image: url('../img/youth.jpg'); 
		background-color: transparent;
	}
	
	.mission {
		background-image: url('../img/mission.jpg'); 
		background-color: transparent;
	}
	
	.howtofindus {
		background-image: url('../img/where_we_are.jpg'); 
		background-color: transparent;
	}
	

	
	.sermon1 {
		background-image: url('../img/sermon_1.jpg'); 
	}
	
	.sermon2{
		background-image: url('../img/sermon_2.jpg'); 
	}
	
	.sermon3 {
		background-image: url('../img/sermon_1.jpg'); 
	}
	
	.sermon4 {
		background-image: url('../img/sermon_2.jpg'); 
	}
	
	.footerText {
		// width: 48%;
		//float: left;
	}

	.footerPics {
		// width: 50%;
		//float: left;
	}

/* ========================
    INTERMEDIATE: IE Fixes
   ======================== */

    nav ul li {
        display: inline;
        font-size:12px;
    }

    .oldie nav a {
        margin: 0 0.7%;
    }
}

@media only screen and (min-width: 768px) {

/* ====================
    WIDE: CSS3 Effects
   ==================== */

    .header-container,
    .main aside {
    }
	
	#container {
		clear: both;
	}
	

/* ============
    WIDE: Menu
   ============ */


    nav {
        float: none;
        width: 100%;
    }
	
	nav a {
        margin: 0 4px 0 0;
    }
	
	.contact {
		margin-top: 10px;
		margin-bottom: -10px;
		margin-right: -75px;
      float:right;
	  width: 28%;
    }	

/* ============
    WIDE: Main
   ============ */

    .main article {
        float: left;
        width: 57%;
    }

    .main aside { 
        float: right;
        width: 28%;
    }
	
	.title {
		float: left;
		color: white;
		background:url('../img/trc_logo.png') no-repeat center;
		width: 40%;
		height: 80px;
		background-size: 100%;
	}

	.searchAndMedia {
		float: left;
//		width: 60%;
//		padding-top: 56px;
//		padding-left: 400px;
		width: 300px;
		margin-top: 25px;
		margin-left: 103px;
	}

	.down {
	    width:10px;
	}
	
	.wrapper {
		width: 672px;
	}
	
	.singles {
		width: 720px;
	}
	
	.halves {
		height: 196px;
	}
	
	.firstHalf {
		margin-left: 0px;
	}
	
	.quarters {
		width: 157px;
		margin: 0px;
		font-size:20px;
		height: 98px;
	}

	.firstQuarter {
		margin-left: 0px;
	}

	.thirdQuarter {
	//	margin-left: 8px;
	}
	
	.space-above {
		margin-top: 30px;
	}
	
	.latest_sermon {
		width: 166px;
		font-size:14px;
	}

	.quarters-title {
		margin: 15px 3px 37px;
		display: block
	}
	
	.quarters-title-extra-line {
		margin-bottom: 63px;
	}

	.quarters-title-container {
		height: 88px;
	}
	
	.banner ul li {
		padding: 22px 0 30px;
	}
	
	.bannerPositioning {
		height: 50	px;
//		padding-top: 60px;
		padding-bottom: 46px;
//		padding-left: 40px;
//		text-align: justify;
	}
	
	.nophotobannerPositioning {
		padding-top: 14px;
	}

	.withPhotoBannerPositioning {
		padding-top: 75px;
	}
	
	.sliderBannerPositioning {
		padding-top: 175px;
	}
	
	.hbcBannerPositioning {
		padding-top: 175px;
	}
	
	.dots {
		bottom: -5%;
	}
	
	.bannerText {
		margin-top: 0px;
		font-size: 40px;
	}

	.movingBannerText {
		margin-top: 0px;
		margin-bottom: 50px;
		font-size: 40px
	}

	.mp3Player {
		display: inline-flex;
	}
	
	.footerText {
		// width: 25%;
		//float: left;
	}

	.footerPics {
		// width: 14%;
		//float: left;
	}
}

@media only screen and (min-width: 992px) {

	.singles {
		width: 940px;
	}

	.searchAndMedia {
		margin-left: 264px;
	}
	
	.contact {
		margin-right: -135px;
	}

    nav ul li {
        display: inline;
        font-size:14px;
    }

	.halves {
		height: 260px;
	}
	
	.quarters {
		width: 213px;
		height: 134px;
		font-size: 24px;
	}

	.withPhotoBannerPositioning	{
		padding-top: 100px;	
		font-size: 39pt;
	}

	.sliderBannerPositioning	{
		padding-top: 175px;
		font-size: 39pt;
	}

	.hbcBannerPositioning	{
		padding-top: 175px;
		font-size: 39pt;
	}
}

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

/* ===============
    Maximal Width
   =============== */
	.searchAndMedia {
		margin-left: 384px;
	}

	
   	.title {
//		height: 72px;
	}

	nav a {
        margin: 0 10px 0 0;
    }

	.icon {
		margin-left: 5px;
		height: 35px;
		width: 40px;
		width: 40px;
		background-image:url('../img/elements_big.png');
	}
	
	.down {
		background-position:-200px -69px;
		width: 19px;
	}
	
	.phone_number {
		width:120px;
		text-indent: 0px;
		margin-top: 5px;
		margin-left: 1px;
//		font-size: 18px;
	}
	
	.youTube {
		background-position:-312px -62px;
	}

	.search {
		background-position:-0px -0px;
	}

	.phone {
		background-position:-250px -60px;;
	}

	.play {
		background-position:-0px -0px;
	}

	.twitter {
		background-position:-370px -62px;
	}

	.facebook {
		background-position:-419px -60px;
	}

	.contact {
		margin-right: -20px;
	}

    .wrapper {
        /* width: 1140px;  1140px - 10% for margins */
		width: 1028px; 
    }

	.singles {
		width: 1140px;
	}
	
	.halves {
		height: 316px;
	}
	
	.quarters {
		font-size:28px;
		width: 262px;
		height: 166px;
	}

	.firstQuarter {
		//margin-left: 0px;
	}
	
	.thirdQuarter {
		//margin-left: 0px;
	}

	.latest_sermon {
		font-size:16px;
		width: 255px;
	}

	.quarters-text {
		font-size: 20px;
	}

	.quarters-title {
		margin: 20px 20px 77px;
		display: block
	}
	
	.quarters-title-extra-line {
		margin-bottom: 103px;
	}

	.quarters-title-container {
		height: 130px;
	}
	
	.bannerPositioning
	{
		height: 60px;
		padding-bottom: 100px;
	//	padding-left: 85px;
	//	margin-top: 135px;
	}
	
	.withPhotoBannerPositioning
	{
		font-size:40pt;
		font-weight: bold;
		color: white;
		padding-top: 134px;
		padding-bottom: 177px;
	}
	
	.sliderBannerPositioning
	{
		font-size:40pt;
		font-weight: bold;
		color: white;
		padding-bottom: 177px;
	}
	
	.hbcBannerPositioning
	{
		font-size:40pt;
		font-weight: bold;
		color: white;
		padding-bottom: 177px;
	}
	
	.nophotobannerPositioning
	{
		padding-top: 12px;
	}
	
	.bannerText
	{
		font-size: 46px;
		line-height: 1.3;
		-webkit-margin-before: 0;
		-webkit-margin-after: 0;
	}

	.movingBannerText
	{
		font-size: 46px;
		line-height: 1.3;
		padding-top: 28px;
		padding-bottom: 28px;
		-webkit-margin-before: 0;
		-webkit-margin-after: 0;
	}

	.dots {
		bottom: 5%;
	}
	
	.pageText
	{
		font-weight: 100;
		font-size: 18px;
	//	-moz-column-count: 2; /* Firefox */
	//	column-count: 2;
	}
	
	.sermonTile {
		font-weight: bold;
	}
	
	.banner ul li {
		padding: 93px 0 93px;
	}
}

/* Hide the down arrow on IE as I can't get it to position where I want it */
html[data-useragent*='MSIE'] .down {
        height: 0px;
}	

html[data-useragent*='Trident'] .down {
        height: 0px;
}	

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}