/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

a {
    color: #00e;
}

a:visited {
    color: #551a8b;
}

a:hover {
    color: #06e;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

html {
    background: #272727;
}
body {
    height: 100%;
    margin: 0 auto;
    min-width: 320px;
    overflow: hidden;
    position: relative;
    width: 100%;
    background: #FFFFFF;
    font-family: verdana,arial,sans-serif;
}
#header {
    padding-bottom: 1px;
    background: #561f7e;
}
#header h1 {
    text-indent: -9999px;
    background: url(../img/logo.jpg) no-repeat;
    width: 320px;
    height: 46px;
    margin: 0 auto 5px;
}
#header #telno, #header #email {
    display: block;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 10px;
    font-family: verdana,arial,sans-serif;
    text-transform: lowercase;
    font-size: 10px;
}
#header #email {
    margin-bottom: 20px;
}
#header #telno, #header #telno a, #header #email, #header #email a  {
    font-size: 12px;
    color: white;
    font-weight: bold;
    text-decoration: none;
}
#header #nav {
    width: 240px;
    height: 44px;
    margin: -5px auto 10px;
    background: #FFF;
    border: 1px solid #e3e3e3;
}
#header #nav > a {
    display: block;
    height: 44px;
    line-height: 46px;
    padding: 0 20px;
    text-decoration: none;
    color: #000;
    text-transform: uppercase;
    font-size: 11px;
}
#header #nav #arrow {
    display: block;
    width: 12px;
    height: 9px;
    background: url(../img/arrow-down.png) no-repeat;
    float: right;
    position: relative;
    top: -26px;
    right: 20px;
}
#header #nav #arrow.up {
    background: url(../img/arrow-up.png) no-repeat;
}
#header #nav-list {
    margin-bottom: 20px;
}
#header #nav-list a {
    width: 240px;
    margin: 0 auto;
    background: #FFF;
    display: block;
    height: 35px;
    line-height: 38px;
    padding: 0 20px;
    text-decoration: none;
    color: #000;
    text-transform: uppercase;
    font-size: 11px;
    border-bottom: 1px solid #e3e3e3;
    text-align: center;
}
#nav-list a:last-child {
    border-bottom: none;
}
#border {
    background: #e3e3e3;
    height: 1px;
}

.swipe {
  overflow: hidden;
  visibility: hidden;
  position: relative;
}
.swipe-wrap {
  overflow: hidden;
  position: relative;
}
.swipe-wrap > div {
  float:left;
  width:100%;
  position: relative;
}
.swipe-wrap > div > img {
  float:left;
  width:100%;
  position: relative;
}

#main {
    background: #FFF;
    padding-bottom: 10px;
}
#main a {
    color: black;
}
#main .module {
    width: 90%;
    margin: 10px auto;
    box-shadow: 0 1px 1px #BABABA;
    background: none repeat scroll 0 0 #FFFFFF;
}
#main .module h3 {
    background: url(../img/headline-background.jpg) repeat-x scroll center top #EBEBEB;
    border-bottom: 1px solid #CDCDCC;
    border-top: 1px solid #FFFFFF;
    color: #1C1C1C;
    font-family: cambria,serif;
    font-size: 1.2em;
    font-weight: normal;
    line-height: 20px;
    margin: 0;
    padding: 15px 12px 14px;
}
#main .module .mod-content {
    padding: 2px 12px;
    font-size: 11px;
}
#main .module .mod-content ul {
    margin-left: -25px;
}
#main .module .mod-content li {
    list-style: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAFUlEQVQImWPoP9TzH4YZYIB4QaIBAMZHGb25xh1BAAAAAElFTkSuQmCC") no-repeat;
}
#main .image img {
    width: 100%;
    height: auto;
}
#main .image.small {
    width: 200px;
    height: auto;
    margin: 0 auto;
}
#main .image.one {
    width: 150px;
    height: auto;
    margin: 0 auto;
}
#main .image.two {
    width: 278px;
    max-width: 90%;
    height: auto;
    margin: 0 auto;
}
#main .button {
    display: block;
    width: 200px;
    height: 30px;
    line-height: 30px;
    margin: 0 auto;
    text-align: center;
}
#main.gallery .image {
    margin: 10px 0;
}
br.clear {
    clear: both;
    float: none;
}
#main.products .prod-img {
    float: left;
    padding: 0 5px 5px 0;
}
#main.products .mod-content.product p {
    padding: 5px 0px 5px 0px;
}
#main.products .price, .prod-info {
    width: 50%;
    float: left;
    min-height: 30px;
    line-height: 30px;
    margin-bottom: 10px;
}
#main.products .price {
    font-weight: bold;
    color: red;
}
#main.products .prod-info {
    display: block;
    text-align: center;
    width: 48%;
}
#main.products .prod-info {
    -moz-box-shadow:inset 0px 1px 0px 0px #9649d1;
    -webkit-box-shadow:inset 0px 1px 0px 0px #9649d1;
    box-shadow:inset 0px 1px 0px 0px #9649d1;
    background-color:#571e7f;
    -moz-border-radius:6px;
    -webkit-border-radius:6px;
    border-radius:6px;
    border:1px solid #49196d;
    display:inline-block;
    color:#ffffff;
    font-family:arial;
    font-size:15px;
    font-weight:bold;
    text-decoration:none;
    text-shadow:1px 1px 0px #2e172e;
}
#main.products .prod-info:hover {
    background-color:#49196d;
}
#main.products .prod-info:active {
    position:relative;
    top:1px;
}

#footer {
    background: #FFF;
    padding-top: 10px;
    clear: both;
    float: none;
}
#footer p {
    text-transform: uppercase;
    font-size: 10px;
    color: #000;
    text-align: center;
    margin: 0;
}
#footer p a, #footer p a:hover, #footer p a:visited {
    color: #000;
}
#footer #full-site {
    text-transform: uppercase;
    text-decoration: none;
    font-size: 10px;
    color: #000;
    display: block;
    width: 100%;
    padding: 10px 0;
    text-align: center;
}
#footer #full-site:hover {
    text-decoration: underline;
}









/* ==========================================================================
   Helper classes
   ========================================================================== */

/* Prevent callout */

.nocallout {
    -webkit-touch-callout: none;
}

.pressed {
    background-color: rgba(0, 0, 0, 0.7);
}

/* A hack for HTML5 contenteditable attribute on mobile */

textarea[contenteditable] {
    -webkit-appearance: none;
}

/* A workaround for S60 3.x and 5.0 devices which do not animated gif images if
   they have been set as display: none */

.gifhidden {
    position: absolute;
    left: -100%;
}

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    background-repeat: no-repeat;
    border: 0;
    direction: ltr;
    display: block;
    overflow: hidden;
    text-align: left;
    text-indent: -999em;
}

.ir br {
    display: none;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/**
 * Clearfix helper
 * Used to contain floats: h5bp.com/q
 */

.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 800px) {
    /* Style adjustments for viewports that meet the condition */
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* Style adjustments for viewports that meet the condition */
}

.rssBody ul {
    padding: 0;
}
.rssHeader a {
    display: block;
    width: 100%;
    text-align: center;
    margin: 10px 0;
}
.rssRow {
    list-style: none;
    width: 90%;
    margin: 10px auto;
    box-shadow: 0 1px 1px #BABABA;
    background: none repeat scroll 0 0 #FFFFFF;
}
.rssRow h4 {
    margin: 0 0 5px 0;
}
.rssRow h4 a {
    background: url(../img/headline-background.jpg) repeat-x scroll center top #EBEBEB;
    border-bottom: 1px solid #CDCDCC;
    border-top: 1px solid #FFFFFF;
    color: #1C1C1C;
    font-family: cambria,serif;
    font-size: 1.2em;
    font-weight: normal;
    line-height: 16px;
    margin: 0 auto;
    padding: 15px 12px 14px;
    display: block;
}
.rssRow > div {
    padding: 2px 12px;
    font-size: 11px;
}
.rssRow p {
    padding: 2px 12px 20px 12px;
    font-size: 12px;
}
#facebook, #twitter {
    display: block;
    width: 35px;
    height: 35px;
    margin-right: 5px;
    text-indent: -9999px;
    float: left;
}
#social {
    width: 320px;
    margin: 0 auto;
    height: 35px;
}
#facebook {
    background: url(../img/fb.jpg);
    margin-left: 5px;
}
#twitter {
    background: url(../img/tw.jpg);
}
#strapline {
    float: right;
    display: block;
    width: 230px;
    margin-right: 5px;
    background: url(../img/strap.jpg) left center no-repeat #561e7f;
    height: 35px;
    font-size: 9px;
    color: white;
    line-height: 12px;
}
#strapline p {
    padding-left: 30px;
    margin-top: 5px;
    letter-spacing:-0.5px
}
#twitter-widget {
    width: 90%;
    margin: 0 auto;
}
.twitter-timeline {
    width: 100%;
    margin: 0 auto;
    align: middle;
}
@media only screen and (-webkit-min-device-pixel-ratio: 2) {
     #header h1 {
          background: url(../img/logo@2x.jpg) no-repeat;
          background-size: 320px 46px;
     }
     #facebook {
    background: url(../img/fb@2x.jpg);
    background-size: 35px 35px;
    }
    #twitter {
        background: url(../img/tw@2x.jpg);
        background-size: 35px 35px;
    }
    #strapline {
        background: url(../img/strap@2x.jpg) left center no-repeat #561e7f;
        background-size: 35px 35px;
    }
}