/* QING */
/* Move down content because we have a fixed navbar that is 3.5rem tall */
body {
  padding-top: 6.5rem;
}

#index-home {
   width: 100%;
   min-height: 1200px;
   height: 100%;
   //background-image: url("../img/homepage-background-khaki4.jpg");
   background-repeat: repeat-y;
   background-size: 100%;
   margin-top: -5.0rem;
}

h1 {
   margin-bottom: 1.0rem;
   margin-top: 1.0rem;
   font-family: 'Libre Baskerville', serif;
   color: #e40e0e;
}

h3 {
    font-size: 1.45rem;
}

h4 {
    font-size: 1rem;
    font-weight: 600;
}

h2, h3, h4, h5 {
   font-family: 'Libre Baskerville', serif;
   color: black;
   margin-bottom: .8rem;
}

.dropdown-menu.show {
  display: inline-flex;
  min-height: 50px;
  max-height: 510px;
  overflow-y: auto;
}

ul ul, ol ul {
   list-style-type: none;
   padding-left: 0px;
}

.dropdown-menu {
   //background-color: #fffce8
}

.sub-sub-dropdown {
   padding-left: 20px;
   font-size: 11px;
   text-transform: uppercase;
}

.sub-sub-dropdown a {
   color: #000000 !important;
}

.sub-sub-sub-dropdown {
   padding-left: 20px;
   font-size: 11px;
   text-transform: none;
}

.sub-sub-sub-dropdown a {
   color: #000000 !important;
}

.dropdown-menu li a {
    word-wrap: break-word;
    white-space: normal;
}

.dropdown-item {
   line-height: 1.3;
   color: #c10013;
   font-size: .90rem;
}

.jumbotron {
   background-image: url("../img/homepage-background-khaki-lt.jpg");
   padding: 1.5rem 1.5rem;
   border-radius: 0rem;
}

span.link-highlight {
  background-color: #fff3a3;
}

figure {
  //float: left;
  width: 100%;
  text-align: left;
  font-style: italic;
  font-size: smaller;
  text-indent: 0;
  margin-right: 40px;

}

img.scaled {
  width: 100%;
}

.scroll-select-button {
   float: right;
   margin-left: 30px;
   background-image: url("../images/hmpg-scroll-bkgrnd-1.jpg");
   padding: 3rem 3rem;
   border-radius: 0rem;
}
.scroll-select-button-left {
   float: left;
   margin-left: 0px;
   background-image: url("../images/hmpg-scroll-bkgrnd-1.jpg");
   padding: 3rem 3rem;
   border-radius: 0rem;
}

.hmpg-button1 {
   margin-left: 0px;
   padding: 2rem 2rem;
   border-radius: 0rem;
   font-weight: bold;
   font-size: 18px;
}

.title {
   //background-image: url("../img/homepage-background-khaki4.jpg");
   background-repeat: repeat-y;
   background-size: 100%;
   margin-bottom: 1.0rem;
   margin-top: 5.0rem;
   font-family: 'Libre Baskerville', serif;
   color: #ffffff;
   font-size: 30px;
}

.dropdown-menu{
    width: 300px;
    white-space: normal;
}

.btn-primary {
    background-color: #ed1558;
    border-color: #ed1558;
}

.btn-primary:hover {
    background-color: #333333;
    border-color: #333333;
}

.navbar-expand-md .navbar-nav .nav-link {
    padding-right: .6rem;
    padding-left: .6rem;
}

#home-map {
    float: left;
    margin-right: 30px;
}

.navbar-dark .navbar-nav .nav-link {
    color: #fff;
}

.sitemap-indent-lvl2 {
    padding-left: 30px;
}

.sitemap-indent-lvl3 {
    padding-left: 60px;
}

/* CSS from old module for adaptation as the markup is in the incoming copy */

.image_text {
	color: #333300
}

.slide_info {
	font-style: normal;
	line-height: 16px;
	font-weight: bold;
	text-decoration: none
}
.image_header {
	font-weight: bold;
}
a:hover {
	color: #e40e0e;
}
a {
	color: #0f76a4;
}
.small {
	font-size: 10px;
	line-height: 16px;
	color: #FFFFFF;
}
.copyright {
	font-size: 10px;
	line-height: 12px;
	color: #996633;
	margin-bottom: 0px;
}
.copyright a {
	font-size: 10px;
	line-height: 20px;
	text-decoration: none;
	color: #996633;
}
.copyright a:hover {
	font-size: 10px;
	line-height: 20px;
	text-decoration: none;
	color: #669933;
}
.menu {
	line-height: 18px;
	color: #330000;
}
.menu a {
	line-height: 18px;
	text-decoration: none;
	color: #336600;
}
.menu a:hover {
	line-height: 18px;
	text-decoration: none;
	color: #669900;
}
.dmenu {
	line-height: 30px;
	text-decoration: none;
	color: #FFFFFF;
}
.dmenu a {
	line-height: 30px;
	text-decoration: none;
	color: #CCCC66;
}
.dmenu a:hover {
	line-height: 30px;
	text-decoration: none;
	color: #FFFFFF;
}
.botmenu {
	line-height: 24px;
	color: #CCCC66;
}
.botmenu a {
	line-height: 24px;
	text-decoration: none;
	color: #CCCC66;
}
.botmenu a:hover {
	line-height: 24px;
	text-decoration: none;
	color: #666633;
}
.greenlg_header {
	line-height: 20px;
	font-weight: bold;
	text-decoration: none;
	color: #336600
}
.green {
	line-height: 18px;
	text-decoration: none;
	color: #336600
}
.orange {
	line-height: 18px;
	text-decoration: none;
	color: #996633
}
.red {
	line-height: 18px;
	text-decoration: none;
	color: #330000
}
.white_header {
	font-size: 11px;
	line-height: 17px;
	text-decoration: none;
	color: #333300
}
.caption {
	font-size: 11px;
	line-height: 17px;
	text-decoration: none;
	color: #000000;
}
.caption_or {
	font-size: 11px;
	line-height: 18px;
	text-decoration: none;
	color: #996633
}
.caption_or a {
	font-size: 11px;
	line-height: 18px;
	text-decoration: none;
	color: #996633
}
.caption_or a:hover {
	font-size: 11px;
	line-height: 18px;
	text-decoration: none;
	color: #669933
}
.caption_or_it {
	font-size: 11px;
	font-style: italic;
	line-height: 18px;
	text-decoration: none;
	color: #996633
}
.quote {
	font-size: 12px;
	line-height: 18px;
	text-decoration: none;
	color: #336600
}
.red_header {
	line-height: 18px;
	font-weight: bold;
	text-decoration: none;
	color: #330000
}
.orange_header {
	line-height: 18px;
	font-weight: bold;
	text-decoration: none;
	color: #996633
}
.sidebar {
	padding: 15px;
	background-color: #f5f5f5;
	margin-bottom: 30px;
	clear: both;
	margin-top: 30px;
}
.sidebar-in-text {
	padding: 15px;
	background-color: #f5f5f5;
	margin-bottom: 30px;
	clear: both;
	margin-top: 30px;
}

.sidebar-in-text h3 {
    font-size: 1.45rem;
}

.sidebar-wide {
	float: right;
	padding: 15px;
	background-color: #ddd;
	width: 450px;
	margin-left: 30px;
	clear: both;
	margin-top: 30px;
	margin-bottom: 20px;
}

.sidebar h3 {
    font-size: 1.45rem;
}

.sidebar-note {
    font-size: .8rem;
    font-style: italic;
}

.image-div-left {
	float:left;
	margin-right: 30px;
	width: 50%;
}

.image-div-left-sm {
	float:left;
	margin-right: 30px;
	width: 25%;
	min-width: 270px;
}

.image-div-right {
	float: right;
	margin: 15px;
	width: 35%;
}

.image-div-right-wide {
	float: right;
	margin: 15px;
	width: 35%;
}

.inset-image-float-left {
	float: left;
	padding-right: 10px;
}

.map-div-right-wide {
	max-width: 400px;
}

.bg-dark {
  background-color: #0b5779 !important;
}

.highlight {
  color: #FBDE21 !important;
}

.in-text-image {
	max-width: 500px;
}

.sidebar-submenus {
	padding: 15px;
	background-color: #fff;
	border-style: solid;
	border-width: 1px;
	border-color: #e40e0e;
	margin-bottom: 30px;
	clear: both;
	margin-top: 30px;
	font-size: 14px;
	line-height: 1.1;
}
.sidebar-submenus-main-item {
	margin-left: 0px;
	margin-bottom: 5px;
	font-weight: 500;
}

.sidebar-submenus-sub-item {
	margin-left: 20px;
	margin-bottom: 5px;
}

.sidebar-submenus-sub-sub-item {
	margin-left: 30px;
	margin-bottom: 5px;
	font-size: 12px;
}

/* begin site index based on sidebar menu styles */

.siteindex-submenus {
	padding: 15px;
	background-color: #fff;
	border-style: solid;
	border-width: 1px;
	border-color: #e40e0e;
	margin-bottom: 30px;
	clear: both;
	margin-top: 30px;
	font-size: 1.0rem;
	line-height: 1.1;
}

.siteindex-submenus-main-item {
	margin-left: 0px;
	margin-bottom: 5px;
	font-weight: 500;
	font-size: 1.0rem;
}

.siteindex-submenus-sub-item {
	margin-left: 20px;
	margin-bottom: 5px;
	font-size: 1.0rem;
}

.siteindex-submenus-sub-sub-item {
	margin-left: 30px;
	margin-bottom: 5px;
	font-size: 1.0rem;
}

/* end site index based on sidebar menu styles */

.one-image {
       width: 100%;
}

.one-image-map {
       width: 100%;
}

.two-images-side-side {
       width: 45%;
       display: inline-block;
       vertical-align: top;
}

.two-sm-images-side-side {
       width: 25%;
       display: inline-block;
       vertical-align: top;
}

.images-in-text-caption {
       font-size: 12px;
       padding-top: 10px;
       padding-bottom: 20px;
       width: 90%;
}

.images-in-text-list {
      margin-top: 10px;
      margin-bottom: 10px;
}

.navbar-form {
	margin-top: 0px;
	margin-bottom: 0px;
}

.anchor {
	display: block;
  	height: 80px; /*same height as header*/
  	margin-top: -80px; /*same height as header*/
  	visibility: hidden;
}

.container-hmpg {
	padding-right: 20px;
	padding-left: 20px;
}

.hmpg-scroll-image {
       margin-bottom: 20px;
}

@media (min-width: 1200px) {
.container-hmpg {
	//width: 80%;
	//padding-right: 200px;
	//padding-left: 200px;
	}
}

@media (max-width: 768px) {
.col-8 {
 	flex: 0 0 1.1%!important;
	max-width: 100%!important;
	}
.row {
        display: inherit;
	}
}

.index-item1 {
	background-color:#724a75;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
	font-size:17px;
	padding:16px 31px;
	text-decoration:none;
}
.index-item1:hover {
	background-color:#e40e0e;
	text-decoration:none;
}
.index-item1:active {
	top:1px;
}

.index-item2 {
	background-color:#5581bf;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
	font-size:17px;
	padding:16px 31px;
	text-decoration:none;
}
.index-item2:hover {
	background-color:#e40e0e;
	text-decoration:none;
}
.index-item2:active {
	top:1px;
}

.index-item3 {
	background-color:#d1657b;
	cursor:pointer;
	font-family:Arial;
	font-size:17px;
	padding:16px 31px;
}
.index-item3:hover {
	background-color:#e40e0e;
	text-decoration:none;
}
.index-item3:active {
	top:1px;
}

.index-item4 {
	background-color:#c7c02e;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
	font-size:17px;
	padding:16px 31px;
}
.index-item4:hover {
	background-color:#e40e0e;
	text-decoration:none;
}
.index-item4:active {
	top:1px;
}

.index-item5 {
	background-color:#566fa1;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
	font-size:17px;
	padding:16px 31px;
	text-decoration:none;
}
.index-item5:hover {
	background-color:#e40e0e;
	text-decoration:none;
}
.index-item5:active {
	top:1px;
}

.index-item6 {
	background-color:#319798;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
	font-size:17px;
	padding:16px 31px;
	text-decoration:none;
}
.index-item6:hover {
	background-color:#e40e0e;
	text-decoration:none;
}
.index-item6:active {
	top:1px;
}

.index-item7 {
	background-color:#ad6227;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
	font-size:17px;
	padding:16px 31px;
	text-decoration:none;
}
.index-item7:hover {
	background-color:#e40e0e;
	text-decoration:none;
}
.index-item7:active {
	top:1px;
}


.index-item8 {
	background-color:#775d00;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
	font-size:17px;
	padding:16px 31px;
	text-decoration:none;
}
.index-item8:hover {
	background-color:#e40e0e;
	text-decoration:none;
}
.index-item8:active {
	top:1px;
}

.opening-text {
   background-color:rgba(255, 255, 255, 0.7);
   padding: 20px;
}

.opening-text h3 {
  font-size: 13pt;
  font-family: Arial;
  padding-top: 7px;
  padding-bottom: 7px;
}

/* masonry homepage color blocks */

.masonry { 
  //display: flex;
  //flex-flow: row wrap;
  //width: 100%;
  padding-bottom: 20px;
}

.masonry-brick {
  //flex: auto;
  //min-height: 50px;
  //min-width: 100px;
  //margin: 0 10px 10px 0; /* Some gutter */
}

.masonry-brick a {
  color:#ffffff;
  font-family:Arial;
  font-size:16px;
  text-decoration: none;
}

.masonry-brick {
  &:nth-child(4n+1){
     w//idth: 250px;
  }
  &:nth-child(4n+2){
     //width: 325px;
  }
  &:nth-child(4n+3){
     //width: 180px;
  }
  &:nth-child(4n+4){
     //width: 380px;
  }
}

.navbar-brand {
  padding-top: .15rem;
  padding-left: 8px;
}

/* AFE button upper left menu--------START */

.btn-primary-afe {
    background-color: #b83d2c;
    border-color: #b83d2c;
    padding: 0px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
}

.btn-primary-afe:hover {
    background-color: #fff;
    border-color: #fff;
    color: #b83d2c !important;
}

.btn {
  line-height: 1.55;
}

.navbar-brand-afe a{
  color: #fff;
  text-decoration: none;
}

.navbar {
   border-radius: 0px;
}

.navbar-brand-afe a:hover{
  color: #b83d2c;
}

.navbar-brand-afe {
  font-size: 20px;
  font-family: 'PT Serif', serif;
  margin-top: 3px;
  margin-left: 1px;
}

.popover {
   font-family: 'PT Serif', serif;
   max-width: 300px;
   padding: 0px;
   border-width: 0px;
   margin-top: 15px;
   line-height: 12px;
   background-color: transparent!important;
}

.popover-header {
  display: none;
  background-color: transparent!important;
}

.popover-body {

  background-color: transparent!important;
  padding: 0px;
  border-width: 0px;
}

.popover .arrow {
  display: none;
}

img.media-object {
  width: 100%;
}

/* AFE button upper left menu--------END */

/*back-to-top*/
#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 1rem;
  font-weight: 400;
  border: solid #0b5779;
  border-width: 1px;
  outline: none;
  background-color: white;
  color: #0b5779;
  cursor: pointer;
  padding: .375rem .75em;
  //border-radius: 50px;
}

#myBtn:hover {
  background-color: #0b5779;
  color: white;
}

.top-header-study-sidebar {
  font-size: 1rem;
  margin-bottom: .5rem;
  margin-top: 1.0rem;
  font-weight: 500;
  line-height: 1.2;
  border-top: solid 1px #e40e0e;
  padding-top: .75rem;
}

.navbar-toggler {
  border-radius: 0rem!important;
  margin-left: 20px;
  padding: .65rem .6em;
  font-size: 1rem;
}

.navbar-dark .navbar-toggler {
  color: rgba(255,255,255,1);
  border-color: rgba(255,255,255,1);
}

.navbar-dark .navbar-toggler:hover{
  color: #0b5779;
  border-color: rgba(255,255,255,1);
  background-color: #fff;
}

.qing-menu-on {
  color: #e40e0e;
}

p.copyright-space {
  padding-bottom: 45px;
}

#qing-index-diagram p{
  //text-align: center;
  //padding-left: 20px;
  margin-bottom: 0px;
}

#qing-index-diagram ul{
  margin-top: 0px;
  margin-bottom: .5em;
}

#qing-index-diagram img{
  margin-bottom: 10px;
}

#line-in-menu {
  margin-left: 25px;
  margin-right: 25px;
}

#indexbox-k3 {
  //border: solid;
  //border-width: 1px;
  //border-color: #b1aa99;
  //background-color: #f1eeed;
  margin-bottom: 3rem;
  margin-top: 2rem;
  //padding: .5em;
  text-align: center;
}

#indexbox-k3 h3{
  //margin-left: .95em;
  margin-bottom: 0px;
  //text-align: center;
}

#indexbox-k7 {
  //border: solid;
  //background-color: #f1eeed;
  margin-bottom: 3rem;
  //padding: .5em;
  text-align: center;
}

#indexbox-k7 h3{
  //margin-left: .95em;
  margin-bottom: 0px;
  //text-align: center;
}

#indexbox-q4 {
  //border: solid;
  //background-color: #edeef0;
  margin-bottom: 3rem;
  //padding: .5em;
  text-align: center;
  margin-top: 2rem;
}

#indexbox-q4 h3{
  //margin-left: .95em;
  margin-bottom: 0px;
  //text-align: center;
}

#indexbox-q6 {
  //border: solid;
  //background-color: #edeef0;
  margin-bottom: 3rem;
  //padding: .5em;
  text-align: center;
}

#indexbox-q6 h3{
  //margin-left: .95em;
  margin-bottom: 0px;
  //text-align: center;
}

#indexbox-subhead {
    font-size: 13pt;
    font-family: Arial;
    //padding-top: 7px;
    //padding-bottom: 7px;
    margin-bottom: 5px;
}

#indexbox-lower {
    margin-top: .5em;
}