/* DUKE MAGAZINE */
@import url('https://fonts.googleapis.com/css?family=Noto+Serif:400,700,700i');

.magazine .main,
.magazine .pane-page-breadcrumb {
  max-width: 980px;
  margin: 0 auto;
  width: 90%;
}

.node-type-duke-magazine-articles #content,
.node-type-duke-magazine-articles div.dk-container.mt25.mb25,
.node-type-duke-magazine-articles .pane-duke-magazine-pane-header {
  max-width: none;
}

/* fix for dk-container and view floats */
.node-type-duke-magazine-articles div.dk-container.mt25.mb25:after {
  display: inline-block;
}

tbody {
  border-top: none;
}

.magazine .image-header {
  height: 55vh;
  background-color: #215E85;
  background-repeat: no-repeat;
  background-position: top;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.image-header.reg-w-img {
  height: 75vh;
  justify-content: unset;
  align-items: initial;
}

.image-header.featured {
  background-size: cover !important;
}

.image-header .article-heading {
  color: #fff;
  -webkit-font-smoothing: antialiased;
  max-width: 980px;
  text-align: center;
  margin: 0 auto;
}

.image-header .reg-img {
  order: 2;
  margin: 0 auto;
  height: 75%;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding-top: 30px;
}

.image-header.reg-w-img .article-heading {
  top: 0;
  padding: 45px 0;
  order: 1;
  display: block;
  width: 100%;
}

.image-header.reg-w-img .article-heading h1 {
  margin-bottom: 0;
}



.image-header .article-heading h1,
.image-header .article-heading h2 {
  color: #fff;
}

.image-header .article-heading h1 {
  font-family: 'Noto Serif', serif;
  font-weight: 700;
  text-transform: initial;
  font-size: 45px;
  line-height: normal;
  text-shadow: 1px 1px 1px #000;
}


.magazine .pane-page-breadcrumb {
  margin-bottom: 25px;
  margin-top: 15px;
}

p {
  color: #262626;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
}

.magazine .left-col-70 p {
  margin-bottom: 15px;
  line-height: unset;
}

.node-type-duke-magazine-content .left-col-70 ul {
  padding-left: 30px !important;
}

.node-type-duke-magazine-content .left-col-70 li {
  list-style: initial;
  padding: initial;
  list-style-position: inside;
}

.right-col-30 .pane-views h2.pane-title {
  font-family: 'Noto Serif', serif;
  font-weight: 400;
}

.article-body p:first-of-type::first-letter {
  color: #262626;
  font-family: 'Noto Serif', serif;
  font-size: 60px;
  margin-right: 7px;
  line-height: .9;
  font-weight: 700;
  float: left;
}

.article-body p {
  font-weight: 400;
}

.magazine h3 {
  color: #262626;
  text-transform: uppercase;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 18px;
  margin-bottom: 10px;
}

.view-duke-magazine .view-header h2 {
  font-family: 'Noto Serif', serif;
  font-weight: 400;
}

.mag-info {
  margin-bottom: 40px;
}

h3.article-author a {
  /* color: #262626; */
}

h3.article-author a:after {
  content: ",";
}

h3.article-author a:last-child:after {
  content: "";
}

h3[class*='article-'] a:hover,
.view-duke-magazine .field-content a:hover {
  color: #262626;
}

div.related-articles ul {
  list-style-type: none;
  padding-left: 0;
  font-size: 16px;
  line-height: normal;
  margin-bottom: 60px;
}

div.related-articles ul li,
.node-type-duke-magazine-content .right-col-30 ul.menu li.leaf {
  border-bottom: 1px dotted #CCCCCC;
  margin: 10px 0 0 0;
  padding-bottom: 10px;
}

.portrait-image {
  display: inline-block;
  float: left;
  margin: 0 20px 15px 0;
  max-width: 200px;
}

.portrait-image img {
  width: 200px;
  height: 240px;
}

figcaption,
.caption,
p.caption-text,
.caption-inner p {
  color: #262626;
  font-size: 13px;
  margin-top: 5px;
  line-height: initial;
}

.social-bar {
  border-top: 1px solid #CCC;
  border-bottom: 1px solid #CCC;
  padding: 5px 0;
  margin: 20px auto;
}

.social-bar .action {
  text-align: center;
  margin-right: 20px;
  margin-left: 20px;
  display: inline-block;
  vertical-align: middle;
}

.social-bar .action p {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
  text-transform: uppercase;
  margin-top: 3px;
}

img.circle {
  border-radius: 50%;
  float: left;
}

.magazine .person {
  margin-bottom: 40px;
}

.person .copy {
  float: left;
  width: 65%;
  margin-left: 20px;
}

.person .copy h3 {
  margin-bottom: 0;
}

.person .copy p {
  font-size: 15px;
  line-height: initial;
  margin-top: 10px;
}

.node-type-duke-magazine-content .right-col-30 ul.menu li.leaf {
  list-style: none;
  font-size: 16px;
}


@media only screen and (max-width: 1280px) {

  .image-header.reg-w-img {
    height: 100vh;
  }

  .image-header .reg-img {
    height: 70%;
  }

}



/* MOBILE */
@media only screen and (max-width: 767px) {

  .magazine #content {
    width: 100%;
    margin: 0 auto;
  }

  .news-article .panel-pane.pane-page-breadcrumb.no-title.block {
    width: 90%;
    margin: 10px auto;
  }

  .magazine .main {
    margin: 0 auto;
    width: 90%;
  }

  .social-bar .action p {
    font-size: 0;
  }

  .social-bar .action {
    margin-right: 17px;
    margin-left: 17px;
  }

  .image-header {
    height: auto !important;
  }

  .image-header .reg-img {
    width: 100%;
    position: inherit;
  }

  .image-header .article-heading {
    top: 20%;
    width: 100%;
  }

  .image-header .article-heading {
    padding: 15px !important;
  }

  .image-header .article-heading h1 {
    line-height: 1.2;
    font-size: 36px;
  }

  .article-body p:first-of-type::first-letter {
    color: inherit;
    font: inherit;
    margin-right: 0;
    line-height: inherit;
    float: none;
  }

  .portrait-image {
    display: block;
    float: none;
    margin: 0 auto;
  }

  /* admin bar */
  ul.primary li a {
    margin-right: 0;
    padding: 0 .5em;
    font-size: 11px;
  }

  .magazine .person {
    text-align: center;
  }

  img.circle {
    float: none;
  }

  .person .copy {
    width: 100%;
    margin-left: 0;
  }

  .node-type-duke-magazine-content h2 {
    text-align: center;
  }

  .view-duke-events .cc-tags {
    margin-left: 0;
  }

  .page-tags-magazine .trip-image {
    margin-bottom: 20px !important;
    text-align: center;
  }

  .page-tags-magazine .trip-image img {
    float: none;
    text-align: center;
    width: 75%;
  }

}
