/* Our Team People */
:root {
    --font-default: 'Roboto', sans-serif;
    --font-title: 'Source Sans Pro', san-serif;
    --font-barlow: 'Barlow Semi Condensed', sans-serif;
    --font-script: 'Southland';
    --font-size-default: 14px;
    --font-size-title: 18px;
    --font-color-default: #000000;
    --font-color-title: #1b1b1b;
    --primary: #e51937;
    --secondary: #1b1b1b;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #343a40;
}
.section-title {
    display: inline-flex;
    flex-flow: column wrap;
    position: relative;
}

.section-title em {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-barlow);
    font-weight: 700;
    font-size: 17.65px;
    letter-spacing: 0.01em;
    line-height: 1;
    color: var(--secondary);
    font-style: normal;
}

.section-title em:after {
    content: '';
    position: relative;
    width: 38px;
    height: 5px;
    background: var(--primary);
    margin-left: 10px;
}

.section-title strong {
    display: block;
    font-family: var(--font-barlow);
    font-weight: 600;
    font-size: 90px;
    letter-spacing: -0.025em;
    line-height: 1;
    color: var(--secondary);
    width: 100%;
    text-transform: uppercase;
    margin: -6px 0 0 -5px;
}

.section-title span {
    display: inline-block;
    margin-left: auto;
    font-family: var(--font-script);
    color: var(--primary);
    font-size: 95px;
    line-height: 1;
}

.section-title .line {
    position: absolute;
    top: 0;
    right: 100%;
    bottom: 0;
    margin: auto;
    width: 100vw;
    height: 4px;
    background: #d7d7d7;
}
.custom-ip-breadcrumbs {
    background: rgba(121, 121, 121, .66);
    position: relative;
    z-index: 2;
}

#inner-page-wrapper {
	margin-bottom: 0;
}

#inner-page-wrapper > .container {
	width: 100%;
	padding: 0;
}

#ip-about-us {
	position: relative;
	margin: -32px -30px 0;
	background: url(../images/our-team/bg-about-big.jpg) center top/100% repeat-y;
	z-index: 1;
	padding: 32px 30px 120px;
}
	#ip-about-us:before {
		content: '';
		position: absolute;
		top: 32px;
		left: 0;
		right: 0;
		bottom: 0;
		background: #f2f2f2;
		opacity: 0.85;
		z-index: -1;
	}
	#content .entry-custom-title {
	    /* background: #fff; */
	    padding: 46px 120px 0 104px;
	}
	    #content .entry-custom-title span {
	        margin-top: -0.28em;
	        transform: translateX(0);
	    }
	        #content .entry-custom-title span:before {
	            margin-right: 32px;
	        }

	.ip-about-text {
	    padding: 24px 0 66px;
	}
	    #content .ip-about-text p {
	        font-weight: 300;
	        font-size: 15px;
	        line-height: 30px;
	        color: #666666;
	    }

	.ip-about-list-wrap {
		position: relative;
	}
		.ip-about-row {
		    position: relative;
		    margin-bottom: 148px;
		}
		.ip-about-row > .container {
			position: relative;
		}
			.title-on-right .ip-about-title {
				right: 0;
			}
			.title-on-left .ip-about-title {
				left: 0;
			}

			.ip-about-title {
			    position: absolute;
			    width: 25%;
			    text-align: center;
			    top: 167px;
			}
			    .ip-about-title .section-title {
			        text-align: left;
			        width: 100%;
			    }
			        .ip-about-title .section-title strong {
			            font-size: 100px;
			            font-weight: 600!important;
			            position: relative;
			        }
				        .ip-about-title .section-title strong:before {
						    content: '';
						    position: absolute;
						    top: 0;
						    left: 10px;
						    width: 32px;
						    height: 4px;
						    background: var(--primary);
						}
						.ip-about-title .section-title.has-line strong:after {
						    content: '';
						    position: absolute;
						    top: 30px;
						    bottom: 0;
						    margin: auto;
						    width: 100px;
						    height: 4px;
						    background: #c7c7c7;
						    left: 185px;
						}
			        .ip-about-title .section-title span {
			            font-size: 75px;
			            margin-left: 114px;
			            margin-top: -17px;
			            position: relative;
			        }
			.ip-about-list {
			    display: flex;
			    flex-flow: row wrap;
			    align-items: flex-start;
			    margin: 0 -13px;
			}
            .title-on-right .ip-about-agent:only-of-type {
                margin-right: 25%;
            }
            .title-on-right .ip-about-agent:nth-of-type(2):nth-last-of-type(1) {
                margin-right: 25%;
            }
			.title-on-right .ip-about-agent:nth-child(3) {
				margin-right: 25%;
			}
            /* .title-on-left .ip-about-agent:only-of-type {
                margin-left: 25%;
            }
            .title-on-left .ip-about-agent:nth-of-type(2):nth-last-of-type(1) {
                margin-left: 25%;
            } */
			.title-on-left .ip-about-agent:nth-child(1) {
				margin-left: 25%;
			}
			.ip-about-agent {
			    padding: 13px;
			    width: 25%;
			}

			/* .brokers-row .ip-about-agent{
				width: 30%;
			} */

			/* .brokers-row .ip-about-title{
				width: 40%;
			} */

			.pup-row .ip-about-title{
				width: 30%;
			}

			.staffs-row .ip-about-list {
			    align-items: flex-end;
			    justify-content: flex-end;
			}

			/*.staffs-row.title-on-right .ip-about-agent:nth-child(1){
				margin-right: 25%;
			}*/

			.pup-row.title-on-left .ip-about-agent:nth-child(1){
				margin-left: 35%;
			}

				.ip-about-agent a {
				    display: block;
				    position: relative;
				    overflow: hidden;
				}
				.ip-about-agent-img {
				    position: relative;
				}
					.ip-about-agent-img canvas {
					    display: block;
					    width: 100%;
					    background-position: center;
					    background-size: cover;
					}
				.ip-about-agent-hover {
				    position: absolute;
				    bottom: 21px;
				    left: 20px;
				    right: 20px;
				    background: var(--primary);
				    display: flex;
				    justify-content: center;
				    align-items: center;
				    height: 69px;
				    font-weight: 300;
				    font-family: var(--font-barlow);
				    line-height: 1.2;
				    font-size: 20px;
				    color: #fff;
				    text-transform: uppercase;
				    text-align: center;
				    opacity: 0;
				    transition: all .3s ease;
				}
				    .ip-about-agent-hover:before {
				        content: '';
				        top: 0;
				        bottom: 0;
				        width: 100%;
				        position: absolute;
				        height: 1px;
				        background: #fff;
				        margin: auto;
				        left: 100%;
				        margin-left: -30px;
				    }
				    .ip-about-agent a:hover .ip-about-agent-hover {
				        opacity: 1;
				    }

				.ip-about-agent-details {
				    text-align: center;
				    padding: 23px 0 0;
				}
					.ip-about-agent-name {
					    font-family: var(--font-title);
					    font-size: 26px;
					    /*letter-spacing: -0.025em;*/
					    line-height: 1;
					    text-transform: uppercase;
					    color: #1b1b1b;
					}
						.ip-about-agent-name span {
						    color: var(--primary);
						}

					.ip-about-agent-position {
					    /*font-family: var(--font-barlow);*/
					    font-weight: 300;
					    font-size: 18px;
					    line-height: 1;
					    /*letter-spacing: 0.115em;*/
					    color: #555555;
					    /*text-transform: uppercase;*/
					    margin: 6px 0 0;
					}

		.ip-about-row:nth-child(2) {
			margin-bottom: 159px;
		}
			.ip-about-row:nth-child(2) .ip-about-title {
			    top: 140px;
			}

		.ip-about-row:nth-child(3) {
			margin-bottom: 159px;
		}
			.ip-about-row:nth-child(3) .ip-about-title {
			    top: 140px;
			}

		.ip-about-row:nth-child(4) {
		    margin-bottom: 0;
		}
		    .ip-about-row:nth-child(4) .ip-about-title {
		        top: 147px;
		    }
		        .ip-about-row:nth-child(4) .ip-about-title .section-title strong {
		            white-space: nowrap;
		        }
		        .ip-about-row:nth-child(4) .ip-about-title .section-title span {
		            margin-left: auto;
		            margin-right: -20px;
		        }

@media only screen and (max-width: 1199px) {
	.ip-about-title .section-title strong {
		font-size: 75px;
	}
	.ip-about-title .section-title span {
	    font-size: 65px;
	    margin-left: 60px;
	}
		.ip-about-title .section-title.has-line strong:after {
		    top: 10px;
		    left: 140px;
		    width: 147px;
		}
}
@media only screen and (max-width: 991px) {
	#content .entry-custom-title {
	    /* background: #fff; */
	    padding: 46px 30px 0;
	    width: 220px;
	    margin: 0 auto;
	    display: flex;
	}
	.ip-about-row, .ip-about-row:nth-child(2) {
	    margin-bottom: 70px;
	}
	.ip-about-title {
	    position: relative;
	    top: 0!important;
	    display: flex;
	    justify-content: center;
	    width: 100%;
	}
		.ip-about-title .section-title.has-line strong:after {
			display: none;
		}
	.title-on-right .ip-about-agent:nth-child(2) {
		margin-right: 0;
	}
	.title-on-left .ip-about-agent:nth-child(1) {
	    margin-left: 0;
	}
	.ip-about-agent {
	    width: 50%;
	}

	.pup-row .ip-about-title {
	    width: 100%;
	}
}
@media only screen and (max-width: 767px) {
	.ip-about-agent {
	    width: 100%;
	    max-width: 400px;
	    margin: 0 auto!important;
	}
}
@media only screen and (max-width: 480px) {
	.ip-about-title .section-title strong {
	    font-size: 65px;
	}
}