@import url('//fonts.googleapis.com/css?family=Lato:400,700|Rufina:400,700');

/************ 

TEMPLATE NOTES

** Fonts **
Serif: Rufina
Sans Serif: Lato

--------------------------------------------------------------------------
** Colors **
Royal Blue: #015190; rgb(1,81,144)
Light Blue: #CCDCEB; rgb(204,220,235)
Light Blue: #809cb7 -- Headings only

************/

body {color: #414042; 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;}

h1 {color: #015190; font-size: 2.5rem;}
h2, .page-header h2 { color: #015190; font-size: 2rem; border-bottom: 1px solid #015190;  line-height: 1.3; margin: 0; padding: 0;}
h3 {color: #809cb7; font-size: 2rem; font-family: 'Lato', sans-serif; }
h4 {background: #015190; font-size: 1.75rem; color: white; border-radius: .2rem; padding: .1rem .4rem;}
h5 {color: #809cb7; font-size: 1.5rem; text-transform: uppercase; font-family: 'Lato', sans-serif;}
h6 {color: #015190; font-size: 1.6rem; font-style: italic;}
a { color: #015190; }
a:hover { color: #809cb7; }

#g-footer a{ color: white;  }
#g-footer a:hover{ color: #809cb7;  }

blockquote {
	color: #414042;     
	padding: 0 0 0 20px;
	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, .headlines a span, span.button   { 
  color: #015190;
  font-size: .9rem;
  text-transform: none;
  font-weight: normal;
  background: #CCDCEB;
  padding: .55rem .8rem; 
  border-radius: .5rem; 
  margin: 0;
  display: inline-block;
  font-weight: 500;
  line-height: 1.125rem;
  border: none;
  transition: all .2s ease-in;
}

.readon:hover, .button:hover, .btn:hover,  p.readmore .btn:hover, .headlines a:hover span, span.button:hover, .button:hover a  {background: #015190; color: #CCDCEB;}

.btn .icon-chevron-right { display: none;}

/************ TABLES  ************/
.fancytable th {color: #015190; background: #CCDCEB; border: 1px solid #CCDCEB;}
.fancytable td { border: 1px solid #CCDCEB;}

/************ 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;}

/************ HEADER ************/
#g-page-surround {background: url(../images/homepage/background.jpg) 0% 0% no-repeat !important; background-size: 65% !important; }
.visible-phone {display: none; }
.g-logo img { width: 60%;}

 
@media only screen and (max-width: 767px) {
	.hidden-phone {display: none; }
	#g-page-surround {background: url(../images/homepage/background-mobile.jpg) 0% 0% no-repeat !important; background-size: 70% !important;}
	
}

/************ MENU  ************/

.g-main-nav ul.g-toplevel {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-around;
}

.g-main-nav .g-sublevel > li > a.g-menu-item-container:hover { 	background: #B8D1E8; }

.g-social a { color: #015190; }
.g-social a:hover { color: white; }


#g-navigation { box-shadow: 0px 0px 7px rgba(1,81,144,0.65); }
#g-navigation.g-flushed { padding: 0 8% !important; }
#g-navigation .g-container { padding: 4px 0; }

@media only screen and (max-width: 767px) {
	#g-navigation { margin-bottom: 5%;}
	#g-navigation.g-flushed { padding: 0.5% 8%!important; }
	.g-social {text-align: center; }
}



/************ BASIC MENU FIXES  ************/
#g-navigation { padding-bottom: 0px; }

.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; }

@media only screen and (max-width: 767px) { 
	.g-logo img { width: 70%;} 
	.g-offcanvas-toggle {
		top: 20px;
		left: 20px;
	}
}

/************ OFFCANVAS MENU  ************/
.g-offcanvas-toggle {color: #015190; }
#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-menu-item-title {color: #015190; }
#g-offcanvas #g-mobilemenu-container ul > li > a.g-menu-item-container:hover {background: #B8D1E8; }
#g-offcanvas #g-mobilemenu-container ul > li.g-menu-item-link-parent > .g-menu-item-container > .g-menu-parent-indicator {border: none; background: none; }


/************ SIDE MENU  ************/
.platform-content,.moduletable,.widget{margin:0.625rem 0;padding:0.2rem 0;}
#g-aside .moduletable[class*="box"] { padding: 0; }
#g-aside .g-content {padding: 0.5rem 0;}
.moduletable .nav.menu li a { width: 100%; border-radius: 0; padding: 10px 20px; color: #015190; 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: #015190;
	background: #B8D1E8;
	font-weight: normal;
}

/************ SHOWCASE ROTATOR  ************/
#g-showcase.g-flushed { padding: 3% 10%!important; }
.arrows-active .sprocket-features-list { margin: 0;}

.sprocket-features-img-container img {
	object-fit: cover; 
	object-position: center;
	height: 27vw !important;
	width: 48vw;
}
.pagination-active { margin-bottom: 0px;}
.pagination-active .sprocket-features-pagination { bottom: 0px; left:auto; right:50px;}
.layout-showcase .sprocket-features-pagination li { padding: 10px; }

.sprocket-features-container {display: flex; align-items: center; }
.sprocket-features-img-container {width: 48vw; order:2;}
.sprocket-features-content {flex:1; order:1; margin-right: 1vw; overflow-y: auto; }
.layout-showcase .sprocket-features-list li { background: none; padding: 0 0 0 20px; }
.layout-showcase .sprocket-features-content {background: rgba(1,81,144,0.8); height: 27vw; padding: 2vw;}
/*.layout-showcase .sprocket-features-img-container img { border-left: 25px rgba(1,81,144,0) solid;}*/

h2.sprocket-features-title, 
.sprocket-features-desc h1, 
.sprocket-features-desc h2,
.sprocket-features-desc h3,
.sprocket-features-desc p { color: white; }

.sprocket-features-img-container { margin-right: 0; }
.layout-showcase .sprocket-features-img-container img { float: none; margin-right: 0px;}

h2.sprocket-features-title, .sprocket-features-desc h2 {
	font-weight: normal; 
	font-size: 2.1vw;
	border-bottom: none;
	padding: 0;
}

.sprocket-features-desc p { 
	font-size: 1.5vw;
	line-height: 1.3;
	padding: 0;
	margin-bottom: 0px;
}
h2.sprocket-features-title a { border: none; color: white; }
h2.sprocket-features-title a:hover { color: #777; }

.sprocket-features-desc .readon { margin-top: 20px; display: block; width: 130px; text-align: center;}

@media only screen and (max-width: 767px) {
	#g-showcase.g-flushed { padding: 0!important; }
	.sprocket-features-container {flex-direction:column;}
	h2.sprocket-features-title, .sprocket-features-desc h2 { font-size: 1.6rem; padding: 3% 0 0 0;}
	.sprocket-features-desc p { font-size: 1.1rem; padding-bottom: 2%; }
	.sprocket-features-img-container {margin-right: 0px;}
	.sprocket-features-content { margin-right: 0px; min-height:365px;}
	.sprocket-features-arrows { display: none;}
	.sprocket-features-img-container { order:1;}
	.sprocket-features-content { order:2;}
	.sprocket-features-img-container img {height: 56vw !important; width: 100%; }
	.sprocket-features-img-container { width: 100%;}
	#g-navigation > .g-container > .g-grid { padding: 0;}
	.layout-showcase .sprocket-features-img-container img { margin: 0; border: none;}
	.layout-showcase .sprocket-features-list li { padding: 0; background: #015190; }
}

/************ BIGGER ARROWS ON SLIDESHOW ************/
.sprocket-features.layout-showcase.arrows-active.arrows-onhover .sprocket-features-arrows .arrow { 
	background: none; box-shadow: none; color: #015190;}
.sprocket-features.layout-showcase.arrows-active.arrows-onhover .sprocket-features-arrows .arrow { font-size: 5rem; }
.arrows-active .sprocket-features-list {margin: 0px; }
.arrows-onhover .sprocket-features-arrows .arrow.prev { margin-left: -40px;}
.arrows-onhover .sprocket-features-arrows .arrow.next { margin-right: -40px;}




/************ QUICKLINKS   ************/
#g-utility.g-flushed { padding: 0 2% !important; margin-top: 0; }

.quicklinkboxes { display: flex; justify-content: space-between;}

.quicklinkboxes > div {
	flex: 1; 
	height: 20vh;
	max-height: 115px;
	position: relative; 
	transition: all .35s ease-in-out;
	margin: 0 1.5%;
}

.quicklinkboxes > div:first-child { margin-left: 0px;}
.quicklinkboxes > div:last-child { margin-right: 0px;}


.quicklinkboxes > div a { 
	position: absolute; 
	top: 0; bottom: 0; right: 0; left: 0; 
	font-size: 1.2rem;
	background: #CCDCEB;
	color: #015190;
	text-align: center;
	transition: all .35s ease-in-out;
}

.quicklinkboxes > div > a > div { 
  position: absolute; 
  top: 0; bottom: 0; right: 0; left: 0; 
  border: 1px #015190 solid; 
  margin: 7%; 
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;	
  transition: all .35s ease-in-out;
}

.quicklinkboxes > div:hover > a > div { margin: 0; border: 1px rgba(255,255,255,0.1) solid; }
.quicklinkboxes > div:hover > a {background: rgba(128,156,183, .8);}

@media only screen and (max-width: 767px) {
  #g-utility.g-flushed { padding: 0 3% !important; margin-top: 4%; }
  .quicklinkboxes { flex-wrap: wrap;}
  .quicklinkboxes > div { width: 48%; flex:none; margin: 2% 0;} 
}

/************ HOMELAYOUT  ************/
.homelayout .hiddenhome { display: none; }

#g-extension { padding: 0 8%; }
#g-bottom {padding: 0;}
#g-bottom .g-grid .g-block .g-content { margin: 0 0 .625rem 0; padding: 0 0 1.5rem 0; }


/************ HOME MODULE TITLES  ************/
h3.g-title {
	font-family: 'Rufina', serif;
	color: white;
	background: #015190;
	border-radius: 5px;
	font-size: 1.45rem;
	font-weight: normal;
	margin: 0 0 5% 0;
	padding: 4px 0 4px 14px;
}

.titlecenter h3.g-title {text-align: center; padding: 4px 0; }





/************ HEADLINES  ************/
#g-extension .g-grid .g-block:first-child .g-content {margin-left: 0; padding-left: 0; }
#g-extension .g-grid .g-block:nth-child(2) .g-content {margin-left: 0.3rem; padding-left: 0.3rem; }

#g-extension h3.g-title { border-bottom: 1px #015190 solid; padding-bottom: 0;}
#g-extension h4.sprocket-lists-portrait-title { color: #015190; font-family: 'Lato', sans-serif; background: none; font-size: 1.4rem !important; margin: 0; padding: 0; line-height: 1.3 !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: 150px;}
.active .portrait-image { width: 40%;}
.sprocket-lists-portrait-container li {  border-bottom: 1px solid #015190; }

#g-extension .platform-content:first-child {margin-bottom: 0px; padding-bottom: 0px;}
#g-extension .platform-content:last-child { margin-top: 0px; padding-top: 0px;}

.sprocket-lists-portrait-pagination li { border-radius: 0; background: #015190; padding: 6px !important;}
.sprocket-lists-portrait-arrows .arrow { background: rgba(1,81, 144,0.5); color: #015190; }

.roksprocket-ellipsis {display: none; }

#g-extension .platform-content {padding: 0.5rem 0;}


/************ MODULE HELPER ************/
.moduletable.extrabottompadding { padding-bottom: 25px; }
.moduletable.moveintoabovemodule { margin-top: -50px; }
.custommoveintoabovemodule { text-align: center;}

/************ ROK MINIEVENTS UPCOMING EVENTS   ************/
.rme-timeline-point:hover, .rme-badge { background: #CCDCEB; }
.rme-timeline-point.active { background: #015190; }
.rme-badge { float: none; color: #015190; font-size: 0.9rem; margin-bottom: 0px; font-weight: bold; padding: 13px; border-radius: 5px; }

.rme-month { font-size: 1.15rem; }
.rme-day { font-size: 1.5rem; margin-bottom: 2px;}
.rme-title { font-size: 1.1rem; font-weight: normal;}
	
.rme-items li, .rme-timeline-bar, .rme-arrow { border: none; background: none;}

@media only screen and (max-width: 767px) {
	.rme-badge { float: left;  padding: 8px;}
	.rme-items li { margin: 0; }
}

/************ FOOTER  ************/
#g-footer h2 { border-bottom: 1px white solid; margin-bottom: 10px; padding-bottom: 10px;}
#g-footer p { font-size: 1.2rem; }

/************ SUBPAGES  ************/
#g-container-main { margin-top: 1%; }

/**** Create a nice looking table with alternating rows *****/
.alternaterows  {width: 100%;}
.alternaterows tr:nth-child(even) {background: #fff; border-bottom: 1px solid #ddd;}
.alternaterows tr:nth-child(even):hover {background: #fafafa; border-bottom: 1px solid #ddd;}
.alternaterows tr:nth-child(odd) {background: #fafafa; border-bottom: 1px solid #ddd;}
.alternaterows tr:nth-child(odd):hover {background: #fff; border-bottom: 1px solid #ddd;}
	
 @media only screen and (max-width: 767px){ 
   .alternaterows, .alternaterows div, .alternaterows tr, .alternaterows td, .alternaterows tbody { display: block; table-layout:auto; width: 100%; border: none; margin: 0;}
   .alternaterows img { display: block; margin: 0 auto; width: 100%;}  
   .alternaterows { display:block; }
 }
