@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,400i,600,700|Merriweather:400,700');

html {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-smoothing: antialiased;
  font-weight: 400;
}

/**
 * Firefox specific rule
 */

@-moz-document url-prefix() {
  body {
    font-weight: lighter !important;
  }
}

@font-face {
  font-family: 'duke-icons';
  src:  url('https://assets.styleguide.duke.edu/cdn/fonts/duke-icons/duke-icons.ttf?dl=0&zay61g') format('truetype'),
    url('https://assets.styleguide.duke.edu/cdn/fonts/duke-icons/duke-icons.woff?dl=0&zay61g') format('woff'),
    url('https://assets.styleguide.duke.edu/cdn/fonts/duke-icons/duke-icons.svg?dl=0&zay61g#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
}

[class^="icon-"], [class*=" icon-"], .duke-icon {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'duke-icons' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/**********************
  Typography
**********************/

h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, 'Times New Roman', Times, serif;
}

.post-content h1, .post-content h2, .post-content h3, .post-content h4 {
  font-family: 'Merriweather', Georgia, 'Times New Roman', Times, serif;
  font-weight: normal;
  letter-spacing: .025em;
}

h1, .post-title {
  font-weight: normal;
  font-size: 2em;
}

@media (min-width:601px) {
  h1, .post-title {
    font-size: 3.25em;
  }
}

p, li {
  font-family: "Open Sans", Roboto, "Helvetica Neue", Helvetica, sans-serif;
}

strong {
  font-weight: bold;
}

.post-title {
  font-family: 'Merriweather', Georgia, 'Times New Roman', Times, serif;
}

.post-title a:hover {
  color: #012169;
  text-decoration: none;
}

.post h1 a {
  color: #012169;
}

.post-content blockquote {
  background:#E2E6ED;
  border:0;
}

.post-content blockquote:before {
  content: '”';
  font-family: 'Georgia', serif;
  font-size: 72px;
  line-height: 72px;
  font-weight: 700;
  font-style: normal;
  text-align: center;
  color:rgba(1,33,105,.1);
  position: absolute;
  bottom: -.25em;
  right: .25em;
}

.post-content blockquote:after {
  color:#012169;
  content: '“';
  top:20px;
}

.post-content blockquote p {
  color:#262626;
  font:italic normal normal 1.25em/1.5em 'Merriweather', Georgia, 'Times New Roman', Times, serif;
}

.post-content cite {
  color:#666;
  font-family: "Open Sans", Roboto, "Helvetica Neue", Helvetica, sans-serif;
}

/**********************
  Header Branding
**********************/

.skip-link.button {
  position:absolute;
}

/* Single Line */
.blog-title {
  color: #ffffff;
  display: table;
  font: 600 28px/1.3em "Open Sans", Roboto, "Helvetica Neue", Helvetica, sans-serif;
  height: 0px;
  letter-spacing:.05em;
  margin: 0;
  max-width: none;
  padding: 17px 0 17px 17px;
  position: relative;
  vertical-align: bottom;
  width: 100%;
  z-index: 100;
  border-collapse:separate;
}

@media (min-width:600px) {
  .blog-title {
    font-size: 38px;
    padding: 25px 0 25px 25px;
    width: 100%;
  }
}

@media (min-width) {

}

/* Multi Line */
/*.blog-title {
  color: #ffffff;
  display: table;
  font-family: "Open Sans", Roboto, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 600;
  height: 0px;
  letter-spacing:.125em;
  line-height: 1.3043em;
  margin: 0;
  max-width: none;
  padding: 17px 0 17px 17px;
  position: relative;
  text-transform: uppercase;
  vertical-align: bottom;
  width: 100%;
  z-index: 100;
}

@media (min-width:600px) {
  .blog-title {
    font-size: 23px;
    padding: 25px 0 25px 25px;
    width: 100%;
  }
}*/

.blog-title a {
  background: transparent;
  color: #fff;
  display: table-cell;
  line-height:1em;
  padding: 0 0 0 8px;
  text-align: left;
  vertical-align: bottom;
}


@media (min-width:600px) {
  .blog-title a {
    padding: 0 0 0 16px;
  }
}

.blog-title a:hover {
  color: #fff;
}

.blog-title a:focus {
  text-decoration: none;
}

.blog-title:before {
  display: table-cell;
  background: url() center left no-repeat;
  background-size: 100px 34px;
  background-origin:border-box;
  border-right: solid #fff 1px;
  content: "Duke";
  height: 34px;
  min-width: 108px;
  text-indent: -9999em;
  vertical-align: middle;
  width: 108px;
}

@media (min-width:600px) {
  .blog-title:before {
    background-size: 149px 50px;
    height: 50px;
    min-width: 164px;
    max-width: 160px;
    width: 164px;
  }
}

/**********************
  Hero
**********************/

.header-wrapper {
  background:#012169;
  overflow: hidden;
  width: 100%;
}

@media (min-width:1001px) {
  .header {
    width: 50%;
  }
}

.header {
  background: #012169;
  padding: 0;
  position: relative;
}

.header .section-inner {
  max-width: none;
  width: 100%;
}

@media (min-width:769px) {
  .header .section-inner::after {
    max-width: 100%;
  }
}

.header-image {
  max-height: none;
  position: relative;
  z-index: -1;
}

@media (min-width: 600px) {
  .header-image {
    margin-top: -55px;
  }
}

@media (min-width:1001px) {
  .header-image {
    margin-top: 0;
  }
}

.header-image img {
  display: block;
  width: 100%;
}

/**********************
  Menu
**********************/

.toggles {
  background: rgba(255, 255, 255, .9);
  position: relative;
  z-index: 101;
}

.wrapper .search-button,
.footer .search-button {
	border:none;
	width: 100px;
}

@media (max-width: 600px) {
  .nav-toggle, .search-toggle {
    left: auto;
    margin:0;
    position:relative;
    top:auto;
    z-index: 100;
  }
}

.nav-toggle .bar, .nav-toggle.active .bar {
  background: #012169;
}

@media only screen and (min-width:601px) {
  .nav-toggle .bar, .nav-toggle.active .bar {
    background: #012169;
  }
  .search-toggle .genericon {
    color: #012169;
  }
  .toggle {
    margin-top: 0;
  }
}

.navigation {
  background: none;
  border: 0;
  position: relative;
  margin:0 auto 0 auto;
  width: 1140px;
}

@media (min-width: 1001px) {
  .navigation {
    background:#012169;
  max-width:90%;
  }
  .navigation ul {
    max-width:50%;
    position:absolute;
    bottom:18px;
    right:0;
  }
}

.navigation .current_page_item>a {
  color: #C84E00 !important;
}

.navigation a:hover,
.navigation li:focus-within > a {
  color: #ffd960 !important;
}

.main-menu li:hover>a {
  color: #C84E00;
}

@media (min-width: 1001px) {
  .navigation .current_page_item>a {
    color: #FFD960 !important;
  }
  .navigation a:hover {
    color: #FFD960 !important;
  }
  .main-menu li:hover>a {
    color: #FFD960;
  }
}

.main-menu {
  float: right;
  text-align: right;
}

.main-menu li {
  margin: 0 16px;
}

.navigation a {
  color: #012169;
  font: 700 .875em/1.5em "Open Sans", Helvetica, "Helvetica Neue", arial, sans-serif;
  padding: 10px 0;
  text-transform: uppercase;
}

@media (min-width: 1001px) {
  .navigation a {
    color: #fff;
  }
  .main-menu>li:hover>ul {
    top: auto;
  }
  .main-menu .sub-menu {
    background: rgba(255, 255, 255, 0.9) !important;
    /*box-sizing:border-box;*/
    /*left:auto!important;*/
    /*margin:0 auto;*/
    opacity: 1;
    padding: 0;
    /*right:0;*/
    /*top:auto;*/
    /*width:1140px;*/
    /*max-width:90vw;*/
    /*z-index:0;*/
  }
  .main-menu .sub-menu:before {
    display: none;
  }
  .main-menu .sub-menu li {
    background: none !important;
    border-bottom: 1px solid rgba(200, 200, 200, 0.5);
    clear: right;
    display: block;
    float: right;
    text-align: right;
    width: 100%;
  }
  .main-menu .sub-menu a {
    font-style: normal;
    color: #012169;
  }
  .main-menu>li+li {
    margin-left: 16px;
  }
  .main-menu>li+li:before {
    left: -22px;
  }
}

.main-menu>li+li:before {
  color: #728302;
  font: 400 1em/.75em "Open Sans", Helvetica, "Helvetica Nueu", arial, sans-serif;
  content: "|";
}

.main-menu>.menu-item-has-children>a::after {
  border-top-color: #fff;
}

.main-menu>.menu-item-has-children:hover>a::after {
  border-top-color: #a1b70d;
}

.navigation .mobile-menu {
  background: #fff;
  border-bottom: 2px solid #012169;
  padding: 0 5% .5em 5%;
  position: absolute;
  width: 100%;
  z-index: 100;
}

.mobile-search {
  background: #fff;
  border-bottom: 2px solid #012169;
  position: absolute;
  padding: .5em 0;
  width: 100%;
  z-index: 100;
}

.mobile-search form {
  padding: 0;
}

/**********************
  Dropdown menu
**********************/

.main-menu .sub-menu li {
	text-align:left;
}
.main-menu .sub-menu li a {
	color:#262626;
	text-align:left;
	text-transform:none;
	background:rgba(255,255,255,.9);
	padding:1em;;
}

.main-menu .sub-menu li a:hover {
	background:rgba(255,255,255,1);
	color:#C84E00!important;
}

@media (min-width: 1001px) {
	.main-menu>li:hover .sub-menu,
	.main-menu>li:focus-within .sub-menu,
	.main-menu>li a:focus + .sub-menu {
		left:0;
		height:auto;
		margin-left:0;
		max-width:none;
		min-width:10em;
		position:absolute;
    top: 100%;
		width:100%;
	}
}

/**********************
  Content Structure
**********************/

.content {
  margin-top: 0;
}

.wrapper.section {
  min-height: 100vh;
}

@media (min-width:501px) {
  .wrapper.section {
    padding-top: 0;
  }
  .wrapper.section .section-inner {
    margin-top: -10em;
  }
}

.post {
  background:#fff;
  border: 0;
}

.sidebar {
}

@media (min-width: 1001px) {
  .sidebar {
    width: 30.3%;
  }
}

/**********************
  Content Styling
**********************/

body {
  background-color: #fff;
  /*#f4f7fa;*/
}

.page .post-meta {
  display: none;
}

.post-content ul {
  width:auto;
  margin:0 0 1.5em 0;
  overflow:hidden;
  padding:0 0 0 3em;
}

.post-content ul ul {
  margin:.5em 0;
}

.post-content ul > li:first-child {
  margin-top:0;
}

.post-content ul ul li:last-child {
  margin:0 0 0 0;
}

.button, .morelink, .post-content .wp-block-button__link {
  background: #1D6363;
  border: 2px solid #1D6363;
  border-radius: 5px;
  border-width: 2px;
  color: #fff !important;
  font: 700 .6723em/1.25em "Open Sans", Roboto, "Helvetica Neue", Helvetica, sans-serif;
  overflow: hidden;
  padding: .5em 1.25em .5em 1.5em;
  position: relative;
  text-transform: uppercase;
  margin: 3em 0 1em 0 !important;
  text-decoration: none !important;
}

.post-content .is-style-outline .wp-block-button__link {
  background: #ffffff;
  border-color: #1D6363;
  color: #1D6363!important;
}

.button:hover, .morelink:hover, .post-content .wp-block-button__link:hover {
  background: #2a7e7e;
  border-color: #2a7e7e;
}

.post-content .is-style-outline .wp-block-button__link:hover {
  background: #e8efef;
}

.button:after, .morelink:after, .post-content .wp-block-button__link:after {
  content: " »";
  display: inline;
  font-size: 1.25em;
}

.post-content .wp-block-button__link {
  margin-top:1.5em!important;
}

a[rel=external]:after {
  content: " \ea7d";
  font-family: duke-icons;
  font-weight:normal;
}

.wp-block-button.download .wp-block-button__link:after,
.button[download]:after {
  content: " \e9c7";
  font-family: duke-icons;
  font-weight:normal;
}

.button[href^=\#]:after {
  content: " \ea43";
  font-family: duke-icons;
  font-weight:normal;
  vertical-align: middle;
}

.post-content h2 a, .post-content h3 a {
  color: #012169;
  text-decoration: none;
}

.post-content a {
  color: #0577B1;
  text-decoration: underline;
}

.post-content img {
    border: none;
}

p.post-categories {
  display: none;
}

.comments-container, .post-navigation {
  display: none
}

table {
  border-collapse: collapse;
}

.wp-block-table table {
  margin-top:0;
}

.wp-block-table table th {
  padding-left:10px;
    padding-right:10px;
}

@media only screen and (min-width:768px) {
  .post-content thead {
    white-space: normal;
  }
}

.sidebar .widget {
  border: 0;
  padding:0;
}

.sidebar .widget {
  background: rgba(240,241,242,.95);;
}

.widget-title {
  border: 0;
  color: #005587;
  font-family: 'Merriweather', Georgia, 'Times New Roman', Times, serif;
  font-size: 1.25em;
  line-height: 1.25em;
  text-transform: none;
}

.widget-title a {
  border: 0;
  color: #005587;
  font-family: 'Merriweather', Georgia, 'Times New Roman', Times, serif;
  text-transform: none;
}

.sidebar .widget-content > h3 {
  padding: 30px 30px 0 30px;
}

.sidebar .widget-content > * {
  padding: 30px;
}

.sidebar .widget-content > h3 + * {
  padding: 0 30px 30px 30px;
  position: relative;
}

.sidebar .widget-content > div:empty {
  padding: 0;
}

.widget_rss .widget-title img {
  float:right;
  margin:4px 0 0 5px;
}

.widget_rss ul li a {
  display: inline;
  font-family: "Open Sans", Roboto, "Helvetica Neue", Helvetica, sans-serif;
  font-size:1em;
  font-weight: normal;
  text-decoration: none;
}

.widget_rss ul li a:hover {
  color: #0577b1;
}

/**** Category Listings ****/

.post-content .lcp_catlist {
  margin-left: 0;
}

.lcp_catlist h2 {
  clear: both;
  margin: 0 0 .5em 0;
}

.lcp_catlist li {
  border-top: 1px solid #ddd;
  list-style: none;
  margin: 0 0 1.5em 0;
  overflow: hidden;
  padding: 1.5em 0 0 0;
}

.lcp_catlist .morelink {
  display: block;
  float: right;
  margin-top: 2em;
}

.lcp_catlist .date_modified, .lcp_catlist .author {
  color: #b5b5b5;
  float: left;
  font: 700 .75em/1.5em "Open Sans";
  text-align: right;
  text-transform: uppercase;
}

.lcp_catlist .author {
  float: none;
  white-space: nowrap;
}

/***** Footer *****/

.footer, .credits {
  background: #012169;
  border: 0;
  color: #fff;
  padding: 40px 0 0 0;
}

.credits.section {
  padding: 1em 1em .5em 0;
}

.credits-inner {
  max-width: 1140px;
  opacity: .5;
  width: 100%;
}

.credits p {
  color: #dadada;
  text-transform: none;
}

.credits .sep, .credits p a {
  color: #dadada;
}

.footer .section-inner {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
}

.footer .widgets {
  border: 0 !important;
  /*display: block;
  float: left;*/
  margin: 0 0 1em 0 !important;
  padding: 0 !important;
  width: 100%;
}

@media (min-width: 600px) {
  .footer .widgets {
    flex: 1 0 50%;
  }
  .footer .widgets:first-child {
    display: flex;
    align-items: center;
  }
  .footer .widgets:nth-child(2) p {
    text-align: right;
  }
}

.footer .textwidget p {
  text-align: center;
}

.footer .textwidget a {
  color:#fff;
  text-decoration:underline;
}

.footer .textwidget a:hover {
  color:#FFD960;
  text-decoration:none;
}

.footer .widgets:nth-child(3) {
  clear: left;
  float: none;
  width: 100%;
}

.footer .widget+.widget {
  border: 0;
  margin: 0;
  padding: 0;
}

@media (min-width:53em) {
  .footer .logo::after {
    width: 13.5em
  }
}

#menu-social {
  text-align: center;
}

#menu-social li {
  border: 0;
  display: inline-block;
  margin: 0 .25em;
}
#menu-social li:last-child {
	padding:12px 0;
}

#menu-social li:before {
  display: none;
}

#menu-social li a {
  background: #f1f1f1 !important;
  border-radius: 50%;
  display: block;
  color: #0a2b66;
  font-size: 16px;
  height: 34px;
  line-height: 34px;
  overflow: hidden;
  text-indent: -9999em;
  width: 34px;
}

#menu-social li a:hover {
  background: #0a2b66 !important;
}

.footer .duke-logo {
  background-position: center;
  background-repeat: no-repeat;
  background-size: auto;
  border: 0;
  color: white;
  display: block;
  float: none;
  line-height: 58px;
  margin: 0 auto 2em auto;
  height: 58px;
  text-indent: -9999em;
  width: 140px;
}

@media (min-width: 600px) {
  .footer .duke-logo {
    margin: -1.5em 0 0 0;
  }
}

#menu-social a:before {
  text-indent: 0;
  color: #012169;
  display: block;
  font-family: 'duke-icons';
  font-size: 16px;
  text-align: center;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#menu-social a:hover:before {
  color: #fff !important;
}

#menu-social [href*=facebook]:before {
  content: "\ea90";
}

#menu-social [href*=twitter]:before {
  content: "\ea96";
}

#menu-social [href*=instagram]:before {
  content: "\ea92";
}

#menu-social [href*=plus\.google]:before {
  content: "\ea8b";
}

#menu-social [href*=youtube\.com]:before {
  content: "\ea9d";
}

#menu-social [href*=linkedin\.com]:before {
  content: "\f0e1";
}

#menu-footer {
  padding: 0 0 1em 0;
  text-align: center;
}

#menu-footer li {
  border: 0;
  font: normal 12px/1.5em 'Open Sans', 'Roboto', Helvetica, Arial, sans-serif;
  margin: 0 1em;
  text-align: center;
  text-transform: uppercase;
}

@media (min-width: 600px) {
  #menu-footer li {
    display: inline-block;
  }
}

#menu-footer li a {
  color: #dadada;
}

#menu-footer li:before {
  display: none;
}

/**********************
  SVGs
  Base 64 encoded graphics/logos because SVG uploads to the
  media library are blocked by default

  https://www.base64encode.org/
  https://www.base64decode.org/
**********************/

.header .section-inner::after {
}

.blog-title:before, .footer .duke-logo {
  background-image: url(https://assets.styleguide.duke.edu/cdn/images/wordmark/duke_wordmark-white.svg);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.screen-reader-shortcut {
    position: absolute;
    top: -1000em;
}

.screen-reader-shortcut:focus {
    left: 6px;
    top: 7px;
    height: auto;
    width: auto;
    display: block;
    font:bold 14px/1.5em "Open Sans", Roboto, "Helvetica Neue", Helvetica, sans-serif;;
    padding: 15px 23px 14px;
    background: #f1f1f1;
    color: #0073aa;
    z-index: 100000;
    line-height: normal;
    text-decoration: none;
    box-shadow: 0 0 2px 2px rgba(0,0,0,.6);
}

/**********************
  Gravity Forms Cusomtizations
**********************/

.gform_wrapper h3.gform_title {
  font-size:1.5em;
  font-weight:normal;
  letter-spacing:.025em!important;
  margin: 50px 0 25px;
}
.gform_wrapper span.gform_description {
  font:normal 1em/1.5em "Open Sans", Roboto, "Helvetica Neue", Helvetica, sans-serif;
}

.gform_wrapper.gf_browser_chrome .gfield_checkbox li input,
.gform_wrapper.gf_browser_chrome .gfield_checkbox li input[type=checkbox],
.gform_wrapper.gf_browser_chrome .gfield_radio li input[type=radio] {
  margin-top:0;
}

.gform_wrapper .gf_inline .ginput_container,
.gform_wrapper .gf_inline .gfield_description {
  display:inline;
}

.gform_wrapper .gf_inline .ginput_container input {
  width:12em;
}
.gform_wrapper .gf_inline .ginput_container:before,
.gform_wrapper .gf_inline .ginput_container:after {
  content: " ";
}

@media screen and (min-width:769px) {
  .gform_wrapper .gf_inline .ginput_container input {
    width:20em!important;
  }
}


/**********************
  Alert Bar
**********************/

.duke-alert {
  position:relative;
}

.duke-alert .dukealert-header {
  position:relative;
  width:auto;
}

.duke-alert .dukealert-description {
  position:relative;
  padding:8px 0 8px 20px;
}

.dukealert-description p {
  line-height:1.5em;
}

.duke-alert:before {
  content:"";
  height:100%;
  position:absolute;
  top:0;
  width:100vw;
}

.duke-alert-lev1:before {
    color: #ffcccc;
    background: #ad1e17 url(https://alertbar.oit.duke.edu/sites/all/themes/blackwell/images/struct/bg-alert.png) bottom center repeat-x;

}

.duke-alert-lev2:before {
    color: #262626;
    background: #EE9827 url(https://alertbar.oit.duke.edu/sites/all/themes/blackwell/images/struct/bg-alert-2.png) bottom center repeat-x;
}
