﻿/* ==========================================================================
Author: Jules Doyle
Author URL: http://www.type2bphoto.com
============================================================================= */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section, h4, p {
  display: block; margin: 0; padding: 0; }

html, body{ margin:0; padding:0; height:100%; width:100%; font-family: Arial, sans-serif; }
  body a {
    text-decoration: none; }
  body a:active {
    position: relative;
    bottom: -1px; }

#gradient-top {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -999;
  width: 100%;
  height: 143px;
  background: transparent url("../images/gradient-top.png") repeat-x 0 0; }
#gradient-bottom {
  z-index: -999;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 193px;
  background: transparent url("../images/gradient-bottom.png") repeat-x 0 0; }


/* =================== HEADER ========================== */
#headerNav {
  width: 100%;
  height: 105px;
  position: fixed;
}

#navButton {
  display: none;
  width: 35px;
  height: 35px;
  float: right;
  margin-top: 10px;
  margin-right: 20px;
  background-image: url(../images/btn_menu.gif);
  background-position: center;
  border: 2px solid #ccc;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

#logo {
  float: left;
  padding: 5px;
  opacity: 1;
  -webkit-transition: opacity 0.3s ease-in-out;
  -moz-transition: opacity 0.3s ease-in-out;
  -o-transition: opacity 0.3s ease-in-out;
  transition: opacity 0.3s ease-in-out; }
  #logo:hover {
    opacity: 0.8; }
  #logo a {
    display: block;
    zoom: 1; }

#main-nav {
  margin: 35px 40px 0 0;
  float: right; 
}
  #main-nav ul  {
    margin: 0; padding: 0;
    font-weight: bold;
    font-size: 80%;
  }
  #main-nav > ul >  li {
    display: inline-block;
    margin-left: 20px;
    color: #fff; 
  }
    #main-nav > ul  li  a {
      text-decoration: none;
      text-transform: uppercase;
      color: #fff;
    }
    #main-nav  > ul  li a:hover {
      color: #b6ff00; }
  #main-nav > ul > li > ul  {
    position: absolute;
    top: 70px;
    right: 0;
    padding: 3px 40px 3px 0 ;
    background-color: rgba(0, 0, 0, 0.3);
  }
  #main-nav > ul > li > ul > li  {
    margin-left: 20px;
  }
.hasSubNav {
    background-image: url(../images/arrow_d.png);
    background-repeat: no-repeat;
    background-position: 0; 
    padding-left: 20px; 
} 

.subNavHidden {
  opacity: 0;
  display: none;
  height: 10px;
  z-index: -1000;
}
.subNavShow {
  z-index: 10;
  display: block;
  opacity: 1;
}
  .subNavShow li{
    display: inline-block;
  }

.homeSlideShow {
  position: absolute;
  z-index: -10000;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  height: auto;
  width: auto;
  background-color: #616970;
}

.bgImg {
  min-height: 100%;
  min-width: 1500px;
  width: 100%;
  height: auto;
  position: fixed;
  top: 0;
  left: 0;
  -webkit-transition: opacity 0.5s ease-in-out;
  -moz-transition: opacity 0.5s ease-in-out;
  -o-transition: opacity 0.5s ease-in-out;
  transition: opacity 0.5s ease-in-out;
}

.ss_wrapper {
  top: 105px;
  bottom: 35px;
  left:0;
  right:0;
  position: fixed;
}

.ss_carousel {
  width: 100%;
  height: 95%;
  position: relative;
  overflow: hidden;
}

.ss_inner {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  position: relative;
  margin: auto;
}

  .ss_inner img {
    max-width: 100%;
    max-height: 100%;
    margin: auto;
    position: absolute;  
    top: 0;  
    bottom: 0;  
    left: 0;  
    right: 0;  
  }

.ss_arrow {
  width: 20px; height: 20px;
  position: absolute;
  top: 50%;
  z-index: 5;
  opacity: 0.3;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  cursor: pointer;
  -webkit-transition: border-color 0.3s ease-out;
  -moz-transition: border-color 0.3s ease-out;
  -o-transition: border-color 0.3s ease-out;
  transition: border-color 0.3s ease-out;
}

  .ss_arrow:hover {
    border-color: #b6ff00;
  }

.ss_arrow-left {
  left: 20px;
  -webkit-transform: rotate(225deg);
  -moz-transform: rotate(225deg);
  -o-transform: rotate(225deg);
  transform: rotate(225deg);
}

.ss_arrow-right {
  right: 20px;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

.ss_slide {
  width: 100%; height: 100%;
  position: absolute;
  top: 0; right: 0; left: 0;
  z-index: 1;
  opacity: 0;
  -webkit-transition: opacity 0.5s ease-in-out;
  -moz-transition: opacity 0.5s ease-in-out;
  -o-transition: opacity 0.5s ease-in-out;
  transition: opacity 0.5s ease-in-out;
}

  .ss_slide.ss_active, .ss_slide.ss_left, .ss_slide.ss_right {
    z-index: 2;
    opacity: 1;
  }

.ss_slideCounterWrapper {
  margin: auto; 
  width: auto;
  height: auto;
  padding-right: 20px;
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-weight: bold;
}

.ss_slideCounter {
  display: inline-block;
  float: right;
  padding: 5px;
}
.ss_slidesTitle {
  display: inline-block;
  letter-spacing: 2px;
  padding: 5px;
  padding-left: 25px
}



#bioInfo {
  position: fixed;
  top: 105px; left: 50px; right: 50px; bottom: 50px;
  background-color: rgba(255, 255, 255, 0.95);
  margin: auto;
  border: 1px solid gray;
  overflow-y: scroll;
  padding: 20px;
}
  #bioInfo h4, #bioInfo p {
    padding: 10px;
  }
#pubInfo {
  position: fixed;
  top: 105px; left: 50px; right: 50px; bottom: 50px;
  background-color: rgba(255, 255, 255, 0.95);
  margin: auto;
  border: 1px solid gray;
  overflow-y: scroll;
  padding: 20px;
}
  #pubInfo h4, #pubInfo p {
    padding: 10px;
  }

/* =================== FOOTER ========================== */

footer {
  position: fixed;
  bottom: 0;
  height: 35px;
  z-index: 10;
  display:block;
  width: 100%;
  background-color: #111;
  color: #b6ff00;
  font-size: 0.75em; }

.contact_info {
  float: left;
  padding: 5px 40px 10px 10px;
}

.copyright {
  float: right;
  padding: 10px 40px 10px 10px;
  color: #ccc;
}



/* ============================================================ */
/* =================== MEDIA QUERIES ========================== */
/* ============================================================ */

@media screen and (max-width: 800px) {

  html, body {
    overflow: auto;
    font-family: Arial, sans-serif;
    background-color: #111; 
  }
  #gradient-top, #gradient-bottom {
    display: none;
  }

  #navButton {
    display: block;
  }
    #navButton:hover {
      border-color: #fff;
    }

  #headerNav {
    background-color: #111;
    position: relative;
    z-index: 100;
    height: auto;
    overflow:auto;
  }

  footer {
    clear: both;
    position: relative;
  }

  #main-nav {
    clear: both;
    width: 100%;
    font-size: 100%;
    overflow: hidden;
    max-height: 0;
    margin: 0;
    -webkit-transition: max-height 1s ease-in-out;
    -moz-transition: max-height 1s ease-in-out;
    -o-transition: max-height 1s ease-in-out;
    transition: max-height 1s ease-in-out;
  }
    #main-nav ul {
      font-size: 100%;
    }
    #main-nav li {
      display: block;
      width: 100%;
      float: none;
      margin: 0;
      padding: 3px 10px;
      border-bottom: 1px solid #666;
    }  
    #main-nav > ul >  li {
      display: block;
      margin: 0;
    }
    #main-nav > ul > li > ul {
      margin: 0;
      top: 0;
      left: 0;
      right: 0;
      position: relative;
      padding: 3px 0 3px 0;
      background-color: #111;
    }

      #main-nav > ul > li > ul > li  {
        margin-left: 20px;
      }
      #main-nav > ul > li > ul > li:last-child  {
        border: 0;
      }

  .hasSubNav {
      background-image: url(../images/arrow_d.png);
      background-repeat: no-repeat;
      background-position: 0; 
      padding-left: 20px; 
  } 

  .subNavHidden {
    opacity: 0;
    display: block;
    z-index: 10;
  }
  .subNavShow {
    z-index: 10;
    display: block;
    opacity: 1;
  }
  .subNavShow li{
    display: inline-block;
  }

  #bioInfo {
    position: relative;
    padding: 20px;
    top: 0; left: 0; right: 0; bottom: 0;
    overflow: auto;
  }

  #pubInfo {
    position: relative;
    padding: 20px;
    top: 0; left: 0; right: 0; bottom: 0;
    overflow: auto;
  }

  .homeSlideShow {
    display: none;
  }

  #slideshow {
    position: relative;
    width: 100%;
    height: 80%;
    margin: auto;
    display: block;
    z-index: 1;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: #616970;
  }
  .homeSlideShowInner {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
  }

  .bgImg {
    min-width: 1100px;
    position: absolute;
  }


  .ss_wrapper {
    position: relative;
    top: 0;
    bottom: 0;
    height: 500px;
  }
  .ss_carousel {
  }

}


@-ms-viewport {
  width: device-width;
}
