/**
 * Page styling
 *
 * Style the markup found in page.tpl.php. Also includes some styling of
 * miscellaneous Drupal elements that appear in the $content variable, such as
 * ul.links, .pager, .more-link, etc.
 */

/*
 * Body
 */
body {
  margin: 0;
  padding: 0;
}

#page-wrapper {
}

#page {
}

#skip-link a,
#skip-link a:visited {
  position: absolute;
  display: block;
  left: 0;
  top: -500px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  text-align: center;
  background-color: #666;
  color: #fff;
}

#skip-link a:hover,
#skip-link a:active,
#skip-link a:focus {
  position: static;
  width: 100%;
  height: auto;
  padding: 2px 0 3px 0;
}

/*
 * Header
 */
#header {
  border: 3px solid #000;
  border-collapse: separate;
  width: 100%;
  margin: 0;
  background: url(../images/bug.png) no-repeat 100% 0;
}

#header .section {
}

#header td {
  padding: 0;
}

#logo {
}

#logo img {
  margin: 5px 5px 0;
  padding: 6px 0 1px;
  border: 1px solid #fff;
}
#logo img:hover {
  border: 1px solid #999;
  border-radius: 10px;
  box-shadow: 1px 1px 2px #999;
}

#name-and-slogan {
  text-align: right;
  vertical-align: bottom;
}

h1#site-name,
div#site-name {
  margin: 0;
  font-size: 2em;
  line-height: 1.3em;
}

#site-name a:link,
#site-name a:visited {
  color: #000;
  text-decoration: none;
}

#site-name a:hover,
#site-name a:focus {
  text-decoration: underline;
}

#site-slogan {
  margin: 20px 5px 2px;
}

.region-header {
}

/*
 * Main
 */
#main-wrapper {
  border: 3px solid #000;
  border-top: none;
}

#main {
}

/*
 * Content
 */
#content {
}

#content .section {
}

#mission {
}

.region-content-top {
}

.breadcrumb {
  padding-bottom: 0;
}

h1.title,
h2.title,
h3.title {
  margin: 0;
}

tr.odd {
  background-color: #F8F8F8;
}

tr.even {
  background-color: #FCFCFC;
}

td.active {
  background-color: #F2F2F2;
}

th.active img {
}

div.messages {
}

div.status {
}

div.warning,
tr.warning {
}

div.error,
tr.error {
}

.error  {
}

.warning {
}

.help {
  margin: 1em 0;
}

.more-help-link {
  font-size: 0.85em;
  text-align: right;
}

#content-area {
}

ul.links {
  margin: 1em 0;
  padding: 0;
}

ul.links.inline {
  margin: 0;
  display: inline;
}

ul.links li {
  display: inline;
  list-style-type: none;
  padding: 0 0.5em;
}

.pager {
  clear: both;
  margin: 1em 0;
  text-align: center;
}

.pager a,
.pager strong.pager-current {
  padding: 0.5em;
}

.feed-icons {
  margin: 1em 0;
}

.more-link {
  text-align: right;
}

.region-content-bottom {
}

/*
 * First sidebar (on left)
 *
 * Remember to NOT add padding or margin to your .region-sidebar-first
 * (see the layout.css file.)
 */
.region-sidebar-first {
}

.region-sidebar-first .section {
}

/*
 * Second sidebar (on right)
 *
 * Remember to NOT add padding or margin to your .region-sidebar-second
 * (see the layout.css file.)
 */
.region-sidebar-second {
}

.region-sidebar-second .section {
}

/*
 * Cart / checkout links
 */
#cart {
  padding: 5px 10px 5px 40px;
  background: #fff url(../images/cart.png) no-repeat 10px 50%;
  position: absolute;
  right: 0;
  top: 0;
  border-width: 0 0 2px 2px;
  border-style: solid;
  border-color: #000;
  border-radius: 0 0 0 15px;
}
body.section-admin #cart,
body.section-cart #cart {
  display: none;
}

/*
 * Footer
 */
#footer {
  border: 3px solid #000;
  border-top: none;
}

#footer .section {
}

#footer-message {
  text-align: center;
  padding: 10px;
}

.region-footer {
}

/*
 * Closure
 */
.region-page-closure {
}

/*
 * Drupal boxes
 *
 * Wrapper for Comment form, Comment viewing options, Menu admin, and
 * Search results.
 */
.box {
}

.box h2 {
}

.box .content {
}

/*
 * Misc hacks and overrides
 */
.front #content .title {
  display: none;
}
img.front-bugs {
  padding: 5px;
  border: 1px solid #fff;
}
img.front-bugs:hover {
  border: 1px solid #999;
  border-radius: 10px;
  box-shadow: 1px 1px 2px #999;
}

table.home-subheader {
  margin: 0 0 10px;
}
.home-subheader a {
  border: 1px solid;
  border-radius: 5px;
  padding: 2px 5px;
  text-decoration: none;
  text-shadow: 1px 1px 1px #fff;
  white-space: nowrap;
}
.home-subheader a:hover {
  text-decoration: none;
  background-color: #ddf;
}

div.imagefit {
  text-align: center;
}
.imagefit img {
  border: 1px solid black;
}
@media screen and (max-width: 1152px) {
  .imagefit img {
    width: 600px !important;
    height: 285px !important;
  }
}
@media screen and (max-width: 960px) {
  .imagefit img {
    width: 400px !important;
    height: 190px !important;
  }
}

div.admin {
  padding-top: 0;
}
div.admin-panel {
  margin: 10px 5px;
  padding: 0;
}
div.admin-panel h3 {
  background-color: #000;
  color: #fff;
  margin: 0;
  padding: 5px;
  text-align: center;
  border-radius: 20px 20px 0 0;
}
div.admin-panel .body {
  border-width: 1px 2px 3px 1px;
  border-style: solid;
  border-color: #ccc #000 #000;
  padding: 0 10px;
  border-radius: 0 0 20px 20px;
}

#edit-field-length-0-value {
  width: 7em;
}
.node-form .group-desc .form-checkboxes {
  margin: 0;
}
.node-form .group-desc .form-checkboxes div.form-item {
  float: left;
  padding-right: 1.5em;
}
#edit-field-materials-value-wrapper {
  clear: left;
  padding-top: 1em;
}
.form-submit {
  margin: 10px 5px;
}

ul.pager {
  margin: 1em 0 0.5em 0;
}
ul.pager li a {
  color: #00c;
  padding: 5px 10px;
  border: 2px solid #00c;
  text-decoration: none;
  border-radius: 5px;
}
ul.pager li a:hover {
  background-color: #eef;
  text-decoration: none;
}
ul.pager li a:active {
  color: #00f;
  text-decoration: none;
}
.item-list .pager li {
  padding: 0;
  margin: 0 3px;
}
ul.pager li.pager-current {
  padding: 5px 10px;
  border: 2px solid #006;
  border-radius: 5px;
}

#ad-admin-filter ul {
  list-style: none;
}

div.block-cart-links {
  text-align: center;
}
@media screen and (max-width: 800px) {
  div.block-cart-links {
    text-align: left;
  }
}

img.menuimage {
  padding: 4px 6px 0;
  border: 1px solid #fff;
}
img.menuimage:hover {
  border: 1px solid #999;
  border-radius: 5px;
  box-shadow: 1px 1px 2px #999;
}
.shoppingcart {
  border-bottom: 2px solid #fff;
}
.shoppingcart:hover {
  border-bottom: 2px solid #000;
}

div.contact-form {
  padding: 5px 10px;
  border-width: 2px 3px 3px 2px;
  border-style: solid;
  border-color: #999 #555 #555 #999;
  width: 33%;
  white-space: nowrap;
  margin-left: 10px;
}

.xmas-spiders {
  float: right;
  width: 450px;
  text-align: center;
  margin-top: -1em;
}
.xmas-spiders img {
  border: 2px solid #c00;
  padding: 5px 1px;
  border-radius: 3px;
}
.xmas-spiders img:hover {
  border: 3px solid #c00;
  padding: 4px 0;
}
.xmas-spiders-block {
  text-align: center;
}
.xmas-spiders-block img {
  border: 2px solid #c00;
  padding: 5px 1px;
  border-radius: 3px;
}
.xmas-spiders-block img:hover {
  border: 3px solid #c00;
  padding: 4px 0;
}

/*
 * Markup free clearing (See: http://www.positioniseverything.net/easyclearing.html )
 */
.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

/**
 * Hide elements from all users.
 *
 * Used for elements which should not be immediately displayed to any user. An
 * example would be a collapsible fieldset that will be expanded with a click
 * from a user. The effect of this class can be toggled with the jQuery show()
 * and hide() functions.
 */
.element-hidden {
  display: none;
}

/**
 * Hide elements visually, but keep them available for screen-readers.
 *
 * Used for information required for screen-reader users to understand and use
 * the site where visual display is undesirable. Information provided in this
 * manner should be kept concise, to avoid unnecessary burden on the user. Must
 * not be used for focusable elements (such as links and form elements) as this
 * causes issues for keyboard only or voice recognition users. "!important" is
 * used to prevent unintentional overrides.
 */
.element-invisible {
  position: absolute !important;
  clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px);
}
