/*---------------GRID-----------------*/
.grid-item { 
    display:block;
    float: left;
    width: 270px;  
    text-align: center;
  
}



.grid.main .grid-item, .grid.main .grid-item img{
    width: 250px;
}
.grid.main .grid-item{
    height: 400px;
}
.grid-item img{
    width: 200px;
    padding-bottom: 1rem;
    padding-top: 1rem;
    -webkit-transition: all 1s ease; /* Safari and Chrome */
    -moz-transition: all 1s ease; /* Firefox */
    -ms-transition: all 1s ease; /* IE 9 */
    -o-transition: all 1s ease; /* Opera */
    transition: all 1s ease;

position:relative;
}
.grid-item:hover img {
    -webkit-transform:scale(1.10); /* Safari and Chrome */
    -moz-transform:scale(1.10); /* Firefox */
    -ms-transform:scale(1.10); /* IE 9 */
    -o-transform:scale(1.10); /* Opera */
     transform:scale(1.10);
     z-index: 0;
}
div.grid.main .grid-item:hover img{
           -webkit-transform:scale(1.0); /* Safari and Chrome */
    
    }



div.grid-item .description{
    visibility: hidden;
    position:absolute;
    padding:10px;
    text-align: left;
    bottom:0;
    left: 0;
    width: 100%;
    z-index: 50;
     transition: opacity 1s ease-out;
    opacity: 0; 
}

div.grid-item:hover .description{
    visibility: visible;
    opacity: 1;
    height: auto;
    z-index: 50;
}

/*
.grid.main img{
    height: 300px;
} 
*/

.grid.main div.grid-item .description{
     visibility: visible;
    opacity: 1;
    height: auto;
    z-index: 50; 
}
/*-------------strucuture----------------*/
html, body { 
  height: 100%;
}
#container {
width: 95%;
margin-left: auto;
margin-right: auto;
position: relative;
}

div#menuToggle{
    display: none;
}

div.grid.graphics, #container article{
    width:85%;
    float: right;
        margin-top:1em;
}

    div.grid.main{
    width:90%;
    float: left;
        margin-top:1em;
}

#container article{
    text-align: left; 
    padding:1em;
}

#about{
    margin-top: 1rem;
}
#default, #default ul{
    margin-top:1em;
    width: 10%;
    padding-left:0px;
    padding-top: 0px;
    padding-bottom: 0px;
    float: left;
    display: block;
}
#default ul li a {
    white-space: nowrap;
    text-align: left;

}
#default ul li{
     text-align: left;
     padding-left: 0px;
    padding-top: 0px;
    list-style: none;
    height: 50px;
    vertical-align: top;

}
h2{
    text-align: left;
    margin-top: 2.5em;
}
article h2{
    margin-top:1em;
}

article img{
  float: left; 
  margin: 15 px; 
  padding: 20px; 
width: 15%;
}
blockquote img{
      margin: none;
  padding: 5px;
height: 150px;
width: auto;
float: none;
text-align: left;
}
article .blockleft{
float: left;
width: 60%;

}
article .block{
    text-align: right;
    float: right;
margin-left: 3%;
       width:35%;
background-color: white;
padding: 1em;
box-shadow:  rgba(55,55,55,0.8);
}
.block h2{
    text-align: right;
}
blockquote h4{
    text-align: right;
}

#footer {
    display: block;
   clear: both;
   height: 10px;

}
/*-----------------LIGHTBOX-------------------*/
.black_overlay{
            display: none;
			position: fixed;
			top: 0%;
			left: 0%;
			width: 100%;
			height: 100%;
			z-index:1001;
            background:rgba(0,0,0,0.8);
            /*-moz-opacity: 0.8;
			opacity:.80;*/
            filter: alpha(opacity=80);
            text-align: center;
        }
.lightimg{
 /*   margin-top: 5%;
float: left;
height: 
opacity: 1;
z-index: 100;
padding-left:10%;*/
 max-width:90%;
    max-height:90%;
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    margin: auto;
}

.black_overlay .close{
    background: url(images/close.png) no-repeat left top;
  height: 50px;
  width: 50px;
  position: absolute;
  top: 50px;
  right: 50px;
}


.hidden{
    display: none;
}



/*Media Queries*/
@media only screen and (max-width : 1024px),
only screen and (max-device-width : 1024px){
	div.grid-item .description{
     visibility: visible;
     opacity: 1;
    height: auto;
    /*z-index: 200;*/
    }

   div.grid{
       width: 70%;
       text-align: right;
       float: right;
       margin-left: 15%;
   }
    #container article{
        text-align: left; 
        padding:1em;
        width:100%;
        float:left;
    }
#default {
    display: none;
}
div#menuToggle{
    display: block;
}
    nav ul li{
    height: 10%;
}
#container h2.gridtitle{
    /*display: none;*/

}
article .blockleft{
width: 100%;
}
article .block h2{
    text-aligh: left;
}
article .block{
    text-align: left;
       width:100%;
}
article img{
display: none;
}
}
 
 
@media only screen and (max-width : 768px),
only screen and (max-device-width : 768px){



}

/*---------------------colors and fonts-------------*/
body{

    font-family: "Times New Roman", Georgia, Serif;
    font-family: AmericanTypewriter;
    /*background-image: url(styles/images/name.png) left top;*/
    background-color: #605D61 ;

    
}
 #container article{
 color:rgba(55,55,55,0.8);
 color: #666;
      background-color: #F2F2F2;
     font-size: 14px;
  font-family: Georgia, serif;

       line-height: 1.5;
 }

 article h2{
      color:rgba(55,55,55,0.8);
       color: black;
 }
article h3, h4{
    font-weight: bold;
    font-size: 13px;
}
article h4, article .block{
    font-weight: bold;
    font-size: 11px;
    font-style: italic;
}
    article a{
        text-decoration: underline;
        color: #5C8DED;
    }
blockquote{
  display:block;
  background: #fff;
  padding: 15px 20px 15px 45px;
  margin: 0 0 20px;
  position: relative;
  
  /*Font*/
  font-family: Georgia, serif;

  color: #666;
  text-align: justify;
  
  /*Borders - (Optional)
  border-left: 10px solid #B8E986;
  border-right: 2px solid #B8E986;
  */
  border-left: 10px solid  #9DBEFF;;
  border-right: 2px solid  #9DBEFF;;
  /*Box Shadow - (Optional)*/
  -moz-box-shadow: 2px 2px 15px #ccc;
  -webkit-box-shadow: 2px 2px 15px #ccc;
  box-shadow: 2px 2px 15px #ccc;
}

blockquote::before{
  content: "\201C"; /*Unicode for Left Double Quote*/
  
  /*Font*/
  font-family: Georgia, serif;
  font-size: 60px;
  font-weight: bold;
  color: #999;
  
  /*Positioning*/
  position: absolute;
  left: 10px;
  top:5px;
}

blockquote::after{
  /*Reset to make sure*/
  content: "";
}
h2, h1, #container h1 a{

    font-family: AmericanTypewriterLight;
    /*color: #F5A623;*/
    color: white;
    font-weight: bold;
    font-size: 20px;
    text-transform: uppercase;
}
h1, #container h1 a{
    font-size: 29px;
}
* {
  box-sizing: border-box;
  /*margin: 0;
  padding: 0;*/
  font: inherit;
  text-decoration: inherit;
  color: inherit;
  list-style: none;
}

div nav {
    font-family: AmericanTypewriterLight;


}


nav a {
  font-size: 10pt;
  color:white;
  text-transform: uppercase;
}
nav a:hover{
      color: #9DBEFF;
}
nav a.selected {
    font-size: 10pt;
  color: #9DBEFF;
  font-weight: bold;
}

div.grid-item .description{
    font-family: Arial, Helvetica, sans-serif;
    /*background:rgba(55,55,55,0.8);*/
    background: rgba(255,251,255,190);
    font-family: AmericanTypewriterLight;
    font-size: 10pt;
    color:rgba(55,55,55,0.8);
    filter: alpha(opacity=80);
    /*color: rgba(255,251,255,190);*/

}
.grid.main div.grid-item .description{
font-size: 15pt;
color:rgba(55,55,55,0.8);
}
#about{
        font-family: AmericanTypewriterLight;
        color: rgba(255,251,255,190);
    font-size: 10pt;
}
#container.main{
       border-style: solid;
    border-width: 2px;
    border-color: white;

}
.info{
    font-size: 10px;
    text-align: right;
    background-color:white;
    -webkit-transition: background-color 2s ease-out;
    -moz-transition: background-color 2s ease-out;
    -o-transition: background-color 2s ease-out;
    transition: background-color 2s ease-out;
}
.grid-item { 
     background-color:white;
    -webkit-transition: background-color 2s ease-out;
    -moz-transition: background-color 2s ease-out;
    -o-transition: background-color 2s ease-out;
    transition: background-color 2s ease-out;
}
.grid.main div.grid-item .description{
font-size: 15pt;
color:rgba(55,55,55,0.8);
 background-color:white;
    -webkit-transition: background-color 2s ease-out;
    -moz-transition: background-color 2s ease-out;
    -o-transition: background-color 2s ease-out;
    transition: background-color 2s ease-out;
}
div.grid.main .grid-item:hover span{
   background-color: #494949;
    color: rgba(255,251,255,190);
}

div.grid.main .grid-item:hover{
   background-color: #494949;
        color: rgba(255,251,255,190);
}

/*--------------------------HAMBURGER MENU -----------------------*/

a
{
  text-decoration: none;
  color: #232323;
  
  transition: color 0.3s ease;
}

a:hover
{
  color: tomato;
}

#menuToggle
{
  display: block;
  position: relative;
  top: 10px;
  left: 5px;
  -webkit-user-select: none;
  user-select: none;

  	z-index:1001;

}

#menuToggle input
{
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;
  
  cursor: pointer;
  
  opacity: 0; /* hide this */
  z-index: 2; /* and place it over the hamburger */
  
  -webkit-touch-callout: none;
}

/*
 * Just a quick hamburger
 */
#menuToggle span
{
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  
  background: #cdcdcd;
  border-radius: 3px;
  
  z-index: 1;
  
  transform-origin: 4px 0px;
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

#menuToggle span:first-child
{
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2)
{
  transform-origin: 0% 100%;
}

/* 
 * Transform all the slices of hamburger
 * into a crossmark.
 */
#menuToggle input:checked ~ span
{
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: #232323;
}

/*
 * But let's hide the middle one.
 */
#menuToggle input:checked ~ span:nth-last-child(3)
{
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

/*
 * Ohyeah and the last one should go the other direction
 */
#menuToggle input:checked ~ span:nth-last-child(2)
{
  transform: rotate(-45deg) translate(0, -1px);
}

/*
 * Make this absolute positioned
 * at the top left of the screen
 */
#menu
{

  position: absolute;
  width: 300px;
  margin: -50px 0 0 -100px;
  padding: 50px;
  padding-left: 100px;
  padding-top: 100px;
 
  background: rgba(55,55,55,1);

  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */
  
  transform-origin: 0% 0%;
  transform: translate(-100%, 0);
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

#menu li
{

  padding: 10px 0;
  font-size: 14px;
  color: white;
  text-transform: uppercase;
}

/*
 * And let's slide it in from the left
 */
#menuToggle input:checked ~ ul
{
  transform: none;
}