/* UNIVERSAL */

html,
body {
  background: #E9E0DC;
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  left: 0;
  top: 0;
  font-size: 100%;
  font-family: 'Lato', Helvetica, sans-serif;
  font-weight: 400;
  color: #06364a;
  line-height: 1.5;
}

/* TYPOGRAPHY */

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.375rem;
}

h4 {
  font-size: 1.125rem;
}

h5 {
  font-size: 1rem;
}

h6 {
  font-size: 0.875rem;
}

p {
  font-size: 1.125rem;
  /*font-weight: 200;*/
  line-height: 1.4;
}

a {
  color: #16ABA0;
}

.font-light {
  font-weight: 400;
}

.font-regular {
  font-weight: 400;
}

.font-heavy {
  font-weight: 700;
}

/* POSITIONING */

.left {
  text-align: left;
}

.right {
  text-align: right;
}

.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.justify {
  text-align: justify;
}


/* Start of CJM stuff */

.pageblock {
  padding: 20px;
}

.pageblock2 {
  padding: 40px;
}

.pageblock3{
  padding: 20px 0px;
}

.pageblock h2 {
  text-align: center;
}

.pageblock-dark {
  background-color: #103a4a;
  color: #f8f2f2;
  background-image: url(http://localhost:10003/wp-content/themes/cleanjobs2020/images/darkbgperson.jpg);
}

.pageblock-light {
  background: #f7f3f3
}

.pageblock-lighter {
  background-color: #FEFFFF;
}

.pageblock-tan {
  background: #efe5e3;
}

.pageblock-tan2 {
  background: #d8cecc;
}

img {
  width: 100%;
  height: auto;
}

.bgimg {
  background-position: top center;
  background-size: cover;
}


.btn {
  color: #f8f2f2;
  text-decoration: none;
  background: #06364a;
  padding: 5px 15px;
  position: relative;
  display: inline-block;
  text-transform: uppercase;
  font-weight: bold;
}

.btn.alt{
  background: #1CAEA5;
  padding: 8px 15px;
}

.btn.alt:hover,
.btn.alt:focus{
  background: #06364a;
}

.pageblock-dark .btn {
  background: #f8f2f2;
  color: #103a4a;
}

.btn-primary {
}



.headernav{
  background: #fff;
  position:fixed;
  top:0px;
  left:0px;
  width:100%;
  z-index:999;
}
.logo{
  display:inline-block;
}
.logo img{
  display: inline-block;
  height: 30px;
  width: auto;
  margin: 10px 10px 5px 10px;
}



/* top navigation*/
ul.topnav {
  list-style-type: none;
  margin: 0px;
  padding: 0px;
  display: inline-block;
  position: absolute;
  right: 10px;
  top: 0px;
}

ul.topnav li {
  display: inline-block;
  margin: 0px;
  padding: 0px;
  position:relative;
}

ul.topnav li a {
  padding: 12px 5px;
  text-decoration: none;
  text-transform: uppercase;
  color: #06364a;
  display: inline-block;
}
ul.topnav li a:hover{
  color:#05b9b4;
}

/* Dropdown navigation */
ul.topnav li:hover > ul.subnav{
  display:inline-block;
}
ul.topnav ul.subnav{
  display:none;
  position:absolute;
  top: 51px;
  left: 0px;
  padding:0px;
  margin:0px;
  box-shadow:0px 10px 10px rgba(0,0,0,0.3);
  font-size: 0.9em;
  z-index:999;
  white-space: nowrap;
}

/* quick hack to make sure rollover works */
ul.topnav ul.subnav:before{
  display:block;
  content:'';
  position:absolute;
  background:#00ffff;
  top: -15px;
  left: 0px;
  width: 120PX;
  height:50px;
  opacity:0;
}

ul.topnav ul.subnav li{
  display:block;
  position:relative;
  padding:0px;
  margin:0px;
}
ul.topnav ul.subnav li a{
  padding:2px 10px;
  margin:0px;
  background:#edf0f2;
  width:100%;
}
ul.topnav ul.subnav li a:hover{
  background:#e0e0e0;
}


.cjm-site{
  padding-top:51px;
}


/** Mobile Header **/

#headernav .topnav-hamburger{
  display:none;
  position: absolute;
  top: 0PX;
  right: 0px;
  padding: 13px;
  cursor: pointer;

}

@media(max-width:800px){
  #headernav .topnav{
    display:none;
  }
  #headernav .topnav-hamburger{
    display:inline-block;
  }
}

.headernav-mobile{
  display:none;
  position: fixed;
  height: 100%;
  width: 100%;
  background: #03b9b3;
  top: 0px;
  left: 0px;
  z-index: 999; 
  overflow-y: auto;
}

.headernav-mobile .logo{
  display:inline-block;

}
.headernav-mobile ul.topnav li {
  display: block;
}

.headernav-mobile ul.topnav {
  list-style-type: none;
  margin: 0px;
  padding: 0px;
  display: inline-block;
  position: absolute;
  left: 10px;
  top: 60px;
}

.headernav-mobile ul.topnav li a {
  padding: 5px 15px;
}

.headernav-mobile ul.topnav li a:hover{
  color:#fff;
}

.headernav-mobile .statestatmenuitem{
  margin-left:20px;
}

.headernav-mobile-close{
  font-size: 30px;
  line-height: 30px;
  color: #fff;
  font-weight: bold;
  position: absolute;
  top: 0px;
  right: 0px;
  cursor: pointer;
  padding: 10px;
  z-index: 999;
}







.mainfooter{
  font-size:0.8em;
  background: #0c3649;
  color: #f6f3f3;
  padding:40px;
}
.footerlinks{
  margin:0px 0px 20px 0px;
}
.mainfooter a{
  text-decoration: none;
}
.footerlink{
  display: inline-block;
  padding: 0px 10px;
}




.table-container{
  width:100%;
  overflow-x:auto;
}
.table-container2{
  width:100%;
  overflow-x:auto;
  margin-top:40px;
}

table{
  width:100%;
}

tr{
  background:#f5efee;
}

tr:nth-child(2n){
  background:#fff;
}

th{
  padding:5px 20px;
  text-align:left;
  /*white-space:nowrap;*/
}
td{
  padding:5px 20px; 
  text-align:left;
  white-space:nowrap;
}


.scrollnote{
  padding:3px;
  font-size:0.6em;
  text-align:center;
}

/* REMOVE FOR 2023 UPDATE */
/* .geodata-container{
  display: none;
}

#demographics{
  padding-bottom: 30px;
} */
/* END REMOVE FOR 2023 UPDATE */

/* ADDED FOR 2023 UPDATE */
#geodata{
  scroll-margin-top: 75px;
}

.geodata-jumplinks{
  display: none;
}

section:not(#geodata-county).state-data{
  display: none;
}

/* END ADDED FOR 203 UPDATE */

.pageblock.bgimg.front{
  background-position-y: 35%;
  height: calc(100vw*.35);
  min-height: 400px;
  max-height: 750px;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  align-items: center;
}

@media screen and (min-width:617px){
  .pageblock.bgimg.front{
    color: #fff;
  }
}

@media screen and (min-width:1024px){
  .pageblock.bgimg.front .container{
    margin-left: 0;
    width: 40%;
  }
}

@media screen and (min-width:1400px){
  .pageblock.bgimg.front .container{
    margin-left: 5vw;
  }
}