/* CSS file generated by Responsify */
/* Columns: 6, Gutter Width: 1.5, Breakpoints: 480 */
/* TEST FILE */

:root {
    --header-color: #fff;
    --footer-color: #efefef;
    --font-color-body: #000;
    --font-color: #000;
    --bg-color: #fff;
    --icon-color: #fff;
    /* --logo: url(https://www.mpg-architects.com/image/svg/avid_animate.svg) ; */
}

[data-theme="dark"] {
    --header-color: #000;
    --footer-color: #000;
    --font-color-body: #fff;
    --font-color: #fff;
    --bg-color: #000;
    --icon-color: #fff;
  /*  --logo: url(https://www.mpg-architects.com/image/svg/avid_logo_dk.svg) ; */
}


.menu-icon {
  display: none;
}

.menu{ transition: max-height .5s ease-in-out;
}

@font-face {
font-family: "ExtraBold_Font";
src: url("../font/gugg/GuggenheimSansDisplay-ExtraBold.woff2") format("woff2");
}
@font-face {
font-family: "Bold_Font";
src: url("../font/gugg/GuggenheimSansDisplay-Bold.woff2") format("woff2");
}
@font-face {
font-family: "Regular_Font";
src: url("../font/gugg/GuggenheimSans-Regular.woff2") format("woff2");
}
@font-face {
font-family: "Italic_Font";
src: url("../font/gugg/GuggenheimSans-RegularItalic.woff2") format("woff2");
}
@font-face {
font-family: "RegularBold_Font";
src: url("../font/gugg/GuggenheimSans-Bold.woff2") format("woff2");
}


html, php, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio {
  margin:0;
  padding:0;
  border:0;
  outline:0;
  font-size:100%;
  vertical-align:baseline;
  background:transparent;
}

.pad2l, .pad2r {
  margin:20px 0 0 0;
  border: 0px solid #80D2FD;
  font-size:110%;
  color: #000;
  vertical-align:baseline;
  background:transparent;
  font-family: 'Regular_Font'; letter-spacing: 0.05em;
  display:block;
}

.pad2l{padding:15px 10% 0px 20%;}
.pad2r{padding:15px 20% 0px 10%;}

.pad2lin{padding:30px 15% 20px 35%; text-align:center; background-color:#80D2FD; min-height:9.7em;}
.pad2rin{padding:30px 35% 20px 15%; text-align:center; background-color:#47D7AC; min-height:9.7em;}

.pad3 {
  margin:20px 0 0 0;
  padding:15px 5% 15px 20%;
  border: 0px solid #80D2FD;
  font-size:110%;
  color: #fff;
  vertical-align:baseline;
  background:transparent;
  font-family: 'Regular_Font'; letter-spacing: 0.05em;
  display:block;
}

.pad3r {
  margin:20px 0 0 0;
  padding:15px 20% 15px 5%;
  border: 0px solid #80D2FD;
  font-size:110%;
  color: #fff;
  vertical-align:baseline;
  background:transparent;
  font-family: 'Regular_Font'; letter-spacing: 0.05em;
  display:block;
}

.pad3rb {
  margin:20px 0 0 0;
  padding:15px 20% 15px 5%;
  border: 0px solid #80D2FD;
  font-size:110%;
  color: #000;
  vertical-align:baseline;
  background:transparent;
  font-family: 'Regular_Font'; letter-spacing: 0.05em;
  display:block;
}

.pad4 {
  margin:50px 0 0 0;
  padding:30px 10% 0px 10%;
  border: 0px solid #80D2FD;
  font-size:100%;
  color: #000;
  vertical-align:baseline;
  background:transparent;
  font-family: 'Regular_Font'; letter-spacing: 0.05em;
  display:block;
}

.pad5 {
  margin:50px 0 0 0;
  border: 0px solid #80D2FD;
  font-size:110%;
  color: #000;
  vertical-align:baseline;
  font-family: 'Regular_Font'; letter-spacing: 0.05em;
  display:block;
}
.pad5{padding:15px 5px 0px 5px;}

.pad6 {
  margin:0 0 0 0;
  padding:20px 10% 0px 10%;
  border: 0px solid #80D2FD;
  font-size:100%;
  color: #000;
  vertical-align:baseline;
  background:transparent;
  font-family: 'Regular_Font'; letter-spacing: 0.05em;
  display:block;
}



body { overflow-x: hidden; }

#pagetitle {padding:75px 0px 5px 0px; padding-left: 40px; text-align: left;}
#pagetitle2 {padding:20px 0px 0px 0px; padding-left: 40px; text-align: left;}
#pagespacer {padding:10px 5px; text-align: center;}
h3 {
  position: absolute;
  bottom: 8px;
  left: 20px;
  width: 100%;
  font-size:14px;
  font-weight: 200;
  color:#fff;
  text-align: left;
  font-family: 'Regular_Font';
  text-shadow: 1px 1px 2px black;
  z-index: 1200;
}

h4 {
  position: absolute;
  bottom: -8px;
  left: 20px;
  width: 100%;
  font-size:12px;
  font-weight: 200;
  /* color:#80D2FD; */
  color:#fff;
  text-align: left;
  font-family: 'Regular_Font';
  text-shadow: 1px 1px 2px black;
  z-index: 1200;
}

.homeslide {
  position: relative;
}

.cp { /* FIX FOR CEDAR POINT HOMESLIDE */
  transform: translate(0%,-10%);
}

h7 {font-size:300%; color:#000; letter-spacing: 2px; font-family: 'Bold_Font';}
h8 {font-size:160%; color:#fff; letter-spacing: 1px; text-decoration: none; font-family: 'Bold_Font'; text-transform: uppercase;}
h8b {font-size:110%; color:#000; letter-spacing: 1px; text-decoration: none; font-family: 'Bold_Font'; /*text-transform: uppercase;*/}
h9 {font-size:110%; color:#000; letter-spacing: 1px; text-decoration: none; /*font-style: italic;*/ font-family: 'Regular_Font'; text-transform: uppercase;}
h10 {font-size:105%; color:var(--font-color-body); letter-spacing: 1px; font-family: 'Bold_Font';text-transform: uppercase;}
h11 {font-size:90%; color:#000; letter-spacing: 1px; text-decoration: none; font-family: 'Regular_Font';}
h12 {font-size:90%; color:#fff; text-decoration: none; /*font-style: italic;*/  font-family: 'Regular_Font';} /*FOOTER*/
h13 {font-size:110%; color:#fff; font-stretch: semi-condensed; letter-spacing: 0px; text-decoration: none; font-family: 'Bold_Font'; text-transform: uppercase;}/*narrow version of h8*/
h14 {font-size:200%; color:#fff; letter-spacing: 1px; text-decoration: none; line-height: 110%; font-family: 'Bold_Font';}
h15 {font-size:100%; color:#000; letter-spacing: 1px; font-family: 'Regular_Font'; border-left:1px;}
h16 {font-size:250%; color:#fff; letter-spacing: 1px; text-decoration: none; line-height: 110%; font-family: 'Bold_Font';}
h17 {font-size:200%; color:#000; letter-spacing: 1px; text-decoration: none; line-height: 110%; font-family: 'Bold_Font';}
h18 {font-size:150%; color:#000; text-decoration: none; /*font-style: italic;*/ line-height: 110%;  font-family: 'Regular_Font';} /*FOOTER*/
h19 {font-size:300%; color:#fff; letter-spacing: 1px; text-decoration: none; line-height: 110%; font-family: 'Bold_Font';}
h20 {font-size:200%; color:#fff; letter-spacing: 1px; text-decoration: none; line-height: 110%; font-family: 'Bold_Font';}
H21 {color:#fff;}

hr {border-top: 1px solid #80D2FD;}

a {font-family: 'Regular_Font'; text-decoration: none; color: inherit;}
section {font-family: 'Regular_Font'; letter-spacing: 0.05em;}
p {font-family: 'Regular_Font';}
li {font-family: 'RegularBold_Font';}
.two {font-family: 'Italic_Font';}
.bold {font-family: 'Italic_Font';}

.contact-form {
  font-family: 'Bold_Font';
}

.maptime{width:50%;}

a.two:link {color:#000;text-decoration: underline; letter-spacing: 0px; }
a.two:visited {color:#000;text-decoration: underline; letter-spacing: 0px;}
a.two:active {color:#000;text-decoration: underline; letter-spacing: 0px;}
a.two:hover {color:#80d2fd;text-decoration: underline; letter-spacing: 0px;}


article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display:block;
}

nav ul, nav li { margin: 0; }
nav ul, ul { list-style:none; }
ul.bulleted {
  list-style: circle;
  list-style-position: inside;
}

.video-container {
	position:relative;
	padding-bottom:43.5%;
	padding-top:0px;
	height:0;
	overflow:hidden;
}

.video-container iframe, .video-container object, .video-container embed {
	position:absolute;
	top:-25%;
	left:-0%;
	width:100%;
	height:150%;
}

.col{
  margin-left: 0; /* USED TO BE 1.5% */
}

.col:first-child {
  margin-left:0;
}

ul.breadcrumb {
  padding: 40px 0px;
  list-style: none;
}

ul.breadcrumb li {
  display: inline;
  color: #fff;
  font-size: 18px;
}

ul.breadcrumb li+li:before {
  padding: 8px;
  color: #fff;
  content: "/\00a0";
}

ul.breadcrumb li a:hover {
  text-decoration: underline;
}

/*/// SPAN EDITS BEGIN ////////////////////////////////////////*/

.span1, .span1center{/* USED TO BE 15.4166666667%; */
  width: 16.6666666666%;
  padding:10px 5px 10px 5px;
}

.span1half{
  width: 25%;
  padding:10px 5px 10px 5px;
}

.spanbig3{
  width: 20%;
  padding:10px 5px 10px 5px;
}

.span6center{
    width: 100%;
}

.span6margin{
    width: 100%;
    padding-left:35px;
    padding-right:25px;
    position: relative;
}

.span2{
  width: 33.3333333333%; /* USED TO BE 32.3333333333% */
}

.span2quick{
  width: 33.3333333333%; /* USED TO BE 32.3333333333% */
}


.span2g{
  width: 33.3333333333%; /* USED TO BE 32.3333333333% */
}

.jobrow{
  display: flex;
  flex-wrap: wrap;
}

.span2pad {
  flex: 1;
  margin: 0 15px 0 0;
}

.span2n4{/* SPAN 2 NEXT TO SPAN 4 (NOT GALLERY) */
  width: 10%;
  margin-top: 8px;
}

.span3{/* USED TO BE 49.25% */
  width: 50%;
}

.container-box{
  flex: 50%;
  height: auto;
  margin: 10px,50px, 0px, 10px;
  background-color: #EAEAEA;
}

.flex3 {
  flex: 50%; 
  display: flex; 
  flex-direction: column; 
  flex-wrap: wrap;}

.flex3r {
  display: flex; 
  flex-direction: row; 
  flex-wrap: wrap;
  justify-content: space-evenly; 
  background-color: #EAEAEA}

.span4{
  width: 66.6666666666%; /* USED TO BE 32.3333333333% */
}

.span4to6{
  width: 66.6666666666%; /* USED TO BE 32.3333333333% */
}

/* MENU WIDTH */
  .span4menu{
  width: 90%;
  margin-top: 0px;  /* affects menu height position on page */
}

/* 50-YEAR LOGO */
/* .span4{
  width: 44.444444%;
  margin-top: 64px;
} */

.span5{
  width: 83.0833333333%;

}

.span6{
  width: 100%;
  margin-left: 0;
  position: relative;
}

/* DEFAULT LOGO */

object.logo {
  height:60px;
  position: absolute;
  top: 11px;
  left: 35px;
  z-index: 11;
/*  content: var(--logo); */
}

/* 50-YEAR LOGO */
/* .span2 img.logo {
  width: 31.3333333333%;
  margin: 2% 0% 0% 2%;
}
img.logo {
  height:125px;
  float: left;
} */

/* DEFAULT LOGOLINE */
 #logoline {
  width: 53.1%;
  position: absolute;
  border-bottom: 1px solid #80D2FD;
  margin-top: 50px;
  color: rgba(0,0,0,0);
}

 #logoline2 {
  content: '';
  width: 0;
  height: auto;
  position: absolute;
  border: 1px solid black;
  top: 20px;
  bottom:18px;
  left: 20px;
  z-index: 10;
}

 #indexbutton {
  content: '';
  position: absolute;
  border: 0px solid white;
  top: 0px;
  height: 82px;
  left: 0px;
  width:300px;
  z-index: 10;
}

/* 50-YEAR LOGOLINE */
/* #logoline { */
/*  width: 44.25%; */ /* MUST CHANGE WITH BIGGER MONITOR */
/*  position: absolute;
  border-bottom: 1px solid #80D2FD;
  margin-top: 94px; */
  /* margin-left: 8px; */
/*  color: rgba(0,0,0,0);
} */

.span1, .span1half, .span2, .span2quick, .span2n4, .span3, .span4, .span4to6, .span4menu, .span5, .span6, .span6margin{
  float:left;
  -webkit-box-sizing:border-box;
  -moz-box-sizing:border-box;
  box-sizing:border-box;
}

.spanbig3, .span1center{
  display: inline-block;
  text-align: center;
  -webkit-box-sizing:border-box;
  -moz-box-sizing:border-box;
  box-sizing:border-box;
}

.span6center{
  text-align: center;
  overflow: hidden;
  -webkit-box-sizing:border-box;
  -moz-box-sizing:border-box;
  box-sizing:border-box;
}

.span2 img {
  /* max-width: 225px;*/
  /* width: 100%; */
}

.span3 object {
  /* max-width: 225px;*/
  /* width: 100%; */
}

/*/// SPAN EDITS END ////////////////////////////////////////*/

body{
  font-size: 87.5%;
  color: var(--font-color-body);
  /* font-family: 'arialregular', 'Helvetica Neue', Helvetica, Arial, sans-serif; */
  line-height: 1.5em;
  background: var(--bg-color);
  position: relative;
  min-height: 100vh;
}

#container, .inner {
/*///  background-color:var(--bg-color);*/
  margin: 0 auto;
  padding: 0px 0px 0px 0px; /* Top Right Bottom Left */
}

#container {
  padding-bottom: 120px;
}

#slideshow {
  background-color:var(--bg-color);
  margin: 0 auto;
  padding: 4px 0% 0 0%;
}

/* FOOTER START */

footer {
  background-color: #000; /* For browsers that do not support gradients */
  /*background-image: linear-gradient(#fff, #80D2FD);*/
  position: absolute;
  bottom: 0;
  width: 100%;
  min-height: 130px;
  max-height: 150px;
  /*padding: 90px 0 5px 0; */
}

.footercontainer {
  display: flex;
  flex-wrap: wrap;
}

.footermenu {
  /* padding: 0 10%; */
  margin: 75px 0 auto 35px;
  display: flex;
  justify-content: flex-start;
  flex-grow: 1;
}

.footersocialmedia {
  margin: auto 35px auto 0;
  /* padding: 0 10%; */
  display: flex;
  justify-content: flex-end;
  flex-grow: 1;
}

.footerCR {
  margin: auto 0 auto 35px;
}

.footerhome:hover {
  transition: 0.3s;
  /* font-family: 'ExtraBold_Font'; */
  color: #80d2fd;
  cursor: pointer;
}

.footerlogo {
  height:90px;
  position: absolute;
  bottom: 20px;
  right: 30px;
}

.footeritem {
  transition: 0.3s;
  margin-right: 10px;
  font-family: 'ExtraBold_Font';
  letter-spacing: 1px;
}

.footeritem:hover {
  cursor: pointer;
  /*border-bottom: #80D2FD 1px solid;*/
  color: #80D2FD;
}

.footeritem:not(:hover) {
  /*transition: 0.3s;*/
}

/* FOOTER END */
h1{
  font-size: 1.714285714em; /* 24 / 14 */
  line-height: 1.5em; /* 21 / 14 */
}

h2{
  font-size: 1.5em; /* 21 / 14 */
  line-height: 1.5em; /* 21 / 14 */
}

p{
  font-size: 1em; /* 14 / 14 */
  line-height: 1.5em; /* 21 / 14 */
  margin-bottom: 1.5em; /* 21 / 14 */
}

/*/// HOME IMAGE BEGIN ////////////////////////////////////////*/

.crossfade {
  /* width: calc(100% + 66.66%);
  width: 100%;
  position: relative;
  left: -33.333%;
  top: -0px;
  margin: 0 -66.66% -0px 0;
  margin-right: -66.66%;
  background-color: #000;
  height: auto; */
}

.homeslide {
  position: relative;
}

.homeslide-caption {
  bottom: 0;
  min-height: 80px;
  left: 0;
  position: absolute;
  width: 100%;
  z-index: 999999;
  transform: translate3d(0,0,0);
}

img.homeslide1{
  width: 100%;
  margin: -6% auto -16.7%;
}

iframe.homeslide{
  width: 100%;
  margin: -6% auto -2% auto;
  aspect-ratio: 16 / 9;
}

img.homeslide2{
  width: 100%;
  margin: -12% auto -10.7%;
}

img.homeslide3{
  width: 100%;
  margin: -10% auto -12.7%;
}

img.homeslide4{
  width: 100%;
  margin: -8% auto -14.7%;
}

img.homeslide5{
  width: 100%;
  margin: -15% auto -7.7%;
}

/*/// HOME IMAGE END ////////////////////////////////////////*/

header{
  background: var(--header-color);
  min-height:83px;
  padding: 0 0% 0px 0%;
}

/*/// header h1{
  margin: 0px 0 0 0;
  background-color: red;
  background:blue;
} */

#container{
  clear: both;
  padding-top: 0x;
}

#slideshow {
  clear: both;
  padding-top: 0px;
}

.alt{
  color: var(--font-color);
  letter-spacing: 0.05em;
}

.altsub{
  color: var(--font-color);
  letter-spacing: 0.05em;
  text-decoration: none;
}

/*/// NAVIGATION BEGIN ////////////////////////////////////////*/

nav{
  margin: 0px 0 0px 0;
}

nav ul.cf{
  margin-top: 30px;
  margin-right: 15px;
  text-align: right;
  overflow: visible; /* adjust per media query? */
}

nav > ul > li {
  display: inline-block; /* Move to media query? */
  position: relative;  /* Move to media query?? */
  margin: 0 0 0 0;
  text-align: right;
  overflow: visible; /* adjust per media query? */
  float: none;

  /*width: 20%;*/
}

nav a.alt{
  text-decoration: none;
  display: block;
  padding: 0px 25px 0px 25px; /* main top bar menu padding */
  margin: 0 0px 0px 0px;
  background-color: var(--header-color);
  border-bottom: rgba(129,209,244,0) 0px solid;
  font-family: "Bold_Font";
  font-size: 1.5em;
  background-color: rgba(129,209,244,0);
}

nav > ul > li.open .alt, body.notouch nav ul > li:hover .alt, body.notouch nav ul > li:active .alt .alt:hover {
  color: rgba(129,209,244,1);
  /*transition: 0.3s;*/
  /*text-decoration: underline;
  text-underline-offset: 10px;
  text-decoration-thickness: 4px; */
}

nav > ul > li > ul {
  position: absolute;
  top: 100%;
  z-index: -100;
  max-height: 0px;
  width: 100%;
  text-align: center;
  filter:alpha(opacity=0);
  overflow: hidden;
  -webkit-transition: max-height 0.1s ease-in;
  -moz-transition: max-height 0.1s ease-in;
  -o-transition: max-height 0.1s ease-in;
  -ms-transition: max-height 0.1s ease-in;
  transition: max-height 0.1s ease-in;
}

nav a.altsub{
  text-decoration: none;
  margin: 0 0 0 0;
  display: block;
  padding: 10px 0% 10px 0%;
  margin: 0px; /*margin around menu hover pieces*/
  /*background-color: #80D2FD;*/
}

nav a.altsubvoid {
  text-decoration: none;
  margin: 0;
  display: block;
  padding: 10px 0 10px 0%;
  margin: 4px 0% 4px 0%;
  cursor:default;
  /* background-color: #80D2FD; */
}

/* THE DROPDOWN MENU BACKGROUNDS (BELOW: .FIRST, .FIRSTONLY, .SECOND, .THIRD) */
nav > ul > li.open > ul, nav > ul > li:focus > ul {
  /*  border-style: solid;
  border-top: 4px;
  border-top-color:red;  DOESNT WORK!! */
  display: block;
  position: absolute;
  top: 100%;
  z-index: 100;
  height: auto;
  visibility: visible;
  overflow: hidden;
  opacity:1;
  filter:alpha(opacity=100);
  max-height: 300px;
  /* drop down speed of menus */
  -webkit-transition: max-height 0.2s ease-in;
  -moz-transition: max-height 0.2s ease-in;
  -o-transition: max-height 0.2s ease-in;
  -ms-transition: max-height 0.2s ease-in;
  transition: max-height 0.2s ease-in;
  /*border-bottom: 1px dotted #80D2FD;*/
}

.firstonly {
  z-index: 100;
  margin-top: 32px;
  background: #80d2fd;
  /*border-left: 1px dotted #80D2FD;*/
  /*border-right: 1px dotted #80D2FD;*/
}

.first {
  left: -100%;
  z-index: 100;
  background: #80d2fd;
  padding-right: 10px;   /*  backup to make sure no white in between dropdown columns as seen on ipad*/
  margin-right: -10px;   /*  backup to make sure no white in between dropdown columns as seen on ipad*/
  border-left: 1px dotted #80D2FD;
}

.second {
  z-index: 101;
  background: #80d2fd;
}

.third {
  left: 100%;
  z-index: 100;
  background: #80d2fd;
  /*border-right: 1px dotted #80D2FD;*/
}

/* THE DROPDOWN MENU'S SELECTABLE ITEMS (I.E. SERVICES, AUTOMOTIVE, ETC) */
nav > ul > li > ul > li:hover .altsub, nav > ul > li > ul > li:focus .altsub {
  color: #000;
  background-color: #fff;
}

/*/// NAVIGATION END ////////////////////////////////////////*/

/* Personnel Page */

.span1 > .photobox, .span1 > .photoboxon, .span1 .persname, .span1 .persnameon {width: 100%;  -webkit-backface-visibility: hidden;}
.span1center > .photobox, .span1center > .photoboxon, .span1center .persname, .span1center .persnameon {width: 100%;  -webkit-backface-visibility: hidden;}
.spanbig3 > .photobox, .spanbig3 > .photoboxon, .spanbig3 .persname, .spanbig3 .persnameon {width: 100%;  -webkit-backface-visibility: hidden;}
.span1half > .photobox, .span1half > .photoboxon, .span1half .persname, .span1half .persnameon {width: 100%;  -webkit-backface-visibility: hidden;}
.span2 > .photobox, .span2 > .photoboxon, .span2 .persname, .span2 .persnameon {width: 80%;  -webkit-backface-visibility: hidden;}

.photobox, .photoboxon{position:relative; background:var(--bg-color);; overflow:hidden; margin: 0 auto; -webkit-backface-visibility: hidden;}

.persname, .persnameon {
  display: block;
  margin: 0 auto;
  text-align: center;
  -webkit-transition: background-color .25s ease-in-out;
  -moz-transition: background-color .25s ease-in-out;
  -o-transition: background-color .25s ease-in-out;
  -ms-transition: background-color .25s ease-in-out;
  transition: background-color .25s ease-in-out;
  -webkit-backface-visibility: hidden;
  padding-top: 1.5%;
  padding-bottom: 1.5%;
  white-space: nowrap;
  overflow: hidden;
  /*text-overflow: ellipsis;*/
}

.photobox img, .photoboxon img {
  width: 100%;
}

.photobox img:not(:hover){
  transition: 0.5s;
  transform: scale(100%);
}

.photobox img:hover{
  transform: scale(105%);
  transition: 0.5s;
  /* filter: grayscale(100%); */
}

/* Personnel Page End (more below) */


/* Micro Clearfix */

/* For modern browsers */
.cf:before,
.cf:after {
  content:"";
  display:table;
}

.cf:after {
  clear:both;
}

/* For IE 6/7 (trigger hasLayout) */
.cf {
  *zoom:1;
}

/* HOMEPAGE: ICON LINK HOVERS */
#navlist li, #navlist a {height: 36px; width: 36px; float: right; margin: 0 0 5px 5px;}

.homeLinks {height: 36px; width: 36px; fill: #000; transition: 0.3s;}
.homeLinks:hover {fill: #80D2FD;}

img.single{
  position: relative;
  display: block;
  float: right;
  max-width: 90%;
  /* max-height: 90%; */
  width: 550px;
  margin-bottom: 10px;
  /* margin-right: 30px; */
}

img.single2{
  position: relative;
  display: block;
  float: right;
  max-width: 100%;
  /* max-height: 90%; */
  margin-bottom: 10px;
  /* margin-right: 30px; */
}

img.single2left{
  position: relative;
  display: block;
  float: left;
  max-width: 95%;
  margin-bottom: 20px;
  /* max-height: 90%; */
  /* margin-right: 30px; */
}

img.single2center{
  position: relative;
  display: block;
  float: none;
  max-width: 95%;
  margin-bottom: 20px;
  /* max-height: 90%; */
  /* margin-right: 30px; */
}
img.single2right{
  position: relative;
  display: block;
  float: right;
  max-width: 95%;
  margin-bottom: 20px;
  /* max-height: 90%; */
  /* margin-right: 30px; */
}


#contactImg {}
#contactImg img {float:right; height: 500px; object-fit:cover; object-position: left;}
#address1 {text-align: center; display: block;}
#address2 {text-align: center; display: none;}

.form-field {
  width:90%;
  padding: 10px 5px;
  border: 1px dotted grey;
  border-bottom: 1px solid black;
  border-radius: 0px;
  background-color: white;
  font-family: 'Regular_Font';
  outline: none;
}
.form-field:hover {border-bottom: 1px solid #80D2FD;}
.form-field:focus {border: 1px solid #80D2FD;}

/* THIS HAS PROBLEMS WITH SAFARI */
.submit-button {
  padding: 12px 16px 12px 16px;
  align-self: center;
  font-size: 1.1em;
  font-family: 'Bold_Font';
  letter-spacing: 0.05em;
  background-color: #47D7AC;
  border: 1px solid #47D7AC;
  border-radius: 0px;
  outline: none;
  transition: 0.3s;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0;
  -webkit-text-fill-color: rgba(0, 0, 0, 1);
  -webkit-opacity: 1;
}

.submit-button:hover {
  border: 1px solid #47D7AC;
  background-color: white;
  cursor: pointer;
  -webkit-opacity: 1;
  transition: 0.3s;
}




.pic a:link {text-decoration: none;}
.pic a:visited {text-decoration: none;}
.pic a:active {text-decoration: none;}
.pic a:hover {text-decoration: none;}

#thumbnails .pic {
  width: 97%;
  height: auto;
/*previously had float here */
  position: relative;
  text-align: left;
  padding-bottom: 3%;
  line-height: 110%;
  background-color:rgba(129,209,244,1);
  background-clip: content-box;
}

.pic img {
  vertical-align: top;
  display: inline-block;
  width: 100%;
  -webkit-transition: opacity 400ms ease-out;
  -moz-transition: opacity 400ms ease-out;
  -o-transition: opacity 400ms ease-out;
  -ms-transition: opacity 400ms ease-out;
  transition: opacity 400ms ease-out;
  left: 0;
  -webkit-backface-visibility: hidden;
}

.imgcrop {
  width: auto;
  overflow: hidden;
}

#thumbnails .pic:hover img {
  transition: 0.3s;
  transition-timing-function: ease;
  transform: scale(108%);
  opacity:0.4;
}

#thumbnails .pic:not(:hover) img {
  transition: 0.5s;
  transition-timing-function: ease;
  transform: scale(100%);
  opacity: 1;
}


.caption {
  position: absolute;
  bottom: 20px;
  left: 25px;
  opacity: 0;
  -webkit-transition: background-color 400ms ease-out;
  -moz-transition: background-color 400ms ease-out;
  -o-transition: background-color 400ms ease-out;
  -ms-transition: background-color 400ms ease-out;
  transition: background-color 400ms ease-out;
}

#thumbnails .pic:hover .caption {
  opacity: 1;
  bottom: 45px;
  transition: 0.3s;
  transition-timing-function: ease;
}

#thumbnails .pic:not(:hover) .caption {
  opacity: 0;
  bottom: 20px;
  transition: 0.5s;
  transition-timing-function: ease;
}


.picper a:link {text-decoration: none;}
.picper a:visited {text-decoration: none;}
.picper a:active {text-decoration: none;}
.picper a:hover {text-decoration: none;}




#box{
  position:relative;
  padding-bottom: .5%;
  -webkit-backface-visibility: hidden;
}

#box:hover {
  border-bottom: #80D2FD 1px solid;
  transition: 0.3s;
}

#box:not(:hover) {
  border-bottom: var(--bg-color) 1px solid;
  transition: 0.5s;
}

#box a {
  cursor: default;
}

.photobox img{display:block; opacity:1;
  transition: opacity .25s ease-in-out;
  -moz-transition: opacity .25s ease-in-out;
  -webkit-transition: opacity .25s ease-in-out;
  -o-transition: opacity .25s ease-in-out;
  -ms-transition: opacity .25s ease-in-out;
  -webkit-backface-visibility: hidden;
}

.photoboxon img{display:block; opacity:.75; -webkit-backface-visibility: hidden;}

#contact {
  position:absolute;
  display: none;
  background: #efefef;
  color: #fff;
  width:100%;
  bottom:0;
}

.persname {
  background:var(--bg-color);  -webkit-backface-visibility: hidden;
}
.persnameon {
  background:var(--bg-color);  -webkit-backface-visibility: hidden;
}

a.clearlink:link {color:#000;text-decoration: none; letter-spacing: 0px;}
a.clearlink:visited {color:#000;text-decoration: none; letter-spacing: 0px;}
a.clearlink:active {color:#000;text-decoration: none; letter-spacing: 0px;}
a.clearlink:hover {color:#80D2FD;text-decoration: none; letter-spacing: 0px;}


/*Simple css to style Dark mode like a toggle switch*/
.theme-switch-wrapper {
  display: flex;
  align-items: center;

  em {
    margin-left: 10px;
    font-size: 1rem;
  }
}
.theme-switch {
  display: inline-block;
  height: 14px;
  position: relative;
  width: 24px;
}

.theme-switch input {
  display:none;
}

.slider {
  background-color: #ccc;
  bottom: 0;
  cursor: pointer;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: .4s;
}

.slider:before {
  background-color: #fff;
  bottom: 2px;
  content: "";
  height: 10px;
  left: 2px;
  position: absolute;
  transition: .4s;
  width: 10px;
}

input:checked + .slider {
  background-color: #303030;
  /*background-color: #66bb6a; */
}

input:checked + .slider:before {
  transform: translateX(10px);
}

.slider.round {
  border-radius: 14px;
}

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


/* Filter photos on project page */

.buttons {
  display: flex;
  justify-content: left;
  align-items: center;
  flex-wrap: wrap;
  margin-left: 36px;
}

.buttons .dummy {
  width:0;
  visibility:0;
  opacity:0;
  margin: 0px;
  padding: 0px 0px;
  }

.buttons button {
  margin: 0px 0px 10px 0px;
  padding: 12px 16px 12px 16px; /*top right bottom left */
  font-size: 1.1em;
  font-family: 'Regular_Font';
  letter-spacing: 0.05em;
  /*text-transform: uppercase;*/
  border: none;
  background: #fff;
  color: #57585A;  
  border: 1px solid #fff;
  /*border-radius: 0.2em; */
  cursor: pointer;
  transition: 0.3s;
}

.buttons button:hover{
  background: #D1D2D4;
  border: 1px solid #D1D2D4;
  color: #000;
}

.buttons .btn-clicked {
  background: #80D2FD;
  color: #000;
  border: 1px solid #80D2FD;
}

.images {
  max-width: 100%;
  margin-top: 0;
  margin-bottom: 10px;
  margin-left:38px;
  margin-right:10px;
  display: flex; 
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
}

.span2g {
  transition: 1s;
}

/*Classes for Javascript*/
.images .img-expand {
  max-width: 750px;
    overflow: hidden;
}

.images .img-shrink {
  width: 0;
  overflow: hidden;
}

/*Call To Action Buttons*/
.cta {
  display: inline-block;
  margin: 20px 20px 20px 20px;
  padding: 12px 16px 12px 16px; /*top right bottom left */
  font-size: 1.1em;
  font-family: 'Regular_Font';
  letter-spacing: 0.05em;
  /*text-transform: uppercase;*/
  background: #80d2fd;
  color: #000;  
  border: 1px solid #80d2fd;
  /*border-radius: 0.2em; */
  cursor: pointer;
  transition: 0.3s;
}

.cta:hover{
  background: #fff;
  border: 1px solid #80d2fd;
  color: #000;
}

.cta2 {
  display: inline-block;
  margin: 20px 20px 20px 10px;
  padding: 12px 16px 12px 16px; /*top right bottom left */
  font-size: 1.1em;
  font-family: 'Regular_Font';
  letter-spacing: 0.05em;
  /*text-transform: uppercase;*/
  background: #47D7AC;
  color: #000;  
  border: 1px solid #47D7AC;
  /*border-radius: 0.2em; */
  cursor: pointer;
  transition: 0.3s;
}

.cta2:hover{
  background: #fff;
  border: 1px solid #47D7AC;
  color: #000;
}

.pattern {
background-image: url("../image/pattern/AVID-Pattern-Tile-Black.png");
background-color:#1B1B1A;
background-size:200px;
background-repeat: repeat-x repeat-y;
background-position: right top;
padding:0px 0 80px 0;
}

.pattern2 {
background-color:#1A1B1B;
background-size:200px;
background-repeat: repeat-x repeat-y;
background-position: right top;
padding:75px 0 90px 0;
color: #fff;
}




/* Hamburger Menu Container */
.hamburger-menu {
  position: relative;
}

/* Hide the Checkbox */
#menu-toggle {
  display: none;
}

/* Hamburger Icon */
.menu-icon {
  position:absolute;
  top:20px;
  right:25px;
  flex-direction: column;
  cursor: pointer;
  width: 30px;
  gap: 5px;
}

.menu-icon span {
  background-color: #000;
  height: 4px;
  border-radius: 2px;
  transition:
    transform 0.3s,
    background-color 0.3s;
}


/* Show Menu on Checkbox Checked */
#menu-toggle:checked ~ .menu {
  max-height: 1000px;
  overflow: hidden;
  display: block;
}

#menu-toggle:checked ~ nav > ul.cf {max-height: 500px;}


/* Animate Hamburger Icon */
#menu-toggle:checked + .menu-icon span:nth-child(1) {
  transform: rotate(45deg) translateY(12px);
  width: 37px;
}

#menu-toggle:checked + .menu-icon span:nth-child(2) {
  background-color: transparent;
}

#menu-toggle:checked + .menu-icon span:nth-child(3) {
  transform: rotate(-45deg) translateY(-12px);
  width: 37px;
}

/* MEDIA QUERIES */

/* SIZE 0.75 */
@media screen and (max-width: 1550px) {
   
        .span4to6, article {
          width: 100%;
          margin-top: 0;
        }

    /* #container, .inner {*/
      /* width: 100%; */
/*     padding: 0px 0% 0 0%;
    }

    #container {
      padding-bottom: 100px;
    }

    #slideshow {
      padding: 0px 0% 0 0%;
    }

    .footermenu {
      margin: auto 0 auto 2%;
    }

    .footersocialmedia {
      margin: auto 2% auto 0;
    }

    .footerCR {
      margin: auto 0 auto 2%;
    }
*/
    /* DEFAULT LOGO */
     #logoline {
      width: 53.1%;
    }

    /* 50-YEAR LOGO */
    /* #logoline {
      width: 53.1%;
    } */

    .crossfade { /*this is the thing that resizes the home slideshow */
      position: relative;
      top: -0px;
      margin: 0 -2% -0 -2%; /* Top Right Bottom Left */
      height: auto;
    }
}

/* @media screen and (max-width: 1250px) {

        .crossfade {  width: calc(100% + 11.11%);
          position: relative;
          left: -5.555%;
          top: -0px;
          margin: 0 -11.11% -0px 0;
          margin-right: -11.11%;
          height: auto;
        }
} */

/* SIZE 0.5 formerly 1040*/
@media screen and (max-width: 1390px){
        nav > ul.cf{
          max-height: 0;
          overflow:hidden;
          margin-top: 0px;
          margin-right: 0px;
        }

        .menu {
          padding-top: 75px;
          max-height: 0;
        }
        /* Hamburger Icon */
        .menu-icon {
        display: flex;
        }

        .maptime{width:100%;}

        .span1, .span1center, .spanbig3{
          padding:10px 0px 10px 0px;
          text-align: center;
          width: 50%
        }

        .spanbig3, .span1center{  float:left;}

        .span1half{
          padding:10px 0px 10px 0px;
          text-align: center;
        }

        .span2{ /*previously "nav .span2"*/
          padding:10px 0px 10px 0px;
          width: 50%;
        }

        .span2g{
          padding:10px 0px 10px 0px;
          width: 50%;
        }

        .span3{
          width:100%;
        }

        .flex3 {flex: 100%; }


        .pad2l, .pad2r, .pad3 {
          margin:20px 0 0 0;
          padding:15px 10% 15px 10%;
        }

        .pad2lin, .pad2rin {
          padding:30px 10% 20px 10%;
          margin:0;
        }

        #navlist{text-align: center;}
        #navlist li, #navlist a {display: inline-block; float:none;}

        .span4, .span4to6, .span4menu, article {
          width: 100%;
          margin-top: 0;
        }

        # .span2, # .span2g, # .span1, # .span1half, aside{
          width: 50%;
          margin-left: 0;
        }

        .span2quick{
          width: 100%;
          margin-left: 0;
        }

        .span2n4, aside{
          width: 100%;
          margin-left: 0;
        }

        /* DEFAULT LOGO */
        .span2 img.logo {
          max-width: 200px;
          width: 100%;
          margin: 15px 10% 0px 10%;
        }

        /* 50-YEAR LOGO */
        /* .span2 img.logo {
          max-width: 200px;
          width: 100%;
          margin: 15px 10% 0px 10%;
        }  */

        /* SAME FOR 50-YEAR & DEFAULT */
        img.logo {
          float:none;
        }

        /* DEFAULT LOGO */
          #logoline {
          width: 143.83px;
          left: 50%;
          transform: translate(-50%, 0%);
        }

        /* 50-YEAR LOGO */
        /* #logoline {
          margin-left: 0px;
          width: 139px;
          left: 50%;
          transform: translate(-50%, 0%);
        } */

        /* .crossfade {  width: calc(100% + 11.11%);
          position: relative;
          left: -5.555%;
          top: -0px;
          margin: 0 -11.11% -0px 0;
          margin-right: -11.11%;
          height: auto;
        } */

        .span1 > .photobox, .span1 > .photoboxon, .span1 .persname, .span1 .persnameon {width: 90%;  -webkit-backface-visibility: hidden;}
        .span1center > .photobox, .span1center > .photoboxon, .span1center .persname, .span1center .persnameon {width: 90%;  -webkit-backface-visibility: hidden;}
        .spanbig3 > .photobox, .spanbig3 > .photoboxon, .spanbig3 .persname, .spanbig3 .persnameon {width: 90%;  -webkit-backface-visibility: hidden;}
        .span2 > .photobox, .span2 > .photoboxon, .span2 .persname, .span2 .persnameon {width: 90%;  -webkit-backface-visibility: hidden;}
        .span1half > .photobox, .span1half > .photoboxon, .span1half .persname, .span1half .persnameon {width: 90%;  -webkit-backface-visibility: hidden;}

        h11 {font-size:110%; color:#000; letter-spacing: 1px; text-decoration: none;}

        .video- {
          position:relative;
          padding-bottom:50%;
          padding-top:0px;
          height:0;
          overflow:hidden;
        }

        .video- iframe, .video- object, .video- embed {
          position:absolute;
          top:-20%;
          left:-10%;
          width:120%;
          height:140%;
        }

        .span2 img.single{
          max-width: 100%
          float: none;
          width: unset;
          margin: 0 auto 10px auto;
        }

        #contactImg {width:50%}
        #address1 {display: none;}
        #address2 {display: block; width: 100%}


        #pagespacer {display:none;}

        img.single{
          float:none;
          margin: 0 auto;
        }


          .nested {
            display: block;
            width: 100%;
            padding: 18px 0 18px 0;
            margin: 0 0 5px 0;
          }

          nav > ul > li {
            width: 100%;
            margin: 0 0 5px 0;
            position: static;
            display: inline;
          }

          nav a.alt {
            margin: 0;
            padding: 18px 25px 18px 0;
            background-color: #000;
            color: #fff;
          }


          nav > ul > li > ul {
            display: block;
            position: static;
            top: 0;
            z-index: -100;
            max-height: 0px;
            width: 100%;
            text-align: center;
            filter:alpha(opacity=0);
            overflow: hidden;
            -webkit-transition: max-height 0.35s ease-in;
            -moz-transition: max-height 0.35s ease-in;
            -o-transition: max-height 0.35s ease-in;
            -ms-transition: max-height 0.35s ease-in;
            transition: max-height 0.35s ease-in;
          }


          nav > ul > li.open > ul, nav > ul > li:focus > ul {
            display: block;
            position: static;
            top: 0;
            z-index: 100;
            text-align: center;
            width: 100%;
            overflow: hidden;
            visibility: visible;
            opacity:1;
            filter:alpha(opacity=100);
            max-height: 300px;
            -webkit-transition: max-height 0.5s ease-in;
            -moz-transition: max-height 0.5s ease-in;
            -o-transition: max-height 0.5s ease-in;
            -ms-transition: max-height 0.5s ease-in;
            transition: max-height 0.5s ease-in;
          }

          nav a.altsub {
            text-decoration: none;
            text-align: right;
            margin: 0;
            display: block;
            padding: 12px 25px 12px 0%;
            margin: 0px 0% 0px 0%;
          }

          nav a.altsubvoid {
            visibility: hidden;
            display: none;
          }

          .firstonly {
            padding: 0 0; /*  trick from css-tricks comments */
            margin: 0 0; /* trick from css-tricks comments */
          }

          .first {
            padding: 0 0; /*  trick from css-tricks comments */
            margin: 0 0; /* trick from css-tricks comments */
            left: 0%;
            border-left: 1px dotted #80D2FD;
            border-right: 1px dotted #80D2FD;
          }

          .second {
            border-left: 1px dotted #80D2FD;
            border-right: 1px dotted #80D2FD;
          }

          .third {
            left: 0%;
            border-left: 1px dotted #80D2FD;
            border-right: 1px dotted #80D2FD;
          }

          nav > ul > li.open > .first, nav > ul > li.open > .second {
            border-bottom: none;
          }

          img.single2left{
            float: left;
            max-width: 95%;
            width: 100%;
          }

          img.single2center{
            float: right;
            max-width: 95%;
            width: 100%;
          }
          
          img.single2right{
            float: none;
            max-width: 100%;
            width: 100%;
          }


}

/* SIZE 0.25 */
@media screen and (max-width: 650px) {
          .span2, .span2g, .span2quick, .span2g, .span3, #container .span1, #container .span1half, #container .span1center, #container .spanbig3, aside{
            width: 100%;
            margin-left: 0;
          }


          .images .img-expand {  /* attempts to fix screen issues when reduced width */
            max-width: 630px;
          }

          .images{margin-left:25px;}


          .span6margin{
            padding-left:0px;
            padding-right:0px;
          }

          img.homeslide1, img.homeslide2, img.homeslide3, img.homeslide4, img.homeslide5{

          }

          .cp {
            transform: unset;
          }

          footer {
            text-align: center;
          }

          .footercontainer {
            width:100%;
          }

          .footermenu {
            justify-content: center;
            width:100%;
            margin:auto;
          }

          .footersocialmedia {
            justify-content: center;
            width:100%;
            margin:auto;
          }

          .footerCR {
            margin:auto;
          }

          #homesocialmediafooter {
            display: none;
          }

          .footeritem {
            margin: 0 5px;
          }

          /*img.homeslide6{
              width: 175%;
              margin: -25% -37.5%;
          }*/

          /* DEFAULT LOGO */
            img.logo {
            height:150px;
          }

          /* 50-YEAR LOGO */
          /* img.logo {
            height:150px;
          } */

          /* DEFAULT LOGO */
            #logoline {
            width: 215.75px;
            margin-top: 111px;
          }

          /* 50-YEAR LOGO */
          /* #logoline {
            width: 168px;
            margin-top: 115px;
          } */

          .span1, .span1half, .span2, .span2g, .span1center, .spanbig3{
            padding:15px 0px 15px 0px;
          }

          h3 {
            font-size:11px;
          }

          h4 {
            font-size:9px;
          }

          .span1 > .photobox, .span1 > .photoboxon, .span1 .persname, .span1 .persnameon {width: 90%;  -webkit-backface-visibility: hidden;}
          .span1center > .photobox, .span1center > .photoboxon, .span1center .persname, .span1center .persnameon {width: 90%;  -webkit-backface-visibility: hidden;}
          .spanbig3 > .photobox, .spanbig3 > .photoboxon, .spanbig3 .persname, .spanbig3 .persnameon {width: 90%;  -webkit-backface-visibility: hidden;}
          .span2 > .photobox, .span2 > .photoboxon, .span2 .persname, .span2 .persnameon {width: 90%;  -webkit-backface-visibility: hidden;}
          .span1half > .photobox, .span1half > .photoboxon, .span1half .persname, .span1half .persnameon {width: 90%;  -webkit-backface-visibility: hidden;}

          .video-container {
            position:relative;
            padding-bottom:65%;
            padding-top:0px;
            height:0;
            overflow:hidden;
          }

          .video-container iframe, .video-container object, .video-container embed {
            position:absolute;
            top:-20%;
            left:-10%;
            width:120%;
            height:140%;
          }

          h3 {bottom: 25px; left: 12px;}
          h4 {bottom: 9px; left: 12px;}

          #contactImg img {
            align-self: center;
            float:none; height:
            unset;
            object-fit:unset;
          }
          #contactImg {margin: 0 auto; width:100%;}
          #form-container {margin: 0 5%;}

          img.single2left, img.single2center, img.single2right{
            float: none;
            max-width: 100%;
            width: 100%;
          }
}
/* Custom Breakpoints */

@media screen and (max-width: 480px) {
  .span1 > .photobox, .span1 > .photoboxon, .span1 .persname, .span1 .persnameon {width: 100%;  -webkit-backface-visibility: hidden;}
  .span1center > .photobox, .span1center > .photoboxon, .span1center .persname, .span1center .persnameon {width: 100%;  -webkit-backface-visibility: hidden;}
  .spanbig3 > .photobox, .spanbig3 > .photoboxon, .spanbig3 .persname, .spanbig3 .persnameon {width: 100%;  -webkit-backface-visibility: hidden;}
  .span2 > .photobox, .span2 > .photoboxon, .span2 .persname, .span2, .span2quick, .persnameon {width: 100%;  -webkit-backface-visibility: hidden;}
  .span1half > .photobox, .span1half > .photoboxon, .span1half .persname, .span1half .persnameon {width: 100%;  -webkit-backface-visibility: hidden;}
            .images .img-expand {  /* fixes screen issues when reduced width */
            max-width: 460px;
          }

   /* Add your styles for devices with a maximum width of 480 */
}

.alert {
  padding: 20px;
  background-color: #80d2fd;
  color: black;
}

.closebtn {
  margin-left: 15px;
  color: black;
  font-weight: bold;
  float: right;
  font-size: 22px;
  line-height: 20px;
  cursor: pointer;
  transition: 0.3s;
}

.closebtn:hover {
  color: white;
}