/*
Theme Name: times-institute-minimal
Version: 0.1
Author: Interactive News

LOCATION THEME DECLARATIONS AT THE BOTTOM
*/

@import url(http://a1.nyt.com/fonts/css/fonts.css);

/*fundamentals*/
  html {
    box-sizing: border-box;
  }
  *, *:before, *:after {
    box-sizing: inherit;
  }
  * {border-style: none;} /*damned IE*/
  body {
    background-color: #FFF;
    color: #222;
    font: normal 16px/20px Arial, Helvetica, sans-serif;
    margin: 0 auto;
  }
  body.debug {
    background: transparent url('http://nola14.nytimes-institute.com/files/2014/05/grid.png') center top repeat-y;
  }
  a:link,
  a:visited {
    background-color: transparent;
    color: #333;
    border-bottom: 0px solid transparent;
    text-decoration: none;
  }
    a:hover,
    a:active,
    a:focus {
      border-color: #444;
      color: #444;
      text-decoration: underline;
    }
    /*animated hover state*/
      a:link,
      a:visited,
      a:hover,
      a:active,
      a:focus {
        transition:          border-color 0.2s linear, color 0.2s linear;
        -webkkit-transition: border-color 0.2s linear, color 0.2s linear;
      }

/*headlines*/
  h1,h2,h3,h4,h5,h6 {
    color: #000;
    font: normal 12px/20px Arial, Helvetica, sans-serif;
  }
    h1 {
      color: #111;
      font: 300 50px/65px Arial, Helvetica, sans-serif;
      margin: 0;
      padding: 0;
    }
    /*kicker*/
    .kicker {
      color: #888;
      font: 300 12px/16px Arial, Helvetica, sans-serif;
      margin: 0;
      text-transform: uppercase;
    }
      .institute .kicker a,
      .institute .kicker a:link,
      .institute .kicker a:visited {color: #888;}
    .manual {margin-bottom: 16px;}
    .non-article > .column > h2.kicker {margin-bottom: 24px;}

    /*hed*/
    .entry-title {
      font: 400 45px/51px 'franklin-normal-400', Arial, Helvetica, sans-serif;
      margin: 0 0 0.667em 0;
    }
      .entry-title a {
        color: #000;
      }

    /*summary*/
    .summary-title {
      color: #000;
      display: inline;
      font: 400 24px/30px 'franklin-normal-400', Arial, Helvetica, sans-serif;
      margin: 0px;
      padding: 0px;
    }

    /*subhed*/
    #comments,
    #respond h3,
    .subhead {
      color: #4D4D4D;
      font: 700 14px/16px 'franklin-normal-700', Arial, Helvetica, sans-serif;
      margin: 0 0 6px 0;
      text-transform: uppercase;
    }

/*header*/
  .page-header {
    margin: 35px auto 28px auto;
    max-width: 780px;
  }
  .page-header-branding {
    position: relative;
    height: 80px;
  }
    header#top h1 a {
      color: #111;
      display: block;
      width: 100%;
    }
      header#top h1 a:hover {
        border-color: transparent;
        text-decoration: none;
      }
      header#top h1 a span {display: none;}
    .page-header .nytsji-logo {
      position: absolute;
      width: 75px;
      height: auto;
    }
    .page-header .nytimes-logo {
      position: absolute;
      left: 89px;
      height: 24px;
      width: 150px;
      margin-top:8px;
    }
    .page-header .header-site-title {
      font-family: 'karnak-normal-400', Helvetica, serif;
      font-size: 40px;
      line-height: 1;
      position: absolute;
      left: 90px;
      top: 36px;
    }
  header #burger {
    background-color: #FFF;
    border: 2px solid #B4B4B4;
    border-radius: 3px;
    color: #888;
    display: none;
    font: normal 11px/1.0em Arial;
    padding: 3px 6px;
    position: absolute;
    right: 10px;
    top: 20px;
  }
  header #burger:hover,
  header #burger:active,
  header #burger:focus {
    background-color: #333;
    color: #FFF;
  }

/*navigation*/
  .main-menu {
    background-color: transparent;
    border: 1px solid #CCC;
    border-radius: 0px;
    border-width: 1px 0;
    color: #222;
    font: 700 11px/15px Arial, Helvetica, sans-serif;
    margin: 15px 0 0 0;
    padding: 5px 0;
    text-transform: uppercase;
  }
    .main-menu #menu-main,
    .main-menu #menu-main-menu {
      list-style: none;
      margin: 0;
      padding: 0;
      text-align: center;
    }
    .main-menu .menu-item {
      background-color: transparent;
      border-radius: 0px;
      display: inline-block;
      vertical-align: top;
      margin: 0 3px 0 3px;
      padding: 2px 6px 1px 6px;
    }
    .main-menu .menu-item a:link,
    .main-menu .menu-item a:visited,
    .main-menu .menu-item a:hover {
      color: #222;
      border-bottom: 0px;
      text-decoration: none;
    }
    /*hover*/
      .main-menu .menu-item:hover {background-color: #E9EBE4;}
      /*animation*/
        .main-menu .menu-item,
        .main-menu .menu-item:hover {
          transition:         background-color 0.1s ease-in, color 0.2s ease-in;
          -webkit-transition: background-color 0.1s ease-in, color 0.2s ease-in;
        }

/*columns*/
  .column {
    display: block;
    margin: 0px auto;
    padding: 0px;
  }
  .container {
    box-sizing: border-box;
    margin: 20px auto 0px auto;
    max-width: 780px;
    padding: 0px;
  }

    /*entry basics*/
      .no_posts {
        color: #666;
        font: normal 12px/20px Arial, Helvetica, sans-serif;
        margin-bottom: 2.0em;
      }
      .entry {
        clear: both;
        border-top: 1px solid #ccc;
        margin-bottom: 0;
        margin: 30px auto;
        max-width: 780px;
        padding: 38px 0px 0px 0px;
        position: relative;
      }
      .entry:nth-child(1):before{
        content:"Latest News";
        display:block;
        width:600px;
        font: 700 12px/14px 'franklin-normal-700', Arial, Helvetica, sans-serif;
        color: #4d4d4d;
        margin: 0px auto 25px auto;
        text-transform: uppercase;
      }
        .entry-meta .byline {
          color: #B4B4B4;
          margin-right: 10px;
        }
        .entry-meta .date {
          display: inline-block;
          margin-left: 0px;
          white-space: nowrap;
        }
    /*summary basics*/
      .summary {
        padding: 0px;
        margin: 0px 0px 20px 0px;
      }
      .summary-header,
      .summary-meta {
        color: #B4B4B4;
        font: normal 15px/18px Arial, Helvetica, sans-serif;
        display: inline;
        vertical-align: top;
      }
        .summary-header {
          margin-right: 5px;
        }
        .summary-meta .date {
          color: #B4B4B4;
          white-space: nowrap;
        }
        .summary-meta .byline {
          display: none;
        }

/*search*/
  #search-headline {
    margin-top: 30px;
  }
  #search {
    margin-bottom: 18px;
  }
    #search label {
      position: absolute;
      top: -99999px; left: -99999px;
    }
    #search input {
      border: 1px solid #B4B4B4;
      margin: 0px;
      padding: 3px;
      width: auto;
    }
    #search input[type='submit'] {
      background-color: #B4B4B4;
      border: 1px solid #B4B4B4;
      color: #FFF;
    }
      #search input[type='submit']:hover,
      #search input[type='submit']:active {background-color: #666;}
  #search-results h2.kicker.manual {
    margin-bottom: 20px;
  }

/*entry*/
    .entry-art,
    .entry-header,
    .entry-topper,
    .entry-excerpt,
    .entry-meta,
    .entry-content {
      max-width: 600px;
      /*min-width: 280px;*/
      margin: 0px auto;
      overflow: hidden;
    }
    .entry-content {
      overflow: visible;
    }
    .entry:after,
    .non-article .entry-art:after { /*clearfix*/
      content: "";
      display: table;
      clear: both;
    }
    .entry-header h2.kicker {margin-bottom: 0px;}
    .entry .container {padding: 20px 0 50px 0;}
      .entry p,
      .entry li,
      #content.widecolumn p {
        color: #4d4d4d;
        font: 400 17px/24px Georgia, Times New Roman, serif;
      }
      #content.widecolumn p {
        max-width: 640px;
      }
        .entry p,
        #content.widecolumn p {
          margin: 0 0 1.0em 0;
        }
        .entry p:last-child{
          margin-bottom:0;
        }
        #story .entry .entry-content p a:link {
          color: #111;
          text-decoration: underline;
          -webkit-transition:color .2s ease-in-out;
          -moz-transition:color .2s ease-in-out;
          -ms-transition:color .2s ease-in-out;
          transition:color .2s ease-in-out;
        }
        #story .entry .entry-content p a:hover{
          color: #8CCBE6;
        }
        #story .entry .entry-content p a:visited {
          text-decoration: none;
        }
        #story .entry-topper {
          font: 700 14px/16px 'franklin-normal-700', Arial, Helvetica, sans-serif;
          color: #4d4d4d;
          margin: 0px auto 15px auto;

        }
        .entry-content p strong {
          color: #111;
        }
        #story ul.can-quickfacts-list {
          float: right;
          padding: 0 0 0 30px;
          max-width: 250px;
          color: #111;
          border-left: 1px solid #CCC;
          margin-left: 35px;
          margin-bottom: 20px;
        }
        #story ul.can-quickfacts-list li {
          list-style-type: none;
          color: #111;
          font: 400 15px/22px 'franklin-normal-400', Arial, Helvetica, sans-serif;
          margin-bottom: 8px;
        }
        #story ul.can-quickfacts-list li:last-child {
          margin-bottom: 0;
        }

        @media (max-width: 675px) {
          #story ul.can-quickfacts-list {
            float: inherit;
            max-width: 300px;
            margin: 0 auto;
            display: block;
          }
        }

        /*grid layouts*/
        .grid-wrap {
            margin: 20px 0px;
          }
          /*big on top, two smaller below*/
            #three-top {
              align-items: flex-start;
              display: flex;
              flex-flow: row wrap;
              justify-content: space-between;
              margin: 0px -90px;
            }
            #three-top figcaption {
              display: none;
            }
            #three-top figure {
              box-sizing: border-box;
              margin: 0px;
              padding: 0px !important;
            }
              #three-top figure,
              #three-top figure.photo a:link,
              #three-top figure.photo img {
                width: 100%;
                max-width: 100%;
              }
            #three-top .flex-feature {
              flex: 0 0 100%;
            }
              #three-top .flex-feature {
                width: 100%;
                margin-bottom: 20px;
              }
            #three-top .flex-sidebar {
              flex: 0 0 100%;
            }
              #three-top .flex-sidebar figure {
                display: inline-block;
                width: 47.90%;
              }
              #three-top .flex-sidebar figure:nth-child(1) {
                margin-right: 20px;
              }

          /*gridded square of four equally spaced photos*/
            #four-grid {
              align-items: flex-start;
              display: flex;
              flex-direction: row;
              flex-wrap: wrap;
              justify-content: space-between;
              margin: 0px -90px;
            }
              #four-grid figure {
                box-sizing: border-box;
                margin: 0px 10px 10px 0px;
                flex: 0 0 48%;
                padding: 0px !important;
              }
              #four-grid figure:nth-child(even) {
                margin-right: 0px;
              }
              #four-grid figure:nth-child(3),
              #four-grid figure:nth-child(4) {
                margin-bottom: 0px;
              }
              #four-grid figure,
              #four-grid figure.photo a:link,
              #four-grid figure.photo img {
                width: 100%;
                max-width: 100%;
              }

          /*two little, one big, can be either side depending*/
          /***Add class "three-grid-rev" to reverse the grid*/
            #three-grid {
              margin: 0 -90px;
              display: flex;
            }
              #three-grid figure {
                float: inherit;
                margin: 0;
              }
              #three-grid figcaption {
                display: none;
              }
              #three-grid img {
                width: 100%;
              }
              #three-grid .flex-feature {
                flex-grow: 2;
                margin-right: 20px;
              }
              #three-grid .flex-sidebar {
                flex-grow: 1;
                max-width: 34.5%;
                display: block;
              }
                #three-grid .flex-sidebar figure:first-child {
                  margin-bottom: 20px;
                }
               #three-grid .grid-mobile {
                display: none;
              }
              .three-grid-rev .flex-feature {
                order: 2;
                margin-left: 20px;
                margin-right: 0 !important;
              }
              .three-grid-rev .flex-sidebar {
                order 1;
              }

          /*supercaption/supercredit (for three-grid)*/
            .flex-supercaption p {
              font: normal 12px/15px Georgia, Times New Roman, serif;
              color: #B4B4B4;
              display: inline;
              margin: 10px 0px 0px 0px;
              padding: 0px 5px 0 0;
              display: block;
            }
              .flex-supercaption p .credit {
                color: #BBB;
                white-space: normal;
                font-size: 11px;
                text-align: right;
                padding: 0;
              }

          /*mobile*/
            @media (max-width: 980px) {
              #three-grid {
                margin: 0 auto !important;
              }
              #three-grid .flex-feature img {
                max-width: 545px;
              }
              #three-grid .flex-sidebar {
                max-width: 300px;
              }
            }

            @media (max-width: 800px) {
              #four-grid figure {
                flex: 0 0 100%;
              }
              #three-top .flex-sidebar figure {
                margin-right: 0px;
                width: 100%;
              }
              #three-grid {
                max-width: 600px;
                margin: 0;
                flex-wrap: wrap;
              }
              #three-top figcaption,
              #three-grid figcaption {
                display: block;
                margin-bottom: 15px;
              }
              #three-grid .flex-sidebar, #three-grid .flex-feature {
                min-width: 200px;
              }
              #three-grid .flex-feature {
                flex-grow: 1;
                margin-right: 0;
              }
              .three-grid-rev .flex-feature {
                margin-left: 0;
              }
                #three-grid .flex-feature img {
                  max-width: inherit;
                  margin-bottom: 0px;
                }
              #three-top .flex-feature,
              #three-grid .feature-img {
                margin-bottom: 0;
              }
              #three-grid .item-caption {
                display: block;
              }
              #three-grid .flex-sidebar {
                max-width: inherit;
                display: none;
              }
              #three-grid .top-photo {
                margin-bottom: 0;
              }
              #three-grid .grid-mobile {
                display: block;
              }
              .flex-supercaption p {
                display: none;
              }
            }



        /*blockquotes and pullquotes*/
          .entry-content blockquote {
            border-left: 2px solid #DDD;
            margin: 30px 30px 30px 15px;
            padding-left: 15px;
          }
            .entry-content blockquote p {
              color: #888;
              font: normal 15px/20px Arial, Helvetica, sans-serif;
              max-width: 540px;
            }
            .entry-content blockquote em {
              display: block;
              font-size: 0.9em;
              margin: 0px;
              text-align: right;
            }
          .entry-content blockquote.pullquote {
            border-left: 0px;
            margin-left: 30px;
            padding-left: 0px;
          }
            .entry-content blockquote.pullquote p {
              color: #999;
              font: 400 20px/30px 'franklin-normal-400', Arial, Helvetica, sans-serif;
              font-style: italic;
              margin-bottom: 5px;
              max-width: 540px;
            }
            .entry-content blockquote.pullquote em {
              color: #999;
              font: italic 16px/18px 'franklin-normal-400', Arial, Helvetica, sans-serif;
            }

      /*story exceptions*/
        #story .entry .entry-content a:link,
        #story .entry .entry-content a:visited {text-decoration: none;}
        #story .entry .entry-content a:hover {text-decoration: underline;}

    /*entry meta*/
      .entry-meta {
        margin-bottom: 20px;
      }
        .entry-meta .byline a.url {
          color: #8CCBE6;
        }
      /*admin*/
      .btn-edit {display: none;}
      /*social*/
      .byline-social {
        margin-bottom: 15px;
      }
      .byline-social a {
        background: transparent;
        color: #B4B4B4;
        display: inline-block;
        font: normal 10px/1.4em Arial, Helvetica, sans-serif;
        margin: 0 5px 0 0;
        padding: 2px 8px 1px 0px;
        text-transform: uppercase;
        text-decoration: none;
        text-align: center;
      }
        .byline-social a {border-top: 0px !important;}
        .byline-social a:link,
        .byline-social a:visited {
          color: #B4B4B4;
        }
        .byline-social a:hover {
          color: #317494;
        }
        /*animated hover*/
          .byline-social a,
          .byline-social a:hover {
            transition:         background-color 0.2s ease-in;
            -webkit-transition: background-color 0.2s ease-in;
          }
      }
      .byline-social a.social {
        display: inline-block;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
      }
        .byline-social a.social:before {
          color: white;
          box-sizing: border-box;
          display: inline-block;
          font: 400 16px/30px Genericons !important;
          position: relative;
          text-align: center;
          vertical-align: top;
          width: 30px;
          height: 30px;
          background-color: #000;
          vertical-align: top;
          margin-top: 2px;
          text-align: center;
          line-height: 30px;
          border-radius: 50%;
        }
        a.social:hover {
          border: none;
          opacity: .6;
        }
        .byline-social a.social span {
          display: inline-block;
          line-height: 18px;
        }
        .byline-social a.twitter:before {
          content: '\f202';
          background-color: #00acee;
          font: 400 16px/30px Genericons;
        }
        .byline-social a.facebook:before {
          content: '\f204';
          background-color: #3b5998;
          font: 400 16px/30px Genericons;
        }
        .byline-social a.instagram:before {
          content: '\f215';
          background-color: #833ab4;
          font: 400 16px/30px Genericons;
        }

    /*optional credits*/
      #contributor,
      #photographer {
        font: 400 normal 11px/15px Georgia, Times New Roman, serif;
      }
      #contributor { /*<em id="contributor">...</em>*/
        border-top: 1px solid #E8E8E8;
        color: #666;
        display: block;
        font-size: 15px;
        font-style: italic;
        margin-top: 17px;
        padding-top: 8px;
      }
      #photographer { /*<strong id="photographer">...</strong>*/
        color: #222;
        font-weight: 700;
        font-size: 13px;
        text-align: center;
      }

/*datestamps*/
  .entry a.date {margin-right: 10px;}
  .entry a.date:link,
  .entry a.date:visited {color: #B4B4B4;}

/*images*/
  .photo {
    color: #B4B4B4;
    font: normal 12px/15px Georgia, Times New Roman, serif;
    margin: 0px 0px 20px 0px;
    padding: 0px;
    position: relative;
  }
  /*content*/
    .photo p {margin: 0px;}
    .photo .photo-meta {color:#888;}
      .photo.w75 .photo-meta,
      .photo.w75S .photo-meta {display: none;}
    .photo .credit {
      font-size: 11px;
      text-align: right;
      padding: 0;
      /*text-transform: uppercase;*/
      white-space: nowrap;
    }
      #story .photo .caption:not(:empty) {
        color: #B4B4B4;
        display: inline;
        padding: 0px 5px 0 0;
      }
      #story .photo .credit {
        color: #BBB;
        white-space: normal;
      }
      /*hide caption column layouts*/
      .column .photo .caption {display: none;}
      /*flush credit right for column layouts*/
      .column .photo .credit {display: block; font-weight: 500;}
    /*no mouseover effects besides cursor for images*/
      .photo a, .photo a:link, .photo a:visited, .photo a:hover, .photo a:active, .photo a:focus,
      .photo a img {
        /*min-width: 280px;*/
        max-width: 600px;
        border: 0px;
        transition: none;
        text-decoration: none;
        width: 100%;
        height: auto;
      }

  /*article image alignments*/
    .entry-content .photo.alignleft {float: left; margin: 5px 20px 10px 0;}
    .entry-content .photo.alignright {float: right; margin: 5px 0 10px 20px;}
    .entry-content .photo.aligncenter,
    .entry-content .photo.alignnone {margin: 10px auto;}
    #story .entry-content .photo.aligncenter {padding-right: 40px;}

  /*image sizes*/
    .entry-art .photo.w75  {width: 75px;}
    .entry-art .photo.w75S {width: 75px;}
    .entry-art .photo.w180 {width: 180px;}
    .entry-art .photo.w300 {max-width: 300px;}
    .entry-art .photo.w600 {max-width: 600px;}
    .entry-art .photo.w980 {max-width: 980px;}

  /*image page*/
    #image {
      margin-bottom: 50px;
      max-width: 780px;
    }
    #image .photo {margin-top: 10px; width: auto;}
    #image .photo .photo-meta .caption p {
      color: #666;
      font: 400 12px/15px Georgia, Times New Roman, serif;
      max-width: 640px;
      margin: 0px;
    }
    #image .photo img {
      height: auto;
      max-width: 780px;
      width: 100%;
    }
    #image .photo .credit {display: block;}

  /*links to image page*/
    .photo.attachment a {
      display: block;
      position: relative;
    }
    .photo.attachment a:after {
      background-color: rgba(0,0,0,0.8);
      border: 2px solid #666;
      border-radius: 5px;
      bottom: 20px;
      color: #B4B4B4;
      content: "Full size »";
      display: block;
      font: bold 12px/30px Arial, Helvetica, sans-serif;
      height: 30px;
      left: 10px;
      opacity: 0;
      padding: 2px 8px;
      position: absolute;
      text-align: center;
      position: absolute;
      width: auto;
      -webkit-font-smoothing: antialiased;
    }
    .photo.attachment:hover a:after {opacity: 1.0;}
    .photo.attachment a,
    .photo.attachment:hover a:after {
      transition:         opacity 0.2s ease-in;
      -webkit-transition: opacity 0.2s ease-in;
    }

  /*gallery*/
  .institute .slideshow-window {
    background-color: #FFF;
    border: 0px solid #B4B4B4;
    border-radius: 0px;
    -webkit-border-radius: 0px;
    margin-bottom: 45px;
  }

  .institute .slideshow-slide .slideshow-slide-description {
    color: #888;
    text-shadow: none;
    display: block;
    margin: 10px 0 0 0;
    font-size: 11px;
    line-height: 17px;
    padding: 0 30px;
  }

/*audio*/
  .wp-audio-shortcode {
    float: left;
    margin: 5px 20px 20px 0;
    max-width: 380px;
  }

  /*author page*/
    .bio-header {
      color: #4D4D4D;
      font: 700 14px/16px 'franklin-normal-700', Arial, Helvetica, sans-serif;
      max-width: 780px;
      margin: 20px auto;
      padding: 0px;
      clear: both;
      border-top: 1px solid #ccc;
      margin-bottom: 0;
      margin: 30px auto;
      max-width: 780px;
      padding: 38px 0px 0px 0px;
      position: relative;
    }
    @media (max-width: 810px) {
      .bio-header {
        padding: 0px 10px;
      }
    }
      .bio-header strong {
        color: #000;
        display: block;
        margin-bottom: 10px;
        text-transform: uppercase;
      }
      .bio-header p {
        color: #666;
        font: normal 14px/19px Georgia, Times New Roman, serif;
        margin: 0px 0px 1.0em 0px;
        text-transform: none;
      }
    #author {
      border-top: 1px solid #B4B4B4;
      clear: both;
      margin-top: 35px;
    }
    #author .container {
      max-width: 600px;
      margin-top: 0;
    }
    #author .entry .entry-title {
      margin-bottom: 10px;
    }
    #author .entry {
      border: 0;
      padding: 0;
    }
    #author .container .byline {
      display: none;
    }
    #author .entry-title {
      color: #000;
      font: 700 24px/30px 'franklin-normal-400', Arial, Helvetica, sans-serif;
    }
    #author .entry-art {
      float: right;
      margin-left: 10px;
      overflow: visible;
      margin-top: 8px;
    }
    #author figure {
      margin: 0;
    }
    #author-info .author-name {
      color: #000;
      font: 700 45px/51px 'franklin-normal-400', Arial, Helvetica, sans-serif;
      display: block;
      margin-bottom: 15px;
    }
    #author-info p {
      margin: 0;
    }
    #author-info .bio-pic {
      display: block;
      max-width: 300px;
      float: right;
      margin-left: 25px;
      max-height: 225px;
      margin-bottom: 25px;
    }
    @media (max-width: 630px) {
      .bio-pic {
        float: initial !important;
        margin: 0 auto 15px auto !important;
      }
    }

  /*team/authors page*/
    .authors-header {
      border-top: 1px solid #ccc;
      color: #4D4D4D;
      max-width: 780px;
      margin: 20px auto;
      padding: 15px 10px;
    }
    #authorlist .flex-container {
      max-width: 780px;
      margin: 0 auto;
      display: -moz-flex;
      display: -webkit-flex;
      display: flex;
      -moz-flex-flow: row wrap;
      -webkit-flex-flow: row wrap;
      flex-flow: row wrap;
      -moz-justify-content: center;
      -webkit-justify-content: center;
      justify-content: center;
    }
    #authorlist .flex-item {
      flex-basis: 25%;
      margin: 5px 5px 10px 5px;
      max-width: 180px;
      -moz-flex: 1 0 auto;
      -webkit-flex: 1 0 auto;
      flex: 1 0 auto;
      width: 100%;
    }
    #authorlist .profile-picture {
      height: auto;
      min-height: 75px;
      max-width: 180px;
      min-width: 75px;
      width: 100%;
    }
    .authors-header h1 {
      font: 400 45px/51px 'franklin-normal-400', Arial, Helvetica, sans-serif;
      color: #000;
    }
    #authorlist .name {
      font: 400 18px/18px 'karnak-normal-400', Helvetica, sans-serif;
      color: #000;
      margin: 3px auto 5px auto;
      padding-bottom: 0;
    }
    #authorlist .university {
      color: #b4b4b4;
      text-transform: uppercase;
      font: 700 11px/13px Helvetica, Arial, sans-serif;
      margin-top: 6px;
    }

/*continue-reading markers*/
  a.more-link {
    color: #8CCBE6;
    font: 700 15px/18px Helvetica, Arial, sans-serif;
  }
    a.more-link .screen-reader-text {
      display: none;
    }

/*tags*/
  .entry .tag {
    background-color: #B4B4B4;
    border: 0px;
    border-radius: 3px;
    color: #FFF;
    display: inline-block;
    font: normal 11px/1.0em Arial, Helvetica, sans-serif;
    line-height: 1.4em;
    margin: 0 5px 0 0;
    padding: 2px 5px 1px 5px;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
  }
  .entry .tag {
    color: #FFF;
    background-color: #B4B4B4;
    letter-spacing: 0.5px;
    padding: 2px 5px 1px 6px;
  }
  #story .entry-meta:hover .tag,
  .column > .entry:hover .tag {color: #FFF; background-color: #666;} /*child tags only get emphasized*/
  .entry .tag,
  .entry:hover .tag {
    transition:         background-color 0.1s ease-in;
    -webkit-transition: background-color 0.1s ease-in;
  }

/*comments*/
  .navigation {display: none;}
  .commentlist,
  .commentlist .children {
    font: normal 11px/20px Arial, Helvetica, sans-serif;
    list-style: none;
  }
    .commentlist {margin: 10px 0px; padding: 0px;}
  .commentform p {
    font: normal 12px/20px Arial, Helvetica, sans-serif;
  }
  .commentlist .comment {margin: 20px 0 30px 0;}
  .commentlist .comment-content {
    border-left: 0px;
    margin: 0px;
    padding-left: 0px;
  }
  .commentlist .comment-content p {
    border-left: 3px solid #96CAE4;
    font: normal 15px/25px Arial, Helvetica, sans-serif;
    margin: 10px 0 5px 0;
    padding: 0 0 0 16px;
  }
    .commentlist .comment-author {
      font: normal 14px/20px Arial, Helvetica, sans-serif;
      padding: 0 0 0 16px;
    }
    .commentlist .comment-author cite {
      display: block;
      font-weight: bold;
      font-style: normal;
    }
    .commentlist .comment-author a.date,
    .commentlist .comment-author .edit-link a,
    .commentlist .comment-author .reply a {
      display: inline-block;
      font: normal 12px/14px Arial, Helvetica, sans-serif;
    }
    .commentlist .comment-author .edit-link {
      display: inline-block;
      text-decoration: none;
    }
    .commentlist .comment-author .edit-link a {
      color: #B4B4B4;
    }
    .commentlist .comment-author .edit-link a:hover {
      color: #666;
    }

/*embeds & insets*/
  blockquote.twitter-tweet { /*specificity wars*/
    border: 1px solid #E8E8E8;
    border-radius: 10px;
    margin: 20px auto 40px auto !important;
    max-width: 460px;
    min-height: 180px;
  }
    .twitter-tweet p {
      display: block;
      padding-top: 50px;
    }
    .twitter-tweet p:last-child {
      padding-top: 0px;
    }
  iframe.twitter-tweet-rendered {
    margin: 20px auto 40px auto !important;
    max-width: 460px;
  }
  .embed-youtube,
  iframe[src*="youtube"] {margin: 20px auto;}
  .instagram-media,.instagram-media-rendered {
    margin: 5px auto !important;
    max-width: 460px !important;
  }
  .vine-embed,
  span.embed-vine {
    float: none;
    display: block;
    margin: 20px auto;
    width: 460px;
  }
  .fb_iframe_widget {
    display: block !important;
    margin: 20px auto;
    width: 550px;
  }
  div.youtube-feature span.embed-youtube,
  .youtube-player {
    display: inline !important;
    float:right;
    margin: 0;
    margin-right: -295px;
    padding-left: 20px;
  }
  #inset{
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e2e2e2;
    border-bottom: 1px solid #e2e2e2;
    padding-bottom: 30px;
    margin-bottom: 30px;
    overflow: auto;
    zoom: 1;
  }
  #inset .entry-content .photo.alignleft{
    margin: 5px 20px 0 0;
  }
  #inset .entry p,
  #inset .entry p em{
    font: 400 15px/21px Georgia, Times New Roman, serif;
    font-style: normal;
    color: #6d6d6d;
  }

/* tweet embed */
.entry-content .twitter-tweet.twitter-tweet-rendered{
  margin:30px auto!important;
}

/*footer*/
  footer#bottom {
    border-top: 1px solid #222;
    clear: both;
    margin: 0px auto;
    padding: 30px 0;
  }
  footer#bottom .column {
    display: block;
    max-width: 600px;
    margin: 0 auto;
  }
    /*typography*/
    footer#bottom .subhead {
      margin-bottom: 25px;
    }
    footer#bottom p {
      color: #888;
      font: normal 14px/19px Georgia, Times New Roman, serif;
      margin: 0px 0px 1.0em 0px;
    }
      footer#bottom p a {
        color: #111;
        text-decoration: underline;
        -webkit-transition:color .2s ease-in-out;
        -moz-transition:color .2s ease-in-out;
        -ms-transition:color .2s ease-in-out;
        transition:color .2s ease-in-out;
      }
      footer#bottom p a:hover{
        color:#8CCBE6;
      }
    #feed,
    #about {
      display: inline-block;
      vertical-align: top;
      margin: 10px 0px 30px 0px;
    }
      #feed {
        border-right: 1px solid #CCC;
        margin-right: 50px;
        max-width: 335px;
        padding-right: 50px;
      }
      #about {
        max-width: 215px;
      }
    #social {
      list-style: none;
      margin: 0px 0px 20px 0px;
      padding: 0px;
    }
      #social li {
        max-width: 150px;
        padding: 0px 0px 15px 0px;
      }
      #social li a {
        color: #B4B4B4;
        display: inline-block;
        font: 700 15px/17px Helvetica, Arial, sans-serif;
        vertical-align: top;
      }
      #social li a:hover {
        border: none;
        opacity: .6;
      }
      #social li a:before {
        background-color: #CCC;
        content: "X";
        color: #FFF;
        display: inline-block;
        float: left;
        width: 30px;
        height: 30px;
        vertical-align: top;
        margin-right: 10px;
        margin-top:2px;
        text-align: center;
        line-height: 30px;
        border-radius: 50%;
        font: 400 16px/30px Genericons;
      }

      #social li#twitter a:before {
        content: '\f202';
        background-color: #00acee;
        font: 400 16px/30px Genericons;
      }
      #social li#facebook a:before {
        content: '\f204';
        background-color: #3b5998;
        font: 400 16px/30px Genericons;
      }
      #social li#pinterest a:before {
        content: '\f209';
        background-color: #ca1f27;
        font: 400 16px/30px Genericons;
      }
      #social li#instagram a:before {
        content: '\f215';;
        background-color: #833ab4;
        font: 400 16px/30px Genericons;
      }

    #institute {
      color: #B4B4B4;
      font: 700 15px/18px Helvetica, Arial, sans-serif;
    }
      #institute a {color: #8CCBE6;}

  footer#bottom #legal {
    color: #888;
    margin-top: 18px;
    text-align: center;
  }
  footer#bottom #legal p {
    font-size: 11px;
  }

/* responsive */
  /*handset portrait and below*/
  @media only screen and (max-width:675px) {
    .container {
      padding: 0px 10px;
    }
    .page-header{
      margin-top:35px!important;
    }
    .page-header-branding {
      height: 45px;
    }
    .page-header .nytsji-logo {
      width: 45px;
      height: auto;
    }
    .page-header .header-site-title {
      font-size: 21px !important;
    }
      .page-header .nytimes-logo{
        margin-top:8px;
      }

      .page-header .nytimes-logo,
      .page-header .header-site-title {
        left: 60px;
      }
    .photo {
      font-size: 11px;
      line-height: 14px;
    }
      .photo .credit {
        font-size: 11px;
        line-height: 14px;
      }
    .entry-title {
      font-size: 30px;
      line-height: 35px;
    }
    .entry-meta .byline,
    .entry a.date,
    .byline-social {
      font-size: 12px;
      line-height: 14px;
    }
    .entry p,
    .entry li,
    #content.widecolumn p {
      font-size: 14px;
      line-height: 20px;
    }
    footer#bottom {
      padding: 30px 10px;
    }
    #feed,
    #about {
      border-right: 0px;
      margin-right: 0px;
      max-width: 100%;
      padding-right: 0px;
    }
    #social li {
      float: left;
      max-width: 175px;
      padding-right: 10px;
    }
    #social li a:before {
      margin-bottom: 10px;
    }
    footer#bottom .subhead {
      clear: both;
    }
  }
