@import 'https://fonts.googleapis.com/css?family=Carrois+Gothic:100,400,600';
@import 'https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300,700';
@import 'https://fonts.googleapis.com/css?family=Lato:100,200,300,400';
@import 'https://fonts.googleapis.com/css?family=Montserrat:100,200,400,700';
@import 'https://fonts.googleapis.com/css?family=Oswald:300';
@import 'https://fonts.googleapis.com/css?family=Droid+Sans+Mono';

/*** DEFAULTS ***************************************************************/
HTML  { font: 400 1em "Carrois Gothic"; transition: all .2s ease; }
*     { margin: 0; border: 0; padding: 0; text-decoration: none; }
*     { -webkit-box-sizing: border-box; box-sizing: border-box; }
SPAN  { font-family: inherit; font-size: inherit; }
SMALL { font-size: small; }

BODY  { background-color: #333; }

A       { color: #0f2c73; color: #1740a2; color: #195e9c; height: inherit; font-weight: bold; }
//A:hover { color: #265c9e; }
B       { font-weight: bold; }

/*** PAGE WRAPPER ***************************************************/
#pageWrapper {
    margin: 0px 20px 20px 20px;
    background-color: white;
}

/*** HERO ***************************************************************/
#heroWrapper {
    position: relative;
    height: 500px;
    z-index: 0;
    background-image: url('/images/rfdu-earth-arrows.jpg');
    background-size: cover;
    background-color: rgba(192, 192, 192, 0.2);
    background-position: center center;
}
#heroWrapper H1, #heroWrapper IMG {
    position: absolute;
    top: 55%;
    left: 50%;
    padding: 15px 30px;
    -webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	    transform: translate(-50%, -50%);
    opacity: 0.95;
}
#heroWrapper IMG {
    margin-top: 0px;
    height: 200px;
}
#heroWrapper H1 {
    color: white;
    font-size: 50pt;
    font-weight: 900;
    font-family: Lato!important;
    text-transform: uppercase;
    white-space: nowrap;
    -webkit-filter: drop-shadow(3px 3px 4px #000);
	-ms-filter: drop-shadow(3px 3px 4px #000);
	   -filter: drop-shadow(3px 3px 4px #000);
}

/*** CONTENT WRAPPER ***************************************************/
#contentWrapper {
    padding: 0px 1%;
    max-width: 1100px;
    margin: 0 auto;
    margin-top: 10px;
}
#content P {
    line-height: 1.5;
    color: #111;
    text-align: justify;
    font-weight: 300;
    padding: 10px 0%;
    clear: both;
}
blockquote { text-align: justify; }
H1, H2, H3 {
    text-align: center;
    position: relative;
    color: black;
    font-weight: 300;
}
H1 {
    font-family: Lato;
    font-size: 30pt;
    font-size: 2.5em;
    padding: 2% 0%;
    text-transform: uppercase;
    font-weight: 600;
}
H2 {
    font-family: Montserrat, Lato, sans-serif;
    font-size: 16pt;
    letter-spacing: 0.1em;
    margin: 30px 0px 0px 0px;
    text-transform: uppercase;
    font-weight: 600;
}
H3 {
    font-family: 'Droid Sans Mono', sans-serif;
    font-size: 14pt;
    letter-spacing: -0.12m;
    margin: 10px 0px 0px 0px;
}
H4 {
    font-weight: 500;
    margin: 20px;
    font-family: Lato;
    font-size: 16pt;
    font-style: italic;
}
H1:after, H2:after {
    content: '';
    display: block;
    margin: 0 auto;
}
#content H1:after {
    width: 270px;
    border-bottom: 1px solid rgba(50, 160, 230, 0.5);
    padding: 2px 0px;
}
#content H2:after {
    width: 100px;
    border-bottom: 1px solid #5082d6;
    padding-bottom: 5px;
    margin-bottom: 5px;
}

#content { position: relative; display: inline-table; width: 100%; }
OL {
    padding: 5%;
    text-align: justify;
}

.faithstatement_number_list{
	padding-top: 0;
}

OL LI {
    margin-left: 5px;
    padding: 10px 0px 10px 0px;
}

div#map {
    width: 70%;
    margin: 0 auto;
    height: 400px;
    padding: 30px 0px;
}

.bibles {
    display: table;
}
.book {
    border: 1px;
    width: 4.5%;
    height: 28px;
    text-align: center;
    padding-top: 12px;
    font-size: 16px;
    background-color: #f2f8ff;
    display: inline-block;
    margin: 0;
    -webkit-transition: all .2s ease;
       -moz-transition: all .2s ease;
        -ms-transition: all .2s ease;
         -o-transition: all .2s ease;
            transition: all .2s ease;
    margin: 0 auto;
}
.book:hover {
    background-color: rgba(3, 169, 244, 0.9);
    color: white;
}
/*** THUMBNAILS ***************************************************************/
.thumbnail {
    position: relative;
    margin-bottom: 1.5%;
    margin-left: 0.75%;
    margin-right: 0.75%;
    float: left;
    width: 31.8%;
}
.thumbnailWrapper {
    position: relative;
    width: 100%;
    padding-bottom: 70%;
    overflow: hidden;
    -webkit-box-shadow: rgba(0,0,0,0.3) 0px 0px 3px;
       -moz-box-shadow: rgba(0,0,0,0.3) 0px 0px 3px;
            box-shadow: rgba(0,0,0,0.3) 0px 0px 3px;
}
.thumbnail IMG { -webkit-filter: blur(0px); -webkit-filter: grayscale(0); }
.thumbnail IMG { width: 100%; top: 0%; position: absolute; opacity: 0.9; 
    -webkit-transition: all .5s ease;
       -moz-transition: all .5s ease;
        -ms-transition: all .5s ease;
         -o-transition: all .5s ease;
            transition: all .5s ease;
}

/*** SCRIPTURE ***************************************************************/
.scripture {
    display: flex;
    padding: 0 7% 0 5%;
    width: 100%;
}
.scripture .chap_verse {
    color: #ad4183;;
    width: 20%;
    text-align: right;
    vertical-align: top;
    padding: 0.5%;
    float: left;
}
.scripture .text {
    padding: 0.5%;
    color: #2c4fbb;
    float: right;
    display: block;
    width: 80%;
    text-align: justify;
}
.bookshow { display: flex; }
.bookhide { display: none; }
span#highlight {
    background-color: rgb(255, 236, 2);
    padding: 1px 4px;
    background-color: rgb(255, 239, 117);
    -webkit-filter: drop-shadow(0px 0px 5px rgb(255, 226, 2));
	-ms-filter: drop-shadow(0px 0px 5px rgb(255, 226, 2));
	    filter: drop-shadow(0px 0px 5px rgb(255, 226, 2));
}

#quote {
    padding: 1%;
}
#quote .head {
    padding: 2px;
    text-align: left;
    font-weight: bold;
}
#quote .body {
    background-color: rgba(0, 128, 255, 0.03);
    border: 2px solid rgba(0, 128, 255, 0.2);
    padding: 12px;
    font-style: italic;
    border-radius: 15px;
    margin: 0.5% 1%;
    position: relateive;
    border-bottom-right-radius: 0px;
}
#quote .foot {
    padding: 2px;
    text-align: right;
    font-style: italic;
    font-size: 12px;
}

.frosted {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: pointer;
    -webkit-transition: background .5s ease;
       -moz-transition: background .5s ease;
        -ms-transition: background .5s ease;
         -o-transition: background .5s ease;
            transition: background .5s ease;
    background-color: rgba(0, 0, 0, 0.05);
}
.frosted:hover {
    background-color: rgba(0, 0, 0, 0.7);
}
.frosted:hover img {
    -webkit-filter: grayscale(1);
}
.frosted .titles {
    position: absolute;
    top: 52%;
    left: 0;
    width: 100%;
    text-align: center;
    margin-top: -15px;
    -webkit-transition: top .5s ease;
       -moz-transition: top .5s ease;
        -ms-transition: top .5s ease;
         -o-transition: top .5s ease;
            transition: top .5s ease;
}
.frosted:hover .titles {
    top: 35%;
}
.frosted .title, .frosted .subtitle {
    font-family: "Open Sans Condensed"!important;
    font-family: Lato!important;
    color: white;
    padding: 0 10px;
    font-size: 15pt;
    letter-spacing: -1px;
    text-transform: capitalize;
    font-weight: 300;
    border-radius: 0;
    opacity: 1;
    -webkit-filter: blur(0px);
    -webkit-transition: all .5s ease;
       -moz-transition: all .5s ease;
        -ms-transition: all .5s ease;
         -o-transition: all .5s ease;
            transition: all .5s ease;
}
.frosted .title {
    font-size: 17pt;
    -webkit-filter: drop-shadow(2px 2px 1px #000);
    letter-spacing: 0px;
}
.frosted .subtitle {
    font-size: 10pt;
    letter-spacing: 1px;
    text-transform: capitalize;
    opacity: 0;
    -webkit-filter: blur(2px);
       -moz-filter: blur(2px);
	    filter: blur(2px);
    padding: 0 10px;
}
.frosted:hover .title { opacity: 1; }

.frosted .subtitle::before {
    content: "";
    width: 0px;
    border-bottom: 1px solid #949494;
    border-bottom: 1px solid #37CFEA;
    display: block;
    margin: 10px auto;
    -webkit-filter: blur(2px);
    -webkit-transition: width .5s ease;
       -moz-transition: width .5s ease;
        -ms-transition: width .5s ease;
         -o-transition: width .5s ease;
            transition: width .5s ease;
}
.frosted:hover .subtitle::before {
    -webkit-filter: blur(0px);
    width: 100px;
}
.frosted:hover .subtitle {
    opacity: 1;
    -webkit-filter: blur(0px);
       -moz-filter: blur(0px);
	    filter: blur(0px);
}

/*** GALLERY IMAGES ***************************************************************/
#gallery { padding: 0px 0.5%; }
#gallery img {
    display: block;
    width: 100%;
    padding-top: 1%;
}
.photos {
    column-count: 4;
    column-gap: 0px;
}
figure {
    display: block;
    position: relative;
    float: left;
    overflow: hidden;
    width: 100%;
}
figure img {
    width: 99%;
    margin: 0.5%;
    display: block;
}
figcaption {
    position: absolute;
    background: black;
    background: rgba(0,0,0,0.2);
    color: white;
    padding: 5px 10px;
    opacity: 1;
    display: block;
    bottom: 0;
    width: 99%;
    margin: 0.5%;
    text-align: center;
}
/*** NEXT/PREV BUTTONS ***************************************************************/
.buttons {
    margin: 50px 0 20px 0 ;
    height: 60px;
}
.buttons a {
    margin-right: 15px;
    margin-left: 15px;
    width: 64px;
    height: 64px;
    display: inline-block;
    position: relative;
    font-family: Rockwell!important;
    color: black;
    line-height: 64px;
    background-color: #eaeaea;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#f6f6f6), to(#eaeaea));
    background-image: -webkit-linear-gradient(top, #f6f6f6, #eaeaea);
    background-image: -moz-linear-gradient(top, #f6f6f6, #eaeaea); 
    background-image: -ms-linear-gradient(top, #f6f6f6, #eaeaea); 
    background-image: -o-linear-gradient(top, #f6f6f6, #eaeaea);
    background-image: linear-gradient(top, #f6f6f6, #eaeaea);
    -webkit-border-radius: 32px;
       -moz-border-radius: 32px;
            border-radius: 32px;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .25), 0 2px 3px rgba(0, 0, 0, .1);
       -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, .25), 0 2px 3px rgba(0, 0, 0, .1);
            box-shadow: 0 1px 1px rgba(0, 0, 0, .25), 0 2px 3px rgba(0, 0, 0, .1);
}
.buttons a:active {
    top: 1px;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#eaeaea), to(#f6f6f6));
    background-image: -webkit-linear-gradient(top, #eaeaea, #f6f6f6);
    background-image: -moz-linear-gradient(top, #eaeaea, #f6f6f6); 
    background-image: -ms-linear-gradient(top, #eaeaea, #f6f6f6); 
    background-image: -o-linear-gradient(top, #eaeaea, #f6f6f6);
    background-image: linear-gradient(top, #eaeaea, #f6f6f6);
}
.buttons a::before{
    content: '';
    position: absolute;
    z-index: -1;
    top: -8px;
    right: -8px;
    bottom: -8px;
    left: -8px;
    background-color: #eaeaea;
    -webkit-border-radius: 140px;
       -moz-border-radius: 140px;
            border-radius: 140px;
    opacity: 0.5;		
}
.buttons a:active::before {
    top: -9px;
}
.buttons a:hover::before { opacity: 1; }
.buttons a.arrow_prev { float: left; width: auto; padding-right: 15px; }
.buttons a.arrow_next { float: right; width: auto; padding-right: 15px; }
.buttons a.arrow_prev:hover::before, .buttons a.arrow_next:hover::before { background-color: #DDF1FA; }
.buttons a.twitter:hover::before { background-color: #c6f0f8; }
.buttons a.facebook:hover::before { background-color: #dae1f0; }
.buttons a.instagram:hover::before { background-color: #fadae6; }
.twitter img { vertical-align: -7px; }
.arrow_prev img { vertical-align: -26px; }
.arrow_next img { vertical-align: -26px; }
.arrow_prev #click, .arrow_next #click {
    height: 64px;
    border-bottom-left-radius: 32px;
    margin-right: 20px;
    border-top-left-radius: 32px;
}
.facebook img { vertical-align: -12px; }
.instagram img { vertical-align: -17px; width: 42px; }
.buttons a img { border: 0; }

#headerWrapper { position: relative; }

/*** BLOGS ***************************************************************/
.pages {
    margin-top: 10px;
    margin-bottom: 10px;
    padding-right: 70px;
    text-align: center;
}
.pages::before {
    content: "go to page:";
    text-transform: capitalize;
    color: grey;
    font-size: 10pt;
    font-weight: 200;
}
.pages a {
    margin-right: 4px;
    margin-left: 4px;
    width: 25px;
    height: 25px;
    display: inline-block;
    position: relative;
    line-height: 25px;
    font-weight: 400;
    font-size: 12pt;
    text-align: center;
    background-color: rgba(210,210,210, 0.2);
    -webkit-border-radius: 7px;
       -moz-border-radius: 7px;
	    border-radius: 7px;
    border: 1px solid rgba(140,140,140, 0.2);
    color: rgb(255, 113, 113);
}
.pages a.page:hover{
    background-color: #c6f0f8;
    background-color: rgba(0,0,0, 0.2);
    color: white;
}
.pages a.page.selected {
    background-color: red;
    border: 2px solid red;
    background-color: rgb(255, 147, 147);
    border: 1px solid rgb(255, 113, 113);
    color: white;
}
.pages a.page.selected:hover {
    opacity: 0.5;
    cursor: default;
}

/*** FOOTER ****************************/
.jimdeb {
    position: relative;
    margin: 0 auto;
    display: table;
    right: -200px;
    bottom: -25px;
    margin-top: -70px;
}
.jimdeb IMG {
    height: auto!important;
}
#footerWrapper {
    border-top: 1px solid rgb(224,224,224);
    margin-top: 20px;
    padding: 30px 4%;
    text-align: center;
}

#footerWrapper #footer_subscription_wrapper{
	position: relative;
	text-align: center;
}

#footerWrapper #footer_subscription_wrapper a{
	position: relative;
  background-color: #000;
  border: 5px solid #FFF;
  border-radius: 10px;
  display: inline-block;
  padding: 10px 50px;
  color: #FFF !important;
  box-shadow: 2px 2px 3px 3px #888;
  margin-bottom: 30px;
  font-family: 'Poppins', sans-serif;
}

#footerWrapper #footer_subscription_wrapper a strong{
	font-size: 14px;
	margin-top: 5px;
	display: block;
	font-family: 'Poppins', sans-serif;
	font-weight: bold;
  font-style: normal;
  line-height: 21px;
}

#footerWrapper img#refreshed {
    margin: 0 auto;
    display: block;
    height: 50px;
}
#logo:before, #logo:after {
    content: '{';
    font-weight: 100;
    position: relative;
    top: 2px;
    left: 1px;
    font-size: 50px;
    color: #aaa;
}
#logo:after {
    content: '}';
}
div#videoViewer {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    top: 0;
    left: 0;
    z-index: 1000;
}
iframe#video, #canvas {
    display: none;
    height: 50%;
    width: 80%;
    margin: 0 auto;
    position: fixed;
    top: 25%;
    left: 10%;
    border: 5px solid black;
    z-index: 1000;
    -webkit-filter: drop-shadow(10px 10px 10px rgba(0,0,0,0.5));
}
#canvas { background: #999; }

.list_columns {
    -webkit-columns: 3; /* Chrome, Safari, Opera */
       -moz-columns: 3; /* Firefox */
	    columns: 3;
   padding: 10px 5%;
}
.list_columns ul {
    display: block;
    list-style-type: square;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    -webkit-padding-start: 10px;
}

.testimonies_list_columns{
	position: relative;
	display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: flex-start;
	padding: 10px 5%;
}

.testimonies_list_columns .testimonies_list_column ul{
	display: block;
  list-style-type: square;
  -webkit-margin-start: 0px;
  -webkit-margin-end: 0px;
  -webkit-padding-start: 10px;
}

.clearfix:before, .clearfix:after {
    content: "";
    display: table;
}
.clearfix:after {
    clear: both;
}
.clearfix {
    *zoom: 1;
}
#feedback {
    font-style: italic;
    font-family: Georgia!important;
    padding: 30px 10%;
}

div#list { padding-top: 10px; border-bottom: 1px solid #ececf1; }
.listitem {
    width: 100%;
    padding: 0% 2%;
    display: none;
    height: 30px;
    margin: 0px;
    border-top: 1px solid #ececf1;
}
.listitem A { display: block; }
.listitem .title {
    float: left;
    font-size: 13pt;
    display: block;
}
.listitem .datestamp {
    float: right;
    display: block;
    font-size: 10pt;
}
.listitem .title, .listitem .datestamp {
    line-height: inherit;
    height: inherit;
    display: flex;
    align-items: center;
}
.listitem .date, .listitem .sort {
    display: none;
}
.listitem:hover {
    background-color: rgba(241, 246, 255, 0.71);
    cursor: pointer;
}
.id_1 { display: block; }

/*** FORM FIELDS ***************************************************************/
button, select, textarea, input[type="text"], input[type="reset"], button#bluff {
    background-color: rgba(3, 169, 244, 0.9);
    background-color: rgba(25, 99, 210, 0.9);
    border-radius: 0px;
    -webkit-appearance: none;
    text-align: center;
    color: white;
    width: 24.4%;
    margin: 0.2%;
    padding: 5px 1%;
    font: 200 11pt "Carrois Gothic";
    height: 40px;
}
input#chapter_verse {
    width: 19.6%;
}
button { text-align: center; }
button#bluff {
    background-color: white;
    color: black;
    width: 4.6%;
    text-align: center;
    font-size: 12pt;
}
input[type="text"], textarea {
    -webkit-box-shadow: inset 2px 2px 3px rgba(0, 0, 0, 0.3);
       -moz-box-shadow: inset 2px 2px 3px rgba(0, 0, 0, 0.3);
	    box-shadow: inset 2px 2px 3px rgba(0, 0, 0, 0.3);
    background: rgba(206, 219, 239, 0.45);
    border: 1px solid #093C8B;
    border: 1px solid rgba(25, 99, 210, 0.9);
    color: rgba(25, 99, 210, 0.9);
}
input[type="image"] { text-align: center; }

input::-webkit-input-placeholder {
    color: rgba(255,255,255,0.8);
    color: rgba(25, 99, 210, 0.9);
    color: rgba(71, 130, 218, 0.9);
    font-style: italic;
    padding: 0px;
    text-align:center;
}
select#rev {
    margin: 0 auto;
    display: block;
    margin-top: 1%;
    margin-bottom: 1%;
}
.ErrorMessage {
    text-align: center;
    color: red;
    margin: 10px;
    min-height: 20px;
}

.sort:hover {
    text-decoration: none;
//    background-color:#1b8aba;
}
.sort:focus {
    outline:none;
}
.sort:after {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid transparent;
    content:"";
    position: relative;
    top:-10px;
    right:-5px;
}

select     { background: url(/images/arrow_selector_white.png) no-repeat right; text-align-last:center; -webkit-text-align-last: center;}
.sort.asc  { background: url(/images/arrow_up_white.png) no-repeat right; }
.sort.desc { background: url(/images/arrow_down_white.png) no-repeat right; }
select, .sort.asc, .sort.desc {
    background-size: 15px;
    background-position-x: 95%;
    background-color: rgba(3, 169, 244, 0.9);
    background-color: rgba(25, 99, 210, 0.9);
}
/****************************
 * myForm
 ****************************/
.myForm {
    margin: 0 auto;
    margin-top: 30px;
    margin-bottom: 100px;
    width: 90%;
}
.myForm div#buttons {
    display: block;
    clear: both;
    height: 20px;
    padding-top: 5px;
}
.myForm button {
    float: right;
    width: 34.3%;
}
.myForm fieldset {
    border: 0px solid #781351;
    margin: 0 auto;
}
.myForm P {
    padding: 0.5% 1%;
}
.myForm label {
    width: 30%;
    float: left;
    text-align: right;
    display: block;
    padding: 5px 1%;
    font-size: 11pt;
    line-height: 20pt;
    text-transform: uppercase;
    height: 40px;
    margin: 0.2%;
}
.myForm label:after {
    content: ":";
}
.myForm textarea {
//    font-size: 12pt;
//    font-size: 15pt;
    font-weight: 200;
    width: 50%;
}
.myForm input, .myForm textarea {
    text-align: left;
    width: 69%;
    float: right;
}
.myForm select {
    height: 34pt;
    padding: 1%;
    width: 69%;
    float: right;
}
.myForm textarea {
    height: 6.5em;
}
.myForm .submit input {
    color: #000;
    background: #E8EEEF;
    line-height: 20pt;
    font-size: 15pt;
    font-weight: 200;
    padding: 0.5% 5%;
    width: auto;
} 
#enquiry H1 {
    font-size: 1.5em;
    color: black;
}
.myForm P#enquiry {
    margin-left: 46%;
    padding-left: 0;
}
.myForm h2 {
    font-weight: 400;
    text-transform: uppercase;
    padding: 0 0 10px 0;
    margin: 0;
}
.myFormError {
    width: 80%;
    margin: 0 auto;
    color: red!important;
    border: 2px solid red;
    border-radius: 10px;
    padding: 5px 10px;
    background-color: #fbf4f4;
    display: table;
}
.myFormError ul {
    margin-left: 50px;
}
.myFormSuccess {
    width: 80%;
    margin: 0 auto;
    color: green!important;
    border: 2px solid green;
    border-radius: 10px;
    padding: 5px 10px;
    background-color: #f4fbf4;
    display: table;
}
div #form_message {
    margin-left: 46%;
    margin-top: 5px;
    font-weight: 200;
}

/* alterations for mobile devices */

@media (max-width: 1023px) {
    #pageWrapper { margin: 0px; }
    #heroWrapper { height: 350px; }
    #heroWrapper H1 { margin-top: 0px; font-size: 45px; }
    #heroWrapper IMG { height: 120px; }

    #contentWrapper, #contentWrapper P, blockquote, .thumbnail, div#gallery { padding-left: 0.5%; padding-right: 0.5%; }
    .thumbnail {
	width: 49%;
	padding-bottom: 1%;
	margin: 0;
    }
    #contentWrapper P { font-size: 1em; }
/*    img.title {
	height: 100px;
	margin-top: 160px;
	margin-top: 0px;
    } */
    .jimdeb IMG { height: 200px!important; }
    .photos { column-count: 3; }
    .myForm .submit input {
	line-height: 20pt;
	font-size: 12pt;
    }
    .myForm input, .myForm select, .myForm textarea {
	line-height: 16pt;
	font-size: 12pt;
	width: 59%;
    }
    .myForm select {
//	height: 27pt;
    }
    .myForm label {
	font-size: 10pt;
	line-height: 30pt;
	width: 40%;
    }
    .myForm button {
        width: 29.3%;
    }
}

@media (max-height: 900px) {
    #pageWrapper { margin: 0px; }
    #heroWrapper { height: 350px; }
    #heroWrapper H1  { font-size: 50px; }
    #heroWrapper IMG { height: 120px; }
    #contentWrapper, #contentWrapper P, blockquote, .thumbnail, div#gallery { padding-left: 0.5%; padding-right: 0.5%; }
    #contentWrapper P { font-size: 1.2em; }
/*    img.title { margin-top: 0px; height: 100px; } */
    .thumbnail {
	width: 32.3%;
	padding-bottom: 1%;
	margin: 0;
    }
    iframe#video, #canvas { height: 60%; top: 20%; }
}

@media (max-width: 767px) {
    #heroWrapper { height: 300px; }
    #heroWrapper H1 { font-size: 40px; }
    .hero_wrap { top: 53%; }
    #contentWrapper, .thumbnail { padding-left: 0.5%; padding-right: 0.5%; }
    .jimdeb { right: -15%; }
    .thumbnail {
	width: 49%;
	padding-bottom: 1%;
	margin: 0;
    }
    .photos { column-count: 2; }
}

@media (max-width: 600px) {
    #pageWrapper { margin: 0px; padding-bottom: 70px; padding-bottom: 0px; }
    #heroWrapper {
	margin-top: 0px;
	height: 240px;
    }
    #heroWrapper H1 {
	font-size: 25px;
	padding: 8px 12px;
    }
    #heroWrapper IMG { height: 60px; padding: 10px 15px; top: 60%; }
    .list_columns, .testimonies_list_columns {
	-webkit-columns: 100px 2; /* Chrome, Safari, Opera */
	   -moz-columns: 100px 2; /* Firefox */
		columns: 100px 2;
	padding-left: 5%;
	padding-right: 5%;
    }
    .testimonies_list_columns{
    	display: block;
    }
    .m_col_heading{
    	padding-top: 15px;
    }
    button, select, textarea, input, input[type="text"] { 
	width: 49%;
	margin: 0.5%;
	padding: 1% 5px;
    }
    input[type="image"] { width: 100%; }
    input#chapter_verse {
        width: 35%;
    }
    button#bluff {
	width: 13%;
    }
    select#rev {
        width: 99%;
    }
    .thumbnail {
	width: 100%;
	padding-bottom: 3%;
	margin: 0;
	padding-left: 0;
	padding-right: 0;
    }
    .thumbnail IMG { top: -30%; }
    .thumbnailWrapper { padding-bottom: 40%; }
    .photos { column-count: 1; }
    div#gallery {
	padding-left: 0;
	padding-right: 0;
    }
    #contentWrapper P, blockquote {
	font-size: 1em;
	font-weight: 200;
	line-height: 120%;
	padding-top: 10px;
	padding-bottom: 10px;
    }
    #contentWrapper {
	padding-left: 1%;
	padding-right: 1%;
    }
    #contentWrapper B { font-weight: bold; }
    H1		{ font-size: 20pt; }
    H2,H3	{ font-size: 15pt; letter-spacing: 0em; margin: 15px 0px 0px 0px; }
    H3		{ font-size: 13pt; }
    .listitem { padding: 0%; height: 40px; line-height: 15px; }
    .listitem .title {
	font-size: 12pt;
	text-align: left;
	width: 75%;
    }
    .listitem .datestamp {
	font-size: 8pt!important;
	float: right;
    }
    .listitem .title, .listitem .datestamp { padding: 0% 1%; line-height: inherit; height: inherit; }
    #quote .body { margin: 1% 4%; }
    .myForm P {
        padding-bottom: 5px;
        padding-top: 0px;
    }
    #footerWrapper {
//	max-width: 900px;
//	margin: 0 auto;
//	text-align: center;
//	height: 60px;
//	display: block;
//	position: relative;
    }
    .buttons { display: none; }
    .buttons { margin-top: 15px; }
    .buttons img#click {
	border: 0;
	height: 50px;
	float: left;
	width: 70px;
	padding-right: 10px;
    }
    .buttons a {
	padding-bottom: 5px;
    }
    .myForm {
	margin-top: 0px;
	margin-bottom: 10px;
	padding-bottom: 20px;
	width: 100%;
    }
    .myForm fieldset { width: 100%; padding: 0; }
    .myForm .submit input {
        line-height: 20pt;
        font-size: 12pt;
	margin-left: 0;
	width: 100%;
    }
    .myForm input, .myForm select, .myForm textarea {
        line-height: 16pt;
        font-size: 12pt;
	margin: 0;
	width: 100%;
    }
    .myForm button { width: 49%; margin: 0.5%; }
    .myForm select {
        height: 40px;
	width: 100%;
	padding: 1%;
    }
    .myForm label {
	width: 97%;
	float: left;
	text-align: left;
        font-size: 1em;
        line-height: 20px;
	padding: 20px 0px 5px 0px;
    }
    .myForm P#enquiry, div #form_message {
        margin-left: 0;
	padding-left: 2%;
    }

    .scripture {
	display: inline-block;
	padding: 0 1%;
	width: 100%;
	font-size: 1em;
	padding-top: 5px;
    }
    .scripture .chap_verse {
	color: #781351;
	width: 50%;
	text-align: left;
	vertical-align: top;
	padding: 0%;
	padding-right: 1%;
	float: left;
	font-weight: 600;
	font-size: 11pt;
    }
    .scripture .text {
	padding: 0%;
	padding-left: 5%;
	color: midnightblue;
	float: right;
	display: block;
	width: 100%;
	text-align: justify;
	clear: both;
    }
    .bookshow { display: inline-block; }
    .bookhide { display: none; }
    span#highlight {
	background-color: rgb(255, 236, 2);
	padding: 1px 4px;
    }
    div#map {
	width: 96%;
	padding: 2%;
    }
    OL { padding: 7%; }
    .jimdeb {
	right: -20%;
	margin-top: -50px;
    }
    .jimdeb IMG { height: 100px!important; }
    #footerWrapper img#refreshed {
	width: 90%;
	height: auto;
    }
    
    .paypal_visa_mastercard_img{
    	width: 50% !important;
    }
}

@media (max-width: 600px) and (orientation : landscape), (max-width: 767px) and (orientation:landscape) {
    html { -webkit-text-size-adjust: 100%; }
    #pageWrapper {
	margin: 0px;
	padding-bottom: 70px;
	padding-bottom: 0px;
    }
    #heroWrapper {
	height: 200px;
    }
    #heroWrapper H1 { font-size: 25pt; }
    #heroWrapper IMG {
	height: 70px;
	top: 60%;
	padding: 10px 15px;
    }
    .jimdeb IMG { height: 150px!important; }
    H1 { font-size: 25pt; }
    .thumbnail, div#gallery {
	padding-left: 1%;
	padding-right: 1%;
    }
    .thumbnail {
	width: 48%;
	padding-bottom: 2%;
    }
    #content P {
	font-size: 1em;
    }
    .myForm P {
        padding-bottom: 5px;
        padding-top: 0px;
    }
    div#map iframe {
	border: 0;
	width: 96%;
	height: 300px;
	padding: 2%;
	clear: both;
	display: inline-block;
    }
    OL { padding: 5%; }
    button, select, textarea, input, input[type="text"] { 
	padding: 1% 5px;
    }
    .myForm button {
	float: right;
	width: 29.5%;
    }
    .myForm { padding-bottom: 20px; }
}

@media (max-width : 320px) {
    .menuTitle                  { display: none; }
    H1                          { font-size: 16pt; }
}

@media (max-width : 480px) and (orientation : landscape) {
    H1                          { font-size: 21pt; }
}

.paypal_donation_button{
	position: relative;
	width: 300px;
	padding: 10px;
	color: #FFF;
	background-color: rgba(25, 99, 210, 0.9);
	cursor: pointer;
	font-size: 18px;
}

select[name="a3"],
select[name="currency_code"]{
	background-color: #000 !important;
	color: #FFF !important;
}

.paypal_visa_mastercard_img{
	margin: 30px 0;
	width: 20%;
}

#home_page_content_wrapper p{
	clear: inherit;
}

#home_page_content_wrapper #add_ministry_update_wrapper{
	float: right;
  width: 25vw;
  border: 1px solid;
  margin: 20px 0 0 15px;
  padding: 15px;
}

#home_page_content_wrapper #add_ministry_update_wrapper p:empty {
  display: none;
}

#home_page_content_wrapper #add_ministry_update_wrapper h2{
	margin-top: 0;
}

@media (max-width: 600px){
	
	#home_page_content_wrapper #add_ministry_update_wrapper{
		float: none;
	  width: 100%;
	  height: auto;
	  border: 1px solid;
	  margin: 0 0 10px 0;
	  padding: 10px;
	}
	
}