/*
  Theme Name: St James Turramurra
  Theme URI: http://www.joelhenry.me
  Author: Joel Henry
  Description: This is a theme developed in 2017 for St.James Turramurra
  Version: 1.0
  License: Content Rights Reservered to St.James, Code Rights Reserved to Joel Henry 
*/

/*
------------WebMaster 2017 Joel Henry (jhenry@stjamesturramurra.org.au)--------------

*/

html {
  height: 100%;
  margin: 0 !important;
}
body {
  width: 100%;
  height: 100%;
  margin: 0;
  font-size: 18px;
  color: #333333;
  font-weight: normal;
}

p{
  margin: 0;
}

h1{
  margin: unset;
}

h2{
  font-size: 32px;
}

a{
color: #373737;
text-decoration: none;
}

a:hover{
color: #7F0000;
}

img{
max-width: 100%;
height: auto;
}

table{
  position: relative;
  table-layout: fixed;
  width: 100%;
  text-align: center;
  padding-top: 2%;
}


 td {
  padding-bottom: 15px;
  padding-left: 10px;
  padding-right: 10px;
  vertical-align: top;
 }

 #blurb{
  max-width: 650px;
 }

 .mtsf tr td:first-child{
  width: 25%;
 }

 .event{
  display: inline-block;
  background: white;
  padding-bottom: 7px;
 }

 .sermons{
    
 }

 .textwhite{
  color: white;
 }

 .eventTitle{
  font-size: 15px;
 }

 .eventDate{
  font-size: 10px;
 }

 .content{
  max-width: 800px;
  margin: 0 auto;
  font-family: 'Lato';
 }

 .home .topHeader table {
  margin: 0 auto;
 }

 .home .topHeader table td{
  vertical-align: middle;
  padding-bottom: unset;
 }


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


 .home .topHeader table td:last-child{
  border-left: white 1px solid;
 }

}

 .home .topHeader table td:first-child p{
  vertical-align: middle;
  font-weight: 300;
 }

 .StaffTable{
  max-width: 800px;
  margin: 0 auto;
 }

 .staffName{
  font-size: 0.8em;
  font-weight: bolder;
 }

 .staffRole{
  font-size: 0.8em;
 }

.blog{
  float: left;
}

.sidebar{
  float: right;
}

.churchlifetable{
  padding-left: 10%;
  padding-right: 10%;
  text-align: unset;
}

.colourButton{
  padding: 10px;
  padding-left: 20px;
  padding-right: 20px;
  display: inline-block;
}

.underline:hover{
  text-decoration: underline;
  color: #373737;
}

.overlay:before{
  content: '';
  position:absolute;
  left:0; top:0;
  width:100%; height:100%;
  display:inline-block;
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+100&0+47,0.5+100 */
background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 47%, rgba(0,0,0,0.5) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 47%,rgba(0,0,0,0.5) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 47%,rgba(0,0,0,0.5) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#80000000',GradientType=0 ); /* IE6-9 */
}

.churchlife{
    position: relative;
    display: inline-block;
    font-size: 0px; 
}

.churchLifeTitle{
  width: 97%;
  margin-right: 3%;
  bottom: 20px;
  font-weight: bold;
  color: white;
  font-size: 15px;
  position: absolute;
  text-align: end;
}


.churchLifeDescription{
  width: 97%;
  bottom: 5px;
  margin-right: 3%;
  color: white;
  font-size: 9px;
  position: absolute;
  text-align: end;
}


.churchlifetable td{
  padding: 10px !important;
}

.staffimage{
  border-radius: 50px;
}

.churchlifeimage{
  width: 100%;
}

.churchlifelink:hover .churchLifeTitle{
  text-decoration: underline;
}


.tablelock table td{
    display: inline-block;
    width: unset;
}

.padding{
  padding: 5%;
}

.blog-content{
  padding-top: 2%;
  padding-left: 7%;
  padding-right: 7%;
  padding-bottom: 2%;
}

.parallax{
background-size:cover;
background-position:50%;
background-repeat:no-repeat;
background-attachment: fixed;
}

.fixed{
	background-attachment: fixed;
  background-size:cover;
  background-position: center;
}

.scroll{
	background-attachment: scroll;
  background-size:cover;
  background-position: center;
}

.white{
  background: #fff;
  z-index: 3; 
}

.dark{
  background: #1f1f1f;
  z-index: 3; 
}

.outline{
  border: 1px ridge #333333;
}

.headercontent{
  position: relative;
  z-index: 2;
}

.headervideo{
  z-index: 1;
}

.topHeader{
  background-position:50%;
  background-repeat:no-repeat;
  background-size:cover !important;
  min-height: 400px;
  z-index: 1;
  display: table;
  width: 100%;
  position: relative;
}

.container{
display: table-cell;
vertical-align: middle;
}

.whatsonbar{
  background-color: #F4F4F4;
  min-height: 200px;
  z-index: 0;
}

.mainContent{
  min-height: 40vh;
}

.location{
  background-position:50%;
  background-repeat:no-repeat;
  background-size:cover;
  min-height:350px;
  z-index:0;
  display: table;
  width: 100%;
}

.location a:hover{
  text-decoration: underline;
  color: white;
}

.splitinhalf{
  background-position:50%;
  background-repeat:no-repeat;
  background-size:cover;
  height:100vh;
  z-index:0;
  display: table;
  width: 100%;
}

.whyjesus{
  background-position:50%;
  background-repeat:no-repeat;
  background-size:cover;
  background-attachment: fixed;
  min-height:500px;
  z-index:0;
}
/* video */
video.headervideo{
position: absolute;
top: 0;
left: 0;
min-width: 100%;
height: auto;
width: auto;
}

.locksize{
  max-height: 510px;
}

footer{
background-color: #333333;
padding-top: 15px;
padding-bottom: 15px;
padding-left: 15px;	
padding-right: 15px; 
}

footer table{
  padding-top: unset;
}

footer td{
  vertical-align: bottom;
}

#centres table{
  padding-top: 7%;
}

#centres table td{
  vertical-align: middle;
}

#centres table td a:hover img{
  border-bottom: solid 2px white;
}

#centres table td img{
  border-bottom: solid 2px transparent;
}

.grey{
  background-color: #ececec;
}

.maroon{
  background-color: #7F0000;
}

.black{
  background-color: #333333;
}

#history{
  padding-top: 25px;
  padding-bottom: 55px;
  position: relative;
}

.timeLine{
  font-family: 'Lato';
}

@media screen and (max-width: 766px){

  .time .details{
    display: inline-block;
    color: white;
    width: 225px;
    text-align: center;
    margin: 0 auto;
  }

  .time .details p{
    font-size: 15px;
  }

  .circle {
    display: none;
  }

  .time{
    width: 225px;
    display: block;
    margin:0 auto;
    padding-bottom: 30px;
  }

}

@media screen and (min-width: 767px){
  /* history desktop */
  .line {
    content: '';
    position: absolute;
    border-right: 5px white solid;
    height: calc(100% - 6% - 160px);
    width: 100%;
    margin-top: 50px;
    transform: translateX(-50%);
  }
  .circle{
    background-color: white;
    width: 94px;
    height: 94px;
    border-radius: 100px;
    border: 3px white solid;
    vertical-align: middle;
  }

  .timeright{
    transform: translateX(145px);
  }

  .timeleft{
    transform: translateX(-145px);
  }

  .time .details{
    display: inline-block;
    color: white;
    width: 250px;
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
  }

  .time .details p{
    font-size: 15px;
  }

  .time .details{
    vertical-align: middle;
  }

  .time{
    width: 390px;
    display: block;
    margin:0 auto;
    padding-bottom: 30px; 
  }
}

.small{
  min-height: 250px;
}

.medium {
  min-height: 350px;
}

.large{
  min-height: 500px;
}
.page-template-churchLife .topHeader {
   min-height: 250px;
}

.page-template-HomePage .topHeader {
   min-height: 500px; 
}

.page-template-About .topHeader {
   min-height: 350px;
}


@media screen and (min-width: 993px) { /* large screen */
  .page-template-HomePage .topHeader {
    min-height: 80vh;
  }

  .large {
    min-height: 80vh;
  }

}
@media screen and (max-width: 992px) {
  .topHeader{
    margin-top: 50px;
  }
}
@media screen and (max-width: 767px) { /*tablet*/
    /* Table override */
  td {
    display: block;
    box-sizing: border-box;
	  width: 100%;
  }

  .mtsf tr td:first-child{
   width: 75%;
   margin: 0 auto;
  }

  .StaffTable td{
    float: unset;
    display: table-cell;
    width: unset;
  }

  .topHeader{
    min-height: 300px !important;
  }

  .splitinhalf{
    height: 500px !important;
  }
  .image{
  width: 60%;
  }
  .content{
    max-width: 100%;
  }
}
@media screen and (max-width: 480px) {

  .StaffTable td {
    float: center;
    display: block;
    box-sizing: border-box;
    width: 100%;
  }

  .StaffTable td img{
    width: 70%;
    border-radius: 70%;
  }

  } /*mobile*/

/* Buttons
--------------------------------------------------------------- */

.rowbutton{
  text-align: center;
}

.maroonTitle{
  padding: 10px 20px 10px 20px;
  text-transform: uppercase;
  background-color: #7F0000;
  font-size: 14px;
  text-align: center;
  color: white;
  display: inline-block;
}

.blackButton:hover {
color: #7F0000;
border-color: #7F0000;
cursor: pointer;
text-decoration: none;
}

.blackButton{
font-weight: bold;
text-transform: uppercase;
background-image: none;
padding: 10px 20px 10px 20px;
display: inline-block;
text-decoration: none;
font-size: 14px;
color: #222;
text-align: center;
border: 3px solid #333333;
}

.blackButtonSolid{
font-weight: bold;
text-transform: uppercase;
background-image: none;
padding: 10px 20px 10px 20px;
display: inline-block;
text-decoration: none;
color: #222;
font-size: 14px;
cursor: pointer;
text-align: center;
border: 3px solid #333333;
background: #ffffff;
margin-bottom: 10px;
margin-top: 10px;
}

.blackButtonSolid:hover {
cursor: pointer;
text-decoration: none;
}

.whiteButton{
font-weight: bold;
text-transform: uppercase;
background-image: none;
padding: 10px 20px 10px 20px;
display: inline-block;
text-decoration: none;
font-size: 14px;
text-align: center;
border: 3px solid #ffffff;
margin-bottom: 10px;
margin-top: 10px;
color: #fff;
}

.whiteButton:hover{
  color: #000000 !important;
  background: #ffffff;
  cursor: pointer;
  text-decoration: none;
}
/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
}

table.aligncenter{
	display: table;
	margin-left: auto;
    margin-right: auto;
}
.aligncenter,
div.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignright {
    float:right;

}

.alignleft {
    float: left;

}

a img.alignright {
    float: right;

}

a img.alignnone {
}

a img.alignleft {
    float: left;
  
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
 
    text-align: center;
}

.wp-caption.alignnone {
   
}

.wp-caption.alignleft {
   
}

.wp-caption.alignright {
    
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}



input[type="password"]{
color: #626262;
background-color: #fafafa;
border-color: #cccccc;
border-width: 1px;
border-style: solid;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
max-width: 100%;
font-size: 14px;
padding: 6px 10px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
outline: none;
font-weight: normal;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
}

input[type="submit"]{
font-weight: bold;
text-transform: uppercase;
background-color: #fff;
padding: 10px 20px 10px 20px;
display: inline-block;
text-decoration: none !important;
color: #222 !important;
cursor: pointer;
text-align: center;
border: 3px solid #000000;
margin-bottom: 10px !important;
margin-top: 10px !important;
}

