﻿@charset "UTF-8";

.items {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.items .item-list {
  border: 1px solid #E5E7EB;
  padding: 16px;
  border-radius: 8px;
}

.items .item-list h5 {
  color: #067647;
  font-weight: 600;
  font-size: 18px;
}

a.icon-b {
  background: #e0f1e6;
  color: #067647;
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 8px;
  border: 1px solid #067647;
  flex-direction: row-reverse;
  gap: 4px;
}

.items .item-list p {
  margin-bottom: 9px;
}

i.bi.bi-chevron-left {
  display: none;
}

.block .image {
  height: 350px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
}

.block .image img.img-fluid {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.details h5 {
  color: #1b8354;
  font-size: 22px;
  margin-bottom: 14px;
  font-weight: 700;
}

.left_block_text_ {
  border: 1px solid #ddd;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.left_block_text_ .block_Location {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  gap: 6px;
}

.left_block_text_ .block_Location h3 {
  margin: 0;
  font-size: 18px;
  color: #1b8354;
}

.left_block_text_ .block_Location img {
  width: 23px;
}

.left_block_text_ iframe {
  height: 280px !important;
}

.centers-title h3 {
  font-weight: 600;
  color: #1b8354;
}


@media (min-width:992px) {
  .items {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .page-content {
    display: grid;
    gap: 10px;
}

.page-content .block {
    display: grid;
    gap: 10px;
    grid-template-columns: 25% 40% 1fr;
}

.left_block_text_ {
    height: max-content;
}

}

@media (min-width:1200px) {
  .items {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .items .item-list {
    padding: 20px 26px;
  }
.page-content {
    display: grid;
    gap: 10px;
}

.page-content .block {
    display: grid;
    gap: 10px;
    grid-template-columns: 25% 40% 1fr;
}

.left_block_text_ {
    height: max-content;
}
  
}

@media(max-width:768px) {

  .table>thead {
    display: none
  }

  table,
  thead,
  tbody,
  th,
  td,
  tr {
    display: block
  }

  td {
    display: flex;
    font-size: 13px
  }

  td:before {
    color: var(--primary-color);
    background-color: rgba(var(--primary-color-rgb), .1);
    font-weight: bold;
    font-size: .875em !important;
    width: 106px;
    padding: 3px 7px 3px 7px
  }

  html[dir='rtl'] td:before {
    text-align: right;
    margin-left: 10px
  }

  html[dir='ltr'] td:before {
    text-align: left;
    margin-right: 10px;
    width: 108px !important
  }

  td:nth-of-type(1):before {
    content: 'اسم المركز'
  }

  td:nth-of-type(2):before {
    content: 'الاستعلامات'
  }

  td:nth-of-type(3):before {
    content: 'المباشر'
  }

  td:nth-of-type(4):before {
    content: 'رئيس المجلس'
  }

  td:nth-of-type(5):before {
    content: 'الفاكس'
  }

  td:nth-of-type(6):before {
    content: 'البريد الإلكتروني'
  }

  html[dir='ltr'] td:nth-of-type(1):before {
    content: 'Center Name'
  }

  html[dir='ltr'] td:nth-of-type(2):before {
    content: 'Information Desk'
  }

  html[dir='ltr'] td:nth-of-type(3):before {
    content: 'Direct Number'
  }

  html[dir='ltr'] td:nth-of-type(4):before {
    content: "Center's Manager"
  }

  html[dir='ltr'] td:nth-of-type(5):before {
    content: 'Fax'
  }

  html[dir='ltr'] td:nth-of-type(6):before {
    content: 'Email'
  }

}