/* HTML5 ✰ Boilerplate
 * ==|== normalize ==========================================================
 */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

html { font-size: 100%; overflow-y: auto; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
body { margin: 0; font-size: 13px; line-height: 1.231; }
body, button, input, select, textarea { font-family: sans-serif; color: #222; }

::-moz-selection { background: #000000; color: #fff; text-shadow: none; }
::selection { background: #000000; color: #fff; text-shadow: none; }

a { color: #00e; }
a:visited { color: #551a8b; }
a:hover { color: #06e; }
a:focus { outline: thin dotted; }
a:hover, a:active { outline: 0; }

abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; }
dfn { font-style: italic; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
q { quotes: none; }
q:before, q:after { content: ""; content: none; }
small { font-size: 85%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }
ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }
img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }
svg:not(:root) { overflow: hidden; }
figure { margin: 0; }

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
label { cursor: pointer; }
legend { border: 0; *margin-left: -7px; padding: 0; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; *overflow: visible; }
table button, table input { *overflow: auto; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }


/* ==|== primary styles =====================================================
   Author: Joseph Parker @ The Office of Thierry Despont
   ========================================================================== */


body{
  background-color:#333333;
  font-family: 'CabinBold';
}

a, a:hover, a:visited {
  color:black;
}



@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}


#main{
      width: 1030px;
    height: 768px;
  background-color:#484848;
  margin: 0px auto 0px auto;
  overflow: hidden;
  z-index:-10;
}

#content{
  transition: opacity 0.6s;
  opacity: 0;
}


img.splash{
  width: 100%;
  height: auto;
  z-index: 10;
  
  
}

#loading {
  width: 1030px;
  height: 24px;
  position:absolute;
  top:320px;
  text-align:center;
  z-index:0;
}

#infobar {
  background-image: url('../img/black-50.png');
  background-repeat: repeat;
  height: 50px;
  width: 1030px;
  position:absolute;
  top:616px;
  z-index: 1000;

}

div.third {
  width:30%;
  float:left;
  
}
div.third2 {
  width:40%;
  float:left;
  
}
div.third p{
  font-family: arial, sans-serif;
    color: white;
    font-size: 13px;
    text-align: center;
    letter-spacing: 1px;
    margin-top: 17px;
    word-wrap: normal;
}
div.third2 h1{
  color:white;
  font-size:20px;
  text-align:center;
}

#menu {
  background-image: url('../img/menu_background.png');
  background-repeat: repeat-x;
  height: 25px;
  width: 1030px;
  position:absolute;
  top:676px;
  z-index: 1000;

  
}
#slideshow {
/*    display: flex;
    justify-content: space-around;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: stretch; 
    align-content: space-around; */
    position:relative;
    height: 768px;
}

#slideshow img{
    /*max-height: 768px;*/
    /* position: absolute; */
    opacity: 0;
    transition: opacity 0.6s;
    /* left: -50%; */
    /* margin-left: -25%; */
    opacity: 0;
    transition: opacity 0.6s;
    display: inline;
    transition: opacity 0.6s;}

div.slide{
        text-align: center;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    right: 0px;
    bottom: 0px;
    left: 0px;
    top: 0px;
}

#slideshow img.active{
  opacity: 1;
  transition: opacity 0.6s;}


#menu a{
  font-size: 14px;
  text-decoration: none;
  color: black;

  cursor: pointer;
  position: relative;
  top:4px;
  margin: 0px 12px 0px 24px;
}

#menu a:hover, #menu a.sub:hover{
  color: yellow;
}

#centered{
  position:relative;
  margin: 0 auto;
  text-align:left;
  width:auto;
}

#nav {
    display: flex;
    position: absolute;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    height: 10px;
    margin: 0px auto 0px auto;
    top: 646px;
    width: 100%;
    left: 0px;
}

.nav-button{
    position: relative;
    opacity: .4;
    margin: 0px 8px 0px 8px;
    z-index: 8000;
    width: 20px;
    height: 20px;
    background: white;
    border: 1px solid black;
}

.nav-button:hover {
  opacity: .7;
  cursor: pointer;
}

.nav-button.active {
  opacity: 1.0;
}

.nav-button.active:hover {
  opacity: 1.0;
  cursor: default;
}


/* img content stuff*/
.content-img {
  position:absolute;
  width: 1030px;
  height: auto;
  display:none;
  margin:0 auto;
}

/* sub menu stuff*/
.top-menu {
  float:right;
}

.sub-menu {
  display:none;
  position:absolute;
  top:25px;
  background-image: url('../img/black-70.png');
  background-repeat:repeat;

  height:67px;
  width:auto;

}

.sub-column {

  width:auto;
  float:left;
  clear:none;
}

#menu a.sub{
  color:white;
  font-size: 11px;
  font-family: 'CabinMedium';
  display:block;
  margin: 2px 8px 8px 8px;
  width: auto;
  white-space: nowrap;
}

/*jquery spans to hold url*/

.lookup-img{
  display:none;
}



/* utility class styles */

.float_left{
  float:left;
}

.float_right{
  float:right;
}

/*static page styles*/
.overlay {
  position: absolute;
  top: 0px;
  width:1030px;
  height: 626px;
  padding-top:50px;
  background-image: url('../img/white-64.png');
  background-repeat:repeat;
  text-align: center;
}

.overlay p{
  margin: 0 auto;
  width:740px;
  font-size: 20px;

  font-color:black;
  font-family: arial, sans-serif;
  text-align:justify;
  margin-bottom:25px;
}

div.overlay.contact{
  padding-top: 250px;
  height: 426px;
  text-align:center;
}

div.overlay.contact p{
  text-align:center;
  margin-bottom: 15px;
}

div.overlay.gallery{
  text-align:center;
}
div.overlay.gallery p{
  text-align:center;
  font-size:16px;
  margin: 5px auto 5px auto;
}
div.overlay.gallery h1{
  text-align:center;
  margin-top: 80px;
  margin-bottom:30px;
  font-size:16px;
}

div.overlay.publications h1{
  text-align:center;
  margin-top: 30px;
  margin-bottom:15px;
  font-size:16px;
}

.overlay img{
  margin: 0 auto 25px auto;
}

/*associates pages*/

.center_portraits {
  display:block;
  width: auto;
  height: 170px;
  margin: 0 auto 0px auto;
}

.row {
  text-align: center;
}

.row p{
  width: 1030px;
  font-size: 16px;
  text-align: center;
  clear:both;
}

p.wider {
  width: 900px;
  font-size: 16px;
}

.associate {
  width:200px;
  text-align:center;
  clear:none;
  float:left;
}

#assoc .associate {
  width: 125px;
}
#assoc .associate p {
  width: 125px;
}

#senior .associate {
  width: 150px;
}
#senior .associate p {
  width: 150px;
}

.associate p{
  margin-top: 10px;
  margin-bottom: 10px;
  width:200px;
  font-size: 11px;
}

.associate a{
  display:block;
  width: 13px;
  height: 13px;
  border: 1px solid black;
  background-color:white;
  margin: 0px auto 0px auto;
}

#portrait{
  width:100px;
  height:100px;
  overflow:hidden;
  margin: 0 auto;
}

#portrait img{
  width: 100%;
  height: auto;
}

div.twd{
  
}

div.twd p{
  width:862px;
  font-size:14px;
  margin-bottom: 16px;
}
div.twd img{
  float:left;
  margin-left:8%;
  margin-right:20px;
  margin-bottom:20px;
  font-size:14px;
  width:275px;
  height:auto;
  margin-top:4px;
}




/* ==|== non-semantic helper classes ======================================== */
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; }
.ir br { display: none; }
.hidden { display: none !important; visibility: hidden; }
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
.invisible { visibility: hidden; }
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }


/* ==|== media queries ====================================================== */

@media only screen and (min-width: 480px) {


}

@media only screen and (min-width: 768px) {

}



/* ==|== print styles ======================================================= */
 
@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } 
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } 
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; }
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}
