/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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, sub, sup, 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, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* Default Styles 
--------------------------------------------------------------------*/

body {
	background: url('img/leather_1.png');
	font-family: 'Droid Sans', sans-serif;;
}

.clearfix {
	clear: both;
}

.wrap {
	/* width: 840px; */
	margin: 1em;
}

nav {
	background: -webkit-gradient(linear, center top, center bottom, from(#fff), to(#ccc));
	background-image: linear-gradient(#fff, #ccc);
	border-radius: 6px;
	box-shadow: 0px 0px 4px 2px rgba(0,0,0,0.4);
	padding: 0 10px;
	position: relative;
}

.menu li {
	float: left;
	position: relative;
}

.menu li a {
	color: #111;
	display: block;
	font-size: 16px;
	font-weight: bold;
	line-height: 20px;
	padding: 6px 12px;
	margin: 2px 2px;
	vertical-align: middle;
	text-decoration: none;
}

.menu li a:hover {
	background: -webkit-gradient(linear, center top, center bottom, from(#ededed), to(#fff));
	background-image: linear-gradient(#ededed, #fff);
	border-radius: 12px;
	box-shadow: inset 0px 0px 1px 1px rgba(0,0,0,0.1);
	color: #222;
}

/* Dropdown styles */

.menu ul {
	position: absolute;
	left: -9999px;
	list-style: none;
	opacity: 0;
	transition: opacity 0.5s ease;
	z-index: 9;
}

.menu ul li {
	float: none;
}

.menu ul a {
	white-space: nowrap;
}

/* Displays the dropdown on hover and moves back into position */
.menu li:hover ul {
	/* background: rgba(255,255,255,0.7); */
	background: rgba(255,255,255,1);
	border-radius: 0 0 6px 6px;
	box-shadow: inset 0px 2px 4px rgba(0,0,0,0.4);
	left: 5px;
	opacity: 1;
}

/* Persistant Hover State */
.menu li:hover a {
	background: -webkit-gradient(linear, center top, center bottom, from(#ccc), to(#ededed));
	background-image: linear-gradient(#ccc, #ededed);
	border-radius: 12px;
	box-shadow: inset 0px 0px 1px 1px rgba(0,0,0,0.1);
	color: #222;
}

.menu li:hover ul a {
	background: none;
	border-radius: 0;
	box-shadow: none;
}

.menu li:hover ul li a:hover {
	background: -webkit-gradient(linear, center top, center bottom, from(#eee), to(#fff));
	background-image: linear-gradient(#ededed, #fff);
	border-radius: 12px;
	box-shadow: inset 0px 0px 4px 2px rgba(0,0,0,0.3);
}


#link_ads
{
    margin: 5px;
    float: left;
}

.ad_style
{
    text-align: center;
}
body
{
}
h1
{
    font-size: xx-large;
    font-weight: bold;
    text-align: center;
    margin: 1em;
}
.description
{
    font-weight: bold;
    margin: 2em;
    text-align: center;
}
.center_panel
{
    padding-left: 180px;
    padding-top: 10px;
    padding-bottom: 5px;
    padding-right: 20px;
}
.bottompanel
{
    font-size: x-small;
    text-align: center;
}



/* =Responsive Structure
----------------------------------------------- */

/* Smaller than standard 1060 (devices and browsers) */
@media screen and (max-width: 1060px) {
  #wrap
  {
    max-width: 1020px;
  }
}

@media screen and (max-width: 960px) {
  .menu {
    font-size: 18px;		/* allow for fat fingers on tablets and phones */
    line-height: 40px;
  }
  /*  ipad */
  #wrap
  {
    max-width: 750px;
  }
  /* Simplify the basic layout */
  #main #content {
    margin: 0 3%;
    width: auto;
  }
}
  
@media screen and (max-width: 800px) {		/* Nexus 7 is 1280 x 800 */
}
  
@media screen and (max-width: 767px) {
  /*  small tablet */
  #wrap {
    max-width: 580px;
  }
  /* @media (max-width: 650px) Reduce font-sizes for better readability on smaller devices */
  body {
      padding: 0;
  }
  body, input, textarea {
    font-size: 13px;
  }
  /* Floated content doesn't work well at this size */
  .alignleft,
  .alignright {
    float: none;
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-device-width: 650px) {  
}

@media screen and (max-width: 600px) {	/* Nook Tablet is 1024 x 600 */
  #wrap
  {
    max-width: 580px;
  }
}

@media screen and (max-width: 535px)
{
  #wrap
  {
    max-width: 580px;
  }
}

@media screen and (max-width: 479px) {
  /*  iphone */
  #wrap
  {
    max-width: 320px;
  }
  #link_ads
  {
    display: none !important;
    visibility: hidden;
  }

  .center_panel
  {
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
  }

}
@media screen and (max-width: 319px) {
  /* small phone */
  #wrap
  {
    max-width: 100%;
  }
  input[type="text"] {
    width: 98%;
  }
}


/* =Print
----------------------------------------------- */

@media print {
  body {
    background: none !important;
    font-size: 10pt;
  }
  #wrap {
    clear: both !important;
    display: block !important;
    float: none !important;
    max-width: 100%;
    position: relative !important;
  }
  #header {
    border-top: none !important;
    padding: 0;
  }
  #header hgroup {
    margin: 0;
  }
  #header img {
    display: none;
  }
  #navigation {
    display: none;
  }
  #main {
    border-top: none;
    box-shadow: none;
  }
  #primary {
    float: left;
    margin: 0;
    width: 100%;
  }
}

body.cke_editable {
  background: #fff;
}
