#pt_map {
  height: 450px;
  width: 100%;
  margin: 25px 0;
}

.pt_search {
  position: relative;
  border: 1px solid #d9d9d9;
  padding-left: 30px;
  border-radius: 5px;
}

.pt_input_field {
  border: none !important;
  min-height: 50px;
  font-size: 16px;
  line-height: 1.3em;
  width: 100% !important ;
}

.pt_location_icon {
  position: absolute;
  height: 50px;
  width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #343434;
  font-size: 20px;
  left: 0;
  top: 0;
}

.pt_toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 20px 0;
}

.pt_day_shifter {
  display: flex;
  align-items: stretch;
  gap: 5px;
}

.pt_day_shifter > button {
  padding: 5px 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  color: #ffffff !important;
  background: rgb(235, 72, 72) !important;
  border: none;
  border-radius: 5px;
}

.pt_tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

#pt_calender_widget {
  border: 1px solid #d9d9d9;
  padding: 5px;
  font-size: 15px;
  font-weight: 500;
  color: #343434;
  margin: 0;
  background: transparent;
}

.pt_pdf_download > button {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgb(235, 72, 72);
  color: #ffffff;
  font-size: 15px;
  padding: 5px 15px;
  height: 46px;
  border: none;
  border-radius: 5px;
}

table.fc-col-header {
  margin: 0;
}

table.fc-scrollgrid-sync-table {
  margin: 0;
}

.pt_hirjiDate {
  padding: 8px;
}

.pt_loader {
  width: 20px;
  height: 20px;
  border: 2px solid #343434;
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
  position: relative;
  z-index: 100;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.pt_render_table {
  margin: 25px 0 0;
}

.pt_render_table th,
.pt_render_table td {
  text-align: left;
}

.pt_single_event {
  padding: 3px 6px;
  font-size: 13px;
  font-weight: 500;
  background: #eb4848;
  display: inline-block;
  border-radius: 5px;
  margin-right: 10px;
}

.pt_render_table {
  width: 100%;
  border-collapse: collapse;
}

.pt_render_table th,
.pt_render_table td {
  font-size: 15px;
  text-align: left;
  color: #000000;
  border: 1px solid #d9d9d9;
  padding: 15px;
}

.pt_render_table tbody tr:nth-child(odd) {
  background: #e5e5e5;
}

.pt_render_table thead tr {
  background: #343434;
}

.pt_render_table thead tr th,
.pt_render_table thead tr td {
  color: #ffffff;
}

.pt_pdf_download {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

#pt_calendar table thead th {
  background: #343434;
}

#pt_calendar table thead th a {
  text-decoration: none !important ;
  color: #fff !important ;
}

#pt_calendar table tbody td a {
  text-decoration: none !important ;
  color: #343434 !important;
}
.pt_loader {
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-bottom-color: transparent;
  border-radius: 50%;
  display: none;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.pt_container {
  max-width: 1200px;
  margin: 20px auto;
}

input#pt_search_by_location {
  margin: 0;
  background: transparent;
  padding: 10px 15px;
}

.pt_calendar_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

.pt_calendar_left,
.pt_calendar_right {
  display: flex;
  align-items: center;
  border-radius: 5px;
  overflow: hidden;
}

.pt_calendar_left > span,
.pt_calendar_right > span {
  width: 44px;
  height: 44px;
  display: flex;
  background: rgb(235, 72, 72);
  color: #fff;
  font-size: 16px;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.pt_calendar_left > span:hover,
.pt_calendar_right > span:hover {
  background: rgb(240, 28, 28);
}

.pt_calendar_middle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: center;
}

.pt_calendar_middle {
  font-size: 16px;
  font-weight: 600;
  color: #000000;
}

.pt_calendar_table {
  margin: 25px 0;
  table-layout: fixed;
}

.pt_calendar_table td {
  padding: 0 !important;
  position: relative;
}

.pt_calendar_table th {
  background: #343434;
  padding: 5px;
  text-align: center !important;
  font-size: 15px;
  color: #ffffff;
}

.pt_calendar_cell {
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 33px;
  padding-top: 33px;
}

.pt_greg_entry {
  padding: 5px;
  align-self: flex-end;
  font-size: 18px;
  font-weight: 500;
  position: absolute;
  right: 0px;
  top: 0px;
}

.pt_hijri_entry {
  background: #e5e5e5;
  font-size: 12px;
  font-weight: 500;
  color: #000000;
  display: inline-flex;
  padding: 10px 10px;
  gap: 5px;
  align-self: center;
  line-height: 1;
  position: absolute;
  bottom: 0;
}

.pt_calendar {
  position: relative;
}

.pt_calendar_loader {
  width: 100%;
  height: 100%;
  position: absolute;
  background: rgba(255, 255, 255, 0.5);
  left: 0;
  top: 0;
  display: none;
  align-items: center;
  justify-content: center;
}

.pt_calendar_loader .pt_loader {
  display: inline-block;
  width: 24px;
  height: 24px;
  border-color: #343434;
  border-bottom-color: transparent;
}

.pt_render_table .pt_loader {
  border-color: #343434;
  border-bottom-color: transparent;
}

.pt_calendar_footer {
  font-size: 16px;
  color: #343434;
  margin: 15px 0;
  text-align: center;
  line-height: 1.5em;
}

.pt_events {
  width: 100%;
  padding: 3px;
  display: flex;
  align-items: stretch;
  gap: 3px;
  flex-wrap: wrap;
}

.pt_cal_events a, .pt_cal_events span {
  font-size: 12px;
  color: #fff !important;
  font-weight: 500;
  padding: 2px 8px !important;
  width: 100%;
  border-radius: 3px !important;
  text-decoration: none !important;
  color: #fff;
  display: block;
}

.pt_periods {
  display: flex;
  gap: 5px;
}

.pt_period {
  display: flex;
  flex-direction: column;
}

.pt_period > select {
  margin: 0 !important;
  padding: 5px 15px;
}

.pt_waqt_list {
  margin: 25px 0 !important;
  padding: 25px 0 !important;
  list-style: none;
  column-count: 3;
  column-gap: 20px;
  column-rule: 2px solid #343434;
  border: 1px solid #d9d9d9;
  background-color: #fff;
  border-radius: 5px;
}

.pt_waqt_list li {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: center;
  padding: 20px;
}

.pt_waqt_list li img {
  width: 50px;
  height: 50px;
  min-width: 50px;
  min-height: 50px;
  object-fit: contain;
}

.pt_calender_today {
  height: 44px;
  margin-right: 10px;
  padding: 3px 15px !important;
  border-radius: 5px;
  border: none;
}

.pt_nextMonth {
  border-radius: 5px 0 0 5px;
}

.pt_waqt_name {
  width: 120px;
}

.pt_waqt_time {
  width: 120px;
  text-align: center;
}

.pt_greg_title{
  font-size: 21px ;
}

ul.pt_waqt_list * {
  font-size: 15px;
}

#pt_cal_end option:disabled{
	background: rgba(0,0,0,0.2);
}

@media (max-width: 1024px) {
  .pt_hijri_entry {
    font-size: 10px;
  }

  .pt_waqt_list {
    margin: 20px 0 !important;
    padding: 15px 0 !important;
    column-count: 2;
    column-gap: 0px;
    column-rule: 2px solid #343434;
  }
}

@media (max-width: 767px) {
  .pt_calender_today {
      height: 30px;
      font-size: 12px;
  }

  .pt_waqt_list {
    margin: 20px 0 !important;
    padding: 15px 0 !important;
    column-count: 1;
    column-gap: 0px;
    column-rule: 0px solid #343434;
  }

  .pt_toolbar {
    flex-wrap: wrap;
  }

  .pt_pdf_download {
    flex-wrap: wrap;
    margin-top: 20px;
  }

  .pt_pdf_download > button {
    width: 100%;
    justify-content: center;
  }

  .pt_periods {
    width: 100%;
    gap: 0;
    justify-content: space-between;
  }

  .pt_period {
    width: 49%;
  }

  .pt_calendar_cell {
    min-height: auto;
    height: auto;
  }

  .pt_greg_entry {
    padding: 4px;
    font-size: 13px;
  }

  .pt_cal_events a, .pt_cal_events span {
    font-size: 7px;
    padding: 2px 2px;
    line-height: 1;
  }

  .pt_calendar_table th {
    padding: 2px;
    font-size: 10px;
  }

  .pt_hijri_mon {
    display: none;
  }

  .pt_calendar_table {
    table-layout: fixed;
  }

  .pt_hijri_entry {
    font-size: 10px;
    padding: 2px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 1;
    text-align: center;
    display: block;
  }

  .pt_calendar_table td {
    position: relative;
  }

  .pt_calendar_cell {
    padding-bottom: 21px;
    padding-top: 21px;
  }

  .pt_greg_entry {
    padding: 4px;
    font-size: 13px;
    position: absolute;
    top: 0;
    right: 0;
    font-weight: 600;
    color: #000;
    line-height: 1;
  }

  .pt_calendar_left > span,
  .pt_calendar_right > span {
    width: 30px;
    height: 30px;
    display: flex;
    background: rgb(235, 72, 72);
    color: #fff;
    font-size: 12px;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
  }

  .pt_calendar_middle {
    font-size: 12px;
    font-weight: 600;
    color: #000000;
  }

  .pt_greg_title{
    font-size: 14px;
  }

  #pt_map {
    height: 250px;
  }

  .pt_calendar_header {
    gap: 10px;
  }

  .pt_calendar_middle {
    gap: 0;
  }
}

@media (max-width: 510px) {
  .pt_calendar_header {
    flex-wrap: wrap;
  }

  .pt_calendar_left {
    order: 2;
  }

  .pt_calendar_middle {
    width: 100%;
    order: 1;
  }

  .pt_calendar_right {
    order: 3;
  }
}
