* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}
:root {
  --font-size: 1.6rem;
  --max-width: 10%;
}
body {
  font-size: var(--font-size);
}
.today-row {
  color: rgb(172, 30, 30);
  font-weight: bold;
  position: relative;
  overflow: hidden; /* Important to clip the line inside */
  white-space: nowrap;
}
.today-row::after {
  content: '';
  position: absolute;
  bottom: -0.2rem; /* Adjust to fine-tune line placement */
  left: 0;
  height: 0.15rem;
  background-color: #009578;
  animation: nextPrayer 2.5s infinite ease-in-out;
  width: 100%;
  transform-origin: left;
  animation-name: nextPrayer;
}
.notToday-row {
  transition: opacity 1s ease-in-out;
}
.prayPage {
  text-align: center;
}
/* .timetable tr:nth-child(odd){background-color: #faf7f3;} */
.timetable .sunrise {
  background-color: rgb(250, 250, 196); /* rgb(132, 255, 214, 0.2); */
  color: #000000;
}
.timetable .maghrib {
  background-color: rgba(0, 0, 0, 0.1);
}
.caption {
  color: #d95722;
  text-align: center;
  font-weight: bold;
  user-select: none;
}
.arrow {
  text-decoration: none;
  color: #3d3d3d;
  font-weight: bold;
  user-select: none;
}
.before-next-month {
  user-select: none;
  display: flex;
  gap: 5px;
  align-items: center;
  align-items: center;
  justify-content: center;
  margin: auto;
}
.divider {
  width: 30px; /* space between Month and Year */
}

.arrow:hover {
  text-decoration: underline;
}
.command {
  font-weight: bold;
  text-decoration: none;
  color: #aaaaaa;
}
.setting-button {
  margin: auto;
  background-color: #a5cdf5;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  outline: none;
}
.setting-button:hover {
  background-color: #3399ff;
  color: #333;
}
/*   .command:hover {text-decoration: underline;} */
.timetable {
  border-width: 0px;
  border-style: outset;
  border-collapse: collapse;
  border-color: gray;
  margin: 0 auto;
  white-space: nowrap;
}
.timetable td,
.timetable tr,
.timetable th {
  transition: all 0.5s ease;
}
.timetable td {
  border-width: 0.1rem;
  border-style: inset;
  border-color: #cccccc;
}
.timetable th {
  border-width: 0.1rem;
  border-style: inset;
  text-align: center;
  font-weight: bold;
  border-color: #cccccc;
}
.timetable tr:not(:first-child):hover {
  color: black;
  background-color: #f5f5f5;
}
input [checkbox] {
  user-select: none;
  cursor: pointer;
}
.occasions {
  font-size: 1rem;
  white-space: normal;
}
div#topbar {
  align-items: center;
  cursor: pointer;
  user-select: none;
}
div#topbar #sections_btn_holder button {
  background: rgb(235, 207, 166);
}

/*   div#topbar  #sections_btn_holder > button:hover{ filter: brightness(110%);}
  div#topbar > #sections_btn_holder > button:focus{ filter: brightness(110%);} */
div#topbar > #sections_panel,
#calculation_panal {
  height: 0px;
  border-radius: 5px 5px;
  overflow: auto;
  z-index: 10000;
  transition: height 0.3s linear 0s;
}
.hide,
.hidesolar {
  display: none;
}

/* Hide Lat & Lon setting*/
#latloninput {
  display: none;
  left: 0;
  right: 0;
  margin: auto;
}
button {
  user-select: none;
  cursor: pointer;
}

/* checkbox style */

/* The container */
.container {
  display: inline-block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  user-select: none;
}

/* Hide the browser's default checkbox */
.container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.container input:checked ~ .checkmark {
  background-color: rgb(235, 207, 166);
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: '';
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.container .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

select {
  width: 140px;
  margin: 0 auto;
  margin-top: 4px;
  outline: none;
}
.control {
  display: inline;
}

.click {
  display: block;
  padding: 2vw;
  background-color: #afe0ff;
  border: none;
  outline: none;
  cursor: pointer;
  align-self: flex-start;
}

.black {
  background-color: #000000;
  color: white;
}
.click {
  display: none;
}
.prayoptions {
  margin: auto;
  margin-top: 10px;
  width: 60%;
  border: 1px solid;
  border-radius: 10px;
  padding: 10px;
  background-color: #ddd;
}
a {
  text-decoration: none;
}

.pointer {
  cursor: pointer;
}
.prayoptions {
  margin: auto;
  margin-top: 10px;
  width: 60%;
  border: 1px solid;
  border-radius: 10px;
  padding: 10px;
  background-color: #ddd;
}
a {
  text-decoration: none;
}
.alltimes {
  overflow: hidden;
  margin: 10px auto;
  width: 00px;
}
.timeshowed {
  width: 50%;
  float: left;
  padding: 10px;
}
.timehide {
  width: 50%;
  float: right;
  padding: 10px;
  text-align: right;
}
.smalSize {
  font-size: 1.2rem;
}
.head-row {
  background-color: #3399ff !important;
  color: white;
  /*  height: 50px; */
}
.sadday {
  background-color: rgba(0, 0, 0, 0.4) !important;
  color: #ffffff;
}

.happyday td {
  background-color: rgba(163, 197, 173, 0.993) !important;
  color: white;
}
.fall {
  opacity: 0;
  visibility: hidden;
}
#alawiweb {
  text-align: center;
}

.activated[data-tab-content] {
  display: block;
}
.tabs {
  display: flex;
  justify-content: center;
  list-style-type: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid black;
}
.tab {
  cursor: pointer;
  padding: 10px;
}
.tab.activated {
  background-color: white;
}
.tab:hover {
  background-color: rgb(229, 214, 192);
}
.tab-content {
  margin-left: 20px;
  margin-right: 20px;
}
[data-tooltip] {
  font-weight: normal;
  color: white;
}
input[type='radio'] {
  display: inline;
}
/* .c14{
  transition: transform .3s;
}
.c14:hover{
  transform: rotate(-90deg);
  height: 100px;
} */
.line-through {
  text-decoration: line-through;
}
.disabled {
  opacity: 0.65;
  cursor: not-allowed;
  background-color: #ddd;
  cursor: not-allowed;
}

.wrapper {
  width: 600px;
  display: grid;
  grid-gap: 10px;
  margin: auto;
  grid-template-columns: repeat(2, 300px);
}
.loc {
  display: flex;
  flex: content;
  background-color: #f4f4f4;
  margin: auto;
  display: inline-block;
  align-items: center;
  text-align: center;
}
.selected {
  background-color: rgb(117, 0, 185);
}
.setting {
  width: auto;
  margin: auto;
}

/* save button */

.row {
  box-sizing: border-box;
  max-width: 50%;
  width: 100%;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.2);
  background-color: #f8f7f4;
  padding: 1rem;
}

.flexbox {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-flow: row wrap;
  -webkit-flex-flow: row wrap;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  font: 0/0 var(--font-family);
}

.flex {
  flex: 1;
}

.input {
  box-sizing: border-box;
  display: inline-block;
  line-height: normal;
  margin: 0 10px 0 0;
  width: 100%;
  padding: 10px 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  outline: none;
  border: none;
  border-radius: 5px;
  text-transform: uppercase;
}

.btn-save {
  display: inline-block;
  width: auto;
  margin: 0 10px 0 0;
  font-size: var(--font-size);
  padding: 0 15%;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  outline: none;
  color: #000;
  line-height: 1;
  background-color: #fff;
  border: none;
  font-weight: 700;
  text-transform: uppercase;
  vertical-align: middle;
  overflow: hidden;
  border-radius: 5px;
}

.btn-save:hover {
  background-color: #e8dcdc;
}

.btn-save:active {
  background-color: #3e8e41;
  box-shadow: 0 5px rgb(239, 239, 239);
  transform: translateY(4px);
}
@keyframes nextPrayer {
  0%, 100% {
    transform: scaleX(0);
  }
  50% {
    transform: scaleX(1);
  }
}
@media only screen {
  #alawiweb {
    display: none;
  }

  #head-row {
    color: black;
    background-color: #f8f7f4;
  }

  .blink {
    background-color: rgb(188, 218, 188) !important;
    background-color: yellowgreen !important;
    background-color: #48406b !important;
    background-color: #cfd3c7f0 !important;
  }
}
.btn-tab {
  cursor: pointer;
  background-color: #fff;
  border-style: none;
  outline: none;
}
.btm-tab:active {
  transform: scale(0.98);
}
.btn-tab:hover {
  background-color: rgb(229, 214, 192);
}
@media print {
  nav,
  ul,
  li,
  h6,
  button,
  footer,
  #latloninput,
  label,
  .awqat,
  .wq,
  br,
  input,
  select,
  a,
  img,
  #display,
  #latloninput,
  .hide,
  #dateKind,
  #at-share-dock {
    display: none;
  }
  @page {
    size: A4 portrait;
    margin: 5mm;
  }
  #alawiweb {
    font-size: 80%;
    color: blue;
    margin: 0 0 10px 20px !important;
  }
  #alawiweb span {
    color: black;
  }
  #time-format {
    display: inline-block;
  }
}

@keyframes out {
  0% {
    transform: scale(1) rotate(0);
    opacity: 1;
    visibility: visible;
  }
  100% {
    transform: scale(0) rotate(-12deg);
    opacity: 0;
    visibility: hidden;
  }
}
.hidesometimes {
  animation: out 1ms ease both;
  opacity: 0;
  position: absolute;
  visibility: hidden;
}
[data-tab-content] {
  display: none;
}
.btn-up {
  background-color: rgb(47, 141, 235);
  border: none;
  outline: none;
  border-radius: 5%;
  color: #fff;
  cursor: pointer;
}
.cursor {
  cursor: pointer;
}
.btn-up:hover {
  background-color: rgb(117, 0, 185);
}
@media screen and (min-device-width: 700px) {
  #timetable {
    max-width: 50%;
  }
}
@media screen and (min-device-width: 320px) and (max-device-width: 567px) {
  body {
    font-size: 1.2rem;
  }
}
  #timetable {
    font-size: 1rem;
    max-width: 90%;
  }
}

@media screen and (max-device-width: 568px) {
  body {
    font-size: 1rem;
  }
  #timetable {
    font-size: 1rem;
    max-width: 90%;
  }

  img {
    display: none;
  }
}

@media screen and (min-device-width: 569px) and (max-device-width: 650px) {
  body {
    font-size: 1rem;
  }
  #timetable {
    font-size: 1rem;
    max-width: 85%;
  }
}
