/* =============================================================================================
	BASE STYLES AND LAYOUT
============================================================================================= */

/* ------------------------------------------------------------------------ CSS Variables */

:root {
	--white: #fff;
	--black: #000;
	--red: #ce181e;
	--error: #ce181e;

	--grey-xlt: #eeeeee;
	--grey-lt: #DDDDDD;
	--grey-md: #565658;

	--header-height: 61px;
	--header-height-scroll: 53px;
	--section-p: 4rem;
	--section-p-sm: 3rem;

	--card-p: 2rem;
	--card-p-sm: 2rem;
	

	--card-cta-radius: 1rem;

	--swiper-theme-color:#fff;
	--swiper-navigation-size: 2rem;
}

@media (min-width: 1200px) {
	:root {
		--header-height: 80px;
		--header-height-scroll: 59px;
	}
}

@media (min-width: 1400px) {
	:root {
		--header-height: 96px;
		--header-height-scroll: 72px;
		
		--card-p: 2.5rem;

		--card-cta-radius: 2rem;
	}
}


@media (min-width: 1680px) {
	:root {
		--section-p: 6rem;
		--section-p-sm: 4rem;

		--card-p: 3.5rem;
		--card-p-sm: 3rem;
		
		--swiper-navigation-size: 2.5rem;
	}
}


/* ------------------------------------------------------------------------ Page Styles & Resets */

body {
	font: 400 100%/1.6 'Inter', Arial, Helvetica, sans-serif; 
	letter-spacing: -.25px;
	color: var(--black);
	background-color: var(--white);
} 

@media (min-width: 992px) {
	body {
		padding-top: var(--header-height);
	} 
}


/* ------------------------------------------------------------------------ Keyboard Accessibility */

.skip-link { 
	position:absolute; 
	left:-10000px; 
	top:0; 
	width:1px; 
	height:1px; 
	overflow:hidden;
	background-color: var(--grey-md);
	color: var(--white);
	font-size: 0.875rem;
	text-decoration:none;
	z-index: 1050;
	padding:0.5rem 0.625rem; 
} 

.skip-link:focus, .skip-link.sr-only-focusable:active, .skip-link.sr-only-focusable:focus {
	position: absolute; 
	outline: none; 
	left:0;
	outline: none; 
	width:auto; 
	height:auto;
} 

.skip-link:hover {
	color: var(--white);
	background-color: var(--grey-md);
}

a:focus, .btn:focus {
	outline: solid thin rgba(0, 0, 0, 0.5);
	box-shadow: none;
} 

.sidenav__header-link:focus, .card__header-link:focus {
	outline: solid thin rgba(255, 255, 255, 0.5);
}

a:hover, a:active { outline: none !important; } /*...not with mouse (kinda) */


/* ------------------------------------------------------------------------ Headers */

h1, h2, h3,
.h1, .h2, .h3  { 				
	margin-bottom: 1rem;
}	

h1, .h1 {	  
	font-size: 2rem;
	line-height:1.1;
	font-weight: 600;	
}
	
h2, .h2 {
	font-size: 1.5rem;
	line-height:1.2; 
}
		
h3, .h3 { 
	font-size: 1.375rem; 
	line-height:1.4;
}	

h2, h3,
.h2, .h3  { 
	margin-top: 2.5rem;
}

hr + h2, 
hr + h3, 
section h2:first-child,
section h3:first-child {
	margin-top: 0;
}

h2 + h3 {
	margin-top: 3rem;
}


@media (min-width: 1400px) {	
	h1, .h1 {
		font-size: 2.25rem;
	}

	h2, .h2 {
		font-size: 2rem;
	}

	h3, .h3 { 
		font-size: 1.5rem; 
	}	

	h2, h3,
	.h2, .h3  { 
		margin-top: 3rem;
	}
}	

@media (min-width: 1680px) {	
	h1, .h1 {
		font-size: 2.75rem;
	}	
}	


/* ------------------------------------------------------------------------ Lists */

ul, .list { 
	list-style: none; 
	list-style-position: outside;
	padding-left: 0;
}

ul li, .list__item {	
    padding: 0 0 0.25rem 1.125em;
	background: url(../../images/arrow-grey.svg) no-repeat left 0.375em;
	background-size: 0.75em 0.75em;
}

ul ul, .list__sub-list {
	margin-top: 0.25rem;
}


ul ol {
	padding-left: 1.375rem;
	margin-top: 0.25rem;
}

ul ol li {
	background-image: none;
	padding-left: 0;
}
		
ol {
	padding-left: 1rem;
}	

ol li {padding-bottom: 0.25rem;}

ol.ol--gap-lg li {	
    padding-bottom: 1rem;
}

ol ol {
	padding-left: 2.25rem;
	margin-top: 0.25rem;
}

ol ul {margin-top: 0.25rem;}
		
li:last-child { 
	padding-bottom:0;
}
		
					
/* ------------------------------------------------------------------------ Other Base Text Styles */

.color-inherit {
	color: inherit;
}	

.text-muted {
	color: var(--grey-md)!important;
}

.text-red {
	color: var(--red);
}

.intro-text {
	font-size: 1.125rem;
}

.note {
	font-size: .875rem;
}


sup, sub {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup { 
	top: -0.5em; 
}

sub { 
	bottom: -0.25em; 
}

@media (min-width: 1680px) {	
	p,
	.p,
	li,
	label,
	table,
	.btn {
		font-size: 1.188rem;
	}

	.p--sm {
		font-size: 1.125rem;
	}

	.intro-text {
		font-size:1.375rem;
	}

	.note {
		font-size: 1rem;
	}	
}

	
/* ------------------------------------------------------------------------ Links */

a { 
	color: var(--red); 
	font-weight: 700;
	transition: all .25s ease;
	text-decoration: underline;
}	

a:hover {
	color: var(--red);
	text-decoration: none;
}

.a--no-underline {
	text-decoration: none;
}

.a--no-underline:hover {
	text-decoration: underline;
}

main a { 
	word-wrap: break-word; 
}

a img {
	border: none;
	-webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0) scale(1.0, 1.0);
	transition: opacity .25s ease;
}				

a img:hover { 
	opacity: .9;
}	


@media (min-width: 992px) {	
	/*Change value to header height*/
	.a--anchor {
	    border-top: calc(var(--header-height-scroll) + 2rem) solid transparent;
	    margin-top: calc(var(--header-height-scroll) * -1 + 2rem)!important;
	    -webkit-background-clip: padding-box;
	    -moz-background-clip: padding;
	    background-clip: padding-box;
	}
}	


/* ------------------------------------------------------------------------ Button Styles */

.btn {
	margin-top: 1rem; 
	padding: .625rem 1.75rem;
	border-radius:0;
	cursor: pointer;
}

.btn-primary {
	color: var(--white);
	background-color: var(--red);
	border-color: var(--red);
	border-radius: 500px;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-check:active+.btn-primary,
.btn-check:checked+.btn-primary,
.btn-primary.active,
.btn-primary:active,
.show>.btn-primary.dropdown-toggle { 
	background-color: var(--black);
	border-color: var(--black);
	box-shadow: none;
}

.btn--sm {
	padding: .5rem 1.25rem;
}


.btn-collapse {
	color: var(--black);
	background-color: var(--grey-lt);
	border-color: var(--grey-lt);
	position: relative;
	padding: 0.5rem 4rem 0.5rem 0.625rem;
	border-radius: 500px;
	transition: all .5s ease;
	text-align: left;
}

.btn-collapse:hover,
.btn-collapse:focus,
.btn-collapse:active { 
	color: var(--black);
	background-color: var(--grey-lt);
	border-color: var(--grey-lt);
	box-shadow: none;
}


.btn-collapse:after {
	content: "";
	position:absolute;
    top: calc(50% - 0.625rem);
    right: 2rem;
	width: 1.5rem;
    height: 1.5rem;
	background: url(../../images/arrow-grey.svg) no-repeat center;
	background-size: 1.25rem 1.25rem;
	transform: rotate(90deg);
	transition: transform .25s ease;
}

.btn-collapse:not(.collapsed):after { 
	background: url(../../images/arrow-grey.svg) no-repeat center;
	background-size: 1.25rem 1.25rem;
	transform: rotate(-90deg);
}


@media (min-width: 1400px) {	
	.btn {
		padding: 1rem 1.75rem;
	}

	.btn-collapse {
		padding: 1rem 4.5rem 1rem 3rem;
	}

	.btn--sm {
		padding: .5rem 1rem;
	}
}


/* ------------------------------------------------------------------------ Images */
	
img {
	max-width: 100%;
	height: auto!important; 
}

.img--float-left, .img--float-right { 
	margin-bottom: 2.5rem;	
}

.img--square-wrapper {
	aspect-ratio: 1 / .5;
	position: relative;
    overflow: hidden;
}

.img--square {
	object-fit: cover;
	object-position: center;
}

@media (min-width: 768px) {	
	.img--float-left {
		float: left;
		margin: .25rem 2rem 1rem 0;
		max-width:33%;
	}
		
	.img--float-right {
		float: right;
		margin: .25rem 0 1rem 2rem;
		max-width:33%;
	}
}	

@media (min-width: 992px) {
	.img--square-wrapper {
		aspect-ratio: 1 / 1;
	}
}

	
/* ------------------------------------------------------------------------ SVG's */

svg {
	width: 1rem;
	height: 1rem;
}	
	

/* ------------------------------------------------------------------------ Horizontal Rules */

hr, .hr { 
	margin: 1.5rem auto;
}	

@media (min-width: 1400px) {
	hr, .hr {
		margin: 3rem auto;
	}
}	


/* ------------------------------------------------------------------------ Additional Utility Classes/Bootstrap Overrides */

.p-section {
	padding: var(--section-p) 0 !important;
}

.pt-section {
	padding-top: var(--section-p) !important;
}

.pb-section {
	padding-bottom: var(--section-p) !important;
}

.pt-section-sm {
	padding-top: var(--section-p-sm) !important;
}

.pb-section-sm {
	padding-bottom: var(--section-p-sm) !important;
}

.pe-section-sm {
	padding-right: var(--section-p-sm) !important;
}

.ps-section-sm {
	padding-left: var(--section-p-sm) !important;
}

.mt-section-sm {
	margin-top: var(--section-p-sm) !important;
}

.mb-section-sm {
	margin-bottom: var(--section-p-sm) !important;
}

.me-section-sm {
	margin-right: var(--section-p-sm) !important;
}

.ms-section-sm {
	margin-left: var(--section-p-sm) !important;
}

.mt-4b {
	margin-top: 2rem;
}

.mb-4b {
	margin-bottom: 2rem;
}

.pe-4b {
	padding-right: 2rem !important;
}

.sticky-top {
    top: calc(var(--header-height-scroll) + var(--section-p-sm));
}

.lh-13 {
	line-height: 1.3;
}

.lh-18 {
	line-height: 1.8;
}

.fw-semi-bold {
	font-weight: 600;
}

b, strong {
    font-weight: 600;
}

.border-bottom {
    border-bottom: 2px solid var(--grey-lt) !important;
}


@media (min-width: 992px) {
	.h-lg-100 {
		height: 100% !important;
	}
}

@media (min-width: 1400px) {
	.me-xxl-6 {
	    margin-right: 4rem!important;
	}
}

@media (min-width: 1680px) {
	.me-xxl-6 {
	    margin-right: 5rem!important;
	}
}



/* =============================================================================================
	HEADER
============================================================================================= */

.print-header { display:none; }
	
.logo { 
	flex: 1;
	display: block;
}

.logo__img {
	max-width: 10rem; 
	width: 100%;
	transition: all .25s ease;
}

.header { 
	z-index: 1040;
}

.navbar--fixed-top {
	padding: .5rem 0;
	transition: all .25s ease;
}


@media (min-width: 768px) {			
	.logo__error-page {
		margin:1.5rem auto 2.5rem auto;
		float: none;
	}
}

@media (min-width: 992px) {
	.logo__img {
		max-width: 7rem; 
	}

	.header--scroll .navbar--fixed-top {
	    padding: .25rem 0;
	    background-color: rgba(255,255,255,.9) !important;
		backdrop-filter: blur(8px);
	}
}

@media (min-width: 1200px) {
	.logo__img {
		max-width: 10rem; 
	}
	
	.header--scroll .logo__img {
    	max-width: 8rem; 
    }
}

@media (min-width: 1400px) {
	.logo__img {
		max-width: 12.5rem; 
	}
	
	.header--scroll .logo__img {
    	max-width: 10rem; 
    }
}


/* ------------------------------------------------------------------------ Account Settings */

.avatar-wrapper, 
.avatar {
	width: 3.5rem;
}

.avatar {
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	transition: all .25s ease;
}

.header--scroll .avatar {
	width:3.5rem;
}

.btn-collapse--settings {
	color: var(--black);
	background-color: var(--white);
	border-color: var(--grey-lt);
	border-radius: 1rem;
	padding: 0.5rem 2.75rem 0.5rem 0.625rem;
	margin:0;
	display: block;
}

.btn-collapse--settings:hover,
.btn-collapse--settings:focus,
.btn-collapse--settings:active { 
	color: var(--black);
	background-color: var(--white);
	border-color: var(--grey-lt);
}

.btn-collapse--settings:not(.collapsed) { 
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

.btn-collapse--settings:after {
    right: .625rem;
}

.img--settings {
	width: 1.5rem;
	height: 1.5rem;
}


.settings .collapse,
.settings .collapsing {
	position: absolute;
    padding: 0.75rem 0;
    border: 1px solid var(--grey-lt);
    background-color: var(--white);
    box-shadow: none;
    border-radius: 1rem;
    border-top-left-radius: 0;
}    

.navbar-settings .dropdown-item {
	padding: .25rem 1.5rem !important;
}

@media all and (max-width: 767px) and (min-width: 0px) {	
	.settings .collapse,
	.settings .collapsing {
	    border-top-right-radius: 0;
	    width: 100%;
	}    
}

@media (min-width: 1400px) {
	.avatar {
		width: 4.5rem;
	}
}


/* ------------------------------------------------------------------------ Navbar Nav */

.navbar {
	border-bottom: 1px solid var(--grey-lt);
}

.navbar-nav li {
	padding: 0;
	background-image: none;
}

.navbar-nav .nav-link {
	color: var(--black);
	padding: .375rem 1.5rem .375rem 0;
	font-size: 1.125rem;
	position: relative;
	font-weight: 400;
}

.navbar-nav .nav-link:hover {
	text-decoration:underline;
}

.navbar-nav .nav-item.active .nav-link {
    color: var(--red);
    font-weight: 700;
}

.icon-arrow:after {
    margin-left: 0;
}

.icon-arrow {
	padding: 0 .25rem;
}


.navbar-nav .dropdown-menu {	
	background-color: var(--white);
	margin:0 0 .5rem 0;
	padding:0;
	box-shadow: none;
	border: 0;
	border-radius: 1rem;
}

.navbar-nav .dropdown-item {
	font-size: 1.125rem;
}

.navbar-nav .dropdown-menu li > .dropdown-item.active {
	color: var(--red);
	font-weight: 700;
}

.dropdown-item.active, .dropdown-item:active {
	color: var(--red);
	background-color: transparent;
}

.dropdown-item.active {
	font-weight: 700;
}

.navbar-nav .dropdown-menu li:hover > .dropdown-item.active, .navbar-nav .dropdown-item:hover {
	background-color: transparent;
	text-decoration: underline;
	color: var(--black);
}

.navbar-nav .dropdown-menu li:hover > .dropdown-item.active {
	color: var(--red);
}

.navbar-nav .dropdown-item {
	padding: .25rem 0 .25rem 1rem;
}

.navbar-nav .megamenu .dropdown-item {
	padding-left: 0;
}

.navbar-nav .dropdown-item:focus {
	background-color: var(--white);
	color: inherit;
}

.navbar-nav .dropdown-menu .dropdown-menu {
	background-color: var(--white);
	padding-left: 1rem;
}

.icon-arrow:after {
    content: "+";
    margin-left: .5rem;
    margin-top: 0;
    opacity: 1;
    font-size: 1.25rem;
}

.g-2b {
    --bs-gutter-y: 0.75rem;
}

.dropdown-toggle::after{
    display:none;
}

.dropdown-toggle .icon-arrow {
    position: absolute;
    right: 0;
}


@media (min-width: 992px) {	
	.navbar {
		margin-top: 0; 
	}

	.navbar--fixed-top {
		position: fixed;
	    top: 0;
	    right: 0;
	    left: 0;
	    z-index: 1030;
	}

	.navbar-nav .nav-link {
		padding: .5rem 0!important;
		margin-right: .75rem;
		border-bottom: 0;
		font-size: 1rem;
	}

	.navbar-nav .nav-item:last-child .nav-link {
		margin-right:0; 
	}

	.navbar-nav .nav-item.active:hover .nav-link, .navbar-nav .nav-link:hover {
	    color: var(--black);
	    text-decoration:underline;
	}

	.navbar-nav .nav-item.active:hover .nav-link {
	    color: var(--red);
	}

	.navbar-nav .dropdown-menu, .navbar-nav .dropdown-menu .dropdown-menu {
		padding: .75rem 0;
		min-width: 15rem !important;
		border: 1px solid var(--grey-lt);
	}

	.navbar-nav .dropdown-item {
		padding: .25rem 1.5rem;
	}

	.navbar-nav .megamenu .dropdown-item {
		padding-left: 0;
	}

	.navbar-nav .dropdown-menu li.active:hover .dropdown-item, .navbar-nav .dropdown-item:hover {
		color: var(--black);
	}

	.dropdown-menu>li:hover {
	    background-color: transparent;
	}

	.navbar-nav .megamenu {   
	    padding: 1rem 0;
	    margin-top: -1rem !important;
	} 

	.dropdown-toggle:after {
	 	display: none;
	}
}

@media (min-width: 1200px) {
	.navbar-nav .nav-link {
		font-size: 1.125rem;
		margin-right: 1rem;
	}
}

@media (min-width: 1400px) {
	.navbar-nav .nav-link {
		margin-right: 2rem;
	}
}


/* ------------------------------------------------------------------------ Side Nav */

.sidenav li {
	padding: 0;
	background-image: none;
}

.sidenav .nav-link {
	padding: .25rem 0;
	font-weight: 400;
	color: var(--black);
}

.sidenav .nav-link:hover {
    text-decoration: underline;
    color: var(--black);
}

.sidenav .nav-link.active {
	color: var(--red);
	font-weight: 700;
}

.sidenav .submenu {
	margin: 0 0 .5rem 0;
    padding: 0 0 0 1rem;
}

.sidenav .icon-arrow.show::after {
    content: '-';
    font-size: 1.25rem;
}

.sidenav .icon-arrow::after {
    content: "+";
    margin-left: .5rem;
    margin-top: -.25rem;
    opacity: 1;
    font-size: 1.25rem;
}


@media all and (max-width: 991px) and (min-width: 0px) {	
	.sidenav {
		border: 2px solid var(--grey-lt);
		padding: 1rem 2rem;
		border-radius: 1rem;
		margin-top: -2rem;
		z-index: 1;
	}

	.sidenav-toggler {
		position: relative;
		z-index: 2;
	}
}


@media (min-width: 1400px) {
	.sidenav li {
	    font-size: 1.125rem;
	}
}
	
/* ------------------------------------------------------------------------ Bootstrap Menu Off Canvas Mobile */

body.offcanvas-active {
	overflow:hidden;
}

.offcanvas-header { 
	display:none;
}

.offcanvas-header .btn-close {
	width: 1.75em;
    height: 1.5em;
    background-position: center 0;
}

.screen-darken {
	height: 100%;
	width:0%;
	z-index: 30;
	position: fixed;
	top: 0;
	right: 0;
	opacity:0;
	visibility:hidden;
	background-color: rgba(0, 0, 0, 0.5);
	transition:opacity .2s linear, visibility 0.2s, width 2s ease-in;
}

.screen-darken.active {
	z-index:10; 
	transition:opacity .3s ease, width 0s;
    opacity:1;
    width:100%;
    visibility:visible;
}


@media all and (max-width: 991px) {
	.offcanvas-header { 
		padding: 0;	
		display:block;
	}

	.mobile-offcanvas {
		visibility: hidden;
		transform:translateX(-100%);
	    border-radius:0; 
		display:block;
	    position: fixed;
	    top: 0; left:0;
	    height: 100%;
	    z-index: 1200;
	    width:100%;
	    overflow-y: scroll;
	    overflow-x: hidden;
	    transition: visibility .3s ease-in-out, transform .3s ease-in-out;
	}

	.mobile-offcanvas.show {
		visibility: visible;
    	transform: translateX(0);
	}

	.mobile-offcanvas .container, .mobile-offcanvas .container-fluid {
		display: block;
	}
}	


/* ------------------------------------------------------------------------ Navbar Toggler */

.navbar-toggler {
	padding: 0;
	border: none;
	cursor: pointer;
	border-radius: 0;
}

.navbar-toggler:focus {
	box-shadow: 0 0 0 0.1rem;
}

.navbar-toggler-icon {
    background-image: url(../../images/menu-icon.svg);
    width: 1.25em;
    height: 1.25em;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
	background-image: url(../../images/menu-icon-open.svg);
}

.navbar-toggler-icon--settings {
    background-image: url(../../images/menu-account-icon.svg);
    width: 1.5em;
    height: 1.5em;
}



@media (min-width: 992px) {
	.navbar-toggler {
		display: none;
	}
}



/* =============================================================================================
	MAIN CONTENT AREA
============================================================================================= */

@media (min-width: 1680px){ 
	.container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl, .container-xxxl {
	    max-width: 1600px;
	}
}


/* ------------------------------------------------------------------------ Sections */

.section { 
	padding: var(--section-p) 0;
}

.section--sm { 
	padding: var(--section-p-sm) 0;
}

.section--grey {
	background-color: var(--grey-xlt);
}

.section--bg-image {
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

.section--bg-image--about {
	background-image:url(../../images/about-bg.jpg);
}

.section--bg-image--membership {
	background-image:url(../../images/member-bg.jpg);
	background-position: bottom center;
}

.section--bg-image--contact {
	background-image:url(../../images/contact-bg.jpg);
}


/* ------------------------------------------------------------------------ Banner */

.section--banner {
	padding: var(--section-p-sm) 0;
	background-repeat: no-repeat;
	background-position: top center;
	background-size: cover;
	margin-bottom: 0;
	background-color: var(--grey-md);
	position: relative;
}

.section--banner:before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, .65);
	z-index: 1;
	transition: all .25s ease;
}

.section--banner .container {
    z-index: 2;
    position: relative;
}

.section--banner--login:before {
	display: none;
}


/* ------------------------------------------------------------------------ Modals */

.modal-fullscreen .modal-header {
	padding: 1rem var(--card-p);
}

.modal-fullscreen .modal-body {
	padding: var(--card-p);
}



/* ------------------------------------------------------------------------ Modal About - Full Screen */

.modal--about .modal-body {
    overflow-x: hidden;
}

.modal--about .modal-header {
	position: absolute;
	width: 100%;
	z-index: 1;
	border-bottom:0;
}

.modal--about .modal-body {
	background-color: var(--white);
}

.modal--about .img--modal-wrapper {
	width: 100%;
	position: relative;
	overflow: hidden;
}

.modal--about .img--modal {
	object-fit: cover;
	object-position: center;
	width: 100%;
}

.modal--about .modal--about-wrapper {
	padding: var(--card-p);
}

.modal-header .btn-close {
	border-radius: 50%;
	background-color: var(--white);
	opacity: .75;
}


@media all and (max-width: 1199px) and (min-width: 0px) {	
	.modal--about .img--modal-wrapper {
		aspect-ratio: 1 / .5;
	}
}


@media (min-width: 1200px) {  
	.modal--about .img--modal-wrapper {
		height: 100vh;
	}

	.modal--about .img--modal {
		height: 100% !important;
	}

	.modal--about .modal--about-wrapper {
	    padding: var(--card-p) var(--card-p) var(--card-p) 0;
	}
}

@media (min-width: 1400px) {
    .modal--about .modal--about-wrapper {
    	padding: var(--card-p) var(--card-p) var(--card-p) 0;
    }
}



/* ------------------------------------------------------------------------ Callouts (Calls to Action) */

.cta {
	display: block;
	position: relative;
	cursor:pointer;
	text-decoration: none;
	color: inherit;
	border-radius: var(--card-cta-radius);
	overflow: hidden;
}

.cta__image-wrapper {
	overflow: hidden;
}

.cta__image {
	aspect-ratio: 1 / .5;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	transition: all .25s ease;
}

.cta:hover .cta__image {
	transform: scale(1.1);
}

.cta__heading {
	margin: 0;
	transition: all .25s ease;
}

.cta:hover .cta__heading {
	color: var(--grey-md);
}

@media all and (max-width: 991px) and (min-width: 576px) {	
	.cta__image {
		aspect-ratio: 1 / .375;
	}
}

@media all and (max-width: 1199px) and (min-width: 992px) {	
	.cta .h1 {	  
		font-size: 1.625rem;
	}

	.cta .h2 {	  
		font-size: 1.25rem;
	}
}

@media all and (max-width: 1679px) and (min-width: 1400px) {	
	.cta .h2 {	  
		font-size: 1.875rem;
	}
}

@media (min-width: 992px) {	
	.cta__image {
		aspect-ratio: 1 / 1;
	}
}



/* ------------------------------------------------------------------------ Stacked Callouts */

.cta--stacked:before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(0deg, rgba(206,23,30,1) 0%, rgba(206,23,30,0.8015581232492998) 50%, rgba(206,23,30,0.8) 100%);
	z-index: 1;
	transition: all .25s ease;
}

.cta--stacked .cta__heading {
	position: absolute;
    left: 0;
    bottom: 0;
    color: var(--white);
    margin: var(--card-p-sm);
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.25);
	z-index: 2;
}

.cta--stacked:hover .cta__heading {
	color: var(--white);
}


.cta--stacked--fullwidth .cta__heading {
   	top: 0;
    bottom: auto;
    height: calc(100% - var(--card-p-sm)  - var(--card-p-sm));
    width: calc(100% - var(--card-p-sm) - var(--card-p-sm));
}

.cta--stacked--fullwidth .cta__image {
	aspect-ratio: 1 / .5;
}

.cta--stacked--fullwidth .cta__arrow {
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	background: var(--white) url(../../images/arrow-grey.svg) no-repeat center;
	background-size: .75rem;
}

@media (min-width: 576px) {	
	.cta--stacked--fullwidth .cta__image {
		aspect-ratio: 1 / .375;
	}
}

@media (min-width: 768px) {	
	.cta--stacked--fullwidth .cta__image {
		aspect-ratio: 1 / .25;
	}
}

@media (min-width: 992px) {	
	.cta--stacked--fullwidth .cta__image {
		aspect-ratio: 1 / .1;
	}

	.cta--stacked--fullwidth .cta__heading {
	    width: auto;
	    left: 50%;
	   	top: 15%;
	    bottom: auto;
	    transform: translate(-50%,-50%);
	}
}

@media (min-width: 1200px) {	
	.cta--stacked--fullwidth .cta__heading {
	   	top: 20%;
	}
}

@media (min-width: 1400px) {	
	.cta--stacked--fullwidth .cta__heading {
	   	top: 25%;
	}
}

@media (min-width: 1680px) {	
	.cta--stacked--fullwidth .cta__heading {
	   	top: 20%;
	}
}



/* ------------------------------------------------------------------------ Callouts with Icons */

.cta__icon {
	height: 0;
	width: 5em;
	padding-bottom: 5em;
	margin:0 auto;
	background-repeat: no-repeat;
	background-size: cover;
	transition: all .25s ease;
}

.cta:hover .cta__icon {
	opacity: 0.9;
	transform: translateY(-.5em);
}



/* ------------------------------------------------------------------------ Cards */

.card {
	border-radius: var(--card-cta-radius);
	border: 0;
}

.section--banner .card {
	background-color: rgba(255, 255, 255, .9);
}


.card--border {
	border:  2px solid var(--grey-lt);
}

.card-body {
	padding: var(--card-p);
}

.card--sm .card-body {
	padding: var(--card-p-sm);
}

.card--notifications .row.g-5 {
    --bs-gutter-y: 4rem;
    --bs-gutter-x: 4rem;
}

.card--notifications .col-xl-6 {
	position: relative;
}

.card--notifications .col-xl-6:after {
	content: "";
	position: absolute;
	bottom: calc(var(--bs-gutter-x) / 2.25 * -1);
	left: calc(var(--bs-gutter-x) / 2);
	width: calc(100% - var(--bs-gutter-x));
	height: 2px;
	background-color: var(--grey-lt);
}

.card--notifications .col-xl-6:last-child:after {
	display: none;
}

/* ------------------------------------------------------------------------ Cards with Image (Contact Us) */

.card__img--object-fit {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	object-position: center;
	display: block;
	aspect-ratio: 1/.625 !important;
	border-radius: var(--card-cta-radius);
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}


@media (min-width: 768px) {	
	.card__img--object-fit {
		aspect-ratio: 1/1 !important;
	}

	.card__img--object-fit--horz {
		aspect-ratio: 1/.625 !important;
	}
}

@media (min-width: 992px) {	
	.card__img--object-fit--horz {
		border-bottom-left-radius: var(--card-cta-radius);
		border-top-right-radius: 0;
		border-bottom-right-radius: 0;
	}
}


/* ------------------------------------------------------------------------ Card News */

.card--news {
	text-decoration:none;
    cursor:pointer;
    transition: all 0.25s;
    text-decoration: none;
    color: var(--black);  
    position: relative; 
    padding-bottom: calc(var(--card-p) * 2.25);
}

.card--news:hover {
    transform: translateX(.5rem);
    color: inherit;
}

.card--news:hover p {
    text-decoration:underline;
}

.card--news .card-body:after {
    content: "";
    position: absolute;
    bottom: var(--card-p);
    left: var(--card-p);
    background: var(--red) url(../../images/arrow-white.svg) no-repeat center;
    background-size: .75rem;
    width: 3rem;
    height: 3rem;
    border-radius: 100%;
}

.card--news:hover .card-body:after {
    background-color: var(--black);
}


@media (min-width: 992px) {

	.card--news {
		padding-bottom: 0;
	}

    .card--news .card-body:after {
        bottom: initial;
        left: auto;
        right: var(--card-p);
    }
}



/* ------------------------------------------------------------------------ List Group */

.list-group {
    border-radius: 0;
}

.list-group-item {
    padding: 0;
    color: var(--black);
    background-image: none;
    border: 0;
    border-bottom: 2px solid var(--grey-lt);
}

.list-group-item:last-child {
    border-bottom: 0;
}

.list-group--no-links .list-group-item {
	padding: .75rem .25rem;
}

.list-group-item a {
    transition: all 0.25s;
    padding: .75rem .25rem;
    display:block;
}

.list-group__link:hover, .list-group-item a:hover {
    transform: translateX(1rem);
}

.list-group__subtext {
	color: var(--black);
}

.list-group__subtext:hover {
	color: var(--black);
}

.list-group__subtext__date {
	font-weight: 400;
	display: block;
}

.list-group__subtext__title {
	font-weight: 600;
	display: block;
	line-height: 1.3;
}

.list-group-item a:hover .list-group__subtext__title {
	text-decoration: none;
}




/* ------------------------------------------------------------------------ Accordions */

.accordion-button {
	border: 1px solid transparent;
}

.accordion-button:not(.collapsed) {
    color: var(--black);
    background-color: var(--grey-xlt);
}

.accordion-button:not(.collapsed)::after { 
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:focus {
    outline: solid thin rgba(0, 0, 0, 0.5);
    box-shadow: none;
    border: 1px solid transparent;
}

.accordion-flush .accordion-item:last-child {
	border-bottom: 1px solid rgba(0,0,0,.125);
}

.accordion-flush .accordion-button {
	padding: 1rem .5rem;
}

.accordion-flush .accordion-body {
    padding: 1rem .5rem;
}


/* ------------------------------------------------------------------------ Tables */

/*Override table inline styles*/

.table[style] {
	width:100% !important;
	height:auto !important;
}

.table td[style],
.table th[style] {
	height:auto !important;
}

.table>:not(:last-child)>:last-child>* {
	border-bottom-color: var(--grey-md);
}

.table {
	margin-bottom: 0;
}

.table--576 {
	min-width: 28rem;
}

.table--768 {
	min-width: 39.25rem;
}

.table--1200 {
	min-width: 46.875rem;
}
         
.table--patronage {
	min-width: 80rem;
}

.modal .table--patronage {
	min-width: 71rem;
}

.table td, .table th {
    border-bottom: 2px solid var(--grey-lt);
    padding: 1rem .375rem;
    vertical-align: middle;
}

.table thead th {
	vertical-align: bottom;
}

.table--sm td, .table--sm th {
    padding: .5rem .375rem;
}

.table th {
    font-weight: 600;
    line-height: 1.2;
}

.th--shares {
	width: 10.5rem;
}


.table--grid {
    display: grid;
    grid-template-columns: 8rem 7rem; 
}

.table--grid div:nth-child(odd) {
	margin-right: .5rem;
}

.table-responsive:has(.table--patronage) {
    height: 30rem;
    overflow-y: scroll;
}

.table--patronage thead.sticky-top {
    top: 0;
    background-color: var(--white);
}


@media (min-width: 1400px) {
    .table-responsive:has(.table--patronage) {
        height: 36rem;
    }
}

@media (min-width: 1680px) {	
	.th--shares {
		width: 12.5rem;
	}
	
	.table-responsive:has(.table--patronage) {
        height: 40rem;
    }
}


/* ------------------------------------------------------------------------ Pagination */

.pagination {
	flex-wrap: wrap;
	margin-top: 3rem;
	align-items: center;
}

.page-item {
	background-image: none;
	padding: 0;
	margin: 0 0.5rem 0 0;
}

.page-link {
	width: 2.5rem;
    height: 2.5rem;
    border-radius: 50% !important;
    background: var(--red) url(../../images/arrow-white.svg) no-repeat center left 1rem;
    background-size: 0.625rem;
    transition: all .25s;
}

#prevPage {
	transform: rotate(-180deg);
	margin-right:.5rem;
}

#nextPage {
	margin-left:.25rem;
}

.page-link:hover {
    z-index: 2;
    background-color: transparent;
    background-color: var(--black);
}

#prevPage:hover {
	transform: translateX(-.5rem) rotate(-180deg);
}

#nextPage:hover {
	transform: translateX(.5rem);
}

.page-item .form-select {
    padding: 0.25rem 2.25rem 0.25rem 0.75rem;
    height: 2.75rem;
    width:5rem;
}

	
/* ------------------------------------------------------------------------ Forms */
	
.required-input {
	color: var(--error) !important;
	font-size: 0.875rem;
	font-weight:700;
}

.required-input--notifications {
    margin: -.75rem 0 1rem 0;
}

legend {
	font-size: 1rem;
}

.form-control, .form-select {
	border-radius:0;
	border: 2px solid var(--grey-lt);
	padding: .75rem .75rem;
	color: var(--black);
	font-size: 1rem;
}

.form-control-lg.form-control--file {
	font-size: 1rem;
}

.form-control:focus, .form-select:focus, .form-check-input:focus {
    color: var(--black);
    border-color: var(--grey-lt);
    outline: 0;
    box-shadow: 0 0 0 0.125rem rgb(0 0 0 / 25%);
}

.form-check--notifications {
	width: 5rem;
}

.form-check--notifications--hard-copy {
	width: 100%;
}


.form-check-input {
    border: 2px solid var(--grey-lt);
}

.form-check-input[type=checkbox] {
    border-radius: 0;
}

.form-check-input:checked {
    background-color: var(--red);
    border-color: var(--red);
}

.form-check-input--disabled-display:disabled,
.form-check-input--disabled-display:disabled~.form-check-label, .form-check-input--disabled-display[disabled]~.form-check-label {
    opacity: 1;
}

.form-check-label.intro-text {
	font-size: 1.125rem;
}

.checkbox-link {
    padding-left: 1.5rem;
}

.form-switch .form-check-input {
    border-radius: 2em;
    width: 3rem;
    height: 1.5rem;
    margin-right: 1rem;
    margin-top: 0;
}

.form-switch .form-check-input:focus {
	background-image: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e);
}

.form-text {
    margin-top: .5rem;
    font-size: .875rem;
    color: var(--grey-md);
}


@media (min-width: 1680px) {
	legend,
	.form-control, 
	.form-select,
	.form-control-lg.form-control--file,
	.form-check-label {
		font-size: 1.188rem;
	}

	.form-control--sm {
		padding: .5rem .75rem;
	}

	.form-check-input {
	    margin-top: .375rem;
	}

	.form-check-label.intro-text {
		font-size:1.375rem;
	}
	
	.form-switch .form-check-input {
        margin-top: .25rem;
    }

	.form-text {
	    margin-top: .5rem;
	    font-size: 1rem;
	    color: var(--grey-md);
	}	
}


/* ------------------------------------------------------------------------ To Top */

.to-top {
	position: fixed;
	opacity: 0;
	bottom: 1rem;
	right: 1rem;
	text-align: center;
	width: 3rem;
	height: 3rem;
	cursor: pointer;
	background: var(--red) url(../../images/arrow-white.svg) no-repeat center;
	background-size: 1rem;
	border-radius: 50%;
	z-index: 10;
	visibility: hidden;
	transform: rotate(-90deg);
	transition: all .25s ease;
}

.to-top:hover {
	background-color: var(--black)
}

.to-top.show {
	opacity: 1;
	visibility: visible;
}


			
/* =============================================================================================
	FOOTER
============================================================================================= */

.print-footer { 
	display:none;
}

.footer { 
	background-color: var(--grey-md);
	margin-top: auto!important;
	padding: var(--section-p-sm);
	color: var(--white);
}

.footer a { 
	color: var(--white);
	font-weight: normal;
}

.footer .logo__img {
	max-width: 9rem; 
}

.copyright {
	color: var(--grey-lt);
	font-size: .875rem;
}


@media (min-width: 576px) {
	.divider {
		border-right: 1px solid var(--white);
	}
}
