/* Faculty Staff Directory Styles */

/* ========================================
   SEARCH RESULTS PAGE
   Used in: search.php
   ======================================== */

.dri_search_article{
	width: 100%;
	height: 100%;
	margin-right: 10px;
  	float: left;
	overflow-x: auto;
}

.dri_search_content{
	padding-left: 25px;
	display: block;
}

.dri_search_content > .entry-title{
	font-size: 24px;
}

.dri_search_image{
	float: left;
	margin-right: 50px;
	display: block;
}

/* Used in: search.php - Person post type results */
.person a img {
    max-width: 100% !important;
}

/* ========================================
   SINGLE PERSON PROFILE PAGE
   Used in: single-person.php
   ======================================== */

.container {
}

#main-content .container:before {
    position: absolute;
    top: 0;
    width: 0px;
    height: 100%;
    background-color: #e2e2e2; 
    content: "";
}

div {
    display: block;
}

/* Person photo container and image styling */
.node-person.view-mode-full .dri-directory-person-photo {
    margin-right: 20px;
    margin-bottom: 10px;
    display: inline-block;
    vertical-align: top;
    max-width: 200px;
}

.node-person.view-mode-full .dri-directory-person-photo img {
    border-radius: 100px;
}

.user_circle_photo {
    border-radius: 100px;
}

/* Biography section layout */
.node-person.view-mode-full .group-bio {
    width: 75%;
    display: inline-block;
    vertical-align: top;
}

.node-person.view-mode-full {
    padding-top: 40px;
}

article, aside, details, figcaption, figure, footer, header, 
hgroup, main, nav, section, summary {
    display: block;
}

user agent stylesheet
article, aside, footer, header, hgroup, main, nav, section {
    display: block;
}

/* Person name styling */
.dri-directory-person-name {
    color: #014692;
    font-family: 'open_sanslight',Tahoma,Helvetica,sans-serif;
    font-size: 36px;
    line-height: 1.2em;
    margin-bottom: 2px;
}

/* Job title/position styling */
.dri-directory-person-position {
    text-transform: uppercase;
}

.dri-directory-person-position {
    color: #666666;
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 1px;
}

/* Contact information section */
.node-person.view-mode-full .group-contacts {
    font-size: 12px;
    margin: 15px 0;
    padding: 3px 12px 12px 12px;
}

.group-contacts .field {
    display: inline-block;
    width: 32.9%;
}

.node-person.view-mode-full .group-contacts .field-label, .node-person.view-mode-full .group-contacts .field-items {
    display: inline-block;
}

.field-item {
	display: inline-block;
}

.field .field-label {
    font-weight: bold;
}

.field .field-label {
    color: #014692;
    line-height: 24px;
}

/* Used in: single-person.php - Email icon */
.gray_bigger_email_icon a{
	color: #333;
}

h3 {
    padding-top: 30px;
}

/* ========================================
   DIRECTORY GRID LAYOUT
   Used in: archive-person.php
   ======================================== */

/* Main grid container - holds all person cards */
.dd-people-wrapper {
    display: grid !important;
    grid-template-columns: 360px 360px 360px !important;
    grid-gap: 4px !important;
    grid-auto-rows: 140px !important;
    padding-top: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
    justify-content: center !important;
}

/* Individual person card wrapper */
.dd-person-wrapper {
    display: grid;
    grid-template-columns: 138px auto;
    grid-gap: 0px;
    border: 1px solid #DDDDDD;
    padding:5px;
}

.dd-person-wrapper p {
    padding: 0px;
    margin: 0;

}

/* Person photo in card */
.dd-person-photo {
     width:130px;
}

.dd-person-photo img{
    width:130px;
    height:130px;
    object-fit: cover;
	margin-left: auto;
    margin-right: auto;
}

/* Person info section in card */
.dd-info{
    text-align: left;
    padding-left: 0px;
	padding-top: 6px;
}

/* Person name link */
.dd-info-name a{
	font-weight:bold;
}

/* Used in: single-person.php - Phone number */
.dri-directory-person-telephone{
	display:inline-block;
	font-weight:bold;
}

/* Used in: single-person.php - Office/campus info */
.field-label-above, .dri-directory-person-room-office-number, .dri-directory-person-campus {
	display:inline-block;
	vertical-align:top;
}

/* Job title in person card */
.dd-info-title {
    font-weight:600;
    text-transform: uppercase;
}

/* ========================================
   FILTER CONTROLS
   Used in: archive-person.php
   ======================================== */

/* Legacy - may not be used */
#search-box {
    width: 100vw;
    position: relative;
    margin-left: -50vw;
    margin-bottom:10px;
    left: 50%;
}

/* Legacy - may not be used */
#search-box-control {
    width: 100%;
    margin-left: 0px; 
    left:0px; 
	padding-top: 40px;
}

/* Legacy - may not be used */
.letter_filter{
    font-weight: 200;
    font-size: 18px;
	color: #034692;
}

.container {
}

/* Applied by directory-script.js - Person cards with this class are hidden */
.filterDiv {
    display: none;
}

/* Applied by directory-script.js - Shows person cards that match filters */
.show {
    display: grid;
}

/* Filter buttons (A-Z, divisions, employee types) */
.btn {
  border: none;
  outline: none;
  padding: 12px 10px;
    cursor: pointer;
}

.btn:hover {
  background-color: #7b706b;
  color:#FFF;
}

/* Active filter button state - applied by directory-script.js */
.btn.active {
  background-color: #2d2d2e;
  color: white;
}

/* Hide sidebar on directory pages */
#sidebar {
    display: none;
}

/* Keyword search input box */
#myInput {
    background-position: 10px 12px;
    background-repeat: no-repeat;
    font-size: 16px;
    padding: 12px 12px 12px 12px;
    border: 1px solid #ddd;
    margin-bottom: 12px;
}

/* ========================================
   RESPONSIVE BREAKPOINTS
   Used in: archive-person.php
   ======================================== */

/* Desktop: 3 columns */
@media (min-width: 1100px) {
    .dd-people-wrapper {
        grid-template-columns: 360px 360px 360px !important;
        justify-content: center !important;
    }
}

/* Tablet: 2 columns */
@media (min-width: 750px) and (max-width: 1099px) {
    .dd-people-wrapper {
        grid-template-columns: 360px 360px !important;
        justify-content: center !important;
    }
}

/* Mobile: 1 column */
@media (max-width: 749px) {
    .dd-people-wrapper {
        grid-template-columns: 360px !important;
        justify-content: center !important;
        padding: 20px 10px 0 10px !important;
    }
}

/* ========================================
   LAYOUT OVERRIDES
   Used in: archive-person.php
   ======================================== */

/* Force full width for directory grid */
#main-content {
    width: 100% !important;
    max-width: 100% !important;
}

/* Override Divi container constraints */
.dd-people-wrapper.container,
.dd-people-wrapper .container,
#main-content .dd-people-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}
