@import url('https://fonts.googleapis.com/css?family=Merriweather');
@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro');
@import url('https://fonts.googleapis.com/css?family=Roboto');

/**********HERO**********/

.hero {
	width: 100%;
	margin-top: 0;
	max-height: 500px;
	padding: 0;
	position: relative;
	border-bottom:5px solid #00a6d2;
	margin-bottom: 3em;
}
.hero .image-contain {
	display: block;
	width: 100%;
	height: 500px;
}
.hero .image-contain .credit {
	color:#fff;
	font-weight: 500;
	font-size: 90%;
	position: absolute;
	left: 10px;
	bottom: 10px;
	text-shadow: 0 0 5px #000;
}
.hero .image-contain .credit a {
	color:#000;
	text-shadow: 0 0 5px #fff;
}
.hero img {
	object-fit:cover;
	object-position: top left;
	width: 100%;
	height: 500px;
	display: none;
}
.hero .container .hero-callout {
	background-color: #fff;
    opacity: .9;
    padding: 1.5em 1.5em 1em 1.5em;
	position: absolute;
	top:15%;
	width: 100%;
	max-width: 400px;
	display: flex;
    -webkit-box-orient: vertical!important;
    -webkit-box-direction: normal!important;
    -ms-flex-flow: column wrap!important;
    flex-flow: column wrap!important;
    height: auto!important;
}
.hero .container .hero-callout h3 {
    margin: 0;
    margin-bottom: 20px;
    padding-bottom: 0;
    font-size: 30px;
    color: #212121;
}
.hero .container .hero-callout p {
    padding-bottom: 0;
    margin-bottom: 20px;
    margin-top: 0;
}
.usa-button {
	-webkit-font-smoothing: antialiased;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #0071bc;
    border: 0;
    border-radius: 5px;
    color: #fff !important;
    cursor: pointer;
    display: inline-block;
    font-weight: 700;
    padding: .5rem 1rem;
    text-align: center;
    text-decoration: none;
    width: auto;
}
.usa-button-sm {
	padding:.25rem .5rem;
}
.usa-button:hover {
	background-color: #205493;
	text-decoration: none;
}

@media only screen and (max-width: 992px) {
   .hero .container .hero-callout {
      display: flex;
      flex-flow: row wrap;
      height: auto !important;
      max-width: 34rem;
       }
}

@media only screen and (max-width: 576px) {
    .hero .container .hero-callout {
        height: auto;
        width: 85%;
        left: 7px !important;
        max-width: 90%;
        top: 15%;
	}
	.hero .container .hero-callout .usa-button {
        width: 85%;
      }
    .hero img {
        max-height: 450px;
      }
	.usa-button {
		margin-bottom:1em;
	}
}

.hero-top-overlay {
	position: absolute;
	top: 0;
	left:0;
	background:rgba(32,84,147,1);
	width: 100%;
	height: auto;
	border-bottom: 3px solid #fdb81e;
}
.hero-top-overlay p {
	color: #fff;
	margin: .5em;
	text-align: center;
	font-size: 2em;
	font-weight: bold;
}
.hero-top-overlay a {
	color: #fff;
	text-decoration: underline;
}
.hero-top-overlay a:hover,
.hero-top-overlay a:visited:hover {
	color:#f9c642 !important;
}
.hero-top-overlay a:visited {
	color: #E7E7E7 !important;
}
.hero-overlay {
	position: absolute;
	top: 0;
	right:0;
	background:rgba(255,255,255,.9);/* url(/images/featured/OSHA-50th-Anniversary4.png) 12.5px 20px/90% no-repeat*/
	width: 20%;
	height: 100%;
}
.hero-overlay p,
.hero-overlay h4 {
	margin: 1em;
	text-align: center;
}
.hero-overlay h4 {
	color:#cd2026;
}
.hero-overlay img {
	display: block;
	width: 100%;
	height: auto;
}
/*
.hero-overlay p:first-child {
	margin-top: 50%;
}
 - use with embedded image only */
@media (max-width:767px) {
	.hero-overlay {
		position: relative;
		float: left;
		width: 100%;
		background: rgba(255,255,255,1);/* url(/images/featured/OSHA-50th-Anniversary4.png) 12.5px 20px/90% no-repeat*/
		height: auto;
	}
/*
	.hero-overlay p:first-child {
		margin-top: 25%;
	}
*/
}

/**********FEATURED**********/

.single-featured-story .image-contain {
	display: block;
	width: 100%;
	height: 300px;
}
.image-contain img {
	display: none;
}
.single-featured-story .image-contain .credit {
	color:#fff;
	font-weight: 500;
	font-size: 90%;
	position: absolute;
	margin-left: 10px;
	margin-top: 270px;
	text-shadow: 0 0 5px #000;
}
.single-featured-story h3 {
	color:#205493;
}
.single-featured-story a {
	text-decoration: none;
}

@media only screen and (max-width:1199px) and (min-width:980px) {
	.single-featured-story .image-contain,
	.single-featured-story img {
		width: 100%;
		height: 245px;
	}
	.single-featured-story .image-contain .credit {
		font-size: 65%;
		margin-top: 220px;
	}
}
@media only screen and (max-width:979px) and (min-width:768px) {
	.single-featured-story .image-contain,
	.single-featured-story img {
		width: 100%;
		height: 175px;
	}
	.single-featured-story .image-contain .credit {
		font-size: 65%;
		margin-top: 155px;
	}
}
@media only screen and (max-width:767px) {
	.single-featured-story .image-contain,
	.single-featured-story {
		text-align: center;
	}
	.single-featured-story .image-contain .credit {
		font-size: 65%;
		margin-left: 0;
		left: 20px;
	}
}

/**********RIGHT COLUMN**********/

.take-action, .newsbox {
	padding-bottom: 1rem;
}

/**********TAKE ACTION**********/

.take-action p {
	padding-bottom:1rem;
	border-bottom: 1px solid #aeb0b5;
}

.take-action .usa-button-sm { 
	font-size: 15px;
}

.covid-stats {
	background-color: #f0f0f0;
	padding: 0.5rem 1rem;
	margin-bottom: 2em;
}

.covid-stats img {
	max-height: 190px; margin-bottom: .5em;
}

.covid-stats p {
	padding-bottom: 0;
	margin-bottom: 0;
	border-bottom: 0;
	font-size: 16px;
}

/**********NEWSBOX**********/

.newsbox {
	background-color:#f0f0f0;
	padding: 0.5rem 1rem 2.25rem;
	margin-bottom: 20px;
	max-height: 295px;
	overflow: auto;
}
@media(max-width:1199){
	.newsbox {
		max-height:162px;
	}
}
@media(max-width:979){
	.newsbox {
		max-height:185px;
	}
}
@media (max-width:767px) {
	.newsbox {
		padding-bottom: 2rem;
		max-height: none;
	}
}
#news ul {
	margin-bottom: 0;
}
#news li {
	margin-bottom: 1rem;
	background-color: #fff;
	padding: 0.25em 1rem;
	border-bottom: none; 
}
#news li:last-child {
	margin-bottom: 0;
}
#news a {
	color: #000;
	text-decoration: none;
}

/********** EMBEDDED VIDEO **********/

.responsive-iframe {
	position: relative;
	overflow: hidden;
	width: 100%;
	padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
	margin-bottom: 0.5em;
}

.responsive-iframe iframe {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	width: 100%;
	height: 100%;
}

/********** ToTW **********/

  #totw {
    position: relative;
  }
  .totw {
	position: relative;
    background:#fff url("/images/totw-overlay.png") center 10px/100% no-repeat;
    padding:10.625rem 1rem 1rem;
    border-radius: 4px;
    border: 1px solid #bbb;
	min-height: 110px;
  }
  .overlay {
    position: fixed;
    bottom: 0;
    left: auto;
    max-width: 336px;
    z-index: 100;
  }
  .main {
    box-shadow: 0 1px 1px rgba(0,0,0,.05);
  }
  #closeTip {
    position: absolute;
    top:5px;
    right:8px;
    opacity:1;
  }
  .tip-text {
    font-size: 1.5rem;
    text-align: center;
    line-height: normal;
  }
  .tip-text a {
    color:#000;
  }
  .tip-text a:hover {
    color:#039;
  }
  #tips p {
    padding-bottom: .5rem;
    border-bottom: 1px solid #666;
  }
  #tips p:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }
	.tipactions {
		margin-top: 1.625rem;
		text-align: center;
	}
#covidTips {
    background:#fff url("/images/totd-covid-overlay.png") center 10px/100% no-repeat;
}

  @media (min-width:980px) and (max-width:1199px){
    .totw {
      max-width: 266px;
      padding:9rem 1rem 1rem;
		min-height: 90px;
    }
    .tip-text {
      font-size: 1.3rem;
    }
  }
  @media (min-width:767px) and (max-width:979px){
    .totw {
      max-width: 194px;
      padding:7rem 1rem 1rem;
		min-height: auto;
    }
    .tip-text {
      font-size: 1.2rem;
    }
  }
  @media (min-width:481px) and (max-width:767px){
    .totw {
      max-width: 350px;
      padding:11rem 1rem 1rem;
      margin: auto;
    }
    .tip-text {
      font-size: 1.5rem;
    }
  	.moretips {
		text-align:center;
	}
	  .subscribetips {
		  text-align: center;
	  }
  }
  @media (max-width:480px){
    .totw {
      max-width: 403px;
      padding:11rem 1rem 1rem;
    }
    .totw-main {
      max-width: 403px;
      padding:11rem 1rem 1rem;
    }
    .tip-text {
      font-size: 1.8rem;
    }
  	.moretips {
		text-align:center;
	}
	  .subscribetips {
		  text-align: center;
	  }
  }

/**********TYPOGRAPHY**********/

h1, h2, h3, h4, h5 {
	font-family: 'Merriweather', serif;
	font-weight: 700;
	line-height: 1.3em;
}
h1,h3,h4,h5 {
	margin-bottom: 10px;
}
h1 {
	font-size: 40px;
}
h2 {
	font-size: 30px;
	margin-bottom:20px;
}
h3 {
	font-size: 19px;
}
h4 {
	font-size: 17px;
}
h5 {
	font-size: 15px;
}

h6, p, li {
	font-family: 'Source Sans Pro','Helvetica Neue','Helvetica','Roboto','Arial',sans-serif;
	font-weight: 400;
	color:#212121;
}

p.lead {
	font-size: 20px;
	line-height: 1.7em;
}
p {
	font-size: 17px;
	line-height: 1.5em;
}
hr {
	border: 0;
    height: 2px;
    background: #aeb0b5;
}
a {
	color:#0071bb;
}
a:hover {
	color:#205493;
}
a:visited {
	color:#cd2026;
}
ol, ul {
    list-style: none !important;
}

/***********COMPONENTS**********/

.label {
	display: inline;
    padding: .25rem .5rem;
    font-size: inherit;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25em;
}
.label-dol {
	background-color: #323a45;
}










