/*
 Theme Name:     DRI Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.7.6
*/


/* =Theme customization starts here
------------------------------------------------------- */
 


/* START search results page CSS */


/* .search #header-featured-image {
 display: none;
} */

.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;
}
/* .dri_search_image > entry-featured-image-url > */
.person a img {
    max-width: 100% !important;
}


/*  END  search results page CSS */






/* START Publication public display CSS */

.publication_doi_link
{
    text-decoration: underline;
}

.status_year:before {
    content: '\A';
    white-space: pre;
}

.status_year {
	font-weight: 700;
	font-size: 1.3em;
    /*text-indent: 50px;*/
	padding-left:30px;
	
}
 

.citation {
   /*text-indent: 50px;*/
	padding-left:65px;
	padding-top: 10px;
}
/* */
.citation:first-letter {
  margin-left: -20px;
}
/*
.citation:before {
    content: '\A';
    white-space: pre;
}*/

.public_group_name {
	font-weight: 800;
	font-size: 2em;
   /*text-indent: 50px;*/
}
.public_group_name:before {
    content: '\A';
    white-space: pre;
}

 
.publication_page_type_public_group_name {
	font-weight: 700;
	font-size: 1.3em;
   /*text-indent: 50px;*/ 
   padding-left:30px;
}
.publication_page_type_public_group_name:before {
    content: '\A';
    white-space: pre;
}

.publication_page_status_year_title:before {
    content: '\A';
    white-space: pre;
}

.publication_page_status_year_title {
	font-weight: 800;
	font-size: 1.6em;
    /*text-indent: 50px;*/
	
}


/* END Publication public display CSS */


.container {
    /*overflow: hidden;*/
	/*padding-bottom: 50px;*/
}

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

div {
    display: block;
}

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

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

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


/* POSITION */
.dri-directory-person-position {
    text-transform: uppercase;
}
.dri-directory-person-position {
    color: #666666;
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 1px;
}

.node-person.view-mode-full .group-contacts {
    font-size: 12px;
    /*background: #EEEEEE;*/
    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;
}


/* Email icon is font awesome in code */
.gray_bigger_email_icon a{
	color: #333;
}


h3 {
    padding-top: 30px;
}


/* */
/* */
/* */
/* */
/* */
/* */
/* */
.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;
    /*border: 2px solid red !important;*/
}

.dd-person-wrapper {
    display: grid;
    grid-template-columns: 138px auto;
    grid-gap: 0px;
    border: 1px solid #DDDDDD;
    padding:5px;
    /* color: #999999; */
    /*background-color: #FAF9FC;*/
	/*justify-content: center; */
}

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

}

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

.dd-info{
    text-align: left;
    padding-left: 0px;
	padding-top: 6px;
}



/*.dd-info-name {
	color: #60779D;
	font-weight:bold;
}*/

.dd-info-name a{
    /*color: #60779D;*/
	font-weight:bold;
}

.dri-directory-person-telephone{
    /*color: #2d2d2e;*/
	display:inline-block;
	/*vertical-align:top;*/
	font-weight:bold;
}


.field-label-above, .dri-directory-person-room-office-number, .dri-directory-person-campus {
	display:inline-block;
	vertical-align:top;
}



/*.dd-envelope-icon {
    color: #888;
}*/

.dd-info-title {
    font-weight:600;
    text-transform: uppercase;
    /*font-size: 12px;
	color: #726C63;*/
}


#search-box {
    width: 100vw;
    position: relative;
    margin-left: -50vw;
    margin-bottom:10px;
   /* height: 150px;*/    
    left: 50%;
    
}

#search-box-control {
    /*width: 1110px;*/
    width: 100%;
    margin-left: 0px; 
    left:0px; 
	padding-top: 40px;
	
}


.letter_filter{
    /*padding-right: 15px;*/
    font-weight: 200;
    font-size: 18px;
	color: #034692;
}




 

/* */ 
.container {
   /* overflow: hidden;*/
}

.filterDiv {
    
    display: none; /* Hidden by default */
}

/* The "show" class is added to the filtered elements */
.show {
    display: grid;
}

/* Style the buttons */
.btn {
  border: none;
  outline: none;
  padding: 12px 10px;
    cursor: pointer;
  /*color: #60779D;*/
}

/* Add a light grey background on mouse-over */
.btn:hover {
  background-color: #7b706b;
  color:#FFF;
}

/* Add a dark background to the active button */
.btn.active {
  background-color: #2d2d2e;
  color: white;
}

/* If the sidebar is showing, it wrecks the layout, so hide it just in case there is one. */
#sidebar {
    display: none;
}



/*  */

#myInput {
    /*background-image: url('/wp-content/plugins/dri-directory/public/images/searchicon.png'); */ /* Add a search icon to input */
    background-position: 10px 12px; /* Position the search icon */
    background-repeat: no-repeat; /* Do not repeat the icon image */
    /* width: 100%; */ /* Full-width */
    font-size: 16px; /* Increase font-size */
    padding: 12px 12px 12px 12px; /* Add some padding */
    border: 1px solid #ddd; /* Add a grey border */
    margin-bottom: 12px; /* Add some space below the input */
}


@media (min-width: 1100px) {
    .dd-people-wrapper {
        grid-template-columns: 360px 360px 360px !important;
        justify-content: center !important;
    }
}
@media (min-width: 750px) and (max-width: 1099px) {
    .dd-people-wrapper {
        grid-template-columns: 360px 360px !important;
        justify-content: center !important;
    }
}
@media (max-width: 749px) {
    .dd-people-wrapper {
        grid-template-columns: 360px !important;
        justify-content: center !important;
        padding: 20px 10px 0 10px !important;
    }
}





/* TABLE */
th {
    border-bottom: 3px solid #33527a;
}
th {
    border-bottom: 3px solid #FA7252;
    color: #010101;
    font-size: 14px;
    font-weight: bold;
    padding: 10px;
    text-align: left;
    text-transform: uppercase;
}

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

/* Directory-specific container override */
.dd-people-wrapper.container,
.dd-people-wrapper .container,
#main-content .dd-people-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    /*padding: 0 !important;*/
    box-sizing: border-box !important;
}
