 html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type="button"],[type="reset"],[type="submit"]{-webkit-appearance:button}fieldset{}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type="checkbox"],[type="radio"]{box-sizing:border-box;padding:0}[type="number"]::-webkit-inner-spin-button,[type="number"]::-webkit-outer-spin-button{height:auto}[type="search"]{-webkit-appearance:textfield;outline-offset:-2px}[type="search"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}

:root {
	--bisco-blue: #29176e;
    --bisco-blue: #000140;
    --bisco-medium-blue: rgb(0, 127, 166);
    --bisco-medium-blue-hover: rgb(0, 107, 146);
    --bisco-light-blue: rgb(0, 193, 252);
    --bisco-dark-blue: #000130;
    --bisco-red: #c32017;

	--attention-green: #0d8302;
    --attention-green-standalone: #16bd06;
    --attention-green-hover: #0a6a02;
    
    --form-messages-success: #090;
    --form-messages-error: rgb(212, 0, 0);

    --bisco-services-header: #435260;
    --contact-bar-blue: rgb(0, 62, 142);

    --video-overlay: rgba(5, 45, 57, 0.71);
    --video-overlay: rgba(24, 36, 83, 0.63);
	--debug-border: 1px solid red;
}
	
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.removable {
    display: inline;
}

#staging-notice {
    position: absolute;
    background: #fc3;
    color: #000;
    letter-spacing: .1em;
    padding: 3px;
    text-transform: uppercase;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 9px;
    font-weight: bold;;

}

.ajax-form {
    position: relative;
}
a.skip-main {
    left:-999px;
    position:absolute;
    top:auto;
    width:1px;
    height:1px;
    overflow:hidden;
    z-index:-999;
	transition: .2s;
}
a.skip-main:focus, a.skip-main:active {
    color: #000;
    background-color:#fff;
    left: 25px;
    top: 70px;
    width: auto;
    height: auto;
    overflow:auto;
    
    padding:8px;
    border-radius: 5px;
    text-align:center;
    font-size:1.2em;
	font-family: "Raleway", sans-serif;
    z-index:1001; /* above mobile nav */
}




#load-wait {
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	position: absolute; /* Only covers the form now */
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: rgba(255,255,255,.9);
	transition: .3s;
	z-index: 10;
	
}
#load-wait.shown {
	visibility: visible;
	opacity: 1;
}

.required-fields-note {
    font-size: .8em;
    color: #666;
    margin-bottom: 1em;
    text-align: center;
}
.demo-warning {
    border: var(--debug-border);
    color: #f00;
    padding: 1em;
    text-align: center;
    flex-grow: 0;
    flex-shrink: 1;
    align-self: center;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    font-family: "Roboto", sans-serif;

    color: #404040;
}
h1 {
    font-family: "Cal Sans", sans-serif;
    color: #002159;
    margin-bottom: .5em;
}
h2 {
    font-family: "Cal Sans", sans-serif;
    font-weight: 100;
    margin-bottom: 1em;
    color: #002159;
    line-height: 1.3em;
    font-size: clamp(18px, 2vw, 26px);
}

p {
    margin-bottom: 1.5em;
    line-height: 1.6;
}


a.button, label.button, .bisco-button {
	border: 0;
	background: #002159;
	background: var(--bisco-medium-blue);
	color: #fff;
	padding: 1em 3em;
    text-decoration: none;
	text-transform: uppercase;
    min-width: 180px;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
	font-size: 1rem;
	font-size: clamp(12px, 1em, 14px);
	text-shadow: none;
	transition: .2s;
	line-height: 1em;
	
	display: inline-block;
	text-align: center;
	line-height: 1.4em;
	cursor: pointer;
    align-self: center;

}
a.button:hover {
    background: var(--bisco-medium-blue-hover);
}
a.button.inspection {
    background: var(--attention-green);

}
a.button.inspection:hover {
    background: var(--attention-green-hover);
}
.bisco-button.disabled {
    background: #999;
    cursor: not-allowed;
}

.page-header-hero-image {
    min-height: 300px;
    height: 40vh;
    position: relative;
    background: #000;
    background-size: cover;
    background-position: 50% 50%;
}
.page-header-no-image {
    background: var(--bisco-blue);
    margin-bottom: clamp(2em, 6vw, 4em);
}
.page-header-no-image h1 {
    color: #fff;
    padding: 1em 0;
    text-align: center;
    font-size: clamp(24px, 2.5vw, 36px);
    letter-spacing: .05em;
    font-family: "Cal Sans", sans-serif;
    font-weight: 100;
}
.page-pre-footer-no-image {
    background: var(--bisco-blue);
    /* margin-top: 6vw; */
    margin-bottom: 0;
}
.page-pre-footer-no-image h2 {
    color: #fff;
    padding: 1.5em;
    line-height: 1.5em;
    text-align: center;
    font-size: clamp(22px, 2vw, 36px);
    letter-spacing: .05em;
    font-family: "Cal Sans", sans-serif;
    margin-bottom: 0;
    font-weight: 100;
}
.text-section {
    margin: 0 0 clamp(2em, 6vw, 4em) 0;
}
.text-section.background {
    margin: clamp(2em, 6vw, 4em) 0;
}
#mainContent {
    flex: 1; /* sticky footer */
    display: flex;
    margin-top: 120px;
    scroll-margin-top: 120px;
    padding-bottom: 3vw;
    flex-direction: column;
    font-size: clamp(16px, 1.2vw, 20px);
}
.width-constraint {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2em;
    
}

.width-constraint.wide {
    max-width: 1600px;

}


#mainContent ul li {
    margin-left: 1.5em;
    margin-bottom: 1em;
}
#mainContent ul li h3 {
    color: var(--bisco-blue);
}

#mainContent ul > li > p {
    margin-left: 1em;
    margin: 1em;
    margin-bottom: 1em;
}

#mainContent ul:first-of-type > li > p {
    margin-left: 1em;
    margin: 1em;
    margin-bottom: 2em;
}
#mainContent ul > li > ul {
    margin-top: -1em;
    margin-bottom: 2em;
}
.hero-image {
	min-height: 200px;
	position: relative;
	background: #000;
	background-size: cover;
	background-position: 50% 50%;
}

.hero-image:before {
	position: absolute;
	content: '';
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 0;
    z-index: 1;
	background: var(--video-overlay);

    background: linear-gradient(0deg, rgb(1, 22, 57) 0%, rgba(1, 22, 62, 0.32) 100%);
	
}
.hero-image .headline {
	position: relative;
	z-index: 10;
	color: #fff;
	margin-left: 3em;
	font-size: 1.3em;
	font-size: clamp(16px, 2.2vw, 32px);
	font-family: "Cal Sans", sans-serif;
	
    width: auto;
	
	padding: 4em 0;
    padding: clamp(2em, 9vw, 8em);
	text-shadow: 0 0 6px #000;
}



.hero-image .headline h2 {
    color: #fff;
    font-size: 1.3em;
}
.hero-image .headline img {
	filter: drop-shadow(5px 5px 5px #222);
	width: 40%;
	max-width: 360px;
	display: block;
}

.hero-image .headline .headline-text {
	margin-top: .5em;
	line-height: 1.3em;
}							   


.hero-image .inspection-links {
    margin: 1em 0;
    display: flex;
    flex-wrap: wrap;
    gap: .25em 1em;
    position: relative;
    z-index: 10;
    position: relative;
    bottom: 0;
    font-size: clamp(12px, 1.2vw, 18px);
    line-height: normal;
    align-self: center;
    justify-content: space-between;

}
.hero-image .inspection-links a {
    
    color: #ffffff;
    padding: .5em 1em;
    border-radius: 5px;
    text-decoration: none;
    font-size: .9em;
}
.hero-image .inspection-links a:hover {
    background: rgba(0,0,0,.5);
    color: var(--bisco-light-blue);
}
/* Fallback video size */
#home-video video {
	position: absolute;
	width: 100%;
	/* z-index: -1; */
	top: 50%;
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
}

@supports(object-fit:cover) {

	/*#top {
		height: 55vh;
	}*/
	#home-video video {
		object-fit: cover;
		object-position: 30% 20%;
		position: absolute;
		
		width: 100%;
		height: 100%;
		/* z-index: -1; */
	}
}

#home-introduction {
    background-image: url('/images/angular-background.jpg');
    background-size: cover;
    font-size: clamp(1em, 1.5vw, 24px);
}       

#inspection-services {
    /* background-image: url('/images/istockphoto-1603977255-1024x1024.jpg');
    background-size: cover; */
    padding: 6vw 0;
    background: var(--bisco-dark-blue);
    scroll-margin-top: 120px;
    margin-bottom: clamp(2em, 6vw, 4em);

}
#inspection-services h2 {
    color: #fff;
    text-align: center;
    margin-bottom: 7vw;
    margin-bottom: clamp(2em, 7vw, 5em);
    margin-top: 0
}
#inspection-services .service-boxes {
    display: flex;
    flex-wrap: wrap;
    gap: 6em 4vw;
    flex-direction: row;
    justify-content: center;
}
.service-boxes .service-box {
    display: flex;
    flex-direction: column;
    
    font-family: "Roboto", sans-serif;
    
    width: 30%;
    min-width: 360px;
    max-width: 430px;
    position: relative;
    background-color: #fff;
    align-items: center;
    
}
.service-box-image {
    width: 100%;
    height: 200px;
}
.service-box  a.service-box-link {
    transform: translateY(-50%);
    display: block;
    position: absolute;
    z-index: 2;
    width: 80%;
    top: 0;
    text-decoration: none;
    padding: 1em;
    background: var(--bisco-services-header);
    font-family: "Roboto", sans-serif;
    color: #fff;
    font-size: 15px;
    text-align: center;
}
a .service-box-title {
    padding: 1em;
    background: var(--bisco-red);
    z-index: 10;
    
    font-family: "Roboto", sans-serif;
    color: #fff;
    font-size: 14px;
    text-align: center;
}
.service-box-image {
    filter: grayscale(.5); 
    transition: .3s; 
}
.service-box:hover .service-box-image {
    filter: grayscale(0);
}
.service-box-copy {
    background: #fff;
    padding: 1em;
    padding-bottom: 0;
    /* margin-top: auto; */
    display: flex;
    flex-direction: column;
    align-items: center;
}
.service-box-copy p {
    font-size: 1em;
}
.service-box-link {
    margin-top:auto;
    padding: 1em;
}

#contact-staff {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2em 0;
   
    width: 100%;
}

.contact-staff-boxes {
    display: flex;
    flex-direction: row;
    margin-top: 2em;
    gap: 1em;
    min-width: 180px;
    flex-wrap: wrap;
    justify-content: center;
}
.contact-staff-boxes span.material-symbols-outlined {
    font-size: 24px;
    color: #666;
    margin-bottom: .25em;
}
.contact-staff-box {
    padding: 1em;
    text-align: center;
}
.contact-staff-box p {
    margin-bottom: 0;
}
.contact-staff-boxes a {
    text-decoration: none;
 
}

a .contact-staff-box p {
    text-decoration: none;
    color: #444;
    display: block;
}
a .contact-staff-box:hover span.material-symbols-outlined, a .contact-staff-box:hover p {
    color: var(--bisco-medium-blue);
    transition: .2s;
    
}

.icon-boxes {
    display: flex;
    justify-content: center;
    margin: 4em 0;
    flex-wrap: wrap;
    gap: 3em;
}

.icon-boxes .icon-box span.material-symbols-outlined {
    font-size: 3em;
    color: var(--bisco-medium-blue);
    margin-bottom: .25em;
}


.icon-boxes a {
    text-decoration: none;
    color: #444;
    display: flex;
    
}

.icon-boxes .icon-box {
    background: #f6f6f6;
    border: 1px solid #ddd;
    
    padding: 1em 2em;
    text-align: center;
    flex: 1;
    
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    display: flex;
    align-items: center;
    flex-direction: column;
    min-width: 300px;

}

.icon-boxes .icon-box h3 {
    margin-top: 0;
    font-size: .9em;
    font-family: "Cal Sans", sans-serif;
    color: var(--bisco-blue);
    font-weight: 100;
}


.icon-box-padding {
    padding: .5em;
}
.icon-boxes .icon-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background: #ffffff;
}

.photo-text-overlay-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
.callout-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 6vw;
    
}
.callout-container.reversed {
     flex-direction: row-reverse;  
}
.callout-container .callout-image {
    /* margin: 6vw 0; */
    width: 60%;
    line-height: 0;
    
}
.callout-container .callout-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.callout-container .callout-text {
    flex: 1;
    width: 50%;
    min-width: 250px;  
    background-color: #f1f1f1;
    background-color: var(--bisco-dark-blue);
    
    margin-left: -7%;
    padding: 3em;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.callout-container.reversed .callout-text {
    margin-right: -7%;
    margin-left: 0;
   
}
.callout-text h3 {
    font-size: 1.5em;
    font-size: clamp(16px, 1.5vw, 24px);
    font-weight: 100;
    color: #fff;
    font-family: "Cal Sans", sans-serif;
    letter-spacing: .06em;
    line-height: 1.8em;
    margin: 0 auto;
    padding-bottom: 2em;
    text-align: left;
}


/* Team Page */

.team {
    display: flex;
    margin-bottom: 4em;
    align-items: center;
    max-width: 1000px;
}
img.team-portrait {
	width: 200px;
	height: 200px;

	margin-right: 3em;
	border: .5px solid #ccc;
	border-radius: 300px;
}

.form-container {
    position: relative;
}
form.bisco-form.hidden {
    visibility: hidden;
    opacity: 0;
}
form.bisco-form {
    display: flex;
    flex-direction: column;
    gap: 1em;
    align-self: center;
    max-width: 1000px;
    flex-grow: 2;
}
form.bisco-form .form-section {
    display: flex;
    gap: 2em;
}
form.bisco-form .form-column {
    width: 50%;
}

form.bisco-form input[type="text"], form.bisco-form input[type="tel"], form.bisco-form input[type="email"] {
    padding: 0.75em 1em;
    border: none;
    border-bottom: 1px solid #ccc;
    font-size: 1em;
    width: 100%;
}
form.bisco-form textarea {
    padding: 0.75em 1em;
    border: none;
    border-bottom: 1px solid #ccc;
    font-size: 1em;
    width: 100%;
}
form.bisco-form .error-message {
    color: red;
    font-size: 0.9em;
    display: none;
}
form input.hp {
    display: none;
    visibility: hidden;
}

.form-messages {
    text-align: center;
    font-size: 1.2em;
    transition: .2s;
    padding: 0; /*start with zero so the page doesn't change size on success */
    max-width: 800px;
    margin: 0 auto;
    padding: 1em;
    visibility: hidden;

}
.form-messages .material-symbols-outlined {
    font-size: 48px;
    display: block;
    margin-bottom: .5em;
}
.form-messages.success {
    visibility: visible;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    color: var(--form-messages-success);
 
}
.form-messages.error {
    visibility: visible;
    color: var(--form-messages-error);
}
/* Footer */
footer {
    background: #222;
    color: #fff;
    padding-bottom: 5px;
    
    text-align: center;
    font-size: .9em;
    margin-top: auto; /* push footer to bottom */
}

footer .flex-container {
    padding: 4em 2em;
    display: flex;
    justify-content: center;
    gap: 2em;

    flex-wrap: wrap;
    align-items: center;
}

footer .flex-container > * {
    min-width: 200px;

}
footer .flex-container .tagline {
    text-align: left;
    flex: 8;
}
footer .flex-container .tagline img.logo {
    width: 10vw; 
    min-width: 120px;
    max-width: 200px;
}
footer .flex-container .tagline h3 {
    margin-bottom: 0;
    font-size: 1.3em;
    font-size: clamp(16px, 1.5vw, 24px);
    letter-spacing: .05em;
    font-family: "Cal Sans", sans-serif;
    font-weight: 100;
}
footer .flex-container .footer-links {
    align-self: flex-start;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: .5em;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;

}
footer .flex-container .footer-links h2, footer .flex-container .contact h2 {
    color: #fff;
    letter-spacing: .05em;
}
footer .flex-container .footer-links a {
    color: var(--bisco-light-blue);
    text-decoration: none;
}
footer .flex-container .footer-links a.highlight {
    
    color: var(--attention-green-standalone);
    margin: .5em 0;
    border-top: 1px solid #535353;
    padding-top: .75em;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 500;
    
    line-height: 1em;
    
    display: inline-block;
    
} 
footer .flex-container .footer-links a:hover {
    color: #fff;
}
footer .flex-container .contact {
    
    flex-grow: 1;
    display: flex;

    flex-direction: column;
    align-self: flex-start;
    align-items: flex-start;

}

footer .flex-container .contact .contact-line {
    display: flex;
    align-items: center;
    justify-content: center;
    
}

footer .flex-container .contact .icon-container {
    margin-right: 0.5em;
    line-height: 0;
    border-radius: 50%;
    padding: 0.5em;
}
footer .flex-container .contact a {
    color: #fff;
    text-decoration: none;
}
footer .flex-container .contact .icon-container .material-symbols-outlined {
    color: #999;
    font-size: 18px;
    
}
footer .contact .contact-text{
    text-align: left;
    line-height: 1.5em;
}
footer .copyright {
    margin-top: 1em;
    font-size: 0.8em;
    color: #ccc;
}


@media all and (max-width: 960px) {
    .removable {
        display: none;
    }

    #contact-bar .contact-detail:first-child {
        display: none;
    }
 
}


@media all and (max-width: 960px) {
    .width-constraint.wide {
        padding: 0 1em;
    }
    
    .callout-container {
        flex-direction: column;
        margin-bottom: 3em;
    }
    .callout-container.reversed {
        flex-direction: column;
        margin-bottom: 3em;
    }
    .callout-container .callout-image {
        width: 100%;
        max-width: 500px;
        margin-bottom: 0;
    }
    .callout-container .callout-text, .callout-container.reversed .callout-text  {
        margin: 0;
        width: 100%;
        max-width: 500px;
        
        padding: 2em;
    }
    .callout-container.reversed .callout-image {
        margin-top: 0;

    }

    footer .flex-container .tagline {
        align-self: flex-start;
    }
}

@media all and (max-width: 700px) {

        #mainContent {
            margin-top: 110px;
        }
    #mainContent ul li {
        
        margin-left: .5em;

    }
    .service-boxes {
        flex-direction: column;
        gap: 3em;
    }
    .service-boxes .service-box {
        width: 100%;
        min-width: 0;
        max-width: 500px;
        margin: 0 auto;
    }
    .service-box-image {
        filter: grayscale(0);
    }
    .team {
        flex-direction: column;
        
    }
    img.team-portrait {
        margin: 0;
        margin-bottom: 2em;
        
    }
    form.bisco-form .form-section {
        flex-direction: column;
        gap: 1em;
    }
    form.bisco-form .form-column {
        width: 100%;
    }
}


@media all and (max-width: 600px) {
    #home-video .hero-image .width-constraint.wide {
        position: relative;

    }
    .hero-image .headline { 
        width: auto;
        margin-left: 0;
        text-align: center;
        padding: 0 1em;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: absolute;
        bottom: .5em;
        
        left:0;
        right: 0;
    }
    .hero-image .headline img {
        display: none;
        width: 30%;

    }
    .hero-image .inspection-links {
        display: none;
    }
}