/*
Theme Name: Jade's Bunting Website Theme!!
Author: Jeremy Basolo
Author URI: http://www.jeremybasolo.com/
Description: This is the Wordpress theme for Jade's Bunting Website! Wicked!
Version: 1.0
License: GNU General Public License
License URI: license.txt
Tags: Jade's Bunting
*/

@import url(http://fonts.googleapis.com/css?family=Ribeye);
@import url(http://fonts.googleapis.com/css?family=Glass+Antiqua);

body {
  font-family: 'Glass Antiqua', cursive;
  font-size: 18px;
  font-weight: normal;
  background: url(library/img/bg.jpg) repeat;
  margin: 0;
  padding: 0;
}

::selection {
	background:#7adfae;
}

::-moz-selection {
	background:#7adfae;
}

::-webkit-selection {
	background:#7adfae;
}

div::selection {
	color:#fff;
}

div::-moz-selection {
	color:#fff;
}

div::-webkit-selection {
	color:#fff;
}

#holder {
  background: url(library/img/main-bunting.png) center top repeat-x;
  margin: auto 0;
  padding: 0;
}       

h1, h2 {
  margin: 0;
  font-weight: normal;
}

h2 {
  font-size: 22px;
  text-transform: uppercase;
  padding: 5px 0 5px;
  font-weight: bold;
  color: #000;
  font-family: 'Ribeye', cursive;
}

h2 a {
  color: #000;
}

h3 {
  font-weight: bold;
  margin: 15px 0;
  font-size: 15px;
}

p {
  margin: 10px 0;
}

a {
  color: #000;
}

a, img {
  outline: 0;
}

.hide {
  display: none;
}

.clear {
  clear: both;
}

#content, #mainMenu {
  max-width: 960px;
  width: 75%;
  margin: auto;
  position: relative;
  clear: both;          
  padding: 30px;
}

#content {
  margin-top: 20px;
  margin-bottom: 20px;
  background: url(library/img/bg-content.jpg) repeat;
  -moz-box-shadow: 0px 0px 30px #6c6c6c;
  -webkit-box-shadow: 0px 0px 30px #6c6c6c;
  box-shadow: 0px 0px 30px #6c6c6c;
}

.stitchingTop, .stitchingBottom {
  position: absolute;
  width: 101%;
  height: 25px;
  left: -0.5%;
}

.stitchingTop, .stitchingBottom {
  position: absolute;
  width: 101%;
  height: 25px;
  left: -0.5%;
}

.stitchingTop {
  top: -11px;
  background: url(library/img/stitching-top.png) center repeat-x; 
}

.stitchingBottom {
  bottom: -11px;
  background: url(library/img/stitching-bottom.png) center repeat-x; 
}

.stitchingLeft, .stitchingRight {
  position: absolute;
  width: 25px;
  height: 101%;
  top: -0.5%;
}

.stitchingLeft {
  left: -11px;
  background: url(library/img/stitching-left.png) center repeat-y; 
}

.stitchingRight {
  right: -11px;
  background: url(library/img/stitching-right.png) center repeat-y; 
}

#leftContent {
  position: relative;
  float: left;
  width: 62%;
}

#rightContent {
  position: relative;
  float: right;
  width: 35%;
}

#rightContent ul, #rightContent h2 { padding: 0; }

#rightContent ul li {
  list-style: none;
} 

header {
  height: 70px;
}

#mainMenu  {
  width: 600px;
  padding: 0 0 8px 0;
  margin: 0 auto;
  background: url(library/img/bg-content.jpg) repeat;
  -moz-box-shadow: 0px 0px 30px #6c6c6c;
  -webkit-box-shadow: 0px 0px 30px #6c6c6c;
  box-shadow: 0px 0px 30px #6c6c6c; 
}

#mainMenu ul {
  clear: both;
  float: left
  display: block;
  margin: 0 0 0 40px; 
  padding: 0;   
  z-index: 999;
  position: relative;
}

#mainMenu ul li {
  float: left;
  list-style: none;
  margin: 0 5px;
  padding: 0;
  position: relative;
  z-index: 999;     
}

#mainMenu ul li a {
  text-transform: uppercase;
  font-weight: bold;
  text-decoration: none;
  color: #000;
  font-size: 22px;
  padding: 10px;
  display: block;
  text-align: left;
  font-family: 'Ribeye', cursive;
}

#mainMenu ul li a:hover, #mainMenu ul li.current-menu-item a, #mainMenu ul li.current-post-ancestor a, #mainMenu ul li.current-menu-ancestor a, #mainMenu ul li.current-menu-ancestor ul.sub-menu li:hover a{
  text-shadow: 1px 1px 3px #969696;
  text-decoration: overline;
}

#mainMenu ul li.current-menu-ancestor ul.sub-menu li a {
  text-decoration: none;
  text-shadow: none;
} 
  
#mainMenu ul li ul {
  position: absolute;
  padding: 0 0 10px 0;
  width: 200px;
  top: 49px;
  left: -70px;
  display: none;
  background: url(library/img/bg-content.jpg) repeat;
  z-index: 998;
  border: 3px dashed #ddd003;
  border-top: 0;
} 

#mainMenu ul li ul li {
  display: block;           
  width: 100%;
  height: 35px;
  margin: 0 auto;
  padding: 0 0 0 0;
}

#mainMenu ul li ul li a {
  position: relative;
  display: block;
  text-align: center;
  font-size: 14px;
}

#menuOpener {
  display: none;
  width: 100%;
  clear: both;
  position: relative;
  font-family: 'Ribeye', cursive;
}

/* GALLERY STYLE */
.gallery {
  padding: 0;
  margin: 10px 0;
  clear: both;
  text-align: center;
}

.gallery li {
  list-style: none;
  margin: 5px;
  padding: 0;
  display: inline-block;
}

.gallery li a img {
  border: 2px solid #000;
  -moz-box-shadow: 0px 0px 5px #000000;
  -webkit-box-shadow: 0px 0px 5px #000000;
  box-shadow: 0px 0px 5px #000000;
}

/* HOMEPAGE STYLE */
.home h1 {
  color: #000;
  font-family: 'Ribeye', cursive;
  font-size: 53px;
  font-weight: bold;
  text-transform: uppercase;
  text-shadow: 1px 1px 10px #969696;
  margin: -12px 0 0 0;
}

.home #rightContent h2 {
  padding: 0 10px 5px;
  margin: 0 0 10px;
  border-bottom: 2px dashed #1d1d2b;
}

.home .news a {
  text-decoration: none; color: #000;
  display: block;
}

.home .news {
  padding: 0; 
  margin: 0;
}

.home .news li {
  padding: 6px 10px 10px;
  margin: 0px 0;
  float: left;
}

.home .news li:hover {
  border: 1px dashed #000;
  -moz-box-shadow: 0px 0px 5px #000000;
  -webkit-box-shadow: 0px 0px 5px #000000;
  box-shadow: 0px 0px 5px #000000;
}

.home .news li h3 {
  font-size: 18px;
  margin: 0;
  padding: 0;
}

.home .news li div p {
  margin: 0;
  font-size: 16px;
}

.home .news li img {
  width: 70px;
  height: 70px;
  float: left;
  margin: 7px 3% 0 0;
  -moz-box-shadow: 0px 0px 3px #000000;
  -webkit-box-shadow: 0px 0px 3px #000000;
  box-shadow: 0px 0px 3px #000000;
}

/* News section */
.newsItem {
  margin: 20px 0 25px;
  border: 2px dashed #1d1d2b;
  width: 41%;
  margin: 2%;
  padding: 2%;
  position: relative;
  display: inline-block;
  vertical-align: top;
}

article:hover.newsItem {
  -moz-box-shadow: 0px 0px 10px #000000;
  -webkit-box-shadow: 0px 0px 10px #000000;
  box-shadow: 0px 0px 10px #000000;
}

.newsItem a {
  text-decoration: none;
  color: #000;  
  display: block;
}

.newsItem h3 {
  font-size: 22px;
  margin: 0;
  display: block;
}

.newsItem p {
  display: block;
}

.newsItem .date {
  font-size: 14px;
  font-style: italic;
  display: block;
}

.newsItem img {
  float: left;
  margin: 0 20px 0 0; 
  -moz-box-shadow: 0px 0px 7px #000000;
  -webkit-box-shadow: 0px 0px 7px #000000;
  box-shadow: 0px 0px 7px #000000;
  display: block;
  width: 150px;
  height: 150px;
}

.single img.thumb { 
  -moz-box-shadow: 0px 0px 7px #000000;
  -webkit-box-shadow: 0px 0px 7px #000000;
  box-shadow: 0px 0px 7px #000000;
  width: 300px;
  float: left;
  margin: 0 20px 20px 0;
}

.newsContent {
  margin-bottom: 20px;
  display:block;
  min-height: 290px;
}

h3.dates {
  margin: 5px 0 20px;
  font-weight: normal;
  font-size: 17px;
  font-style: italic;
}

body #cboxTitle, body #cboxCurrent {
  font-size: 16px;
}
.formContainer {
  margin-top: 20px;
  padding-top: 10px;
  border-top: 2px dashed #000;
}
.contactForm label {
  font-weight: bold;
  display: block;
}
.contactForm span {
  font-weight: normal;
  font-style: italic;
  display: block;
  font-size: 16px;
} 
.contactForm input[type=text] {
  width: 250px;
  height: 20px;
  padding: 5px 10px;
  font-size: 14px;
}
.contactForm textarea {
  width: 98%;
  height: 250px;
  padding: 1%;
}
.contactForm input[type=submit] {
  padding: 10px 20px;
  cursor: pointer;
}
.rightAlign {
  text-align: right;
}
.error{
  background-color:#fdbbbb;
}
/* 1024 screens */
@media only screen and (max-width : 1024px) {

  .home h1 {
    font-size: 40px; text-shadow: 1px 1px 8px #969696; margin: -8px 0 0 0;
  }
  
  .home .news li img {
    width: 50px; height: 50px;
  }
  
  .newsItem img {
    width: 110px; height: 110px;
  }
  
  .newsItem {
    width: 38%;       
    padding: 3%;
    margin: 2%;
  }
  
}

/* 800 screens */
@media only screen and (max-width : 800px) {
          
  #leftContent, #rightContent {
    width: 100%;
  } 

  #rightContent {
    margin-top: 5%;
  }
  
  .newsItem img {
    width: 80px; height: 80px;
  }
  
  .newsItem {
    width: 90%;
  }

  .single img.thumb { 
    width: 150px;
  }
}

/* Small screens */
@media
  only screen and (-webkit-min-device-pixel-ratio : 1.5),
  only screen and (min-device-pixel-ratio : 1.5),
  only screen and (max-width : 480px) {

  /* Styles */
  body {
    -webkit-background-size: 40%;
	  -moz-background-size: 40%;
	  -o-background-size: 40%;
	  background-size: 40%;
  }
  
  .home h1 {
    font-size: 22px;
    text-align: center;
    text-shadow: 1px 1px 5px #969696;
  }     
  
  h2 {
    font-size: 17px;
  }                       

  #content {
    -moz-box-shadow: 0px 0px 10px #6c6c6c;
    -webkit-box-shadow: 0px 0px 10px #6c6c6c;
    box-shadow: 0px 0px 10px #6c6c6c;
  }

  #leftContent, #rightContent {
    width: 100%;
  }
  
  header {
    width: 99%;
    margin: 0 auto;
  }
  
  #content {
    width: 72%;
  }

  #rightContent {
    margin-top: 5%;
  }

  .home .news li img {
    margin-right: 8%;
  }

  header {
    padding: 0;
  }
  
  header {
    height: inherit;
  }
  
  header .stitchingLeft, header .stitchingRight {
    display:none;
  }
    
  #mainMenu, #mainMenu ul {
    padding: 0;
    margin: 0 auto;
    width: 100%;
  }         
  
  #mainMenu {
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
  }
  
  #mainMenu ul {  
    display: none;
  }  

  #mainMenu ul li {
    list-style: none;
    width: 100%;
    clear: block;
    margin: 0;
  }

  #mainMenu ul li a {
    background: url(library/img/bg-content.jpg) repeat;
    color: #000;      
    cursor: pointer;
    height: 5px;   
    border-bottom: 2px dashed #000;
    line-height: 10px;
    padding-top: 0;
  }

  #mainMenu ul li ul {
    display: none;
    position: relative;
    width: 100%;
    margin: 0 0 10px;
    top: 0;
    left: 0;
    border: 0;
    padding: 0;
  }
  
  #mainMenu ul li.current-post-ancestor a, #mainMenu ul li.current-menu-ancestor a, #mainMenu ul li.current-menu-item a, #mainMenu ul li a:hover {
    text-decoration: inherit;
    text-shadow: inherit;
    color: #000;
  }

  #mainMenu ul li ul li {
    height: inherit;
    height: 50px;
  }
  
  #mainMenu ul li ul li a {
    font-size: 12px;
    font-style: italic;
    font-weight: normal;
    padding: 15px 0 20px;
    color: #000;                   
    background: url(library/img/bg-content.jpg) repeat;
  }

  #menuOpener {
    background: url(library/img/bg-content.jpg) repeat;
    color: #000;      
    display: block;
    padding: 15px 0 20px 0;
    margin: 0;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
  }
  
  nav .stitchingBottom { display: block; }
  
  #mainMenu ul li a {
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    font-size: 16px;
    display: block;
    padding: 20px 0 25px;
    margin: 0;       
    width: 100%;
  }

  .gallery li {
    margin: 2px;
  }

  .gallery li a img {
    width: 65px;
    height: 65px;
  }

  #holder {
    background: url(library/img/main-bunting.png) center 58px repeat-x;
  }

  .home #rightContent h2 {
    border-top: 2px dashed #1d1d2b;
    padding-top: 5px;
    font-size: 17px;
  }

  .home .news li img {
    width: 50px; height: 50px;
  }
  
  .home .news li a, .home .news li a p {
    font-size: 15px;
  }
    
  .home .news li h3, .home .news li div {
    float: left;
    width: 65%;
  }
  
  .newsItem {
    width: 85%;       
    padding: 5%;
    margin: 5% 2%;
  }
  
  .newsItem img {
    width: 60px;
    height: 60px;
    margin-bottom: 5px;
  }
  
  .newsItem h3 {
    font-size: 19px;
  }
  
  .single img.thumb { 
    width: 100px; 
    margin-bottom: 13px;
  }
  
  .contactForm input[type=text] {
    width: 90%;
  }
}  