.intranet-directory {
	margin-bottom: 20px;
	.flex-container {
		flex-wrap: wrap;
	}
	@media screen and (min-width: $bp-mobile) {
		margin-top: 30px;
	}
}

/***********************************************
Main Intranet Directory Row
***********************************************/

.intranet-directory-filter {
	.intranet-filter-column {
		// @media screen and (min-width: $bp-tablet) {
		// 	padding-top: 0;
		// }
	}
}

/***********************************************
Main Intranet Directory Row
***********************************************/

.intranet-directory-row {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	flex-wrap: wrap;
}

// deal with the fact that flex grid shows the last entry right aligned:
// .intranet-directory-row.talent {
// 	&::after {
// 		content: "";
// 		flex: auto;
// 	}
// 	& > div:last-child {
// 		margin-left: 10px;
// 	}
// }

.intranet-directory-edit-btn {
	margin-top: 10px;
}
.intranet-directory-column {
	
	width: 100%;

	@media screen and (min-width: $bp-laptop) {
		width: 49%;
	}
	@media screen and (min-width: $bp-mobile) {
		margin-bottom: 20px;
		background-color: $lighter-grey;
		display: flex;
		flex-direction: row;
	}
}
.intranet-directory-column-content {
	flex-grow: 1;
	// flex-direction: column;
	// display: flex;
	// flex-wrap: wrap;
	padding: 10px 20px;
	
}
.intranet-directory-container .intranet-directory-column-content {
	.flex-container {
		display: none;
	}
	@media screen and (min-width: $bp-mobile) {
		.flex-container {
			display: flex;
		}
	}
}
.intranet-ar-content {
	padding: 0 0 0 0 !important;
	@media screen and (min-width: $bp-mobile) {
		padding: 0 0 0 25px !important;
	}
}
.intranet-ar-column-content {
	flex-grow: 1;
	flex-direction: column;
	display: flex;
	flex-wrap: wrap;
	padding: 15px 0 15px 25px;
	@media screen and (min-width: $bp-laptop) {
		flex-wrap: nowrap;
	}
	
}
.intranet-directory-info {
	flex-grow: 1;
	padding-right: 15px;
	flex-direction: row;
	display: flex;
	a {
		text-decoration: none;
		transition: color .3s;
		color: $color-primary;

		&:hover {
			color: black;
		}
	}
	&:first-of-type {
		width: 40%;
	}
	&:nth-of-type(2) {
		width: 40%
	}
	&:last-of-type {
		padding-right: 0;
		margin: 10px 0;
		a {
			margin: 0 0 0 7px;
		}
	}
	@media screen and (max-width: $bp-laptop) {
		width: 100% !important;
		margin-bottom: 15px;
		&:last-of-type {
			justify-content: flex-start;
			a {
				margin: 0 7px 0 0;
			}
		}
	}
}
.intranet-ar-info {
	&:nth-of-type(2) {
		width: 57%; // on A&R make this wider
	}
	flex-direction: column;
	margin-top: 0;
	padding: em(10) em(20);
	a {
		color: $color-accent !important;
		span {
			font-weight: normal;
		}
	}
	@media screen and (min-width: $bp-mobile) {
		padding: 15px 15px 15px 0;
	}
}
.intranet-directory-info.intranet-ar-info {
	margin-bottom: 0;
	@media screen and (min-width: $bp-mobile) {
		margin-bottom: 15px;
	}
}
.intranet-directory-button {
	width: 25px;
	background-color: $color-background;
	background-image: url(/img/icon-play.svg);
	background-position: center;
	background-size: 8px;
	height: 100%;
	display: block;
	background-repeat: no-repeat;
	transition: background .3s;
	display: none;

	&:hover {
		background-color: $color-accent;
	}

	@media screen and (min-width: $bp-mobile) {
		display: block;
	}
}
.intranet-directory-title {
	display: flex;
	flex-direction: row;
	h2 {
		display: none;
	}
	> div {
		flex-grow: 1;
	}
	@media screen and (min-width: $bp-mobile) {
		h2 {
			margin-bottom: 10px;
			display: block;
		}
	}
}

/***********************************************
Main Intranet Directory info
***********************************************/

.intranet-directory-info-block {
	margin-top: 15px;
}
.intranet-directory-info .page-title-social-nav__item {
	width: 28px;
	height: 28px;
}
.agency-icon {
	height: 30px;
	display: block;
} 
.intranet-social-icons {
	margin-bottom: 15px;
}
.intranet-pagination a {
	line-height: 20px;
	padding: 0 5px;
}

/***********************************************
Intranet Links
***********************************************/

.intranet-contact-circle {
	margin-right: 7px;
	transition: opacity .3s;
	float: left;
	img {
		display: block;
		max-width: 25px;
		height: auto;
		max-height: 35px;
	}
	&:hover {
		opacity: 0.6;
	}
}

/***********************************************
Image
***********************************************/

.intranet-directory-column-image {
	width: 128px;
	display: none;
	flex-shrink: 0;
	// background-color: darken(#f9f9f9, 10%);
	img {
		width: 100%;
		height: auto;
		display: block;
	}
	@media screen and (min-width: $bp-mobile) {
		display: block;
	}
}


/***********************************************
Directory Details 
***********************************************/

.intranet-directory-page-tile {
	font-size: 75%;
	@media screen and (min-width: $bp-tablet) {
		font-size: 100%;
	}
}
.intranet-directory-page-tile h2 {
	margin-bottom: 0 !important;
}


.intranet-agent-contact-label {
	width: 25px;
	display: block;
	float: left;
}
.talent-details-col {
	table td {
		padding: 0 5px;
	}
	.intranet-agent-contact-label {
		width: 90px;
	}
} 
.talent-details-col > p {
	display: table-row;
	& > span {
		display: table-cell;
		padding: 2px;
	}
}
.intranet-agent-contact-number {
	width: 65%;
}

.intranet-direcory-details-container {
	@media screen and (min-width: $bp-tablet) {
		display: flex;
		flex-direction: row;
		justify-content: flex-start;
	}
}
.intranet-direcory-agent-column {
	padding: 0 15px;
	p, ul, ol {
		color: $dark-grey;
		font-size: $font-small;
		line-height: 1.5;
	}
	

	h2 {
		@extend .sub-title-color;
		font-size: em(16);
		line-height: 1.5;
		border-bottom: $border-default;
		margin-bottom: 15px;
		padding-bottom: 10px;
		padding-right: 50px;
	}
	h4 {
		color: $color-secondary;
		font-size: $font-small;
		line-height: 1.5;
	}
	a {
		color: $color-accent;
		text-decoration: none;
		transition: color .3s;
		&:hover {
			color: $color-secondary;
		}
	}

	&.photoColumn {
		width: 100%;
		@media screen and (min-width: $bp-tablet) {
			width: 185px;
			min-width: 185px;
			padding: 0px;
			img {
				width: 100%;
				height: auto;
			}
		}
		
	}
	&.detailsColumn {
		width: 250px;
		min-width: 250px;
	}
	&.rosterColumn {
		flex-grow: 2;
	}
	&.lastColumn {
		min-width: 285px;
	}


	.talentRoster,
	.litRoster,
	.unscriptedRoster {
		h2 p span {
			img {
				max-height: 12px;
				vertical-align: middle;
			}
		}
	}
	.talentRoster {
		.point_agent {
			.imageWrap {
				position: relative;
				.pointAgent {
					position: absolute;
					background: url(/images/talent_primary.png);
					height: 100%;
					width: 100%;
					background-size: 12px;
					background-position-x: left;
					background-position-y: bottom;
					background-repeat: no-repeat;
				}
			}
		}
		.intranet-talent-block-users-page {
			.intranet-talent-block-content {
				padding: 0px;
			}
			img.full-width-image {
				display: none;
			}
			@media screen and (min-width: $bp-mobile) {
				img.full-width-image {
					display: block;
				}
				.intranet-talent-block-content img {
					display: none;
				}
			}
		}
	}

	
}
.intranet-direcory-lrg-image {
	
	width: 100%;
	height: auto;
	
	@media screen and (min-width: $bp-tablet) {
		display: block;
		width: 185px;
		height: 185px;
	}
}

.intranet-direcory-details-social {
	margin: 15px 0;
	display: block;
}
.intranet-directory-roster {
	margin-bottom: 20px;
	a {
		color: $color-accent;
		text-decoration: none;
		display: block;
	}
	p {
		padding-right: 15px;
		font-size: $font-small;
	}
	.newsItem {
		margin-bottom: 5px;
	}
}
a.playing {
	&:after {
		display: none !important;
	}
	
}
.directory-audio-link {
	width: 6px;
	height: 10px;
	bottom: -1px;
	right: -5px;
	background-image: url(/secure/asset/?file=img/icon-sml-play.png);
	background-position: center;
	background-repeat: no-repeat;
	background-size: 6px;
	z-index: 2;
	margin-left: -5px;
	position: relative;
	transition: opacity .3s;
	padding: 10px;
}
.directory-audio-link.playing {
	background-image: url(/secure/asset/?file=img/icon-sml-pause.png);
}