/* Extra small devices (phones, up to 480px) */
@media screen and (max-width: 767px) {
  .change-page{
    width: 30%;
  }
  .sura, .introduction{
    font-size: xx-large;
  }
  .ayat {
    padding-bottom: 10px;
    padding-top: 10px;
  }
  .arabic {
    padding-top: 10px;
    padding-bottom: 10px;
  }
}
/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991px) {
  .change-page{
    width: 25%;
  }
  .sura, .introduction{
    font-size: -webkit-xxx-large;
  }
  .suras{
    font-size: xx-large;
  }
  .ayat {
    padding-bottom: 20px;
    padding-top: 20px;
  }
  .arabic {
    padding-top: 10px;
    padding-bottom: 10px;
  }
}
/* tablets/desktops and up ----------- */
@media (min-width: 992px) and (max-width: 1199px) {
  .change-page{
    width: 20%;
  }
  .sura, .introduction{
    font-size: -webkit-xxx-large;
  }
  .suras{
    font-size: xx-large;
  }
  .ayat {
    padding-bottom: 20px;
    padding-top: 20px;
  }
  .arabic {
    padding-top: 10px;
    padding-bottom: 10px;
  }
}
/* large desktops and up ----------- */
@media screen and (min-width: 1200px) {
  .sura, .introduction{
    font-size: -webkit-xxx-large;
  }
  .suras{
    font-size: xx-large;
  }
  .change-page{
    width: 15%;
  }
  .ayat {
    padding-bottom: 20px;
    padding-top: 20px;
  }
  .arabic {
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

.sura {
  color: white;
}

.suraHeading {
  color: #BFA374;
  text-align: center;
}


body {
   padding-top: 50px;
   padding-bottom: 100px;
   background-color: #3f3f42;
}
.rem {
   font-size: 1rem;
   vertical-align: middle;
}
.alert-success a {
   color: #ff7;
   font-weight: bold;
}
.form-spaced label {
   min-width: 29%;
   display: inline-block;
   padding:2%;
} .form-spaced label:hover {
   background: rgba(255,255,200,0.5);
}
.radio-group label, .check-group label {
   overflow: hidden;
}
.radio-group input, .check-group input {
   height: 1px;
   width: 1px;
   position: absolute;
   top: -100px;
}
.radio-group .not-active, .not-active input[type="radio"], .check-group .not-active, .not-active input[type="checkbox"]  {
   color: #3276b1;
   background-color: #fff;
}
.not-active input:focus {
  background: green
}

/* PROFILES */
.tag {
   padding: 0.2em 1em;
   background: #eee;
   font-size: 0.8em;
   line-height: 2.5em;
   border-radius: 0.5em;
} .tag:hover {
   background: #42afde;
   color:#fff;
   cursor: pointer;
}

/* HEADER & NAV STYLES */

header {
   height: 44px;
   position: fixed;
   width: 100%;
   margin-top: -50px;
   z-index: 9999;
   background: -moz-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 70%, rgba(255, 255, 255, 0.87) 80%, rgba(229, 251, 255, 0.6) 100%);
   /* FF3.6-15 */
   background: -webkit-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 70%, rgba(255, 255, 255, 0.87) 80%, rgba(229, 251, 255, 0.6) 100%);
   /* Chrome10-25,Safari5.1-6 */
   background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 70%, rgba(255, 255, 255, 0.87) 80%, rgba(229, 251, 255, 0.6) 100%);
   /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
   filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#99e5fbff', GradientType=0);
   /* IE6-9 */
}
#nav-login .dropdown-menu {
   left: 0;
   right: auto;
}
header nav {
   background: #fff;
} .navbar .dropdown-menu > li > a:hover {
   background: #eee;
   color: #008cba;
}

/* FOOTER STYLES */

footer {
   color: #777;
   text-align: center;
   margin-top: 50px;
}
footer a {
   -webkit-transition: all 0.3s ease-in-out 0s;
   transition: all 0.3s ease-in-out 0s;
}
footer h3 {
   color: #42afde;
}
footer .footer-above {
   background: #333;
   padding-bottom: 2em;
}
footer .footer-below {
   background: #222;
   line-height: 3em;
   color: #aaa;
}
footer .btn-social {
   display: inline-block;
   width: 50px;
   height: 50px;
   border: 2px solid #42afde;
   border-radius: 100%;
   text-align: center;
   font-size: 25px;
   line-height: 200%;
   border: 2px solid #42afde;
   color: #42afde;
}
footer .btn-social:hover {
   color: #104d66;
   background: #42afde;
   border: 2px solid #104d66;
}
footer .navbar-footer li {
   float: none;
   text-align: left;
   display: block;
   *display: inline;
   /* ie7 fix */
   *zoom: 1;
   /* hasLayout ie7 trigger */
}
footer .navbar-footer li a {
   width: 100%;
}
footer .navbar-footer li a:hover {
   background: #42afde;
   color: #222;
}
footer .container {
   margin: 0 auto;
}
footer .navbar-nav > li > a {
   text-shadow: none;
}
footer .navbar-nav {
   float: none;
}
footer input.form-control {
   background: #222;
   color: #ccc;
   border: #000;
}
footer .input-group-addon {
   color: #42AFDE;
   background: #444;
   border: #000;
}
footer .mc_embed_signup .input-group {
   margin-bottom: 10px;
}
footer .mc_embed_signup .btn-primary {
   width: 100%;
}
.mc_embed_signup .input-group {
   margin-bottom: 25px;
}
.clearfix:before, .clearfix:after {
   content: " ";
   display: table;
}
.clearfix:after {
   clear: both;
}
.center-block {
   display: block;
   margin-left: auto;
   margin-right: auto;
}
.pull-right {
   float: right !important;
}
.pull-left {
   float: left !important;
}
.hide {
   display: none !important;
}
.show {
   display: block !important;
}
.invisible {
   visibility: hidden;
}
.text-hide {
   font: 0/0 a;
   color: transparent;
   text-shadow: none;
   background-color: transparent;
   border: 0;
}
.hidden {
   display: none !important;
}
.affix {
   position: fixed;
}

/* HOME PAGE */

#main {
   margin-top: 50px;
   background: url("/gui-bg-ice.jpg") no-repeat fixed;
   background-size: cover;
   padding-bottom: 2em;
   min-height: 80vh;
}
.svg {
   width: 100%;
   height: auto;
}
.navbar-header {
   min-width: 300px;
}
.navbar-brand {
   padding: 0px;
}
.navbar-brand>img, .navbar-brand>object {
   height: 100%;
   padding: 8px;
   width: auto;
}
.carousel {
   height: 50vh;
   min-height: 400px;
   font-family: $font-family-sans-serif;
}
.carousel .item, .carousel .active, .carousel .carousel-inner {
   height: 100%;
}
.carousel .fill {
   width: 100%;
   height: 100%;
   background-position: center top;
   background-size: cover;
   -o-backgro: und-size cover;
}
.carousel .carousel-skew {
   position: absolute;
   top: 0px;
   bottom: 0px;
   right: 50%;
   z-index: 10;
   min-width: 350px;
   color: #fff;
   background: rgba(0, 0, 40, 0.8);
   text-align: left;
   text-shadow: none;
   -webkit-transform: skew(20deg);
   -ms-transform: skew(20deg);
   transform: skew(20deg);
   left: -10%;
   padding: 3% 4% 3% 15%;
}
.carousel .carousel-skew .unskew {
   -webkit-transform: skew(-20deg);
   -ms-transform: skew(-20deg);
   transform: skew(-20deg);
}
.carousel .carousel-skew .unskew p {
   line-height: 1.6em;
   font-size: 1.4em;
   max-width: 500px;
   font-family: $font-family-base;
}
.carousel-inner {
   overflow: visible;
}

/* to allow google suggest autoplaces on bootstrap modal*/
.pac-container {
  z-index: 1051 !important;
}

/* for loader */
.center-screen {
  display: block;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.btn-homepage{
  background-color: transparent;
  border-color: #BFA374;
  color: white;
  width: 100%;
}

.btn-sura-page{
  background-color: #BFA374;
  color: white;
}

.first-row{
  border-top: 0px !important;
}

.swahili{
  color: #d3fffa;
}

.english{
  color: #ffe7da;
}

.masjid-body{
  /*background: url(../assets/dome.png) no-repeat center center fixed;*/
  /*background: url(../assets/bg.gif) no-repeat center center fixed;*/
  background: url(../assets/masjid-background.png) no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: 100vw 100vh;
}

.masjid-body-extended{
  /*background: url(../assets/dome.png) no-repeat center center fixed;*/
  /*background: url(../assets/bg.gif) no-repeat center center fixed;*/
  background: url(../assets/masjid-background-extended.png) no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: 100vw 100vh;
}

.masjid-background-video{
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
}

.masjid-td{
  border-top: 0px !important;
  text-align: center;
  padding-top: 17vh !important;
}

.masjid-sura{
  color: black;
}

.masjidSuraNumber{
  color: white;
  position: fixed;
  bottom: 6vh;
  text-align: center;
  /***
  left: 50%;
  transform: translateX(-50%);
  ***/
  width: 100%;
  font-size: 3vh;
}

.masjidSuraNumberExtended{
  color: white;
  position: fixed;
  bottom: 6vh;
  text-align: center;
  /***
  left: 50%;
  transform: translateX(-50%);
  ***/
  width: 50%;
  /*font-size: 2vh;*/
}

.masjidSuraContent{
  height: 77vh;
  max-height: 77vh;
  padding-left: 50px;
  padding-right: 50px;
}

.masjid-container{
  margin-top: 6vh;
  text-align: center;
}

.loader{
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  background: url('../assets/dome.png') no-repeat;
}
