@charset "UTF-8";
/*
Theme Name: The Statesman
Theme URI: http://www.sbstatesman.com/
Author: The Statesman
Author URI: http://www.sbstatesman.com/
Description: A Wordpress theme for The Statesman — Stony Brook University's campus newspaper.
Version: 1.0.0
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl.html
Text Domain: statesman
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------

# Base
  ## reset
  ## wordpress
# Typography
# Layout
  ## layout
  ## lines
  ## navigation
  ## footer
  ## side menu
# components
  ## media objects
  ## icons
  ## thermometer
# Forms
  ## butons
# Media
  ## images
  ## slick
  ## hover-text

--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/
/* reset */
body {
  padding: 45px 0 1% 0;
  /* push for fixednav */
  -webkit-font-smoothing: subpixel-antialiased;
  /* fix webkit font rendering */
  font-family: Georgia, serif;
  font-size: 0.875rem;
}

/* Eliminate whitespace between fixednav and main content */
body.page-template-page-featured {
  padding: 28px 0 10px 0;
  /* push for fixednav */
}

body, figure {
  margin: 0;
}

a:link, a:visited {
  text-decoration: none;
  color: inherit;
}

a:hover, a:active {
  text-decoration: underline;
  color: inherit;
}

/* Wordpress styles */
.admin-bar .fixednav {
  top: 28px;
}

@media screen and (max-width: 782px) {
  .admin-bar .fixednav {
    top: 46px;
  }
}

@media screen and (max-width: 600px) {
  #wpadminbar {
    position: fixed !important;
  }
}

.alignright {
  float: right;
  margin: 0 0 1em 1em;
}

.alignleft {
  float: left;
  margin: 0 1em 1em 0;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  font-family: 'Droid Sans', sans-serif;
  font-weight: 400;
  line-height: 1.4em;
  margin-bottom: 16px;
  color: #4b4b4b;
  font-size: 0.75rem;
  max-width: 100%;
}

.content-width img {
  max-width: 100%;
  height: auto;
  margin-bottom: 5px;
}

.content-width iframe {
  max-width: 100%;
}

.content-width {
  width: 600px;
}

.wp-content a {
  text-decoration: underline;
  color: #005a9c;
}

@media only screen and (max-width: 959px) {
  .content-width {
    margin: 0 auto;
  }
}

@media only screen and (max-width: 639px) {
  .content-width {
    width: 100%;
  }
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
/* typography */
h1 {
  font-size: 1.5rem;
  font-family: 'Droid Sans', sans-serif;
  font-weight: 700;
  margin: 0;
  line-height: 1.25em;
}

h2 {
  font-size: 1.25rem;
  font-family: 'Droid Sans', sans-serif;
  font-weight: 700;
  margin: 0;
  line-height: 1.25em;
}

h3 {
  font-size: 1.125rem;
  font-family: 'Droid Sans', sans-serif;
  font-weight: 700;
  margin: 0;
  line-height: 1.25em;
}

h4 {
  font-size: 1rem;
  font-family: 'Droid Sans', sans-serif;
  font-weight: 700;
  margin: 0;
  line-height: 1.25em;
}

h5 {
  font-size: 0.875rem;
  font-family: 'Droid Sans', sans-serif;
  font-weight: 700;
  margin: 0 0 .75em 0;
  line-height: 1.25em;
}

h6 {
  font-size: 1rem;
  color: #005a9c;
  text-transform: uppercase;
  margin: 0 0 1em 0;
}

.xlarge-text {
  font-size: 2.625rem;
}

.large-text {
  font-size: 1rem;
}

.small-text {
  font-size: 0.75rem;
}

.coloredtext {
  color: #005a9c;
}

.uppercasetext {
  text-transform: uppercase;
}

.articletype {
  text-transform: uppercase;
  color: #005a9c;
  font-family: 'Droid Sans', sans-serif;
  font-weight: 700;
  margin: 0 0 .4em 0;
}

.excerpt {
  font-size: 0.8125rem;
  color: #4b4b4b;
  line-height: 1.6em;
  margin: .4em 0;
}

.headline {
  font-size: 2.125rem;
  font-family: 'Droid Sans', sans-serif;
  font-weight: 700;
  margin: 0;
  line-height: 1.2em;
}

.articletext {
  line-height: 1.6em;
}

.articletext p {
  margin-bottom: 1.3em;
  margin-top: 0;
  min-width: 100px;
}

.articletext p:before {
  /* to prevent text wrap for narrow column */
  content: "";
  width: 10em;
  display: block;
  overflow: hidden;
}

.metatext {
  font-family: 'Droid Sans', sans-serif;
  font-weight: 400;
  line-height: 1.3em;
  margin-bottom: .1em;
  color: #4b4b4b;
}

.metatext-dark {
  color: #000;
}

.metatext-colored {
  color: #005a9c;
}

.metatext-byline {
  margin: .6em 0;
  text-transform: uppercase;
}

.left {
  float: left;
}

.right {
  float: right;
}

.center {
  text-align: center;
}

.uppercase {
  text-transform: uppercase;
}

/*--------------------------------------------------------------
# Layout
--------------------------------------------------------------*/
/* layout */
.container {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  overflow: auto;
}

.row {
  overflow: hidden;
  margin: 10px 0;
  position: relative;
}

.main,
.sidebar,
.twocolumn,
.threecolumn,
.fourcolumn,
.full-width-half,
.full-width-third {
  box-sizing: border-box;
  padding: 0 .8em;
  float: left;
}

.main {
  width: 66.666%;
  border-right: 1px solid #c8c8c8;
}

.sidebar {
  width: 33.333%;
  border-left: 1px solid #c8c8c8;
  margin-left: -1px;
}

.main-half {
  width: 50%;
  border-right: 1px solid #c8c8c8;
  padding-right: 0.8em;
  float: left;
  box-sizing: border-box;
}

.main-half:last-child {
  border-right: 0;
  padding-right: 0;
  border-left: 1px solid #c8c8c8;
  margin-left: -1px;
  padding-left: 0.8em;
}

.sidebar-item:before {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background-color: #c8c8c8;
  margin: 1em auto;
}

.sidebar-item:first-of-type:before {
  display: none;
}

.twocolumn {
  width: 50%;
}

.threecolumn {
  width: 33.333%;
}

.fourcolumn {
  width: 25%;
}

.twocolumn:nth-of-type(2n + 1),
.threecolumn:nth-of-type(3n + 1),
.fourcolumn:nth-of-type(4n + 1) {
  clear: both;
}

.full-width {
  box-sizing: border-box;
  width: 100%;
  padding: 0 .8em;
}

.full-width-half {
  width: 50%;
  border-right: 1px solid #c8c8c8;
}

.full-width-half:last-child {
  border-right: 0;
  border-left: 1px solid #c8c8c8;
  margin-left: -1px;
}

.full-width-third {
  width: 33.333%;
  border-left: 1px solid #c8c8c8;
  border-right: 1px solid #c8c8c8;
  margin-left: -1px;
}

.full-width-third:first-child {
  border-left: 0;
  padding-left: 0;
}

.full-width-third:last-child {
  border-right: 0;
  padding-right: 0;
}

@media screen and (max-width: 959px) {
  .main {
    width: 100%;
    border-right: none;
  }
  .sidebar {
    width: 100%;
  }
  .sidebar-item:first-of-type:before {
    display: block;
  }
  .fourcolumn {
    width: 50%;
    margin-bottom: 1em;
  }
  .fourcolumn:nth-of-type(2n + 1) {
    clear: both;
  }
}

@media only screen and (max-width: 639px) {
  .threecolumn {
    width: 100%;
  }
  .full-width-third, .full-width-third:first-child, .full-width-third:last-child {
    width: 100%;
    padding: 0 .8em;
    border: none;
  }
  .full-width-third:after {
    content: '';
    display: block;
    width: 50%;
    height: 1px;
    background-color: #c8c8c8;
    margin: 1em auto;
  }
  .full-width-third:last-child:after {
    display: none;
  }
}

/* lines */
.hline {
  margin: 1em 0;
  clear: both;
  width: 100%;
}

.hline-background {
  position: absolute;
  top: .5em;
  z-index: -1;
  border-top: 1px solid #c8c8c8;
}

.hline-strong {
  border-top: 1px solid #000;
}

.hline-medium {
  border-top: 1px solid #c8c8c8;
}

/* navigation */
.fixednav {
  width: 100%;
  padding: 10px 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 5;
  text-align: center;
  color: #fff;
  background-color: #005a9c;
  font-family: 'Droid Sans',sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}

/* page header */
.nav-logo {
  display: inline-block;
  float: left;
}

.home-logo {
  display: block;
  float: left;
  width: 70%;
}

.tagline {
  width: 26%;
  margin: 0 2% 1.5em 2%;
  padding: 3px 0 3px 15px;
  border-left: 3px solid #005a9c;
  box-sizing: border-box;
  position: absolute;
  bottom: 0;
  right: 0;
  line-height: 1.3em;
  font-family: 'Droid Sans',sans-serif;
  font-weight: 400;
}

.sectionhead {
  text-align: center;
  position: relative;
}

.sectionhead-text {
  font-size: 2.25rem;
  font-family: 'Droid Sans', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

.sectionhead-text-centered {
  padding: 0 20px;
  background-color: #fff;
  display: inline-block;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  float: left;
}

.nav-list > li {
  display: inline-block;
  margin: .3em 0 .3em 2.5em;
}

.nav-list > li > a {
  display: block;
  text-align: center;
}

.search-bar {
  display: none;
  border-top: 2px solid #006BBA;
  padding: 10px 0 5px 0;
  margin-top: 10px;
}

.search-bar .search-field {
  width: 100%;
  height: 30px;
  border: none;
  outline: none;
  background-color: rgba(255, 255, 255, 0.2);
  color: #FFF;
  text-align: center;
  font-size: 1rem;
}

.search-bar input[type="search"],
.search-bar input[type="search"]::-webkit-search-decoration,
.search-bar input[type="search"]::-webkit-search-cancel-button,
.search-bar input[type="search"]::-webkit-search-results-button,
.search-bar input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none;
}

.nav-button {
  display: none;
  font-size: 1.5em;
  float: left;
  cursor: pointer;
}

.search-button {
  font-size: 1.5em;
  float: right;
  cursor: pointer;
}

@media screen and (max-width: 959px) {
  .nav-logo {
    float: none;
  }
  .home-logo {
    margin: 0 15% .5em 15%;
  }
  .tagline {
    width: 100%;
    padding: .75em 0 0 0;
    margin: 0;
    border-left: 0;
    border-top: 1px solid #c8c8c8;
    position: relative;
    clear: both;
    text-align: center;
  }
  .nav-button {
    display: block;
  }
  .nav-list {
    display: none;
    width: 100%;
    border-top: 2px solid #006BBA;
    padding: 10px 0 5px 0;
    margin-top: 10px;
  }
  .nav-list > li {
    display: block;
    margin: 0;
  }
  .nav-list > li > a {
    padding: 10px 0;
  }
  .nav-list > li > a:hover {
    background-color: #006BBA;
    text-decoration: none;
  }
}

@media screen and (max-width: 639px) {
  .home-logo {
    width: 100%;
    margin: 0 0 .5em 0;
  }
}

/* footer */
.footer-left {
  float: left;
}

.footer-right {
  float: right;
}

@media screen and (max-width: 959px) {
  .footer-left, .footer-right {
    float: none;
    width: 100%;
    text-align: center;
    display: block;
  }
  .footer-left {
    margin-bottom: 1em;
  }
}

/* side menu */
/* this is currently only used in the featured template */
.side-menu {
  height: 100%;
  display: none;
  position: fixed;
  width: 20em;
  z-index: 5;
  background-color: #444;
  color: #fff;
}

.side-heading {
  padding: 1em;
}

.side-menu-icon {
  margin-left: 1em;
}

.side-menu-list {
  display: none !important;
  /* need to figure out a way to avoid !important */
}

.side-menu a {
  text-decoration: none;
}

.side-menu > ul {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
  height: 85%;
  overflow-y: scroll;
  z-index: 6;
}

.side-menu > ul > li {
  padding: 1.5em 1em;
}

.side-menu > ul > li:hover {
  background-color: #666;
  cursor: pointer;
  transition: background-color 0.15s cubic-bezier(0.33, 0.66, 0.66, 1) 0s;
}

.side-menu > ul > li.slick-active {
  background-color: #666;
  transition: background-color 0.15s cubic-bezier(0.33, 0.66, 0.66, 1) 0s;
}

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/
/* media objects */
.hmedia, .hmedia .block, .vmedia, .vmedia .block {
  overflow: auto;
}

.vmedia {
  width: 100%;
}

.hmedia-list {
  margin-bottom: 2em;
}

.hmedia .thumbnail {
  float: left;
  margin-right: 1em;
  overflow: hidden;
}

.vmedia .thumbnail {
  margin-bottom: .75em;
}

.clip {
  margin-bottom: 1em;
}

.thumbnail-secondary {
  display: none;
}

.thumbnail-lede {
  /* category page */
  width: 390px;
}

.thumbnail-large {
  /* main latest */
  width: 230px;
}

.thumbnail-small {
  /* regular thumbnail */
  width: 195px;
}

.thumbnail-xsmall {
  /* sidebar latest stories */
  width: 90px;
}

.adbox {
  background-color: #eee;
  padding: 1em;
}

@media screen and (max-width: 959px) {
  .vmedia .thumbnail {
    float: left;
    margin-right: 1em;
    margin-bottom: 0;
    overflow: hidden;
    width: 50%;
  }
  .thumbnail-secondary {
    display: block;
  }
}

@media only screen and (max-width: 639px) {
  .hmedia .thumbnail {
    width: 30%;
    height: auto;
    float: left;
  }
  .vmedia .thumbnail {
    float: none;
    margin-right: 0;
    margin-bottom: .75em;
    overflow: auto;
    width: auto;
  }
  .thumbnail img {
    width: 100%;
    height: auto;
  }
}

/* icons */
.iconbar {
  display: inline-block;
  vertical-align: middle;
}

.iconbar-social i {
  margin: 0 .2em;
}

/* thermometer */
.progressbarcontainer {
  width: 90%;
  height: 20px;
  margin-bottom: 20px;
  overflow: hidden;
  background-color: #f5f5f5;
  border-radius: 25px;
}

.thermometeroutercontainer {
  text-align: center;
  margin: 0 auto;
}

.thermometercontainer {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1em;
  width: 30%;
}

.thermometer-outer {
  border-radius: 23px;
  background-color: #f5f5f5;
}

.thermometer-outer-h {
  height: 20px;
  width: 100%;
}

.thermometer-outer-v {
  /*vertical outer box*/
  height: 50vh;
  width: 40px;
  margin-left: auto;
  margin-right: auto;
  display: inline-block;
}

.thermometer-inner {
  background: #9C0000;
  border-radius: 23px;
}

.thermometer-inner-h {
  height: 20px;
}

.thermometer-inner-v {
  width: 100%;
}

.thermometer-percent {
  position: absolute;
  left: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
/* buttons */
.button {
  display: inline-block;
  padding: 1em;
  text-decoration: none !important;
  background-color: #06B;
  border-radius: 5px;
  text-align: center;
  color: #FFF !important;
  margin: 0 .5em 0 0;
}

.button:hover {
  background-color: #29e;
}

.button-wide {
  width: 100%;
  padding: 1em 0;
}

.inline-form {
  display: inline-block;
}

button {
  border: none;
  cursor: pointer;
  font: inherit;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
/* images */
.imagewrapper {
  position: relative;
  padding-bottom: 66.666%;
  height: 0;
  overflow: hidden;
}

.imagewrapper img {
  width: 100%;
  height: auto;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

.videowrapper {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 */
  height: 0;
}

.videowrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.articletext .gallery {
  margin: 1.5em 0;
}

.gallery a {
  display: none;
}

.gallery a:first-child {
  display: block;
}

/* slick */
.slick-list, .slick-track {
  height: 100%;
}

.slick-item {
  padding: 0 1em;
}

.slick-item.featured {
  padding: 0;
}

.slick-item img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  margin: auto;
}

.slidecontainer {
  position: relative;
  width: 100%;
}

.arrows-container {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  top: calc(45% - 35px);
}

.arrow-left, .arrow-right {
  z-index: 1;
  transition: opacity 0.15s cubic-bezier(0.33, 0.66, 0.66, 1) 0s;
  position: absolute;
  background-color: #ffffff;
  opacity: 0.5;
  padding: 2em 1em;
}

.arrow-left img, .arrow-right img {
  vertical-align: middle;
}

.arrow-left:active, .arrow-right:active {
  cursor: pointer;
  opacity: 1;
}

.arrow-left {
  left: 0;
}

.arrow-right {
  right: 0;
}

/* hover text */
.hovertext-container {
  position: relative;
}

.hovertext {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: left;
  margin: 0;
  padding: .5em 1em;
  opacity: 0.8;
  background-color: #000;
  color: #fff;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -o-transition: 0.3s;
  -ms-transition: 0.3s;
}

.hovertext-container:hover .hovertext {
  background-color: #005a9c;
}

.hovertext-small {
  right: auto;
}

.hovertext img {
  width: auto;
  display: inline-block;
}

.opacity-screen {
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  background-color: #000;
  opacity: .5;
}