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

body {
  background: none !important;
  background-color: #dde8f3 !important;
}

label {

  text-transform: none !important;
}

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

body .container {
  max-width: 960px !important;
}

h1 {
  color: #336699;
  font-weight: bold;
  font-size: 24px;
  text-decoration: none;
  outline: none;
}

h2 {
  font-style: italic;
}

h4 {
  margin-top: 20px;
}

.issue-page h1 {
  margin-top: 0px;
  font-weight:bold;
  font-size:2em !important;
  font-style: normal;
}

.issue-page h2 {
  margin-top: 0px;
  font-weight:bold;
  font-size: 1.8em !important;
  font-style: normal;
}

.issue-page h3 {
  margin-top: 0px;
  font-weight:bold;
  font-size: 1.6em !important;
  font-style: normal;
}

.issue-page h4 {
  margin-top: 0px;
  font-weight:bold;
  font-size: 1.4em !important;
  font-style: normal;
}

.issue-page h5 {
  margin-top: 0px;
  font-weight:bold;
  font-size: 1.2em !important;
  font-style: normal;
}

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

.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;
}

span.top_ribbon_bg {
  margin: 0;
}

#sddm.mobiled {
  background-color: #000000;
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  margin-right: -15px;
  margin-left: -15px;
  padding: 0;
  z-index: 1;

  color: #ffffff;
  font-family: georgia, verdana, sans-serif, Times;
  outline: none;
}

#sddm.mobiled a,
#sddm.mobiled .nav-not-a {
  border-top: none;
  background-color: #000000;
  width: 100%;
  padding: 5px;
  font-size: 13px;
  text-align: center;
  border-right: thin solid #666666;
  padding-bottom: 4px;


}
body > .container {
  background-color: white;
  box-shadow: none !important;
}

#sddm.mobiled .nav-not-a input[type=text] {

  border-radius: 2px;
  border: thin solid #ccc;
  padding: 3px;
  color: #000000;
  font-size: 11px;
  margin-right: 10px;
}

#sddm.mobiled a:hover {
  background-color: #666666;
}

#sddm.mobiled > div {
  position: relative;
  display: block;
  visibility: visible;
}

#sddm.mobiled > div div {
  z-index: 30;
  min-width: 200px;
}

#sddm.mobiled > div div a {
  border-top: 1px solid #ffffff;
  text-align: left;
}

.cqtext {
  padding-top: 10px !important;
  padding-bottom: 40px;
}
.mobile-nav-button {
  display: none !important;

  padding: 5px !important;
  font-size: 2em;
  float: right;
  cursor: pointer;
  background-color: #000000 !important;

}

#modal {
  border-radius: 6px;
  top: 5%;
  bottom: 5%;
  right: 5%;
  left: 5%;
}

#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%;
}

.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 10px 10px;
  width: 50%
}

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

.blink {
  animation:blinkingText 0.8s infinite;
  font-weight: bold;
  color: red;
  font-size: 2em;
}
@keyframes blinkingText{
  0%{     color: red;    }
  49%{    color: transparent; }
  50%{    color: transparent; }
  99%{    color:transparent;  }
  100%{   color: red;    }
}
.navlink, .navlink a:link, .navlink a:visited, .navlink a:hover {
  font-size: 14px;
}

.sidebar-complete {
  display: block;
  padding: 15px;
  float: right;
  width: 60%;
  margin: 0 0 5px 5px;
  border-radius: 2px;
}

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

.light-blue {
  background-color: #cae1e7;
}

.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;
}

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

@media (max-width: 768px) {

  .mobile-display-none,
  .issue-page .attribution,
  .issue-page hr {
    display: none;
  }

  p,
  span
  {
    font-size: 15px;
  }
  h4,
  .gill {
    font-size: 18px !important;
    margin-top: 24px;
  }
  h3 {
    font-size: 20px !important;
    margin-top: 24px;
  }

  .cq-masthead .masthead-legend-box {
    max-width: 40% !important;
  }

  .LEGEND {
    font-size: 1.1em;
  }
  .LEGEND .photographer {
     font-size: 1em;
   }

  #sddm div.mobile-nav-button {
    display: block !important;
    width: auto !important;
  }
  .nav, .sub-nav,
  #sddm div,
  #sddm.mobiled > div {
    max-width: 100% !important;
    width: 100% !important;
    position: relative;
    display: none;
    visibility: visible !important;
  }
  #sddm.mobiled > div div a {
    text-align: center;
  }

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

@media (max-width: 500px) {

  .sidebar-complete,
  .sidebar {
    width: 100% !important;
  }

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

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