/*
Stylesheet for BSA Scouts Troop 457 Website
Ref1: https://scoutingwire.org/bsa-brand-center/brand-identity/
Ref2: https://scene.zeplin.io/project/59b6b6554fc4d8840a822300

Official Scout Colors
' - Prime BSA colors
* - BSA Scouts colors
* - BSA Scouts color variations


Scouts BSA Olive*			HEX: #243E2C	RGB: 36, 62, 44
Scouting Red*'				HEX: #CE1126	RGB: 206, 17, 38
Scouting Blue*'				HEX: #003F87	RGB: 0, 63, 135
Scouting Light Blue**	HEX: #9AB3D5	RGB: 154, 179, 213
Scouting Dark Blue**	HEX: #003366	RGB: 0, 51, 102
Scouting Light Gray**	HEX: #858787	RGB: 133, 135,135
Scouting Warm Gray'		HEX: #515354	RGB: 81, 83, 84
Scouting Dark Gray**	HEX: #232528	RGB: 35, 37, 40
Scouting Light Tan**	HEX: #E9E9E4	RGB: 233, 233, 228
Scouting Tan*'				HEX: #D6CEBD	RGB: 214, 206, 189
Scouting Dark Tan**		HEX: #AD9D7B	RGB: 173, 157, 123
Scouting Yellow				HEX: #FFCC00	RGB: 255, 204, 0
White									HEX: #FFFFFF	RGB: 255, 255, 255
HTML Snow							HEX: #FFFAFA;

*/

/* Settings */

* {
	margin: 0;
	padding: 0;
}

*, *:before, *:after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
	overflow-y: scroll;
	font-size: 16px;
}

img { max-width: 100%; }

figcaption {
	text-align: center;
	font-weight: 700;
	font-size: 12px;
	color: #243E2C;
	padding-top: 0.25rem;
	line-height: 1.1;
	color: var(--h2-color);
}

a {
	color: var(--link-color);
	text-decoration: none;
	outline: none;
	cursor: pointer !important;
}

a:hover { text-decoration: underline; }

hr {
	border: 0;
	margin: 1rem 0;
	height: 1px;
	background-image: linear-gradient(to right, rgba(214, 206, 189, 0), rgba(214, 206, 189, 0.75), rgba(214, 206, 189, 0));
}

.break, .calbreak, .noline { display: block; }

.oneline, .panels { display: none; }

.slant {
	margin-top: 0.5rem;
	text-align: center;
	font-style: italic;
	font-size: 9pt;	
	color: var(--font-color);
}

.note {
	margin-top: 1rem;
	text-align: center;
	font-size: 9pt !important;
	line-height: 1.25;
	color: var(--topnav-color);
}

.note a {
	color: var(--topnav-color) !important;
}
	
.opacity100 {
	opacity: 1;
}

.opacity033 {
	opacity: .33;
}

.svgmedallion {
	height: 130px;
	border: 4px solid var(--h2-color);
	border-radius: 50%;
}

.svgicon {
	display: inline-block;
	margin-bottom: -1px;
	height: 9px;
}

.maptext {
	margin-top: 0.75rem !important;
	font-family: RobotoCondensedBold;
	font-size: 11pt;
	color: #00DE85 !important;
	text-align: center;
}

.maptext a {
	color: #24AF2C !important;
}

.maplink {
	display: inline-block;
	margin-bottom: -3px;
	height: 18px;
}

.clearfix::after {
    content: "";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

/* DIRECTIONAL ARROWS */

.da-arrow1, .da-arrow2, .da-arrow3 {
	font-family: helvetica, sans-serif;
	font-size: 1rem;
}

.da-arrow1:after, .da-arrow2:after, .da-arrow3:after {
	content: "\0020 \25BC";
	color: #003F87; 
}

.da-arrow1.CC:after, .da-arrow2.CC:after, .da-arrow3.CC:after {
	content: "\0020 \25B2";
	color: #CE1126;
}

.rb-arrow:before {
    font-family: helvetica, sans-serif;
    margin-left: 0.3em;
    content: "\272A \0020";
    font-size: 13px;
    color: #CE1126;
}

.ra-arrow:after {
    font-family: helvetica, sans-serif;
    content: "\0020 \25BA";
    color: #B3A687;
}

.lb-arrow:before {
    font-family: helvetica, sans-serif;
    content: "\25C0 \0020";
    color: #B3A687;
}

.arrows {
	text-align: center;
	margin-top: 1em;
}

.bullet1 {
	height: 12px;
}

.smcaps { font-variant: small-caps !important;  }

/* Font faces */
/* --------------------------------------------------------- */

@font-face {
	font-family: "RobotoSlab";
	src: url("../fonts/RobotoSlab-Bold.ttf");
}

@font-face {
	font-family: "RobotoLight";
	src: url("../fonts/Roboto-Light.ttf");
}

@font-face {
	font-family: "RobotoRegular";
	src: url("../fonts/Roboto-Regular.ttf");
}

@font-face {
	font-family: "RobotoCondensedBold";
	src: url("../fonts/RobotoCondensed-Bold.ttf");
}

@font-face {
	font-family: "RobotoCondensedRegular";
	src: url("../fonts/RobotoCondensed-Regular.ttf");
}

/* Theme styles */
/* --------------------------------------------------------- */

.theme-light {
	--font-color: #232528;			/* Scouting Dark Gray */
	--link-color: #003F87;			/* Scouting Blue */
	--body-color: #FFFAFA;			/* HTML Snow */
	--header-color: #003F87;		/* Scouting Blue */
	--h1-color: #003F87;				/* Scouts Blue */
	--h2-color: #003366;				/* Scouting Dark Bule */
	--menu-color: #003F87;			/* Scouting Blue */
	--menu-back: #D6CEBD;				/* Scouting Tan */
	--menu--hover: #858787;			/* Scouting Light Gray */
	--back-color: #003F87;			/* Scouting Blue */
	--topnav-color: #515354;		/* Scouting Warm Gray */
	--caldesc-color: #515354;		/*  */
	--calduty-color: #707373;		/* */
	--badge-color: #E9E9E4;			/* Scouting Light Tan */
	--patch-color: #ADA082;			/* ADA082 AD9D7B */
	--border-color: #243E2C;		/* Scouts BSA Olive */
	--eheader-color: #243E2C;		/* Scouts BSA Olive */
	--eborder-color: #243E2C;		/* Scouts BSA Olive */
	--splash-bgcolor: #E5E5E5; 	/* 10% Black */
	--nest-bgcolor: transparent; 	/*  */
	--img-emblem: url(../imgs/icons/scoutingAmerica.svg) no-repeat;
	--img-prepared: url(../imgs/icons/scoutingAmerica.svg) no-repeat; 
	--img-topNav: url(../imgs/icons/topLight.svg) no-repeat;
	--img-piper: url(../imgs/icons/pipe2.svg) no-repeat;
	--img-vert: url(../imgs/icons/vert.svg) no-repeat;
	--img-splashmask: url(../imgs/lightmask.png);
}

.theme-dark {
	--font-color: #FFFAFA;			/* HTML Snow */
	--link-color: #9FA1A1;			/* Light Gray */
	--body-color: #232528;			/* Scouting Dark Gray */
	--header-color: #243E2C;		/* Scouting Olive */
	--h1-color: #AD9D7B;				/* Scouting Dark Tan */
	--h2-color: #D6CEBD;				/* Scouting Tan */
	--menu-color: #AD9D7B;			/* Scouting Dark Tan */
	--menu-back: #003F87;				/* Scouting Blue */
	--menu--hover: #858787;			/* Scouting Light Gray */
	--topnav-color: #E6E6E6;		/* Gray 2 */
	--caldesc-color: #BBBDBD;		/*  */
	--calduty-color: #9FA1A1;		/*  */
	--badge-color: #D6CEBD;			/* Scouting Tan */
	--patch-color: #AEA07E;			/* Scouting Dark Tan */
	--border-color: #FFCC00;		/* Scouting Yellow */
	--eheader-color: #AEA07E;		/* Scouting Dark Tan */
	--eborder-color: #D6CEBD;		/* Scouting Dark Tan */
	--splash-bgcolor: #1a1a1a; 	/* 90% Black */
	--nest-bgcolor: #404040; 	/* 75% Black */
	--img-emblem: url(../imgs/icons/scoutingAmerica.svg) no-repeat;
	--img-prepared: url(../imgs/icons/scoutingAmerica.svg) no-repeat;
	--img-topNav: url(../imgs/icons/topDark.svg) no-repeat;
	--img-piper: url(../imgs/icons/pipe2.svg) no-repeat;
	--img-vert: url(../imgs/icons/vert.svg) no-repeat;
}

/* --------------------------------------------------------- */
/* Structure */

body {
	font: 1rem RobotoRegular, sans-serif;
	overflow-y: scroll;
}

.prewrap {
	position: relative;
	width: 100%;
	background: var(--body-color, #FFFAFA);
	z-index: 2;
}

h1 {
	font-family: "RobotoSlab";
	font-size: 20px;
	color: var(--h1-color);
}

h2 {
	font-family: "RobotoRegular";
	font-size: 18px;
	color: var(--h2-color);
}

h3 {
	font-family: "RobotoCondensedBold";
	font-size: 14px;
	color: var(--h3-color);
}

h4 {
	font-family: "RobotoRegular";
	font-size: 12px;
	color: var(--h4-color);
}

.subhead {
	font-size: 14px;
}

p  {
	font-family: RobotoLight, sans-serif;
	font-weight: normal;
	font-size: 1rem;
	line-height: 1.5;
	color: var(--font-color);
}

.star:after {
	content: "\272D";
	color: #CE1126;
	font-size: 20px;
}

.qstar:after {
	content: "\272D";
	color: #CE1126;
	font-size: 16px;
}

.topnav {
	display: block;
	margin: 3rem auto 0;
	width: 76px;
	height: 24px;
	background: var(--img-topNav);
}

/* --------------------------------------------------------- */
/*	Primary header */

header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	padding: 0 10px;
	z-index: 3;
	background-color: var(--header-color);
}

.topheader {
	position: relative;
	max-width: 960px;
	margin: 1rem auto 0;
	display: grid;
	grid-template-columns: 116px 1fr;
	gap: 0;
	height: 32px;
}

.bsatagline {
	width: 116px;
	height: 32px;
	background: var(--img-emblem);
}

.socialmedia {
	text-align: right;
	padding-right: 25px;
}

.socialmedia img {
	height: 32px;
}

.socialmedia img:hover {
	filter: grayscale(100%);
}

.pipe {
	display: inline-block;
	width: 9px;
	height: 32px;
	background: var(--img-piper);
}

.vert {
	display: inline-block;
	width: 5px;
	height: 20px;
	background: var(--img-vert);
}

/*	Dark mode toggle
	https://codepen.io/haxzie/pen/xxKNEGM */

/* The switch - the box around the slider */
.switch {
  position: relative;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.slider:before {
  position: absolute;
  content: "";
  height: 25px;
  width: 25px;
  left: 3px;
  top: -13.5px;
  background-image: url('../imgs/icons/moon.svg');
  background-repeat: no-repeat;
  background-position: center;
}

input:checked + .slider {
  background-color: transparent;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196f3;
}

input:checked + .slider:before {
  background-image: url('../imgs/icons/sun2.svg');
  background-repeat: no-repeat;
  background-position: center;
}

/* Rounded sliders */
.slider.round {
  border-radius: 25px;
}

.slider.round:before {
  border-radius: 50%;
}

/* --------------------------------------------------------- */
/*	Secondary header */

.baseheader {
	position: relative;
	max-width: 960px;
	margin: 0 auto 10px;
}

.baseheader .logo {
	display: inline-block;
	width: 320px;
	font-family: RobotoSlab;
	font-size: 19px;
	font-weight: 700;
	color: #FFFAFA; 
	text-decoration: none;
}

.baseheader ul {
  list-style: none;
  overflow: hidden;
}

.baseheader li a {
  display: inline-block;
  padding: 16px 10px 5px;
  color: #FFFAFA;
}

.baseheader li a:hover {
  color: var(--menu--hover);
  text-decoration: none;
}

/* menu */

.baseheader .menu {
  clear: both;
  max-height: 0;
  transition: all .3s ease-out;
}

/* menu icon */

.baseheader .menu-icon {
  position: relative;
  display: inline-block;
  float: right;
  padding-top: 13px;
  padding-right: 1px;
  cursor: pointer;
  user-select: none;
}

.baseheader .menu-icon .navicon {
  display: block;
  position: relative;
  width: 18px;
  height: 2px;
  background: #FFFAFA;
  transition: all .3s ease-out;
}

.baseheader .menu-icon .navicon:before,
.baseheader .menu-icon .navicon:after {
  background: #FFFAFA;
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .3s ease-out;
  width: 100%;
}

.baseheader .menu-icon .navicon:before {
  top: 5px;
}

.baseheader .menu-icon .navicon:after {
  top: -5px;
}

/* menu btn */

.baseheader .menu-btn {
  display: none;
}

.baseheader .menu-btn:checked ~ .menu {
	max-height: 240px;
	padding-bottom: 0.5rem;
}

.baseheader .menu-btn:checked ~ .menu-icon .navicon {
  background: transparent;
}

.baseheader .menu-btn:checked ~ .menu-icon .navicon:before {
  transform: rotate(-45deg);
}

.baseheader .menu-btn:checked ~ .menu-icon .navicon:after {
  transform: rotate(45deg);
}

.baseheader .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
.baseheader .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
  top: 0;
}

/* --------------------------------------------------------- */

.wrapper {
	padding: 0 10px;
	margin-bottom: 0;
}

.splash {
	display: block;
	margin: 0 auto;
}

.section {
	max-width: 960px;
	margin: 0 auto;
	padding-top: 5.2rem;
}

.section h1, .section1 h1 {
	text-align: center;
}

.section h2, .section1 h2 {
	font-family: RobotoCondensedRegular, sans-serif;
	text-align: center;
	font-size: 1rem;
}

.xparallax {
	margin-top: 5rem;
	height: 125px;
	background: transparent;
}

.quick-links {
	width: 256px;
	margin: 0 auto;
}

.quick-links h3 {
	padding-top: 1rem;
	text-align: center;
	color: #243E2C;
	background-color: var(--badge-color);
}

.quick-links a,
.qlink {
	font-size: 13px;
	color: #243E2C;
}

.columns {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0 4px;
	background-color: var(--badge-color);
	padding: 0.5rem 0.5rem 1rem;
}

.section-grid {
	max-width: 960px;
	margin: 2rem auto 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}

.section-info {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}

.section-text {
	font-family: RobotoLight;
	font-size: 1rem;
	line-height: 1.45;
	color: var(--font-color);
}

.attribute {
	text-align: center;
	font-size: 9pt;
	font-style: italic;
}

.section-picture img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}



/* ------------------------------------------------------------------------------------ */
/* ==== SECTION 1 : HOME ==== */

.quotes {
	max-width: 756px;
	margin: 2rem auto;
	text-align: center;
}

.quotes figcaption {
	color: var(--h1-color);
}

.quotes div {
  display: flex;
  justify-content: center;
  align-items: center;
}

blockquote {
	display: inline-block;
	max-width: 340px;
	margin: 0.5rem auto;
	padding: 1rem;
	font-family: RobotoRegular;
	line-height: 1.5 !important;
	background: #E9E9E4;
	border-radius: 15px;
}

blockquote fiqure {
}

xblockquote::before {
	content: "\275D";
	opacity: 0.5;
}

.aboutus {
	max-width: 960px;
	margin: 56px auto 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	text-align: center;
}

.aboutus div {
	max-width: 520px;
	margin: 1rem auto 0;
}

.aboutus figcaption {
	margin-top: 0.75rem;
	font-size: 1rem;
}

.aboutus p {
	margin-top: 0.5rem;
	padding: 0 1rem;
	font-family: "RobotoCondensedRegular";
	text-align: justify;
	text-justify: inter-character;
	hyphens: auto;
}



/* ------------------------------------------------------------------------------------ */
/* ==== SECTION 2: EVENTS ==== */

.events {
	display: grid;
	grid-template-columns: 1fr 3fr;
	align-items: start;
	padding: 0 0.75rem;
	color: #243E2C;
}

.eventcat {
	font-family: RobotoLight, sans-serif !important;
	font-variant: small-caps !important;
	font-size: 12px;
	line-height: 1.3;
	color: #CE1126;
}

.date {
	width: 60px;
	height: 60px;
	text-align: center;
	border: 4px solid #24AF2C;
	border-radius: 50%;
}

.date a:hover {
	text-decoration: none;
}

.mon {
	margin-top: 5px;
	font-family: RobotoCondensedBold;
	text-transform: uppercase;
	color: #CE1126;
}

.day {
	margin-top: -10px;
	font-family: RobotoCondensedBold;
	font-size: 24px;
	color: #003F87;
}

.event-title {
	font-family: RobotoCondensedBold;
	font-weight: 700;
	font-size: 15px;
	line-height: 1.2;
	color: var(--topnav-color);
}

.event-content {
	font-family: RobotoCondensedRegular;
	font-size: 14px;
	line-height: 1.1;
	color: var(--topnav-color);
}

.desc {
	font-family: RobotoLight, sans-serif !important;
	font-variant: small-caps !important;
	font-size: 14px;
	text-align: center;
	line-height: 1.2;
	color: var(--caldesc-color);
}

.url {
	display: inline-block;
	padding: 0.25rem 0;
	font-style: italic;
	font-size: 10pt;
}

.url:hover {
	text-decoration: underline;
}

.duty {
	font-size: 12px;
	color: var(--calduty-color);
}

.tr { background-color: #FFFFBD; } 										/* troop event */
.co { background-color: #E6E6E6; } 	 									/* council event */
.ca { background-color: #62DEAC; } 	 									/* camping event */
.ea { background-color: #BDEEFF; }  									/* eagle event */
.le { background-color: #FFE3C7; } 	 									/* leadership training event */
.oa { background-color: #CC9C9C; } 	 									/* order of arrow event */
.hi { background-color: #FFCC99; } 	 									/* high adventure event */
.ot { background-color: #FFFEEE; }										/* other event */

.calendar {
	border-collapse: collapse;
	margin: 0 auto;
}

.calendar tr {
	border: 1px #D6CEBD solid;
}

.calendar tr:first-child {
	border-top: none;
	border-left: none;
	border-right: none;
}

.calendar th {
	padding: 0.3rem;
	text-align: center;
	vertical-align: top;
	font-size: 13px;
	color: #243E2C;
}

.calendar td {
	padding: 0.75rem;
	text-align: center;
	vertical-align: middle;
	font-weight: 700;
	font-size: 11px;
}

.calmon {
	margin-top: 0;
	font-family: RobotoCondensedBold;
	font-size: 14px;
	text-transform: uppercase;
	color: #CE1126;
}

.calday {
	margin-top: -5px;
	font-family: RobotoCondensedBold;
	font-size: 24px;
	color: #003F87;
}

.calendar h2 {
	color: #003366;
}

.calendar .event-title,
.calendar .event-content,
.calendar .desc {
	color: #515354;
}

/* ------------------------------------------------------------------------------------ */
/* ==== SECTION 3 : PATROLS ==== */

.patrol-grid {
	max-width: 756px;
	margin: 56px auto 0;
	padding: 0 0.5rem;
	text-align: center;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 1rem 0;
	align-items: start;
	justify-items: center;
}

.patrol-grid .patch {
	width: 75px;
}
		  
.patrol-grid button {
	border: none;
	background: transparent;
}

.patrol-container {
 	text-align: center;
	max-width: 756px;
	margin: 2rem auto 0;
	padding: 1rem 0 0;
	color: #243E2C;
	background-color: var(--badge-color);
	border:1px #D6CEBD solid;
}  

.patrol_grid {
	display: grid;
	grid-template-columns: 1fr;
	text-align: center;
}

.patrol_grid div {
	padding: 0.5rem 1rem 1rem;
}

.pportal {
	width:2.25em;
	margin: 1rem auto;
}


/* ------------------------------------------------------------------------------------ */
/* ==== SECTION 4: ADVANCEMENT ==== */

.badges {
	max-width: 756px;
	margin: 56px auto 0;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
}

.badges div {
	display: flex;
  justify-content: center;
  align-items: flex-end;
}
    
.badges img {
	height: 100px;
}

.badges h2 {
	text-align: center;
}

.mbadge {
	height:76px !important;
	margin-bottom: 14.5px;
}

.patch-container {
	max-width: 756px;
	height: 300px;
	overflow-y: scroll;
	margin: 2rem auto 0;
	padding: 2rem 1rem 1.25rem;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	align-content: flex-start;
	background-color: var(--patch-color);
	border: 1px #D6CEBD solid; 
}

.patch-small figure {
	align-self: flex-start;
	height: 143px;
}

.patch-large figure {
	align-self: flex-start;
	height: 172px;
}

.events-container figcaption,
.leader-container figcaption,
.patch-container figcaption {
	line-height: 1.1;
	text-align: center;
	cursor: pointer;
	color: #243E2C;
}

.patch-break { 
	width: 100% !important;
	text-align: center;
	margin-top: 2rem;
	margin-bottom: 0rem;
	color: #243E2C;
}

.patch-break:first-child { 
	margin-top: 0;
}

.patch {
	width: 112px;
	margin: auto 1rem;
	text-align: center;
}

.badge_loader {
	max-width: 756px;
	margin: 0 auto 2rem;
	display: grid;
	grid-template-columns: 1fr;
	text-align: center;
	z-index: 1;
}

.badge_loader div {
	padding: 1rem;
	text-align: center;
	background-color: var(--badge-color);
}

.badge_loader h2,
.patrol-container h2,
.badge_loader h3,
.patrol-container h3,
.badge_loader h4,
.patrol-container h4 {
	margin-bottom: 0.5rem;
	color: #243E2C;
}

.badge_loader p,
.patrol-container p,
.badge_loader a {
	margin: 1rem 0;
	font-size: 14px;
	line-height: 1.2;
	color: #243E2C;
}

.badge_loader ul {
	padding-bottom: 1rem;
}

.badge_loader li {
	margin-top: 0.25rem;
	margin-bottom: 0.25rem;
	margin-left: 0.75rem;
	font-family: RobotoLight, sans-serif !important;
	font-variant: small-caps !important;
	font-weight: normal;
	font-size: 14px;
	text-align: left;
	line-height: 1.2;
	color: #243E2C !important;
}

.badge_loader span,
.patrol-container span {
	font-variant: small-caps;
}

.badge_loader .tiptext {
	display: inline-block;
	padding-top: 0.25rem;
	font-family: RobotoLight;
	font-size: 9pt;
	line-height: 1;
}

.patch1 {
	padding-bottom: 0 !important;
}

.patch2 {
	padding-top: 0 !important;
}

.xpDuty { display: inline; }

.xpatrolDuty { display: none; }



/* ------------------------------------------------------------------------------------ */
/* ==== SECTION 5: LEADERSHIP ==== */

/* --------------------------------------------------------- */

.leaders {
	max-width: 560px;
	margin: 56px auto 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	text-align: center;
}

.leaders div {
	display: flex;
  justify-content: center;
  align-items: flex-start;
	text-align: center;
}	

.events-container, .leader-container {	
	max-width: 756px;
	margin: 2rem auto 0;	
	padding: 1rem;
	background-color: var(--badge-color);
	border: 1px #D6CEBD solid; 
}

/* FLOWCAHRT */

.troopLeaders {
	border-collapse: collapse;
	width: 100%;
	margin: 0 auto;
	text-align: center;
}

.troopLeaders hr {
	width: 50%;
	margin: 0.5rem auto;
	background-color: #003F87;
}

.troopLeaders td {
	vertical-align: top;	
}

.troopLeaders img {
	width: 4.5em;
}

.base hr {
	width: 75%;
}

.base div {
	border: 1px solid transparent;
	display: flex;
	justify-content: space-evenly;
}

.adultLeaders {
	border-collapse: collapse;
	margin: 0 auto;
}

.adultLeaders th {
	padding: 0.3rem;
	vertical-align: top;
	font-size: 13px;
	color: #243E2C;
}

.adultLeaders td {
	padding: 0.3rem;
	vertical-align: top;
	font-weight: 700;
	font-size: 11px;
	color: #243E2C;
	text-transform: uppercase;
}

.adultLeaders th:first-child,
.adultLeaders td:first-child {
	text-align: right;
}

.adultLeaders th:last-child,
.adultLeaders td:last-child {
	text-align: left;
}
	
.positions {
	max-width: 756px;
	margin: 36px auto 0;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
}

.positions div {
	display: flex;
  justify-content: center;
  align-items: flex-end;
	text-align: center;
}
    
.positions img {
	height: 100px;
}

.positions h2 {
	text-align: center;
}



/* ------------------------------------------------------------------------------------ */
/* ==== SECTION 6: EAGLES ==== */

.section6 {
	padding-bottom: 2rem;
}

/* EAGLES NEST */

.eaglenest {
	max-width: 756px;
	margin: 56px auto 0;
	padding: 0 1rem;
	text-align: center;
}

.eaglenest h2, .badges h2 {
	margin-bottom: 1rem;
	text-align: center;
	font-weight: 700;
	color: var(--h2-color);
}

.eagleyear {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
	gap: 0.75rem;
	justify-items: center;
}

.eagleyear input {
  position: relative;
	width: 40px;
  height: 56px;
  font-family: RobotoCondensedBold;
  font-size: 15px;
	font-weight: 500;
	color: #243E2C;
	border: 1px;
	background-color: #D6CEBD;
	border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
	background: radial-gradient(circle at 18px 9px, #D6CEBD, #AD9D7B);
}

.xeagleyear input:before {
  content: "";
  position: absolute;
  top: 1%;
  left: 5%;
  width: 90%;
  height: 90%;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: radial-gradient(circle at 50% 0px, #ffffff, rgba(255, 255, 255, .75) 58%);
  filter: blur(5px);
  z-index: 2;
}

.eagle_loader {
	max-width: 756px;
	margin: 2rem auto 0;
	padding-bottom: 1rem;
}

.eagle-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
/*	grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));  */
	gap: 1rem;
	padding: 1rem;
	text-align: center;
	background-color: #AD9D7B;
}

.eagle_loader h2 {
	padding-top: 1rem;
	color: #243E2C;
}

.eagle-grid figure > img {
	width: 120px;
}

.eagle-grid figure > figcaption {
	color: #243E2C;
}



/* --------------------------------------------------------- 6403447
glacier2014
*/

/* ------------------------------------------------------------------------------------ */
/* === FOOTER ==== */

footer {
	position: relative;
	z-index: 1;
	width: 100%;
	background-color: var(--header-color);
	padding-bottom: 1rem;
}

footer li { list-style-type: none; }

.prefooter {
	max-width: 960px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr;
	padding: 1rem;
}

.prefooter div {
	text-align: center;
}

.prefooter h1,
.prefooter h2 {
	color: #FFFAFA;
	font-size: 0.9rem;
	margin-top: 0.9rem;
}

.prefooter img {
	display: block;
	height: 110px;
	margin: 0.3rem auto;
}

.prefooter a,
.prefooter a:visited {
	font-size: 0.9rem;
	line-height: 1.4;
	color: #9AB3D5;
}

.subfooter {
	max-width: 960px;
	margin: 0 auto;
	font-size: small;
	font-variant: small-caps;
	color: #FFFAFA;
	text-align: center;
}

.portal {
	position: absolute;
	bottom: 0.75rem;
	right: 1rem;
	width: 2.25rem;
	cursor: pointer;
}


/* ------------------------------------------------------------------------------------ */
/* ------------------------------------------------------------------------------------ */
/* === MEDIA QUERIES ==== */

@media only screen and (min-width: 375px) {

	.bsatagline {
		background: var(--img-prepared);
	}

}


@media only screen and (min-width: 520px) {

	.quick-links {
		width: 100%;
	}
	
	.columns {
		grid-template-columns: 1fr 1fr;
	}

	header, .wrapper {
		padding-left: 20px;
		padding-right: 20px;
	}
	
	blockquote {
		max-width: 500px;
	}

	.svgmedallion {
		height: 150px;
	}
	
	.badges img,
	.positions img {
		height: 125px;
	}

	.mbadge {
		height:96px !important;
	}

	.patrol-grid {
		padding: 0 1rem;
		grid-template-columns: 1fr 1fr 1fr 1fr;
	}
	
}


@media only screen and (min-width: 756px) {

	blockquote {
		max-width: 680px;
	}

	.section-grid {
		grid-template-columns: 1fr 250px;
	}

	.columns {
		grid-template-columns: 1fr;	
	}

	.patrol-grid .patch {
		width: 112px;
	}
	
	.badge_loader,
	.patrol_grid {
		grid-template-columns: 1fr 1fr;
	}

	.patch1 {
		padding-bottom: 1rem !important;
	}

	.patch2 {
		padding-top: 1rem !important;
	}

 .prefooter {
		grid-template-columns: 1fr 1fr 1fr;
		text-align: center;
  }

}
	

@media only screen and (min-width: 856px) {

	.section {
		padding-top: 5.6rem;
	}
	
	h1 {
		font-size: 24px;
	}

	h2 {
		font-size: 20px;
	}

	.star:after {
		font-size: 24px;
	}

	.baseheader .logo {
		width: 320px;
		font-size: 24px;
	}

  .baseheader li {
    float: left;
  }

  .baseheader li a {
    padding: 8px 0 10px 20px;
  }

  .baseheader .menu {
    clear: none;
    float: right;
    max-height: none;
  }

  .baseheader .menu-icon {
    display: none;
  }

 	.wrapper {
		margin-bottom: 302px;
		overflow-y: hidden;
	}

 	.aboutus {
		grid-template-columns: 1fr 1fr 1fr;
	}

 	.aboutus div {
		max-width: 300px;
		margin-top: 0;
	}

	footer {
		position: fixed;
		z-index: 0;
		left: 0;
		bottom: 0;
	}

	.break, .calbreak, .noline { display: none; }

	.oneline { display: inline; }
	
	.portal { bottom: 0.5em; }

}


@media only screen and (min-width: 1000px) {

	.panels { display: none; }

	.wrapper {
		padding-left: 0;
		padding-right: 0;
	}
	
	.section-info {
		grid-template-columns: 1fr 1fr;
	}

	.oneline { display: none; }
	
	.calbreak { display: block; }

}