/* Container for flexboxes */
.teamrow {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	flex-wrap: wrap;
  }
  
  /* Create four equal columns */
  .column {
	flex: 20%;
	text-align:center;
	max-height: 320px;
	display: -webkit-box;
	display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	background-color: #4d738a;
  }

  .column-2 {
	  flex: 25%;
	  text-align:center;
	  max-height: 318px;
  }

.team-content h4 {
	font-size: 20px;
	font-weight: 600;
	color: #737473;
    text-align: left;
}

.team-content h5 {
	font-weight: 430;
	font-size: 18px;
	letter-spacing: 0.5px;
	color: #737473;
    text-align: left;
}

.team-content {
	padding: 15px 0px 0px;
	position: relative;
    left: 30px;
    text-align: center;
}
	
.team-content a {
	display: inline-block;
	padding: 2px;
	margin: 0 3px;
	font-size: 16px;
}

.team-social {
	width: 50%;
	margin-top:-2px;
}

.team-social a {
	color: #666;
	text-decoration: none;
  }
  
  .team-social a img {
	width: 20px;
  }

.team-page-heading {
	margin-bottom: 20px;
    color: #737473;
}

.teamcontent {
	flex: 0 0 75%;
    max-width: 75%;
}


.full-width-web {
    position: relative; 
    color: white;
    font-size: 1.125rem;
    margin-bottom:125px;
	margin-top: 40px;
}

.nopadding > div[class^="col-"] {
    padding-right: 0;
    padding-left: 0;
}

.auto {
	image-rendering: high-quality;
}

#team-page{
    overflow-x: hidden;
}

.team-img {
position: relative;
}

.team-img .imageInn img {
	max-height: 320px;
	margin-top:0px;
}

/* hide hoverImg 
.team-img .hoverImg img {
	max-height: 320px;
	margin-top:0px;
	max-width: 371.725px;
	height: 320px;
}


.team-img::after {
content: "";
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
opacity: 0;
}

.team-img:hover::after {
opacity: 0.4;
}

.team-img .hoverImg {
display: none;
}

.team-img:hover .hoverImg {
display: block;
}

.team-img:hover .imageInn {
display: none;
}
*/

.team-section .team-items{	
	flex-basis: 100%;
	max-width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
}
.team-section .team-items .item{
 flex-basis: calc(25% - 30px);
 max-width: calc(25% - 30px);
 margin-bottom: 40px;
}
.team-section .team-items .item img{
	display: block;
	width: 75%;
	border-radius: 8px;
}

.team-section .team-items .item .inner{
	position: relative;
	z-index: 11;
	padding:0 15px;
}
.team-section .team-items .item .inner .info{
	text-align: center;
	padding: 20px 15px;
	border-radius:8px;
	margin-top: -40px;
}
.team-section .team-items .item:hover  .info{
    transform: translateY(-20px);
}
.team-section .team-items .item:hover{
 transform: translateY(-10px);	
}
.team-section .team-items .item .inner .info h5{
	margin:0;
	font-size: 18px;
	font-weight: 600;
	color:#ffffff;
}
.team-section .team-items .item .inner .info p{
	font-size: 16px;
	font-weight: 400;
	color:#c5c5c5;
	margin:10px 0 0;
}

.team-section .team-items .item .inner .info .social-links{
	padding-top: 15px;
}

.team-section .team-items .item .inner .info .social-links a{
	display: inline-block;
	height: 32px;
	width: 32px;
	background-color: #ffffff;
	color:#009688;
	border-radius: 50%;
	margin:0 2px;
	text-align: center;
	line-height: 32px;
	font-size:16px;
}

.team-section .team-items .item .inner .info .social-links a:hover{
	box-shadow: 0 0 10px #000;
}

.spleft {
	left: 38%;
}

.empposition {
	width:270px;
	display:table;
}
  

  @media screen and (max-width: 1444px) {
	.column {
	  flex: 50%;
	  margin-bottom:125px;
	}

	.column-2 {
		flex: 50%;
		margin-bottom:125px;
	  }
      .full-width-web {
		margin-bottom:0px;
		margin-top:40px;
	}
  }

  @media screen and (max-width: 1028px) {
	.column {
	  flex: 50%;
	  margin-bottom:125px;
	}

	.column-2 {
		flex: 50%;
		margin-bottom:125px;
	  }
	  .full-width-web {
		margin-bottom:0px;
		margin-top:40px;
	}
  }

  @media screen and (max-width: 992px) {
	.column {
	  flex: 50%;
	  margin-bottom:125px;
	  margin-top: 40px;
	}

	.column-2 {
		flex: 50%;
		margin-bottom:125px;
	  }

	.full-width-web {
		margin-bottom:0px;
		margin-top:0px;
	}
  }
  
  /* On screens that are 780px wide or less, make the columns stack on top of each other instead of next to each other */
  @media screen and (max-width:780px) {
	.teamrow {
	  flex-direction: column;
	}

	.full-width-web {
		margin-bottom:0px;
		margin-top:0px;
	}

	.team-img .imageInn img {
		max-height: 360px;
		margin-top: -41px;
	}

	.team-img .hoverImg img {
		max-height: 360px;
		margin-top: -41px;
		max-width: inherit;
	height: auto;
	}

	.team-content h5 {
		display: flex;
	}
	.teamcontent {
		max-width: 100%;
	}
	.spleft {
		left: 37%;
	}

	.empposition {
		width:200px;
		display:table;
	}
  }
  @media screen and (max-width:450px) {
	.team-img{
		width: 100%;
		background-color: #4d738a;
	}
	.team-img .imageInn img {
		max-height: 244px;
		height: 244px;
		max-width: 300px;
	}

	.team-img .hoverImg img {
		max-height: 244px;
	    height: 244px;
		max-width: 300px;
		
	}
	.column{
		width: 100%;
		max-height: 244px;
		margin-bottom: 115px;
		background-color: transparent;
	}
	.team-content{
		background-color: transparent;
		display: flex;
		flex-direction: column;
		width: 100%;
		left: 0px;
		
		
	}
	.team-content > div{
		position: relative;
		left: 82%;
		transform: translate(-50%,-0%);
	}
 
}
  .content-block {
    padding: 20px;
    margin-top: 0px;
}

.content-block h2 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.content-block p {
    color: #555;
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 0px;
}

.map-block {
    margin-top: 40px;
    text-align: center; /* Center the image horizontally */
	margin-bottom: 60px;
}

.map-block .map-image {
    width: 90%; /* Ensure the image is responsive */
    max-width: 100%; /* Prevent it from exceeding the container width */
    height: auto; /* Maintain the aspect ratio */
}

.map-text {
    display: none;
}

/* On small screens: hide map, show text */
@media screen and (max-width: 768px) {
    .map-block {
		margin-top: 0px;
        display: none;
    }

    .map-text {
        display: block;
        padding: 20px;
        color: #333;
        text-align: center;
    }

	.map-text span.headquarters {
		font-size: 1.25rem; 
    	color: #f7941f; 
    	font-weight: bold;
	}

	.map-text span.deliverycenter {
		font-size: 1.25rem;
    	color: #1291bd;
    	font-weight: bold;
	}

    .map-text h2 {
        font-size: 1.5rem;
        margin-bottom: 10px;
		color: #333;
    }

    .map-text p {
        font-size: 1rem;
    }
}
 
.custom-hr {
    display: none;
}

@media screen and (max-width: 780px) {
    .custom-hr {
        display: block; 
        border: none;
        height: 2px;
        background-color: #eeefeb;
        width: 85%; 
        margin: 20px auto; 
	}
}

/* Owl Carousel styles */
.owl-carousel {
	overflow: hidden;
}

.owl-carousel .column {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0;
	background: #4d738a;
	width: 101%;
	margin: 40px -1px 125px -1px;
}

.carousel-full-width-web {
    position: relative; 
    color: #4d738a;
    font-size: 1.125rem;
}

.owl-carousel .team-social a img {
	width: 20px !important;
	padding-top: 2px;
}


.owl-carousel .team-content {
padding: 15px 0px 0px;
}

.owl-carousel .team-img {
margin-bottom: 0;
}

.owl-carousel .team-img .imageInn {
padding-top: 0;
}

.owl-carousel .team-img .imageInn img {
object-fit: contain;
width: 100%;
height: auto;
}

.owl-theme .owl-nav {
margin-top: 10px;
text-align: center;
}

.owl-theme .owl-nav [class*='owl-'] {
color: #FFF;
font-size: 14px;
margin: 5px;
padding: 4px 7px;
background: #D6D6D6;
display: inline-block;
cursor: pointer;
}

.owl-theme .owl-nav [class*='owl-']:hover {
background: #869791;
}

.owl-theme .owl-nav .disabled {
opacity: 0.5;
pointer-events: none;
}

@media screen and (max-width:450px) {
	.owl-carousel .team-img{
		width: 100%;
		background-color: #4d738a;
	}

	.owl-carousel .owl-item img{
		display: inline !important;
	}
	.owl-carousel .team-img .imageInn img {
		max-height: 244px !important;
		height: 244px;
		max-width: 300px;
		object-fit: contain;
	}

	.owl-carousel .team-img .hoverImg img {
		max-height: 244px;
	    height: 244px;
		max-width: 300px;
		
	}
	.owl-carousel .column{
		width: 101%;
		max-height: 244px;
		background-color: transparent;
	}
	.owl-carousel .team-content{
		background-color: transparent;
		display: flex;
		flex-direction: column;
		width: 100%;
		left: 0px;
	}
	.owl-carousel .team-content > div{
		position: relative;
		left: 82%;
		transform: translate(-50%,-0%);
		align-items: center;
	}
}
.owl-carousel .owl-nav .owl-prev,
.owl-carousel .owl-nav .owl-next{
	background:0 0;
	color: #ffffff70 !important;
	border: none;
	padding: 0 !important;
	font: inherit;
	font-size: 30px !important; 
}

button.owl-prev {
	left: 15px !important;
}

button.owl-next {
	right: 5px !important;
}

button.owl-prev,
button.owl-next{
	position: absolute;
	bottom: 56% !important;
}
@media screen and (max-width:450px) {
	button.owl-prev,
	button.owl-next{
		position: absolute;
		bottom: 62% !important;
	}
}
@media not all and (min-resolution:.001dpcm) {
    @supports (-webkit-appearance:none) {
        .owl-carousel .column {
            width: 100%; /* Adjust as needed */
        }
        .owl-carousel .team-img .imageInn img {
            max-height: 300px; /* Adjust as needed */
            object-fit: contain; /* Try contain instead of cover */
        }
    }
}