/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * 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.
 */

/* ==========================================================================
   CSS RESET
   Adapted from Eric Meyer's CSS Reset Reloaded
http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/
   ========================================================================== */
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, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0; padding: 0; border: 0; outline: 0;	font-weight: inherit;	font-style: inherit;	font-size: 100%; line-height: 100%;	font-family: inherit;	vertical-align: baseline; }

:focus {outline: 0;}

ol, ul {list-style: none;}

table {border-collapse: separate;border-spacing: 0;}

caption, th, td {text-align: left;font-weight: normal;}

img {border: 0;}

/* Font normalization inspired by YUI Library's fonts.css: developer.yahoo.com/yui/ */

body { font:13px/1.231 sans-serif; *font-size:small; } /* Hack retained to preserve specificity */

pre, code, kbd, samp { font-family: monospace, sans-serif; }

/* Always force a scrollbar in non-IE */
html { overflow-y: scroll; }

a:hover, a:active { outline: none; }

small { font-size: 85%; }
strong, th { font-weight: bold; }

td { vertical-align: top; }

textarea { overflow: auto; } /* www.sitepoint.com/blogs/2010/08/20/ie-remove-textarea-scrollbars/ */

/* Align checkboxes, radios, text inputs with their label by: Thierry Koblentz tjkdesign.com/ez-css/css/base.css  */
input[type="radio"] { vertical-align: text-bottom; }
input[type="checkbox"] { vertical-align: bottom; }
.ie7 input[type="checkbox"] { vertical-align: baseline; }
.ie6 input { vertical-align: text-bottom; }

/* Hand cursor on clickable input elements */
label, input[type="button"], input[type="submit"], input[type="image"], button { cursor: pointer; }


/* Make buttons play nice in IE:
   www.viget.com/inspire/styling-the-button-element-in-internet-explorer/ */
button {  width: auto; overflow: visible; }


/*** universal styles ***/

h1, h2, h3, h4, h5, h6 {
	font-size: 100%;
	font-weight: bold;
	line-height: 1.2em;
	margin-bottom: 12px;
}

h1 {
	font-size: 1.9em;
}

h2 {
	font-size: 1.5em;
}

h3 {
	font-size: 1.6em;
}

h4 {
	font-size: 1.4em;
}

h5 {
	font-size: 1.2em;
}

h6 {
	font-weight: bold;
}

ul, ol {list-style:none;}
p, li, blockquote {line-height: 1.6em}
a {color: #0000FF; text-decoration: none;}
a:hover {text-decoration: underline;}

a img {border: none;}

acronym, abbr {cursor:help; border-bottom:1px dashed #999;}
strong, b {font-weight: bold;}
em, i {font-style: italic;}

.clear, .clearfix {clear:both;}

.center {text-align: center;}

.hidden {display: none }

.error-box {background: #FFBCBC; padding: 8px 8px 8px 30px; font-size: 0.85em}
.error-box li {margin: 0 0 4px; color: #5E0000}

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

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

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

/*
 * 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, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

.aligncenter {display: block; margin-right: auto; margin-left: auto;}
.alignleft {margin: 15px 15px 0 0; float: left;}
.alignright {margin: 15px 0 0 15px; float: right;}
.centertext {text-align: center;}
.centertitles h2,.centertitles h3,.centertitles h4,.centertitles h5,.centertitles h6 {text-align: center;}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

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

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

/*** Universal ***/

.inner_wrapper {
	background: white;
	width: 958px;
	margin: 0 auto;
	margin-bottom: 40px;
	box-shadow: 5px 5px 20px #222;
}   

.inner_wrapper.sidebar_page {
	background: #203643;
}
   
/*** Header ***/

.header_image {
	background: #c9c3a8 url(../images/jb_logo_header.png) no-repeat;
	background-position: 325px 0;
	height: 200px;
}

.navigation {
	background: #667884; /* Old browsers */
	background: -moz-linear-gradient(top,  #667884 0%, #203643 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#667884), color-stop(100%,#203643)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #667884 0%,#203643 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #667884 0%,#203643 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #667884 0%,#203643 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #667884 0%,#203643 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#667884', endColorstr='#203643',GradientType=0 ); /* IE6-9 */
	text-align:center;
	font-family: verdana,geneva;
}

.navigation li {
	display: inline-block;
	padding: 10px;
	color: white;
	border-right: white 1px solid;
	
	-moz-transition: background-color .5s ease;
	-webkit-transition: background-color .5s ease;
	-o-transition: background-color .5s ease;
	-ms-transition: background-color .5s ease;
	transition: background-color .5s ease;
	
}

.navigation li:hover {
	background: #5c7f93;
}

.navigation li a{
	color: white;	
}

.navigation li a:hover{
	text-decoration: none;
}

.navigation .last_instance {
	border: 0;
}

/*** Content area ***/

body {
	background: #646f5e;
	font-family: "Times New Roman",verdana,geneva;
	font-size: 15px;
}

p {
	padding: 10px 0;
}

a {
	color: #72918B;
	
	-moz-transition: color .5s ease;
	-webkit-transition: color .5s ease;
	-o-transition: color .5s ease;
	-ms-transition: color .5s ease;
	transition: color .5s ease;
	
}

a:hover {
	color: #203643;
	text-decoration: none;
}

h1 {
	
}

h2 {
	margin-bottom: 0;
}

h3 {
	margin: 10px 0;
}

.page_content {
	
	background: white;
	border-right: #ccc 1px solid;
	float: left;
	width: 707px;
	padding: 15px;
	
}

.home_text_wrangler {
	float: right;
	width: 410px;
}

.page_content.full_width {
	width: 928px;
	border:0;
}

.sidebar {
	background: #203643;
	float: left;
	width: 220px;
	
}

.sidebar .widget {
	padding: 15px 15px 0 15px;
	
}
.sidebar p {
	color: white;
}
.sidebar a:hover {
	color: white;
}

/*** Footer ***/

.disclaimer {
	text-align: center;
}

/*** Specifics ***/

.home_icon_container {
	margin: 0 auto;
	width: 640px;
}

.home_icon_container .home_icon {
	display: inline-block;
	width: 300px;
	vertical-align: top;
	padding:10px;
}

.home_icon_container .home_icon p{
	float:right;
	width: 70%;
}

.mf_contact_form {
	width: 210px;
	text-align: right;
	margin: 10px 0;
}

.email_button {
	display:block;
	width: 189px;
	height: 44px;
	background: #203643;
	position: relative;
	text-align:center;
	border-radius: 10px;
	
	-moz-transition: background-color .5s ease;
	-webkit-transition: background-color .5s ease;
	-o-transition: background-color .5s ease;
	-ms-transition: background-color .5s ease;
	transition: background-color .5s ease;
	
}

.email_button:hover {
	background: #5c7f93;
}

.email_button p{
	padding: 10px;
	color: white;
}

.menu_subscribe {
	position: relative;
}

.menu_subscribe  p {
	padding: 0;
}

.email_button img, .email_button input, .menu_subscribe img, .menu_subscribe input {
	position: absolute;
	left:0;
	top:5px;
	opacity: 0;
	filter:alpha(opacity=0);
	width: 100%;	
}

/* ==========================================================================
   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,
.cf:before,
.cf:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after,
.cf:after {
    clear: both;
}

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

.clearfix,
.cf {
    *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;
    }
}
