@import url('https://fonts.googleapis.com/css?family=Lato:400,700,900&display=swap');


/* ----------------- END NAV -----------------------  */




/* ----------------------- FOOTER ------------------------------ */

.footer{
	background-image: url("../images/footer-back.jpg");
	background-size: cover;
	background-position: center bottom;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	padding: 0 2em;
}
.footer>div{
	flex: 0 0 auto;
	text-align: center;
}
.footer img{
	width: clamp(300px, 40vw, 500px);;
	display: block;
}
.footer .footer-contact{
	font-weight: 900;
	font-size: 1.3em;
	text-transform: uppercase;
	color: rgba(0,22,52,1.00)
}

.footer-bottom{
	color: rgb(0,76,127);
}
.footer-bottom > div {text-align: center; padding: 0.5em;}


.sub-footer{
	background-color: rgb(0,22,52);
	color: white;
	font-size: 0.6em;
	color: white;
	text-align: center;
	line-height: 1.4em;
	padding: 2em;
	font-weight: 300;
	letter-spacing: 0.08em;
}
.sub-footer a{
	color: rgba(255,255,0,1);
}

/* ----------------------------- GENERIC STYLES -------------------------*/


.tbl{
	display: table;
	width:  100%;
	border-collapse: collapse;
}
.tr{display: table-row}
.td{
	display: table-cell;
	padding: 0.1em 0.3em;
}


section{
	position: relative;
	line-height: 2em;
}

.general{
	color: rgb(0,76,127);
	padding: 5em 2em;
	min-height: 700px;
	background-image: -webkit-gradient(linear, left bottom, left top, from(rgb(220,220,255)), to(white));
	background-image: linear-gradient(0deg, rgb(220,220,255), white);
}

.centered-content {
	max-width: 1600px;
	width: 100%;
	margin: auto;
}

.BGM-generic-page.home{
	background-image: none;
}

.item-share{
	-webkit-column-count: 3;
    column-count: 3;
    -webkit-column-rule: 2px solid rgb(220,220,220);
    column-rule: 2px solid rgb(220,220,220);
    -webkit-column-width: 200px;
    column-width: 500px!important;
    padding: 1em;
    background-color: white;
    margin-bottom: 1em;
    min-height: 10em;
}


/* ---------------------- HOME PAGE -------------------------------- */




.single-image-container{
	width: 100%;
	height: 42%;
	min-height: 500px;
	-o-object-fit: cover;
	object-fit: cover;
	-o-object-position: center;
	object-position: center;
	vertical-align: top;
}

.three-image-container{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: stretch;
	-ms-flex-align: stretch;
	align-items: stretch;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}
.three-image-container img{
	display: block;
	-webkit-box-flex: 1;
	-ms-flex: 1 1 300px;
	flex: 1 1 300px;
	-o-object-fit: cover;
	object-fit: cover;
	-o-object-position: center;
	object-position: center;
	min-width: 200px;
}




/* ---------------- LOCATIONS MAP STYLES --------------------------- */

.locations-container{
	background-image: url("../images/location-back.jpg");
	background-position: center;
	background-size: cover;
	background-image: linear-gradient(0deg, rgba(245,227,110,0.8), white 30%, white 60%, rgba(245,227,110,0.8));
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	padding: 3em 2em;
}
.sales-team-text {
	width: 100%;
	max-width: 1000px;
}
a[name=f]{
	position: relative;
	top: -5em;
}

.contact-link{
	position: fixed;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
	padding: 2em 2em 1em 2em;
	color: white;
	border-radius: 0.5em;
	-webkit-box-shadow: 0 0 1em rgba(0,0,0,0.3);
	box-shadow: 0 0 1em rgba(0,0,0,0.3);
	font-size: 1.4em;
	background-color: rgba(255,255,255,0.7);
	color: black;
	width: calc(100% - 2em);
	max-width: 600px;
	-webkit-backdrop-filter: blur(0.5);
	backdrop-filter: blur(5px);
	
	-webkit-transition: all 0.5s;
	
	transition: all 0.5s;
	left: -10000px;
	top: 40px;
	opacity: 0;
}
.contact-link.reveal{
	-webkit-animation-name: revealer;
	animation-name: revealer;
	-webkit-animation-fill-mode: forwards;
	animation-fill-mode: forwards;
	-webkit-animation-duration: 0.5s!important;
	animation-duration: 0.5s!important;
}
@-webkit-keyframes revealer{
	0%{left: -10000px; top: 100px; opacity: 0;}
	1%{left: 50%; top: 100px; opacity: 0;}
	100%{left: 50%; top: 50%; opacity: 1;}
}
@keyframes revealer{
	0%{left: -10000px; top: 100px; opacity: 0;}
	1%{left: 50%; top: 100px; opacity: 0;}
	100%{left: 50%; top: 50%; opacity: 1;}
}
.contact-link #st_name{
	font-size: 2em;
	color: rgb(0, 76, 127);
	text-align: center;
}
.contact-link a:first-of-type{
	display: block;
	margin: 1em auto;
	text-decoration: none;
	color: rgb(245, 227, 110);
	background-color: rgb(0, 76, 127);
	border: none;
	padding: 0.5em 2em;
	white-space: nowrap;
	max-width: 10em;
	text-align: center;
	border-radius: 0.3em;
}

.contact-link button{
	border: none;
	background-color: transparent;
	font-family: 'Material icons';
	position: absolute;
	top: 0.25em;
	right: 0.25em;
	font-size: 1.8em;
	color: red;
}

#KiwiMap{
	width: 100%;
	height: 80vh;
}
.sales-map-container{
	width: 100%;
	max-width: 1000px;
	aspect-ratio: 2;
	margin: auto;
}
.sales-map-container > div {
	height: 100%;
}
.sales-map-container #KiwiMap {
	height: 100%;
	<!---background-color: rgb(240,240,240);--->
}

.team-heading{
	margin: 1em auto;
	font-size: 2.75em;
	text-align: center;
	color: rgba(0,22,52,1.00);
	border-bottom: 2px solid rgba(0,22,52,1.00);
}

.immedContactForm{
	width: 800px;
	max-width: 100%;
	margin: 1em auto;
}

/* ------------------------ ABOUT PAGE ------------------------------ */

.team-container {
	background-color: rgba(0,76,127,1.00);
	color: white;
	text-align: center;
	padding: 4em 2em;
	font-size: clamp(90%, 3vw, 100%);
}

.team-container h1 {
	color: white;
	text-decoration: underline;
}

.team-container ul {
	width: fit-content;
	margin: 1em auto;
}

/* --------------------- ASSOCIATIONS PAGE -------------------------- */


.BGM-resource-details ul,
.BGM-resource-details p{
	font-size: 1em;
	color: rgb(85,85,85);
}


/* ----------------- EMPLOYEES PAGE ---------------- */

.BGM-file-ex-display ul{
	font-size: inherit; 
	margin-top: 0; 
	padding-left: 1em;
	-webkit-column-break-inside: avoid; 
	break-inside: avoid;
	page-break-inside: avoid;
}
.BGM-file-ex-display li{
	line-height: 1.2em;
}

/* ----------------- VIDEO PAGE ------------------------ */

.bgm-big-screen-container{
	max-width: 1200px;
	margin: 0 auto;
}

/* --------------------- TEAM PAGE ---------------------- */

.team-list.admin{
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: space-between;
	flex-wrap: wrap;
	margin-top: 2em;
	padding: 0;
}
.team-list.admin li {
	flex: 1 1 50%;
	margin-bottom: 0.5em;
	list-style-type: none;
}
.team-list.admin li:nth-of-type(-n + 4){
	font-size: 115%;
}


.team-list.sales{
	padding: 0;
	display: block;
	text-align: center;
	margin: 2em 0 0 0;
}
.team-list.sales > div {
	display: table;
	font-size: 1.4em;
	margin-bottom: 1em;
	margin: 0 auto 0.2em auto;
	padding: 0.2em;
}
.team-list.sales > div > div{
	display: inline-block;
	white-space: nowrap;
}
.team-list.sales > div > div:nth-of-type(1) {
	font-weight: bold;
}
.team-list.sales > div > div:nth-of-type(n + 2) {
	padding-left: 1.5em;
}
.team-list.sales > div > div:nth-of-type(n + 2)::before {
	content: '\2022';
	position: relative;
	left: -0.75em;
}
.team-list.sales > div:hover,
.team-list.sales > div.hovered{
	background-color: rgba(0,76,127,1.00);
	color: rgba(245,227,110,1.00)
}




/* -------------------------- DEFAULT OVERRIDES --------------------------*/

.BGM-file-ex-display{width: auto;}



/* --------------------- MEDIA QUERIES ------------------------------------ */


@media screen and (max-width: 1600px){
}

@media screen and (max-width: 1500px){
}

@media screen and (max-width: 1400px){
	body{font-size: 0.8em;}
}

@media screen and (max-width: 1200px){
}

@media screen and (max-width: 1100px){
}

@media screen and (max-width: 1050px){
	.general {
		padding: 2em;
	}
}

@media screen and (max-width: 900px){
}

@media screen and (max-width: 850px){
}

@media screen and (max-width: 800px),
		 screen and (orientation: portrait), 
		 screen and (max-aspect-ratio: 1){
			 
	.title{display: none;}
			 
	.team-list.sales > div > div{
		display: block;
	}
	.team-list.sales > div > div:nth-of-type(n + 2) {
		padding-left: 0;
	}
	.team-list.sales > div > div:nth-of-type(n + 2)::before {
		content: '';
		position: relative;
		left: 0;
	}
}

@media screen and (max-width: 700px){
}

@media screen and (max-width: 600px){
}

@media screen and (max-width: 500px){
	.footer,
	.locations{font-size: 0.75em;}
}

@media screen and (max-width: 450px){
}

@media screen and (max-width: 400px){
}



@media print{
	.main{width: 1400px!important}
	.noprint{display:none;}
	.BGM-CMS-admin-control, .BGM-CMS-form-container, #bgm-cms-screen, .aux-link-container, .homeRule, .slide-show{display:none;}
	*{background-color: white!important; background-image: none!important; background: initial!important;}
}

/*-----------*/