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

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations 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
   ========================================================================== */
   
/* Generated by Font Squirrel (http://www.fontsquirrel.com) on February 27, 2014 */
@font-face {
    font-family: 'didact_gothicmedium';
    src: url('../fonts/didactgothic-webfont.eot');
    src: url('../fonts/didactgothic-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/didactgothic-webfont.woff') format('woff'),
         url('../fonts/didactgothic-webfont.ttf') format('truetype'),
         url('../fonts/didactgothic-webfont.svg#didact_gothicmedium') format('svg');
    font-weight: normal;
    font-style: normal;

}

body					{ font-size:0.8em; }   

h1						{ color:#444; }
h1 span					{ color:#bbb; }
h1, h2					{ font-family:'didact_gothicmedium', sans-serif; }
h2						{ color:#000; }
h2 img					{ vertical-align:baseline; }
h2.block-title			{ margin-top:0; }

a						{ color:#666; text-decoration:underline; }
a.magnify	{ cursor:-webkit-zoom-in; cursor:-moz-zoom-in; }

.no-margin-top			{ margin-top:0; }
.align-text-center		{ text-align:center; }
.align-text-right		{ text-align:right; }
.separator				{ border-bottom:1px dotted #ccc; }
.separator-top			{ border-top:1px dotted #ccc; }
.tagline				{ font-weight:bold; text-align:left; font-size:1.3em; }

.masthead-ad			{ text-align:center; }

.main-menu		{ list-style:none; padding:1% 0; margin:0; width:100%; }
.main-menu li	{ margin-right:0; margin-bottom:1em;}
.main-menu li a	{ display:block; width:98%; color:#fff; text-decoration:none; background-color:#666; padding:1%; }
.main-menu li a:hover	{ color:#fff; }

.intro					{ font-size:1.8em; }
.single-title			{ font-size:3.4em; margin-top:0; }
.question				{ font-weight:bold; font-size:1.6em; font-family:'didact_gothicmedium', sans-serif; }

img						{ max-width:100%; }
img.profile-hero		{ width:100%; }

.profile-logo			{ margin:0 0 2em; }

header .col				{ margin-top:o; padding-top:0; }  

.cta-button				{ display:inline-block; background-color:#434343; color:#fff; text-decoration:none; font-weight:bold; padding:1em 1.5em; border-radius:10px; }
.sidebar .cta-button	{ background-color:#999; }
a.cta-button:hover		{ background-color:#666; }

.container				{ width:90%; max-width:1200px; margin:0 auto; }
.main					{ float:left; width:100%; box-sizing:border-box; }
.sidebar				{ float:left; width:100%; padding-top:1%; box-sizing:border-box; -moz-box-sizing:border-box; /* Firefox */ }
.hero					{ border-bottom:1px dotted #ccc; }

#facebook-side a, #twitter-side a, #linkedin-side a		{ text-decoration:none; }
a .count					{ text-decoration:none; font-size:2em; padding:5px 0; }

.partners				{ background-color:#434343; text-align:center; padding:2em; border-radius:5px; }
.partners p				{ margin-bottom:2em; }

.footer 				{ font-size:0.8em; border-top:1px dotted #ccc; }
.footer p				{ text-align:center; }

input[type="text"], input[type="email"], textarea		{ padding:0.5em; margin:0.5em 0; width:50%; }
input[type="submit"] 		{ padding:0.5em 1em; background-color:#444; color:#fff; border:none; outline:none; border-radius:5px; }

.section	{ clear:both; margin:0px; padding:0px; }
.col	{ display:block; float:left; margin:1% 0 1% 0; }
.col:first-child	{ margin-left:0; }
.group:before, .group:after	{ content:""; display:table; }
.group:after	{ clear:both; }

.span_1_of_2, .span_2_of_2, .span_1_of_3, .span_2_of_3, .span_3_of_3, .span_1_of_4, .span_2_of_4, .span_3_of_4, .span_4_of_4, .span_1_of_5, .span_2_of_5, .span_3_of_5, .span_4_of_5, .span_5_of_5, .span_1_of_6, .span_2_of_6, .span_3_of_6, .span_4_of_6, .span_5_of_6, .span_6_of_6, .span_1_of_7, .span_2_of_7, .span_3_of_7, .span_4_of_7, .span_5_of_7, .span_6_of_7, .span_7_of_7, .span_1_of_8, .span_2_of_8, .span_3_of_8, .span_4_of_8, .span_5_of_8, .span_6_of_8, .span_7_of_8, .span_8_of_8, .span_1_of_9, .span_2_of_9, .span_3_of_9, .span_4_of_9, .span_5_of_9, .span_6_of_9, .span_7_of_9, .span_8_of_9, .span_9_of_9, .span_1_of_10, .span_2_of_10, .span_3_of_10, .span_4_of_10, .span_5_of_10, .span_6_of_10, .span_7_of_10, .span_8_of_10, .span_9_of_10, .span_10_of_10, .span_1_of_11, .span_2_of_11, .span_3_of_11, .span_4_of_11, .span_5_of_11, .span_6_of_11, .span_7_of_11, .span_8_of_11, .span_9_of_11, .span_10_of_11, .span_11_of_11, .span_1_of_12, .span_2_of_12, .span_3_of_12, .span_4_of_12, .span_5_of_12, .span_6_of_12, .span_7_of_12, .span_8_of_12, .span_9_of_12, .span_10_of_12, .span_11_of_12, .span_12_of_12	{ 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 {
    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.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {

header .col				{ margin-top:0; padding-top:0; }  

.masthead-ad			{ text-align:right; }

.main		{ width:60%; padding-right:3%; border-right:1px dotted #ccc; box-sizing:border-box; -moz-box-sizing:border-box; /* Firefox */ }
.sidebar	{ width:40%; padding-left:3%; box-sizing:border-box; -moz-box-sizing:border-box; /* Firefox */ }

.main-menu li	{ display:inline-block; margin-left:3%; margin-bottom:0; float:left; }
.main-menu li a	{ display:inline-block; width:inherit; color:#666; background-color:transparent; padding:0; }
.main-menu li a:hover	{ color:#000; }

.col	{ margin:1% 0 1% 1.6%; }

.span_1_of_2	{ width:49.2%; }
.span_2_of_3	{ width:66.1%; }
.span_1_of_3	{ width:32.2%; }
.span_7_of_8	{ width:87.3%; }
.span_6_of_8	{ width:74.6%; }
.span_5_of_8	{ width:61.9%; }
.span_4_of_8	{ width:49.2%; }
.span_3_of_8	{ width:36.5%; }
.span_2_of_8	{ width:23.8%; }
.span_1_of_8	{ width:11.1%; }
.span_6_of_7	{ width:85.48%; }
.span_5_of_7	{ width:70.97%; }
.span_4_of_7	{ width:56.45%; }
.span_3_of_7	{ width:41.92%; }
.span_2_of_7	{ width:27.42%; }
.span_1_of_7	{ width:12.91%; }
.span_5_of_6	{ width:83.06%; }
.span_4_of_6	{ width:66.13%; }
.span_3_of_6	{ width:49.2%; }
.span_2_of_6	{ width:32.26%; }
.span_1_of_6	{ width:15.33%; }
.span_3_of_4	{ width:74.6%; }
.span_2_of_4	{ width:49.2%; }
.span_1_of_4	{ width:23.8%; }
.span_11_of_12	{ width:91.46%; }
.span_10_of_12	{ width:83%; }
.span_9_of_12	{ width:74.54%; }
.span_8_of_12	{ width:66.08%; }
.span_7_of_12	{ width:57.62%; }
.span_6_of_12	{ width:49.16%; }
.span_5_of_12	{ width:40.7%; }
.span_4_of_12	{ width:32.24%; }
.span_3_of_12	{ width:23.78%; }
.span_2_of_12	{ width:15.32%; }
.span_1_of_12	{ width:6.86%; }
.span_10_of_11	{ width:90.7%; }
.span_9_of_11	{ width:81.47%; }
.span_8_of_11	{ width:72.24%; }
.span_7_of_11	{ width:63.01%; }
.span_6_of_11	{ width:53.78%; }
.span_5_of_11	{ width:44.55%; }
.span_4_of_11	{ width:35.32%; }
.span_3_of_11	{ width:26.09%; }
.span_2_of_11	{ width:16.86%; }
.span_1_of_11	{ width:7.63%; }
.span_9_of_10	{ width:89.84%; }
.span_8_of_10	{ width:79.68%; }
.span_7_of_10	{ width:69.52%; }
.span_6_of_10	{ width:59.36%; }
.span_5_of_10	{ width:49.2%; }
.span_4_of_10	{ width:39.04%; }
.span_3_of_10	{ width:28.88%; }
.span_2_of_10	{ width:18.72%; }
.span_1_of_10	{ width:8.56%; }
.span_8_of_9	{ width:88.71%; }
.span_7_of_9	{ width:77.42%; }
.span_6_of_9	{ width:66.13%; }
.span_5_of_9	{ width:54.84%; }
.span_4_of_9	{ width:43.55%; }
.span_3_of_9	{ width:32.26%; }
.span_2_of_9	{ width:20.97%; }
.span_1_of_9	{ width:9.68%; }
.span_4_of_5	{ width:79.68%; }
.span_3_of_5	{ width:59.36%; }
.span_2_of_5	{ width:39.04%; }
.span_1_of_5	{ width:18.72%; }
	
	}

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