html, body { margin: 0; padding: 0; scroll-behavior: smooth; }

a { color: #FFF; cursor: pointer; text-decoration: none; }

body { background-color: #f3f3f3; font-family: 'proxima-nova', sans-serif; }

.footer-social-text a { color: #000; }

.locations-button { cursor: pointer; }

.nav-links a { color: #828282;  text-decoration: none; display: block; }
.nav-links a:hover { color: #FFF; }
.nav-links li:hover > a { color: #FFF !important; }

.sub-nav a { color: #d1f1ff !important; }

.site-logo {
    background-image: url('https://churchunlimited.com/images/bayareafellowship/uploads/page_photos/cu-logo_soft-black.png');
    background-size: 100%;
    width: 130px;
    height: 53px;
    position: absolute;
    top: 13px;
    left: 31px;
    background-repeat: no-repeat;
}

.form {
    font-size: 19px;
    line-height: 30px;
    font-weight: 300;   
}

.form-alt {
    font-size: 19px;
    line-height: 35px;
    font-weight: 300;
}

.form-share {
    font-size: 19px;
    line-height: 35px;
    font-weight: 300;
}


.footer-links a {
color: #828282;
}

.nav-links {
    list-style: none;
    position: absolute;
    top: 0;
    left: 191px;
    padding: 0;
    margin: 0;
    color: #828282;
    font-weight: 700;
}

input[type="submit"]:disabled {
    opacity: 0.5;
}

.page-photos {

    background-color: #000;
    width: 100%;
    position: relative;
    background-size: cover;
    background-position: center center;
    min-height: auto;
    height: 500px;
	border-radius: 10px;

}

.nav-wrapper {
    position: relative;
    top: 0;
    left: 0;
    height: 82px;
    width: 100%;
    background-color: #FFF;
    z-index: 5000;
    border-bottom: #d4d4d4 1px solid;
}

.block-title { color: #FFF; }

.block-text { color: #FFF; }

.locations-service-times a { color: #000; }

.locations-block-title { color: #000; }

.locations-block-text { color: #000; }

.nav-placeholder {
	position: relative;
    height: 82px;
    width: 100%;
    display: none;
}

.page-black {
	color: #000 !important;
}

.search-button {
-webkit-appearance: none;
    background-color: #000;
    width: 82px;
    float: right;
    position: absolute;
    height: 100%;
    top: 0;
    right: 0;
    background-image: url(https://churchunlimited.com/images/2017/search-icon.png);
    background-size: 30px;
    background-repeat: no-repeat;
    background-position: center center;
    cursor: pointer;
}

.footer-info {
    background-color: #000;
    text-align: center;
    padding: 38px 0px;
}

.odd-gradient {

color: #FFF !important; 

background-color: #000 !important;


}

.play-button-overlay:before {
    content: '';
    background-image: url(https://churchunlimited.com/images/bayareafellowship/uploads/page_photos/video-button.png);
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    background-repeat: no-repeat;
    background-size: 120px;
    background-position: center center;
}

.form-close-button {
        background-image: url(https://churchunlimited.com/images/close.jpg);
    position: absolute;
    right: 10px;
    width: 16px;
    height: 16px;
    background-repeat: no-repeat;
    top: 10px;
    background-size: 100%;
    cursor: pointer;
}

.paragraph-link { color: #000; font-weight: 700; text-decoration: underline; }

.sermon-close-button {
        background-image: url(https://churchunlimited.com/images/close.jpg);
    position: absolute;
    right: 10px;
    width: 16px;
    height: 16px;
    background-repeat: no-repeat;
    top: 10px;
    background-size: 100%;
    cursor: pointer;
}

.form-overlay {
        position: fixed;
    top: 0;
    left: 0;
    z-index: 8000;
    overflow: scroll;
    display: none;
    width: 100%;
    height: 100%;
    overflow-y: scroll;
	-webkit-overflow-scrolling: touch;
}

.form-alt-overlay {
        position: fixed;
    top: 0;
    left: 0;
    z-index: 5000;
    overflow: scroll;
    display: none;
    width: 100%;
    height: 100%;
    overflow-y: scroll;
	-webkit-overflow-scrolling: touch;
}
.form-share-overlay {
        position: fixed;
    top: 0;
    left: 0;
    z-index: 5000;
    overflow: scroll;
    display: none;
    width: 100%;
    height: 100%;
    overflow-y: scroll;
	-webkit-overflow-scrolling: touch;
}

.form-scroll {
    position: relative;
    height: auto;
    width: 100%;
    top: 0;
    padding-bottom: 80px;
    min-height: 100%;
    box-sizing: border-box;
    padding-top: 70px;
    z-index: 10000;
}

.block-middle-text a {
color: #000;
}

.scripture-reference {
    font-size: 19px;
    color: #9c9c9c;
    font-style: italic;
}

.form-contain {
    -webkit-transform: translateZ(0);
     max-width: 500px;
    min-height: 500px;
    background-color: #FFF;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 100;
   padding: 40px 30px 30px 30px;
    box-sizing: border-box;
    

}

.form-label {
    color: #000;
    font-family: 'proxima-nova';
    font-weight: 700;
    font-size: 16px;
    line-height: 173%
 }
 
 .form-title {
 color: #000;
    font-size: 41px;
    font-weight: 400;
    margin-bottom: 15px;
    line-height: 50px;
 }
 
 .form-description {
 font-family: 'proxima-nova';
    margin-bottom: 28px;
 }

.form-input {
        width: 100%;
    box-sizing: border-box;
    padding: 9px;
    font-size: 20px;
    margin-bottom: 23px;
    border-bottom: 1px solid #b7b7b7;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    border-radius: 0;
  font-family: 'proxima-nova';
}

.form-input-select {

background-image: url('https://churchunlimited.com/images/2017/down-arrow.jpg');
background-repeat: no-repeat;
background-position: right;
background-color: #FFF;
        width: 100%;
    box-sizing: border-box;
    padding: 9px;
    font-size: 20px;
    margin-bottom: 23px;
    border-bottom: 1px solid #b7b7b7;
    border-left: 0;
    border-right: 0;
    border-top: 0;
  font-family: 'proxima-nova';
      -webkit-appearance: none;
    border-radius: 0;

}

.form-submit {
border: 0;
    background-color: #000;
    color: #FFF;
    width: 100%;
    font-size: 20px;
    padding: 9px;
    border-radius: 7px;
    font-family: 'proxima-nova';
    text-transform: uppercase;
    font-weight: 700;
    cursor: pointer;
    -webkit-appearance: none;
}

.form-close {
position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 30px;
    box-sizing: border-box;
 
}

.sermon-close {
position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 30px;
    box-sizing: border-box;
 
}


.footer-text {
    color: #FFF;
    font-weight: 300;
}

.copyright-text {
    font-size: 80%;
    color: rgba(255, 255, 255, 0.63);
}

.shell { max-width: 1200px; margin-left: auto; margin-right: auto; background-color: #FFF; }

ul.nav-links li {
    display: block;
    width: 112px;
    border-left: #d4d4d4 1px solid;
    height: 100%;
    padding: 0;
    margin: 0;
    text-align: center;
    line-height: 82px;
    float: left;
    cursor: pointer;
}

ul.nav-links li:hover {
	background-color: #000; color: #FFF !important; 
}

ul.nav-links li:last-child {
    border-right: #d4d4d4 1px solid;
}

.tiny-tag {
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
}

.page-photos-video {
    cursor: pointer;
    width: 100%;
    height: 100%;
    position: absolute;
    background-image: url(https://churchunlimited.com/images/bayareafellowship/uploads/page_photos/video-button.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 120px;
}

.events-view-more {
text-decoration: none;
    -webkit-appearance: none;
    width: 100%;
    line-height: 300%;
    border: 0;
    color: #FFF;
    font-family: 'proxima-nova', sans-serif;
    font-weight: 700;
    font-size: 130%;
    text-transform: uppercase;
    background-color: #000;
    border-radius: 6px;
    cursor: pointer;
}

.main-body {
	margin-top: -1px;
	padding-top: 1px;
	background-color: #FFF;
}

.footer-social-text {
    width: 80%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-top: 17px;
}

ul.sub-nav {
    width: 112px;
    position: absolute;
    margin: 0;
    padding: 0;
    background-color: #000;
    border: none;
    display: none;
}

.page-divider {
height: 120px;
}

.locations-button-row {
    text-align: center;
    position: absolute;
    width: 100%;
    bottom: 1px;
} 

.locations-button {
    -webkit-appearance: none;
    border: 0;
    background-color: #000;
    color: #FFF;
    border-radius: 6px;
    font-size: 95%;
    font-family: 'proxima-nova', sans-serif;
    line-height: 330%;
    text-transform: uppercase;
    font-weight: 700;
    padding: 0 20px;
    margin-right: 9px;
    width: auto;
    margin-top: 20px;
    margin-bottom: 28px;
}

.footer-icons img {
    width: 40px;
    height: 40px;
}

.block-header-image {
height: 460px;
    background-position: center center;
    background-size: cover;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
    background-repeat: no-repeat;
}

.belief-text { text-align: left; }

.belief-text ul { list-style: none; padding-left: 0; }

.belief-text a { color: #000; }

.page-section-subtitle { font-weight: 700; }

.footer-icons { padding: 0 !important; }

.footer-icons li {
    display: inline-block;
}

.footer-social {
    min-height: 110px;
    font-weight: 300;
    text-align: center;
    margin-top: 40px;
}

.footer-social-tag {
	font-size: 21px;
}

.block-middle-subtitle {
    font-weight: 700;
	line-height: 134%;
    margin-bottom: 11px;
    font-size: 180%;
}

.locations-block-middle-subtitle {
    font-weight: 700;
    margin-bottom: 11px;
    font-size: 126%;
}


.picture-section {
    background-image: url('https://churchunlimited.com/images/2017/haiti.jpg');
	background-color: #000;
	position: relative;
    margin-top: -1px;
    padding-top: 1px;
       min-height: 570px;
    max-height: 570px;
    overflow: hidden;
background-size: cover;
background-repeat: no-repeat;
background-position: center center;
}

.locations-button:last-child {
	margin-right: 0;
}

.locations-service-times {
	text-align: center;
    font-weight: 300;
    margin-top: 21px;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
}

.locations-city {
    text-transform: uppercase;
    font-weight: 700;
    text-align: center;
}

.locations-name {
	color: #000;
    font-size: 28px;
    text-align: center;
    margin-top: 14px;
    font-weight: 800;
    line-height: 100%;
    margin-bottom: 4px;
}

.locations-picture {
    width: 100%;
    height: 236px;
    background-size: cover;
    background-position: center center;
    background-image: url(../images/2017/broadcast.jpg);
}

.locations-box {
        width: 31%;
    min-height: 564px;
    border-radius: 11px;
    background-color: #FFF;
    overflow: hidden;
    position: relative;
    padding-bottom: 6px;
    margin-bottom: 12px;
    display: inline-block;
    margin: 11.5px;
    vertical-align: top;
}
}

.locations-box:last-child {
    margin-right: 0%;
}

.page-text {
    text-align: center;
    width: 90%;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    color: #FFF;
    font-size: 21px;
    line-height: 167%;
    font-weight: 300;
    margin-top: 8px;
}




.page-block {
	// color: #FFF;
}

.footer-links li {
    display: inline-block;
    width: 170px;
}

.page-background {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

ul.sub-nav li {
    line-height: 140%;
    float: none;
    border-left: none;
    color: #d1f1ff;
    border-right: none !important;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.19);
    width: 90%;
    margin-left: 8px;
    cursor: pointer;
    padding-top: 10px;
    padding-bottom: 10px;
}

ul.sub-nav li:hover {
	color: #FFF;	
}

.suggestions-tag {
	font-size: 18px;
	font-weight: 300;
        line-height: 270%;

}

.suggestions-tag a {
	text-decoration: underline;
}

.block {
    position: relative;
    width: 50%;
    overflow: hidden;
display: inline-block;
background-size: 100% 100%;
background-repeat: no-repeat;
}
.block:before{
    content: "";
    display: block;
    padding-top: 100%;
}

.locations-block{
    position: relative;
    width: 50%;
    overflow: hidden;
display: inline-block;
background-size: 100% 100%;
background-repeat: no-repeat;
text-align: center;
background-color: #FFF;
}
.locations-block:before{
    content: "";
    display: block;
    padding-top: 100%;
}

.page-block {
position: relative;
    width: 50%;
    overflow: hidden;
    display: inline-block;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    min-height: 562px;
}

.page-block:before{
    content: "";
    display: block;
    padding-top: 75%;
}

.left-page-block {
position: relative;
    width: 50%;
    overflow: hidden;
    display: block;
    float: left;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    min-height: 562px;
}

.left-page-block:before{
    content: "";
    display: block;
    padding-top: 75%;
}

.right-page-block {
position: relative;
float: right;
    width: 50%;
    overflow: hidden;
    display: block;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    min-height: 562px;
}

.right-page-block:before{
    content: "";
    display: block;
    padding-top: 75%;
}


.container {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
    margin-top: 40px;
	text-align: center;
    height: auto;
}

.container:last-child {
    margin-bottom: 70px;
}


.double-box {
	    background-color: #000;
    position: relative;
    width: 47%;
    overflow: hidden;
    display: inline-block;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    margin-right: 6%;
}
.double-box:before{
    content: "";
    display: block;
    padding-top: 100%;
}
.double-box:last-child {
	margin-right: 0%;
}
.double-box-contain {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

.box {
	background-color: #000;
    position: relative;
    width: 30%;
    overflow: hidden;
display: inline-block;
background-size: 100% 100%;
background-repeat: no-repeat;
	margin-right: 5%;
}
.box:before{
    content: "";
    display: block;
    padding-top: 100%;
}
.box:last-child {
	margin-right: 0%;
}
.box-contain {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

.box-title {
    color: #FFF;
    font-weight: 700;
    text-align: center;
    font-size: 184%;
    text-transform: uppercase;
    position: relative;
    top: 50%;
}

.double-box-title {
    color: #FFF;
    font-weight: 700;
    text-align: center;
    font-size: 184%;
    position: relative;
    padding-top: 50%;
}




.sermon-box {
    margin: 1%;
    background-color: #000;
    position: relative;
    width: 47%;
    display: inline-block;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    box-shadow: 0px -80px 81px rgba(0, 0, 0, 0.66) inset;
}
.sermon-box:before{
    content: "";
    display: block;
    padding-top: 56%;
}

.sermon-contain {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

.sermon-title {
    color: #FFF;
    font-weight: 300;
    text-align: left;
    font-size: 140%;
    position: absolute;
    bottom: 14px;
    margin-left: 25px;
    margin-right: 85px;
}

.sermon-subtitle {
display: block;
    font-size: 19px;
    font-weight: 800;
    line-height: 33px;
}

ul.sub-nav li:last-child {
	border-bottom: 0;
}
.drop-visible {
	display: block !important;
}

.mobile-expand {
    background-color: #000;
    width: 54px;
    float: right;
    position: absolute;
    height: 100%;
    top: 0;
    right: 0;
    background-size: cover;
    background-image: url('https://churchunlimited.com/images/bayareafellowship/uploads/page_photos/mobile-expand.png');
    background-repeat: no-repeat;
    background-position: center center;
    cursor: pointer;
    display: none;
    color: #FFF;
    font-size: 27px;
    text-align: center;
    line-height: 54px;
    cursor: pointer;
}

.footer-links li {
    display: inline-block;
    width: 170px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
    padding: 28px;
    text-transform: uppercase;
    font-weight: 800;
    color: #828282;
}

.footer-links {
    width: 100%;
    background-color: #ececec;
}



.mobile-close {
    background-color: #000;
    width: 54px;
    float: right;
    position: absolute;
    height: 54px;
    top: 0;
    right: 0;
    background-size: 18px;
    background-repeat: no-repeat;
    background-position: center center;
    cursor: pointer;
    color: #FFF;
    font-size: 27px;
    text-align: center;
    line-height: 47px;
    cursor: pointer;
    background-image: url(https://churchunlimited.com/images/2017/exit-icon.png);
}


.search-close {
    background-color: #000;
    float: right;
    position: absolute;
    top: 0;
    right: 0;
    background-repeat: no-repeat;
    background-position: center center;
    cursor: pointer;
    color: #FFF;
    font-size: 27px;
    text-align: center;
    line-height: 47px;
    cursor: pointer;
    background-image: url(https://churchunlimited.com/images/2017/exit-icon.png);
    height: 82px;
    width: 82px;
    background-size: 30px;
}

.mobile-nav-modal {

    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.88);
    z-index: 10000;
	display: none;
    overflow: scroll;
}

.mobile-nav a { text-decoration: none; }

.landing-text { 
    font-weight: 300;
    line-height: 156%;
    color: #FFF;
    font-size: 19.36px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    /* margin-top: 14px; */
    max-width: 660px;
}

.front-page-events {
background-color: #FFF;
width: 100%;
    position: relative;
background-size: cover;
background-position: center center;
min-height: auto;
overflow: hidden;
}

.page-block-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.left-page-block-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center left;
}

.right-page-block-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center right;
}

.front-page-events a {
	color: 2d2d2d;
}


.search-bar {
    width: 100%;
    box-sizing: border-box;
    padding-left: 15px;
    height: 82px;
    font-size: 25px;
    padding-right: 100px;
}

.search-modal {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.88);
	display: none;
    z-index: 20000;
}

.block-content {
	position: relative;
    top: 50%;
    width: 82%;
    margin-left: auto;
    margin-right: auto;
    padding: 29px;
    box-sizing: border-box;
    background-color: rgba(0, 0, 0, 0.47);
}

.block-title {
    font-size: 54px;
    /* font-weight: 300; */
    font-weight: 800;
    margin-bottom: 22px;
    line-height: 58px;
}

.block-text {
    font-weight: 300;
    line-height: 177%;
    font-size: 121%;

}

.block-section {
	background-color: #FFF;
	min-height: 500px;
padding-bottom: 82px;
    padding-top: 50px;
	min-height: 260px;
}

.block-middle-title {
    font-size: 46px;
    /* font-weight: 300; */
    font-weight: 800;
    margin-bottom: 22px;
	text-align: center;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    line-height: 120%;
    color: #000;
}

.block-middle-text {
    font-weight: 300;
    line-height: 177%;
    font-size: 21px;
    text-align: center;
    max-width: 900px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    color: #000;
}

.block-left-text {
    font-weight: 300;
    line-height: 177%;
    font-size: 21px;
    text-align: left;
    max-width: 900px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.content-button {
-webkit-appearance: none;
    font-size: 14px;
    padding: 17px 30px;
    border-radius: 6px;
    border: 0;
    color: #000;
    background-color: #FFF;
    text-transform: uppercase;
    font-weight: 700;
    width: auto;
    margin-right: 12px;
    margin-bottom: 14px;
    cursor: pointer;
}

ul.mobile-nav {
    color: #FFF;
    list-style: none;
    font-weight: 700;
    line-height: 233%;
    margin: 0;
    padding-left: 30px;
	margin-top: 72px;
    font-size: 152%;
    cursor: pointer;
}

.page-hero {
    height: 55vw;
    max-height: 682px;
    min-height: 342px;
    background-color: #000;
    position: relative;
    overflow: hidden;
}

	.half-title-hero {
    max-height: 410px;
}

ul.mobile-sub-nav {
    list-style: none;
    font-size: 70%;
    line-height: 218%;
    padding-left: 23px;
    display: none;
}

.mobile-sub-nav li:hover {
	color: #FFF;

}

.front-page-search {
    background-image: url(https://churchunlimited.com/images/2017/search-icon-mobile.png);
    background-repeat: no-repeat;
    background-position: 238px 13px;
    background-size: 26px 26px;
	    padding-right: 55px;
}

.video-button {
	cursor: pointer;
}

.video-contain {
	width: 100%;
	height: 100%;
	position: relative;
	top: 0;
	left: 0;
	position: absolute;
    overflow: hidden;
    background-color: #000;
}


.video-contain video {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
        opacity: 0.7;
}

.block-inner {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

.home-tag {
    color: rgb(255, 255, 255);
    position: absolute;
    z-index: 10;
    font-weight: 300;
    text-align: center;
    top: 50%;
    font-weight: 300;
    font-size: 357%;
    line-height: 124%;
    width: 100%;
}

.home-tag span {
    // background-color: #000;

}


.landing-tag {
   color: rgb(255, 255, 255);
    z-index: 10;
    font-weight: 300;
    text-align: center;
    top: 50%;
    font-size: 357%;
    line-height: 124%;
    width: 70%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    top: -50%;
    background-color: rgba(0, 0, 0, 0.6);
    padding-top: 10px;
    padding-bottom: 10px;
}

.mobile-tag {
background-color: rgba(0, 0, 0, 0.47);
color: rgb(255, 255, 255);
position: relative;
z-index: 10;
font-weight: 300;
/* text-align: center; */
top: 50%;
font-weight: 300;
font-size: 294%;
line-height: 106%;
padding: 2% 5%;
box-sizing: border-box;
display: none;
}

.search-tag {
    margin-top: -11px;
    color: rgb(255, 255, 255);
    position: absolute;
    z-index: 10;
    text-align: center;
    top: 50%;
    font-weight: 700;
    font-size: 54px;
    font-weight: 300;
    width: 100%;
}


.landing-buttons { margin-top: 11px; text-align: center; }

.address-search {
	box-sizing: border-box;
    font-size: 17px;
    padding: 17px;
    border-radius: 6px;
    border: 0;
    width: 280px;
}

.address-confirm {
    font-size: 17px;
    padding: 17px 37px;
    border-radius: 6px;
    border: 0;
    color: #FFF;
    background-color: #000;
    text-transform: uppercase;
    font-weight: 700;
    cursor: pointer;
    -webkit-appearance: none;
    margin-bottom: 6px;
}

.read-more { font-weight: bold; }

.search-section {
background-color: #000;
    height: 310px;
    margin-top: -1px;
    padding-top: 1px;
position: relative;
}

@media (max-width: 1200px) {

	.page-photos { border-radius: 0; }

}

@media (max-width: 1065px) {

.search-bar {
    height: 54px;
    font-size: 100%;
    padding-right: 70px;
}

.search-close {
     width: 54px;
     height: 54px;
     background-size: 18px;
}

.events-view-more {
font-size: 70%;
}

.nav-links { display: none; }

.nav-wrapper { height: 54px; }

.nav-placeholder { height: 54px; }

.site-logo {
    background-image: url('https://churchunlimited.com/images/bayareafellowship/uploads/page_photos/cu-logo_soft-black.png');
    background-size: 100%;
    width: 96px;
    height: 39px;
    position: absolute;
    top: 8px;
    left: 17px;
    background-repeat: no-repeat;
}

.search-button {
    width: 54px;
    background-color: #FFF;
    border-left: #d4d4d4 1px solid;
    background-image: url(https://churchunlimited.com/images/2017/search-icon-mobile.png);
    background-size: 20px;
    right: 54px;
}

.mobile-expand {
	display: block;
}

.cu-blue {
	color: #000;
}

}



.missions-inner {
    padding: 30px 0px;
    /* min-height: 450px; */
}

.missions-image {
      width: 100%;
    display: inline-block;
 position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    top: 0;
    left: 0;
    right: 0;
    border-radius: 20px;
}

.missions-image-video:before {
	content: '';
    position: absolute;
    top: 0;
    background-repeat: no-repeat;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url(https://churchunlimited.com/images/bayareafellowship/uploads/page_photos/video-button.png);
    background-position: center;
    background-size: 140px;
}

.missions-image:after {
  padding-top: 56.25%;
  /* 16:9 ratio */
  display: block;
  content: '';
}

.missions-row { max-width: 1120px;
    margin-left: auto;
    margin-right: auto; height: auto; margin-top: 60px; }

.missions-column {
    width: 46%;
    height: auto;
    margin: 1.5%;
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    position: relative;
    /* background-color: #f3f3f3; */
}

.missions-title {
    color: #000;
    font-size: 35px;
    font-weight: 800;
    text-align: left;
    line-height: 125%;
}

.missions-subtitle {
    color: #a9a9a9;
    font-size: 24px;
    font-weight: 700;
    font-style: italic;
    text-align: left;
}

.missions-subtitle a {
    color: #a9a9a9;
    font-size: 24px;
    font-weight: 700;
    font-style: italic;
}

.missions-text {
    font-size: 17px;
    line-height: 190%;
    font-weight: 300;
    text-align: left;
    color: #000;
}

/* Clear floats after the columns */
.missions-row:after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media (max-width: 600px) {
    .missions-column {
        width: 100%;
    }
}







.modal {
	display: none;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0,0,0,0.8);
	z-index: -100;
	opacity:0;
	-webkit-transition: opacity 400ms ease-in;
	-moz-transition: opacity 400ms ease-in;
	transition: opacity 400ms ease-in;
	pointer-events: none;
}

.modal-visible {
	z-index: 999999;
	opacity:1;
	pointer-events: auto;
}

.inner-box {
	width: 319px;
	/* height: 520px; */
	position: relative;
	margin: 44px auto 0 auto;
	padding: 36px;
	background: #fff;
	font-size: 14px;
	line-height: 26px;
	color: #8A8A8A;
	border-top: 11px solid #000;
	height: 77%;
	overflow: scroll;
}

.video-box-contain {
	width: 100%;
	height: 100%;
	background-color: #000;
}

.video-box-contain iframe {
	height: 100%;
	width: 100%;
}

.closure {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	overflow: hidden;
}

.modal {
    transition: opacity 0.5s;
    -moz-transition: opacity 0.5s;
    -webkit-transition: opacity 0.5s;
    -o-transition: opacity 0.5s;
}

.modal input, .modal textarea, .modal select {
	border: 1px solid #D3D3D3;
}

.paragraph-title {
	font-family: 'leaguegothic-regular-webfont';
	color: #000;
	font-size: 197%;
	text-transform: uppercase;
	margin-bottom: 8px;
}

.close-button {
	background-image: url('https://churchunlimited.com/images/bayareafellowship/exit.jpg');
	width: 12px;
	height: 12px;
	position: absolute;
	right: 9px;
	top: 9px;
	cursor: pointer;
	background-size: contain;
}

.video-close-button {
	background-image: url('https://churchunlimited.com/images/bayareafellowship/exit-video.png');
	width: 40px;
	height: 40px;
	position: absolute;
	right: 7px;
	top: 9px;
	cursor: pointer;
	z-index: 1000;
}

/*-------------------------- SERMON VIDEO ---------------------------- */

#video-player {
	width: 640px;
	height: 360px;
	background-color: #000;
}

	#video-iframe {
		border: 0;
		width: 100%;
		height: 100%;
	}

	#video-contain {
		width: 100%;
		height: 100%;
	}

.mobile-tag { display: none; }
.desktop-tag { display: block; font-weight: 800; line-height: 100%; margin-bottom: 6px; }

/*------ Mobile Styles ------*/

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

.block-text { font-size: 100%; }

.block-title { font-size: 38px; margin-bottom: 11px; line-height: 119%; }

.block-middle-title { font-size: 38px; }

.content-button { font-size: 12px; padding: 12px 23px; margin-right: 8px; margin-bottom: 8px; }

}

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


.mobile-nav { padding-left: 17px; margin-top: 52px; }

.search-tag {
line-height: 125%;
font-size: 36px;
}

.home-tag-text { color: #000 !important; }

.suggestions-tag {    line-height: 150%; }

.black-text { color: #000 !important; }

.home-tag img { display: none; }

.page-background { opacity: 1; text-align: center; }

.mobile-logo-title { display: block; }


.video-contain video { display: none; }
.page-gif { display: block; }

.desktop-tag { display: none; }
.mobile-tag { display: inline-block; font-weight: 800; }

.left-page-block-background { background-position: center center; }
.right-page-block-background { background-position: center center; }

.home-tag img { height: auto !important; }

.landing-tag img { height: auto !important; }

.values-title { font-size: 42px !important; }
.values-subtitle { font-size: 17px !important; }

.page-text {
	    font-size: 18px;
    line-height: 26px;
}

.double-box-title { font-size: 23px; }

.locations-box {
    width: 37%;
    height: auto;
    min-height: 0;
}

.locations-picture {
height: 280px;

}



.page-hero {
height: auto;
    min-height: 0;
    max-height: 2000px;
}

.page-background {
    position: relative;
    height: 330px;
    background-position: center center;
}

.home-tag {
    margin-top: 0 !important;
    position: relative;
    background-color: #FFF;
    color: #000 !important;
    font-size: 37px;
    padding-top: 27px;
    padding-bottom: 30px;
        box-sizing: border-box;
    padding-left: 5%;
    padding-right: 5%;
}

.landing-tag {
    margin-top: 0 !important;
    position: relative;
    background-color: #FFF;
    color: #000 !important;
    font-size: 37px;
    padding-top: 27px;
    padding-bottom: 30px;
        box-sizing: border-box;
    padding-left: 5%;
    padding-right: 5%;
    width: 100%;
}

.landing-text {
font-size: 17px;
    color: #000;
}

.footer-text {
width: 90%;
    margin-left: auto;
    margin-right: auto;
   
}

.page-block-background {

height: 260px;
position: static;

}

.content-button { background-color: #000; color: #FFF; }

.left-page-block-background {

height: 260px;
position: static;

}

.right-page-block-background {

height: 260px;
position: static;

}

.left-page-block {
float: none;
    width: 100%;
    background-color: #FFF;
    min-height: 0;
    height: auto;
    
}

.right-page-block:before {
padding-top: 0;
}

.left-page-block:before {
padding-top: 0;
}

.right-page-block {
float: none;
    width: 100%;
    background-color: #FFF;
    min-height: 0;
    height: auto;
    
}

.block-inner { position: static; }

.block-title { color: #000; }
.block-text { color: #000; }

.block-content {
    margin-top: 0 !important;
    padding: 40px 0;
    background-color: #FFF;
    position: relative;
}

.student-times-column-01 { width: 100%; }
.student-times-column-02 { width: 100%; }

.locations-picture { height: 255px; }

.locations-block {
width: 100%;
    display: block;
    min-height: 320px;
    }
.locations-block:before { display: none; }

.block { width: 100%; min-height: 320px;     background-size: cover;
    background-position: center center; }
.block:before { display: none; 
}

.home-block:before { display: block !important; }



.address-search {     border: 1px solid rgba(0,0,0,.1);
    margin-bottom: 12px; }

.video-contain {     height: 330px;
    position: relative; }

.form-close { background-color: #FFF; }

.sermon-close { background-color: #FFF; }

 .form-scroll {
     padding-top: 0;
    padding-bottom: 0;
 }
 
 .form-contain {
 max-width: 100%;
 padding-top: 42px;
 height: auto !important;
 }
 
 .form-close-button {
     width: 14px;
    height: 14px;
 }
 
  .sermon-close-button {
     width: 14px;
    height: 14px;
 }
 
 #sermon-video { display: none; }

}


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

.block-middle-subtitle { font-size: 130%; }

.button-spacer { display: none; }
.missions-inner { min-height: 1px; }
.form-contain { height: auto !important; }
.form-scroll { height: 100%; background-color: #FFF; }
.values-graphic { display: none; }
.mobile-values-graphic {  opacity: 0.5; display: block !important; }
.values-row {     color: #FFF;
    /* background-color: #000; */ }
.values-column {     width: 100% !important;
        height: 199px !important;
    /* background-color: #000; */
    background-position: center 23% !important; }
.locations-box { width: 90%; }
.address-confirm { font-size: 12px; width: 100%; margin-bottom: 11px; }
.address-search { width: 100%; }
.front-page-search { width: 90% !important; background-position: right 10px top 13px; }
.double-box { width: 100%; margin-bottom: 30px; }
.sermon-box { width: 98%;
    margin-bottom: 18px; }
    .missions-image { /* height: 290px; */ }
    .missions-row { margin-top: 0; }
    
    .page-photos { height: 250px; }
    
    .missions-column {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    display: block; margin-bottom: 20px;
}
    }
    

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

.left-page-block-background { height: 130px; }

.right-page-block-background { height: 130px; }

.home-break { display: none; } .home-space { display: inline !important; } }

@media screen and (max-width: 412px) { .missions-image { height: 200px; } .video-contain { height: 212px; } }





/*---------------------------- ONLINE TIMER ----------------------------------*/

.online-timer {
	text-align: center;
	height: 92px;
	background-color: #000;
	display: table;
	width: 100%;
	vertical-align: middle;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-moz-box-sizing: border-box;
	padding-top: 14px;
}

.online-spacer { height: 58px; }

.digit-container {
	width: 33px;
	float: left;
	margin-left: 10px;
	text-align: center;
}



.digit {
	font-size: 20px;
	color: #000;
	background: #e8e8e8;
	background: -moz-linear-gradient(top, #ffffff 0%, #e0e0e0 50%, #ffffff 51%, #e8e8e8 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(50%,#e0e0e0), color-stop(51%,#ffffff), color-stop(100%,#e8e8e8));
	background: -webkit-linear-gradient(top, #ffffff 0%,#e0e0e0 50%,#ffffff 51%,#e8e8e8 100%);
	background: -o-linear-gradient(top, #ffffff 0%,#e0e0e0 50%,#ffffff 51%,#e8e8e8 100%);
	background: -ms-linear-gradient(top, #ffffff 0%,#e0e0e0 50%,#ffffff 51%,#e8e8e8 100%);
	background: linear-gradient(to bottom, #ffffff 0%,#e0e0e0 50%,#ffffff 51%,#e8e8e8 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e8e8e8',GradientType=0 );
	height: 30px;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-moz-box-sizing: border-box;
	padding-top: 5px;
	font-family: 'helvetica';
	display: inline-block;
	width: 100%;
	font-weight: bolder;
	border-radius: 4px;
	box-shadow: 1px 1px 1px rgba(0,0,0,0.3);
}

@-moz-document url-prefix() { 
  .digit {
     padding-top: 7px !important;
  }
}

.digit-title {
	text-align: center;
	font-size: 11px;
	color: #000;
	margin-top: 3px;
}

.timer-container {
	display: inline-block;
	width: auto;
	float: right;
	padding-top: 6px;
}

.timer-tag {
	color: #FFF;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-moz-box-sizing: border-box;
	padding-top: 12px;
	font-size: 18px;
	font-family: 'Halis Book';
}

.live {

	display: none;
	color: #FFFFFF;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-moz-box-sizing: border-box;
	padding-top: 12px;
	font-size: 18px;
	float: right;
	font-family: 'leaguegothic-regular-webfont';
	color: red;
	text-transform: uppercase;
}

@keyframes blink {
    0% { color  : red; }
    49% { color : red; }
    50% { color : darkred; }
    100% { color: darkred; }
}

.live {
-moz-animation: blink 2s linear infinite;
-webkit-animation: blink 2s linear infinite;
animation: blink 2s linear infinite;
}

.online-timer2 { /* display: none; */ zoom: 0.7; z-index: 95; position: relative; }


.online-timer2 {
	text-align: center;
	height: 92px;
	background-color: #000;
	display: table;
	width: 100%;
	vertical-align: middle;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-moz-box-sizing: border-box;
	padding-top: 14px;
}

.online-spacer2 { height: 58px; }

.digit-container2 {
	width: 55px;
	float: left;
	margin-left: 13px;
	text-align: center;
}



.digit2 {
	font-size: 23px;
	color: #000;
background: #e8e8e8; /* Old browsers */
background: -moz-linear-gradient(top, #ffffff 0%, #e0e0e0 50%, #ffffff 51%, #e8e8e8 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(50%,#e0e0e0), color-stop(51%,#ffffff), color-stop(100%,#e8e8e8)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #ffffff 0%,#e0e0e0 50%,#ffffff 51%,#e8e8e8 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #ffffff 0%,#e0e0e0 50%,#ffffff 51%,#e8e8e8 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #ffffff 0%,#e0e0e0 50%,#ffffff 51%,#e8e8e8 100%); /* IE10+ */
background: linear-gradient(to bottom, #ffffff 0%,#e0e0e0 50%,#ffffff 51%,#e8e8e8 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e8e8e8',GradientType=0 ); /* IE6-9 */

	height: 45px;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-moz-box-sizing: border-box;
	padding-top: 12px;
	font-family: 'helvetica';
	display: inline-block;
	width: 91%;
	font-weight: bolder;
	border-radius: 4px;
	box-shadow: 1px 1px 1px rgba(0,0,0,0.3);
}

@-moz-document url-prefix() { 
  .digit2 {
     padding-top: 12px !important;
  }
  
  .online-timer-iframe {
  	height: 75px !important;
  }
  .
}

.digit-title2 {
	text-align: center;
	font-size: 14px;
	color: #A1D8F5;
	margin-top: 7px;
}

.timer-container2 {
	display: inline-block;
	width: auto;
}

.timer-tag2 {
	float: left;
	color: #FFFFFF;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-moz-box-sizing: border-box;
	    padding-top: 12px;
	font-size: 26px;
}

.live2 {
	display: none;
	float: left;
	color: #FFFFFF;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-moz-box-sizing: border-box;
	padding-top: 19px;
	font-size: 26px;
}



.live-bar {
font-family: 'proxima-nova';
color: #FFFFFF !important;
font-size: 25px;
line-height: 32px;
text-transform: none;
text-align: center;
margin: 16px 0 0 0;
padding: 0;
float: none;
font-weight: 700;
}



.footer-links li { line-height: 38px; }






.mobile-sub-nav li { color: #FFF !important; }

.block-middle-text a { color: #000 !important; font-weight: bolder; }

.form { color: #000 !important; }

.form-submit { background-color: #000; }

#this-submit { background-color: #000; color: #FFF; } 

.search-close { background-color: #000; }

.search-button { background-color: #000; }

.nav-wrapper { background-color: #FFFFFF; }

.mobile-expand { background-color: #000; }

.mobile-close { background-color: #000; }

.nav-links li:hover { background-color: #000 !important; }

ul.sub-nav { background-color: #000; }

ul.sub-nav li { color: #FFF !important; }

ul.sub-nav a { color: #FFF !important; }
ul.sub-nav a:hover { color: #FFF !important; }

.nav-wrapper a {
    color: #000 !important;
}


.footer-info {
background-color: #000;
}

.footer-links a {
color: #000;
}

.footer-social-text a {
    color: #000 !important;
    text-decoration: underline;
}

@media (max-width: 1065px) {
.search-button {
	background-color: #FFFFFF !important; /* border-left: none; */
    }
}

