@charset "utf-8";

/* CSS Document */

:root {
	--lightred: #D2777B;
	--red: #C2363C;
	--darkred: #A53B2A;
	--lightgray: #FAFAFA;
	--gray: #999F96;
	--darkgray: #545454;
	
}

body, p {
	font-family: 'Roboto Slab', serif;
}

html, body {
	height: 100%;
	padding: 0;
	margin: 0;
	color: black;
	background-color: var(--lightgray);
}

.is-header {
	background-color: var(--darkgray);
	text-align: center;
}

.is-header img {
	padding-top: .5em;
	padding-bottom: .5em;
}

.is-top-menu {
	border-top: 1px solid gold;
	text-align: center;
	position: relative;
	padding-top: 1em;
	padding-bottom: 2em;
	color: black;
	background-color: var(--gray);
}

.is-top-menu-nav {
	float: none;
	position: absolute;
	text-align: center;
	margin: 0 auto;
	bottom: 0;
	width: 100%;
	font-family: 'Arial', sans-serif;
}

.is-top-menu-nav li {
	float: none;
	display: inline-block;
}

.is-top-menu-nav li a {
	padding: 0.9rem 1rem;
	font-size: 0.75rem;
	color: black;
	text-transform: uppercase;
	display: block;
	font-weight: bold;
	letter-spacing: 1px;
	transition: all 0.35s ease-in-out;
}

.is-top-menu-nav li a.is-active, li a:hover {
	background: var(--red);
	color: white;
}

.is-top-menu-nav a:hover {
	background-color: var(--lightred);
}

.is-subheader {
	background-image: url('/img/header.jpg');
	background-size: cover;
	background-position: left top;
	border-top: 1px solid gold;
}

.is-subheader-bw {
	background-image: url('/img/header_bw.jpg');
	background-size: cover;
	background-position: left top;
	border-top: 1px solid gold;
}

.is-subheader2 {
	background-image: url('/img/header2.jpg');
	background-size: cover;
	background-position: left top;
	border-top: 1px solid gold;
}

.is-subheader3 {
	background-image: url('/img/header3.jpg');
	background-size: cover;
	background-position: left top;
	border-top: 1px solid gold;
}

.is-subheader4 {
	background-image: url('/img/header4.jpg');
	background-size: cover;
	background-position: left top;
	border-top: 1px solid gold;
}

.is-subheader5 {
	background-image: url('/img/header_bw.jpg');
	background-size: cover;
	background-position: left top;
	border-top: 1px solid gold;
}

.is-chief {
	background: white;
}

.is-captain {
	background: white;
}

.is-firefighter {
	background: color(display-p3 0.617 0.709 0.953)
}

.is-probie {
	background: lightgray;
}

p img {
	float: left;
	margin-top: 5px;
	padding-right: 1em;	
}

@media screen and (max-width: 39.9375em) {
	.is-subheader, .is-subheader2, .is-subheader3, .is-subheader4, .is-subheader5, .is-subheader-bw, .is-subheader-secondary {
		height: 10em;
	}
	
	p img {
		width: 100px;
	}
}

@media screen and (min-width: 40em) and (max-width: 63.9375em) {
	.is-subheader, .is-subheader2, .is-subheader3, .is-subheader4, .is-subheader5, .is-subheader-bw, .is-subheader-secondary {
		height: 15em;
	}

	p img {
		width: 100px;
	}
}

@media screen and (min-width: 64em) and (max-width: 74.9375em) {
	.is-subheader, .is-subheader2, .is-subheader3, .is-subheader4, .is-subheader5, .is-subheader-bw, .is-subheader-secondary {
		height: 25em;
	}

	p img {
		width: 150px;
	}
}

@media screen and (min-width: 75em) {
	.is-subheader, .is-subheader2, .is-subheader3, .is-subheader4, .is-subheader5, .is-subheader-bw, .is-subheader-secondary {
		height: 30em;
	}

	p img {
		width: 150px;
	}
}

.is-subheader-title {
	background-color: var(--gray);
	text-align: center;
	border-top: 1px solid gold;
	border-bottom: 1px solid gold;
	text-transform: uppercase;
	font-weight: bold;
	color: black;
	font-size: 1.5em;
}

.is-subheader-title p {
	margin-top: .2em;
	margin-bottom: .2em;
}

.is-content {
	padding-top: .5em;
	text-align: justify;
	text-justify: auto;
}

.is-organization {
	padding-top: 1em;
	text-align: center;
	font-weight: bold;
	font-size: .8em;
}

.is-calendar {
	padding-top: 1em;
}

.is-organization img {
	border: 1px solid gray;
}

.is-organization p {
	padding-top: 1em;
}

.is-bottom-menu-left, .is-bottom-menu-right, .is-bottom-menu-full {
	padding-top: .5em;
	border-top: 1px solid gold;
}

.is-bottom-menu-left {
	text-align: right;
	padding-right: .5em;
}

.is-bottom-menu-right {
	text-align: left;
	padding-left: .5em;
	border-left: 1px dashed var(--gray);
}

.is-bottom-menu-full {
	text-align: center;
	padding-bottom: 1em;
}

.is-bottom-menu-nav {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.is-bottom-menu-nav li a, a {
	background: none;
	color: gold;
}

.is-bottom-menu-nav li a:hover, a:hover {
	color: var(--red);
}

.is-footer {
	text-align: center;
	font-size: .8em;
	padding-bottom: 10px;
	padding-top: 10px;
}

.is-qrcode {
	text-align: center;
	padding-bottom: 15px;
}

.is-bottom-menu-left, .is-bottom-menu-right, .is-bottom-menu-full, .is-footer {
	background-color: var(--darkgray);
	color: var(--lightgray);
}

.ribbon {
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  width: 110px;
}
.ribbon {
  --f: .5em; /* control the folded part */
  
  position: absolute;
  top: 0;
  right: 0;
  line-height: 1.8;
  padding-inline: 1lh;
  padding-bottom: var(--f);
  border-image: conic-gradient(#0008 0 0) 51%/var(--f);
  clip-path: polygon(
	100% calc(100% - var(--f)),100% 100%,calc(100% - var(--f)) calc(100% - var(--f)),var(--f) calc(100% - var(--f)), 0 100%,0 calc(100% - var(--f)),999px calc(100% - var(--f) - 999px),calc(100% - 999px) calc(100% - var(--f) - 999px));
  transform: translate(calc((1 - cos(45deg))*100%), -100%) rotate(45deg);
  transform-origin: 0% 100%;
  background-color: #3371c6; /* the main color  */
}

.callout.houdini {
	margin-top: 10px;
	text-align: center;
	font-weight: bold;
	text-transform: uppercase;
}