
#agt-search-container #cc-header-wrapper, #ofc-search-container #cc-header-wrapper {
	margin-bottom: 5px;	
}

#agt-name-search-container{
	margin-top: 30px;
	margin-bottom: 30px;
}

#select-agent-modal #agt-results-container {
	max-height: 400px;
    overflow-y: scroll;
}

#agt-ofc-search-results{
	margin-top: 15px;
	width: 100%;
	min-height: 200px;
}

#agt-results-container{
	background-color: #fff;
	background-color: #e1e1e1;  /*shows between agts*/
	padding: 0;
}

.office-name-header{
	text-align: center;
	color: #777;
	margin: 0;
	padding: 0 0 20px 0;
}

.agt-container{
	background-color: #fff;
	margin: 2px 0 0 0;
	padding: 12px 15px 18px 15px;
	overflow: hidden;
	position: relative;
	font-size: .93rem;
}

.agt-container .image-block{
	width: 120px;
	float: left;
}

.agt-container .image-block .agt-image{
	width: 100%;
	display: block;
	overflow: hidden;
	/*text-align: center;*/
	border-radius: 8px;
	margin: 2px 0 12px 0;
	position: relative;
	cursor: pointer;
}

.agt-container .image-block .agt-image.no-click {
	cursor: default;
}

.agt-container .image-block .agt-image img{
	min-height: 100px;
	max-height: 150px; 
	position: relative;
	left: 50%;
	transform: translateX(-50%);
}

.agt-container .image-block .agt-image.ofc-image img{
	max-height: 120px;
    width: 100%;
    height: auto;
    min-height: auto;
    left: auto;
    transform: none; 
}
.no-csstransforms .agt-container .image-block .agt-image img{
	left: auto;
}

.agt-container .data-block{
	margin-left: 155px;
}

.agt-container .agt-header{
	margin: 0 0 0 0;
	font-size: 1.05rem;
	line-height: 1.25rem;
	margin: 6px 15px 0 0;
	display: block;
	color: #279dee; /*#8597a5;*/
	/*<strong style="color: #8597a5; letter-spacing: 1px; font-size: 14pt; padding: 12;">*/
}


.agt-container .data-fields{
	position: relative;
}

.agt-container table{
	margin: 7px 0 0 0;
}

.agt-container .responsive-table-wrapper table{
	width: 100%;
}

.agt-container td{
	white-space: nowrap;
	padding: 0 15px 0 0;
	vertical-align: top;
	text-align: left;
}
/***/

.agt-container td.temp-cell{
	visibility: hidden;
}

.agt-container table.multi-line td{
	color: #717171;
	white-space: normal;
}

.agt-container table.multi-line td.agt-label{
	white-space: nowrap;
	color: #8597a5;
}

.showing-all-details table.multi-line td {
    display: block;
}

.showing-all-details table.multi-line td.agt-label {
    margin: 5px 0 0 0;
    text-decoration: underline;
}

.showing-all-details table.multi-line tr:first-child td.agt-label {
    margin-top: 0;
}

.showing-all-details table.multi-line tr:last-child td:last-child{
    margin-bottom: 10px;
}

.agt-container td.agt-label{
	padding: 0 10px 0 0;
	color: #8597a5;
	width: 120px;
}


/** details modal content **/

.agt-ofc-detail-container{
	padding: 15px 25px;
	overflow: hidden;
}
.agt-ofc-detail-container h6{
    font-size: 1.3rem;
    color: #777;
}

.agt-ofc-detail-container img.agt-image{
	height: 200px;
	max-width: 100%;
	border-radius: 10px;
	margin-bottom: 10px;
}

.agt-ofc-detail-container img.ofc-image{
	height: 150px;
	max-width: 100%;
	border-radius: 10px;
	margin-bottom: 10px;
}

.agt-ofc-detail-container table{
	margin: 10px 0;
}

.agt-ofc-detail-container td{
	white-space: nowrap;
	padding: 0 15px 0 0;
	vertical-align: top;
	text-align: left;
}

.agt-ofc-detail-container td.ofc-label{
	padding: 0 10px 0 0;
	color: #8597a5;
}