/* Start -- Patient care acordions figures would hang over when using smaller text than picture height -- Start */
.accordion .accordContent:after {
    content: '';
    display: block;
    clear: both;
}
/* End -- Patient care acordions figures would hang over when using smaller text than picture height -- End */

main.standard-page section {
    margin-bottom: 1.5em !important;
}


/* Images with captions */
figure.image {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 200px;
} 

figure.image:after {
    content: '';
    display: block;
    clear: both;
}

figure figcaption {
    text-align: center;
}
/* END - Images with captions */

.contact-items div.guts {
    min-height: 75px;
}

.contact-items div.col-lg-4.contact div.guts {
    padding: .1em;
}

.contact-items div.guts h4 a {
    font-weight: normal !important;
    text-decoration: normal !important;
}

#followSocial a.icon.twitter {
	margin-bottom: 0rem !important;
}

/* start -- cheif residents headshots */
div.headshotSidebar {
    max-width: 150px;
    float: right;
    padding: 0em 1em;
}

 @media only screen and (min-width:768px) {
    div.headshotSidebar {
        max-width: 225px;
    }
 }

div.headshotSidebar > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: .5em 0;
    text-align: center;
}

div.headshotSidebar > div:first-of-type {
    padding-top: 0;
}
/* end -- cheif residents headshots */

div.gallery-items, div.fellow-items {
    margin-right: -15px;
    margin-left: -15px;   
}

div#galleryItemModal div.inner-body {
    justify-content: center !important;
    display: flex !important;
}

div#galleryItemModal div.modal-xl {
    max-width: 1000px !important;
}

div#galleryItemModal div.modal-dialog .modal-footer {
    border-top: none;
}

 div#galleryItemModal div.modal-dialog .modal-header {
	 border-bottom: none;
}

div.gallery-items .card:hover {
    border: 1.25px solid rgba(0,0,0,.325);
    cursor: pointer;
}

div.gallery-items .card .modalGuts {
    display: none;
}

div.fellow-items > div.fellow-item {
    margin-bottom: 1em;
    display: flex;
}

div.fellow-items > div.fellow-item > div.inner-fellow-item {
    padding: 1em;
    background: #f0f0f0;
    display: flex;
    flex: 1;
    flex-direction: column;
}

div.fellow-items > div.fellow-item > div.inner-fellow-item > div.fellowImageContainer {
    padding: 1em;
    display: flex;
    justify-content: center;
}

div.fellow-items > div.fellow-item > div.inner-fellow-item h5 {
    font-family: Calibri,"Helvetica Neue",Helvetica,Arial,sans-serif;
    color: #54585a;
    font-weight: 600;
}

ul#publicationsList {
    margin-left: 0;
    padding-left: 0;
}

ul#publicationsList > li {
    background: none;
    padding-left: 0;
}

ul#publicationsList > li div.supp {
    margin-bottom: 1em;
}

ul#publicationsList > li p {
    padding-bottom: 0;
    margin-bottom: 0;
}

ul#publicationsList > li div.supp p {
    font-size: .8em;
}

ul.fellowProfiles > li {
    background: none !important;
}

div.blockWrapper {
    margin-bottom: 1em;
}

div.resident-row .residentProfile {
	 display: table-cell;
	/* Make elements inside the container behave like table cells */
	 padding-bottom: 1em;
	 padding-left: .5em;
	 padding-right: .5em;
	 display: flex;
}

div.resident-row .residentProfile .residentProfileInner {
	 background: #f0f0f0;
	 flex: 1;
	 padding: 1em;
	 display: flex;
	 /*justify-content: center;*/
	 flex-direction: column;
	 text-align: center;
}

div.resident-row .residentProfile .residentProfileInner .resImageContainer {
    display: flex;
    justify-content: center;
}

div.resident-row .residentProfile .residentProfileInner .resImageContainer  img {
    margin-bottom: 1em;
    max-width: 180px;
}

div.resident-row .residentProfile .residentProfileInner h6 {
    font-weight: bold;
    font-size: 19px;
}

div.resident-row .residentProfile section.resModalContent {
    display: none;
}

/*@media only screen and (min-width: 876px) {*/
/*	 div.resident-row .residentProfile:nth-child(3n+1) {*/
/*		 padding-left: 0;*/
/*	}*/
/*}*/

/* Faculty Slider */
 .content #slickProfiles ul>li, .content-full #slickProfiles ul>li{
	list-style: none;
	padding: 0 0 1.5em .7em;
	text-indent: -.7em;
	line-height: 1.1em;
	background: none;
}
/* slick slider dots */
 #slickProfiles ul.slick-dots {
	padding:0;
	 bottom: initial;
}
 #slickProfiles ul.slick-dots li {
	padding:0;
	background: none;
}
 #slickProfiles ul.slick-dots li:before {
	content: initial;
}
 #slickProfiles {
	width: 91%;
	margin: 0 auto;
}
 #slickProfiles .alternate-photo-float {
	margin-bottom: 0;
}
 #slickProfiles .slick-prev, #slickProfiles .slick-next {
	-webkit-transform: translate(0, -85%);
	-ms-transform: translate(0, -85%);
	transform: translate(0, -85%);
}
 #slickProfiles .slick-dots li button::before {
	 font-size: 16px;
}
 #slickProfiles a.button {
	color: #fff;
	 float:right;
	 min-width: initial;
}
 #slickProfiles .slickProfile .profile-name {
	margin-bottom: .5em;
	 font-size: 2em;
	font-family: "Open Sans";
	color: #4e2a84;
	 text-align: center;
}
 #slickProfiles .slickProfile .profile-name a{
	font-family: "Open Sans";
	font-weight: 400;
}
 #slickProfiles .slickProfile .profile-image img {
	width: 140px;
	 margin: 0 auto;
}
 #slickProfiles .slickProfile .profile-text {
	font-family: Calibri,Helvetica,Arial,sans-serif;
	 line-height: 1.5em;
	 margin: 1em;
}
 #slickProfiles .slickProfile .profile-text p{
	margin-top:0
}
 #slickProfiles .slickProfile .profile-text p.rankDept {
	text-transform: uppercase;
	 font-family: 'Open Sans',Calibri,Helvetica,Arial,sans-serif;
}
 .media-slider.gray {
	width: 75%;
	margin: 0 auto 4em auto;
}
 .media-slider.gray .alternate-photo-float h4{
	border: none;
	 color: #4e2a84;
	 font-size: 1.8rem;
}
 .slick-dots li button::before {
	font-size: 16px;
	font-weight: 900;
}
/* Desktop Layout: 768px to a max of 999px. Inherits styles from: Mobile Layout and Tablet Layout. */
 @media only screen and (min-width:768px) {
	 #slickProfiles .slickProfile .profile-image {
		float: left;
		font-size: 1em;
		 margin-left: 1em;
		 margin-right: 1em;
	}
	 #slickProfiles .slickProfile .profile-image img {
		margin-top: 5px
	}
	 #slickProfiles .slickProfile .profile-text {
		margin-right: 1em;
	}
	 #slickProfiles .slick-prev, #slickProfiles .slick-next {
		top: 50%;
		display: block;
		height: 100%;
		width: 4%;
		-webkit-transform: translate(0, -50%);
		-ms-transform: translate(0, -50%);
		transform: translate(0, -50%);
	}
	 #slickProfiles .slick-prev{
		left: -4%;
	}
	 #slickProfiles .slick-next {
		right: -4%;
	}
}
 @media only screen and (min-width:992px) {
	 #slickProfiles .slickProfile .profile-name {
		margin: 1em 1.5em;
		 text-align:initial;
	}
	 #slickProfiles .slickProfile .profile-image {
		width: 165px;
		 font-size: 2em;
		 margin: 0 1em .5em 1.5em;
	}
	 #slickProfiles .slickProfile .profile-image img {
		width: 100%;
		 margin-top: 5px
	}
	 #slickProfiles .slickProfile .profile-text {
		margin: 0 1.5em 0 3em;
	}
	 #slickProfiles .slick-dots li button::before {
		font-size: 6px;
	}
	 #slickProfiles {
		background: #efefef;
	}
	 #slickProfiles .slick-prev, #slickProfiles .slick-next {
		background: #d4d5d6;
	}
	 #slickProfiles .slick-prev:before, #slickProfiles .slick-next:before {
		color: #4e2a84;
		display: block;
	}
	 .media-slider.gray {
		background: #efefef;
		padding: 0;
	}
	 .media-slider.gray .slick-prev, .media-slider.gray .slick-next {
		width: 5%;
		background: #d4d5d6;
		height: 100%;
		top: 50%;
	}
	 .media-slider.gray .slick-prev {
		left: -5%;
	}
	 .media-slider.gray .slick-next {
		right: -5%;
	}
	 .media-slider.gray .alternate-photo-float .row .col-lg-6 {
		margin-bottom: 0;
		padding-left: 0
	}
	 .media-slider.gray .text {
		padding: 1em 2em 0 0;
	}
}
