/* Core Fonts */
@font-face {
    font-family: 'Roboto Slab';
    src: url('../assets/fonts/robotoslab-regular-webfont.eot');
    src: url('../assets/fonts/robotoslab-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../assets/fonts/robotoslab-regular-webfont.woff2') format('woff2'),
         url('../assets/fonts/robotoslab-regular-webfont.woff') format('woff'),
         url('../assets/fonts/robotoslab-regular-webfont.ttf') format('truetype'),
         url('../assets/fonts/robotoslab-regular-webfont.svg#roboto_slabregular') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Proxima Nova';
    src: url('../assets/fonts/proximanova-reg-webfont.eot');
    src: url('../assets/fonts/proximanova-reg-webfont.eot?#iefix') format('embedded-opentype'),
         url('../assets/fonts/proximanova-reg-webfont.woff2') format('woff2'),
         url('../assets/fonts/proximanova-reg-webfont.woff') format('woff'),
         url('../assets/fonts/proximanova-reg-webfont.ttf') format('truetype'),
         url('../assets/fonts/proximanova-reg-webfont.svg#proxima_nova_rgregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

/* Reset Bulma presets */
html {
  height: 100%;
}
body {
  background: #e0e0e0;
  font-family: 'Proxima Nova', Helvetica, Verdana, sans-serif;
  /* Sticky footer flexbox */
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
/* Reset column margin to stop overflowing on mobile */
.columns {
  margin: 0;
}
/* Spacer used for home hero */
.spacer {
  margin-top: 30px;
}
/* Sticky footer */
.sticky {
  flex: 1;
}
/* Navbar styling */
/* Change navbar colour */
.hero .navbar {
  color: #E7D4D3;
  min-height: 80px;
}
/* Logo height */
.navbar-item img {
  max-height: 4.4375rem;
}
.navbar-menu {
  letter-spacing: 1px;
}
/* Arrow icon for dropdowns */
.is-hoverable::before {
  position: absolute;
  content: "";
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid #f0f0f0;
  margin-bottom: 15px;
  margin-left: -10px;
  bottom: 0;
  left: 50%;
}
/* Match navbar height */
.navbar-burger {
  height: 80px;
}
/* Link hover animation on mouseover */
.navbar a {
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}
/* Reset text colour for dropdown (transparent) */
.navbar-dropdown {
  color: #000;
}
.navbar-dropdown a {
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
/* Bugfix for transparent navbar hover */
.navbar.is-transparent .navbar-dropdown a.navbar-item:hover {
  background-color: #f5f5f5!important;
}

/* Hero styling */
/* Hero images */
.hero.is-primary #hero-home {
  background: linear-gradient(
      rgba(187,67,70,0.6),
      rgba(187,67,70,0.6)
    ), url('../assets/heroes/homepage.jpg') no-repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-position: center;
}
.hero.is-primary #hero-information {
  background: linear-gradient(
      rgba(187,67,70,0.6),
      rgba(187,67,70,0.6)
    ), url('../assets/heroes/information.jpg') no-repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-position: center;  
}
.hero.is-primary #hero-gallery {
  background: linear-gradient(
      rgba(187,67,70,0.6),
      rgba(187,67,70,0.6)
    ), url('../assets/heroes/gallery.jpg') no-repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-position: center;  
}
.hero.is-primary #hero-timetables {
  background: linear-gradient(
      rgba(187,67,70,0.6),
      rgba(187,67,70,0.6)
    ), url('../assets/heroes/timetables.jpg') no-repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-position: center;  
}
.hero.is-primary #hero-contact {
  background: linear-gradient(
      rgba(187,67,70,0.6),
      rgba(187,67,70,0.6)
    ), url('../assets/heroes/contact.jpg') no-repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-position: center;  
}
.hero.is-primary #hero-duas {
  background: linear-gradient(
      rgba(187,67,70,0.6),
      rgba(187,67,70,0.6)
    ), url('../assets/heroes/duas.jpg') no-repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-position: center;  
}
.hero.is-primary #hero-bayaans {
  background: linear-gradient(
      rgba(187,67,70,0.6),
      rgba(187,67,70,0.6)
    ), url('../assets/heroes/bayaans.jpg') no-repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-position: center;  
}
.hero.is-primary #hero-islamic-living {
  background: linear-gradient(
      rgba(187,67,70,0.6),
      rgba(187,67,70,0.6)
    ), url('../assets/heroes/islamic-living.jpg') no-repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-position: center;  
}
.hero.is-primary #hero-sotw {
  background: linear-gradient(
      rgba(187,67,70,0.6),
      rgba(187,67,70,0.6)
    ), url('../assets/heroes/sotw.jpg') no-repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-position: center;  
}

.hero h1 {
  font-size: 3em;
  font-weight: 100;
}
.hero.is-medium.content h2 {
  font-size: 1.5em;
  font-weight: 600;
}
.hero.is-medium.content > .hero-body {
  padding: 0;
  padding-bottom: 3rem;
  padding-top: 3rem;
  font-size: 1.2rem;
}
.hero.is-medium.content > .hero-body h1 {
  font-size: 1.5em;
  font-weight: 600;
}

/* Button styling */
/* Red button used for most links */
.button.is-primary {
  font-size: 1.2rem;
  width: 280px;
  height: 80px;
  padding-top: 5px;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  background: #ba4346;
  border: 2px solid #ccc;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
/* Overrides for Bulma styling */
.button:hover.is-primary {
  background: rgba(187,67,70,0.6);
  color: #fff;
}
.button:link.is-primary, .button:visited.is-primary {
  text-decoration: none;
  color: #000;
}
.button:focus.is-primary {
  border-color: transparent;
  color: #fff;
}
.button:active.is-primary {
  color: #fff;
}
/* Animated rainbow border outline used for the Full Colour timetable button */
@-webkit-keyframes rainbow {
  0% {border-color: hsl(0, 100%, 50%);}
  100% {border-color: hsl(255, 100%, 50%);}
}
#rainbow {
  border: 2px solid hsl(0, 100%, 50%);
  -webkit-animation: rainbow 5s infinite alternate;
}

/* Homepage styling */
/* Bismillah logo */
#welcome {
  width: 100%;
  max-height: 120px;
  max-width: 280px;
  margin: 0 auto;
  margin-top: -30px;
}

/* Information bar */
#information-bar {
  background-color: #232323;
  padding: 1rem 0.1rem;
}
#information-bar p {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

/* Today styling */
#today {
  text-align: center;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: 6.03rem;
  padding-bottom: 6.03rem;
}
#today h1, h2 {
  font-size: 1.42em;
}
#today h2 {
  text-transform: uppercase;
}
#today .separator {
  width: 30px;
  height: 1px;
  background-color: #c0c0c0;
  margin: 0 auto;
  margin-top: 15px;
  margin-bottom: 7px;
}
/* Overrides for Bulma styling */
#today .columns {
  padding-top: 0.87rem;
}
#today .column {
  text-align: left;
}
#today .column .subtitle {
  font-size: 1.2rem;
}
#today .column img {
  float: right;
  width: 80px;
}

/* Times styling */
#times {
  background: #232323;
  color: #fff;
  text-align: center;
  padding-bottom: 0.8rem;
  padding-top: 0;
  padding-right: 0;
  padding-left: 0;
}
#times .tabs {
  margin-bottom: 0rem;
}
#times .tabs a {
  color: #ccc;
}
#times .tabs li.is-active a {
  background: #ba4346;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  border-bottom: 2px solid #f1c40f;
  color: white;
}
#times .tabs.is-toggle a {
  border-left: 0;
  border-right: 0;
  border-top: 0;
  border-bottom: 2px solid #ccc;
  -webkit-transition: all 0.5s; /* Safari 3.1 to 6.0 */
  transition: all 0.5s;
}
#times .tabs.is-toggle a:hover {
  background: none;
}
#times .tabs.is-toggle .is-active a:hover {
  background: #ba4346;
}
#times .tabs.is-toggle li:first-child a {
  border-radius: 0;
}
#times .tabs.is-toggle li:last-child a {
  border-radius: 0;
}
#times .separator {
  width: 10px;
  height: 1px;
  background-color: #fff;
  margin: 0 auto;
  margin-top: 10px;
  margin-bottom: 10px;
}
#times .column {
  height: 170px;
  font-size: 1.2em;
  font-family: 'Proxima Nova', serif;
  text-transform: uppercase;
  text-align: center;
  border-right: 1px solid grey;
  padding-top: 45px;
}
#times #isha-b {
  border-right: none;
}
#times #isha {
  border-right: none;
}
.tab-content * {
  -webkit-animation: scale 0.7s ease-in-out;
  -moz-animation: scale 0.7s ease-in-out;
  animation: scale 0.7s ease-in-out;
}
@keyframes scale {
  0% { 
    transform: scale(0.9);
    opacity: 0;
    }
  50% {
    transform: scale(1.01);
    opacity: 0.5;
    }
  100% { 
    transform: scale(1);
    opacity: 1;
  }
}

/* Islamic Life pages styling */
.post-summary {
  background:
      url(../assets/img/bg-quote3a.png) top center no-repeat,
      url(../assets/img/bg-quote3b.png) bottom center no-repeat;
  padding-top: 30px;
  padding-bottom: 30px;
  margin-bottom: 50px;
}
.post-summary h2 {
  margin-bottom: 0;
}
.post-summary p {
  margin-bottom: 1em;
}
.post-img {
  display: block;
  margin: 0 auto;
}
.date {
}

/* --- Start of Contact --- */
#contact .column {
  padding: 0;
}

.footer {
  color: white;
  border-top: 1px solid grey;
  height: 80px;
  padding-top: 26px;
  padding-bottom: 26px;
  background: #232323;
  display: block;
    font-size: 1em;
}
.footer .mobile-copyright {
  display: none;
}

.icon-wrapper {
  margin-top: -2.4rem;
}
/* Wrapper for button set */
/* Thanks to Stephen Burgess for this styling! */
.icon-button {
  border-radius: 2.8rem;
  border: 1px #fff solid;
  cursor: pointer;
  display: inline-block;
  font-size: 1.6rem;
  height: 2.8rem;
  line-height: 2.8rem;
  margin: 0 5px;
  position: relative;
  float: right;
  margin-top: -0.6rem;
  text-align: center;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  width: 2.8rem;  
}

/* Circle */
.icon-button span {
  border-radius: 0;
  display: block;
  height: 0;
  left: 50%;
  margin: 0;
  position: absolute;
  top: 50%;
  -webkit-transition: all 0.3s;
     -moz-transition: all 0.3s;
       -o-transition: all 0.3s;
          transition: all 0.3s;
  width: 0;
}
.icon-button:hover span {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 2.8rem;
  margin: -1.4rem;
}
.twitter span {
  background-color: #fff;
}
.maps span {
  background-color: #fff;
}
/* Icons */
.icon-button i {
  background: none;
  color: white;
  height: 2.8rem;
  left: 0;
  line-height: 2.8rem;
  position: absolute;
  top: 0;
  -webkit-transition: all 0.3s;
     -moz-transition: all 0.3s;
       -o-transition: all 0.3s;
          transition: all 0.3s;
  width: 2.8rem;
  z-index: 10;
}

/*.icon-button .fa-map-marker {
  width: 3.1rem;
}*/

.icon-button:hover .fa-twitter {
  color: #000;
}
.icon-button:hover .fa-map-marker {
  color: #000;
}

/* Gallery page styling */
/* Many thanks to lightgallery for this styling! */
#gallery > a > img {
  -webkit-transition: -webkit-transform 0.15s ease 0s;
  -moz-transition: -moz-transform 0.15s ease 0s;
  -o-transition: -o-transform 0.15s ease 0s;
  transition: transform 0.15s ease 0s;
  -webkit-transform: scale3d(1, 1, 1);
  transform: scale3d(1, 1, 1);
}
#gallery > a:hover > img {
  -webkit-transform: scale3d(1.1, 1.1, 1.1);
  transform: scale3d(1.1, 1.1, 1.1);
}
#gallery > ul > li a:hover .thumbnail > img {
  opacity: 1;
}
#gallery > ul > li a .thumbnail {
  background-color: rgba(0, 0, 0, 0.1);
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  -webkit-transition: background-color 0.15s ease 0s;
  -o-transition: background-color 0.15s ease 0s;
  transition: background-color 0.15s ease 0s;
}
#gallery > ul > li a .thumbnail > img {
  left: 50%;
  margin-left: -10px;
  margin-top: -10px;
  opacity: 0;
  position: absolute;
  top: 50%;
  -webkit-transition: opacity 0.3s ease 0s;
  -o-transition: opacity 0.3s ease 0s;
  transition: opacity 0.3s ease 0s;
}
#gallery > ul > li a:hover .thumbnail {
  background-color: rgba(0, 0, 0, 0.5);
}
#gallery> a:hover .thumbnail > img {
  opacity: 1;
}
#gallery > a .thumbnail {
  background-color: rgba(0, 0, 0, 0.1); 
  bottom: 0; 
  left: 0; 
  position: absolute; 
  right: 0; 
  top: 0; 
  -webkit-transition: background-color 0.15s ease 0s;
  -o-transition: background-color 0.15s ease 0s;
  transition: background-color 0.15s ease 0s;
}
#gallery > a .thumbnail > img {
  left: 50%;
  margin-left: -10px;
  margin-top: -10px;
  opacity: 0;
  position: absolute;
  top: 50%;
  -webkit-transition: opacity 0.3s ease 0s;
  -o-transition: opacity 0.3s ease 0s;
  transition: opacity 0.3s ease 0s;
}
#gallery > a:hover .thumbnail {
  background-color: rgba(0, 0, 0, 0.5);
}


/* Cookie Banner */
#cookies-eu-banner {
  background: #444;
  color: #fff;
  padding: 6px;
  font-size: 0.8em;
  text-align: center;
}
/* Buttons for Cookie Banner */
#cookies-eu-accept,
#cookies-eu-reject {
  background: #ba4346;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  border: 1px solid white;
  border-radius: 4px;
  cursor: pointer;
  padding: 4px 7px;
  margin: 2px 0;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
#cookies-eu-accept:hover,
#cookies-eu-accept:focus {
  background: #fff;
  color: #000;
}
#cookies-eu-reject {
  background: none;
  font-weight: normal;
  color: #ccc;
  cursor: pointer;
  padding: 4px 7px;
  margin: 2px 0;
  border: 1px solid grey;
}
#cookies-eu-reject:hover,
#cookies-eu-reject:focus {
  border-color: #fff;
  background: #222;
  color: #fff;
}

/* Mobile styling fixes for navbar changes */
@media (max-width:1024px) {
  .navbar-brand img {
    max-height: 3rem;
  }
  .hero.is-primary .navbar-menu {
    background-color: #232323;
  }
  .navbar-item {
    color: rgba(255,255,255,.7)!important;
  }
  .hero.is-primary a.navbar-item:hover {
    background-color: transparent;
  }
  .is-hoverable::before {
    display: none;
  }
  .navbar-dropdown {
    color: white;
  }
  .hero.is-medium.content {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  #today {
    padding-bottom: 6.5rem;
    padding-top: 5.5rem;
  }
  #today .column {
    padding-bottom: 0;
  }

  #times .tabs {
    font-size: 1.35rem;
  }
  #times .column {
    border-bottom: 1px solid grey;
  }
  #times #isha-b {
    border-bottom: none;
  }
  #times #isha {
    border-bottom: none;
  }

  .footer {
    width: auto;
    font-size: 0.8rem;
  }
  .footer .desktop-copyright {
    display: none;
  }
  .footer .mobile-copyright {
    display: initial;
  }
  .footer .icon-wrapper {
    margin-top: -1.2rem;
  }
}
