/* ==== GENERAL ==== */

#snow{
	background: none;
	font-family: Androgyne;
	background-image: url('../img/backgrounds/snow1.png'), url('../img/backgrounds/snow2.png'), url('http://www.wearewebstars.dk/codepen/img//s3.png');
	height: 100%;
	left: 0;
	position: fixed;
	top: -50;
	width: 100%;
	z-index:30;
	-webkit-animation: snow 20s linear infinite;
	-moz-animation: snow 20s linear infinite;
	-ms-animation: snow 20s linear infinite;
	animation: snow 20s linear infinite;
}
@keyframes snow {
  0% {background-position: 0px 0px, 0px 0px, 0px 0px;}
  50% {background-position: 500px 500px, 100px 200px, -100px 150px;}
  100% {background-position: 500px 1000px, 200px 400px, -100px 300px;}
}
@-moz-keyframes snow {
  0% {background-position: 0px 0px, 0px 0px, 0px 0px;}
  50% {background-position: 500px 500px, 100px 200px, -100px 150px;}
  100% {background-position: 400px 1000px, 200px 400px, 100px 300px;}
}
@-webkit-keyframes snow {
  0% {background-position: 0px 0px, 0px 0px, 0px 0px;}
  50% {background-position: 500px 500px, 100px 200px, -100px 150px;}
  100% {background-position: 500px 1000px, 200px 400px, -100px 300px;}
}
@-ms-keyframes snow {
  0% {background-position: 0px 0px, 0px 0px, 0px 0px;}
  50% {background-position: 500px 500px, 100px 200px, -100px 150px;}
  100% {background-position: 500px 1000px, 200px 400px, -100px 300px;}
}	


.lightrope {
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  position: absolute;
  z-index: 1000;
  margin: -15px 0 0 0;
  padding: 0;
  pointer-events: none;
  width: 100%;
}
.lightrope li {
  position: relative;
  -webkit-animation-fill-mode: both;
          animation-fill-mode: both;
  -webkit-animation-iteration-count: infinite;
          animation-iteration-count: infinite;
  list-style: none;
  margin: 0;
  padding: 0;
  display: block;
  width: 12px;
  height: 28px;
  border-radius: 50%;
  margin: 20px;
  display: inline-block;
  background: #00f7a5;
  box-shadow: 0px 4.66667px 24px 3px #00f7a5;
  -webkit-animation-name: flash-1;
          animation-name: flash-1;
  -webkit-animation-duration: 2s;
          animation-duration: 2s;
}
.lightrope li:nth-child(2n + 1) {
  background: cyan;
  box-shadow: 0px 4.66667px 24px 3px rgba(0, 255, 255, 0.5);
  -webkit-animation-name: flash-2;
          animation-name: flash-2;
  -webkit-animation-duration: 0.4s;
          animation-duration: 0.4s;
}
.lightrope li:nth-child(4n + 2) {
  background: #f70094;
  box-shadow: 0px 4.66667px 24px 3px #f70094;
  -webkit-animation-name: flash-3;
          animation-name: flash-3;
  -webkit-animation-duration: 1.1s;
          animation-duration: 1.1s;
}
.lightrope li:nth-child(odd) {
  -webkit-animation-duration: 1.8s;
          animation-duration: 1.8s;
}
.lightrope li:nth-child(3n + 1) {
  -webkit-animation-duration: 1.4s;
          animation-duration: 1.4s;
}
.lightrope li:before {
  content: "";
  position: absolute;
  background: #222;
  width: 10px;
  height: 9.33333px;
  border-radius: 3px;
  top: -4.66667px;
  left: 1px;
}
.lightrope li:after {
  content: "";
  top: -14px;
  left: 9px;
  position: absolute;
  width: 52px;
  height: 18.66667px;
  border-bottom: solid #222 2px;
  border-radius: 50%;
}
.lightrope li:last-child:after {
  content: none;
}
.lightrope li:first-child {
  margin-left: -40px;
}

@-webkit-keyframes flash-1 {
  0%,
  100% {
    background: #00f7a5;
    box-shadow: 0px 4.66667px 24px 3px #00f7a5;
  }
  50% {
    background: rgba(0, 247, 165, 0.4);
    box-shadow: 0px 4.66667px 24px 3px rgba(0, 247, 165, 0.2);
  }
}

@keyframes flash-1 {
  0%,
  100% {
    background: #00f7a5;
    box-shadow: 0px 4.66667px 24px 3px #00f7a5;
  }
  50% {
    background: rgba(0, 247, 165, 0.4);
    box-shadow: 0px 4.66667px 24px 3px rgba(0, 247, 165, 0.2);
  }
}
@-webkit-keyframes flash-2 {
  0%,
  100% {
    background: cyan;
    box-shadow: 0px 4.66667px 24px 3px cyan;
  }
  50% {
    background: rgba(0, 255, 255, 0.4);
    box-shadow: 0px 4.66667px 24px 3px rgba(0, 255, 255, 0.2);
  }
}
@keyframes flash-2 {
  0%,
  100% {
    background: cyan;
    box-shadow: 0px 4.66667px 24px 3px cyan;
  }
  50% {
    background: rgba(0, 255, 255, 0.4);
    box-shadow: 0px 4.66667px 24px 3px rgba(0, 255, 255, 0.2);
  }
}
@-webkit-keyframes flash-3 {
  0%,
  100% {
    background: #f70094;
    box-shadow: 0px 4.66667px 24px 3px #f70094;
  }
  50% {
    background: rgba(247, 0, 148, 0.4);
    box-shadow: 0px 4.66667px 24px 3px rgba(247, 0, 148, 0.2);
  }
}
@keyframes flash-3 {
  0%,
  100% {
    background: #f70094;
    box-shadow: 0px 4.66667px 24px 3px #f70094;
  }
  50% {
    background: rgba(247, 0, 148, 0.4);
    box-shadow: 0px 4.66667px 24px 3px rgba(247, 0, 148, 0.2);
  }
}





body {
	margin-top: 50px;
	font-family: 'Helvetica', 'Arial', sans-serif;
	font-size: 16px;
	/*background: url('../img/tile.jpg') top left repeat;*/
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizelegibility;
}


.btn, .sb-link, iframe, .alert-box {
	z-index: 2500;
	position: relative;
}

.navbar {
	z-index: 3000;
}


#service-info {
	font-family: 'Arial', sans-serif!important;
	padding: 30px;
	/*background-color: #ca1111!important;*/
}

#service-info h1 {
	font-size: 30px;
}

#service-info h3 {
	font-size: 20px;
	font-weight: 600;
}




.alert-box {
	padding: 20px;
	color: #fff;
	font-weight: 700;
	font-size: 16px;
	background-color: #d02222;

}

.letter {
	background-color: #deedfb;
	height: 275px;
	overflow: hidden;
	position: relative;
	transition: all 0.2s ease-in-out;
}

.letter:after {
	opacity: 1;
	content: '';
	position: absolute;
	height: 42%;
  width: 100%;
  bottom: 0;
	left: 0;
	background: rgb(222,237,251);
	background: linear-gradient(180deg, rgba(222,237,251,0) 0%, rgba(222,237,251,1) 53%);
	transition: all 0.2s ease-in-out;
}

.letter.show-letter {
	height: 100%;
	transition: all 0.2s ease-in-out;
}

.letter.show-letter:after {
	opacity: 0;
	transition: all 0.2s ease-in-out;
}

.read-btn {
	margin-top: -30px;
	position: relative;
	background-color: #deedfb;
	padding-bottom: 20px;
}


/* SERVICE BOXES */
section.service-boxes {
	padding-top: 40px;
}

/* SPECIAL */
section.special {
	background-color: #deedfb;
}

.service-box {
	display: block;
	padding: 20px 20px 25px;
	background-color: #2C3840;
	color: #fff!important;
	border-radius: 5px;
	margin-bottom: 20px;
	transition: all 0.2s ease-in-out;
}

.service-box.superhero-box {
	background-image: url('../img/backgrounds/comic.png');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	text-shadow: 2px 2px 5px rgba(0,0,0,0.6);
}

.service-box.superhero-box .sb-title {
	font-size: 30px;
}

.service-box.superhero-box .sb-time {
	font-size: 25px;
}

.service-box:hover {
	color: #fff;
	cursor: pointer;
	background-color: #162d3c;
	transition: all 0.2s ease-in-out;
}

.sb-title {
	font-weight: 700;
	font-size: 20px;
	margin-bottom: 12px;
}

.sb-time {
	font-size: 18px;
	margin-bottom: 18px;
}


/* SERVICE PAGE */
section.service-info {
	background-color: #deedfb;
	padding: 20px;
}



.service-info .speaker {
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 12px;
}

.service-info .reading {
	font-size: 18px;
	margin-bottom: 12px;
}

.service-info a {
	font-weight: 700;
}

.service-video {
	background-color: #366A8C;
	padding: 50px 0;
}

.service-video.gs-kids {
	background-color: #24C5A7;
}

.service-video.superheroes {
	background-image: url('../img/backgrounds/comic.png');
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}

.service-video h5 {
	color: #fff;
	font-size: 20px;
}

.embed-container {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	max-width: 100%;
}

.embed-container iframe {
	  position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.embed-container video {
	  position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.embed-container h5 {
	color: #fff;
	font-size: 20px;
}


.service-content {
	padding-top: 10px;
	padding-bottom: 10px;
	background-color: #deedfb;
}

.service-content.daily-item {
	padding: 10px;
	margin-bottom: 16px
}

.service-content.daily-item time{
	margin-top: 0px;
}

.service-content.evening {
	margin-top: 20px;
}

/*time {
	font-weight: 600;
	font-size: 18px;
	margin-top: 30px;
	display: block;
}*/

section.daily {
	padding-top: 20px;
}

.countdownAm {
	padding: 10px;
}

.countdownAm p {
	font-weight: 700;
	font-size: 25px;
	color: #fff;
}

.countdownPm {
	padding: 10px;
}

.countdownPm p {
	font-weight: 700;
	font-size: 25px;
	color: #fff;
}
.tues {
	margin-top: 16px;
}

.service-content iframe {
	/*min-height: 500px;*/
}

@media screen and (min-width: 768px) {
	.row-flex {
		display: flex;
		align-items: center;
	}
}

@media screen and (min-width: 1200px) {
	.service-content.right {
	min-height: 357px;
	}


}



/*SERMONS*/
#sermons-hero {
	/*background: url("../img/sermons-hero-bg.jpg") center no-repeat;*/
	background: url('../img/hero-background-1.jpg')center center fixed repeat;
	background-size: cover;
	background-color: #333333;
	color: white;
	overflow: hidden;
	background-attachment: unset;
}

#sermons-hero.superhero {
	background: url('../img/superhero-hero.png')center center no-repeat;
	background-color: #7cadd6;
	height: 300px;
}

#sermons-hero.boys-brigade {
	background: url('../img/bb/bb-hero.jpg')center center no-repeat;
	background-color: #7cadd6;
	height: 400px;
	background-position: center bottom;
	position: relative;
}

#sermons-hero.boys-brigade .container {
	position: relative;
	z-index: 1;
}



#sermons-hero.boys-brigade .bb-hero-grad {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: rgb(30,39,63);
background: linear-gradient(90deg, rgba(30,39,63,0.7959558823529411) 50%, rgba(255,255,255,0) 100%);
}


section.bb-info h1 {
	font-size: 3em;
	text-transform: uppercase;
	margin-bottom: 60px;
}

section.bb-info .age-boxes {
	display: flex;
	gap: 20px;
	margin-bottom: 60px;

}

section.bb-info .age-boxes .age-box {
	padding: 20px;
	box-shadow: 2px 2px 10px 3px rgba(0,0,0,0.2);
	border-radius: 10px;
	text-align: center;
	display: flex;
	flex-direction: column;
	gap: 8px;
	justify-content: space-between;
}

section.bb-info .age-boxes .age-box span {
	font-weight: 700;
	font-size: 16px;
}


section.bb-info .age-boxes .age-box.anchors {
	background-color: #B22B2E;
}

section.bb-info .age-boxes .age-box.juniors {
	background-color: #145091;
}

section.bb-info .age-boxes .age-box.company {
	background-color: #202944;
}



section#sermons-hero h1 {
	font-size: 4em;
	padding: 20px 0;
}



#sermon-info {
	background-color: #5297e4;
	color: white;
	font-size: 1.4em;
	padding: 30px;
}

.sermon-week {
	padding-bottom: 60px;
}

div.sermon-week h3  {
	background-color: #366A8C;
	color: #fff;
	/*width: 30%;*/
	margin: 0;
	padding: 10px;
}

div.sermon-week h3 small {
	color: #fff;
}

div.sermon-week h3 span {
	font-size: 0.8em;
}

.sermon-player {
	background-color: rgba(82, 151, 228, 0.3);
	/*float: left;*/
	padding: 30px 50px 30px 10px;
}

.sermon-player.dev {
	float: none;
	padding: 10px;
}

.sermon-service {
	position: relative;
	bottom: 10px;
    background: #fdb949;
    color: white;
    font-size: 1em;
    font-weight: bold;
    text-transform: uppercase;
    padding: 5px 12px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -o-border-radius: 10px;
    border-radius: 10px;
    display:inline-block;
}



/* ==== GLOBAL ==== */

section {
    padding-top:50px;
    padding-bottom:20px;
    overflow:auto;
}


h1,h2,h3,h4,h5,h6 {
	font-weight: bold;
}

h1 {
	font-size: 5em;
}


h1,h2 {
	margin: 0 0 10px;
}

h3 {
	margin: 20px 0 10px;
}

h4 {
	font-size: 18px;
}

p.lead {
	font-weight: normal;
}

a:link, a:visited {
	color: #292929;
	text-decoration: none;
}

a:hover, a:active {
	text-decoration: none;
	color: #5297e4;
}

a p {
	color: #292929;
}

a:hover p {
	color: #5297e4;
}

img {
	max-width: 100%;
}

button, input, .btn, a.btn {
	color: white;
}

button.close {
	color: #292929;
}

.btn {
	font-weight: 700;
}

.btn-primary .btn-primary:visited {
	background: #2d6baf;
	border: none;
}

.btn-primary:hover {
	background: #5297e4;
	border-color: #5297e4;
}


.btn-success {
	background: #79b044;
	border: none;
}

.btn-success:hover {
	background: #6a9b3d;
	border-color: #6a9b3d;
}

.btn-warning {
	background-color: #f8a119;
	border-color: #f8a119;
}

.btn-warning:hover {
	background-color: #fdb949;
	border-color: #fdb949;
}

.btn-danger {
	background-color: #d95131;
	border-color: #d95131;
}

.text-danger, li.text-danger a {
	color: #dd5638;
}

a.text-danger:hover {
	color: #e55939;
}



.modal-content{
	background: url('../img/tile.jpg') top left repeat;
}

.page-title {
	padding: 70px 0;
	text-shadow: 2px 2px 5px #fff;
}

.mission-modal {
	background: url('../img/missionaries-bg.png') center repeat-y;
}



.navbar {
	background: #292929;
}

.navbar .nav li a {
	color: white;
}

.navbar .nav li a:hover {
	color: #5297e4;
}

.navbar .dropdown-menu  {
	background: #292929;
    left: 1px;
    top: 51px;
}

.navbar .dropdown-menu a {
	background: #292929;
}

.navbar .dropdown-menu a:hover {
	background: #292929;
	color: #5297e4;
}

.navbar .dropdown-menu .divider {
	border-bottom: solid 1px #5297e4;
}

.navbar-nav .open .dropdown-menu>li>a {
    color:#c7c7c7 !important;
  }

.navbar-nav .open .dropdown-menu>li>a:hover {
    color:#5297e4 !important;
  }

.navbar-brand {
	position: relative;
	width: 280px;
	height: 30px;
	background-image: url('../img/brand.png');
	top: 10px;
}







/*HERO*/
#hero {
	background: url('../img/hero-background-1.jpg')center center fixed repeat;
	/*background: url('../img/easter/easter_bg.jpg')center center fixed repeat;*/
	/*background: url('../img/harvest-bg.jpg')center center fixed repeat;*/
	/*background: url('../img/backgrounds/rememberance.jpg')center center fixed repeat;*/


	/* REMOVE RESPONSIVE STYLES WHEN NOT USING BELOW */
	/*background: url('../img/backgrounds/Nativity.jpg')bottom center fixed repeat;*/

	background-size: cover;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	width: 100%;
	padding-bottom: 10px;
	padding-top: 0px!important;
	color: white;
}

#hero-logo {
	padding-top: 20px

}

#hero-logo, #service-info {
	opacity: 0;
}


#service-info {
	background: rgba(1, 1, 1, 0.5);
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-moz-border-radius: 5px;
	max-width: 400px;
	margin:40px auto 0 auto;
	padding-top: 10px;
}

.service {
	padding: 0 0 10px 0;
}


/*CONTACT BAR*/
#contact-bar {
	background: #292929;
	padding: 5px 0;
	color: white;
	font-size: 1.2em;
}



/*FOOTER*/
footer {
	background-color: #292929;
    color: white;
    font-family: Arial, sans-serif;
    padding-top: 5px;
}

footer address {
	font-size: .8em;
	line-height: 22px;
}

footer #statement {
    text-align: center;
	font-size: 1.5em;
}

footer .copyright {
    text-align: center;
}

#footerLogo {
    float: right;
}

.clearfix{
	clear: both;
}



/*OTHER CONTACTS MODAL*/
#other-contacts p {
	padding-top: 5px;
}



