{#---- Hero --#}
.bg-overlay-editor {
	color: #fff;
	display: none;
	padding: 10px;
	position: relative;
	z-index: 3;
}

.hs-inline-edit .bg-overlay-editor {
	display: block;
}

.territories__hero {
	background-color: #000;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	padding: 150px 100px;
	text-align: center;
}

.territories__hero--desc {
	font-size: 24px;
	padding-bottom: 20px;
}

.territories__hero--title {
	font-size: 56px;
	font-weight: 700;
}

.territories__hero .button {
	padding: 15px 30px;
}

@media (max-width: 992px) {
	.territories__hero {
		padding: 72px 40px;
	}

	.territories__hero--title {
		font-size: 48px;
	}
}

{#----- Territories ----#}
.territories__content {
	max-width: 1208px;
	margin: auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	justify-items: center;
	padding: 32px;
}

@media only screen and (max-width: 767px){
	.territories__content {
		grid-template-columns: 1fr;
	}
}

.territories__text_content{
	padding: 30px 0;
	text-align: center;
}

.territories__text {
	font-size: 24px;
}

/*---- Manufacturer --*/
.territories__manufacturer--headline,
.territories__team--headline {
	margin-bottom: 0;
}

.territories__manufacturer--headline,
.territories__team--headline {
	padding: 25px 20px;
	text-align: center;
}

.territories__manufacturer--content a:hover {
	background-color: #1a214b;
}

.territories__manufacturer--content a img {
	display: block;
	transition: all 0.3s ease-in-out;
	background-color: rgba(255, 255, 255, 1.0);
	width: -webkit-fill-available;
}

.territories__manufacturer--content a img:hover {
	opacity: 0.8;
	transition: all 0.3s ease-in-out;
}

.territories__manufacturer--content {
	max-width: 1208px;
	margin: auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 40px;
	text-align: center;
	align-items: center;
	justify-items: center;
	padding: 100px 0;
}

.territories__manufacturer--content a{
	width: calc(20% - 40px);
}

@media only screen and (max-width: 1040px){
	.territories__manufacturer--content {
		padding: 100px 32px;
	}

	.territories__manufacturer--content a {
		width: calc(33.33% - 40px);
		margin: auto;
	}
}

@media only screen and (max-width: 992px){
	.territories__manufacturer--content a {
		width: calc(50% - 20px);
	}
}

{#---Team---#}
.territories__team--content {
	max-width: 1366px;
	padding: 0 40px;
	margin: auto;
} 


.team-block {
	max-width: 1366px;
	padding: 50px 0;
	display: grid;
	grid-template: auto / repeat(2, 1fr);
	grid-gap: 60px;
}

.team-block .img  {
	width: 100%;
}

.info {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.block-icons .item {
	padding-bottom: 10px;
	display: flex;
	justify-content: flex-start;
	align-items: center;  
	gap: 10px;
}

.block-icons .item h4 {
	color: #fff;
}

@media only screen and (max-width: 768px) {
	.team-block {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.team-block .img {
		display: flex;
		justify-content: center;
		align-items: center;
	}
}

@media screen and (max-width: 428px){
  .territories__team--content {
  max-width: 1366px;
  padding: 0 15px;
  margin: auto;
}
}


.manufacturer-logos__manufacturers {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	justify-content: center;
	align-content: start;
	gap: 30px;
	padding-top: 100px;
	width: 70%;
    margin: 0 auto;
    padding-bottom: 80px
}

.manufacturer-logos__manufacturers--distributor {
	min-height: 32px;
	text-align-last: right;
	position: relative;
}

.manufacturer-logos__manufacturers--button {
	color: #FFF;
	/* 	background: #1A214B; */
	border: 1px none #1A214B;
	border-radius: 50px;
	font-size: 10px;
	padding: 0.9em 1em;
	pointer-events: none;
	text-transform: uppercase;
	letter-spacing: 2px;
}

.manufacturer-logos__manufacturers--button:hover,
.manufacturer-logos__manufacturers--button:focus {
	color: #fff;
	text-decoration: none;
}

.logos__manufacturers--distributor {
  min-height: 32px;
  text-align-last: right;
  position: relative;
}


.manufacturer-logos {
  display: flex;
  justify-items: center;
  height: auto;
  gap: 30px;
  position: relative;
}

.manufacturer-logos__manufacturers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-content: center;
  align-content: start;
  gap: 30px;
  padding-top: 100px;
  width: 70%;
}

.manufacturer-logos__manufacturer {
  display: none;
  padding-top: 1rem;
}

.manufacturer-logos__manufacturer:hover {
  box-shadow:
    rgba(60, 64, 67, 0.3) 0px 1px 2px 0px,
    rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
  transition: all 0.3s linear;
  height: fit-content;
}

.manufacturer-logos__manufacturer--active {
  display: block;
}

.manufacturer-logos__manufacturers--distributor {
  min-height: 32px;
  text-align-last: right;
  position: relative;
}

.manufacturer-logos__manufacturers--button {
  color: #fff;
  /* 	background: #1A214B; */
  border: 1px none #1a214b;
  border-radius: 50px;
  font-size: 10px;
  padding: 0.9em 1em;
  pointer-events: none;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.manufacturer-logos__manufacturers--button:hover,
.manufacturer-logos__manufacturers--button:focus {
  color: #fff;
  text-decoration: none;
}

.tooltip {
  color: #1a214b;
  display: table-caption;
  font-size: 0;
  text-align-last: auto;
  line-height: 12px;
  opacity: 0;
  overflow: hidden;
  width: 0;
  transition: width 1s;
}

.manufacturer-logos__manufacturer:hover .tooltip {
  opacity: 1;
  display: table-caption;
  transition: width 1s;
  font-size: 12px;
  width: 100px;
}

@media only screen and (max-width: 1040px) {
  .manufacturer-logos {
    display: block;
    justify-items: center;
    height: auto;
    position: relative;
  }

  .manufacturer-logos__categories--title {
    padding: 30px 30px 0;
  }

  .manufacturer-logos__manufacturer {
    width: calc(50% - 15px);
  }

  .manufacturer-logos__manufacturers {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding-top: 0;
    padding-bottom: 49px;
    width: 100%;
  }
}

@media screen and (min-width: 1040px) {
  .manufacturer-logos__close-filters,
  .manufacturer-logos__close-button {
    display: none;
  }
}

.manufacturer-logos__fade-in-right {
  animation: fade-in-right 0.9s cubic-bezier(0.39, 0.575, 0.565, 1) both;
}

@keyframes fade-in-right {
  0% {
    transform: translateX(100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

