/* BA custom framework. Based on Bootstrap 5.3. Jan 2023. */
/*	
	1.	vars
	2.	layout
	3.	colors, background, overlays
	4.	typography
	5.	margins
	6.	buttons
	7.	links
	8.	alerts
*/



/* ************************* */
/* 1. VARS					 */
/* ************************* */
:root{
	--color-base:#1E2A37;
	--color-base-rgb:30,42,56;
	--color-black:#1E2A37;
	--color-black-rgb:30,42,56;
	--color-black65:rgba(var(--color-black-rgb),0.65);
	--color-black50:rgba(var(--color-black-rgb),0.5);
	--color-black30:rgba(var(--color-black-rgb),0.3);
	--color-black10:rgba(var(--color-black-rgb),0.1);
	--color-grey:#ACAFBA;
	--color-light-grey:#F4F4F7;
	--color-dark-grey:#707487;
	--color-middle-grey:#E0E1E7;
	--color-smoke-white:#F9FAFB;
	--color-red:#C72544;
	--color-light-red:#FBA5B5;
	
	--color-link:var(--color-base);
	--color-hover:var(--color-red);
	--color-active:var(--color-red);
	--color-disabled:var(--color-light-grey);
	--color-danger:#D00A1C;
	--color-success:#097944;
	
	--font-base:400 1rem/1.7 'Base', sans-serif;
	--font-icon:900 1rem/1 'Font Awesome 6 Free';
	--font-heading:400 1rem/1.2 'Heading', sans-serif;
	--text-lead:1.5rem;
	--text-small:0.875rem;
	--h1:3.5rem; 
	--h2:2.625rem;
	--h3:2.00rem;
	--h4:1.75rem;
	--h5:1.375rem;
	--h6:1.125rem;
	--display1:4rem;
	
	--margin-small:0.5rem;
	--margin-normal:1.5rem;
	--margin-big:3.5rem;
	--margin-x-big:5rem;
	
	--padding-normal:7.5rem;
	--padding-large:10rem;
	
	--radius-normal:0.25rem;
	--shadow:0px 0.25rem 0.6rem rgba(0, 0, 0, 0.08);
	
	--container:1320px;
	--page-side-gap:calc(50vw - var(--container)/2 + 0.75rem);
	
	--input-height:5.625rem;
	--header-height:9.83rem;
	--header-height-sticky:4.5rem;
	--header-height-mobile:4rem;
	
	--scroll-width:0.5rem;
}
@media (max-width: 1399.98px) {
	:root{
		--container:1140px;
	}
}
@media (max-width: 1199.98px) {
	:root{
		--container:960px;
		--h1:3.05rem; 
		--h2:2.44rem;
		--h3:1.95rem;
		--h4:1.56rem;
		--h5:1.25rem;
		--h6:1.00rem;
		--display1:3.7rem;
		--text-lead:1.25rem;
		--text-small:0.81rem;
		
		--header-height:8rem;
		
		--padding-normal:6.5rem;
		--padding-large:8rem;
	}
}
@media (max-width: 991.98px) {
	:root{
		--container:100vw;
		
	}
}
@media (max-width: 767.98px) {
	:root{
		--margin-small:0.5rem;
		--margin-normal:1.5rem;
		--margin-big:3rem;
		--margin-x-big:4rem;
		--padding-normal:5rem;
		--padding-large:6.5rem;
		--h1:2.48rem; 
		--h2:2.07rem;
		--h3:1.73rem;
		--h4:1.44rem;
		--h5:1.20rem;
		--h6:1.00rem;
		--display1:3rem;
	}
}



/* ************************* */
/* 2. LAYOUT				 */
/* ************************* */
html, body{height:100%;}
body{color: var(--color-base); background:white; display: flex; flex-direction: column; overflow-x: hidden;}
body *{ position:relative;}

#page-wrap{flex:1 0 auto; border-bottom:1px solid var(--color-middle-grey); background: #fff; z-index: 2;}

.container{width:var(--container); margin-left:calc(50vw - var(--container)/2);}
.content-section{ padding-top:var(--padding-normal); padding-bottom:var(--padding-normal); }
.large-padding-top{ padding-top:var(--padding-large);}
.large-padding-bottom{ padding-bottom:var(--padding-large);}
.content-section:not([class*='bg-'])+.content-section:not([class*='bg-']){padding-top:0;}
.content-section.bg-color-smoke-white + .content-section.bg-color-smoke-white{padding-top:0;}
[class*='masthead-'] + .content-section:not([class*='bg-']){padding-top:0;}
.image-fit img, .image-fit video{object-fit: cover; width:100%; height:100%;}

[class*='col-'].indent-right{padding-right:calc(var(--container)/24);}
[class*='col-'].indent-left{padding-left:calc(var(--container)/24);}

.textbox:after{ content:''; display:block; clear:both; font-size: 1px; line-height: 0px; margin:0; padding:0;}

.textbox img{ display:inline-block; max-width:100%; z-index:2; margin-bottom:1.5rem;}
.text-image-wrap img, .text-image-wrap figure{border-radius:var(--radius-normal); overflow: hidden; display:inline-block; margin:0.35rem 0; max-width:100%; z-index:2;}
.text-image-wrap.align-left{float:left; width:33.33%; margin-right:2rem; margin-bottom:1rem;}
.text-image-wrap.align-right{float:right; width:33.33%; margin-left:2rem; margin-bottom:1rem;}
.text-image-wrap.align-left img, .text-image-wrap.align-right img{width:100%;}
.text-image-wrap.align-center{text-align:center;}
.text-image-wrap.align-center img{width:auto; max-width: 100%}
.text-image-wrap.align-stretch img{width:100%;}
.text-image-wrap figure img{margin:0; width:100%;}
.text-image-wrap figcaption{font-size: var(--text-small); z-index:2; position:relative; left:0; bottom:0; padding:0.5rem 3.5rem 0 3.5rem; color:var(--color-dark-grey);}
.text-image-wrap.align-left figcaption, .text-image-wrap.align-right figcaption{padding-left:1.5rem; padding-right:1.5rem;}
.text-image-wrap.align-left figure, .text-image-wrap.align-right figure, .text-image-wrap.align-stretch figure{width:100%;}
.text-image-wrap.align-left.width-50, .text-image-wrap.align-right.width-50{width:46.5%;}

.textbox iframe {max-width:100%; width: 100%; aspect-ratio: 16/9; height: auto; }

#scrollup { background: url("../../img/bg-btn.svg") no-repeat center rgba(0,0,0,0.5); background-size: 0 0; position:fixed; display:flex; align-items: center; justify-content: center; color:white!important; opacity:0; border-radius:50%; text-align:center; line-height:2.5rem; width:3.75rem; height:3.75rem; bottom:-3.5rem; left:calc(100vw - 5.5rem); z-index: 1000;  transition:opacity 1s ease, bottom 1s ease, color 0.2s ease, background 0.2s ease; text-decoration:none; }
#scrollup:after{ content:'\f062'; font:var(--font-icon); font-size:1.5rem;}
#scrollup:hover{ background-size:100% 100%;}
#scrollup.affix{ opacity:1; bottom:2rem;}

* {scrollbar-width: thin; scrollbar-color: var(--color-grey) var(--color-middle-grey);}
*::-webkit-scrollbar {height: var(--scroll-width); width: var(--scroll-width);}
*::-webkit-scrollbar-track {background: var(--color-middle-grey);}
*::-webkit-scrollbar-thumb {background: var(--color-grey); border-radius: 0; border: 0;}
*::-webkit-scrollbar-thumb:hover {background: var(--color-grey);}
:root { scroll-behavior: auto; }

@media (max-width: 991.98px) {
	.container{max-width: var(--container);}
	
	[class*='col-'].indent-right{padding-right:calc(var(--bs-gutter-x) * .5);}
	[class*='col-'].indent-left{padding-left:calc(var(--bs-gutter-x) * .5);}
}
@media (max-width: 767.98px) {
	.text-image-wrap.align-left, .text-image-wrap.align-right, .text-image-wrap.align-left.width-50, .text-image-wrap.align-right.width-50{float:none; width:auto; max-width:100%; margin-right:0; margin-left:0; margin-bottom:var(--margin-normal);}
	.text-image-wrap.align-left img, .text-image-wrap.align-right img, .text-image-wrap.align-left figure, .text-image-wrap.align-right figure{width:auto;}
}


/* ************************* */
/* 3. COLORS & BACKGROUNDS	 */
/* ************************* */
.color-white{color:#fff;}
.color-black{color:var(--color-black);}
.color-base{color:var(--color-base);}
.color-grey{color:var(--color-grey);}
.color-middle-grey{color:var(--color-middle-grey);}
.color-dark-grey{color:var(--color-dark-grey);}
.color-red{color:var(--color-red);}

.bg-color-grey{ background-color:var(--color-grey);}
.bg-color-light-grey{ background-color:var(--color-light-grey);}
.bg-color-dark-grey{ background-color:var(--color-dark-grey);}
.bg-color-black{ background-color:var(--color-black);}
.bg-color-red{ background-color: var(--color-red);}
.bg-color-white{background-color: #fff;}
.bg-color-smoke-white{background-color:var(--color-smoke-white);}



/* ************************* */
/* 4. TYPOGRAPHY			 */
/* ************************* */
html{font-size: 16px;}
body{font: var(--font-base);}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6{font:var(--font-heading);}
h1, .h1{font-size:var(--h1);}
h2, .h2{font-size:var(--h2);}
h3, .h3{font-size:var(--h3);}
h4, .h4{font-size:var(--h4);}
h5, .h5{font-size:var(--h5);}
h6, .h6{font-size:var(--h6);}

.lead{ font-size:var(--text-lead);}
.small{ font-size:var(--text-small);}
.in-form-header{margin-bottom:var(--margin-normal);}
.display1{font-size: var(--display1); font-family: 'Base'; text-transform: uppercase;}
.weight-bold, strong{font-family: 'Heading'; font-weight: 400;}
.weight-normal{font-family: 'Base';}
.section-title{text-transform: lowercase; font-size: 1.25rem; margin-bottom:var(--margin-x-big); display: inline-flex; align-items: center; gap:var(--bs-gutter-x);}
.section-title:before{content: ''; display: block; width:calc(var(--container)*0.0833 - var(--bs-gutter-x)); flex:none; height:1px; background: var(--color-black);}
.category{font-size: 1rem; color:var(--color-dark-grey); font-family: 'Heading';}

.textbox ul{ list-style-type:none; padding-left:1.5rem; overflow:hidden;}
.textbox ul li{padding-left:1rem; background:url(../../img/list-marker.svg) no-repeat 0 0.7rem;}
.textbox ul li ul{margin-top:var(--margin-small); padding-left:0.5rem;}
.small .textbox ul li, .textbox.small ul li, .textbox ul.small li{background-position:0 0.55rem; background-size: 0.25rem 0.25rem; }
.lead .textbox ul li, .textbox.lead ul li, .textbox ul.lead li{background-position:0 1.1rem; background-size: 0.5rem 0.5rem;}

.textbox ol{counter-reset: listCounter; padding-left:2.5rem; overflow:hidden;}
.textbox ol li{ list-style:none;}
.textbox ol>li:before{counter-increment: listCounter; content:counter(listCounter)'. '; display:inline-block; margin-left:-1.3rem; margin-right:0.3rem; min-width:1rem; text-align:center;}
.textbox ol li ol{padding-left:2.3rem; margin-top:var(--margin-small); counter-reset: subCounter;}
.textbox ol li ol li:before{counter-increment: subCounter; content:counter(listCounter)'.'counter(subCounter)'. ';  margin-left:-2.1rem; margin-right:0.3rem; min-width:1.7rem;}

.textbox ul, .textbox ol{display: flex; flex-direction: column; gap:var(--margin-small);}

.textbox blockquote{padding:var(--margin-big) 0 0 var(--margin-big); background: url("../../img/quote-mark.svg") no-repeat left top; font-size: var(--text-lead); font-style: normal;}
aside .textbox blockquote{padding:2rem 0 0 2rem; background-size:7.75rem auto; font-size:1rem;}

.textbox ul.check-list li{background: none;}
.textbox ul.check-list li:before{content: '\f00c'; font:var(--font-icon); font-size: inherit; display: block; position:  absolute; color: var(--color-red); width:2rem; height:1.5rem; border-radius:0; background: none; left: -1rem; top: 0.5rem; line-height: 1;}

@media (max-width: 1199.98px) {
	.small .textbox ul li, .textbox.small ul li, .textbox ul.small li{background-position:0 0.5rem; }
	.lead .textbox ul li, .textbox.lead ul li, .textbox ul.lead li{background-position:0 0.9rem; }
}
@media (max-width: 991.98px) {
	html{font-size: 14px;}
}

@media (max-width: 767.98px) {
	.textbox ol{padding-left: 2.5rem;}
	.textbox ul{padding-left: 1.5rem;}
	
	.section-title{gap:1rem; margin-bottom:var(--margin-big);}
	.section-title:before{width:3rem;}
	
}



/* ************************* */
/* 5. MARGINS				 */
/* ************************* */
h1, h2, h3, h4, h5, h6, ul, ol, p, .alert, address, dl, blockquote, figure{margin:0;}
h1, h2, h3, h4, h5, h6, .h2, .h3, .h4, .h5, .h6, .textbox p, .textbox blockquote, .textbox ul, .textbox ol, .text-image-wrap
	{margin-bottom:var(--margin-normal); margin-top:0;}
.textbox, .form-wrap, .accordion, .side-nav, .tabs-wrap, .side-nav-wrap, .side-col-banner 
	{margin-bottom:var(--margin-big);}
.textbox:last-child, .form-wrap:last-child, .accordion:last-child, .side-nav:last-child, .textbox ul:last-child, .textbox ol:last-child, .textbox p:last-child, .textbox .text-image-wrap:last-child, .textbox blockquote:last-child,
	h1:last-child, h2:last-child, h3:last-child, h4:last-child, h5:last-child, h6:last-child, 
	.h1:last-child, .h2:last-child, .h3:last-child, .h4:last-child, .h5:last-child, .h6:last-child,
	[class*='mb']:last-child, .tabs-wrap:last-child, .textbox blockquote:last-child, .form-group:last-child, .side-col-banner:last-child
	{margin-bottom:0;}

.mb-half{margin-bottom:var(--margin-small);}
.mb{margin-bottom:var(--margin-normal);}
.mb-big{margin-bottom:var(--margin-big);}
.mb-x-big{margin-bottom:var(--margin-x-big);}
.mb-0{margin-bottom:0!important;}

@media (max-width: 1399.98px) {
	.mb-x-big-xl{margin-bottom:var(--margin-x-big);}
	.mb-big-xl{margin-bottom:var(--margin-big);}
	.mb-xl{margin-bottom:var(--margin-normal);}
	.mb-half-xl{margin-bottom:var(--margin-small);}
}
@media (max-width: 1199.98px) {
	.mb-x-big-lg{margin-bottom:var(--margin-x-big);}
	.mb-big-lg{margin-bottom:var(--margin-big);}
	.mb-lg{margin-bottom:var(--margin-normal);}
	.mb-half-lg{margin-bottom:var(--margin-small);}
}
@media (max-width: 991.98px) {
	.mb-x-big-md{margin-bottom:var(--margin-x-big);}
	.mb-big-md{margin-bottom:var(--margin-big);}
	.mb-md{margin-bottom:var(--margin-normal);}
	.mb-half-md{margin-bottom:var(--margin-small);}
}
@media (max-width: 767.98px) {
	.mb-x-big-sm{margin-bottom:var(--margin-x-big);}
	.mb-big-sm{margin-bottom:var(--margin-big);}
	.mb-sm{margin-bottom:var(--margin-normal);}
	.mb-half-sm{margin-bottom:var(--margin-small);}
}



/* ************************* */
/* 6. BUTTONS				 */
/* ************************* */
.btn {display: inline-flex; align-items: center; justify-content: center; gap:0.5rem; height:3rem; border:0; border-radius:1.5rem; padding:0.75rem 1.5rem 0.8rem 1.5rem; text-transform: lowercase; font-family: 'Heading'; line-height: 1.2; transition:color 0.2s ease, border-color 0.2s ease, background 0.2s ease; }
.btn:focus, .btn:active:focus, .btn.active:focus, .btn.focus, .btn:active.focus, .btn.active.focus,
button:focus, button:active:focus, button.active:focus, button.focus, button:active.focus, button.active.focus{outline:0!important;}
.btn:focus-visible{box-shadow:none;}

.btn-primary{color:white; background:var(--color-red);}
.btn-primary:hover, .btn-primary:focus, .focus.btn-primary, .btn-primary:active, .active.btn-primary, .btn-primary:active:focus, .btn-primary:active:hover, .btn-primary.active:hover, .btn-primary.active:focus, .btn-primary:active.focus, .btn-primary.active.focus, .open > .btn-primary.dropdown-toggle{
	color:white; background:var(--color-black);}

.btn-default{ color:var(--color-black); background: var(--color-middle-grey);}
.btn-default:hover, .btn-default:focus, .focus.btn-default, .btn-default:active, .active.btn-default, .btn-default:active:focus, .btn-default:active:hover, .btn-default.active:hover, .btn-default.active:focus, .btn-default:active.focus, .btn-default.active.focus, .open > .btn-default.dropdown-toggle{
	color:white; background:var(--color-black);}

.btn-white{ color:var(--color-black); background: #fff;}
.btn-white:hover, .btn-white:focus, .focus.btn-white, .btn-white:active, .active.btn-white, .btn-white:active:focus, .btn-white:active:hover, .btn-white.active:hover, .btn-white.active:focus, .btn-white:active.focus, .btn-white.active.focus, .open > .btn-white.dropdown-toggle{
	color:#fff; background:var(--color-dark-grey);}

.btn-link{padding:0; height:auto; text-decoration: none; color:var(--color-red);}
.btn-link:hover, .btn-link:focus, .btn-link:focus-visible, .btn-link:active{color:var(--color-black)!important; text-decoration: none; box-shadow: none!important; outline:0;}
.color-white .btn-link{color:#fff;}
.color-white .btn-link:hover, .color-white .btn-link:focus, .color-white .btn-link:focus-visible{color:var(--color-light-red);}

.textbox .btn{margin-top:0.35rem; margin-bottom:0.35rem;}

.btn [class*='fa']{font-size: 0.81rem;}

.btn-sm{font-size: 0.875rem;}

.btn-clipboard{background: url("../../img/bg-btn.svg") var(--color-light-grey) no-repeat center / 0 0; color:var(--color-grey); display: flex; align-items: center; justify-content: center; width:2rem; height:2rem; border-radius:50%; border:0; transition:background 0.2s ease, color 0.2s ease; }
.btn-clipboard:hover, .btn-clipboard:focus{color:#fff; background-size: 100% 100%;}
.btn-clipboard:before{content: '\f0c5'; font: var(--font-icon); font-size: 1rem; font-weight:400;}

@media (max-width: 767.98px) {
	.btn:not(.btn-link){height:auto; white-space:normal;}
}



/* ************************* */
/* 7. LINKS					 */
/* ************************* */
a {color:var(--color-link); transition:color 0.2s ease, background 0.2s ease;}
a:hover, A:focus{color:var(--color-hover); text-decoration:none;}
a:focus, a:active, a:active:focus{outline:none;}
.color-white a:not(.btn){color:#fff;}
.color-white a:not(.btn):hover, .color-white a:not(.btn):focus{color:var(--color-light-red);}

a img{border:0;}
a[href*='mailto']{word-break: break-all;}

.area-link{ position:absolute; top:0; left:0; width:100%; height:100%; z-index: 2;}
.anchor-link{display:block; top:-3rem; width:100%; height:0;}
.scroll-spy-anchor{position: absolute; top:0; width:100%; bottom:0; z-index: -10; pointer-events: none;}

.sp-link{color:var(--color-red); font-size: 1rem; display: inline-block; white-space: nowrap; text-transform: lowercase; text-decoration: none; font-family: 'Heading'; line-height: 1.2;}
.sp-link:hover, .sp-link:focus{color:var(--color-black);}
.sp-link:after{content: '\f061'; font:var(--font-icon); font-size: 0.81rem; vertical-align:5%; margin-left:0.25rem;}

.back-link{color:var(--color-dark-grey);}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a{ color:inherit;}
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover, h1 a:focus, h2 a:focus, h3 a:focus, h4 a:focus, h5 a:focus, h6 a:focus{
	color:var(--color-hover);}

@media (max-width: 991.98px) {
	.anchor-link{top:0;}
}



/* ************************* */
/* 8. ALERTS				 */
/* ************************* */
.alert{border:0; border-radius:0; border-left:0.25rem solid transparent; background: transparent; padding:1.25rem 1.5rem; display: flex; flex-direction: column; gap:1rem; word-wrap: break-word;}
.alert-danger{color:var(--color-danger); border-color:var(--color-danger);}
.alert-success{color:var(--color-success); border-color:var(--color-success);}




