* {
 font-family: 'KFGQPC Uthman Taha Naskh Regular', "Palatino Linotype", "Book Antiqua", Palatino, serif;
}

@font-face {
  font-family: 'KFGQPC Uthman Taha Naskh Regular';
  src: url('KFGQPC Uthman Taha Naskh Regular.ttf');
}

body
{
  overscroll-behavior-y: contain;
  padding: 10px;
}

div.tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
}

/* Style the buttons inside the tab */
div.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
}

/* Change background color of buttons on hover */
div.tab button:hover {
    background-color: #ddd;
}

/* Create an active/current tablink class */
div.tab button.active {
    background-color: #ccc;
}

/* Style the tab content */
.tabcontent {
    display: none;
    /* padding: 6px 12px; */
    border: 1px solid #ccc;
    border-top: none;
}

table  {
  border-collapse:collapse;
  border-spacing:10px 10px;
}

table td {
  vertical-align: top;
  padding: 15px;
}

.tdx
{
  border:1px solid black;
  padding:6pt;
}

.trx
{
  border:1px solid black;
}

.tablex
{
  border-collapse:collapse;
  border:1px solid black;
  margin:6pt;
  padding:6pt;

}

#surah_div2 {
  position:absolute;
  top:1%;
  bottom: 1%;
  left:5%;
  right:5%;
  /*width:90%;*/
  height:96%;
  display:none;
  z-index:100;
  border: 3px solid #73AD21;
  padding: 2px 10px 2px 10px;
  background:#ffffff;
}

#surah_div {
  position:absolute;
  /* width:97%; */
  /* height:90%; */
  top:45px;
  bottom:0.5%;
  left:0%;
  right:0%;
  z-index:100;
  background:#eeeeee;
  direction: rtl;
  font-size:22pt;
  padding: 3px 3px 3px 3px;
  overflow-y: auto;
  line-height: 200%;
  text-align: right;
  margin-bottom: 20px;
}

.page_sep {
    text-align:center;
    font-size:13pt;
    font-weight:bold;
    height:25px;
    line-height:1.5;
    background-color:#c4dbc6;
}

.nav_button {
  background-color: #4CAF50; /* Green */
  border: none;
  color: white;
  text-align: center;
  display: inline-block;
  font-size: 16pt;
  border-radius: 5px;
  cursor: pointer;
}

.word
{
  cursor: pointer;
}

.word:hover
{
    outline: #cacaca 1px solid;
    outline-offset: -1px;
}


hr
{
  margin-top: 28px;
  margin-bottom: 28px;
}

#search_results
{
  margin: 20px;
  font-size: 18pt;
  line-height: 24pt;
}

.small
{
  font-size: 9pt;
  color:grey;
  margin-right: 4pt;
}

.blocks
{
  display:inline-block;
  margin:8pt;
  border-style: dotted;
  padding:5pt;
  padding-top: 13pt;
  padding-bottom: 13pt;
  border-color: #eeeeee;
}

.blocks_print
{
  display:inline-block;
  margin:8pt;
  border-style: dotted;
  padding:5pt;
  padding-top: 13pt;
  padding-bottom: 13pt;
  border-color: #999999;
  font-size: 11pt;
}

.small_blocks
{
  display:inline-block;
  margin:6pt;
  border-style: dotted;
  padding:4pt;
  padding-top: 9pt;
  padding-bottom: 9pt;
  border-color: #eeeeee;
  font-size: 10pt;
}

.c0
{
  background-color: rgba(170, 170, 170, 0.5);
}

.c1
{
  background-color: rgba(255, 0, 0, 0.5);
}

.c2
{
  background-color: rgba(255, 102, 0, 0.5);
}

.c3
{
  background-color: rgba(255, 153, 51, 0.5);
}

.c4
{
  background-color: rgba(255, 204, 0, 0.5);
}

.c5
{
  background-color: rgba(255, 230, 128, 0.5);
}

.c6
{
  background-color: rgba(255, 255, 102, 0.5);
}

.c10
{
  background-color: rgba(51, 204, 51, 0.5);
}

.c9
{
  background-color: rgba(102, 255, 51, 0.5);
}

.c8
{
  background-color: rgba(153, 255, 51, 0.5);
}

.c7
{
  background-color: rgba(204, 255, 51, 0.5);
}

.legend
{
  float:right;
  font-size:10pt;
  margin: 20px;
  padding:10px;
}

.ayah_sep
{
  height: 13px;
  cursor: pointer;
  outline: none;
}

.ayah_sep:hover
{
    outline: grey 1px dashed;
    outline-offset: -1px;
}

.ayah_body
{
  padding: 8px 50px 8px 10px;
}

.lefty
{
  float: left;
}

.clickable
{
  cursor: pointer;
}

.memorised_surah
{
  position: absolute;
  background-color: #E8E7E7;
  padding: 10px;
  /* top:10%;
  left:10%; */
  width:360px;
  min-height: 100px;
  z-index:100;
  border: 3px solid #73AD21;
  direction: rtl;
  font-size:20pt;
  overflow-y: auto;
  line-height: 200%;
  cursor: default;
}

.manage_link
{
  display: none;
}

.surah_link
{
  font-size:13pt;
}

.tr_surah
{
  padding: 10px;
}
.tr_surah:nth-child(even) {background: #f4f4eb}
.tr_surah:nth-child(odd) {background: #FFF}

.tr_temp
{
    padding: 10px;
    background-image: url('stripes-light.png');
    font-style: italic;
    color: grey;
}
.italics_small
{
  font-style: italic;
  font-size:10pt;
}

#surah_footer_div
{
    position:absolute;
    left:0%;
    right:0%;
    bottom:0%;
    z-index:110;
    background-color:white;
    height: 40px;
    padding: 3px;
    padding-top: 15px;
}

#surah_header_div
{
    z-index:110;
}

.button_overlay
{
    cursor: pointer;
    display: block;
    height: 50%;
    top: 25%;
    position: absolute;
    width: 3%;
    z-index: 109;
}

/*.button_overlay:hover*/
/*{*/
/*    background-color: rgb(0, 0, 0);*/
/*    background-color: rgba(100, 100, 100, 0.1);*/
/*}*/
