.seas-people {
 padding: 10px;
}

.seas-people-container {
  display: grid;
  padding: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 220px));
  grid-gap: 1rem;
}
#sp-resulthere {
  padding-top: 5px;
}
#sp-resulthere h2 {
  padding-top: 30px !important;
}
#sp-resulthere h2.seas-people-section {
  font-weight: bold;
}
.category-name-section {
 float: right;
}
.category_name.active {
  border-bottom: 2px solid rgb(50,132,191);
}
.category_name:hover {
  border-bottom: 2px solid rgb(50,132,191);
 -webkit-transition-property: right;
 transition-property: right;
 -webkit-transition-duration: 0.3s;
 transition-duration: 0.3s;
 -webkit-transition-timing-function: ease-out;
 transition-timing-function: ease-out;
}
.card-dept {
 cursor: pointer;
}
.seas-people-container .card {
  box-shadow: 0px 1px 5px rgba(0,0,0,0.2);
  background-color: white;
}
.object-fit_fill { object-fit: fill }
.seas-people-container .card_description h4 {
  font-size: 1rem;
  font-weight: bold;
  padding: .5rem;
}
.seas-people-container .card_description {
 padding: .5rem;
 font-size: 0.8rem;
 text-align: center;
}

.et_pb_portfolio_filter a.active {
 color: #347BAD !important;
 font-weight: bold;
}

.padding10 {
 padding-left: 10%;
 padding-right: 10%;
}
.seas-tab,
.seas-toggle {
 float: left;
}
.excerpt {
 margin-top: 10px;
 padding: 20px;
 box-shadow: 6px 6px 18px -6px rgba(0,0,0,0.2);
}
@media screen and (max-width: 768px) {
 .seas-default .float-left,
 .seas-tab,
 .seas-tab.float-right,
 .seas-toggle,
 .seas-toggle.float-right {
   float: none;
   padding: 0px;
   margin: 0px;
   box-shadow: unset;
   width: auto;
 }
 .padding10 {
   padding: 0px;
 }
}
/* Category */
.category_name {
 color: #333;
 font-size: 0.9rem;
 padding: 0 11px;
 cursor: pointer;
}
/* Search box */
.search_bar {
  background: #fff;
  border: #e2e2e2 solid 1px;
  border-radius: 3px;
  position: relative;
}
.search_bar input[type=text] {
  border: none;
  -webkit-box-shadow: none;
          box-shadow: none;
  font-weight: 600;
  font-size: 14px;
  width: 80%;
  padding: .5em;
  margin: 0;
  overflow: hidden;
}
.search_bar input[type=text]:focus {
  outline: none;
}
.search_bar button[type=button] {
  background: -webkit-gradient(linear, left top, left bottom, from(#237cd4), to(#1e6ab5));
  background: linear-gradient(#237cd4, #1e6ab5);
  color: rgba(255, 255, 255, 0);
  border: 1px solid #1C62A8;
  width: 10%;
  min-width: 56px;
  position: absolute;
  top: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 0 3px 3px 0;
  margin: 0;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.search_bar button[type=button]:after {
  content: '';
  position: absolute;
  top: 18%;
  right: 0;
  bottom: 22%;
  left: 4%;
  background: url("https://media.lib.byu.edu/assets/images/searchbar/1.0/search-icon.svg") no-repeat center center;
  background-size: contain;
}
.search_bar button[type=button]:hover, .search_bar button[type=button]:focus {
  background: -webkit-gradient(linear, left top, left bottom, from(#3388dd), to(#2174c7));
  background: linear-gradient(#3388dd, #2174c7);
  -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
          box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}
.search_bar .search_dropdown {
  font-weight: 600;
  min-width: 17px;
  background: -webkit-gradient(linear, left top, left bottom, from(#f4f4f4), to(#e2e2e2));
  background: linear-gradient(#f4f4f4, #e2e2e2);
  border-right: 1px solid #ddd;
  color: #555;
  padding: 0 28px 0 13px;
  border-radius: 2px 0 0 2px;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 10000;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  -webkit-box-sizing: content-box;
          box-sizing: content-box;
}
.search_bar .search_dropdown:after {
  content: "\2193";
  color: rgba(85, 85, 85, 0);
  background: url("https://media.lib.byu.edu/assets/images/searchbar/1.0/down-arrow.svg") no-repeat top left;
  height: 8px;
  width: 10px;
  position: absolute;
  top: 50%;
  right: 10px;
  margin-top: -6px;
}
.search_bar .search_dropdown:hover, .search_bar .search_dropdown.active {
  background: -webkit-gradient(linear, left top, left bottom, from(#e7e7e7), to(#d5d5d5));
  background: linear-gradient(#e7e7e7, #d5d5d5);
  cursor: pointer;
  border-right-color: #ccc;
}
.search_bar .search_dropdown > span {
  position: absolute;
  top: 50%;
  margin-top: -8px;
  white-space: nowrap;
  font-size: 15px;
}
.search_bar .search_dropdown ul {
  display: none;
  position: absolute;
  top: 105%;
  left: -1px;
  font-size: 14px;
  min-width: 225px !important;
  max-width: 300px !important;
  background: #fff;
  -webkit-box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
          box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 7px 0;
}
.search_bar .search_dropdown li {
  list-style-type: none;
  margin: 0;
  padding: 5px 18px;
  color: #1C62A8;
  line-height: 1.2em;
  position: relative;
  float: unset;
  max-width: 300px;
}
.search_bar .search_dropdown li:hover {
  background: #e7e7e7;
}
.search_bar .search_dropdown li.selected {
  background: #1C62A8;
  color: #fff;
}
.search_bar {
  max-width: 100%;
}
.search_bar input[type=text] {
  font-size: 16px;
}

.sp-nav {
  display: inline-block;
  padding: 0px !important;
}
.sp-nav li {
 float: left;
 list-style-type: none;
 position: relative;
}

.sp-nav li a {
 font-size: 16px; 
 display: block;
 line-height: 60px;
 padding: 0 26px;
 text-decoration: none;
 border-left: 1px solid #2e2e2e;
}
.sp-nav li a:hover {
 background-color: #2e2e2e;
}

#sp-search {
 width: 357px;
 margin: 4px;
}
#search_text{
	width: 297px;
	padding: 15px 0 15px 20px;
	font-size: 16px;
  border: #e2e2e2 solid 1px;
  border-radius: 3px;
	height: 52px;
	margin-right: 0;
	outline: none;
	float: left;
	box-sizing: border-box;
	transition: all 0.15s;
}
#search_button {
	border: 0 none;
	background: #1f7f5c url("https://media.lib.byu.edu/assets/images/searchbar/1.0/search-icon.svg") center no-repeat;
	width: 60px; 
	float: left;
	padding: 0;
	text-align: center;
	height: 52px;
	cursor: pointer;
}

#sp-depts a{
	border-left: 0 none;
}
#sp-depts>a {
	background-image: url("https://media.lib.byu.edu/assets/images/searchbar/1.0/down-arrow.svg");
	background-position: 85% center;
	background-repeat: no-repeat;
	padding-right: 42px;
}
.subnav {
	visibility: hidden;
	position: absolute;
	top: 110%;
	right: 0;
	width: 200px;
	height: auto;
	opacity: 0;
	transition: all 0.1s;
	//background: #232323;
}
.subnav li {
	float: none;
}
.subnav li a {
	border-bottom: 1px solid #2e2e2e;
}
#sp-depts:hover .subnav {
	visibility: visible;
	top: 100%;
	opacity: 1;
}
.seas-people-extra-info ol {
  padding-left: 20px !important;
}
.seas-people-extra-info ol > li {
  list-style-position: outside;
}
// Dashboard
// Hide "Most Used" tab from Category
ul.category-tabs li.hide-if-no-js {
 display:none;
}

/* Research Area */
.r-search {
 cursor: pointer;
}
.loadmore, .loading{
 background-color: #ddd;
 border-radius: 2px;
 display: block;
 text-align: center;
 font-size: 14px;
 font-size: 0.875rem;
 font-weight: 800;
 letter-spacing:1px;
 cursor:pointer;
 text-transform: uppercase;
 padding: 10px 0;
 transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.3s ease-in-out;  
}
.loadmore:hover{
 background-color: #767676;
 color: #fff;
}
.research-area-container {
  display: grid;
  padding: 0px;
  grid-gap: 1rem;
}
.research-area-container .research-card {
 background-color: #eee;
 padding: 10px;
}
.research-area-search .search-area {
 font-size: 13px;
 line-height: 1.2em;
 background-color: #eee;
 padding: 10px;
}
.research-card .card-text {
  padding-left: none !important;
}
.research-card .card-text h2 {
  font-weight: 600;
  font-size: 19px;
  color: #1C537D;
}
.research-card .card-text .vcard {
  font-style: italic;
  font-size: 10px;
  line-height: 1.3em;
}
.research-card .card-text p {
  line-height: 1.2em;
  padding-bottom: 1em;
  font-size: 13px;
}
.research-area-search .search-area h2 {
  font-size: 14px;
  font-weight:bold;
}
.research-area-search .search-area h3 {
  font-size: 12px;
  padding: 5px 0px 7px 10px;
  line-height:1.2em;
}
.research-area-search .search-area ul {
  padding-bottom: 5px;
}
.research-area-search ul#search-areas a,
.research-area-search ul#search-dpt a,
.research-area-search ul#search-tag a {
  color:#ffffff;
}
.research-area-search b {
  margin-bottom: 5px;
}
.research-area-search hr {
  color: #eeeeee;
}
.research-card .card-img {
  padding-bottom: 5px;
}
@media screen and (min-width: 1000px) {
  .research-area-container {
    grid-template-columns: repeat(auto-fill, minmax(160px, 313px));
  }
  .research-card .card-img {
    float: left;
  }
  .research-card .card-text {
    float: right;
    width: 150px;
  }
  .research-card img.alignleft {
    display: inline;
    margin-right: 15px;
    width: 120px;
    height: 140px;
    object-fit: cover;
  }
  .research-area-container.et_pb_column {
    width: 70%;
    margin-right: 10px !important;
  }
  .research-area-search.et_pb_column {
    width: 28%;
  }
}
@media screen and ( min-width: 801px ) and ( max-width: 999px) {
  .research-area-container {
    grid-template-columns: repeat(auto-fill, minmax(160px, 220px));
  }
  .research-card img.alignleft {
    display: block;
    width: 200px;
    padding-bottom:5px;
    object-fit: cover;
  }
  .research-area-container.et_pb_column {
    width: 60%;
    margin-right: 10px !important;
  }
  .research-area-search.et_pb_column {
    width: 35%;
  }
}
#sp-arearesulthere {
  margin-bottom:10px;
}
ul#search-areas,
ul#search-dpt,
ul#search-tag {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

ul#search-areas li,
ul#search-dpt li,
ul#search-tag li {
  cursor: pointer;
  border: 1px solid #ddd;
  margin-top: -1px; /* Prevent double borders */
  color: white;
  padding: 3px 5px 5px 7px;
  text-decoration: none;
  display: block;
  position: relative;
  line-height: 1.5;
}
ul#search-areas li {
  background-color: #005587;
}
ul#search-areas li:hover,
ul#search-dpt li:hover,
ul#search-tag li:hover {
  background-color: #003B5C;
}
ul#search-dpt li {
  background-color: #2774AE;
}
ul#search-tag li {
  background-color: #325C74;
}

#search-areas .close,
#search-dpt .close,
#search-tag .close {
  position: absolute;
  top: 50%;
  right: 0%;
  padding: 5px 16px;
  transform: translate(0%, -50%);
  line-height: 1.5;
}
/* Print Button */
.print-page {
  float: right;
  display:inline-block;
  padding:5px 15px 7px 15px;
  line-height:1em;
  border: 1px solid #2774AE;
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}
.print-page:hover {
  background-color: #005587;
  color: #f9f9f9;
  text-decoration:none;
}
