@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');


body {
  font-family: Georgia, "Times New Roman", Times, serif;
  background: none !important;
  background-color: #dde8f3 !important;
  line-height: normal !important;
}

body, li, ol, ul, dd, dt, dl, td, th, p, div {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

body .container {
  max-width: 1140px !important;
  background-color: white;
  box-shadow: none !important;
}

body > .container img {
  max-width: 100%;
  height: auto !important;
}

a {
  color: #336699;
}

h1, h2, h3, h4, h5 {
  margin-top: 5px;
  color: #336699;
  font-weight:bold;
  font-style: normal;
}

h1 {
  font-size: 28px !important;
}

h2 {
  font-size: 18px !important;
  margin-top: 20px;
}

h3 {
  font-size: 18px !important;
  margin-top: 20px;
}

h4 {
  font-size: 16px !important;
  margin-top: 10px;
}

h5 {
  font-size: 14px !important;
  margin-top: 10px;
}


/*
Header
*/
span.top_ribbon_bg {
  display: block;
  background-color: #0e1b21;
  opacity: .5;
  margin: 0;
  border-radius: 2px 2px 0 0;

  position: absolute;
  top:0px;
  left: 0px;
  right: 0px;
  height: 25px;
}
a.top_ribbon {
  display: block;
  float: left;
  padding: 3px 20px 3px 30px;
  color: #ffffff;
  margin: 0;
  background-image: url(../../images/MDSG_logo_square.png);
  background-repeat: no-repeat;
  background-size: auto 100%;
  background-position: 3px;
  border-radius: 2px 2px 0 0;
  text-transform: uppercase;
  font-size: .8em;
  font-family: 'Oswald',arial,sans-serif;

  position: absolute;
  top:0px;
  right: 0px;
}

.header_wrap {
  margin: 0;
  padding: 0;
  position: relative;
  width: 100%;
  max-height: 205px;
}

/*
Nav
*/
.navbar {
  margin: 0 -15px;
  padding: 0 15px 0;
  background-color: black !important;
}

ul.navbar-nav {
  margin-left: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.nav-item a {
  color: white !important;
  padding: 5px 1.8rem !important;
  border-right: thin solid #666666;
  font-size: 12.6px !important;
}

.nav-item a:hover {
  background-color: #666666;
}

.nav-item,
.navbar .form-control {
  font-size: 12.6px !important;
}


.dropdown-menu.show {
  background-color: black !important;
  padding: 0;
}

a.dropdown-item {
  border-bottom: thin solid white;
  font-size: 12.6px !important;
}

.navbar .form-control {
  padding: 2px 5px;
  height: 22px;
  border-radius: 2px;
}

.navbar button {
  border-radius: 4px !important;
  height: 22px;
  padding-top: 2px !important;
}

/*
Content body
*/

.sub-title {
  font-style: italic;
  font-weight: normal !important;
  font-size: 18px !important;
  margin-top: 12px;
}

.author {
  font-weight: normal !important;
  font-size: 14px !important;
  margin-top: 14px;
}

.cover-page {

}

.cqcontent {
  padding: 0;
  clear: both;
}

.content {
  padding-top: 15px;
  padding-bottom: 15px;
}

.content.cover-page h1,
.content.cover-page h2,
.content.cover-page h3,
.content.cover-page h4,
.content.cover-page h5 {
  margin-top: 0 !important;
}

.content.cover-page .author {
  font-style: italic;
}

article > p:first-of-type {
  margin-top: 15px !important;
}

.cq-masthead img {
  height: auto;
  width: 100%;
  border: 0;
}

.masthead-legend-box {
  float:right;
  width:235px;
  padding: 15px 0em .6em 1em;
  margin: -15px -5px 15px 15px;
  border-left: thin solid #e0e0e0;
  clear: right;
}

.masthead-legend-box .LEGEND {
  margin: 0 0 8px 0;
}

.LEGEND {
  color: #333333;
  font-size: .9em;
  text-decoration: none;
  font-style: italic;
  line-height: 1.5em;
  margin: 8px 0;
}

figcaption {
  font-style: italic;
}

.signature {
  text-align: right;
  font-style: italic;
  font-size: 1em;
}

.info-box {
  padding: 20px;
  background-color: #F0F6FB;
  font-family: "Gill Sans",sans-serif !important;
  margin: 10px 0;
}

.info-box.green {
  background-color: #EEF3D7;
}

.info-box.gray {
  background-color: #f6f6f5;
}

.info-box p,
.info-box span,
.info-box div {
  font-family: sans-serif !important;
}
.info-box h1,
.info-box h2,
.info-box h3,
.info-box h4,
.info-box h5,
.info-box .gill {
  font-family: "Open Sans",sans-serif !important;
  font-style: normal;
  font-weight: bold;
}
.info-box h2 {
  margin-top: 10px;
}

.nobottom {
  padding-bottom: 0;
}

.image-right {
  float: right;
  margin: -5px 0 15px 20px;
  width: 50%
}

.image-left {
  float: left;
  margin: 15px 15px 15px 0;
  width: 50%
}

.sidebar-complete {
  display: block;
  padding: 15px;
  float: right;
  width: 50%;
  margin: 0 0 5px 20px;
  border-radius: 2px;
  font-size: .85em;
}

.sidebar-complete h3 {
  margin-top: 0;
}

/*
sidebar
*/

.issue-sidebar {
  background-color: #E0E0E0;
  color: #5f5f5f;
  height: 100%;
}

.issue-sidebar a {
  color: #5f5f5f;
}

.issue-sidebar article {
  color: #336699;
}

.issue-sidebar h2 a,
.issue-sidebar h3 a,
.issue-sidebar h4 a,
.issue-sidebar h5 a {

  color: #336699;
}

.issue-sidebar > div > ul {
  padding-left: 0;
  margin-left: 0 !important;
}

.issue-sidebar > div > ul > li {
  list-style:none;
  margin-bottom: 10px;
  font-size: 14px;
}

.issue-sidebar > div > ul ul {
  padding-left: 0;
  margin-left: 10px !important;
}

.issue-sidebar > div > ul ul li {
  list-style-type: disc;
  margin-left: 10px;
}

.stay-connected {
  color: black !important;
}

.attribution {
  font-style: italic;
  font-size:.9em;
  margin:.4em 0;
  text-align: right
}

.js_view_img_in_modal {
  cursor: pointer;
}

.container img {
  max-width: 100%;
  height: auto !important;
}

.info-box h1,
.info-box h2,
.info-box h3,
.info-box h4,
.info-box h5,
.info-box {
  color: #000 !important;
}

.light-blue {
  background-color: #dde8f3 !important;
}

.light-blue h3,
.light-blue h4,
.light-blue h5 {
  color: #006595 !important;
}

.dark-blue,
.dark-blue h1,
.dark-blue h2,
.dark-blue h3,
.dark-blue h4 {
  background-color: #1c5782 !important;
}

.teal,
.teal h1,
.teal h2,
.teal h3
.teal h4 {
  background-color: #217c90 !important;
  color: white !important;
}

.sidebar {
  background-color: #e2e5e5;
  border-radius: 4px;
  overflow: hidden;
  margin: 0 0 5px 20px !important;
}

.sidebar,
.sidebar div {
  font-size: 0.95em !important;
}

.sidebar h3 {
  margin-top: 5px !important;
}

.btn.btn-primary {
  background-color: #6a92a3 !important;
  border-color: #6a92a3 !important;
}

/*
 * page elements
 */
#modal {
  border-radius: 6px;
  top: 5%;
  bottom: 5%;
  left: 50%;
  transform: translate(-50%);
  max-height: 100vh;
}

#modal-content {

}

#modal .LEGEND {
  font-size: 1.2em;
  line-height: normal;
  padding: 10px;
  background-color: #e0e0e0;
  margin-bottom: 0;
  bottom: 20px;
  left: 20px;
  right: 20px;
  position: absolute;
}

#modal img {
  width: 100%;
}


/* AddThis */
.addthis_toolbox {
  width:48px;
  margin-bottom: 20px;
}
/* End AddThis */

a.btn.btn-primary.download_cq {
  text-align: center;
  width: 100%;
  font-size: 1em !important;
  padding: 5px 10px !important;
  border-radius: 2px !important;
  margin: 0 0 -5px 0;
}



.subsection {
  font-family: "Open Sans",sans-serif !important;
  margin: 10px -30px 0 -15px;
  background-color: #f2f2f2;
  border-color: #bee5eb;
  padding: 30px;
}

.subsection h1,
.subsection h2,
.subsection h3,
.subsection h4,
.subsection h5 {
  font-family: "Open Sans",sans-serif;
  margin: 0 0 20px 0 !important;
}
.subsection h2 {
  font-size: 1.8em !important;
  font-weight: 300 !important;
}


/*
 bootstrap custom by Kevin 04/11/2018
*/

.highlight {
  color:#336699;
  font-weight: bold;
}

.sans {
  font-family: "Open Sans", sans-serif !important;
}

.sans h1,
.sans h2,
.sans h3,
.sans h4,
.sans h5 {
  font-family: "Open Sans", sans-serif !important;
  font-weight: bold !important;
}

.sidebar-complete,
.sidebar,
.sidebar-complete p,
.sidebar p {
  font-size: 0.95em !important;
}

@media (max-width: 768px) {


  .subsection {
    margin: 10px -15px 0 -15px;
  }

  .issue-page .attribution,
  .issue-page hr {
    display: none;
  }
  .navbar {
    font-size: 1em !important;
  }
  .navbar button {
    height: auto;
  }
  .nav-item,
  .navbar .form-control {
    font-size: 1em !important;
  }

  p,
  span  {

  }

  h1,
  h2,
  h3,
  h4,
  h5  {
    /*font-size: 1.2em !important;*/
  }

  .gill {
    /*font-size: 1.2em !important;*/
    margin-top: 24px;
  }

  .masthead-legend-box {
    width: 100% !important;
    border: none;
    padding: 10px 0 0;
  }

  .LEGEND {
    font-size: .9em;
    color: #666666;
    padding-bottom: 10px;
    border-bottom: thin solid #666666;
  }

  .mobile-text {
    margin-top: 10px;
    margin-bottom: 10px;
  }
}

@media (max-width: 500px) {



  .sidebar-complete,
  .sidebar {
    width: 100% !important;
    margin-bottom: 20px !important;
  }

  .image-right {
    float: none;
    clear: both;
    margin: 0;
    width: 100%
  }

  .image-left {
    float: none;
    clear: both;
    margin: 0;
    width: 100%
  }
}