/*
 * -- BASE STYLES --
 * Most of these are inherited from Base, but I want to change a few.
 */
body {
    color: #000000;
font-family:"Helvetica Neue", Arial, sans-serif;
      font-weight:400;
      -webkit-font-smoothing:antialiased;
}

.bodyHolder {
  padding: 10px;
  background: rgba(255,255,255,0.6)
}


*, html {
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

h1,h2,h3,h4,p,li,fieldset,legend,label,select,textarea {
font-family:"Helvetica Neue", Arial, sans-serif;
      font-weight:400;
      -webkit-font-smoothing:antialiased;
}

b {
    font-weight: 400;
}

h2 {
    font-size: 1.3em;
}


h1, h2, h3 {
    //letter-spacing: 0.25em;
    text-transform: uppercase;
    font-weight: 800;
    color: #660d0d;
    border-bottom: 1px solid #660d0d;
}

h3 {
//    background: #660d0d;
//    color: white;
    padding: 5px;
//    text-transform: none;
//    border-radius: 0px 30px 30px 0px;
    margin-bottom: 10px;
    text-align:center;
}

.l-box h2 {
    color: #660d0d;
    margin-top: 0px;
}

p {
    line-height: 1.6em;
}


/*
 * -- Layout Styles --
 */
.l-content {
    margin: 0 auto;
    background: url(images/bg.gif);
}




.l-box {
    padding: 0em 0.5em;
}

@media(min-width: 768px) {

  .l-box {
    padding: 0em 2em;
   }

}


/*
 * -- MENU STYLES --
 * Make the menu have a very faint box-shadow.
 */
.pure-menu {
    box-shadow: 0 1px 1px rgba(0,0,0, 0.10);
}

#secondnavcontainer {
}
/*
 * -- BANNER --
 * The top banner with the headings. By using a combination
 * of `display: table;` and `display: table-cell;`, we can
 * vertically center the text.
 */

.banner, .banner2 {
    background: transparent url('img/picture1.jpg') 0 no-repeat ;
    background-size: cover;
    height: 425px;
    width: 100%;
    margin-bottom: 2em;
    display: table;
    display: none;
}

.banner2 {
  background: transparent url('img/picture2.jpg') 0 no-repeat ;
  background-size: cover;
}

.banner3 {
background: transparent url('img/picture3.jpg') 0 no-repeat ;
background-size: cover
}

.banner4 {
background: transparent url('img/picture4.jpg') 0 no-repeat ;
background-size: cover;}


.banner5 {
background: transparent url('img/picture5.jpg') 0 no-repeat ;
background-size: cover
}

.banner6 {
background: transparent url('img/picture6.jpg') 0 no-repeat ;
background-size:cover;i
}


.banner7 {
background: transparent url('img/picture7.jpg') 0 no-repeat ;
background-size: cover;
}

    .banner-head {
        display: table-cell;
        margin-bottom: 0;
        font-size: 2em;
        color: white;
        font-weight: 500;
        text-shadow: 0 1px 1px black;
	padding: 20px 40px;
        bottom: -5px;
        position: absolute;
    }



/*
 * -- PRICING TABLE WRAPPER --
 * This element wraps up all the pricing table elements
 */
 .pricing-tables,
 .information {
    max-width: 80%;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.5) 
 }
.pricing-tables {
    margin-bottom: 0.5em;
    text-align: center;
}

/*
 * -- PRICING TABLE  --
 * Every pricing table has the .pricing-table class
 */
.pricing-table {
    border: 1px solid #ddd;
    margin: 0 0.5em 2em;
}

/*
 * -- PRICING TABLE HEADER COLORS --
 * Choose a different color based on the type of pricing table.
 */
.pricing-table-free .pricing-table-header {
    background: #519251;
}

.pricing-table-biz .pricing-table-header {
    background: #000000;
}

/*
 * -- PRICING TABLE HEADER --
 * By default, a header is black/white, and has some styles for its <h2> name.
 */
.pricing-table-header {
    background: #111;
    color: #fff;
}
    .pricing-table-header h2 {
        margin: 0;
        padding: 2em;
        font-size: 1em;
        font-weight: normal;

    }


/*
 * -- PRICING TABLE PRICE --
 * Styles for the price and the corresponding <span>per month</span>
 */
.pricing-table-price {
    font-size: 6em;
    margin: 0.2em 0 0;
    font-weight: 100;
}
    .pricing-table-price span {
        display: block;
        text-transform: uppercase;
        font-size: 0.2em;
        padding-bottom: 2em;
        font-weight: 400;
        color: rgba(255, 255, 255, 0.5);
        *color: #fff;
    }



/*
 * -- PRICING TABLE LIST --
 * Each pricing table has a <ul> which is denoted by the .pricing-table-list class
 */
.pricing-table-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
    text-align: center;
}


/*
 * -- PRICING TABLE LIST ELEMENTS --
 * Styles for the individual list elements within each pricing table
 */
.pricing-table-list li {
    padding: 0.8em 0.4em;
    background: #f7f7f7;
    border-bottom: 1px solid #e7e7e7;
}


/*
 * -- PRICING TABLE BUTTON --
 * Styles for the "Choose" button at the bottom of a pricing table.
 * This inherits from Pure Button.
 */
.button-choose {
    border: 1px solid #ccc;
    background: #fff;
    color: #333;
    border-radius: 2em;
    font-weight: bold;
    position: relative;
    bottom: -1.5em;
}

.information-head {
    color: black;
    font-weight: 500;
}

.footer {
    background: #660d0d;
    color: #FFF;
    text-align: center;
}
    .footer a {
        color: #ddd;
    }


/* salaah time */
.tableBorder {
    text-align: center;
    background: floralwhite;
    width: 60%;
    position: absolute;
    bottom: 10px;
    height: 42%;
    left: 21%; 
    z-index: 1000;
}

.tableBorder td {
    padding: 4px;
}

.tableBorder b {
    color: #660d0d;
    font-size: 1.17em;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-weight: 400;
}



.rowOn {
    background-color: #FFFFFF;
    border-bottom: thin solid silver;
}

.rowOff {
    border-bottom: thin solid silver;
}

.rowSpecial {
   font-weight: bold;
   color: #660d0d;
   border-bottom: thin solid silver;
}

.rowToday {
   background-color: #660d0d;
   color: white;
}

#salaat_times_month td {
    padding: 7px;
}

#gmap {
    width: 100%
}

.pure-menu-horizontal {
    text-align: center;
}

/*
 * -- TABLET MEDIA QUERIES --
 * On tablets, we want to slightly adjust the size of the banner
 * text and add some vertical space between the various pricing tables
 */
@media(min-width: 768px) {

    .pure-menu-horizontal {
        text-align: left;
    }

    .banner-head {
        font-size: 3em;
        bottom: 20px;
    }
    .pricing-table {
        margin-bottom: 0;
    }

     /* salaah time */
  .tableBorder {
      left: auto;
      right: 10px;
      width: 250px;  
      height: 315px;
  }

  #address {
  }

  #gmap {
    width: 500px;
  }

}

/*
 * -- PHONE MEDIA QUERIES --
 * On phones, we want to reduce the height and font-size of the banner further
 */
@media (max-width: 480px) {

    .pure-menu-heading img {
        width: 200px;
    }   

}


.memberForm p {
    font-size:12px;
}

.memberForm input {
    width: 160px;
}





/*Fat Erik's Pipelist*/
#secondnav
{
  margin-bottom: 15px;
list-style: none;
padding: 0;
margin: 0;
}

#secondnav li
{
display: inline;
padding: 0;
margin-right: 20px;
}
a, .pure-menu a {
text-decoration: none;
color: #660d0d;
font-weight: 400;
}

.pure-menu a {
font-size:18px;
}

a:hover, .pure-menu li a:hover {
text-decoration:underline;
background:none;
}


/*IE workaround*/
/*All IE browsers*/
* html #secondnav li
{
border-left: 1px solid black;
padding: 0 0.4em 0 0.4em;
margin: 0 0.4em 0 -0.4em;
}

/*Win IE browsers - hide from Mac IE\*/
* html #secondnav { height: 1%; }

* html #secondnav li
{
display: block;
float: left;
}

/*End hide*/
/*Mac IE 5*/
* html #secondnav li:first-child { border-left: 0; }


/* MEDIA QUERIES */

@media (min-width: 768px) {
  .pricing-table {
    height:470px;
    background-color:#f7f7f7;
  }

  .banner {
    background-position: 0 -130px;
  }

}

@media (min-width: 1000px) {
.banner {

    background-position: 0 -200px;
  }
}

@media (min-width: 1200px) {
.banner {

    background-position: 0 -430px;
  }
}



.greg_date_container span::after {
  content: " ";
}

span.greg_year::after {
  content: " | ";
}

.islamic_date_container span::after {
   content: " ";
}

    .islamic_day { display: none; } 

.eventTitle {
   font-size: 18px;
   color:#660d0d;
   font-weight: bold;
}

span.eventTitle::after {
   content: " on ";
}

.eventDate {
  font-size: 18px;
  font-weight:bold;
  
}

.eventImageHolder img {
  width: 100%;
}

.flexslider {
  height: 425px;
  position: relative;
}

.flex-direction-nav, .flex-control-nav, .clone {
  display: none;
}

#cmic-menu {
  position: absolute;
  top: 0;
  background: none repeat scroll 0 0 rgba(255, 255, 255, 0.7);
  z-index:10;
}

.slides {
  margin: 0;
  padding: 0;
}

#cmic-menu li a {
    padding: 8px 8px;
}

@media (min-width: 472px) {
}

@media (min-width: 576px) {
}


@media (min-width: 768px) {
#cmic-menu li a {
    padding: 8px;
}
}


.addressTop {
    display: none;
}

@media (min-width: 1354px) {
.addressTop {
    display: none;
    float: right;
    vertical-align: middle;
    color: #660d0d;
    padding: 15px;
}
#cmic-menu li a {
    padding: 8px 20px;
}


}

.cv li {
   padding-bottom:5px;
   font-size:15px;
}

#entryForm {
  text-align: center;
    border: thin solid silver;
    padding: 5px;
}

.regFor, .entrycode {
 display: block;
    font-size: 30px;
 padding: 10px;
 color: #BAA73D;
 font-weight: 800;
}

.information {
  padding: 10px;
}

#entryForm button {
    width: 250px;
    margin: 10px;
    padding: 8px;

}

#entryFormButtonHolder {
  display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    margin: 10px auto;
}

@media(min-width: 1000px) {
 #entryFormButtonHolder {
   width: 50%;
 }
}

b {
  font-weight: 800 !important
}
