body {
	font-family: 'Roboto', sans-serif;
}

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

header {
	background: #004e58;
	color: #fff;
}

section a {
	color: #003399;
}

section a:link,
section a:visited {
	text-decoration: underline;
}

.top-bar {
	background: #fff;
}

.subscribe-to-updates {display: none;}

#skip a, 
#skip a:hover, 
#skip a:visited, 
.skipNav a, 
.skipNav a:hover, 
.skipNav a:visited {
	color: #fff;
	position: absolute;
    left: 0px;
    top: -500px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

#skip a:active, 
#skip a:focus, 
.skipNav a:active, 
.skipNav a:focus {
	position:static; 
	width:auto; 
	height:auto;
}

.navbar {
	padding: 10px 0;
	margin-bottom: 0;
}

.navbar-nav>li>a {
	color: #fff;
	font-size: 18px;
	font-weight: 300;
}

.navbar-brand,
.navbar-nav>li>a {
	text-shadow: none;
}

.nav>li>a:focus, .nav>li>a:hover {
	background: none;
	text-decoration: underline;
}

.navbar-toggle .icon-bar {
	background: #fff;
	width: 38px;
}

.buttonText {
	color: #fff;
}

.navbar-toggle .icon-bar {
    width: 38px;
}

#login {
	background: #eefcdb;
	color: #004e58;
}

#home-top {
	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#009b9b+30,009b9b+30,001c1c+100 */
	background: #009b9b; /* Old browsers */
	background: -moz-linear-gradient(top,  #009b9b 30%, #009b9b 30%, #001c1c 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  #009b9b 30%,#009b9b 30%,#001c1c 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  #009b9b 30%,#009b9b 30%,#001c1c 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#009b9b', endColorstr='#001c1c',GradientType=0 ); /* IE6-9 */
	height: 650px;
	text-align: center;
}

#home-top-bg {
	width: 100%;
	height: 650px;
	/* background: url('/web/resources/images/hmca/home-bg.png') bottom center no-repeat; */
	background: url('//www.icpsr.umich.edu/files/HMCA/img/circle-thing_5.gif') bottom center no-repeat;
}

#home-top-gradient {
	width: 100%;
}

#home-logo {
	margin-top: 26px;
}

#sub-logo {
	margin: 10px 0;
}

#big-search {
	margin-top: 72px;
	-webkit-box-shadow: none;
	box-shadow: none;
}

#big-search input.form-control {
	border: 5px solid #8bc53f;
    font-size: 56px;
    height: auto;
    padding: 8px;
    padding-right: 95px;
}

#big-search .fa-search.fa-5x {
	font-size: 5em;
	color: #004e58;
}

#big-search .input-group-btn {
    right: 3px;
    top: 5px;
    position: absolute;
    z-index: 100;
}

#big-search .input-group {
    width: 100%;
}

#big-search .btn-primary {
    color: #020f76;
    background: none;
    border: none;
    text-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

#big-search .search-box,
#small-search .search-box {
	color: #004e58;
	border-radius: 0;
}

#navSearchTermBox::-webkit-input-placeholder { 
  color: #004e58;
}

#navSearchTermBox::-moz-placeholder { 
  color: #004e58;
}
#navSearchTermBox:-ms-input-placeholder {
  color: #004e58;
}
#navSearchTermBox:-moz-placeholder {
  color: #004e58;
}


#small-search {
	margin-top: 36px;
}

#small-search input.form-control {
	border: 5px solid #8bc53f;
    font-size: 22px;
    height: auto;
    padding: 8px;
}

#small-search .fa-search.fa-3x {
	color: #004e58;
}

#small-search .input-group-btn {
    right: 0px;
    top: 1px;
    position: absolute;
    z-index: 100;
}

#small-search .input-group {
    width: 100%;
}

#small-search .btn-primary {
    color: #020f76;
    background: none;
    border: none;
    text-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

h1,
h2,
h3,
h4,
h5 {
	color: #004e58;
}

#all-headlines h3 {
    font-size: 18px;
}

h1 {
	font-size: 36px;
}

#all-headlines {
	max-height: 500px;
	overflow-y: scroll;
	word-wrap: break-word; 
}

section.hmca-sub-content {
	position: relative;
}

section.hmca-sub-content .container {
	position: relative;
	min-height: 200px;
}


.gradient-bg {
	width: 100%;
	height: 135px;
	position: absolute;
	top: 0;
	z-index: 0;
	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#cdecec+0,ffffff+100 */
	background: #cdecec; /* Old browsers */
	background: -moz-linear-gradient(top,  #cdecec 0%, #ffffff 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  #cdecec 0%,#ffffff 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  #cdecec 0%,#ffffff 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cdecec', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
}

.corner-bg {
	height: 248px;
	width: 100%;
	background: url('/web/resources/images/hmca/hmca-sub-corner-bg.png') bottom right no-repeat;
	margin-top: -150px;
}

#all-headlines ul,
#blogger-posts ul {
	margin: 0;
	padding: 0;
}

#blogger-posts li {
	margin-bottom: 30px;
}

.stats-row {
	background: #306f77;
}

#all-headlines .row {
	margin: 0;
}

.stat-wrap {
	color: #a2fafa;
	font-size: 22px;
	height: 128px;
	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#3f4a4c+0,0a1617+100 */
	background: #3f4a4c; /* Old browsers */
	background: -moz-linear-gradient(top,  #3f4a4c 0%, #0a1617 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  #3f4a4c 0%,#0a1617 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  #3f4a4c 0%,#0a1617 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3f4a4c', endColorstr='#0a1617',GradientType=0 ); /* IE6-9 */
	padding: 10px;
	word-break: break-word;
	-webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
}

p.project-stats-toggle {
	margin: 10px 0;
}

.stat-wrap img {
	float: left;
    margin: 5px;
    height: 64px;
}

.stat-num {
	font-size: 38px;
	padding-top: 22px;
	line-height: 1;
}

.stat-type a {
	text-decoration: underline;
}

.row.previous-next {
	margin: 0;
}

.nav .open>a, .nav .open>a:focus, .nav .open>a:hover {
	background: none;
}

#search .searchResult.row:nth-child(even), 
#search .nav.nav-tabs {
	background: #cdecec9e;
}


#search .nav-tabs.nav>li.active>a, 
#search .nav-tabs.navli.active>a:focus, 
#search .nav-tabs.nav>li.active>a:hover, 
#search .nav-tabs.nav>li>a:hover, 
#search .nav-tabs.nav>li>a:focus {
	border: 1px solid transparent;
    border-bottom: 3px solid #003399;
    color: #003399 !important;
    text-decoration: none !important;
    background-color: transparent !important;
}

#search #publicationsTypeLegend {
    padding-left: 25px;
}

#dashboard a:link,
#dashboard a:visited {
	text-decoration: none;
}


/* Study homepage */

.btn-default:active, 
.btn-default.active, 
.nav-tabs>li.active>a, 
.nav-tabs>li.active>a:hover, 
.nav-tabs>li.active>a:focus {
    background-color: #004e58;
    color: #fff;
}

.toolbar {
	background-color: #004e58;
}

.stat-wrap a,
.stat-1,
.stat-2,
.stat-3,
.stat-3 a  {
	color: #a2fafa;
}

.stat-wrap a:hover,
.stat-wrap a:focus {
	text-decoration: none;
}

section .panel-title a,
section .nav-tabs a {
	text-decoration: none;
}

section a.btn {
	text-decoration: none;
}

section .tab-content .panel {
	border: none;
}

#HMCA #ownerBlurb {
    float: initial;
    width: auto;
    margin: 15px 0;
    border-radius: 0;
    background: #fff;
    border: 1px solid #ddd;
}

#HMCA #ownerBlurb img {
    display: block;
}


#studies-display div.toolbar div.row, 
#variables-display div.toolbar div.row, 
#publications-display div.toolbar div.row, 
#metadata div.toolbar div.row {
	background: #004e58;
}

footer {
	margin: 0;
	color: #fff;
	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#010101+0,364142+100 */
	background: #010101; /* Old browsers */
	background: -moz-linear-gradient(top,  #010101 0%, #364142 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  #010101 0%,#364142 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  #010101 0%,#364142 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#010101', endColorstr='#364142',GradientType=0 ); /* IE6-9 */
}

footer .footer-nav ul {
	padding-left: 0;
}
footer .footer-nav li {
	display: inline-block;
}

footer .footer-nav li a:link,
footer .footer-nav li a:visited {
	text-decoration: underline;
	color: #fff;
}

footer .footer-nav li a:hover,
footer .footer-nav li a:focus {
	text-decoration: none;
}

footer .footer-nav {
	text-align: center;
	margin-top: 10px;
}

footer .footer-logo,
footer .footer-text {
	text-align: center;
	margin-bottom: 30px;
}

.footerSocialIcons {
	margin: 30px auto;
    display: block;
    text-align: center;
}


.footerSocialIcons ul {
	padding-left: 0;
}

.footerSocialIcons ul li {
	margin: 0;
    padding: 0;
    list-style: none;
    display: inline-block;
  	padding-right: 10px; 
 
}

.footerSocialIcons ul li:last-child{
	padding-right: 0;
}

.footerSocialIcons ul li a,
.footerSocialIcons a {
	color: #fff;
	padding: 20px 5px 10px;
	
}

a.subscribetoNewsletter {
	text-decoration: underline;
}

a.subscribetoNewsletter:hover,
a.subscribetoNewsletter:focus{
	text-decoration: none;
}

.footerSocialIcons ul li a:hover,
.footerSocialIcons ul li a:focus {
	color: #0A0C0C;
	background: #fff;
	border-radius: 4px;
	transition: .5s ease-in-out;
	
}

.btn-primary {
	background: #004e58;
	color: #fff;
}

a.btn-primary:link,
a.btn-primary:visited {
	text-decoration: none;
}

.btn-primary:focus,
.btn-primary:hover,
.btn-primary.active,
.btn-primary.focus,
.btn-primary:active,
.btn-primary:focus,
.btn-primary:hover,
.open>.dropdown-toggle.btn-primary {
	background: #fff;
	color: #004e58;
}

.icpsr_logo {
	margin-top: 30px;
}

.inline-block {
	display: inline-block;
	margin-right: 15px;
}

.embed-responsive-4by3 {
    padding-bottom: 56%;
}


/*    css for mailchimp signup on about page*/

#mc-embedded-subscribe-form input[type=checkbox]{
	display: inline; 
	width: auto;
	margin-right: 10px;
	}
	
#mergeRow-gdpr{
	margin-top: 20px;
	}
	
#mergeRow-gdpr fieldset label{
	font-weight: normal;
	}
	
#mc-embedded-subscribe-form .mc_fieldset{
	border:none;
	min-height: 0px;
	padding-bottom:0px;
	}

#mc_embed_signup .button {
	background: #004e58;
    color: #fff;
    }

#mc_embed_signup_scroll {
	line-height: 1.5;
	}

#mc_embed_signup .asterisk {
	color: #C33518;
}

#mc_embed_signup .indicates-required {
	font-size:  14px;
}

.mc_fieldset.gdprRequired.mc-field-group {
	margin-left: 60px; 
	}
	
.unsubscribeMsg {
	margin-top: 20px;
	}
	
.content__gdpr>p{
	margin-bottom: 0;
	}


@media (min-width: 768px) {
	.navbar-nav>li>a {
    	padding-top: 4px;
    	padding-bottom: 4px;
    	padding-left: 24px;
    	padding-right: 24px;
	}
}

@media (max-width: 768px) {
	#home-top-bg {
		background: none;
	}

	#home-top,
	#home-top-bg {
		height: auto;
	}
	#big-search {
		margin-top: 0;
	}
	#big-search input.form-control {
		font-size: 22px;
	}
	#big-search .fa-search.fa-5x{
		font-size: 3em;
	}
	#big-search .input-group-btn {
    	right: 30px;
    	top: 0px;
	}
	#big-search input.form-control {
    	padding-right: 45px;
	}
	#small-search .input-group-btn {
    	right: 30px;
	}
	#small-search {
    	margin-top: 0;
	}
	.stat-1 img,
	.stat-2 img,
	.stat-3 img {
		width: 40px;
	}
	.stat-num {
		font-size: 22px;
	}
	.stat-wrap img {
		float: none;
	}
	.stat-wrap * {
		display: inline-block;
	}
	.stat-wrap {
		height: 80px;
		padding: 0;
	}
	.navbar {
		padding: 0;
	}
	
	.footerSocialIcons ul {
		text-align: center;
	}
	
	.footerSocialIcons {
		margin-bottom: 30px;
	 	margin-top: 20px;
	}
}


