﻿.home_wrap {
  background-image: url(https://muse.jhu.edu/home/images/compass_lg.png);
  background-attachment: fixed;
  background-size: cover;
}
.home_header {
  display: table; 
  width: 100%; 
  padding: 0 4em;
  padding-top: 20px;
}
.home_logo {
  display: table-cell;
  padding: 40px 0 30px 0;
  width: 350px
}
.home_logo img {
  max-width: 350px;
}
.home_content {
  padding: 0 0 40px 40px;
  display: table-cell;
  width: calc(94% - 350px);
}
.home_content #search_input_wrap {
  width: calc(100% - 120px);
}
.home_content #search_input {
  background: rgba(255,255,255,0.4);
}
.home_content #search_input input::-webkit-input-placeholder {color: #fff; opacity: 1;}
.home_content #search_input input::-moz-placeholder {color: #fff; opacity: 1;}
.home_content #search_input input:-ms-input-placeholder {color: #fff; opacity: 1;}
.home_content #search_input input:-moz-placeholder {color: #fff; opacity: 1;}
.home_content #search_input input {
  background:transparent;
  border: none;
  margin: 0;
  -webkit-appearance: none;
  outline: none;
  color: #fff;
}
.home_header_tabs {
	width: 100%;
	background: #153a6d;
	padding: 30px 4em 40px 4em; 
	background: none;
}
.home_header_tabs > a {
  float: left;
	display: block; 
	width: 23.5%; 
	padding: 12px 0 8px 0; 
	background: rgb(37,97,174); 
	color: #fff; 
	text-transform: uppercase;
	transition: background .2s ease;
	box-sizing: border-box;
	text-align: center;
	border-radius: 8px;
	margin-right: 2%;
}
.home_header_tabs > a:last-child {
  margin-right: 0;
}
.home_header_tabs > a:hover {
	background: rgb(35,110,206);
	color: #fff; 
}
.home_header_tabs > a .group {
	display: inline-block;
}
.home_header_tabs .tab_icon {
	float: left;
}
.home_header_tabs .tab_title {
	float: left; 
	margin-top: 2px; 
	margin-left: 8px;
	font-size: 18px;
	letter-spacing: 1.02px; 
	line-height: 1.3;
	text-align: left;
}
.home_header_tabs .tab_title span {
	display: block;
	font-size: 12px;
}
#home_main {
  padding: 0;
}
#home_main h1 {
  border-bottom: 3px solid #febe10;
  display: inline-block;
  margin-bottom: -0.1em;
  margin-bottom: -3px;
  color: #646d78;
  padding-bottom: 0.5em;
  font-weight: 300;
  font-size: 24px;
}
#home_main .card_text .tag {
  text-align: center;
  padding-bottom: 0px;
  position: relative;
  top: -7px;
  display: block;
}
#home_main .card_text .tag span {
  color: #141414;
  display: inline-block;
  padding: 4px 11px;
  line-height: 1;
  font-weight: normal;
  font-size: 14px;
  text-transform: capitalize;
  background: #f0f0f0;
}
#home_main .tag.free span {
  border-bottom: 3px solid #f00;
}
#home_main .tag.primary span {
  border-bottom: 3px solid green;
}
#home_main .tag.journal span,
#home_main .tag.issue span,
#home_main .tag.article span {
  border-bottom: 3px solid #ff8c59;
}
#home_main .tag.book span {
  border-bottom: 3px solid #75c8ee;  
}
#home_main #browse_books {
  padding-top: 0 !important;
}
.home_feature .table {
  display: table; 
  width: 100%; 
  padding-top: 20px;
}
.home_feature .tag {
  display: block; 
  position: absolute; 
  top: -12px; 
  left: 20px; 
  font-size: 15px; 
  text-transform: capitalize;
  color: #141414;
  padding: 4px 8px;
  line-height: 1;
  font-weight: normal;
  background: #f6f6f6;
  border: 1px solid #ccc;
  border-bottom: 3px solid #ccc;
}
.feature_double {
  padding: 0 4em; 
  margin: 20px 0 40px 0;
}
.feature_double .table .block {
  display: table-cell; 
  position: relative; 
  vertical-align: top;
  width: 47%; 
}
.feature_double .table .block:first-child {
  text-align: left;
  padding-right: 3%;
}
.feature_double .table .block:last-child {
  text-align: right;
  padding-left: 3%;
}
.feature_double .spacer {
  display: table-cell; 
  width: 6%;
}
.feature_double .feature_img {
  display: inline-block; 
  position: relative; 
}
.feature_double .feature_img img {
  width: 100%; 
  height: auto;
  border: 1px solid #ccc;  
  border-bottom: 3px solid #cdd2d9;
  display: block;
}
.feature_triple {
  padding: 0 4em 60px 4em;
}
.feature_triple .block {
  display: table-cell; 
  width: 30%; 
  position: relative; 
  border: 1px solid #ccc; 
  background: url(/images/swoosh_gray.png) left center no-repeat #000; 
  background-size: cover; 
  border-bottom: 3px solid #cdd2d9;
}
.feature_triple .block_bg {
  display: block; 
  position: absolute; 
  top: 0; 
  bottom: 0; 
  left: 0; 
  right: 0; 
  opacity: 0.8;
}
.feature_triple .desc {
  display:block; 
  position: relative; 
  font-size: 20px; 
  line-height: 1.2; 
  font-weight: 400; 
  width: 100%; 
  color: #fff; 
  padding: 30px 20px;
}
.feature_triple .desc .meta {
  font-size: 14px; 
  line-height: 1.4; 
  color: #fff; 
  padding-top: 10px;
}
.feature_triple .spacer {
  display: table-cell; 
  width: 5%;
}
.feature_news {
  padding: 0 4em 80px 4em;
}
.feature_news a {
  text-decoration: underline;
  color: #217F9C;
}
.feature_news a:hover {
  text-decoration: none;
}
.feature_news .block {
  display: table-cell; 
  vertical-align: top; 
  position: relative; 
  width: 30%;
}
.feature_news .block .date {
  font-size: 20px;
}
.feature_news .block .desc {
  font-size: 14px;
}
.feature_news .spacer {
  display: table-cell; 
  vertical-align: top; 
  width: 5%;
}

@media (max-width: 1024px) {
  .home_header {
    padding: 20px 2em 0 2em;
  }
  .home_header_tabs {
    padding: 40px 2em;
  }
  .home_logo {
    width: 30%;
    max-width: 350px
  }
  .home_logo img {
    max-width: 350px;
  }
  .home_content {
    padding: 0 0 40px 30px;
    display: table-cell;
    width: 70%;
  }
}
@media (max-width: 900px) {
  .home_header_tabs {
    padding: 20px 2em;
  }
  .home_header_tabs > a {
    width: 48%;
    margin-right: 4%;
    margin-bottom: 20px;
  }
  .home_header_tabs > a:nth-child(even) {
    margin-right: 0;
  }
}
@media (max-width: 860px) {
  .feature_double {
    margin: 20px 0;
  }
  .feature_double .table .block,
  .feature_double .table .spacer {
    display: block;
    width: 100%;
    margin: 0 0 30px 0;
    padding: 0 !important;
  }
  .feature_triple,
  .feature_news {
    padding-bottom: 40px;
  }
  .feature_triple .block,
  .feature_triple .spacer,
  .feature_news .block,
  .feature_news .spacer {
    display: block;
    width: 100%;
    margin: 0 0 30px 0;
  }
}
@media only screen and (max-width:39.9375em) {
  .home_content {
    display: block;
    width: 100%;
    padding: 0 0 20px 0;
  }
  .home_logo {
    display: block;
    width: 100%;
    max-width: none;
    padding: 0;
  }
  .home_logo img {
    max-width: 200px;
  }
  .home_header_tabs > a {
    width: 100%; 
    margin-bottom: 0;
    margin-right: 0;
    border-radius: 0;
    box-shadow: none;
    text-align: center;
    padding-left: 0;
  }
  .home_header_tabs .tab_publishers,
  .home_header_tabs .tab_publishers:hover {
    background: rgb(23,82,157);
  }
  .home_header_tabs .tab_librarians,
  .home_header_tabs .tab_librarians:hover {
    background: rgb(34,98,179); 
  }
  .home_header_tabs .tab_individuals,
  .home_header_tabs .tab_individuals:hover {
    background: rgb(35,110,206); 
  }
  .home_header_tabs .tab_instructors,
  .home_header_tabs .tab_instructors:hover {
    background: rgb(49,125,223); 
  }
  .home_feature {
    padding-left: 2em !important;
    padding-right: 2em !important;
  }
}
