/* 
 Author: Emma Jaud
 Organization: University of Delaware Library, Museums and Press
 File: subject-specialist.css
 Description: Define styles for Library Subject Specialists information page.
*/

/* SUBJECT SPECIALIST ROSTER SUB TITLES  ||||||||||||||||||||||||||||||||||*/
.subject-specialist-desc {
	border-radius: 1rem;
	margin-bottom: 1.25em;
	display: inline-block;
	padding: 0 4px;
}
.subject-specialist-desc h3,
.subject-specialist-desc div {
	line-height: 145%;
	color: var(--color-blue-dark);
	margin: 0;
	font-size: calc(1.2rem + 0.5vmin);
	font-family: "greycliff_light";
}
.ask-librarian {
	padding: 4px 16px 5px;
	background: var(--color-gold);
	border-radius: 1.5rem;
	font-size: calc(1rem + 0.5vmin);
	text-decoration: none;
	margin: 0 4px;
	color: var(--color-blue-dark);
	font-family: "greycliff_semibold";
	cursor: pointer;
}
.ask-librarian:hover {
	background: var(--color-blue-light);
	color: white;
}

.ask-librarian-block h3 {
	display: inline;
}


/* FILTER TAGS ||||||||||||||||||||||||||||||||||*/
.filter-title {
/*	margin: 1rem 0 0; */
	border-top: 2px solid var(--color-gold); 
	padding: 16px 0 16px 4px;
}
.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);
}


/* SPECIALTIES CARDS ||||||||||||||||||||||||||||||||||*/
.white-shadow {
	margin-bottom: 1.5rem !important;
}

.subject-card {
	padding: 16px 28px;
	display: block;
	width: 100%;
	position: relative;
}


/* SPECIALTIES CARDS CARDS TEXT ||||||||||||||||||||||||||||||||||*/
.subject-card h5 {
    font-weight: bold;
}
.subject-card h3 {
    margin-bottom: 0;
}


/* SUBJECT CARDS ICONS ||||||||||||||||||||||||||||||||||*/
.subject-card .linea-svg {
    display: inline-block;
    vertical-align: top;
    margin-right: 1rem;
	width: 1rem;
    margin-top: 3px
}

.subject-card .linea-svg-inner {
    margin-right: 0;
    padding-right: 0;
    margin-left: 0;
    padding-left: 0;
}


/* SUBJECT LIBRARIAN ||||||||||||||||||||||||||||||||||*/
.subject-librarian-position {
	position: absolute;
	top: 16px;
	right: 26px;
	width: 26px;
}

/* SUBJECT LIBRARIAN INFO ||||||||||||||||||||||||||||||||||*/
.info-block {
	display: grid;
	grid-template-columns: auto 300px;
	width: 100%;
	position: relative;
	padding: 6px 0 0 0;
}
.librarian-info-block {
	display: grid;
	grid-template-columns: 70px auto;
	grid-gap: 12px;
	width: 100%;
	position: relative;
	margin: 8px 0 0 0;
	border-right: 1px solid var(--color-gray-light);
}
/* PHOTO BLOCK ||||||||||||||||||||||||||||||||||*/
.subject-photo-block {
    display: block;
    width: 70px;
	height: 100%;
	text-align: center;
}
.staff-img-center {
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.subject-photo-block img {
	width: 70px;
	height: 70px;
	border-radius: 50%;	
	object-fit: cover;
}

.staff-pronouns-desktop {
	text-align: center;
	font-size: 1.1rem;
	color: var(--color-blue-dark);
}
/* LIBRARIAN & COLLEGE INFO ||||||||||||||||||||||||||||||||||*/
.librarian-college {
	height: 100%;
    display: flex;
	flex-direction: column;
    justify-content: center;
}

/* MEMBER BLOCK ||||||||||||||||||||||||||||||||||*/
.subject-member-block {
    display: inline-block;
    margin: auto 0;	
	width: 100%;
}

/* SUBJECT NAME BLOCK ||||||||||||||||||||||||||||||||||*/
.subject-name-block {
    display: block;
    margin-bottom: 0;
    width: 100%;
}
.subject-name-element {
	margin: 0 !important;
	line-height: 2rem !important;
}
/* subject */
.subject {
	font-size: calc(1.8rem + 0.125vw);
	padding: 0 0 6px;
	border-bottom: 2px solid var(--color-gold-pale);
}
.subject a {
	padding: 0 0 4px 0;
	border-bottom: 2px solid var(--color-gold);
}
.subject a:hover {
	border-bottom: 2px solid var(--color-blue-light);
	text-decoration: none !important;
	color: var(--color-blue-light);
}
a.subject-links {
	text-decoration: none; 	
}
a.subject-links:hover {
	text-decoration: underline;
}
/* librarian and college */
.librarian.subject-name-element,
.college.subject-name-element, p.college.subject-name-element, .college.subject-name-element a {
/*	font-size: calc(1.2rem + 0.125vw);*/
	font-size: 0.95em !important;
/*	font-size: 95%;*/
}
.college {
	padding: 4px 12px 0 0;
	line-height: 1.5 !important;
}
.college-link {
	font-family: "greycliff_light","Open Sans",Arial,sans-serif;
	color: black; 
}
.librarian-link {
	color: black; 
}

/* SUBJECT CONTACT BLOCK ||||||||||||||||||||||||||||||||||*/
.subject-contact-block {
	height: 100%;
    display: grid;
    justify-content: end;
}
.subject-contact-element {
	display: inline-block;
	padding: 12px 8px 0 0; 
	float: right;
}
.o-p-block .subject-contact-element {
	float: none;
}

/* phone */
.subject-contact-element-data{
	display: inline-block;
	cursor: default;
	font-size: calc(01.2rem + 0.125vw);
	margin-top: 4px;
}
.librarian-phone {
	padding-top: 6px;	
}
.staff-orcid {
	padding-top: 4px;	
}
.phone {
	border-radius: 1.5rem;
	line-height: 100%;
	padding: 0 1.2rem 0 0;
	text-align: end;
	order: 1;
}

.orcid-logo {
	max-width: 22px;
	height: 22px !important;
	vertical-align: middle !important;
}

.o-p-block {
	display: flex;
	justify-content: flex-end;	
}

.r-e-btn {
	order:2;
}
/* contact buttons */
.rbtn {
	padding: 12px 0 0 0 !important;
}
.recommend-btn {
	background: linear-gradient(var(--color-blue-med),#00539a);
    color: #fff;
    display: table;
    margin: 0 auto;
    text-align: center;
    text-decoration: none;
	padding: 0.15rem 1.2rem 0.15rem;
    font-size: 1.375rem;
	font-size: calc(0.9rem + 0.125vw);
    line-height: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 2px 1rem rgba(0,0,0,.2);
    font-family: "greycliff_semibold";
    cursor: pointer;
    border: 0;
}
.recommend-btn:hover {
	background: var(--color-blue-light);
}


/* 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
}

.subject-filter-mobile {
    display: inline-block;
    max-width: 27rem;
    max-width: 28%;
    width: 100%;
    padding: 0;
    margin: 0;
    padding-right: 3.75rem
}

.subject-filter-mobile ul,
.subject-filter-mobile .xoxo {
    margin: 0;
    list-style: none;
    font-size: 1.375rem;
    font-family: "greycliff_semibold";
    letter-spacing: -.025vmax;
    line-height: 1.5rem;
    position: relative
}

/* FILTER FORM ||||||||||||||||||||||||||||||||||*/
.subject-filter-form {
    font-size: 1.375rem;
}

.subject-filter-form h2 {
	text-align: center;
	font-size: calc(1rem + 1.375vmin);
	margin: 0 0 16px;
}

.subject-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
}

.subject-filter-form fieldset .inline {
    display: table;
    width: 100%
}

.subject-filter-form fieldset .inline.fixed {
    table-layout: fixed
}

.subject-filter-form fieldset .inline div {
    font-size: 1.25rem;
	padding: 0 0 8px;
}

.subject-filter-form fieldset .inline div label {
/*    margin-bottom: 2.5px*/
}

.subject-filter-form p.button-add {
    margin-top: 0.5rem;
    padding: 0 0.5rem;
    text-align: right
}

.subject-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;
}

.subject-filter-form input[type="checkbox"],
.subject-filter-form select,
.subject-filter-form select option {
    cursor: pointer;
}

.subject-filter-form input[type="text"],
.subject-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
}
.subject-filter-form textarea {
    height: auto
}

.subject-filter-submit-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
}

.subject-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 (min-width: 1630px) {
	.college.subject-name-element {
		font-size: 16.4px;
	}
}

@media screen and (max-width: 1024px) {
	/* filter mobile */
	aside.subject-filter-mobile {
		display: block !important;
		float: none !important;
		box-sizing: content-box !important;
	}
	.subject-filter-mobile {
		display: inline-block;
		max-width: 27rem;
		max-width: 100%;
		width: 100%;
		padding: 0;
		margin: 0;
		padding-right: 3.75rem
	}
	/* sidebar */
	.has-sidebar-staff {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        display: block
    }
}

@media screen and (max-width: 700px){
	/* card */
	.subject-card {
		padding: 2rem;
	}
	.subject {
		padding: 0 0 12px;
		border-bottom: none;
		line-height: 150% !important;
	}
	.subject a {
		border-bottom: 2px solid var(--color-gold);
	}
	.info-block {
		grid-template-columns: auto;
		padding: 0;
	}
	.librarian-info-block {
		grid-template-columns: auto auto;
		grid-gap: 12px;
		width: 100%;
		position: relative;
		border-right: none;
		padding-bottom: 20px;
		border-bottom: 1px solid var(--color-gray-light);
	}
	/* photo block */
	.subject-photo-block {
		margin: auto 0 auto auto;
	}
	/* name */
	.subject-name-element {
		text-align: center;
	}
	.librarian, .college {
		text-align: start;
	}
	/* contact */
	.subject-contact-block {
		display: block;
		vertical-align: top;
		margin: 0 !important;
		text-align: center;	
		padding: 8px 0 0 0;
	}
	.subject-contact-element {
		padding: 12px 4px 0 !important; 
		float: none;
	}
	/* phone */
	.subject-contact-element-data{
		display: inline-block;
		cursor: default;
		font-size: calc(01.2rem + 0.125vw);
		margin-top: 4px;
	}
	.librarian-phone {
		padding-top: 6px;
	}
	.orcid-logo {
		max-width: 22px;
		height: 22px !important;
	}
	.staff-orcid {
		max-width: 46px !important;
		padding-left: 20px !important;
	}
	.phone {
		margin-left: 0;
		padding: 0;
	}
	
	.o-p-block {
		display: flex;
		justify-content: center;
		align-items: center;
		flex-wrap: wrap;
	}

	/* contact buttons */
	.r-e-btn {
		display: inline-block
	}
	.rbtn {
		padding: 12px 4px 0 !important; 
		order: 1;
	}
	.ebtn {
		order: 2;
	}
	.recommend-btn {
		font-size: calc(1.1rem + 0.125vw);
		padding: 0.15rem 1.2rem 0.25rem;
	}
}

@media screen and (max-width: 640px){
	/* sub title */
	.subject-subtitle-container {
		height: 60px !important;
	}
	.subject-subtitle-child {
		width: 100%;
	} 
	.subject-subtitle-child2 {
		width: 100%;
	}  
	.subject-sub-specialist-title { 
		float: left;
	}
	/* filter */
	.subject-filter-form h2 {
		font-size: 2rem !important;
	}
	
	/* filter tags */
	.filter-tag {
		margin-bottom: 4px;
	}
	.filter-h3 {
		display: block !important; 
		margin: 0 0 12px !important;
	}
}

@media screen and (max-width: 240px) {
	.staff-orcid {
		padding-right: 20px !important;
	}
}