/* 
 Author: Emma Jaud
 Organization: University of Delaware Library, Museums and Press
 File: staff-roster.css
 Description: Define styles for external library staff roster page.
*/

/* STAFF ROSTER SUB TITLES  ||||||||||||||||||||||||||||||||||*/
.staff-subtitle-container {
	height: 30px !important;
}
.staff-sub-specialist-title {
	display: inline-block; 
	float: right;
	text-decoration: none;
}
.staff-sub-specialist-title img {
	width:26px; 
	display:inline-block; 
	vertical-align:middle; 
	margin: 1px 0 4px;
}
.staff-sub-specialist-title h4 {
	display: inline-block; 
	vertical-align: baseline; 
	margin: 1px 0 0;
	line-height: 1.5;
}

.staff-subtitle-child {
    width: 70%;
    float: left;
}
.staff-subtitle-child h3 {
	margin: 0; 
	padding: 4px 0 6px 0;
}
.staff-subtitle-child2 {
    width: 30%;
    float: right;
	margin-bottom: 1.5rem;
}  

/* FILTER TAGS ||||||||||||||||||||||||||||||||||*/
.filter-title {
	margin: 1rem 0 0; 
	border-top: 2px solid var(--color-gold); 
	padding: 16px 0;
}
.filter-tag {
	display: inline-block; 
	background: var(--color-blue-dark); 
	padding: 1px 10px 2px; 
	border-radius: .5rem; 
	color: white;
	margin-left: 0px;
}
.filter-h3 {
	display: inline-block !important; 
	margin: 0 !important;
}
#first-tag {
	margin-right: 4px;
}
.remove-tag {
	color: var(--color-gold);
	padding: 0 0 0 4px;
	text-decoration: none;
	font-size: calc(1.25rem + 0.5vmin);
}
.remove-tag:hover{
	color: var(--color-blue-light);
}

/* STAFF CARDS ||||||||||||||||||||||||||||||||||*/
.staff-card {
    padding: 20px 2rem;
	display: grid;
	grid-template-columns: 125px auto;
	grid-gap: 20px;
	width: 100%;
	position: relative;
}
.white-shadow {
	margin-bottom: 15px !important;
}

/* STAFF CARDS TEXT ||||||||||||||||||||||||||||||||||*/
.staff-card h5 {
    font-weight: bold;
}
.staff-card h3 {
    margin-bottom: 0;
}
.staff-card a:hover{
	color: var(--color-blue-light) !important;
}

/* STAFF CARDS ICONS ||||||||||||||||||||||||||||||||||*/
.only-svg .linea-svg{
    display: inline-block;
    vertical-align: top;
    margin-right: 1rem;
    margin-top: 3px;
	height: auto !important;
}
#staff-phone .linea-svg {
    width: 1.375rem;
}
.only-svg .linea-svg-inner {
    margin-right: 0;
    padding-right: 0;
    margin-left: 0;
    padding-left: 0;
	height: 22px !important;
}

/* SUBJECT LIBRARIAN ||||||||||||||||||||||||||||||||||*/
.subject-librarian-position {
	position: absolute;
	top: 18px;
	right: 22px;
	width: 26px;
	z-index: 10;
}

/* PHOTO BLOCK ||||||||||||||||||||||||||||||||||*/
.staff-photo-block {
    display: block;
    width: 125px;
	height: 100%;
	margin: auto auto;
	text-align: center;
}
.staff-img-center {
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.staff-photo-block img {
	/*border: 5px solid var(--color-blue-dark);*/
	width: 125px;
	height: 125px;
	border-radius: 50%;	
	object-fit: cover;
}

.staff-pronouns-desktop {
	text-align: center;
	font-size: 1.1rem;
	line-height: 100%;
	padding-top: 2px;
	color: var(--color-blue-dark);
}

/* MEMBER BLOCK ||||||||||||||||||||||||||||||||||*/
.staff-member-block {
    display: inline-block;
    margin: auto 0;	
}

/* Staff Name info */
.staff-name-block {
    display: block;
/*    border-bottom: 1px solid var(--color-gray-light);*/
	border-bottom: 1px solid var(--color-gold);
    padding: 0 0 12px !important;
    margin-bottom: 0;
    width: 100%;

}
.staff-name-element {
	padding: 0 0 4px !important;
	margin: 0 !important;
/*	line-height: 2rem !important;*/
	line-height: 1.6rem !important;
	border: none !important;
}
/* name */
#staff-name {
	font-size: calc(1.6rem + 0.125vw);
	line-height: 110% !important;
}
/* position */
#staff-position {
	font-size: calc(1.1rem + 0.125vw);
	line-height: 130% !important;
}
/* dept */
#staff-dept {
	padding: 0 !important;
	font-size: calc(1.1rem + 0.125vw);
}

/* pronouns */
.staff-pronouns-mobile {
	display: none;
	text-align: center;
	font-size: 1.1rem;
	color: var(--color-blue-dark);
}

/* Staff Contact */
.staff-contact-block {
/*    display: block;*/
	display: flex;
	margin: 0 !important;
    vertical-align: top;
/*	padding: 10px 0 2px;*/
	flex-wrap: wrap;
}
#staff-phone .staff-contact-element-data {
	cursor: default;
}
.staff-contact-element {
/*	display: inline-block;*/
	display: flex;
	flex-direction: row;
	align-items: center;
	margin: 10px 30px 0 0;
	font-size: 16px;
/*	padding: 0 24px 0 0; */
}
.staff-contact-element:last-of-type {
	margin: 10px 0 0; 
}
.staff-contact-element-data {
	display: inline-block;
}
#orcid-logo {
/*	max-width: 20px !important;*/
/*	max-width: 24px;*/
	max-width: 22px;
	vertical-align: middle !important;
}
#staff-appt {
	font-size: 15px;
}
/* SUB TITLE FOR CATEGORIES ||||||||||||||||||||||||||||||||||*/
.staff-btt {
    display: inline-block;
    text-align: right;
    font-size: 1.25rem;
    float: right;
    margin-right: 1.75rem
}

.staff-btt a {
    color: var(--color-blue-med)
}

.staff-block {
    margin-bottom: 3rem;
    display: inline-block;
    width: 100%
}


/* SIDEBAR/FILTER ||||||||||||||||||||||||||||||||||*/
.has-sidebar-staff {
    display: inline-block;
    width: 100%;
    max-width: 67rem;
    max-width: 72%;
    vertical-align: top
}

.staff-filter-mobile {
    display: inline-block;
    max-width: 27rem;
    max-width: 28%;
    width: 100%;
    padding: 0;
    margin: 0;
    padding-right: 3.75rem
}

.staff-filter-mobile ul {
    margin: 0;
    list-style: none;
    font-size: 1.375rem;
    font-family: "greycliff_semibold";
    letter-spacing: -.025vmax;
    line-height: 1.5rem;
    position: relative
}

/* FILTER FORM ||||||||||||||||||||||||||||||||||*/
.staff-filter-form {
    font-size: 1.375rem;
}

.staff-filter-form h2 {
	text-align: center;
	font-size: calc(1rem + 1.375vmin);
	margin: 0 0 12px;
}

.staff-filter-form fieldset {
    margin-bottom: 3.75rem;
    padding: 2rem;
    background: var(--color-gray-light);
    background: #fff;
    border: 1px solid var(--color-gray-light);
    border: 0;
    border-radius: 1rem
}

.staff-filter-form fieldset .inline {
    display: table;
    width: 100%
}

.staff-filter-form fieldset .inline.fixed {
    table-layout: fixed
}

.staff-filter-form fieldset .inline div {
    font-size: 1.25rem;
	padding: 0 0 8px;
}

.staff-filter-form fieldset .inline div label {
/*    margin-bottom: 2.5px*/
}

.staff-filter-form p.button-add {
    margin-top: 0.5rem;
    padding: 0 0.5rem;
    text-align: right
}


.staff-filter-form fieldset label {
    display: inline-block;
    max-width: 100%;
    margin: 0.5rem 0;
    font-family: "greycliff_semibold";
    letter-spacing: -.025vmax;
    padding: 0 0.25rem;
    color: #000;
    color: var(--color-blue-dark);
	font-size: 16px;
}


.staff-filter-form input[type="text"],
.staff-filter-form textarea {
    font-family: "greycliff_semibold";
    display: block;
    width: 100%;
    height: 3rem;
    padding: 0.5rem 1rem;
    font-size: 1.375rem;
    line-height: 1.5;
    color: #555;
    color: var(--color-blue-dark);
    background-color: #fff;
    background-color: var(--color-gray-light);
    background-image: none;
    border: 1px solid #ccc;
    border: 0;
    border-radius: 1rem;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out 0.15s,box-shadow ease-in-out 0.15s;
    -o-transition: border-color ease-in-out 0.15s,box-shadow ease-in-out 0.15s;
    transition: border-color ease-in-out 0.15s,box-shadow ease-in-out 0.15s
}

.staff-filter-form textarea {
    height: auto
}

.staff-filter-form button {
    background: #00539a;
	color: #fff;
	display: table;
	margin: 16px auto 0;
	text-align: center;
	padding: 0.75rem 2rem;
	font-size: 1.375rem;
	line-height: 2rem;
	border-radius: 2rem;
	font-family: "greycliff_semibold",sans-serif;
    cursor: pointer;
	border: none;
	box-shadow: 0 2px 1rem rgba(0,0,0,.2);
    background-image: none;
    white-space: nowrap;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-appearance: none
}

.staff-filter-form select.deptdropdown {
    font-family: "greycliff_semibold";
    display: block;
    width: 100%;
    height: 3rem;
    font-size: 1.375rem;
    line-height: 1.5;
    color: var(--color-blue-dark);
    background-color: var(--color-gray-light);
    border: 0;
    border-radius: 1rem;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out 0.15s,box-shadow ease-in-out 0.15s;
    -o-transition: border-color ease-in-out 0.15s,box-shadow ease-in-out 0.15s;
    transition: border-color ease-in-out 0.15s,box-shadow ease-in-out 0.15s;
	padding: 0.5rem 1rem;
}


select.deptdropdown:focus {
    border-color: #ccc;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 0.75rem rgba(102,175,233,.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 0.75rem rgba(102,175,233,.6)
}

select.deptdropdown option {
    white-space: normal !important;
}


/* MOBILE FORMATTING ||||||||||||||||||||||||||||||||||*/
@media screen and (max-width: 1024px) {
	aside.staff-filter-mobile {
		display: block !important;
		float: none !important;
		box-sizing: content-box !important;
	}
	
	.staff-filter-mobile {
		display: inline-block;
		max-width: 27rem;
		max-width: 100%;
		width: 100%;
		padding: 0;
		margin: 0;
		padding-right: 3.75rem
	}
	
	.has-sidebar-staff {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        display: block
    }
}


@media screen and (max-width: 700px){
	
	.staff-card {
		padding: 2rem;
		grid-template-columns: auto;
		grid-gap: 12px;
	}
	
	.staff-photo-block {
		height: 125px;
	}
	
	.staff-pronouns-desktop {
		display: none;
	}
	.staff-pronouns-mobile {
		display: block;
		padding-bottom: 4px;
	}

	.staff-name-element {
		text-align: center;
	}

	.staff-contact-block {
		text-align: center;
		justify-content: center;
		padding-top: 2px;
	}
	
	.staff-contact-element, .staff-contact-element:last-of-type {
		margin: 10px 12px 0;
		padding: 5px 6px !important;
		background: var(--color-gray-light);
		border-radius: 2rem;
	}
	.only-svg .linea-svg {
		margin-right: 0;
		margin-top: 1px;
	}
	#staff-phone .linea-svg {
		width: inherit;
	}
	#staff-orcid {
		background: none;
		padding: 0 !important;
	}
	#orcid-logo {
		max-width: 32px;
	}
	
	.staff-contact-element-data{
		display: none !important;
	}

}

@media screen and (max-width: 640px){
	/* sub title */
	.staff-subtitle-container {
		height: 60px !important;
	}
	.staff-subtitle-child {
		width: 100%;
	} 
	.staff-subtitle-child2 {
		width: 100%;
	}  
	.staff-sub-specialist-title { 
		float: left;
	}
	
	.staff-filter-form h2 {
		font-size: 2rem !important;
	}
	
	/* filter tags */
	.filter-tag {
		margin-bottom: 4px;
	}
	.filter-h3 {
		display: block !important; 
		margin: 0 0 12px !important;
	}

}