.tl-about-us-wrapper {
	margin-top: 50px;
	padding-left: 160px;
	padding-right: 25px;
}
.post-type-archive-tl-about-us .fas {
	margin-left: 0px;
}

.tl-about-us-results-section {
	display: flex;
}
.tl-two-thirds {
	width: 805px;
}
.tl-one-third {
	width: 35%;
}
#tl-contact-individual {
	text-transform: capitalize;
}

#tl-about-us-results {
	padding: 25px;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	list-style: none;
    margin-left: 0px;
    margin-top: 50px;
    border-bottom: 1px solid #ccc;
    grid-column-gap: 25px;
    grid-row-gap: 25px;
    background-color: #edeeef;
}
.tl-about-us-item {
	background-color: white;
	width: 170px;
	height: 285px;
	position: relative;
}
#tl-contact-us-modal {
    display: block;
    max-width: 600px;
    background-color: white;
    position: relative;
    padding: 10px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    top: 4%;
    padding: 25px;
    z-index: 1100;
}
#tl-contact-us-submit {
	margin-right: 5px;
}
#tl-contact-phone, #tl-contact-email  {
	width: 75%;
	margin-bottom: 15px;
}
.tl-contact-us-header-label h4 {
	margin-bottom: 8px;
}
.tl-contact-us-note {
	margin-bottom: 20px;
}
.tl-contact-recaptcha-wrapper {
	margin-bottom: 15px;
}
.tl-contact-upper {
	margin-top: 20px;
}
#tl-contact-title {
	font-size: 2rem;
    border-bottom: 1px solid gray;
    padding-bottom: 10px;
}
.tl-form-group {
	display: flex;
}
.tl-contact-first-name, .tl-contact-last-name {
	width: 50%;
    margin-right: 7%;
}
#tl-contact-firstn, #tl-contact-lastn {
	width: 100%;
}
#tl-contact-us-message-box {
	display: none;
	padding: 25px;
    background-color: lightgray;
    margin-bottom: 15px;
}

#tl-contact-us-close {
    background-color: black;
    position: absolute;
    color: white;
    right: -18px;
    top: -17px;
    font-size: 35px;
    height: 36px;
    width: 36px;
    border-radius: 25px;
    padding: 12px;
}
.tl-contact-us-button {
	display: inline-flex;
}
#tl-contact-us-loading {
	margin-top: 7px;
	display: none;
}
.tl-animate-spin {
    -animation: spin .7s infinite linear;
    -webkit-animation: spin2 .7s infinite linear;
}
@media(max-width: 1200px) {
	.tl-one-third {
		display: none;
	}

	.tl-about-us-wrapper {
		margin-top: 50px;
	    padding-left: 25px;
	    padding-right: 25px;
	}

	.tl-two-thirds {
    	width: 805px;
    	margin-left: auto;
    	margin-right: auto;
	}
}

@media(max-width: 865px) {
	.tl-two-thirds {
		width: 609px;
	    margin-left: auto;
	    margin-right: auto;
	}
	#tl-about-us-results {
		grid-template-columns: 1fr 1fr 1fr;
	}
	#tl-contact-us-modal {
    	top: 4%;
	}
}

@media(max-width: 715px) {
	#tl-contact-us-modal {
    	display: block;
    	max-width: 489px;
	}
}

@media(max-width: 674px) {

	#tl-about-us-results {
		grid-template-columns: 1fr 1fr;
	}
	
}

@media(max-width: 643px) {
	.tl-two-thirds {
	    width: 416px;
	    margin-left: auto;
	    margin-right: auto;
	}
}

@media(max-width: 550px) {
	#tl-contact-us-modal {
    	display: block;
    	max-width: 389px;
    	top: 4%;
	}
	#tl-contact-individual {
		font-size: 1.3rem;
	}
	.tl-primary-text {
		font-size: 1.5rem;
	}
}

@media(max-width: 480px) {

	#tl-about-us-results {
		grid-template-columns: 1fr;
	}
	.tl-two-thirds { 
	    width: 221px;
	    margin-left: auto;
	    margin-right: auto;
	}
}
@media(max-width: 450px) {
	#tl-contact-us-modal {
    	display: block;
    	width: 258px;
    	top: 6%;
    	max-height: 550px;
    	overflow: scroll;
	}
	.tl-contact-recaptcha-wrapper{
		overflow: hidden;
    	border: 1px solid #e7e4e4;
	}
	.tl-form-group {
		display: block;
	}
	.tl-contact-first-name, .tl-contact-last-name, #tl-contact-phone, #tl-contact-email {
		width: 100%;
	}
	#tl-contact-us-close {
    	right: 2px;
	    top: 2px;
	}
	#tl-contact-title {
		margin-top: 25px;
	}

}

@-webkit-keyframes spin2 {
    from { -webkit-transform: rotate(0deg);}
    to { -webkit-transform: rotate(360deg);}
}

@keyframes spin {
    from { transform: scale(1) rotate(0deg);}
    to { transform: scale(1) rotate(360deg);}
}

#tl-contact-us-close i {
    position: absolute;
    top: 0px;
    right: 0px;
}

#tl-contact-us-lightbox {
	display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(https://www.townlively.com/wp-content/uploads/2021/04/overlay-2.png) repeat;
    text-align: center;
    z-index: 1050;
}

.tl-about-firstn {
	font-size: 1rem;
	font-weight: 600;
    margin-top: 10px;
    text-align: center;
    text-transform: uppercase;
    padding-bottom: 2px;
}
.tl-about-us-contact-wrapper {
	position: absolute;
    bottom: 0px;
    width: 100%;
    margin-left: 0px;
    background-color: #909091;
}
.tl-about-us-contact-wrapper li a i {
	color: white !important;
}
.tl-about-us-contact-wrapper li {
	width: 16px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.post-type-archive-tl-about-us .footer-advertisment {
	display: none;
}
.tl-about-position {
	font-size: 1rem;
	font-weight: 600;
    margin-top: -4px;
    text-align: center;
    text-transform: uppercase;
    padding-bottom: 2px;
}
.tl-about-lastn {
	font-weight: 900;
	font-size: 1.8rem;
	text-transform: uppercase;
	text-align: center;
	padding-bottom: 2px;
	margin-top: -4px;
}
.tl-about-us-contact-wrapper {
	display: flex;
    list-style: none;
    text-align: center;
}

.tl-about-mask {
	max-height: 186px;
    overflow: hidden;
}
.tl-about-mask img {
	min-height: 186px;
}
.tl-about-us-hero-image {
	margin-bottom: 50px;
}