/* Custom CSS File Created: February  2, 2016 - 23:00:07 */

/*
 * Use this custom.css file to overwrite CSS from the default.css file.  If you
 * want to customize the CSS, copy the applicable CSS section(s) to this file
 * and customize here.  It is recommended to use the admin edit tool as it makes
 * this process a little easier.
 * 
 * --- Caveat: Background Images ---
 * 
 * Note that images loaded in the CSS are relative, so if the default CSS file
 * specifies a URL like url('../images/background.jpg') - since it is relative,
 * it will use background.jpg from the default template set, NOT your custom template
 * set.  If you want to use an image background from your own template set, copy
 * the applicable CSS to this file so that the image location will be relative
 * to this custom.css file rather than the default template's default.css file.
 */

@import url('https://fonts.googleapis.com/css2?family=Rubik&display=swap');
@import url('bootstrap.css');

/* ##### GENERAL ###### */

body {
    padding-top: 70px;
}

a {
    outline: 0 !important;
}

p {
    margin: 1em 0;
}

h1,h2,h3,h4,h5,h6 {
    font-family: 'Rubik', sans-serif;
}

button,
.button {
    display: inline-block;
    background: #002347;
    padding: 0px 48px;
    color: #fdc632;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5rem;
    border-radius: 5px;
    border: 1px solid transparent;
    outline: none !important;
    text-align: center;
    cursor: pointer;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    font-family: 'Rubik', sans-serif;    
}


/* ##### OVERRIDES ###### */

.text-primary {
    color: #002347 !important;
}
 
.text-secondary {
    color: #fdc632 !important;
}

.text-light {
    color: #7b838a !important;
}

.card-title {
    margin-bottom: 0.25em;
}
.card-text {
    margin-top: 0em;
}

.btn {
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    font-family: 'Rubik', sans-serif;
    font-size: 1rem;
}

.btn-primary {
    background: #002347 !important;
    color: #fdc632 !important;
    border: none !important;
}

.btn-secondary {
    background: #fdc632 !important;
    color: #002347 !important;
    border: none !important;
}

.btn-ghost {
    border: 1px solid #7b838a !important;
    color: #7b838a !important;
    background: none;
}

.btn-ghost:hover {
    border: 1px solid #fff !important;
    color: #fff !important;
    background: none;
}

.badge {
    white-space: normal !important;
    text-align: left !important;
}

.list-group-item {
  white-space: normal !important;
  word-break: break-all !important;
}

/* ##### HEADER ###### */

header .logo {
    position: relative;
    top: 1em;
}

header .logo img {
	width: 150px;
}

header {
    background: rgba(0,35,71,0.95);
    padding: 0 1em;
    color: #7b838a;
    position: fixed;
    width: 100%;
    z-index: 100;
    top: 0;
    height: 70px;
}

header nav {
    position: relative;
}

header nav a {
    font-family: 'Rubik', sans-serif;
    color: #fff;
    display: inline-block;
    padding: 2em 0.5em;
    background: none;
    border: none;
    font-weight: 400;
    font-size: 1em;
}

header nav.mobile-menu a {
    padding: 1.5em 0.5em;
}

header nav.main-menu a {
    display: block;
    padding: 0.5em;
    text-align: left;
    border-bottom: 1px solid rgba(123,131,138,0.25);
}

header nav a:hover {
    color: #fdc632;
    text-decoration: none;
}

header .section {
    display: inline-block;
    color: #fff;
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
    font-size: 1em; 
    position: relative;
    cursor: pointer;
    text-align: left;
    border-bottom: 1px solid rgba(123,131,138,0.25);
    padding: 0.5em;
}

header nav .section .heading {
	display: block;	  
}

header nav .section .inner-menu {
	display: none;
	background: rgba(0,0,0,0.2);
	padding: 0;
	margin: 0;
	height: auto;
	border-radius: 0;	
}

header nav .section .inner-menu a {
	margin: 0;
	font-weight: 400;
    display: block;
}

header nav .section .inner-menu em {
    display: block;
    opacity: 0.75;
    font-size: 0.75em;
}

header nav .section .heading:after  {
    display: inline-block;
    font-family: "Font Awesome 5 Pro";
    line-height: 1em;
    content: "\f078";
    position: absolute;
    top: 1em;
    right: 1em;
}

header .btn {
    font-size: 0.9rem; 
    line-height: 1;
}

/* RESPONSIVE MENU STYLES */

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

	.offcanvasmenu-active .site-overlay {
		background: rgba(0,0,0,0.5);
		height: 100%;
		width: 100%;
		position: fixed;
		top: 0;
		z-index: 999;
		transition: .2s;
	}
	header nav.main-menu {
		position: fixed;
		right: -320px;
		width: 300px;
		height: 100%;
		top: 0;
		overflow-y: scroll;
        background: #002347;
        padding: 1em 0;
        transition: 0.5s;
        box-shadow: 0 0 1em rgba(0,0,0,0.5);              
	}
	header nav.main-menu.open {
        right: 0;
	}    
	header nav.main-menu div {
		display: block;	
	}
    header nav.main-menu .menu-btn {
        text-align: right;
    }
    header nav.main-menu .section {
        padding: 0;
    }
    header nav.main-menu a,
    header nav.main-menu .section .heading {
         padding: 0.5em 1em;   
    }
    header nav.main-menu .btn {
        margin: 1em 0.5em;
        text-align: center;
    }
}


/* ##### CONTENT ###### */

#main-content {
    padding: 2em 1em;
}

.intro h1,
.intro h2 {
    margin: 0 0 0.5em 0;
    font-size: 1.6em;
}

.intro p {
    margin: 0 0 1em 0;    
}

.fp-categories a {
    text-decoration: none;
}
.fp-categories .card {
    word-wrap: normal !important;
}

.fp-categories a h5 {
    color: #002347;
    margin-bottom: 0;
    font-size: 1rem;
}

.fp-categories a p {
    color: #7b838a;
    margin: 0;
}

.listing-content {
    width: 100%;
}

/* ##### PROMO SHOWCASE ##### */

#promo-showcase {
	margin: 0;
	position: relative;
	z-index: 2;
	overflow: hidden;
    height: 25em !important;
}

#promo-showcase .wrapper {
    width: 80%;
	padding-top: 3em;
    height: 100%;
}

#promo-showcase .promo-container {float: left; overflow: hidden;}
#promo-showcase .promo-container .promo-slide {
	float: left;
	background-repeat: no-repeat;
	background-position: center center !important;
	position: relative;
	z-index: 3;
	overflow: hidden;
}

#promo-showcase  .promo-slide {
	background-repeat: no-repeat;
	background-position: center center !important;
}

#promo-showcase  .promo-slide img {
    max-width: 100%;
}

#promo-showcase iframe {position: relative; z-index: 3;}

#ps_controls {position: relative; z-index: 99;}

.promo-left-arrow-block {
	width: 50px;
	text-align: center;
	position: absolute;
	left: 0;
	z-index: 900;
}
.promo-right-arrow-block {
	width: 50px;
	text-align: center;
	position: absolute;
	right: 0;
	z-index: 900;
}

a.promo-arrow-control-left:link, a.promo-arrow-control-left:visited,
a.promo-arrow-control-left:hover, a.promo-arrow-control-left:active,
a.promo-arrow-control-right:link, a.promo-arrow-control-right:visited,
a.promo-arrow-control-right:hover, a.promo-arrow-control-right:active {
	display: block;
	padding: 0;
	font-family: "Font Awesome 5 Pro";
	line-height: 100%;
	width: 50px;
	font-size: 3em;
	font-weight: 300;
	color: rgba(255,255,255,0.25);
	position: absolute;
	top: 35%;	
}

a.promo-arrow-control-left:hover, a.promo-arrow-control-left:active,
a.promo-arrow-control-right:hover, a.promo-arrow-control-right:active {
	color: rgb(255,255,255);	
}
	

#promo-showcase a {
	display: block;
	text-decoration: none;
}

#promo-showcase .contents {
	z-index: 2;
	display: block;
	color: #002347;
	position: relative;
	text-align: center;
	width: 100%;
	padding: 1em;
    margin: 0 auto;
    font-family: 'Rubik', sans-serif;
}

#promo-showcase .contents .title {
	margin: 0.25em 0;
	padding: 0;
	font-size: 2em;
	color: #002347 !important;
	text-shadow: none;
	display: block;
	line-height: 1em;
}

#promo-showcase .contents .description {
	margin: 0;
	padding: 0;
	line-height: 1.5em;
	color: rgba(0,35,71,0.75);
    font-size: 1em;
    font-weight: 500;
}

#promo-menu {
	position: absolute;
	display: block;
	padding: 0;
	font-family: "Font Awesome 5 Pro";
	line-height: 100%;
	width: 50px;
	font-size: 1em;	
	z-index: 901;
}

#promo-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#promo-menu ul li {
	margin: 0; 
	padding: 0;
	display: inline-block
}

#promo-menu a {
	margin: 0;
	text-align: center;
	color: rgba(52,52,52,0.5);
}

#promo-menu a:hover {
	color: rgb(52,52,52);
}	

#promo-menu.menu-bottom {
	left: 50%;
	bottom: 5em;	
}

#promo-menu.menu-top {
	left: 50%;
	top: 5em;	
}

#promo-showcase .btn,
#promo-showcase .btn-ghost {
    border: 1px solid rgba(198,184,136,0.75);
    color: rgba(198,184,136,0.75);
    margin-top: 1em;
    display: inline-block;
}

#promo-showcase .btn:hover,
#promo-showcase .btn-ghost:hover {
    border: 1px solid rgba(198,184,136,1);
    color: rgba(198,184,136,1);
    margin-top: 1em;
    display: inline-block;
}

/* ARTICLE STYLES */

#articles {
	background: rgb(248,249,251);
	padding: 2em 0;
}

#recent_articles {
	display: flex;
	flex-wrap: wrap;
    padding: 0 1em;
}
	
#recent_articles article {
	width:100%;
	background: rgb(255,255,255);
	border-radius: 0.25em;
	overflow: hidden;
	margin: 0 1%;
	position: relative;
    border: 1px solid rgba(255,255,255,0);
}

#recent_articles article:nth-child(2),
#recent_articles article:nth-child(3),
#recent_articles article:nth-child(4) {
    display: none;
}


#recent_articles article .content {
	padding: 1em 1em 3em 1em;	
	display: block;
    text-align: left;
    font-family: 'Rubik', sans-serif;
}

#recent_articles article h3 {
	margin: 0 0 0.25em 0;
	padding: 0;
    font-size: 1.5rem;
}

#recent_articles article p {
	margin: 0;
	padding: 0;
    color: #7b838a;
}

#recent_articles a {
    color: #002347;
    text-decoration: none;
}

#recent_articles article:hover {
    border: 1px solid #fdc632;
}


#recent_articles article .thumb {
	background: rgb(255,255,255) url('../images/image-placeholder.jpg') center center;
    background-size: cover;
	display: block;
	height: 200px;
	overflow: hidden;
}

#recent_articles article .thumb img {
	width: 100% !important;
	min-height: 100% !important;
	display: block;	
}

#recent_articles p {
	font-size: 0.9em;
}

#recent_articles .read-more {
    margin: 1em 0;
    color: #fdc632;
    display: inline-block;
}


/* ##### PAGINATION ###### */

.pagination {
	margin: 0.5em auto;
	padding: 0;
	text-align: center;
	display: table;
}

.pagination li {
    margin: 0.1em;
}

.pagination a,
.pagination a:visited {
	display: inline-block;
	padding: 0.3em 0.8em;
	border-radius: 0.3em;
	background: rgb(223,226,230);
	color: rgb(50,50,50);
	text-decoration: none;
    border: none;
    font-size: .75rem;
    font-weight: normal;
}


.pagination a:hover {
	display: inline-block;
	padding: 0.3em 0.8em;
	border-radius: 0.3em;
	background: #fdc632;
	color: rgb(24,66,143);
    border: none;
}

.pagination .current {
	display: inline-block;
	padding: 0.3em 0.8em;
	border-radius: 0.3em;
	background: rgba(0,35,71,1);
	color: rgb(255,255,255);
    font-size: 0.75rem;
}

/* ##### FOOTER ###### */

footer {
    background: #002347;
    padding: 4em 1em;
    color: #7b838a;
    clear: both;
}

footer h4 {
    color: #fff;
    font-family: 'Rubik', sans-serif;
    font-size: 1.2em;
}

footer ul ,
footer ul li {
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
}

footer a {
    color: #7b838a;
    text-decoration: none;
}

footer p a {
    color: #fff;
}

footer a:hover {
    color: #fff;
}



@media only screen and (min-width: 52em) {
	.page-bar .menu-link {
		min-width: 6%;
	}
}

@media only screen and (min-width: 576px) {  /* 576px Small */
	#recent_articles article:nth-child(2) {
		display: block;
	}
    .fp-categories a h5 {
        font-size: 1.25rem;
    }    
}

@media only screen and (min-width: 832px) { /* 832px - Custom */
	#recent_articles article:nth-child(3) {
		display: block;
	}
}

@media only screen and (min-width: 992px) { /* 992px Large */
    body {
        padding-top: 90px;
    }    
    header .logo img {
        width: 200px;
    }
    header {
        height: 90px;
    }
    header nav.main-menu {
		height: auto !important;
    }
    header nav.main-menu a {
        display: inline-block;
        text-align: right;
        border: none;
    }
    header nav .section {
        padding: 2em 1.5em 2.1em 0.5em;
        display: inline-block;
        text-align: right;
        border: none;        
    }
	header nav .section:hover .inner-menu {
		display: block;
	}	
	header nav .section .heading:after  {
		top: 2.25em;
        right: 0;
	}
	header nav .section:hover .heading:before {
		bottom: -1px;
		left: 50%;
		border: solid transparent;
		content: " ";
		height: 0;
		width: 0;
		position: absolute;
		pointer-events: none;
		border-color: rgba(255,255,255,0);
		border-bottom-color: #fdc632;
		border-width: 15px;
		margin-left: -15px;
		z-index: 99;
        top: 60px;
	}
    header nav .section .inner-menu {
        display: none !important;
        background: #fdc632;
        position: absolute;
        top: 90px;
        z-index: 99;
        color: rgb(0,35,71);
        min-width: 250px;
        left: 0;
        text-align: left;
        padding: 1em;
        margin: 0;
    }
    
    header nav .section .inner-menu.wide {
        min-width: 600px;
        left: -300px;
    }
    
    header nav .section .inner-menu.wide .accent {
        padding: 1em;
        margin: -1em 0;
        background: rgba(0,0,0,0.05);
    }
    
    header nav .section .inner-menu a {
        color: rgb(0,35,71);
        text-align: left;
    }

    header nav .section:hover .inner-menu {
        display: block !important;
    }
    header nav .section:hover .inner-menu a:hover {
        background: rgba(0,0,0,0.2);
    }
    #main-content {
        padding: 2em 0;
    }
	#recent_articles article:nth-child(4) {
		display: block;
	}    
}

@media only screen and (min-width: 59em) {
	.page-bar .menu-link {
		min-width: 9%;
	}
}