/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

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

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

::-moz-selection {
    background: #FFF;
    text-shadow: none;
}

::selection {
    background: #FFF;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

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

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* Generated by Font Squirrel (http://www.fontsquirrel.com) on September 11, 2012 */



@font-face {
    font-family: 'Ericson';
    src: url('../font/ericssonga628-webfont.eot');
    src: url('../font/ericssonga628-webfont.eot?#iefix') format('embedded-opentype'),
         url('../font/ericssonga628-webfont.woff') format('woff'),
         url('../font/ericssonga628-webfont.ttf') format('truetype'),
         url('../font/ericssonga628-webfont.svg#ericsson_ga628regular') format('svg');
    font-weight: normal;
    font-style: normal;

}


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

html {
	height: 100%;
}

body {
	color: #D1C6CA;	
	background-image: url(../img/stillwater_sensory_bg.JPG);
	background-repeat: repeat;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	font-family: Ericson;
	height: 100%;
}

a, a:visited, a:hover {
	color: #D1C6CA;	
}

.caps {
	text-transform: uppercase;
}

div#main {
	height: auto;
	background-color: #000;
	min-height: 100%;
	opacity: 0.8;	
	width: 100%;
}

div#content {
	margin: auto;
	width: 768px;
}

div#logo {
	background-image: url(../img/stillwater_artisinal_logo.png);
	background-repeat: no-repeat;
	background-position: 50% 10px; 	
	-webkit-background-size: contain;
	-moz-background-size: contain;
	-o-background-size: contain;
	background-size: contain;
	height: 220px;
	margin: auto;
	width: 98%;
}

div#title {
	color: #D1C6CA;
	font-size: 150%;
	line-height: 100%;
	margin: auto;
	width: 720px;	
}

div#accordion, div#video {
	margin: auto;
	width: 720px;
}

div#accordion2 {
	margin: auto;
	width: 684px;
}

div#accordion3 {
	margin: auto;
	width: 648px;
}

div.accordion h3 a, div#video h3 {
	font-size: 120%;
	line-height: 100%;
}

div#bottom_spacer {
	height: 160px;
}

h3 a {
	text-decoration: none;
}

#copyright {
	font-size: 80%;
	text-align: center;
	width: 100%;
}








/* ==========================================================================
   Media Queries
   ========================================================================== */

/* iPhone 4 ----------- */
/* Smartphones (portrait and landscape) ----------- */
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 480px) {
/* Styles */

div#main {
	opacity: 0.7;	
}

div#title {
	font-size: 220%;
}

#accordion h3 a, #video h3 {
	font-size: 200%;
}

#accordion p {
	font-size: 200%;
}

#copyright {
	font-size: 120%;
}




}

@media only screen and (device-width: 768px) {
  /* For general iPad layouts */


	
}


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

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

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

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

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

.invisible {
    visibility: hidden;
}

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

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow:none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}