@font-face {
  font-family: 'Fjalla One';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/fjalla-one-v5-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Fjalla One'), local('FjallaOne-Regular'),
       url('../fonts/fjalla-one-v5-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/fjalla-one-v5-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/fjalla-one-v5-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/fjalla-one-v5-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/fjalla-one-v5-latin-regular.svg#FjallaOne') format('svg'); /* Legacy iOS */
}

@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 700;
  src: local('Merriweather Bold'), local('Merriweather-Bold'), url(../fonts/merriweather-bold.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Merriweather';
  font-style: italic;
  font-weight: 700;
  src: local('Merriweather Bold Italic'), local('Merriweather-BoldItalic'), url(../fonts/merriweather-bolditalic.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 300;
  src: local('Merriweather Light'), local('Merriweather-Light'), url(../fonts/merriweather-light.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Merriweather';
  font-style: italic;
  font-weight: 300;
  src: local('Merriweather Light Italic'), local('Merriweather-LightItalic'), url(../fonts/merriweather-lightitalic.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

html {
	position: relative;
	min-height: 100%;
}

body {
	/* Padding top for navbar
	padding-top: 50px; */
	/* Margin bottom for footer height
	margin-bottom: 60px;*/
	font-family: 'Merriweather';
}

section {
	padding-top: 50px;
}

img {
	max-width: 100%;
}

p {
	margin-bottom: 2.5rem;
}

pre {
	background: #eee;
	padding: 10px;
}

table {
	empty-cells: show;
	border: 1px solid #cbcbcb;
	width: 100%;
	font-size: 0.9em;
	margin-bottom: 1rem;
}

thead {
	background-color: #e0e0e0;
	color: #000;
	text-align: left;
	vertical-align: bottom;
}

tr {
	display: table-row;
	vertical-align: inherit;
	border-color: inherit;
}

th, td {
	padding: 0.5em 1em;
}

h1, h2, h3, h4, h5 {
	font-family: 'Fjalla One';
	font-weight: bold;
	color: #c0392b;
}

h1.title,
h2.title {
	font-size: 2.3rem;
	font-weight: normal;
}

blockquote {
        padding: 10px 20px;
        margin: 0 0 20px 20px;
        border-left: 5px solid #eee;
        font-style: italic;
}

button.btn {
	font-family: 'Fjalla One';
	text-transform: uppercase;
	color: #fff;
	background-color: #c0392b;
}

button.btn:hover {
	color: #fff;
	background-color: #5a8dac;
}

/* Paginator */
.paginator {
	margin-top: 20px;
	margin-bottom: 80px;
}

/* Navbar */
@media screen and (min-width: 769px) {
	nav.fixed-top {
		position: relative;
	}
}

@media screen and (max-width: 768px) {
	#navbarResponsive, button.navbar-toggler {
		padding: .25rem;
		background: #fff;
		border: 1px solid rgba(0,0,0,.1);
	}
}

img.nav-svg-icon {
	width: 1rem;
	height: 1rem;
	padding-bottom: 2px;
}

.nav-link {
	font-family: 'Fjalla One';
	font-size: 1.1rem;
}

.navbar-light .navbar-nav .nav-link {
	color: #c0392b;
}

/* Pre-footer image */
#prefooter {
	width: 100%;
	background-position: center;
	background-size: cover;
}

/* Footer */
footer {
/*	position: absolute;
	bottom: 0;*/
	width: 100%;
	line-height: 60px;
	font-family: 'Fjalla One';
	font-size: 1.25rem;
	background-color: #c0392b;
}

.mini-logo {
	height: 22px;
	padding-bottom: 5px;
}

/* Home - Header */
header {
	width: 100%;
	position: absolute;
	top: 0;
	margin: 250px auto;
	color: #fff;
	text-align: center;
	text-shadow: 1px 2px 2px #777;
	pointer-events: none;
}

header a {
	pointer-events: auto;
}

#header-bg {
	background-image: url('../img/header.jpg');
	background-position: center;
	background-size: cover;
	height: 650px;
}

header h1, header h2 {
	font-weight: normal;
}

header h1 {
	font-size: 5rem;
}

/* Home - Page */
section.home-page:nth-child(even) { /* Alternate the background color */
	background: #FAFAFA;
}

.page-cover-image {
	background-size: cover;
	background-position: center;
}

.page-content div {
	margin: 2rem;
}
	.page-content div:first-of-type { margin-top: 0 }

/* VIDEO EMBED RESPONSIVE */
.video-embed {
	overflow:hidden;
	padding-bottom: 56.25%; /* 16:9 */
	position:relative;
	height:0;
}
.video-embed iframe{
	left:0;
	top:0;
	height:100%;
	width:100%;
	position:absolute;
}


@media screen and (max-width: 767px), (max-height: 880px) {
	header {
		margin: 120px auto;
	}
	
	#header-bg {
		height: 390px;
	}

	section {
		padding-top: 30px;
	}

	.page-content div {
		margin: 1rem;
	}
}

@media screen and (max-width: 320px), (max-height: 640px) {
	header {
		margin: 60px auto;
	}
	
	#header-bg {
		height: 270px;
	}

	section {
		padding-top: 15px;
	}
}

/* Animations */
#header-out, #prefooter-out {
	overflow: hidden;
}

#header-bg, #prefooter {
	transition: transform .5s ease .5s;
}

#header-bg:hover, #prefooter:hover {
	transform: scale(1.05);
	transition: transform .5s;
}