@import url('//fonts.googleapis.com/css?family=Lato:400,400i,700,700i|Rufina:400,700'); 

/************ 

TEMPLATE NOTES

Light Blue: #628BD1; rgba(98,139,209,1)
Red: #950029; rgba(149,0,41,1)
Dark Blue: #16315B; rgba(22,49,91,1)

************/

body {color: #333; font-size: 1.2rem;}

h1, h2, h3, h4, h5, h6 { margin: .75rem 0; line-height: 1.3; font-weight: normal;}
p { line-height: 1.3; font-size: 1.2rem; }

h1 {color: #16315B; font-size: 5vw;}
h2, .page-header h2 { color: #16315B; font-size: 2rem; border-bottom: 1px solid #628BD1;  line-height: 1.3; margin: 0 0 8px 0; padding: 0;}
h3 {font-family: 'Lato', sans-serif; color: #950029; font-size: 2rem;}
h4 {background: #16315B; font-size: 1.75rem; color: white; border-radius: .2rem; padding: .1rem .4rem;}
h5 {font-family: 'Lato', sans-serif; color: #950029; font-size: 1.5rem; text-transform: uppercase;}
h6 {font-family: 'Lato', sans-serif; color: #16315B; font-size: 1.6rem; font-style: italic;}
a { color: #628BD1; }
a:hover { color: #16315B; }

#g-footer a{ color: white;  }
#g-footer a:hover{ color: #16315B;  }

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.button, .button a { 
  color: white; 
  font-size: 1rem;
  text-transform: none;
  font-weight: normal;
  background: #950029; 
  border: none;
  padding: .7rem 1.3rem; 
  border-radius: .5rem; 
  margin: 0;
  display: inline-block;
  font-weight: 500;
  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, a.button:hover {background: #628BD1; color: white; }

.btn .icon-chevron-right { display: none;}

/************ TABLES  ************/
.fancytable th {color: white; background: #16315B; border: 1px solid #16315B;}
.fancytable td { border: 1px solid #16315B;}

/************ 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;}
.alert h2 {margin-top: 12px; }

/************ HOME PAGE  ************/

.homelayout .hiddenhome, .landing .hiddenhome { display: none; }
#g-utility .g-container, #g-extension .g-container, #g-showcase .g-container  { width: 100%; }
#g-page-surround, .outline-_error #g-page-surround { background: #628BD1 url(../images/template/background.jpg) 100% 0% no-repeat !important; background-size: 40% !important;}
#g-top, .outline-_error #g-top { background: url(../images/template/header.png) 68% 0% no-repeat !important; background-size: contain !important;}
#g-utility, #g-extension { padding: 0 8%; }
#g-container-main { margin: 20px 8% 0 8%;}

@media only screen and (max-width: 767px) {
	#g-container-main { margin: 0;}
	#g-top, .outline-_error #g-top { background: none !important; }
	#g-page-surround, .outline-_error #g-page-surround { background: #628BD1 url(../images/template/background.jpg) 45% 0% no-repeat !important; background-size: 60% !important;}
}

/************ HEADER ************/
#g-top .g-content { margin: 0; padding: 1.5rem 0; }
@media only screen and (max-width: 767px) {
	#g-top .g-grid:nth-child(2) .g-content { margin: 0; padding: 1rem 0.65rem; }
	.g-logo img { width: 90%;} 
	.landing #g-top .g-grid:nth-child(2) .g-content { padding: 2rem 1rem 0 1rem; }
	.landing .g-logo img { width: 100%;} 
}

/************ MENU  ************/
#g-navigation { margin: 0; padding: 0 4%; }
#g-navigation .g-container { width: auto; padding: 4px 0; }
#g-navigation .g-content { margin: 0; padding: 0;}
.g-social a { color: white; }
.g-social a:hover { color: white !important; }

.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,.1); }
.g-main-nav .g-sublevel > li:hover, .g-main-nav .g-sublevel > li.active {   background: rgba(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: 1.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; }

@media only screen and (max-width: 767px) {
	#g-navigation { margin: 0; padding: 0; }
	#g-navigation .g-container { padding: 0; }
}

/************ OFF CANVAS MENU  ************/
.g-offcanvas-toggle {color: white !important; text-shadow: 2px 2px 5px rgba(0,0,0,0.85);}

#g-offcanvas {background: #950029; color: #950029; }
#g-offcanvas #g-mobilemenu-container ul {background: #950029; }
#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; }
#g-offcanvas .g-menu-item-title {color: white; }
#g-offcanvas #g-mobilemenu-container ul > li > a.g-menu-item-container:hover, #g-offcanvas #g-mobilemenu-container ul > li > .g-menu-item-container:hover {background: rgba(0,0,0,0.1); }
#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; }
#g-offcanvas #g-mobilemenu-container .g-toplevel > li > .g-menu-item-container .g-menu-parent-indicator:after {color: white; }
#g-offcanvas #g-mobilemenu-container ul > li > .g-menu-item-container { color: white; }

@media only screen and (max-width: 767px) { 
	.g-offcanvas-toggle {
		top: 10px;
		left: 10px;
		}
}



/************ MENU - SOCIAL MOBILE  ************/

@@media only screen and (min-width: 1200px) {  .hidden-desktop {display: none; }  }
@media only screen and (min-width: 768px) and (max-width: 959px) {  .hidden-desktop {display: none; }  }


/************ 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 { background: #16315b; transition: all .2s ease-in; 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: white;
	background: #950029;
	font-weight: normal;
}

/************ ROTATOR  ************/
#g-showcase { margin-top: 20px !important; padding: 0 8%;}
#g-showcase .g-content { margin: 0; padding: 0; }

.layout-slideshow .sprocket-features-img-container img {
	float: none;
    width: 100%;
    height: 42vw !important;
    object-fit: cover;
    object-position: center
}

.layout-slideshow .sprocket-features-content { 
    position: absolute;
	top: 0;
	bottom: 0;
    left: 0;
	padding: 25px 0 15px 20px;
    width: 60%;
	background: linear-gradient(to right, rgba(22,49,91,0.75) 50%, rgba(22,49,91,0.35) 80%, rgba(22,49,91,0));
	justify-content: center;
	flex-direction: column;
}
.layout-slideshow .sprocket-features-title, .layout-slideshow .sprocket-features-desc { display: block; background: none; }

.layout-slideshow .sprocket-features-title, .layout-slideshow .sprocket-features-desc h2 { color: white; border: none; padding-right: 100px; padding-left: 10px; margin: 0; line-height: 1.2; }
.layout-slideshow .sprocket-features-desc { color: white; font-size: 1.4rem; padding-right: 100px; padding-top: 0px !important;}
.layout-slideshow .sprocket-features-desc h2 { padding-left: 0px !important; }
h2.sprocket-features-title { padding-bottom: 0px !important; }
.layout-slideshow .sprocket-features-desc p { font-size: 1.2rem; font-family: 'Lato', sans-serif; }

@media only screen and (max-width: 767px) {
	/*#g-showcase { margin-top: 20px !important; }*/
	.sprocket-features-img-container img {width: 100%; height: 42vw !important; }
	.layout-slideshow h2 { font-size: 1.5rem; text-align: left; }
	
	.sprocket-features-img-container { padding-bottom: 53vw;}
	.layout-slideshow .sprocket-features-content { 
		min-height:  42vw; background: #16315B !important; padding-bottom: 0; bottom: 0; padding-left: 10px;
		position: absolute;
		top: 42vw;
		bottom: auto;
		left: 0px;
		right: 0px;
		padding: 10px 10px 53vw 10px;
		width: 100%;
		display: block;
		justify-content: auto;
		flex-direction: column;
	}
	
	.layout-slideshow .sprocket-features-desc { font-size: 1rem; line-height: 1.2;}
	.layout-slideshow h2, .layout-slideshow .sprocket-features-title { line-height: 1.2; font-size: 1.5rem; padding-top: 10px; }
	.sprocket-features-arrows { display: none;}
	body .sprocket-features-desc p { font-size: 2.75vw; margin-bottom: 0px; }
	.layout-slideshow .sprocket-features-desc p { font-size: 3vw; }
	.layout-slideshow .sprocket-features-desc { padding-right: 10px;}
	.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; text-shadow: 2px 2px 5px rgba(0,0,0,0.75);}
.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 .next { left: 95%;}
.layout-slideshow .sprocket-features-arrows .arrow { top: 50%; margin-top: -12px; line-height: 18px;} 

@media only screen and (max-width: 767px) {
	.sprocket-features-pagination, .sprocket-features-arrows { display: none;}
}

/************ QUICKLINKS  ************/
#g-utility .g-content { margin: 0; padding: 1.5rem 0; }

.quicklinks {display: flex;}
.quicklinks > div {
	flex: 1; 
	max-height: 165px;
	height: 12vh;
	position: relative; 
	transition: all .35s ease-in-out;
	margin: 0 8px;
}
.quicklinks > div > a { 
  position: absolute; 
  top: 0; bottom: 0; right: 0; left: 0; 
  font-size: 1.6rem; 
  background: rgba(149,0,41,0.6);
  color: white;
  text-shadow: 5px 5px 5px rgba(0,0,0,0.65) ;
  transition: all .35s ease-in-out;
}
.quicklinks > div > a > div { 
  position: absolute; 
  top: 0; bottom: 0; right: 0; left: 0; 
	border: 1px white solid; 
	margin: 5%; 
	text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;	
  transition: all .35s ease-in-out;
}

.quicklinks > div:hover > a > div { margin: 0; border: 1px rgba(255,255,255,.1) solid; }

.quicklinks > div:hover {
}
.quicklinks > div:hover > a {background: rgba(22,49,91,0.75);}

.quicklinks > div > div > img {
	object-fit: cover; 
	object-position: center;
	max-height: 165px;
	height: 12vh;
	width: 100%;
}

@media only screen and (max-width: 767px) {
	.quicklinks { display: block; }
	.quicklinks > div > a, .quicklinks > div > a > div { position: relative; }
	.quicklinks > div > div > img { height:  90px; width:  120px;}
	.quicklinks > div > a > div img { max-height: 90px; padding: 10px 0; }
	.quicklinks > div { display: flex; }
	.quicklinks > div { background: #16315B;  }
	.quicklinks > div > a { background: none; flex:1; }
	.quicklinks > div { height: auto; border-bottom: 1px #ffffff solid;}
	.quicklinks > div > a > div { border: none; }
	.quicklinks > div > a { display: flex;  align-items: center; justify-content: flex-start; }
	.quicklinks > div > a > div {  margin: 0 0 0 20px;}
	.quicklinks > div:hover > a > div {margin: 0 0 0 20px; border: none; }
} 
#g-feature:before { border: none; }
#g-feature h3 {font-size: 1.7rem; margin-bottom: 0.25rem; }



#g-extension .sprocket-lists-title {background: transparent; border: 0px solid #ffffff; color: #628BD1; }

/************ move ads higher on mobile  ************/
/***reorder columns in a container***/
@media only screen and (max-width: 767px) {
	#g-extension .g-block:first-child  { order: 2; }
	#g-extension .g-block:last-child { order: 1; }
	#g-extension .g-block:nth-child(2) { order: 3; }
}


/************ HOME MODULES  ************/
#g-extension { margin-top: 1.5%; }
#g-extension .g-grid { background: white; }
#g-extension h3.g-title { margin-bottom: 10px; padding-bottom: 0px; color: #16315B; border-bottom: 2px #628BD1 solid; font-family: 'Rufina', serif; line-height: 1.25; }
.center-title h3.g-title { text-align: center !important; }

#g-extension .g-grid .g-block:nth-child(1) .g-content { margin-right: .4rem; padding-right: .75rem; }
#g-extension .g-grid .g-block:nth-child(2) .g-content { margin-left: .4rem; padding-left: .75rem; }

@media only screen and (max-width: 767px) {
#g-extension .g-grid .g-block:nth-child(1) .g-content { margin-right: .625rem; padding-right: 1.5rem; }
#g-extension .g-grid .g-block:nth-child(2) .g-content { margin-left: .625rem; padding-left: 1.5rem; }
}

/************ HEADLINES  ************/
.sprocket-lists-title.padding { background: none; }
.sprocket-padding { color: #333333; }
h4.sprocket-lists-title.padding { background: none; color: #16315B; text-shadow: none; border: none; margin: 0; font-size: 1.4rem !important; }
.sprocket-lists-container li { border-bottom: 1px #628BD1 solid;}
.sprocket-lists-container .indicator { display: none; }
.roksprocket-ellipsis::after {  content: ""; clear: both;  display: table; }
.sprocket-lists-pagination li { background: #b9232a; padding: 6px !important; border-radius: 0; }
.sprocket-lists-arrows .arrow { background: #e3a7aa; color: #b9232a; line-height: 0.45; font-size: 1.75rem; padding-left: 4px; }
.sprocket-lists-arrows .arrow span { display: contents; }

/************ FOOTER  ************/

#g-footer { border-top: none; padding: 0 3%;}



/******** Calendar Page (switches to agenda view on mobile) ********/


@media only screen and (max-width: 767px) {
	.pc-view {
		display: none;
	}
}

@media only screen and (min-width: 768px) {
	.mobile-view {
		display: none;
	}
}