/*
Theme Name: dac-atlasdata
Description: A child theme of Twenty Twenty-One
Author: Sukie Punjasthitkul and Karin Curtis-Hill
Author URI: https://dartmouthatlas.org
Template: twentytwentyone
Version: 1.0.1
*/

/* put custom styles here */
.site-content{
	background-color: #fff;
}
@media only screen and (min-width: 482px){
.site-header{
	padding-top: 0;
	padding-bottom: 0;
}
}
.singular .entry-title{
	font-size: 3em;
}

/*main nav*/
.primary-navigation .primary-menu-container > ul > .menu-item > a + .sub-menu-toggle {
    margin-left: -1em;
}

/*downloads list styling*/
ul.download-years, ul.download-other{
	padding-left: 1em;
}
.download-years li, .download-other li {
	list-style-type: none;
	list-style-position: initial;
	list-style-image: initial;
	padding-left: 0px;
	margin-left: 0px;
}
.download-years li strong, .download-other li strong {
	padding-right: .5em;
	min-width: 80px;
	display: inline-block;
}
.wide-list li strong {
	display: block;
	border: none;
}
.wide-list li{
	margin-bottom: .3em;
}
.download-years li ul, .download-other li ul{
	padding-left: 0px;
	display: inline-block;
}
.download-years li li, .download-other li li, a.race-spec {
	display: inline-block;
	min-width: 60px;
	padding-right: .5em;
	margin: 2px;
	border-radius: 0 5px 0 0;
	padding-left: .2em;
	border: 1px solid #dadada;
	background-color: #dfffb2;
}
.download-years li li:hover, .download-other li li:hover {
	background-color: #c8f18e;
}
.download-years li strong.longi-title, .download-other li strong.longi-title {
	border: none;
	margin-left: -1em;
}

/*HRR*/
.download-years ul li:nth-child(1), a.race-spec{
	background-color: #d5fff3;
}
.download-years ul li:nth-child(1):hover a.race-spec:hover{
	background-color: #a0decc;
}

/*HSA*/
.download-years ul li:nth-child(2){
	background-color: #ffe7c4;
}
.download-years ul li:nth-child(2):hover{
	background-color: #f1cc97;
}

/*STATE*/
.download-years ul li:nth-child(3), .hrr-state-hosp ul li:nth-child(2), .hrr-state-county-hosp ul li:nth-child(2){
	background-color: #e4d9ff;
}
.download-years ul li:nth-child(3):hover, .hrr-state-hosp ul li:nth-child(2):hover, .hrr-state-county-hosp ul li:nth-child(2):hover{
	background-color: #c7bae6;
}

/*COUNTY*/
.download-years ul li:nth-child(4), .hrr-state-county-hosp ul li:nth-child(3) {
	  background-color: #fff8ce;
}
.download-years ul li:nth-child(4):hover, .hrr-state-county-hosp ul li:nth-child(3):hover {
	  background-color: #f1e6a7;
}

/*HOSPITAL*/
.hrr-state-hosp ul li:nth-child(3), .hrr-state-hosp ul li:nth-child(4), .hrr-state-county-hosp ul li:nth-child(4){
	background-color: #dfffb2;
}
.hrr-state-hosp ul li:nth-child(3):hover, .hrr-state-hosp ul li:nth-child(4):hover, .hrr-state-county-hosp ul li:nth-child(4):hover{
	background-color: #c8f18e;
}
.crosswalks li{
	display: inline-block;
	min-width: 60px;
	padding-right: .5em;
	margin: 2px;
	border-radius: 0 5px 0 0;
	padding-left: .2em;
	border: 1px solid #dadada;
	background-color: #dfffb2;
}
.crosswalks li:hover {
	background-color: #c8f18e;
}

/*homepage*/
.home_main_highlights
{
	background-size: cover;
background:url(https://data.dartmouthatlas.org/wp-content/uploads/Screen-Shot-2021-02-18-at-3.32.56-PM.png);
	background-position: center;
	color: #fff;
}
.home_main_highlights a{
	color: #fff;
}
.home_main_highlights.wp-block-columns .wp-block-column:not(:last-child){
	margin-bottom: 0;
}
@media (min-width: 600px) and (max-width: 781px){
	.home_main_highlights .wp-block-column:not(:only-child){
		flex-basis: 50% !important;
	}
}
.home_sup_data{
	padding: 2em 1em 3em 1em;
	margin: 0;
	background: rgba(12, 0, 73, 0.7);
}
.home_rates{
background:linear-gradient( rgba(0,0,0,.6), rgba(0,0,0,.4));
	padding: 2em 1em 3em 1em;
	margin: 0;
	background: rgba(0, 38, 36, 0.77);
}
.home_main_highlights .home_sup_data{
	margin: 0;
}

/*homepage recents*/
.recents{
   background: linear-gradient(to right, #abecd49c, transparent);
	margin-top: -1em;
	padding: 0;
}
.recents li {
	display: inline-block;
	padding: .5em;
	margin: .2em;
	border-left: 10px solid #5cd4a8;
	background-color: #eaffb0;
	border-right: 0;
	background: linear-gradient(to right, #abecd4, transparent);
}

/*in-page-links*/
.entry-content > *:first-child.page-header-extras{
	margin-top: -140px;
	margin-bottom: 4em;
	background: #fff;
}
ul.in-page-nav{
	padding-left: 0;
}
.in-page-nav li{
	display: inline-block;
}
.in-page-nav a, .in-page-nav a:visited {
	display: inline-block;
	margin: 0px 3px 3px 0px;
	box-shadow: none;
	border: 1px solid #e7e7e7;
	padding: 10px 20px;
	background-color: #eaf8f3;
}
.in-page-nav a:hover, .in-page-nav a:focus {
	box-shadow: none;
	background-color: #a4d5c1;
}

/*footer styles*/
.widget-area {
	  margin-top: 0;
}
.close-header{
	font-size: 1em;
	text-transform: uppercase;
	padding-bottom: 0;
	margin-bottom: -1em;
	font-weight: bold;
	letter-spacing: .07em;
	color: #0ab576;
}
.sub-text{
	margin-top: -1em;
}
.primary-navigation .current-menu-item > a:first-child, .primary-navigation .current_page_item > a:first-child{
	text-decoration:none;
}
