.main-box__banner{
    position: relative;
    width: 100%;
    height: 300px;
    margin-bottom: 40px;
}
.branches-item.active {
	cursor: auto;
}
.main-box__conatiner{
    flex-grow: 1;
    margin-inline-start: 20px !important;
}

.main-box__conatiner .inner-box {
	margin-inline-start: 0px !important;
}

.branches-item {
  background-color: white;
  padding: 23px 15px 36px;
  color: black;
  border-radius: 20px;
  border: 1px solid #DFDFDF;
  margin: 20px 0;
  cursor: pointer;
  position: relative;
}
.branches-item__header {
  transition: opacity 0.3s ease, visibility 0.3s ease;
  opacity: 1;
  visibility: visible;
}

.branches-item__header.fade-out {
  opacity: 0;
  visibility: hidden;
}
.branches-item__header {
  position: relative;
  display: flex;
  align-items: center;
}

.branches-item__icon{
	position: absolute;
	inset-inline-end: 8px;
	transition: 0.2s;
	width: 49px;
	height: 49px;
	background-color: #F7941E;
	content: "";
	border-radius: 100px;
	top: 8px;
}
.branches-item__icon:before{
  position: absolute;
	transition: 0.2s;
	content: "\e91c";
  font-family: "niafam";
	left: 50%;
	top: 50%;
  transform: translate(-50% , -60%) rotate(-180deg);
  color: #fff;
  font-size: 18px;
}
.branches-item.active .branches-item__icon:before {
  transform: translate(-50% , -40%) rotate(0deg);
}
.branches-item.active .branches-item__icon{
  background-color: #DFDFDF;
}
.branches-item__search .branches-item__content{
  overflow: auto;
  max-height: 100%;
  padding-top: 20px;
}
.branches-item__content {
  max-height: 0;
  overflow: hidden;
  transition: 0.3s;
  margin-top: -20px;
  padding: 0px 15px;
}

.branches-item__title {
	display: flex;
	gap: 5px;
  margin-inline-end: 10px;
  min-width: 205px;
}

.branches-item__map{
  position: relative;
  width: 330px;
  height: 280px;
  border-radius: 10px;
}

  
  @media (max-width: 360.98px){
	.branches-item__map{
		  
		  width: 250px;
		  height: 280px;
		  
						}
   

				}

.branches-item__map img{
  border-radius: 10px;
}
.barnches-item__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
  margin-bottom: 20px;
}

.branches-item__links li img {
	width: 20px;
	height: 20px;
}
.branches-item__links li {
	width: 56px;
	height: 57px;
  border-radius: 5px;
	border: 1px solid #9FA2B9;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 7px;
  position: relative;
}
.branches-item__left {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 10px;
  margin-top: 52px;
position: relative;
}
.branches-item__links {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}
.branches-item__subtitle {
	margin-bottom: 25px;
}
.branches-item__list li {
	margin-bottom: 15px;
}
.branches-item__facilities li {
	display: flex;
	align-items: center;
	gap: 5px;
}
.branches-item__facilities {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
    table {
      width: 100%;
      border-collapse: collapse;
      margin-bottom: 20px;
      background-color: #fff;
      border: 1px solid #DFDFDF;
  border-radius: 10px;
      direction: rtl;
    }
  
    th, td {
  border: none;
    padding: 12px;
    text-align: center;
    font-size: 0.9em;
    border-radius: 0;
    color: #323538;
    border-inline-end: 1px solid #DFDFDF;
    }
  
    th {
  background-color: #CFCFCF;
    color: #323538;
    }
  
tbody tr {
	border-bottom: 1px solid #DFDFDF;
}
.section__header {
	flex-direction: column;
	gap: 40px;
}
.section__header .section__search{
  width: 100%;
}
.section__search{
  position: relative;
}
.section__header .search-icon {
  width: 49px;
  height: 48px;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #E9E9E9;
  border-radius: 9px 9px 9px 9px;
  inset-inline-end: 1px;
  top: 1px;
}
.section__header input {
	width: 100%;
  padding: 14px 15px;
  border: 1px solid #8E8E8E;
  border-radius: 10px;
  font-family: dana;
}

.search-result__item span{
  color: #323538;
}
.search-result__right {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.search-result__item{
  padding-bottom: 15px;
  margin-bottom: 15px;
  border-bottom: 1px solid #DFDFDF;
  width: calc(50% - 37px);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
}

.search-result__item:nth-child(3){
  border-bottom: none;
}

.search-result__item:nth-child(4){
  border-bottom: none;
}

.search-result__item:nth-child(2):before{
position: absolute;
  transition: 0.2s;
  content: "";
  right: -15px;
  top: 50%;
  transform: translate(-50% , -70%) rotate(-180deg);
  background-color: #D14F1A;
  font-size: 18px;
  width: 4px;
  height: 40px;
}

.search-result__content{
  display: flex;
  flex-wrap: wrap;
  gap: 37px;
}

.search-result__title {
	margin-bottom: 25px;
}
.branches-item__qrcode{
  position: absolute;
  z-index: 9999;
  background-color: #fff;
  border-radius: 0 0 0 10px;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
 left: 0;
  bottom: 67px;
  display: none;
}
.branches-item.active .branches-item__qrcode {
	display: flex;
}
.branches-item__qrcode img{
  width: 81px;
  height: 81px;
display: flex !important;
}
.branches-item__qrcode canvas {
	display: none !important;
}

.branches-item__header.active + .branches-item__content {
}
.boldname{font-family: danab;}
@media screen and (max-width: 790px){
  html {
    font-size: 14px;
  }
 
}
@media (min-width: 1200px) and (max-width: 1367.98px){
  .branches-item__lead {
	width: 60%;
}
}
@media (max-width: 1199.98px){
  .main-box__conatiner {
    width: 50%;
  }
  .branches-item__lead {
	width: 50%;
  }
  .barnches-item__top {
	flex-direction: column;
  justify-content: center;
    align-items: center;
}
.branches-item__left {
	align-items: center;
}
}
@media (max-width: 991.98px){
  .main-box__conatiner {
	width: 100%;
	margin-inline-start: 0 !important;
	order: -1;
}
.branches-item__right {
	width: 100%;
}
.branches-item__title {
	min-width: 165px;
}
}
@media (max-width: 767.98px){
  .search-result__item{
    width: 100%;
  }
}
@media (max-width: 575.98px){
  .branches-item__lead {
	display: none;
}
.branches-item__icon {
	width: 30px;
	height: 30px;
	top: 15px;
}
.branches-item__map {
	height: 180px;
}
}