/* ============LAYOUT SECTION======= */

html {
height: 105%;
margin: 0px;
padding: 0px;
/*overflow-x: hidden;*/
}

body  {

background: white;
margin: 0px;
padding: 0px;

}
/* Preload images */

body:after {
 
 content: url(../images/close.png) url(../images/loading.gif) url(../images/prev.png) url(../images/next.png);
 display: none;

}
@viewport{
  zoom: 1.0;
  width: extend-to-zoom;
  }
  @-ms-viewport{
  width: extend-to-zoom;
  zoom: 1.0;
  }
  #wrapper {
    width: 100%;
    
  }
    #container2 {
        
      /*widows: 2; */
      padding-top: 0px;
      margin-top: 5px;
      margin-left: auto;
      margin-right: auto;
      
    }
      #header {
        padding-top: 10px; 
        margin-right: auto;
        margin-left: auto;
        width:150px;
        height: 30px;
        font-family: calibri;
        margin-top: 0px;
        font-size: 100%;
        font-weight:normal;
        color: #003366;
            
      }
      #navbar {
        position: relative;
        top: 5px;
        padding-left: 5px;
        padding-right: 5px;
        padding-bottom: 0px;
        padding-top: 0px;
        list-style-type: none;
        text-align: center;
        margin-left:auto;
        margin-right:auto;
      }
        
        #navbar ul {
        padding:5px;
        list-style-type: none;
        margin: 0px;
        }
        
        #navbar ul li  {
           display: inline;
                
        }
        #navbar ul li a {
        
          text-decoration: none;
          text-transform: uppercase;
          font-family: calibri;
          font-size: 95%;
          font-weight:normal;
          padding: .2em .2em;
          color: gray;  
          }
          #navbar ul li a:hover {
            color: #000;
            
            }
            
            #navbar ul li a:active {
            color: blue;
            }
	.main1 {
	display: none;
	}		
      .mainm {
        
        height:560px;
        margin-top:  10px;
        margin-left: auto;
        margin-right: auto; 
        
        }
        .mainm img{
        
        display:block;
        width:450px;
        height:auto;
        padding-top:0px;
        padding-bottom:0px;
        padding-left:3px;
        padding-right:3px;
        /*box-shadow: 0 0 10px rgba(0,0,0,.5); */
        margin-left: auto;
        margin-right: auto;
        
        }
        .mainm h3{
        display: block;
        width:100%;
        margin-top:0px;
        margin-left: auto;
        margin-right: auto; 
        text-align: center;
        /*font-size: 0.8em; */
	font-size: 90%;
        }

        #footer {
          height: 50px;
          width:100%;
          clear: both;
          color: gray;
          left: 0px;
          text-align: center;
          padding-top: 20px;
          font-size: 90%;
          
          }
          .mainhome  {
        
            width: 100%;
            height: auto;
            padding-top: 20px;
            margin-top:  30px;
            margin-bottom: 20px;
            padding-bottom: 20px;
            margin-left: auto;
            margin-right: auto;
            font-family: calibri ;
            overflow: fit;
            box-shadow: 0 0 3px rgba(0,0,0,.5); 
            }
            
            .mainhome img{
            margin-top: 15px;
            margin-bottom: 15px;
            width: 150px;
            height: 130px;
            }
            
            .mainhome img:hover{
            
            box-shadow: 0 0 20px rgba(0,0,0,.5);
            
            }
            .mainhome a{
            
            
            text-decoration: none;
            color: gray;
            font-size: 95%;
            }
            
            .mainhome a:hover{
            color: #000;
            }
            .resumem {
              display: none;
            }
            .resumem2 {
              display: block;
              width: 100%;
              height:auto;
              background: #fff; 
              padding-top: 10px;
              padding-bottom: 15px;
              padding-right: 5px;
              margin-top:   30px;
              margin-left: auto;
              margin-right: auto;
              box-shadow: 0 0 3px rgba(0,0,0,.5); 
              line-height: 1.4em;
              font-size: 16px;
              color:#003366;
              overflow-y: scroll;
              overflow-x: hidden;
              }
              .bio {
        
                width:auto;
                height:auto;
                background: #fff; 
                padding-top: 20px;
                padding-bottom: 20px;
                padding-left: 40px;
                padding-right: 15px;
                margin-top:  30px;
                margin-left: auto;
                margin-right: auto;
                margin-bottom:  20px;
                box-shadow: 0 0 3px rgba(0,0,0,.5); 
                line-height: 2em;
                font-family: calibri;
                font-size: 17px;
                color: #003366; 
                }
                .bio p {
                  margin-top: 5px;
                  color: #003366;
                   
                  }
                  
                  .bio a {
                  margin-top: 5px;
                  color:#003366;
                  text-decoration: none;
                  
                  }
                  .thumbnails{
                    display: none;
                  }
                  
                  .thumbnails2 {

                    display: block;
                    padding-top: 10px;
                    padding-left :10px;
                    padding-right: 10px;
                    padding-bottom: 5px;
                    margin-right: auto;
                    margin-left: auto;
                    color:#747472 ;
                    }
                                       
                    .thumbnails2 img { 

                    padding-top: 10px;
                    padding-bottom: 0px;
                    display: block;
                    width: 90%;
                    height: auto;
                    margin-right: auto;
                    margin-left: auto;
                    }
                    .thumbnails2 p{
                      
                      display: block;
                      text-align: left;
                      padding-left:1px;
                      margin-left: 5%;
                      font-size: 75%;
                    }
                    
                    #navbar2 {

                      padding-left: 5px;
                      padding-right: 5px;
                      padding-bottom: 0px;
                      padding-top: 5px;
                      list-style-type: none;
                      text-align: center;
                      }
                                           
                      #navbar2 ul {
                      padding-top:0px;
                      padding-left: 3px;
                      padding-right: 3px;
                      list-style-type: none;
                      text-align: center;
                      margin-top: 5px;
                      }
                      
                      #navbar2 ul li  {
                      
                      display: inline;
                      margin: 0px;
                      }
                      
                      #navbar2 ul li a {
                      text-decoration: none;
                      text-transform: uppercase;
                      font-family: calibri;
                      font-size: 95%;
                      padding-left:  4px;
                      padding-right:  4px;
                      color: gray;
                      margin: auto; 
                      }
                      
                      #navbar2 ul li a:hover {
                      color: #000;
                      text-decoration: underline;
                      }
                      
                      #navbar2 ul li a:active {
                      color: blue;
                      text-decoration: underline;
                      }
                      
                      #navbar2 ul li a:visited {
                      text-decoration: none;
                      }
                     /* .main1 h3  {
                        margin-top: 10px;
                        font-size: 90%;
                        text-align: center;
                        color: #747472;
                      } */
                      h3 {
                        font-family: calibri;
                      font-size: 90%;
                      text-align: center;
                      font-weight: lighter;
                      color: #747472;
                      }
                      h4  {

                        font-family: calibri;
                        font-size: 95%;
                      text-align: center;
                      font-weight: lighter;
                      color: #747472;
                      
              
                      }
                    
     @media  only screen and (min-width: 760px){
     
      #wrapper {
        min-height: 100%;
        position: relative;
        
        }
        
        #container2 {
        
        width: 850px;
        padding-top: 0px;
        margin-top: 5px;
        margin-left: auto;
        margin-right: auto;
        
        }
        
        .mainhome  {
        
        width: 880px;
        height: auto;
        margin-top:20px;
        margin-left: auto;
        margin-right: auto;
        font-size: 16px;
        overflow: fit;
        box-shadow: 0 0 15px rgba(0,0,0,.5); 
        }
        
        .mainhome img {

          margin: 15px;
          padding: 0px;
          width: 150px;
          height: 130px;
        }
        
        .mainhome img:hover{
        
        box-shadow: 0 0 15px rgba(0,0,0,.5);
        
        }
        .mainhome a{
        font-family: Calibri;
        text-decoration: none;
        color: gray;
        font-size: 110%;
        }
        
        .mainhome a:hover{
        color: #000;
        }
        .ssdraw {
        
        width: 800px;
        height:auto;
        padding: 10px;
        padding-bottom: 0px;
        margin-top:  0px;
        margin-left: auto;
        margin-right: auto; 
        font-size: 16px;
        overflow: no scroll;
        
        }
        .mainm {
	display: none;
	}

        .main1 {
        display:block;        
        height:600px;
        margin-top:  0px;
        margin-left: auto;
        margin-right: auto; 
        
        }
        .main1 img{
        
        display:block;
        width:750px;
        height:auto;
        padding-top: 40px;
        padding-bottom:0px;
        padding-left:0px;
        padding-right:0px;
        /* box-shadow: 0 0 10px rgba(0,0,0,.5); */
        margin-left: auto;
        margin-right: auto;
        
        }
        /*.main1 h3  {
          margin-top: 10px;
          font-size: 90%;
          text-align: center;
          color: #747472;
        }*/
        .resumem2{
          display: none;
        }    
        .resumem {
          display: block;
        width: 880px;
        height:760px;
        background: #fff; 
        padding-top: 20px;
        margin-top:   20px;
        margin-left: auto;
        margin-right: auto;
        box-shadow: 0 0 15px rgba(0,0,0,.5); 
        line-height: 1.4em;
        font-size: 14px;
        color:#003366;
        overflow-y: scroll;
        overflow-x: hidden;
        }
        
        .bio {
        
        width: 720px;
        height:450px;
        background: #fff; 
        padding-top: 80px;
        padding-left: 100px;
        padding-right: 60px;
        margin-top:  20px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom:  60px;
        box-shadow: 0 0 15px rgba(0,0,0,.5); 
        line-height: 2em;
        font-family: calibri;
        font-size: 17px;
        color: #003366; 
        }
        .bio p {
        
        color: #003366;
         
        }
        
        .bio a {
          font-size: 16px; 
        color:#003366;
        text-decoration: none;
        
        }
        
        .bio a:hover {
          color: #000;
        
        }
        
        /* Thumbnail Styles */
       
        .thumbnails2{
          display: none;
        }
        .thumbnails {
        display: block; 
        padding-top: 50px;
        padding-left :100px;
        padding-right: 100px;
        padding-bottom: 10px;
        margin-right: auto;
        margin-left: auto;
        
        }
        
        .thumbnails a {
        
        float: left;
        padding-right:10px;
        padding-bottom: 10px;
        box-sizing: border-box;
               
        }
        
        .thumbnails img { 
        
        display: block;
        width: 110px;
        height: 110px;
        
        }
        
        .thumbnails img:hover { 
                  
        box-shadow: 0 0 10px rgba(0,0,0,.5);
        transform:scale(1.01,1.01);
        }
        
        #header {
          padding-top: 10px; 
          margin-right: 740px;
          margin-left: 40px;
          height: 50px;
          margin-top: -5px;
        font-size: 130%;
        color: #003366;
              
        }
                
        #navbar {
        position: relative;
        top: -27px;
        padding-left: 5px;
        padding-right: 5px;
        padding-bottom: 0px;
        padding-top: 0px;
        list-style-type: none;
        text-align: center;
        margin-left:auto;
        margin-right:auto;
        }
                
        #navbar ul {
        padding:5px;
        list-style-type: none;
        text-align: center;
        margin: 0px;
        
        }
        
        #navbar ul li  {
        
        display: inline;
                
        }
        
        #navbar ul li a {
        
        text-decoration: none;
        font-family: calibri;
        font-size: 110%;
        font-weight:normal;
        padding: .2em .6em;
        padding-left: 20px;
        padding-right: 20px;
        color: gray;  
        }
        
        #navbar ul li a:hover {
        color: #000;
        
        }
        
        #navbar ul li a:active {
        color: blue;
        }
        
        #navbar2 {
        padding-left: 5px;
        padding-right: 5px;
        padding-bottom: 0px;
        padding-top: 5px;
        list-style-type: none;
        text-align: center;
                
        }
                
        #navbar2 ul {
        padding-top:10px;
        padding-left: 5px;
        padding-right: 5px;
        list-style-type: none;
        text-align: center;
        margin: 5px;
        
        }
        
        #navbar2 ul li  {
        
        display: inline;
        margin: 0px;
        }
        
        #navbar2 ul li a {
        text-decoration: none;
        text-transform: uppercase;
        font-family: calibri;
        font-size: 110%;
        padding-left:  10px;
        padding-right:  10px;
        color: gray;
        margin: 0px; 
        }
        
        #navbar2 ul li a:hover {
        color: #000;
        text-decoration: underline;
        }
        
        #navbar2 ul li a:active {
        color: blue;
        text-decoration: underline;
        }
        
        #navbar2 ul li a:visited {
        text-decoration: none;
        }
        
         #footer {
        height: 50px;
        width:100%;
        clear: both;
        color: gray;
        left: 0px;
        text-align: center;
        padding-top: 20px;
	 
        font-size: 90%;
        
        }
                 
        /* ============HEADINGS SECTION======= */
        
        h1 {
        font-size: 110%;
        text-align: center;
        color: dark gray;
        }
        
        h2  {
        font-size: 120%;
        color: darkblue;
        }
        h3 {
         
        font-family: calibri;
        font-size: 100%;
        text-align: center;
	  
        font-weight: lighter;
        color: #747472;
        
        }
        h4  {
          font-family: calibri;
          font-size: 110%;
        text-align: center;
        font-weight: lighter;
        color: #747472;
        

        }
       
        
               
        /* ================ LIGHT BOX ================ */
        
        .lightboxOverlay {
          
          position: absolute;
        
          top: 0;
          left: 0;
          z-index: 9999;
        
          background-color: black;
        
          filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
        
          opacity: .90;
          display: none;
        
        }
        .lightbox {
         
          position: absolute;
        
          left: 0;
        
          width: 100%;
        
          z-index: 10000; 
           text-align: center;
        
          line-height: 0;
        
          font-weight: normal;
        
        }
        
        
        .lightbox .lb-image {
        
          display: block;
        
          
        max-width: inherit; 
          height:auto;
        }
        
        
        .lightbox a img {
        
           border: none;
         
        }
        
        
        .lb-outerContainer {
        
          position: relative;
          background-color: white;
        
          *zoom: 1;
          width: 250px;
        
          height: 250px;
        
          margin: 0 auto;
        
        }
        
        
        .lb-outerContainer:after {
        
          content: "";
        
          display: table;
        
          clear: both;
        
        }
        
        
        .lb-container {
        
          padding: 0px;
        
        
        }
        
        
        .lb-loader {
        
          position: absolute;
        
          top: 43%;
        
          left: 0;
        
          height: 25%;
        
          width: 100%;
        
          text-align: center;
        
          line-height: 0;
        
        }
        
        
        .lb-cancel {
         
          display: block;
        
          width: 32px;
        
          height: 32px;
        
          margin: 0 auto;
        
          background: url(../images/loading.gif) no-repeat;
        
        }
        
        
        .lb-nav {
        
          position: absolute;
        
          top: 0;
        
          left: 0;
        
          height: 100%;
        
          width: 100%;
        
          z-index: 10;
        
        }
        
        
        .lb-container > .nav {
        
          left: 0;
        
        }
        .lb-nav a {
         
         outline: none;
        
          background-image: url('data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==');
        
        }
        
        
        .lb-prev, .lb-next {
         
         height: 100%;
        
          cursor: pointer;
        
          display: block;
        
        }
        
        
        .lb-nav a.lb-prev {
        
          width: 34%;
        
          left: 0;
        
          float: left;
        
          background: url(../images/prev.png) left 48% no-repeat;
        
          filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
        
          opacity: 0;
        
          -webkit-transition: opacity 0.5s;
        
          -moz-transition: opacity 0.5s;
        
          -o-transition: opacity 0.5s;
        
          transition: opacity 0.5s;
        
        }
        
        
        .lb-nav a.lb-prev:hover {
        
          filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
        
          opacity: 1;
        
        }
        
        
        .lb-nav a.lb-next {
        
          width: 64%;
        
          right: 0;
        
          float: right;
        
          background: url(../images/next.png) right 48% no-repeat;
        
          filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
        
          opacity: 0;
        
          -webkit-transition: opacity 0.5s;
        
          -moz-transition: opacity 0.5s;
        
          -o-transition: opacity 0.5s;
        
          transition: opacity 0.5s;
        
        }
        
        
        .lb-nav a.lb-next:hover {
        
          filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
        
          opacity: 1;
        
        }
        
        
        .lb-dataContainer {
         
         margin: 0 auto;
        
          padding-top: 5px;
        
          *zoom: 1;
        
          width: 100%;
        
         }
        
        
        .lb-dataContainer:after {
        
          content: "";
        
          display: table;
        
          clear: both;
        
        }
        
        
        .lb-data {
         
         padding: 0 4px;
        
          color: #ccc;
        
        }
        
        
        .lb-data .lb-details {
        
          width: 85%;
        
          float: left;
        
          text-align: left;
        
          line-height: 1.1em;
        
        }
        
        
        .lb-data .lb-caption {
        
          font-size: 13px;
        
          font-weight: bold;
        
          line-height: 1em;
        
        }
        
        
        .lb-data .lb-number {
         
          display: block;
        
          clear: left;
        
          padding-bottom: 1em;
        
          font-size: 12px;
        
          color: #999999;
        
        }
        
        
        .lb-data .lb-close {
        
          display: block;
        
          float: right;
        
          width: 30px;
          height: 30px;
        
          background: url(../images/close.png) top right no-repeat;
        
          text-align: right;
        
          outline: none;
        
          filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
        
          opacity: 0.7;
        
          -webkit-transition: opacity 0.2s;
        
          -moz-transition: opacity 0.2s;
        
          -o-transition: opacity 0.2s;
        
          transition: opacity 0.2s;
        
        }
              
        .lb-data .lb-close:hover {
        
          cursor: pointer;
        
          filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
        
          opacity: 1;
        
        }
      
    }