:root {
	--archive-color: #2e7682;
}

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

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

.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: 1.2rem;
	padding: .5rem;
	font-weight: 300;
}

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

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

.navbar-toggler{
	font-size: 1rem;
	margin: 0.5rem 0rem 0.5rem 0rem;
}

.navbar-toggler .icon-bar {
	background: #fff;
	width: 100%;
	margin-top: 4px;
	display: block;
    height: 2px;
    border-radius: 1px;
}

.navbar-toggler:focus {
	outline: -webkit-focus-ring-color auto 5px;
	box-shadow: none;
}

button:focus:not(:focus-visible) {
	outline: -webkit-focus-ring-color auto 5px;
}

.buttonText {
	color: #fff;
}


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


#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;
	margin-bottom: 20px;
}

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

#small-search .fa-search.fa-2x {
	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;
	position: absolute;
	right: 0;
	top: 5px;
}

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;
	padding-top: 20px;
}

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

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

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

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

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

.stats-row  .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-item .nav-link {
	color: #003399 !important;
}

#search .nav-tabs .nav-item.show .nav-link,
#search .nav-tabs .nav-item .nav-link:hover,
#search .nav-tabs .nav-item .nav-link:focus,
#search .nav-tabs .nav-link.active,
#search .nav-tabs .nav-link.active:hover,
#search .nav-tabs .nav-link.active:focus {
	border: 1px solid transparent;
    border-bottom: 3px solid #003399;
    color: #003399 !important;
    text-decoration: none !important;
    background-color: transparent !important;
    font-weight:  bold;
}

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

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

.stats-row .stat-wrap a:hover,
.stats-row  .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;
}

.share-study .dropdown-menu>li>a {
    margin-left: 10px;
}

#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 .footer-nav ul {
	padding-left: 0;
}
footer .footer-nav li {
	display: inline-block;
}

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

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

footer .footer-nav {
	text-align: center;
	padding-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;
	height: 100%;
	border-color: #004e58;
}

.btn:link,
.btn:visited,
section a.page-link {
	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;
	border-color:  #004e58;
}

.page-item.active .page-link {
    color: #fff;
    background-color: #004e58;
    border-color: #004e58;
}

.page-link, 
.page-link:hover, 
.page-link:focus {
	color: #000;
}

#search .form-check-input:checked {
    background-color: #004e58;
    border-color: #004e58;
}

img.rwjf_wlogo {
	width: 235px;
	margin-top: 26px;
}

.icpsr_logo {
	margin-top: 30px;
}

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

.embed-responsive-4by3 {
    padding-bottom: 56%;
	position: relative;
	width: 100%;
	margin-bottom: 20px;
}

.embed-responsive-4by3 iframe{
	position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
}


/*    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) {
	nav .container-fluid{
		padding: 0px;
	}
	.container-fluid button{
		margin-right: 5px;
	}
	#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: 0px;
    	top: 0px;
	}
	#big-search input.form-control {
    	padding-right: 45px;
	}
	#small-search .input-group-btn {
    	right: 0px;
	}
	#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;
	}
}



/* NEW CSS for AAAP decorator changes  */


body {
	font-family: "Atkinson Hyperlegible",sans-serif;
	font-size: 16px;
	overflow-x: hidden;
	}
	
#logo {
	margin-left: 30px;
}

.topbar * {
	margin: 0;
	padding: 0;
	line-height: 1;
	list-style-type: none;
}

.topbar {
	background: var(--archive-color);
	height: 40px;
}

.topbar a {
	color: #fff;
	vertical-align: middle;
}


.topbar #newLoginDropdown,
.topbar #sitesList,
.topbar #mydata-login {
	float: inline-end;
	text-align: right;
}

.topbar #newLoginDropdown .dropdown-menu a,
.topbar #sitesList .dropdown-menu a,
.topbar #mydata-login .dropdown-menu a {
	color: #000;
	padding: 4px;
}

#login::before {
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;
    content: "\f007";
    margin-right: 0.8em;
    display: inline-block;
    vertical-align: middle;
}

header  {
	/* margin-bottom: 20px; */
	border-bottom: none;
	background-color: #fff;
    box-shadow: 0 0 12px rgba(0, 0, 0, .15);
    background: transparent;
    /* margin-right: -15px; */
	}



ul.navbar-nav li.nav-item a.nav-link {
    color: #424242;
    border-radius: 0;
    font-family: IBM Plex Sans, sans-serif;
    font-size: 16px;
    font-weight: 600;
    margin-top: 0;
    padding: 24px 16px;
    line-height: 32px;
}
    
ul.navbar-nav li.nav-item a.nav-link:hover,
ul.navbar-nav li.nav-item a.nav-link:focus {
	background: #696969;
	color: #fff;
	text-decoration: none;
}    


header #newLoginDropdown .dropdown-menu a,
header #sitesList.dropdown-menu a,
header #mydata-login .dropdown-menu a {
	background: none;
	padding: 4px;
	color: #000;
}
header #newLoginDropdown .dropdown-toggle:focus,
header #sitesList .dropdown-toggle:focus,
header #mydata-login .dropdown-toggle:focus {
	outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}

header .navbar-inverse a.navbar-brand img {
	width: 93px;
}

header .navbar-brand {	
	align-items: center;
    padding: .5rem 1rem;
    display: flex;
	}

header #newLoginDropdown a:link, 
header #newLoginDropdown a:visited,
header #sitesList a:link, 
header #sitesList a:visited,
header #mydata-login a:link,
header #mydata-login a:visited {
    background: #757575;
    color: #fff;
    display: inline-block;
    padding: 9px 16px;
    font-family: IBM Plex Sans, sans-serif;
    text-decoration: none;
}

header #newLoginDropdown a:hover, 
header #newLoginDropdown a:focus,
header #sitesList a:hover, 
header #sitesList a:focus,
header #mydata-login a:hover,
header #mydata-login a:focus {
	background-color: #555;
}


.navbar.navbar-expand-lg{
	padding: 0 15px 0 0;
}

/* overriding the w-100 class on the login for hmca */
header #newLoginDropdown li a#login.w-100 ,
header #sitesList li a#login.w-100 {
	width: fit-content !important;
}

footer a:link,
footer a:visited {	
	color: #fff;
	text-decoration: underline;
	}
	
.footer-copyright {
	margin-bottom:0;
	color: #fff;
}
footer {
	border-top: none;
	margin-bottom: 0;
	}
	
footer.site-footer {
	margin-top: 0;
    padding-bottom: 20px;
}

.topFooterNav {
	background-color: var(--archive-color);
	text-align: center;
}



.topFooterNav li {
    display: inline-block;
    list-style: none;
    padding: 4px 0;
  	color: #fff;
}

.topFooterNav li a:link,
.topFooterNav li a:visited {
    color: #fff;
    text-decoration: underline;
}
.topFooterNav ul.footer-social {
	margin: 10px 0;
    padding-left: 0;
    text-align: left;
    
}

.topFooterNav ul.footer-social li {
	padding: 4px;
}

.footer-social li i {
	font-size: 1.7em;
}

.icpsr-um-logo {
	display: flex;
    align-items: center;
        padding: 20px 15px;
}

.site-footer > .text-start img{
	width: auto;
    min-height: 36px;
}

.footer-archive-logos img {
	max-height: 77px;
}

footer.site-footer .footer-extra {
    border-top: 1px solid #fff;
    padding-top: 1.5rem;
}

footer.site-footer {
    background-color: #424242;
    margin-top: auto;
}

footer.site-footer * {
    color: #fff;
}

.footer-links {
	margin-bottom: 0;
	padding-left: 0;
}


.btn-outline-primary {
    --bs-btn-color: #424242;
    --bs-btn-bg: #fff;
    --bs-btn-border-color: #424242;
    --bs-btn-hover-color: #424242;
    --bs-btn-hover-bg: #d5d5d5;
    --bs-btn-hover-border-color: #424242;
    --bs-btn-focus-shadow-rgb: 66, 66, 66;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #2e2e2e;
    --bs-btn-active-border-color: #2e2e2e;
    --bs-btn-active-shadow: inset 0 3px 5px #25252520;
    --bs-btn-disabled-color: #252525;
    --bs-btn-disabled-bg: #fff;
    --bs-btn-disabled-border-color: #424242;
}
@media (max-width: 768px) {
    .topbar {
        padding-right: 0px;
        margin-right: -10px;
    }
    
    .navbar.navbar-expand-lg {
     margin-right: -15px;
     }
     
     #logo {
     	width: 50%;
     }
     
     button.navbar-toggler.start-end {
    	border: none;
		}
	.small-center {
		justify-content: center;
		margin: 15px 0;
	}
	
	.topFooterNav {
    padding-bottom: 20px;
}
}

