/*
Theme Name: Alchemia Theme
Theme URI: http://www.digourideas.com
Author: Blue Onion
Author URI: http://www.digourideas.com
Description: Alchemia
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: alchemia_blueonion


*/

/* =Notes
--------------------------------------------------------------
This stylesheet uses rem values with a pixel fallback. The rem
values (and line heights) are calculated using two variables:

$rembase:     14;
$line-height: 24;

---------- Examples

* Use a pixel value with a rem fallback for font-size, padding, margins, etc.
	padding: 5px 0;
	padding: 0.357142857rem 0; (5 / $rembase)

* Set a font-size and then set a line-height based on the font-size
	font-size: 16px
	font-size: 1.142857143rem; (16 / $rembase)
	line-height: 1.5; ($line-height / 16)

---------- Vertical spacing

Vertical spacing between most elements should use 24px or 48px
to maintain vertical rhythm:

.my-new-div {
	margin: 24px 0;
	margin: 1.714285714rem 0; ( 24 / $rembase )
}

---------- Further reading

http://snook.ca/archives/html_and_css/font-size-with-rem
http://blog.typekit.com/2011/11/09/type-study-sizing-the-legible-letter/


/* =Reset
-------------------------------------------------------------- */

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

body {
    font-size: .95em;
    line-height: 1.4;
	font-family: Tahoma, Geneva, sans-serif;
}

html,
body {
	height: 100%;	
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

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

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

/*
 * A better looking default horizontal rule
 */

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

/*
 * 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;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
   
a {
	color: #80cad3;
	text-decoration: none;	
}
a:hover {
	text-decoration: underline;	
}

 a:active, a:focus {
   outline: none;
   ie-dummy: expression(this.hideFocus=true);
  }

p {
	margin: 0 0 1em 0;	
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Oswald', sans-serif;
	font-weight: 400;
}

h1 {
	font-size: 30px;	
}
h3 {
	font-size: 20px;
	font-weight: 300;	
	letter-spacing: 1px;
	text-transform: uppercase;
}
.middleContent h3 {
	font-size: 11px;
	font-weight: bold;	
	letter-spacing: 2px;
	text-transform:uppercase
}
.middleContent h3.library {
font-size: 20px;
font-weight: 300;
}
h4 {
	font-size: 11px;	
	margin: 0 0 0 0;
}

h5 {
	font-size: 11px;	
	margin: 0 0 0 0;
	background: url(/img/h5-underline.jpg) left bottom no-repeat;
	padding: 0 0 10px 0;
}

.blue {
	color: #80cad3;
}

strong {
	color: #80cad3;
}

.logo-text {
	text-align: center;	
	padding: 10px 125px 30px 125px;
}

.center {
	text-align: center;	
	padding: 10px 125px;
}

.logoContainer {
	margin: 0px auto;
	width: 960px;
	position: relative;
	z-index: 1;
}

.container {
	margin: 0px auto;
	width: 960px;
	/*min-height: 668px;
    height: 100%;*/
	position: relative;
	z-index: 1;
}

.topPadding {
	height: 150px;	
}

.topPaddingSubNav {
	height: 220px;	
}

#topHeader {
	position: fixed;
	z-index: 999;
	height: 150px;
	width: 960px;
	left: 50%;
	margin-left: -480px;
	background: #fff;
}

#logo {
	position: absolute;
	top: 30px;
	left: 0px;	
}

#nav {
	margin: 25px auto;	
	font-size: 52px;
	line-height: 52px;
	/*font-family: 'Oswald', sans-serif;*/
	font-family: 'bebas_neueregular', sans-serif;
	font-weight: 400;
	color: #b1b1b1;
}

#nav ul {
	list-style: none;
	text-align: center;	
	padding: 0 0;
	margin: 0 0;
}

#nav ul li {
	display: inline;	
	padding: 0 5px;
}

#nav ul li a {
	color: #b1b1b1;
	text-decoration: none;
	width: 140px;
	display: inline-block;	
}

#nav ul li a #what {
	width: 78px;
	height: 48px;
	margin: 0 auto;
	background: url(/img/bee_sprite.jpg) 0 0 no-repeat;
}
#nav ul li a #about {
	width: 78px;
	height: 48px;
	margin: 0 auto;
	background: url(/img/glasses_sprite.jpg) 0 0 no-repeat;
}
#nav ul li a #inform {
	width: 78px;
	height: 48px;
	margin: 0 auto;
	background: url(/img/compass_sprite.jpg) 0 0 no-repeat;
}
#nav ul li a #reach {
	width: 78px;
	height: 48px;
	margin: 0 auto;
	background: url(/img/pen_sprite.jpg) 0 0 no-repeat;
}
#nav ul li a:hover #what,
#nav ul li a:hover #about,
#nav ul li a:hover #inform,
#nav ul li a:hover #reach {
	background-position: 0 -48px;
}

#nav ul li a.active #what,
#nav ul li a.active #about,
#nav ul li a.active #inform,
#nav ul li a.active #reach {
	background-position: 0 -48px;
}


#nav ul li a:hover {
	color: #82d7e2;
	text-decoration: none;	
}

#nav ul li a.active {
	color: #82d7e2;
	text-decoration: none;
}

a.home {
	float: left;
	color: #b1b1b1;
}
a:hover.home {
	float: left;
	color: #82d7e2;
}

#subscribe {
	position: absolute;
	top: 25px;
	left: 50px;
	/*float: left;*/
	font-size: 16px;
	color: #b1b1b1;
	/*margin-left: 50px;*/
}
#search {
	position: absolute;
	top: 25px;
	right: 50px;
	/*float: right;*/
	font-size: 16px;
	color: #b1b1b1;
	/*margin-right: 50px;*/
}
#searchField {
	width: 125px;
	height: 21px;	
	margin: 15px -20px 0 0;
	background: url(/img/search_txt.jpg) no-repeat;
	position: relative;
	display: none;
}
#s {
	width: 90px;
	height: 19px;
	position: absolute;
	top: 1px;
	left: 10px;
	border: none;
	padding: 0 0;
	line-height: 19px;	
}
input#s:focus {
    outline-width: 0;
}
#searchBtn {
	position: absolute;
	top: 3px;
	right: 5px;
	border: none;
	padding: 0 0;
}
#subscribe a,
#search a {

	color: #b1b1b1;
}
#subscribe a:hover,
#search a:hover {
	color: #82d7e2;
	text-decoration: none;
}


#subNav,
#subNav2,
#subNavHome {
	width: 960px;
	margin: 0px auto 0 auto;
	height: 70px;
	line-height: 70px;
	text-align: center;
	font-family: 'Oswald', sans-serif;
	font-weight: 300;
	font-size: 12px;
	color: #9b9b9b;
	text-transform: uppercase;
	background: url(/img/blue_line_sprite.png) center top no-repeat;	
}

#subNav ul,
#subNav2 ul,
#subNavHome ul {
	list-style: none;
	text-align: center;	
	padding: 0 0;
	margin: 0 0;
}

#subNav ul li,
#subNav2 ul li,
#subNavHome ul li {
	display: inline;	
	padding: 0 20px;
}

#subNav ul li a,
#subNav2 ul li a,
#subNavHome ul li a {
	color: #9b9b9b;
	text-decoration: none;
	display: inline-block;	
}
#subNav ul li a:hover,
#subNav2 ul li a:hover,
#subNavHome ul li a:hover {
	color: #82d7e2;
	text-decoration: none;
}

#subNav ul li.active a,
#subNav2 ul li.active a,
#subNavHome ul li.active a {
	color: #82d7e2;
	text-decoration: none;
}

.content {
	width: 873px;	
	min-height: 175px;
	margin: 20px auto 80px auto;
}

.leftImage {
	width: 225px;
	vertical-align: middle;
	float: left;
}
.middleContent {
	width: 400px;	
	padding: 0 50px;
	vertical-align: middle;
	float: left;
	font-size: 11px;
}
.rightTitle {
	width: 148px;	
	vertical-align: middle;
	float: left;
	text-align: left;
}


#footer {
	margin: 0px auto;
	padding: 80px 0 50px 0;
	width: 960px;
	position: relative;
	z-index: 1;
	background: url(/img/pencil_line.png) center 30px no-repeat;
	text-align: center;
}

#social {
	position: absolute;
	top: 0px;
	left: 90px;	
}

#social a {
	padding: 0 5px;	
}

#footerNav {
	position: absolute;
	top: 0px;
	left: 335px;
	font-family: 'Oswald', sans-serif;
	font-weight: 300;
	font-size: 12px;
	color: #9b9b9b;
	text-transform: uppercase;
}


#footerNav ul {
	list-style: none;
	text-align: center;	
	padding: 0 0;
	margin: 0 0;
}

#footerNav ul li {
	display: inline;	
	padding: 0 10px;
}

#footerNav ul li a {
	color: #9b9b9b;
	text-decoration: none;
	display: inline-block;	
}
#footerNav ul li a:hover {
	color: #82d7e2;
	text-decoration: none;
}

#footerNav ul li.active a {
	color: #82d7e2;
	text-decoration: none;
}












#copyright {
	font-family: 'Oswald', sans-serif;
	font-weight: 300;
	font-size: 10px;	
	color: #b1b1b1;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin: 10px 0;
}

#bottomStuff {
	padding: 30px 0 0 10px;	
}


#contactInfo {
	text-align: right;	
}

#map {
	width: 364px;
	height: 259px;
	background: url(/img/map_frame.jpg) no-repeat;
	padding: 19px 0 0 20px;	
}

#contactForm {
	margin: 10px 0;
	padding: 10px 10px;
	width: 364px;
	background: #d8d2d2;
	position: relative;	
}

.txtBoxTo {
	width: 314px;
	height: 45px;
	border: none;
	padding: 0 0 0 50px;
	background: #fff url(/img/form_to.jpg) no-repeat;
	margin: 3px 0;
}

.txtBoxFrom {
	width: 314px;
	height: 45px;
	border: none;
	padding: 0 0 0 50px;
	background: #fff url(/img/form_from.jpg) no-repeat;
	margin: 3px 0;
}

.txtBoxMsg {
	width: 314px;
	height: 180px;
	border: none;
	padding: 15px 0 0 50px;
	background: #fff url(/img/form_msg.jpg) no-repeat;
	margin: 3px 0;
}

.formSubmit {
	position: absolute;
	top: 20px;
	right: -70px;
	padding: 10px 10px;
	background: #e7e3e2;
	border: none;
	color: #7fd7df;
}

.formClear {
	position: absolute;
	bottom: 20px;
	right: -70px;
	padding: 10px 10px;
	background: #e7e3e2;
	border: none;
	color: #7fd7df;
}

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

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

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

/*
 * 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: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.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.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

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

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@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;
    }
}