/* 2021 New hompeage */
/* .tm = testimonial  */
/* .cg = changing text */

.home-positon {
	position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
    padding-top: 4%;
}

.hm-video-container h1{
	color: white;
	margin-bottom: 0px;
	margin-top: 75px;
	text-align: center;
	text-shadow: 4px 4px 0px #38595a9c;
}

.home-stats {
	background-color: #E9D5B5;
	width: 100%;
	height: 150px;
	margin-top: 50px;
	border: solid #38595A 4px;
	background-image: url(https://trm-web-resources.s3.us-east-2.amazonaws.com/pp_texture-min.png);
	background-size: cover;
	background-blend-mode: luminosity;
}

.top_paper {
	background-color: #E9D5B5;
    width: fit-content;
    border: solid #38595A 4px;
    background-image: url(https://trm-web-resources.s3.us-east-2.amazonaws.com/pp_texture-min.png);
    padding: 20px;
    background-size: cover;
    background-blend-mode: luminosity;
}

.home-stats .row .col-md-4, .home-stats .row .col-md-3 {
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-stats .row h2 {
    color: #3A3A3B;
    width: fit-content;
    width: -moz-fit-content;
    padding: 0px 15px 5px 0px;
    text-align: center;
    height: fit-content;
    text-transform: uppercase;
    font-size: 1.5rem;
    line-height: 2;
    font-weight: 900;
    letter-spacing: 2px;	
}

.home_button {
	width: 250px;
	text-align: left;
	border: solid 2px #e9d5b526 !important;
	transition: .76s;
	display: block;
}

.home_button:hover {
	background: #38595A;
	transform: scale(1.1);
	border: solid white !important;
}

.home_seperator {
	border-top: solid 20px #38595A;
    border-bottom: solid 20px #38595A;
    width: 100vw;
}

.w-aut, .blu {
	color: #38595A !important;
}

.arrow-pos {
	font-size: 2rem;
}

.seperator-dot {
	border-top: dotted 8px #38595A;
    width: 90%;	
    margin: 0 auto;
}

.cg_holder {
	width: 100%;
    position: relative;
    display: flex;
    justify-content: center;	
}

.gradient-about {
	background: #00000070;
    height: 100%;
    display: flex;
    position: inherit;
    transition: .76s;
}

.custom-border-product {
    margin: 25px auto !important;	
    border: solid 4px #38595A;
    border-radius: 25px;
    padding: 0px !important;
    max-width: 300px !important;
    min-height: 350px;
    display: grid;
}

.homeprodcuts {
	padding: 7.5px 5% 7.5px 5% !important;
}

.vendors-home h3 {
	font-size: 1rem !important;
	color: #3A3A3B !important;
	font-weight: 800;
}

.carousel-item .carousel-product img {
    height: max-content !important;	
}

.carousel-item h3 {
	font-size: 16px;
}

.animate__zoomIn {
	animation-duration: .76s;
}

.footer {
    width: 100vw !important;
    padding: 15px 30px 15px 20px !important;
}

.col-12 {
	box-shadow: inset #00000029 0px 0px 15px 9px;
}

.custom-border-product h2 {
	font-weight: 800;
    margin: 0 auto;
    letter-spacing: 1;
    font-size: 15px;
    padding: 10px 0px 10px 0px;
    text-align: center;
}

.home-logo {
	 width: 275px;
	 border-radius: 100%;
	 box-shadow: #00000024 0px -5px 10px 1px;
}

.custom-htwo {
	transition: .76s;
    color: #3A3A3B;
    font-size: 2.5rem !important;
    font-weight: 900 !important;
    padding-bottom: 15px;
    text-align: left;
    text-shadow: #0000003d 2px 2px 4px;
}

.carousel-item{
	justify-content: center;
    align-items: center;
    transition: none !important;
}

#Carousel .carousel-inner .carousel-item .col-md-3 {
    border: solid 4px #38595a;
    margin: 0% 2% 0% 2%;
    min-height: 350px;
    padding: 25px;
    display: grid;
    border-radius: 25px;
    transform: scale(1);
    transition: .76s;
}

.carousel-control-next, .carousel-control-prev {
	width: 10% !important;
	border: solid 4px #38595A !important;
	opacity: 1 !important;
	transition: .76s !important;
}

.carousel-control-next i, .carousel-control-prev i, .carousel-control-next:hover i, .carousel-control-prev:hover i {
	border: none !important;
	background: transparent !important;
}

.carousel-control-next:hover, .carousel-control-prev:hover, .carousel-control-prev:hover i, .carousel-control-next:hover i{
	background-color: #38595A;
	color: white !important;
	border-color: #00000047 !important;
}

.cgtxt {
	position: absolute;
	opacity: 0;
	text-shadow: 4px 4px 0px #38595a9c;
}

.lau {
	background-image: url(https://trm-web-resources.s3.us-east-2.amazonaws.com/teamm-min.jpg);
	background-size: cover;
	background-attachment: fixed;
	background-repeat: no-repeat;
	background-position: center;
	transition: .76s;
}

#map {
	position: relative;
    min-height: 400px;
    overflow: hidden;
    height: 700px;
}

#home_video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);	
}

.lau:hover .gradient-about{
	background: #00000090;
}

.lau:hover .gradient-about h2 {
	transform: scale(1.1);
}

.map-home h2, .tm_home h2, .vendors-home h2{
	transition: .76s;
	color: #3A3A3B;
	padding: 50px 0px;
	justify-content: center;
	font-size: 2.5rem;
	align-self: center;
	margin: 0 auto;
	font-weight: 900;
	text-shadow: #0000003d 2px 2px 4px;
}

.custom-border-product h2{
	font-weight: 800;
    margin: 0 auto;
    letter-spacing: 1;
    font-size: 15px;
    padding: 10px 0px 10px 0px;
    text-align: center;
}

.home-padding-left {
	padding-left: 6% !important;
}

.home-padding-right {
	padding-right: 6% !important;
}

.productResultImg {
	margin: 10px auto 0px auto !important;
    float: none;	
}

.fitImg {
    height: 10vw;
    max-width: 160px;
    border: solid 3px #38595a;
    max-height: 220px;
    width: 10vw;
    object-fit: cover;	
}

.car-width {
	width: 300px;
}

.tm-box {
    width: 300px;
    height: 300px;
	border-radius: 100%;
	border: solid #38595a 8px;
	background-color: black;
	margin: 0 auto;
	box-shadow: #00000029 0px 0px 15px 9px;
	background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    transition: .76s;
}

.tm-img-holder {
	align-items: center;
}

.tm-box:hover {
	border-radius: 25px;
}

.tm-home p{
	font-size: 1.26rem;
    line-height: 2;
    font-weight: 700;
    font-family: 'Quicksand', sans-serif;
}

.tm-home {
	transition: .76s;
}

.tm-home:nth-child(odd) {
	padding-left: 5%;
	padding-right: 5%;
}

.tm-home:nth-child(even) {
	padding-left: 5%;
}

.hm-video-container {
    position: relative;
    background-color: black;
    height: 540px;
    min-height: 25rem;
    width: 100vw;
    overflow: hidden;
    padding-right: 16px;
}

.vendorimghome {
	transition: .76s;
}

.vendorImgHolder {
	width: fit-content;
    margin: 0 auto;
}

.vendorimghome:hover {
	opacity: .90;
	transform: scale(0.9);
}

.center-this {
    display: inline-grid;
    align-items: center;
}

.quote {
    font-size: 1.5rem;
    color: #38595a;
}

.tm-user1 {
	background-image: url(https://trm-web-resources.s3.us-east-2.amazonaws.com/micheal.jpg);
	background-size: cover !important;
}

.tm-user2 {
	background-image: url(https://trm-web-resources.s3.us-east-2.amazonaws.com/Mickley-min.jpg);
}

.map-home-pp {
	background-color:#E9D5B5;
	background-image: url(https://trm-web-resources.s3.us-east-2.amazonaws.com/pp_texture-min.png);
    background-size: cover;
    background-blend-mode: luminosity;
}

.carousel-inner .carousel-item {
	padding-left: 10%;
	padding-right: 10%;
}

.carousel-product {
	margin-left: 2.5%;
	margin-right: 2.5%;
}

.carousel-item img{
    align-items: center;
    width: auto;
    max-height: 150px;
}

.carousel-item .carousel-product img{
	max-height: 140px;
    align-items: center;
    display: flex;
    margin: 0 auto;
}

.carousel {
	margin-bottom: 100px;
}

.row {
    --bs-gutter-x: 0 !important;
    --bs-gutter-y: 0 !important;
}

.map-home-pp .row{
	margin: 5% 0;
}

.cgtxt h1 {
	margin: 0px;
}

.txt1 {
	animation: ani1 15s infinite;
}

.txt2 {
	animation: ani2 15s infinite;
}

.txt3 {
	animation: ani3 15s infinite;
}

.txt4 {
	animation: ani4 15s infinite;
}

.txt5 {
	animation: ani5 15s infinite;
}

.row {
	--bs-gutter-x: 0rem !important;
}

.carousel-item .col-md-3 {
	transition: .76s;
}




@keyframes ani1 {
	0% {
		opacity: 0;
	}
	
	10% {
		opacity: 1;
	}
	
	20% {
		opacity: 0;
	}
}

@keyframes ani2 {
	20% {
		opacity: 0;
	}
	
	30% {
		opacity: 1;
	}
	
	40% {
		opacity: 0;
	}
}

@keyframes ani3 {
	40% {
		opacity: 0;
	}
	
	50% {
		opacity: 1;
	}
	
	60% {
		opacity: 0;
	}
}

@keyframes ani4 {
	60% {
		opacity: 0;
	}
	
	70% {
		opacity: 1;
	}
	
	80% {
		opacity: 0;
	}
}

@keyframes ani5 {
	80% {
		opacity: 0;
	}
	
	90% {
		opacity: 1;
	}
	
	100% {
		opacity: 0;
	}
}

@media(min-width: 2400px) {
	.hm-video-container {
		height: 600px;
	}
}

@media(max-width: 1500px) {
	.home-padding-left {
		padding-left: 2% !important;
	}
	
	.home-padding-right {
		padding-right: 2% !important;
	}
}

@media(max-width: 1400px) {
	.hm-video-container h1 { 
		font-size: 2rem;
	}
}

@media(max-width: 1200px) {
	
	.top_paper {
		width: fit-content;
		margin: 0 auto;
	}
	
	.home-padding-left {
		padding-left: 0% !important;
	}
	
	.home-padding-right {
		padding-right: 0% !important;
	}

	.carousel-item img {
    	width: 175px;
    }
	
	.home-stats {
	    height: 275px;
	    margin-top: 25px;
	    padding-top: 20px;
	    min-height: 250px;
	    padding-bottom: 25px;
	}
	
	.hm-video-container {
		height: 1000px;
	}
	
	.background-gradient_blue {
		height: 1000px !important;
	}
	
	.home_button:hover {
		transform:scale(1) !important;}

	.home_button {
		text-align: center;
	}
	
	.hm-video-container h1{
		margin-top: 0px;
		text-align: center;
	}
	
	.home-logo {
		margin: 0 auto;
		display: flex;
	}
	
	.cg_holder {
		height: 75px;
	}
}

@media (max-width: 992px) {

	.tm_home {
	    width: 100%;
    	margin: 0px !important;
    }
    
    
	
	.tm-home {
		width: 90% !important;
    	margin: 20px auto;
    	padding: 5% !important;
    	padding-top: 0% !important;
	}
	
	.home_button {
		font-size: 17px;
    	border: solid white !important;		
	}
	
	.lau:hover .gradient-about h2 {
		transform: scale(1) !important;
	}
	
	.lau:hover .gradient-about {
		background: #00000070;
	}
	
	.gradient-about h2 {
		font-size: 1.75rem !important;
	}
	
	.home-stats .row h2 {
		font-size: 1.3rem;
	}
	
	.tm-img-holder {
		padding: 5% 0;
	}

	.map-home-pp .row {
		margin: 0 auto;
	}
	
	.tm-box {
		width: 275px;
		height: 275px;
	}
	
	.padding-mobile {
		padding: 10% !important;
	}
	
	.carousel-item .col-md-3 {
	    zoom: 75%;
	}
	
}

@media(max-width: 900px) {
	.vendors-home h3 {
		font-size: 1rem !important;
	}
}

@media(max-width: 769px) {
	.carousel-inner .carousel-item {
		padding: 0% !important;
		min-height: 250px;
	}

	.carousel-item .col-md-3 {
	    zoom: 100%;
	    width: 75%;
	    margin: 0 auto;
	}	
}

@media (max-width: 768px) {
	
	.hm-video-container video {
		display: none;
	}
	
	.hm-video-container {
		background-image: url('https://trm-web-resources.s3.us-east-2.amazonaws.com/farm_land.jpg');
		background-position: top;
		background-size: cover;
		background-repeat: no-repeat;
		overflow-x: hidden;
	}
	
	.home-stats .row h2 {
		padding: 0px !important;
	}
	
	body {
		padding-right: 0px !important;
		overflow-x: hidden;
	}
	
	.tm-box {
		width: 240px;
		height: 240px;
	}

	.custom-htwo {
	    font-size: 1.75rem !important;
	    padding-right: 0px !important;
	    text-align: center !important;
	}
	
	.carousel-item .carousel-product img {
		max-height: 300px;
	}
	
	p {
		font-size: 1.15rem !important;
	}
	
    .carousel-inner .carousel-item > div {
        display: none;
    }
    .carousel-inner .carousel-item > div:first-child {
        display: block;
    }
    
}

.carousel-inner .carousel-item.active,
.carousel-inner .carousel-item-next,
.carousel-inner .carousel-item-prev {
    display: flex;
}

@media (min-width: 768px) {
    
    .carousel-inner .carousel-item-end.active,
    .carousel-inner .carousel-item-next {
      transform: translateX(25%);
    }
    
    .carousel-inner .carousel-item-start.active, 
    .carousel-inner .carousel-item-prev {
      transform: translateX(-25%);
    }
}

.carousel-inner .carousel-item-end,
.carousel-inner .carousel-item-start { 
  transform: translateX(0);
}




/*  Common styles */
.MainHeading{
    margin: 0;
    padding: 0;
    width: 100% ;
    text-align: center;
    font-weight: 600;
}
.UnderLineBar{
    padding: 0;
    margin: .2em auto auto;
    height: .3em;
    width: 30em;
    justify-self: center;
    background: #081A35;
}
.SignUp{
    margin-top: 2em;
    padding: 10px;
}
.SignUp a{
    background: #081A35;
    border-radius: .5em;
    border: .1em solid transparent;
    text-decoration: none;
    color: #f5f5f5;
    font-weight: 600;
    display: block;
    width: 60%;
}
.SignUp a:hover{
    border: .2em solid white;
}
.MiddleOfPage h3{
    position: relative;
}
.homepage h2{
    padding: 0;
    margin: 2em 0 0;
    font-weight: 500;
    text-transform: capitalize;
}

/* Mobile styles */
@media (max-width: 930px){
    .MainBody{
        position: absolute;
        z-index: 1;
        width: 96%;
        height: 100%;
        margin-right: 2%;
        margin-left: 2%;
        grid-area: MainBody;
        padding-top: 5em;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        color: #081A35 ;
    }
    .MainHeading{
        font-size: 2em;
    }
    .SignUp a{
        margin: 0;
        font-size: 30px;
        padding: 5px 80px;
    }
    .MiddleOfPage h3{
        margin: auto auto .1em auto;
        height: 2.5em;
    }
}

/* Desktop styles*/
@media (min-width: 931px){
    .MainHeading{
        font-size: 3.2vw;
    }
    .SignUp a{
        margin: auto;
        padding: 5px 10px 5px 10px;
        font-size: 38px;
        text-decoration: none;
    }
    .homepage h2{
        padding: 0;
        margin: 2em 0 0;
        font-weight: 500;
        text-transform:capitalize
    }
    .MiddleOfPage h3{
        margin: auto auto 2em auto;
        height: 1em;
    }
}
