@import url('//fonts.googleapis.com/css?family=Lato:300,300i,400,400i,700,700i|Rufina:400,700');

/************ 

TEMPLATE NOTES

** Colors **
Teal - Backgrounds: #42AFCC; rgba(66,175,204,1)
Teal - Text: #108093; rgba(16,128,147,1)
Orange: #EF9721; rgba(239,151,33,1)
Light Yellow: #FEF3D5; rgba(254,243,213,1)
Navy Blue: #203B71

Rotator text drop shadow: text-shadow: 2px 2px 2px rgba(0,0,0,0.75);

************/

body {color: #333; font-size: 1.1rem; }

h1, h2, h3, h4, h5, h6 { margin: .75rem 0; line-height: 1.3; font-weight: normal;}
p { line-height: 1.3; font-size: 1.1rem; }

h1 {color: #108093; font-size: 2.5rem;}
h2, .page-header h2 { color: #108093; font-size: 2rem; border-bottom: 1px solid #108093;  line-height: 1.3; margin: 0; padding: 0;}
h3 {color: #EF9721; font-size: 2rem;}
h4 {background: #42AFCC; font-size: 1.75rem;color: white; border-radius: .2rem; padding: .1rem .4rem;}
h5 {font-family: 'Lato', sans-serif; color: #EF9721; font-size: 1.65rem; text-transform: uppercase;}
h6 {color: #EF9721; font-size: 1.6rem; font-style: italic;}
a { color: #108093; }
a:hover { color: #EF9721; }

blockquote {
	color: #333;     
	padding: 0 0 0 15px;
	margin: 0 0 20px;
	border-left: 5px solid #d5d5d5;
	font: italic 16px/22px Georgia, Serif;
	line-height: 1.2;
	font-size: 1.3rem;
}

address {
	font-style: italic;
	font-weight: bold;
	font-size: 1.2rem;
	line-height: 1.2;
}

/************ BUTTONS  ************/
.readon, .button, .btn, p.readmore .btn, a.btn, .sprocket-lists-portrait a span { 
  color: #108093; 
  font-size: 1rem;
  text-transform: none;
  font-weight: normal;
  background: #FEF3D5; 
  border: 1px #EF9721 solid; 
  padding: .6rem 1.1rem; 
  border-radius: .5rem; 
  margin: 0;
  display: inline-block;
  line-height: 1.125rem;
  transition: all .2s ease-in;
}
#g-bottom a.button { background: #203B71;  }
.readon:hover, .button:hover, .btn:hover,  p.readmore .btn:hover, .sprocket-lists-portrait a:hover span {background: #42AFCC; color: white; border: 1px #42AFCC solid;}

.btn .icon-chevron-right { display: none;}

/************ TABLES  ************/
.fancytable th {color: white; background: #42AFCC; border: 1px solid #42AFCC;}
.fancytable td { border: 1px solid #42AFCC;}

/************ ALERT ************/
.alert .g-content {padding: 0; margin: 0;}
.alert {border: none; padding: 0; margin: 0; background-color: #FFCFCF; color: #FF0000;}
.alert h1, .alert h2, .alert h3, .alert h4, .alert h5, .alert h6, .alert p { margin-left: 20px; color: red; background: transparent;}

/************ HOMELAYOUT  ************/

.homelayout .hiddenhome { display: none; }
#g-page-surround { background: #42afcc !important; }

/************ HEADER  ************/
#g-top .g-container > .g-grid { padding: 0 10%; }
#g-top { background: #42AFCC url(../images/template/pattern-header.png) 50% 50% no-repeat; background-size: cover; }
#g-top .g-grid:nth-child(2) .g-content.g-particle { margin: 1rem !important; padding: 1rem !important;  }

@media only screen and (max-width: 767px) {
	.g-logo img { width: 90%;}
	#g-top .g-grid:nth-child(3) .g-content.g-particle  { margin: 0.5rem !important; padding: 0.5rem !important;  }
}

/************ MENU  ************/
#g-top .g-grid:nth-child(4) { padding-top: 5px; padding-bottom: 5px; background: rgba(239,151,33,0.8) }
.g-main-nav .g-toplevel > li > .g-menu-item-container, .g-main-nav .g-toplevel > li:hover > .g-menu-item-container, .g-main-nav .g-toplevel > li.active > .g-menu-item-container { color: white; }
.g-main-nav .g-standard > .g-dropdown, .g-main-nav .g-fullwidth > .g-dropdown { margin-top: 0px;}
.g-main-nav .g-toplevel > li:hover, .g-main-nav .g-toplevel > li.active {   background: rgba(0,0,0,0.1); }
.g-main-nav .g-sublevel > li:hover, .g-main-nav .g-sublevel > li.active {   background: rgba(0,0,0,0.1); }
.g-main-nav .g-toplevel > li > .g-menu-item-container { text-align: center;  padding: 0.625rem 0.75rem;  }
.g-main-nav .g-toplevel > li.g-parent .g-menu-parent-indicator {display: none; }
.g-main-nav .g-toplevel > li > .g-menu-item-container, .g-main-nav .g-sublevel > li > .g-menu-item-container {font-size: 1rem; }

.g-main-nav ul.g-toplevel {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-around;
}
.g-main-nav .g-standard .g-fade.g-dropdown { z-index: 10;}
.g-main-nav .g-dropdown { border-radius: 0 0 6px 6px;}

.g-main-nav .g-standard > .g-dropdown.g-dropdown-right, .g-main-nav .g-fullwidth > .g-dropdown.g-dropdown-right { left: 0; }
.g-main-nav .g-sublevel > li > a.g-menu-item-container:hover { background: rgba(0,0,0,0.03); }

.g-social a { color: white; }
.g-social a:hover { color: #108093 !important; }

@media only screen and (max-width: 767px) { 
	.g-offcanvas-toggle { top: 20px; left: 20px; }
}

/************ CENTER SOCIAL MEDIA VERTICALLY  ************/
#g-top .g-block.size-5 {
    display: flex;
    justify-content: center;
    align-items: center;
}

/************ SIDE MENU  ************/
#g-aside .moduletable[class*="box"] { padding: 0; }
#g-aside .g-content { padding-left: 0; padding-right: 0px;}
.moduletable .nav.menu li a { width: 100%; border-radius: 0; padding: 10px 20px; color: white; font-weight: normal;}
.moduletable .nav.menu li{ transition: all .2s ease-in; border-radius: 3px; width: 100%; padding: 0; margin: 0;}
.moduletable .nav.menu, .moduletable .unstyled { border: none; padding: 0; margin: 0; display: block;}
.moduletable .nav.menu li:last-child {  padding-bottom: 0;  margin-bottom: 30px;}
.moduletable .nav.menu .nav-child li:last-child {  margin-bottom: 0px;}
.moduletable .nav .nav-child { margin-top: 0px;}
.moduletable .nav.menu .nav-child li { border: none; margin-left: 20px; padding-right: 20px;}

.moduletable .nav.menu li.current.active a, .moduletable .nav.menu li a:hover { color: #108093; background: #FEF3D5; font-weight: normal; }

/************ OFFCANVAS MENU  ************/
#g-offcanvas { border-right: 2px #EF9721 solid; }
.g-offcanvas-toggle {color: #FEF3D5; }
#g-offcanvas #g-mobilemenu-container .g-toplevel > li > .g-menu-item-container > .g-menu-item-content, #g-offcanvas #g-mobilemenu-container .g-sublevel > li > .g-menu-item-container > .g-menu-item-content {font-weight: normal; color: #108093 !important; }
#g-offcanvas #g-mobilemenu-container ul > li > a.g-menu-item-container:hover {background: rgba(239,151,33,0.15); }
#g-offcanvas #g-mobilemenu-container ul > li.g-menu-item-link-parent > .g-menu-item-container > .g-menu-parent-indicator {border: none; background: none; }
#g-offcanvas #g-mobilemenu-container ul > li.g-menu-item-link-parent > .g-menu-item-container > .g-menu-parent-indicator:hover {border: none; background: none; }

/************ ROTATOR BOXED WIDTH ************/
/*#g-showcase .g-content { padding-bottom: 0; margin-bottom: 0; }*/
/*#g-showcase .g-container { width: auto; }*/

.sprocket-features-img-container img { object-fit: cover; object-position: center; height: 33vw !important;}
#g-showcase { background: #42AFCC url(../images/template/pattern.png); }
#g-showcase .g-content { padding: 0; margin: 0; }
#g-showcase { padding: 0 10%; }
@media only all and (max-width: 59.938rem) and (min-width: 48rem), @media only all and (max-width: 47.938rem) {
	#g-showcase { padding: 0 2%; }
}

/************ ROTATOR FULL WIDTH  ************/
/* FULL WIDTH: #g-showcase .g-container { width: 100%; }*/

@media only screen and (max-width: 767px) {
	#g-showcase { padding: 0; }
}

/************ ROTATOR SLIDESHOW BOTTOM LEFT FADE  ************/
.layout-slideshow .sprocket-features-content { 
    position: absolute;
	top: auto;
	/*bottom: 40px;*/
	bottom: 0px;
    left: 0px;
	padding: 10px 0 0 40px;
    width: 62%;
	height: 33vw; /** equal to img height **/
	background: linear-gradient(to right, rgba(239,151,33,0.8) 50%, rgba(239,151,33,0.45) 90%, rgba(239,151,33,0));
	justify-content: center;
	flex-direction: column;
}
.sprocket-features-img-container img { object-fit: contain; object-position: center; height: 34vw !important; width: 80vw !important; }

.layout-slideshow .sprocket-features-title, .layout-slideshow .sprocket-features-desc { display: block; background: none; text-shadow: 2px 2px 5px rgba(0,0,0,0.85); }

.layout-slideshow .sprocket-features-title, .sprocket-features-desc h2 { color: white; border: none; padding: 0px 100px 0px 10px; margin: 0; line-height: 1.2; }
.layout-slideshow .sprocket-features-title, .sprocket-features-desc h1, 
.layout-slideshow .sprocket-features-title, .sprocket-features-desc h3, 
.layout-slideshow .sprocket-features-title, .sprocket-features-desc h4, 
.layout-slideshow .sprocket-features-title, .sprocket-features-desc h5, 
.layout-slideshow .sprocket-features-title, .sprocket-features-desc h6 { color: white; }
.sprocket-features-desc h2  {padding: 0; }
.sprocket-features-desc a.readon  {background: #D0BEAB; color: #03284C; }
.sprocket-features-desc a:hover.readon  {background: #B6D1E0; color: #03284C; }
.layout-slideshow .sprocket-features-desc { color: white; font-size: 1.4rem; padding-top: 0; padding-right: 100px;}

@media only screen and (max-width: 767px) {
	.sprocket-features-img-container img {width: 100%; height: 40vw !important; object-fit: fill; margin-bottom: 40vh; }

	
	.sprocket-features-desc p:last-child { padding-bottom: 0px; margin-bottom: 0px;}
	
	.layout-slideshow h2, .layout-slideshow h5, .layout-slideshow .sprocket-features-title { font-size: 4.25vw; text-align: left; }
	.layout-slideshow h5 { font-size: 3.25vw; text-align: left; color: white; margin: .25rem; }
	body .sprocket-features-desc p { font-size: 2.5vw ; margin-bottom: 1.5vw; }
	
	.layout-slideshow .sprocket-features-img-list { min-height:  64vw;}
		
	.layout-slideshow .sprocket-features-content { 
		min-height: 40vh; background: #EF9721 !important; padding-bottom: 0; bottom: 0; padding-left: 10px;
		position: absolute;
		top: auto;
		bottom: 0;
		left: 0px;
		right: 0px;
		padding: 10px;
		width: 100%;
		display: block;
		justify-content: auto;
		flex-direction: column;
	}
	
	.layout-slideshow .sprocket-features-title, .layout-slideshow .sprocket-features-desc { text-shadow: none; }
	.layout-slideshow .sprocket-features-desc { font-size: 1rem; line-height: 1.2; padding-right: 10px;}
	.layout-slideshow .sprocket-features-desc div { display: flex; }
	.layout-slideshow .sprocket-features-desc div p { margin-bottom: 0; width: 33%;}
	.sprocket-features-arrows { display: none;}
		.sprocket-features-pagination { display: none; }
}


/************ BIGGER ARROWS ON SLIDESHOW ************/
.layout-slideshow .sprocket-features-arrows .arrow span { font-size: 6rem; line-height: 0px; width: 25px;}

.sprocket-features.layout-slideshow.arrows-onhover .sprocket-features-arrows .arrow { background: none; box-shadow: none; color: white;}
.sprocket-features.layout-slideshow.arrows-onhover .sprocket-features-arrows .arrow { font-size: 5rem; }
.arrows-active .sprocket-features-img-list {margin: 0px; }
.arrows-onhover .sprocket-features-arrows .arrow.prev span { margin-left: 0;}
.arrows-onhover .sprocket-features-arrows .arrow.next span { margin-right: 0;}

@media only screen and (max-width: 767px) {
	.sprocket-features-pagination, .sprocket-features-arrows { display: none;}
}

/************ WELCOME  ************/
#g-utility .g-content { margin: 0; padding: 0; }
#g-utility h1 { color: white; font-size: 6vw;}
@media only screen and (max-width: 767px) { #g-utility h1 { font-size: 3rem;}  }

/************  MODULES  ************/
#g-feature:before { border: none; }
#g-feature .g-grid, #g-extension .g-grid { background: white; }
#g-feature h3.g-title { border-bottom: 1px #EF9721 solid; padding-bottom: 0; line-height: 1.2; font-size: 2.3vw;}
.bulletin h3.g-title, .minsched h3.g-title { text-align: center; }
#g-feature .g-content:first-child .button {display: block;}

@media only screen and (max-width: 767px) {
	#g-feature h3.g-title { text-align: center; font-size: 1.75rem;}
}

/************ HEADLINES  ************/
#g-feature h4.sprocket-lists-portrait-title { color: #108093; font-family: 'Rufina', serif; background: none; font-size: 1.4rem !important; margin: 0 0 0.25rem 0; padding: 0; line-height: 1.2 !important;}
.active h4.sprocket-lists-portrait-title { margin-bottom: 10px; line-height: 1.3 !important;}
.portrait-image img {height: 40px;}
.active .portrait-image img {   object-fit: cover;  object-position: center;  height: 200px;}
.active .portrait-image { width: 40%;}
.sprocket-lists-portrait-container li {  border-bottom: 1px solid #EF9721; }
p.portrait-text { display: none; }
.sprocket-lists-portrait p { margin: 0 0 0.75rem 0; }
#g-feature .platform-content:first-child {margin-bottom: 0px; padding-bottom: 0px;}
#g-feature .platform-content:last-child { margin-top: 0px; padding-top: 0px;}

.sprocket-lists-portrait-pagination li { border-radius: 0; background: #EF9721; padding: 6px !important;}
.sprocket-lists-portrait-arrows .arrow { background: rgba(239,151,33,0.5); color: #EF9721; }
.sprocket-lists-portrait-nav { margin-bottom: 10px; }

/************  MISSION  ************/
#g-expanded p { margin-bottom: 0px; font-weight: 300; font-size: 1.65rem; text-align: center; }
#g-expanded em { font-style: italic; }
#g-expanded .g-content { margin: 0.5rem; padding: 1rem;  }
@media only screen and (max-width: 767px) { #g-expanded p { font-size: 1.4rem; } }

/************ ROK MINI EVENTS  ************/
#g-extension .g-content { padding: 0.25rem 1.5rem; }
.rme-items li, .rme-timeline-bar, .rme-arrow { background: none;  border: none; }
.rme-items li { padding: 0; margin: 15px 0 30px 0; clear:both; }
.rme-badge {
    background: #EF9721;
	border-radius: 7px;
    color: white;
    width: 58px;
    margin-right: 10px;
    margin-bottom: 10px;
    padding: 5px;
	font-weight: bold;
	display: block;
	float: none;
}
.rme-timeline-point:hover, .rme-timeline-point.active, .rme-timeline-point span { background: #EF9721; } 
.rme-arrow { color: #EF9721; } 
.rme-date {display: none; }
.rme-day { font-size: 1.65rem; }
.rme-title { font-size: 1.1rem; font-weight: normal; padding-right: 10px; }
@media only screen and (max-width: 767px) {
	.allevents p { text-align: center !important; }
	.rme-badge { float: left; padding: 8px; margin-bottom: 20px; }
	.rme-day { font-size: 1.4rem;}
	.rme-items li { margin: 0; }
	.rme-timeline { display: none;}
	/* #g-showcase .g-grid { padding-bottom: 40px;} */
	.rme-items { padding-top: 15px;}
}

/************ FOOTER  ************/
#g-footer { background: #42AFCC url(../images/template/pattern.png); padding-top: 2%; padding-bottom: 2%; }
.homelayout #g-footer { border-top: 1px white solid !important; }
#g-footer { border-top: 1px #108093 solid !important; }
#g-footer .g-content { margin: 2rem 0; padding: 0; }
#g-footer h3 { font-size: 1.4rem; }
#g-footer p { font-size: 1.2rem; }
#g-footer h3, #g-footer p { text-align: center; }
#g-footer a{ color: white;  }
#g-footer a:hover{ color: #203B71;  }
a .fa.fa-lock { color: #203B71; }
a:hover .fa.fa-lock { color: #FEF3D5; }

/************ MINISTRY PAGE  ************/
.ministrypage .item { display: flex; flex-direction: column; }
.ministrypage .item .pull-left.item-image { order: 1; }
.ministrypage .item .pull-left.item-image img { border-radius: 4px; box-shadow: 2px 2px 5px rgba(0,0,0,0.2); }
.ministrypage .item .page-header { order: 2; }
.ministrypage .item table { order: 3; margin: 5px 0 20px 0; }
.ministrypage .item p { order: 4; }
.ministrypage .pull-left.item-image { margin: 0; padding: 0;}

.ministrypage .page-header h2 {
	line-height: 1.2;
	color: #108093;
    font-size: 1.8rem;
    border-bottom: 1px solid #EF9721;
    margin: 3px 0 0 0;
    padding: 0;
}

.ministrypage a { word-break: break-all; }
.ministrypage h2 a { word-break: normal; }

.btn [class^="icon-"] { display: none; }

.moduletable[class*="box"], .widget[class*="box"] {padding: 0.5rem;}


@media only screen and (max-width: 767px) {
	.ministrypage .item { padding-bottom: 30px;}
	.ministrypage .item .pull-left.item-image img  { width: 75%;}
}

@media only screen and (max-width: 767px) {

	.sprocket-features-img-list img {
		margin-bottom: 0;
	}
	
	.sprocket-features-img-list .sprocket-features-content {
		display: none;
	}
	
}

@media only screen and (min-width: 767px) {

	

}