/* 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(../image/mpg_dark.svg) ;
}

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


@font-face {
font-family: "ExtraBold_Font";
src: url("../font/lato/Lato-Black.ttf") format("truetype");
}
@font-face {
font-family: "Bold_Font";
src: url("../font/lato/Lato-Bold.ttf") format("truetype");
}
@font-face {
font-family: "Regular_Font";
src: url("../font/lato/Lato-Regular.ttf") format("truetype");
}
@font-face {
font-family: "Italic_Font";
src: url("../font/lato/Lato-BoldItalic.ttf") format("truetype");
}


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;
}

body { overflow-x: hidden; }

#pagetitle {padding:10px 5px; text-align: center;}
#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:#A6192E; */
  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:150%; color:#A6192E; letter-spacing: 2px; font-family: 'Bold_Font';}
h8 {font-size:110%; color:var(--font-color-body); letter-spacing: 1px; text-decoration: none; font-family: 'Regular_Font'; text-transform: uppercase;}
h9 {font-size:80%; color:#A6192E; letter-spacing: 1px; text-decoration: none; /*font-style: italic;*/ font-family: 'Regular_Font'; text-transform: uppercase;}
h10 {font-size:115%; color:var(--font-color-body); letter-spacing: 1px; font-family: 'Regular_Font';}
h11 {font-size:90%; color:#A6192E; letter-spacing: 1px; text-decoration: none; font-family: 'Regular_Font';}
h12 {font-size:90%; color:var(--font-color); text-decoration: none; /*font-style: italic;*/  font-family: 'Regular_Font';}
h13 {font-size:110%; color:var(--font-color-body); font-stretch: semi-condensed; letter-spacing: 0px; text-decoration: none; font-family: 'Bold_Font'; text-transform: uppercase;}/*narrow version of h8*/

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

a {font-family: 'Regular_Font'; text-decoration: none; color: inherit;}
section {font-family: 'Regular_Font';}
p {font-family: 'Regular_Font';}
li {font-family: 'Bold_Font';}
.two {font-family: 'Italic_Font';}
.bold {font-family: 'Italic_Font';}

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


a.two:link {color:#90383b;text-decoration: none; letter-spacing: 0px; }
a.two:visited {color:#90383b;text-decoration: none; letter-spacing: 0px;}
a.two:active {color:#90383b;text-decoration: none; letter-spacing: 0px;}
a.two:hover {color:var(--font-color);text-decoration: none; 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;
}

/*/// 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%;
}

.span2{
  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: 55.55555555555%;
  margin-top: 8px;
}

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

/* DEFAULT LOGO */
  .span4{
  width: 44.444444%;
  margin-top: 40px;
}

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

.span5{
  width: 83.0833333333%;

}

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

/* DEFAULT LOGO */
.span2 img.logo {
  width: 31.3333333333%;
  margin: 2% 0% 0% 2%;
  content: var(--logo);
}
img.logo {
  height:100px;
  float: left;
  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: 44.2%;
  position: absolute;
  border-bottom: 1px solid rgba(172,32,45,1);
  margin-top: 70px;
  color: rgba(0,0,0,0);
}

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

.span1, .span1half, .span2, .span2n4, .span3, .span4, .span5, .span6{
  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: 0 10% 0 10%;
}

#container {
  padding-bottom: 70px;
}

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

/* FOOTER START */

footer {
  /* padding-top: 10px; */
  background-color:var(--footer-color);
  position: absolute;
  bottom: 0;
  width: 100%;
  min-height: 50px;
  max-height: 100px;
  padding: 15px 0 5px 0;
}

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

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

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

.footerCR {
  margin: auto 0 auto 10%;
}

.footerhome:hover {
  transition: 0.3s;
  /* font-family: 'ExtraBold_Font'; */
  color: rgba(172,32,45,1);
  cursor: pointer;
}

.footeritem {
  transition: 0.3s;
  margin-right: 10px;
  font-family: 'ExtraBold_Font';
  letter-spacing: 1px;
  color: var(--font-color);
  border: var(--footer-color) 0px solid;
}

.footeritem:hover {
  cursor: pointer;
  border-bottom: rgba(172,32,45,1) 1px solid;
}

.footeritem:not(:hover) {
  transition: 0.5s;
}

/* 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 -15.7%;
}

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

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

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

img.homeslide5{
  width: 100%;
  margin: -20% auto -1.7%;
}

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

header{
  background: var(--header-color);
  padding: 0 0% 7px 0%;
}

header h1{
  margin: 0px 0 0 0;
}

#container{
  clear: both;
  padding-top: 4px;
}

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

.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: 7px 0 7px 0; */
}

nav ul.cf{
  /* margin-top: 57px; */
  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: center;
  overflow: visible; /* adjust per media query? */
  float: left;
  width: 25%;
}

nav a.alt{
  text-decoration: none;
  display: block;
  padding: 15px 0 15px 0%;
  margin: 0 2% 0 2%;
  background-color: var(--header-color);
  border-bottom: rgba(172,32,45,1) 1px solid;
  /*background-color: rgba(172,32,45,1);*/
}

nav > ul > li.open .alt, body.notouch nav ul > li:hover .alt, body.notouch nav ul > li:active .alt .alt:hover {
  font-family: "ExtraBold_Font";
}

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;
  display: block;
  padding: 10px 0% 10px 0%;
  margin: 4px 2% 4px 2%;
  /*background-color: rgba(172,32,45,1);*/
}

nav a.altsubvoid {
  text-decoration: none;
  margin: 0;
  display: block;
  padding: 10px 0 10px 0%;
  margin: 4px 2% 4px 2%;
  cursor:default;
  /* background-color: rgba(172,32,45,1); */
}

/* 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 rgba(172,32,45,1);
}

.firstonly {
  z-index: 100;
  background: var(--header-color);
  border-left: 1px dotted rgba(172,32,45,1);
  border-right: 1px dotted rgba(172,32,45,1);
}

.first {
  left: -100%;
  z-index: 100;
  background: var(--header-color);
  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 rgba(172,32,45,1);
}

.second {
  z-index: 101;
  background: var(--header-color);
}

.third {
  left: 100%;
  z-index: 100;
  background: var(--header-color);
  border-right: 1px dotted rgba(172,32,45,1);
}

/* 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: var(--header-color);
  background-color: rgba(172,32,45,1);
}

/*/// 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: #ac162c; transition: 0.3s;}
.homeLinks:hover {fill: rgb(63, 0, 0);}

img.single{
  position: relative;
  display: block;
  float: right;
  max-width: 90%;
  /* max-height: 90%; */
  width: 550px;
  margin-bottom: 10px;
  /* 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 rgba(172,32,45,1);}
.form-field:focus {border: 1px solid rgba(172,32,45,1);}

/* THIS HAS PROBLEMS WITH SAFARI */
.submit-button {
  padding: 5px;
  align-self: center;
  width: 100px;
  font-family: 'Regular_Font';
  background-color: white;
  border: 1px solid rgba(172,32,45,1);
  border-radius: 0px;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0;
  -webkit-text-fill-color: rgba(0, 0, 0, 1);
  -webkit-opacity: 1;
  color: rgba(0, 0, 0, 1);
  background: white;
}

.submit-button:hover {
  font-family: 'Bold_Font';
  color: white;
  background-color: #A6192E;
  border-color: var(--bg-color);
  cursor: pointer;
  -webkit-text-fill-color: white;
  -webkit-opacity: 1;
  color: white;
  background: rgba(172,32,45,1);
}

/* MEDIA QUERIES */

/* SIZE 0.75 */
@media screen and (max-width: 1550px) {
    #container, .inner {
      /* width: 100%; */
      padding: 4px 2% 0 2%;
    }

    #container {
      padding-bottom: 100px;
    }

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

    .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 */
@media screen and (max-width: 1040px){
        nav > ul.cf{
          margin-top: 0px;
        }

        .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%;
        }

        .span3{
          width:100%;
        }

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

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

        # .span2, # .span1, # .span1half, aside{
          width: 50%;
          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:#A6192E; 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;
        }
}

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

          img.homeslide1, img.homeslide2, img.homeslide3, img.homeslide4, img.homeslide5{
            width: 100%;
            margin: 0% auto 0%;
          }

          .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, .span1center, .spanbig3{
            padding:15px 0px 15px 0px;
          }

          h3 {
            font-size:11px;
          }

          h4 {
            font-size:9px;
          }

          nav > ul.cf {
            margin-top: 0px;
            /* display: none; */
          }

          .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 0 18px 0;
          }


          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;
            margin: 0;
            display: block;
            padding: 12px 0 12px 0%;
            margin: 4px 0% 4px 0%;
            /*background-color: rgba(172,32,45,1);*/
          }

          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 rgba(172,32,45,1);
            border-right: 1px dotted rgba(172,32,45,1);
          }

          .second {
            border-left: 1px dotted rgba(172,32,45,1);
            border-right: 1px dotted rgba(172,32,45,1);
          }

          .third {
            left: 0%;
            border-left: 1px dotted rgba(172,32,45,1);
            border-right: 1px dotted rgba(172,32,45,1);
          }

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

          .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%;}
}
/* 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 .persnameon {width: 100%;  -webkit-backface-visibility: hidden;}
  .span1half > .photobox, .span1half > .photoboxon, .span1half .persname, .span1half .persnameon {width: 100%;  -webkit-backface-visibility: hidden;}
   /* Add your styles for devices with a maximum width of 480 */
}


.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: 98%;
  height: auto;
  float: left;
  position: relative;
  text-align: center;
  padding-bottom: 3%;
  line-height: 110%;
}

.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;
  opacity: 1;
  -webkit-backface-visibility: hidden;
}

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

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

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


.caption {
  display: inline-block;
  width: 100%;
  padding-top: 1.5%;
  padding-bottom: 1.5%;
  -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;
  border-bottom: var(--bg-color) 1px solid;
}

#thumbnails .pic:hover .caption {
  border-bottom: rgba(172,32,45,1) 1px solid;
  transition: 0.3s;
  transition-timing-function: ease;
}

#thumbnails .pic:not(:hover) .caption {
  border-bottom: var(--bg-color) 1px solid;
  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: rgba(172,32,45,1) 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:#90383b;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%;
}
