@font-face { font-family: 'Imprima';   src: url('fonts/imprima.ttf');          font-weight: normal; font-style: normal; }
@font-face { font-family: 'Spinnaker'; src: url('fonts/spinnaker.ttf');        font-weight: normal; font-style: normal; }
@font-face { font-family: 'Thuluth';   src: url('fonts/decotype-thuluth.ttf'); font-weight: normal; font-style: normal; }
@font-face { font-family: 'Mashq';     src: url('fonts/aga-mashq.ttf');        font-weight: normal; font-style: normal; }

/* Reset */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
}

article, aside, details, figcaption, figure, footer, header, menu, nav, section {
  display: block;
}

body {
  color: #ccccbe;
  background-color: #071319;
  font-family: Imprima, sans-serif;
  font-size: 1.1em;
  line-height: 1.5em;
  font-weight: normal;
}

p {
  margin: .33em 0 .75em 0;
}

li {
  text-align: start;
  margin-bottom: 7px;
  margin-left: 22px;
}
h1, h2, h3, h4, h1 a, h2 a, h3 a, h4 a, .big, .bigger, .large {
  color: #dde5e1 !important;
  font-family: Spinnaker, sans-serif;
  font-weight: bold;
  text-decoration: none;
}
h1 a.button, h2 a.button, h3 a.button, h4 a.button {
  font-family: Imprima, sans-serif;
  font-size: 88%;
  font-weight: normal;
  line-height: 200%;
  padding-right: .9em;
  padding-left: 2.7em;
  margin-top: -.5em;
}
h1 a.button::before, h2 a.button::before, h3 a.button::before, h4 a.button::before {
  padding: 0 .55em;
}
h1 a:not(.button):hover, h2 a:not(.button):hover, h3 a:not(.button):hover, h4 a:not(.button):hover {
  color: white;
  background-color: rgba(0,0,0,.13);
  border: 1px solid rgba(0,0,0,.25);
  border-radius: 4px;
  margin: -7px -10px;
  padding: 6px 9px;
}
h1, h2, h3 {
  text-transform: uppercase;
}
section > h1:not(:first-child), section > h2:not(:first-child), section > h3:not(:first-child) {
  margin-top: 1.5em;
}
h1, h2, h3, h4 {
  line-height: 133%;
  text-align: start;
}
i {
  font-style: italic;
}
u {
  text-decoration-style: dotted;
}
em {
  font-weight: normal;
  font-style: italic;
}
strong {
  color: #dde5e1;
  font-weight: bold;
}
small {
  color: #aabfc4d4;
}
ul > li > ul {
  list-style-type: circle;
  margin-top: .33em;
}
li > ul {
  list-style-type: disc;
  margin-top: .33em;
}
.rtl {
  direction: rtl;
  text-align: right;
}
.u-underline {
  border-bottom: solid 1px #ccccbe;
}
.u-dashline {
  border-bottom: dashed 1px #ccccbe;
}

/* Box Model */
*, *:before, *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.content.row {
  margin-top: -10px;
}
.content-title {
  padding-top: 5px;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  text-transform: uppercase;
}
#content-title {
  margin-top: 5px;
  width: 100%;
  text-align: center;
  font-family: Spinnaker, sans-serif;
  font-weight: bold;
  text-transform: uppercase;
}
#content-message {
  margin-top: 5px;
  margin-left: 15px;
  width: 100%;
  text-align: center;
  font-family: Spinnaker, sans-serif;
  font-weight: bold;
}
#content-verse {
  display: block;
  color: #08210c;
  margin: 10px 160px 0 160px;
  padding: 6px;
  font-size: 1.7em;
  text-align: center;
  font-family: Mashq, serif;
  word-spacing: .33rem;
  text-shadow:
    0 0 10px rgba(0,0,0,.5),
    -1px -1px 0 #68fff9,
     1px -1px 0 #68fff9,
    -1px  1px 0 #68fff9,
     1px  1px 0 #68fff9;
  border-radius: 1.5em;
  box-shadow:
    -1px 1px 0 0 rgba(80,80,80,.9), /* bottom white */
    1px -1px 0 0 black,             /* top black */
    inset -1px 2px 5px #192125,     /* top inner drop shadow */
    0 0 10px rgba(128,128,128,.9);  /* outer glow */
  background: url("../images/bg-stain.png") repeat-x 0 -4px;
}

main section {
  background-color: #173340;
  padding: 1.5em 1em 1.7em 1em;
  box-shadow: inset 0 0 0 1px rgba(99, 99, 99, 0.25);
}
main section, .section {
  border-radius: 7px;
  margin-bottom: 1em;
}
img.section {
  display: block;
  width: 100%;
}
main section.compact {
  padding: 1em .7em 1.2em .7em;
}
main section ul {
  margin-bottom: .7em;
}
main section ul.fine, main .fine {
  font-size: 90%;
}
main section ul.fine li {
  margin-bottom: 3px;
}
main section div:last-child,
main section ul:last-child,
main section > p:last-child,
main section > ul li:last-child {
  margin-bottom: 0;
}
main section hr {
  margin-top: .5em;
  margin-bottom: .7em;
  border-width: 0;
  border-top: solid 1px rgba(0, 0, 0, .15);
  border-bottom: solid 1px rgba(255, 255, 255, .19);
}
main section hr.big {
  margin-top: .9em;
  margin-bottom: 1.1em;
}
main section.brick, #jamaat section.today {
  color: white;
  background-color: #D7523E;
  box-shadow: inset 0 0 0 1px rgba(128, 128, 128, 0.25);
}
main section.green, .section.green {
  color: white;
  background-color: #2a9648;
  box-shadow: inset 0 0 0 1px rgba(128, 128, 128, 0.25);
}
main section.blue, .section.blue {
  color: white;
  background-color: #3F608C;
  box-shadow: inset 0 0 0 1px rgba(128, 128, 128, 0.25);
}
main section.cyan, .section.cyan {
  color: white;
  background-color: #008b8b;
  box-shadow: inset 0 0 0 1px rgba(128, 128, 128, 0.25);
}
main section.purple, .section.purple {
  color: white;
  background-color: #4d4997;
  box-shadow: inset 0 0 0 1px rgba(128, 128, 128, 0.25);
}
main section.orange, .section.orange {
  color: white;
  background-color: #ca6815;
  box-shadow: inset 0 0 0 1px rgba(128, 128, 128, 0.25);
}
main section.yellow, .section.yellow {
  color: white;
  background-color: #b49500;
  box-shadow: inset 0 0 0 1px rgba(128, 128, 128, 0.25);
}
main section.rose, .section.rose {
  color: white;
  background-color: #bd4d78;
  box-shadow: inset 0 0 0 1px rgba(128, 128, 128, 0.25);
}
main section.lime, .section.lime {
  color: white;
  background-color: #54714d;
  box-shadow: inset 0 0 0 1px rgba(128, 128, 128, 0.25);
}
main section.olive, #jamaat section.someday {
  color: white;
  background-color: #54714d;
  box-shadow: inset 0 0 0 1px rgba(128, 128, 128, 0.25);
}
main section.light {
  color: white;
  background-color: #1d4355;
  box-shadow: inset 0 0 0 1px rgba(40, 40, 40, 0.25);
}
main section.dark {
  color: white;
  background-color: #0f1f24;
  box-shadow: inset 0 0 0 1px rgba(40, 40, 40, 0.25);
}
main section.gray {
  color: white;
  background-color: #313838;
  box-shadow: inset 0 0 0 1px rgba(40, 40, 40, 0.25);
}
main section.ltgray {
  color: white;
  background-color: #80918f;
  box-shadow: inset 0 0 0 1px rgba(40, 40, 40, 0.25);
}
main section.brick a, main section.green a, main section.blue a, main section.cyan a, main section.purple a,
main section.orange a, main section.rose a, main section.yellow a {
  color: rgba(255, 251, 104, 0.75);
}
section.brick h2, section.blue h2 {
  color: white;
}
section.headline h2 {
  border-bottom: 1px solid rgba(0, 0, 0, .15);
  box-shadow: 0 1px 0 0 rgba(255, 255, 255, .19);
  margin-bottom: 1em;
}
section.small p {
  margin-top: .19em;
  margin-bottom: .25em;
}
.menu > a {
  text-decoration: none;
  -webkit-transition: all .5s;
  transition: all .5s;
}
.menu > a:hover section {
  -webkit-filter: brightness(133%);
  filter: brightness(133%);
  -webkit-transition: all .15s;
  transition: all .15s;
}
.menu > a section > img {
  float: left;
}
.menu > a > section {
  padding: 1.5em 1em;
  background-color: #164C6D;
}
.menu > a > section > h3 {
  margin-top: 0;
  padding-bottom: 0;
  font-size: 1em;
}
main .separator {
  position: relative;
}

/* Iqamah */
#jamaat {
  display: inline-flex;
  overflow: hidden;
  width: 100%;
}
#jamaat > section {
  min-width: 100%;
  margin-right: 1px;
}
#jamaat > section > div, #prayers > div.row {
  padding-bottom: 5px;
}
#prayers > div.row:last-child {
  padding-bottom: 0;
}
#jamaat > section > h2 {
  text-align: center;
  margin-bottom: .6em;
}
#jamaat #date {
  display: block;
  font-weight: bolder;
}
#jamaat #day {
  display: block;
}
#jamaat .weekday {
  font-size: .8em;
  font-weight: 300;
  color: whitesmoke;
  line-height: normal;
}
#jamaat > section > h2 > span:first-child {
  float: left;
  margin: 0 10px;
}
#jamaat > section > h2 > span:last-child {
  float: right;
  margin: 0 10px;
}
#jamaat > section > h2 > span:first-child:hover,
#jamaat > section > h2 > span:last-child:hover {
  color: #ffe2a4;
  cursor: pointer;
  background-color: rgba(0,0,0,.13);
  border: 1px solid rgba(0,0,0,.25);
  border-radius: 19px;
  margin: -5px 0;
  padding: 4px 9px;
}
#jamaat .changing { color: #990000; }
#jamaat .changed  { color: #016300; }
#jamaat section.someday .changing { color: #f55500;; }
#jamaat section.someday .changed  { color: #72CC70; }

#fitra td {
  padding: .125em 0;
  vertical-align: middle;
}
#fitra tr:nth-child(2) td:first-child {
  font-size: 95%;
  line-height: 97%;
  transform: scaleY(0.9);
}
#fitra tr td:nth-child(2) {
  font-weight: bold;
  color: white;
  padding-left: .3em;
  padding-right: .7em;
}
#fitra tr td:last-child {
  font-size: 90%;
  color: lightgray;
}

.slide-left {
  animation: slide-left 0.4s ease-in-out forwards;
  -webkit-animation: slide-left 0.4s ease-in-out forwards;
}
@keyframes slide-left {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-100%); }
}
@-webkit-keyframes slide-left {
  0% { -webkit-transform: translateX(0%); }
  100% { -webkit-transform: translateX(-100%); }
}
.slide-right {
  transform: translateX(-100%);
  animation: slide-right 0.4s ease-in-out forwards;
  -webkit-animation: slide-right 0.4s ease-in-out forwards;
}
@keyframes slide-right {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(0%); }
}
@-webkit-keyframes slide-right {
  0% { -webkit-transform: translateX(-100%); }
  100% { -webkit-transform: translateX(0%); }
}

/* Academy */
#academy-info {
  color: white;
  font-weight: bold;
  background-color: #f05525;
  background-image: url("../images/bw-art.png"), linear-gradient(120deg, #f05525 0%, #e15427 40%, #d03d2b 100%);
  padding-top: 1em;
  padding-bottom: .4em;
  text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.19);
}
#academy-info #name {
  font-size: 155%;
  margin-bottom: .4em;
  color: #02413f;
  letter-spacing: .01rem;
  font-family: Spinnaker, sans-serif;
}
#academy-info #adrs { color: #ffdcd2; letter-spacing: -.012rem; }
#academy-info #eml { color: #a8d6a7; }
#academy-info #call { color: #dcd895; }
#academy-info #pht { color: #fffbad; }
#academy-info #grades { color: #fcd8c8; padding-bottom: .5em; }
#academy-info #grades p:first-child { padding-top: .33em; }
#academy-info #grades p:last-child { padding-bottom: .1em; }
#academy-info p {
  margin: .1em 0;
  font-size: 110%;
  font-weight: bold;
}
#academy-info a {
  text-decoration: none;
  color: white;
}
#academy-info #contact a:hover {
  background-color: rgba(208, 77, 0, 0.9);
  border: 1px solid rgb(178, 62, 65);
  border-radius: 4px;
  margin: -7px -10px;
  padding: 6px 9px;
}

#academy-links > a {
  color: #414141;
  width: 100%;
  font-size: .9em;
  padding-left: 2.6em;
  letter-spacing: normal;
  transform: scaleY(.91);
}
#academy-links > a:before {
  padding: 0 .6em;
}
#academy-links > a:first-child {
  margin-top: 3px;
}
a#addr > span, a#adrs > span {
  white-space: nowrap;
}

#footer a {
  text-transform: uppercase;
  text-decoration: none;
  text-shadow: 1px 1px 2px rgba(0,0,0,.33);
}
#footer a:not([href]) {
  cursor: default;
}
#footer #copy a {
  letter-spacing: .033rem;
}
#footer #links a {
  display: inline-block;
  color: #191919;
  border: 1px solid transparent;
}
#footer #links a:hover {
  color: #7a0700;
  background-color: rgba(0,0,0,.09);
  border: 1px solid rgba(0,0,0,.25);
  border-radius: 4px;
  text-shadow: 1px 1px 2px rgba(190,190,190,.33);
}
#footer #links a.current {
  color: #33593c;
  text-shadow: 1px 1px 7px #f5ffdb;
}
/* Copyright */
#footer #copyright {
  color: #333333;
  font-size: .88em;
  letter-spacing: -.015rem;
  word-spacing: -.1rem;
  font-weight: bold;
}
#footer #copyright:hover {
  color: #252525;
  text-decoration: underline;
}
#footer a#copyright:not([href]):hover {
  text-decoration: none;
}
#footer #pipe {
  width: 1px;
  border-left: 1px solid rgba(0,0,0, 0.63);
  border-right: 1px solid rgba(200, 200, 200, 0.33);
}
#footer #corp {
  color: #0d4069;
  text-transform: uppercase;
  text-shadow: 1px 1px 7px rgba(0,0,0, 0.33);
}
#footer a#corp:hover, #footer a#corp:active {
  color: #124027;
  text-shadow: 1px 1px 2px rgba(230, 255, 227, 0.15);
}

/* Lists */
main .star-list {
  margin-bottom: 0;
}
.star-list li {
  background: url('../images/bullet-point.png') no-repeat 0 center;
  padding: 0 0 0 1.3em;
  list-style-type: none;
  margin-left: 0;
  margin-right: .63em;
  margin-bottom: .3em;
}

.icon.row > section > img {
  float: left;
  margin-left: -4px;
  margin-right: 7px;
  margin-top: -7px;
}

.image {
  width: 100%;
  display: block;
}
.photo {
  width: 97%;
  margin: .41em;
  border-radius: 4px;
  display: block;
}
iframe.map {
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 7px;
}
.bold {
  font-weight: bold;
}
a.vital {
  color: #ff663d;
}
a.casual {
  color: #2c808c;
}
#contact a {
  margin: 0 auto .5em auto;
  text-decoration: none;
  color: white;
}
#contact a:hover, #contact a:hover span {
  color: #fff6ac;
}

button::-moz-focus-inner {
  border: 0;
}
select:-moz-focusring {
  color: transparent;
  text-shadow: 0 0 0 #000;
}
ul.actions {
  margin-top: 1.1em;
  text-align: center;
}

ul.actions li {
  display: inline-block;
  margin: 0 .5em;
}

.decortext {
  color: #e24913;
  font-size: 1em;
  font-weight: bold;
  font-family: Spinnaker, sans-serif;
}
.decorline {
  color: #d0385a;
  padding: 0;
  text-align: center;
  margin: .5em 0 0;
  word-spacing: -.13rem;
}
.decorline span {
  font-size: 1.2em;
  vertical-align: middle;
}

/** Image hover */
#gallery > a > img, a.hover > img {
  -webkit-transition: all 1s;
  transition: all 1s;
}
#gallery > a:hover > img, a.hover:hover > img {
  -webkit-filter: brightness(120%) contrast(120%);
  filter: brightness(120%) contrast(120%);
  -webkit-transition: all .33s;
  transition: all .33s;
}

.icon-fade a:hover h3, .icon-fade a:hover span, .img-fade:hover h3 {
  color: white;
  -webkit-transition: all .33s;
  transition: all .33s;
}
.icon-fade img {
  -webkit-filter: brightness(120%) contrast(130%);
  filter: brightness(120%) contrast(130%);
  -webkit-transition: all 1s;
  transition: all 1s;
}
.icon-fade img:hover, .icon-fade a:hover img {
  -webkit-filter: brightness(200%) contrast(200%);
  filter: brightness(200%) contrast(200%);
  -webkit-transition: all .33s;
  transition: all .33s;
}
/* Buttons */
.buttons {
  display: block;
  margin: 0 auto;
  text-align: center;
}
.buttons > a {
  margin: .7em .2em .3em .2em;
}

button, .button {
  -webkit-appearance: none;
         -appearance: none;
  display: inline-block;
  font-size: 1em;
  line-height: 250%;
  padding-right: 1.3em;
  padding-left: 3.1em;
  position: relative;
  background-color: #297fb8;
  color: #ececde;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  margin-top: 1em;
  cursor: pointer;
  outline: 0;
  border: 0;

  border-radius: 5px;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);

  -webkit-transition: all .5s, background-color .2s ease-in-out;
  transition: all .5s, background-color .2s ease-in-out;

  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}
button:hover, .button:hover {
  color: white;
  -webkit-filter: brightness(110%) contrast(120%);
  filter: brightness(110%) contrast(120%);
  -webkit-transition: all .15s;
  transition: all .15s;
}
button:before, .button:before {
  content: '\279C';
  position: absolute;
  left: 0;
  padding: 0 .75em;
  background-color: rgba(0, 0, 0, .25);

  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  border-right: 1px solid rgba(0, 0, 0, 0.15);
}
.button.download:before {
  content: '\2193';
}
.button.compact {
  margin: 5px 0;
  line-height: 175%;
  padding-left: 2.5em;
  padding-right: .75em;
}
.button.compact:before {
  padding: 0 .5em;
}
.button.mini {
  padding: 1px 7px;
  line-height: 150%;
}
.button.simple {
  padding: 0 10px;
}
.button.simple:before, .button.mini:before {
  content: none;
  padding: 0;
}
.button.bold {
  font-size: 1em;
  font-weight: bold;
  padding: 1px 12px;
  margin: 5px 5px 5px 0;
}
.button.bold:last-child {
  margin-right: 0;
}
.button.green {
  background: #159331;
}
.button.purple {
  background: #8e44ad;
}
.button.cyan {
  background: #1abc9c;
}
.button.sea {
  background: #419295;
}
.button.teal {
  background: #189090;
}
.button.orange {
  background: #ec3000;
}
.button.brick {
  background: #e74c3c;
}
.button.red {
  background: #f0190a;
}
.button.yellow {
  background: #c5a211;
}
.button.olive {
  background: #4c6b1e;
}
.button.gray {
  background: #4d5454;
}
.button.black {
  background: #252525;
}

/* GWT - AlSalah */
#iframeGWT {
  width: 100%;
  height: 750px;
}

/* ******************************* */
/* ----------- Desktop ----------- */
/* ******************************* */

@media screen and (min-width: 750px) {

  .d-hide { display: none; }

  /* Basic */
  body { min-width: 1200px; }

  #content-title, #content-message {font-size: 1.11em;}
  h1, .large { font-size: 1.47em; }
  h2, .bigger { font-size: 1.27em; }
  h3, .big { font-size: 1.11em; }
  h4, .med { font-size: 1em; }

  h1 { padding-bottom: .7em; }
  h2 { padding-bottom: .6em; }
  h3 { padding-bottom: .5em; }

  /* Menu */
  #nav {
    z-index: 1000;
    width: 220px;
    height: 225px;
    margin: 0 0 11px 119px;
    padding: 11px 0 0 12px;
    text-align: start;
    background: url("../images/nav-bg.png") no-repeat;
  }

  nav a {
    text-decoration: none;
  }

  #nav a {
    display: inline-block;
    color: white;
    height: 43px;
    width: 200px;
    line-height: 33px;

    font-family: Spinnaker, sans-serif;
    font-weight: bold;
    font-size: 20px;
    letter-spacing: .13rem;
    text-transform: uppercase;

    text-shadow:
      0 0 3px black,
      -1px -1px 0 #00a5a5,
       1px -1px 0 #00a5a5,
      -1px  1px 0 #00a5a5,
       1px  1px 0 #00a5a5;

    -webkit-filter: none; filter: none;
    -webkit-transition: all .5s; transition: all .5s;
  }
  #nav a:not([href]), #tab a:not([href]) {
    cursor: default;
  }
  #tab.hover a:not([href]) {
    cursor: pointer;
  }
  #nav a.current, #nav a.current:not([href]):hover {
    color: #efff00; /*color: #beff00;*/
    -webkit-filter: hue-rotate(45deg) brightness(120%) contrast(110%);
    filter: hue-rotate(45deg) brightness(120%) contrast(110%);
    -webkit-transition: all .25s;
    transition: all .25s;
  }
  #nav a:hover, #nav a:active {
    -webkit-filter: hue-rotate(-45deg) brightness(120%) contrast(110%);
    filter: hue-rotate(-45deg) brightness(120%) contrast(110%);
    -webkit-transition: all .25s;
    transition: all .25s;
  }
  #nav a:nth-child(1) { background: transparent url("../images/nav1.png") 0 0 no-repeat; padding-left: 38px; }
  #nav a:nth-child(2) { background: transparent url("../images/nav2.png") 0 0 no-repeat; padding-left: 30px; }
  #nav a:nth-child(3) { background: transparent url("../images/nav3.png") 0 0 no-repeat; padding-left: 25px; }
  #nav a:nth-child(4) { background: transparent url("../images/nav4.png") 0 0 no-repeat; padding-left: 33px; }
  #nav a:nth-child(5) { background: transparent url("../images/nav5.png") 0 0 no-repeat; padding-left: 40px; }

  /* Sub-menu */
  #tab {
    z-index: 100;
    display: block;
    margin: 0 160px;
    padding: 0;
    border-radius: 1em;
    box-shadow:
      -1px 1px 0 0 rgba(80,80,80,.9), /* bottom white */
      1px -1px 0 0 black,             /* top black */
      inset -1px 2px 5px #192125,     /* top inner drop shadow */
      0 0 10px rgba(128,128,128,.9);  /* outer glow */
    background: url("../images/bg-stain.png") repeat-x 0 -5px;
  }
  #tab a:last-child {
    box-shadow: none;
    border-right: none;
  }
  #tab a {
    overflow: auto;
    position: relative;
    vertical-align: middle;
    font-family: Spinnaker, sans-serif;
    font-size: 15px;
    margin: 0;
    display: table-cell;
    width: 1%;
    padding: 7px 3px 3px 3px;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .025rem;
    word-spacing: -.07rem;
    white-space: nowrap;
    box-shadow:
      2px 0 1px -1px rgba(128,128,128,.2), /* outer glow  */
      2px 0 0 0 #061513,                   /* think wall  */
      3px 0 0 0 rgba(90,90,90,.8),         /* right white */
      inset -2px 0 5px #26363a;            /* left inner shadow */
    border-right: solid 1px black;
    color: #09390f;
    text-shadow:
      -1px -1px 0 #00eaea,
      1px -1px 0 #00eaea,
      -1px  1px 0 #00eaea,
      1px  1px 0 #00eaea;
  }
  #tab a:first-child {
    border-top-left-radius: 2em;
    border-bottom-left-radius: 2em;
  }
  #tab a:last-child {
    border-top-right-radius: 2em;
    border-bottom-right-radius: 2em;
  }
  #tab a.current, #tab a:hover, #tab a:active {
    color: #004e40;
    text-shadow:
      -1px -1px 0 #36de94,
      1px -1px 0 #36de94,
      -1px  1px 0 #36de94,
      1px  1px 0 #36de94;
    background-color: rgba(0, 115, 29, 0.25);
  }
  #tab a[download]:before {
    content: "\2193";
    margin-right: 2px;
    color: #006e96;
  }

  /* Header */
  #bismillah {
    position: absolute;
    top: 5px;
    padding-left: 10px;
  }

  #alsajdah-org {
    position: absolute;
    top: 80px;
  }
  #alsajdah-academy {
    position: absolute;
    top: 55px;
    padding-left: 17px;
  }
  #academy-logo {
    position: absolute;
    top: 44px;
    right: 145px;
  }
  #academy-model {
    position: absolute;
    top: 33px;
    left: 110px;
  }

  #logo {
    position: absolute;
    top: 42px;
    right: 145px;
    width: 150px;
    height: 150px;
    padding: 20px 27px;
    border-radius: 5em;
    box-shadow:
      -1px 1px 0 0 rgba(80,80,80,.9), /* bottom white */
      1px -1px 0 0 black,             /* top black */
      inset -1px 5px 15px #192125,     /* top inner drop shadow */
      0 0 10px rgba(128,128,128,.9);  /* outer glow */
    background: url("../images/bg-stain.jpg") no-repeat center;
    filter: hue-rotate(-5deg);
  }

  /* Header */
  #header {
    width: 100%;
    height: 315px;
    padding-top: 10px;
    background-image: url("../images/bg-head-l.png"), url("../images/bg-head-r.png"), linear-gradient(to top, #061518, #060b0e);
    background-position: left, right, 70px 0;
    background-size: auto, auto, 88% 100%;
    background-repeat: no-repeat, no-repeat, no-repeat;
  }

  /* Content */
  main {
    width: 100%;
    min-height: calc(100vh - 404px);
    padding: 1px 125px 10px 125px;
    background-image: url("../images/bg-body-l.png"), url("../images/bg-body-r.png"), radial-gradient(circle farthest-side, #082124, #061417);
    background-position: top left, top right, 100px 0;
    background-size: auto, auto, 85% 100%;
    background-repeat: repeat-y, repeat-y, no-repeat;
  }

  .content-title {
    margin-top: -19px;
  }

  main .separator:before {
    content: '';
    position: absolute;
    left: -15px;
    height: 100%;
    width: 1px;
    border-left: 1px solid rgba(0,0,0,.15);
    border-right: 1px solid rgba(215,215,215,.21);
  }

  /* Footer */
  #footer #links {
    padding: 0;
    float: right;
    font-size: .95em;
    margin: 27px 40px 4px 0;
  }
  #footer #links a {
    text-align: end;
    letter-spacing: .07rem;
    transform: scaleX(1.25);
    margin: 0 6px;
    padding: 5px 9px 4px 9px;
  }
  #footer #copy {
    margin-top: 33px;
    margin-left: 41px;
    float: left;
  }
  #footer #pipe {
    margin-left: 5px;
    padding-top: 2px;
  }
  #footer #corp {
    font-family: Spinnaker, sans-serif;
    font-size: 1em;
    padding: 0 5px 0 10px;
  }

  #page-title {
    font-family: Imprima, sans-serif;
    text-transform: uppercase;
    display: inline;
    position: absolute;
    bottom: 99px;
    text-align: center;
    color: #e46e30;
    font-size: 1.1em;
    letter-spacing: .19rem;
    text-shadow:
      -1px -1px 1px #1d3b37,
      1px 1px 1px #111,
      0 0 10px #80c0a9;
    cursor: default;
  }
  #page-title a {
    text-decoration: none;
    color: #e46e30;
  }
  #page-title a:hover {
    text-decoration: underline;
  }
  #page-title.verse {
    font-family: Mashq, serif;
    word-spacing: normal;
    font-size: 1.7em;
    text-align: center;
    letter-spacing: normal;
  }
  #page-title.multi {
    bottom: 95px;
  }
  #page-title.multi > div:first-child > a {
    line-height: 1.2em;
  }
  #page-title.multi > div:last-child {
    color: #00a4d0;
    text-transform: none;
    font-size: .9em;
    line-height: 1em;
    letter-spacing: normal;
  }
  .h-center {
    left: 51%;
    transform: translateX(-50%);
  }
  #page-lang a {
    color: #004658;
    text-decoration: none;
    text-shadow: 1px 1px 1px rgba(0,0,0,.33);
  }
  #page-lang a:hover {
    color: #003c4a;
    text-decoration: underline;
  }

  /* Page background */
  .page-layout {
    background: #e7d4b4 url('../images/bg-wall.jpg') repeat center;
  }

  /* Footer */
  #footer {
    width: 100%;
    text-decoration: none;
    background-image: url("../images/bg-foot-l.png"), url("../images/bg-foot-r.png"), url("../images/bg-foot-f.png"), linear-gradient(to bottom, #061518, #060b0e);
    background-position: top left, top right, top center, 86px 0;
    background-size: auto, auto, auto, 86% 100%;
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
  }

  .menu.row > .four.columns { width: 32%; }
  .menu.row > a section > img {
    margin-left: -8px;
    margin-right: 8px;
    margin-top: 5px;
  }

  #bulletins {
    margin-left: 1.25%;
    width: 32%;
  }

  #social {
    text-align: end;
    max-height: 32px;
    height: 32px;
    padding-top: 10px;
    margin-right: 120px;
  }
  #social a {
    margin: 0 8px;
  }
}

/* ****************************** */
/* ----------- Tablet ----------- */
/* ****************************** */

@media screen and (min-width: 750px) and (max-width: 1200px) {

  /* Basic */
  body { min-width: 1000px; }

  .large, #content-title, #content-message,
  h1 { font-size: 1.33em; }
  h2, .bigger { font-size: 1.19em; }
  h3, .big { font-size: 1em; }
  h4, .med { font-size: .9em; }

  #logo {
    position: absolute;
    top: 45px;
    right: 150px;
    width: 140px;
    height: 140px;
    padding: 23px 30px;
    border-radius: 4em;
  }

  .button {
    font-size: .95em;
    line-height: 225%;
  }

  main .menu.row section {
    padding: 1.4em .9em 1.4em .9em;
  }
  .menu.row > a section > img {
    margin-top: 2px;
    margin-right: 4px;
  }
  .menu.row > a section > h3 {
    font-size: 1em;
  }

  #alsajdah-academy { top: 71px; padding-left: 47px; }
  #academy-logo { top: 60px; right: 125px; }
  #academy-model { top: 57px; left: 100px }
  #alsajdah-academy img { width: 95%;height: 95%; }
  #academy-logo img { width: 133px;height: 133px; }
  #academy-model img { width: 80%;height: 80%; }
  #academy-links > a {
    font-size: .8em;
    line-height: 250%;
    word-spacing: -.01rem;
    padding-left: 2.1em;
  }
  #academy-links > a:before {
    padding: 0 .4em;
  }
  #academy-info #name {
    font-size: 140%;
  }
  #academy-info p {
    font-size: 100%;
  }
}

/* ****************************** */
/* ----------- Mobile ----------- */
/* ****************************** */

#navPanel, #titleBar {
  display: none;
}

@media screen and (max-width: 749px) {

  html, body {
    overflow-x: hidden;
  }

  body {
    font-size: 13pt;
    line-height: 1.4em;
  }

  .large, #content-title, #content-message,
  h1 { font-size: 1.5em; }
  h2, .bigger { font-size: 1.3em; }
  h3, .big { font-size: 1.2em; }
  h4, .med { font-size: 1.1em; }

  h1 { padding-bottom: .5em; }
  h2 { padding-bottom: .4em; }
  h3 { padding-bottom: .3em; }

  /* Hide Header */
  #header {
    display: none;
  }
  .h-center {
    text-align: center;
  }
  #titleBar {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: -webkit-transform 0.5s ease;
    transition: transform 0.5s ease;
    text-align: center;
    display: block;
    left: 0; top: 0;
    width: 100%; height: 50px;
    position: fixed;
    z-index: 10001;
    color: #fff;
    background-image: url("../images/m-bg-head-l.png"), url("../images/m-bg-head-r.png"), linear-gradient(to top, rgba(6,21,24,.7), rgba(6, 11, 14,.7));
    background-position: left, right, center;
    background-size: auto, auto, auto;
    background-repeat: no-repeat, no-repeat, no-repeat;
    text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.75);
  }
  #titleBar:after {
    content: '';
    display: block;
    position: absolute;
    top: 44px; left: 22px; right: 22px;
    height: 5px;
    box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.5);
  }
  #titleBar > div {
    display: block;
    margin: 0 36px;
    height: 50px;
    text-align: center;
    overflow: hidden;
  }
  #titleBar #logo {
    display: inline-block;
    margin-top: 2px;
    margin-left: 5px;
    width: 49px;
    height: 48px;
    background: url('../images/bg-stain-50.png');
    border-radius: 4px;
    box-shadow:
      -1px 1px 0 0 rgba(80,80,80,.9), /* bottom white */
      1px -1px 0 0 black,             /* top black */
      inset -1px 2px 5px #192125,     /* top inner drop shadow */
      0 0 10px rgba(128,128,128,.9);  /* outer glow */
  }
  #titleBar #alsajdah-org {
    display: inline-block;
  }
  #titleBar #alsajdah-org img {
    object-fit: scale-down;
  }

  #titleBar .toggle {
    position: absolute;
    left: 1px; top: 4px;
    outline: 0;
    font-size: 1em;
    letter-spacing: -4px;
    text-decoration: none;
    color: white;
    line-height: normal;
    padding: 3px 10px 1px 8px;
    border-radius: 5px;
    border: 1px solid wheat;
    background-color: wheat;
    box-shadow: inset 0 0 5px #404040;
  }

  #titleBar .toggle:active {
    background: orange;
  }

  /* Off-Canvas Navigation */
  .page-layout {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: -webkit-transform 0.5s ease;
    transition: transform 0.5s ease;
  }

  /* Content */
  main {
    width: 100%;
    min-height: calc(100vh - 404px);
    padding: 70px 33px 10px 33px;
    background-image: url("../images/m-bg-body-l.png"), url("../images/m-bg-body-r.png"), radial-gradient(circle farthest-side, #082124, #061417);
    background-position: top left, top right, center;
    background-repeat: repeat-y, repeat-y, repeat-y;
  }

  main .separator:before {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    border-top: 1px solid rgba(0,0,0,.15);
    border-bottom: 1px solid rgba(215,215,215,.21);
  }

  .content-title {
    font-size: 1.1em;
    margin-top: -5px;
  }
  .content-title> a#phn {
    display: block;
  }

  /* Footer */
  #footer {
    position: relative;
    width: 100%;
    height: 101px;
    text-align: center;
    text-decoration: none;
    background-image: url("../images/m-bg-foot-l.png"), url("../images/m-bg-foot-r.png"), url("../images/bg-foot-f.png"), linear-gradient(to bottom, #061518, #060b0e);
    background-position: top left, top right, top center, top center;
    background-size: auto, auto, auto, 100% 100%;
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
  }

  #social {
    max-height: 32px;
    text-align: center;
  }
  #social a {
    margin: 0 5px;
  }

  /* Copyright */
  #footer #copy {
    position: absolute;
    margin: 0 auto;
    left: 0; right: 0;
    bottom: 3px;
  }
  #footer #links {
    position: absolute;
    margin: 0 auto;
    left: 0; right: 0;
    bottom: 33px;
  }
  #footer #links a {
    letter-spacing: .07rem;
    margin: 0 5px;
  }
  #footer #links a:hover {
    margin: -5px 0;
    padding: 4px;
  }
  #footer #links a.current {
    margin: 6px 20px 0 5px;
  }
  #footer #pipe {
    padding-right: 5px;
    margin-left: 3px;
    padding-top: 5px;
  }
  #footer #corp {
    text-shadow: 1px 1px rgba(0,0,0, 0.15), 1px 1px 7px rgba(0,0,0, 0.33);
  }
  #footer a#corp:hover, #footer a#corp:active {
    text-shadow: 1px 1px rgba(0,0,0, 0.15), 1px 1px 2px rgba(230, 255, 227, 0.15);
  }

  #navPanel {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateX(-275px);
    transform: translateX(-275px);
    -webkit-transition: -webkit-transform 0.5s ease;
    transition: transform 0.5s ease;
    display: block;
    height: 100%;
    left: 0;
    overflow-y: auto;
    position: fixed;
    top: 0;
    width: 275px;
    z-index: 10002;
    background-color: #e7d4b4;
    background-image: url('../images/m-bg-nav-tr.png'), url("../images/m-bg-nav-r.png"), url('../images/bg-wall.jpg');
    background-position: top right, top right, 0 0;
    background-repeat: no-repeat, repeat-y, repeat;

    text-shadow: -1px -1px 1px black;
  }

  #navPanel nav {
    width: 100%;
    height: auto;
    margin: 19px 0 0 0;
  }

  #navPanel .menu {
    display: block;
    position: relative;
    padding: 0.55em 1em 0.45em 1em;
    margin: 14px 40px 5px 8px;
    z-index: 100;

    color: #09390f;
    font-family: Spinnaker, sans-serif;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    line-height: 1.5em;
    vertical-align: middle;
    text-transform: uppercase;

    text-shadow:
      -1px -1px 0 #00eaea,
       1px -1px 0 #00eaea,
      -1px  1px 0 #00eaea,
       1px  1px 0 #00eaea;

    background: rgba(61, 73, 76, .25);
    outline: 1px solid #958b7d;
    border: 1px solid #e1d7ab;
    border-right-color: #635e56;
    border-bottom-color: #635e56;
  }
  #navPanel .menu:before {
    content: '';
    display: block;
    position: absolute;
    left: 5px; right: 5px;
    top: 5px; bottom: 5px;
    z-index: -1;

    background: url("../images/bg-stain.jpg");
    border: 1px solid #555049;
    border-radius: 2px;
    border-left-color: #d7cdbe;
    border-bottom-color: #ece2d3;
    box-shadow: inset -1px 2px 3px 3px rgba(0, 0, 0, 0.15);
  }

  #navPanel::-webkit-scrollbar {
    display: none;
  }

  #navPanel .sub.menu:before {
    background: url("../images/bg-stain.png") repeat;
  }
  #navPanel .menu:hover, #navPanel .menu:active {
    -webkit-filter: hue-rotate( 40deg );
    filter: hue-rotate( 40deg );
  }
  #navPanel .current.menu:before {
    -webkit-filter: hue-rotate( -40deg );
    filter: hue-rotate( -40deg );
  }
  #navPanel .sub.menu {
    padding: 0.33em .7em 0.27em .7em;
    margin: 0 40px 5px 33px;
  }
  #navPanel .current.menu {
    color: #671477;
  }
  #navPanel .menu:nth-child(2):before { background-position: 0 -40px  }
  #navPanel .menu:nth-child(3):before { background-position: 0 -80px  }
  #navPanel .menu:nth-child(4):before { background-position: 0 -120px }
  #navPanel .menu:nth-child(5):before { background-position: 0 -180px }
  #navPanel .sub.menu:nth-child(even):before { background-position: 0 25px }
  #navPanel .sub.menu:nth-child(odd):before { background-position: 0 -25px }

  body.navPanel-visible #page-layout {
    -webkit-transform: translateX(275px);
    transform: translateX(275px);
  }

  body.navPanel-visible #titleBar {
    -webkit-transform: translateX(275px);
    transform: translateX(275px);
  }

  body.navPanel-visible #navPanel {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }

  .menu.row > a section > img {
    margin-left: -4px;
    margin-right: 10px;
    margin-top: -7px;
  }
  .menu.row > a section > h3 {
    font-size: 1.1em;
    margin-top: 4px;
    margin-bottom: 0;
    padding-bottom: 0;
    white-space: nowrap;
  }
}

/* ****************************** */
/* -------- Small Screen -------- */
/* ****************************** */

@media screen and (max-width: 380px) {

  #titleBar #logo {
    position: absolute;
    margin: 0; padding: 0;
    top: 1px; right: 1px;
    width: 32px; height: 32px;
    background: none;
    box-shadow: none;
  }
  #titleBar #logo img {
    position: absolute;
    display: inline;
    opacity: .75;
    transform: scaleX(-1);
    top: 1px; right: 1px;
    width: 32px; height: 32px;
    content: url("../logo/logo-32.png");
  }
}
