
body{
  position: relative;
  margin: 0;
  padding-left: 10px;
  background-color: #E0E0E0;
  min-width: 1100px;
  -webkit-font-feature-settings: "liga";
  font-feature-settings: "liga";
}

@font-face {
  font-family: arialMono;
  src: url('../../assets/fonts/ArialMono.otf');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: Caslon;
  src: url('../../assets/fonts/bigCaslon.otf');
  font-weight: normal;
  font-style: normal;
}

@font-face{
  font-family:"CaslonOldFaceW01-Roman";
  src:url("../../assets/fonts/8acb11e0-a8ab-4ec4-a348-19ab0bc18968.eot?#iefix");
  src:url("../../assets/fonts/8acb11e0-a8ab-4ec4-a348-19ab0bc18968.eot?#iefix") format("eot"),url("../../assets/fonts/3e1dfd6e-0bf3-458b-a7ca-7ceedab3b719.woff2") format("woff2"),url("../../assets/fonts/a747fbdb-2206-4cdb-b1cb-74f155528b27.woff") format("woff"),url("../../assets/fonts/3122c471-950d-4d80-a249-35727a0abc00.ttf") format("truetype"),url("../../assets/fonts/dbf45f92-84d3-45a5-a15c-8e1970080a2e.svg#dbf45f92-84d3-45a5-a15c-8e1970080a2e") format("svg");
}
@font-face{
  font-family:"CaslonOldFaceW01-Italic";
  src:url("../../assets/fonts/c944d954-33f6-48a6-8e3d-0919596d0578.eot?#iefix");
  src:url("../../assets/fonts/c944d954-33f6-48a6-8e3d-0919596d0578.eot?#iefix") format("eot"),url("../../assets/fonts/9303271e-a681-4ed8-8a0f-6b41eb28a897.woff2") format("woff2"),url("../../assets/fonts/6cb20da8-60f7-4142-8c3a-87471c083a36.woff") format("woff"),url("../../assets/fonts/e7925717-1009-4921-b565-9fbbe4efba8e.ttf") format("truetype"),url("../../assets/fonts/95467f24-1ead-4188-aa8a-67c7ffd4f061.svg#95467f24-1ead-4188-aa8a-67c7ffd4f061") format("svg");
}

.pages{ 
  position: relative;
  /*display: inline-flex;*/
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 800px;
  height: 1035px;
  font-size: 34px;
  max-height: 1052px;
  margin-left: auto;
  margin-right: auto;
  background-color: white;
  margin-top: 20px;
  box-shadow: 1px 1px 30px #A8A8A8;
  z-index: 10;
  text-align: center;
}


.grid .pages{ 
  position: relative;
  float: left;
  width: 240px;
  height: 311px;
  font-size: 10px;
  margin: 10px;
  overflow:hidden;
}

.project {
  /*max-width: 850px;*/
  margin-right:300px;
}

.grid .project{
  margin: auto;
  width: 71%;
  position: relative;
  margin-right:300px;
  margin-bottom: 200px;
}

.grid .clear{
  clear: both;
}


#displaybuttons {
  position: fixed;
  top: 20px;
  left:20px;
  font-size: 13px;
  font-family: arialMono;
    font-weight: lighter;
  text-transform: uppercase;
  color: #515151;
  cursor: pointer;
  z-index: 100;
  color:gray;
}

#gridToggle{
  position: absolute;
  top:0;
  width: 100px;
}

#gridToggle .txt:hover{
  text-decoration: underline;
}

#listToggle{
  position: absolute;
  top:22px;
  width: 100px;
}

#listToggle .txt:hover{
  text-decoration: underline;
}

.icon{
    background-repeat: no-repeat;
    width: 13px;
    height:12px;
    background-size: 19px auto;
    display: inline-block;
    float: left;
}

#gridIcon{
  background-image: url(../../assets/images/grid_grey.png);
}

#listIcon{
  background-image: url(../../assets/images/list_grey.png);
}

.activeView {
  color: red;
  /*border-bottom: solid 1px black;*/
  /*text-decoration: underline;*/
}

.activeView:hover{
  text-decoration: none;
}

.activeView #gridIcon{
  background-image: url(../../assets/images/grid.png);
}

.activeView #listIcon{
  background-image: url(../../assets/images/list.png);
}

.txt{
  display: inline-block;
  padding-top: 2px;
  padding-left: 5px;
}

a{
  color: black;
  text-decoration: none;
}

a:hover{
  text-decoration: underline;
}
/* @group page layouts */

/* ____site title page______*/
#David_Brooks h1{
  margin-top: 38%;
}

#David_Brooks h2{
  width: 45%;
  margin: auto;
  margin-top: 2%;
}

#David_Brooks h2 a{
  color: black;
  text-decoration: none;
  margin: 2%;
  line-height: 2em;
}

#David_Brooks h2 a:hover{
  text-decoration: underline;
}

#David_Brooks h2 a#email-link:hover{
  text-decoration: none;
}
/* ____project title page______*/

.title-container{
  display: inline-block;
    position: relative;
    width: 94%;
    height:94%;
    margin: auto;
    top: 3%;
}

.firstTitle{
      font-family: Caslon;
      font-weight: lighter;
      font-size: 100%;
      margin-top: 10%;
      margin-bottom: 10%;
      width: 60%;
      margin-left: 20%;
      text-align: center;
}

.firstText{
      font-family: arialMono;
      font-weight: lighter;
      font-size: 35%;
      margin-top: 1%;
      width: 60%;
      margin-left: 20%;
      text-align: center;
}

.firstText a {
    color: blue;
}

.firstDate{
      font-family: Caslon;
      font-weight: lighter;
      font-size: 58%;
      margin-top: 30%;
      width: 100%;
      text-align: center;
      display: inline-block;
}

/* ____image page______*/

.image-container{
  display: inline-block;
  position: relative;
  width: 100%;
  max-height: 94%;
  margin: auto;
  /*margin-top: 2%;*/
  /*top: 2%;*/
}

.image-container img{
  max-width: 87%;
}

.images{ 
  margin-top: 1%;
  margin-bottom: 3%;
  /*width: 100%;*/
  height: auto;
}

img.images.i1 {
    max-height: 96%;
}

img.images.i2 {
    max-height: 46%;
}

img.images.i3 {
    max-height: 30%;
}

.image-container.i3 .images, .image-container.i4 .images{
  margin-bottom: 0%;
}

.images:last-child{
  margin-bottom: 0%;
}

/*.image-container.i2{
  width: 70%;
}

.images.i2.o1{
  bottom: 0;
  left: 0;
}

.image-container.i2{
  width: 70%;
}
.image-container.i3{
  width: 50%;
}
.image-container.i4{
  width: 30%;
}*/

/* ____statement page______*/
.statements{
  font-family: Caslon;
  font-weight: light;
  margin-left: 20%;
  width: 65%;
  font-size:60%;
  line-height: 130%;
  letter-spacing: 0.025em;
  color: black;
  text-align: left;
}

.statements p{
}
/* @end */


/* @group menu */

.menu-container{
    position: fixed;
    right:5px;
    top: 0px;
    font-family: Caslon;
    font-weight: lighter;
    font-size: 19px;
    text-align: left;
    z-index: 50;
    width: 300px;
    height: 100%;
    padding-right:25px;
    overflow: auto;
}

.menu {
  padding-bottom: 30px;
}

.menu ul{
  padding: 0;
  margin-left:20px;
}

.menu li{
  display: block;
  margin-left: 1em;
  text-indent: -1em;
  position: relative;
}
.menu li .arrow{
    content: '';
    position: absolute;
    top:6px;
    left:-40px;
    background-image: url(../../assets/images/arrow.png);
    background-repeat: no-repeat;
    width: 20px;
    height:1em;
    background-size: 19px auto;
    display: none;
}
.menu li:first-child{
  margin-top: 20px;
}

.menu li a{
  margin-right: 4px;
}

.menu li a.pdf-link, .menu li a.pdf-all-link{
  text-decoration: none; 
  font-family: arialMono;   
  font-size: 10px; 
  cursor: pointer; 
    color: rgb(255,73,66); 
  display:none;
  padding-top: -10px;
  margin-left: 8%;
  text-transform: uppercase;
  position: absolute;
  bottom: 3%;
}

.menu li a.pdf-all-link{
  position:relative;
  margin-top: -1em;
  display: inline-block;
}
.words{
  position: relative;
  text-decoration: none;
  cursor:pointer;
  color: black;
   -webkit-transition: color .1s;
  transition: color .1s;
}

a:hover {
  text-decoration: underline;
}

/* @end */

/* @group label */

#numbers {
  color: black;
}

#label{
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 220px;
  text-align: left;
  font-family: arialMono;
  font-size: 12px;
  padding-top: 4px;
  padding-bottom: 5px;
  padding-left: 8px;
  padding-right: 5px;
  z-index: 50;
}

.grid #label{
  display: none;
}

/*
2016.02.26 - removed title styling from labels/captions
#label #caption-text{
  font-family: Caslon;
  font-size:16px;
  margin-top: 0.3em;
  margin-bottom: 1em;
}*/

.caption{
  display:none;
}

/* @end */


/* @group about */

.about{
  width: 90%;
  margin: auto;
  margin-top: 6px;
  min-width: 960px;
  max-width: 1750px;
  font-family: Caslon;
  font-weight: lighter;
  font-size: 16px;
  line-height: 1.35em;
  letter-spacing: .025em;
}

.about-wrapper{
  width:30%;
  margin-left: 3%;
  min-width: 300px;
  max-width: 550px;
  float: left;
}

a#backHome{
  width: 100px;
  color: gray;  
}
a#backHome:hover{
  color: red; 
}

.about-wrapper li{
  list-style-type: none;
  margin-bottom: 1em;
}
.about-title{
  font-family: Caslon;
    font-weight: lighter;
    font-size: 19px;
}

.about li span{
  font-family: 'CaslonOldFaceW01-Italic';
  font-size: 1.1em;
}
.mobile-title{
  display: none;
}
/* @end */


@media only screen and (max-width: 700px){
  body{
    min-width: 0;
    padding-left: 0;
  }

  #displaybuttons{
    display: none;
  }

  .pages, .grid .pages{ 
    position: relative;
    float: none;
    width: 480px;
    height: 621px;
    font-size: 20px;
    margin: 20px;
    margin-left: auto;
    margin-right: auto;
  }

  .project, .grid .project{
    width: 100%;
    margin: 0;
  }

  .menu-container{
    position: fixed;
    top:0;
    left: 0;
    right: 0;
    width: 100%;
    height: 14vw;
    background-color: white;
  }

  .menu{
    width: 100%;
  visibility: hidden;
  padding-top: 1.6vw;
  font-size: 4vw;
  }

  .menu li{
    margin-left: 10vw;
    text-indent: 0;
    margin-bottom: 2vw;
  }

  .menu li:first-child {
    margin-top: auto;
  }

  .hamburger{
    width: 5vw;
    height: 5vw;
    position: fixed;
    left: 1.5vw;
    top: 1.5vw;
    background-image: url(../../assets/images/hamburger.png);
    background-size: 5vw;
  }

  .mobile-title{
    display: block;
    height: 3vw;
    position: fixed;
    left: 8vw;
    top: 1.5vw;
    margin: auto;
    width: 80%;
    text-align: center;
    font-size: 4vw;
  }

  .close{
    width: 5vw;
    height: 5vw;
    position: fixed;
    left: 1.5vw;
    top: 1.5vw;
    background-image: url(../../assets/images/x.png);
    background-size: 5vw;
    display: none;
  }

}

@media only screen and (max-width: 640px){
  .pages, .grid .pages{
    width: 360px;
    height: 466px;
    font-size: 15px;
    margin: 15px;
    margin-left: auto;
    margin-right: auto;
  }
}


@media only screen and (max-width: 480px){
  .pages, .grid .pages{
    width: 300px;
    height: 388px;
    font-size: 13px;
    margin: 13px;
    margin-left: auto;
    margin-right: auto;
  }
}
