body {
  background-image: url(../images/background_sky.jpg);
  -ms-interpolation-mode: nearest-neighbor;
  image-rendering: pixelated;
  text-align: center;
  margin: 0;
  padding: 0;
}

html {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

#header {
  margin-top: 20px;
}

img {
  max-width: 100%;
  height: auto;
}

#date {
  font-size: 19px;
  font-style: italic;
}

#wrapper {
  border: 1px solid grey;
  border-top-color: white;
  border-left-color: white;
  padding: 1px;
  display: flex;
}

#nav {
  border: 1px solid grey;
  border-bottom-color: white;
  border-right-color: white;
  width: 30%;
  float: left;
  padding: 20px;
}

#content {
  border: 1px solid grey;
  border-bottom-color: white;
  border-right-color: white;
  width: 70%;
  margin-left: 1px;
  float: right;
  padding: 20px;
}

#wrapper::after {
  content: "";
  clear: both;
  display: table;
}

h1 {
  margin: 30px 0 40px 0;
}

h1.smaller, .larger, .intro-heading {
  font-size: 18px;
  margin: 15px 0 30px 0;
  letter-spacing: 0.85px;
  font-weight: bold;
}

#nav ul {
  background: navy;
  border: 1px solid grey;
  border-top-color: white;
  border-left-color: white;
  padding: 3px 5px;
  margin: 0;
  list-style: none;
}
#nav ul li {
  border: 1px solid grey;
  border-bottom-color: white;
  margin: 2px 0;
  border-right-color: white;
}
#nav ul li a {
  color: #fff;
  font-size: 18px;
  padding: 15px 10px;
  display: block;
}
#nav ul li a#active {
  font-weight: bold;
}

h5 {
  font-size: 14px;
  margin-bottom: 10px;
}

#article {
  max-width: 500px;
  margin: 0 auto;
}

#article-2 {
  max-width: 620px;
  margin: 0 auto;
}

.has-to-be-bigger {
  font-size: 23px;
  font-weight: bold;
  letter-spacing: 0.49px;
  margin-bottom: 0;
}

.view {
  margin: 10px auto 20px auto;
}

.footer {
  margin-top: 100px;
}
.footer.view {
  margin-bottom: 0;
}

.table {
  text-align: left;
}
.table p {
  line-height: 1.3;
  font-size: 17px;
}

.left {
  float: left;
  margin-right: 15px;
}

.right {
  float: right;
  margin-left: 15px;
}

#my-work {
  text-align: left;
  list-style: none;
  margin: 0;
  margin-left: -30px;
}
#my-work li {
  background: url(../images/bullet.png) 0 2px no-repeat;
  padding-left: 30px;
  margin-bottom: 40px;
}

.new {
  font-family: Helvetica;
  font-weight: bold;
  font-style: italic;
  font-size: 15px;
  color: #FF0000;
  letter-spacing: 0.25px;
}

.download {
  float: left;
  width: 50%;
}

.row::after {
  content: "";
  clear: both;
  display: table;
}

p.text-left {
  text-align: left;
}

.popup-holder {
  float: left;
  margin-bottom: 20px;
  text-align: center;
  width: 33.33%;
}
.popup-holder img {
  max-width: 100%;
  height: auto;
  box-shadow: 3px 3px 4px 0 rgba(0, 0, 0, 0.32);
}

/*  popup box  */
#popupBox {
  background: #fff;
  display: none;
  border: 3px solid #ccc;
}

#popupBox2, #popupBox3 {
  background: #fff;
  display: none;
}

#popupBox2 td, #popupBox3 td {
  background: #fff;
  padding: 0;
}

.contentBox {
  overflow-y: scroll;
  height: 270px;
}

.popupContent {
  background: #fff;
}

.popupContent .popClose {
  float: right;
  display: block;
  height: 16px;
  width: 16px;
  background: url(img/closeBut.jpg) no-repeat;
  text-indent: -9000px;
}

.popupClose {
  display: block;
  position: absolute;
  top: 5px;
  right: 5px;
  height: 16px;
  width: 16px;
  text-indent: -9000px;
  background: url(img/closeBut.jpg) no-repeat;
}

.galleryTitle {
  font-size: 1.3em;
  text-align: center;
}

.popupContent .pop2 {
  font-size: 1.2em;
  text-align: center;
  padding: 30px;
}

.popupContent .galleryTitle {
  position: relative;
}

.galleryControls {
  overflow: hidden;
  line-height: 40px;
}

.galleryControls a {
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
  text-transform: uppercase;
}

.galleryControls .prev {
  float: left;
  margin-left: 20px;
}

.galleryControls .next {
  float: right;
  margin-right: 20px;
}

.popup {
  cursor: pointer;
}

.galleryControls p {
  text-align: center;
}

.imageDesc {
  min-height: 50px;
  line-height: 15px;
  text-align: left;
}

.imageDesc p {
  padding: 5px 10px;
  color: #fff;
  font-size: 12px;
}

.popupBtns {
  padding: 20px;
}

.popupBtns input {
  margin-right: 20px;
  font-size: 14px;
}

#fixedGallery .popupContent {
  background: #f3f3f3;
}

#fixedGallery .popupTL {
  background: url(img/popupTL.png) no-repeat;
  _background: none;
}

#fixedGallery .popupTR {
  background: url(img/popupTR.png) no-repeat;
  _background: none;
}

#fixedGallery .popupBL {
  background: url(img/popupBL.png) no-repeat;
  _background: none;
}

#fixedGallery .popupBR {
  background: url(img/popupBR.png) no-repeat;
  _background: none;
}

#fixedGallery .popupTM {
  background: url(img/popupGT.png) repeat-x;
  _background: none;
}

#fixedGallery .popupBM {
  background: url(img/popupGB.png) repeat-x;
  _background: none;
}

#fixedGallery .popupML {
  background: url(img/popupGL.png) repeat-y;
  _background: none;
}

#fixedGallery .popupMR {
  background: url(img/popupGR.png) repeat-y;
  _background: none;
}

#fixedGallery .popupTL div {
  _background: url(img/popupTL.png) no-repeat;
  width: 100%;
  height: 100%;
}

#fixedGallery .popupTR div {
  _background: url(img/popupTR.png) no-repeat;
  width: 100%;
  height: 100%;
}

#fixedGallery .popupBL div {
  _background: url(img/popupBL.png) no-repeat;
  width: 100%;
  height: 100%;
}

#fixedGallery .popupBR div {
  _background: url(img/popupBR.png) no-repeat;
  width: 100%;
  height: 100%;
}

#fixedGallery .popupTM div {
  _background: url(img/popupGT.png) repeat-x;
  width: 100%;
  height: 100%;
}

#fixedGallery .popupBM div {
  _background: url(img/popupGB.png) repeat-x;
  width: 100%;
  height: 100%;
}

#fixedGallery .popupML div {
  _background: url(img/popupGL.png) repeat-y;
  width: 100%;
  height: 100%;
}

#fixedGallery .popupMR div {
  _background: url(img/popupGR.png) repeat-y;
  width: 100%;
  height: 100%;
}

.address {
  background: url(../images/lines.png) 0 0;
  font-weight: bold;
  width: 260px;
  font-size: 17px;
  color: #000000;
  letter-spacing: 0.28px;
  text-align: left;
  border: 1px solid grey;
  padding-left: 50px;
  line-height: 32px;
  box-shadow: 5px 5px 5px 0 rgba(0, 0, 0, 0.31);
}

h2 {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  font-size: 17px;
}

.galleryControls {
  font-family: Arial, Helvetica, sans-serif;
}

.galleryControls a {
  color: blue;
  text-decoration: underline;
}

#fixedGallery {
  position: fixed !important;
}

.map {
  margin: 40px 0;
  position: relative;
}

#map {
  position: absolute;
  top: 20px;
  left: 160px;
}

.address {
  position: absolute;
  top: 0px;
  left: 0;
}

@media only screen and (max-width: 600px) {
  #wrapper {
    display: block;
  }

  #nav {
    float: none;
    width: 100%;
  }

  #content {
    width: 100%;
  }

  .left, .right {
    float: none;
    display: block;
    margin: 0 auto;
  }

  #header {
    margin: 10px 0 0 0;
    max-width: 90%;
  }

  #map {
    position: absolute;
    top: 110px;
    left: 0;
  }

  .address {
    max-width: 100%;
  }

  .map {
    height: 400px;
  }

  #fixedGallery {
    max-width: 100%;
    top: 0 !important;
    overflow: hidden !important;
    bottom: 20px;
    height: auto !important;
  }

  .galleryControls {
    display: none !important;
  }

  .imgPane {
    height: auto !important;
  }

  #fixedGallery .popupContent {
    height: auto !important;
  }

  #menu-link {
    display: block;
    font-weight: bold;
    font-size: 19px;
    background: navy;
    border: 1px solid gray;
    border-top-color: #fff;
    border-left-color: #fff;
    padding: 10px 0;
    color: #fff;
  }

  #nav ul {
    height: 0;
    opacity: 0;
    overflow: hidden;
  }

  .desktop {
    display: none;
  }

  #nav {
    padding: 10px 10px 2px 10px;
  }

  #date {
    font-size: 17px;
    margin: 10px 0;
  }
}
@media only screen and (min-width: 601px) {
  .map {
    height: 214px;
  }

  #fixedGallery {
    overflow: scroll !important;
    top: 0 !important;
    height: 100% !important;
  }

  #menu-link {
    display: none;
  }

  #nav ul {
    height: auto !important;
    opacity: 1 !important;
  }

  #nav ul {
    display: block;
  }

  .mobile {
    display: none;
  }
}
.imageDesc {
  display: none !important;
}

.transparency {
  bottom: 0px !important;
  position: fixed !important;
  height: auto !important;
}

/** http://drcecilhhmills.com/WordsThatWouldntBeUsedToDescribeCecil.mp3 */
