/*! 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.
 */

/* ==========================================================================
   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;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

   /* ==================== Resets ==================== */
           html { color:#444; }
           li { list-style:none; }


   /* ==================== Type ==================== */


   /* ==================== Global ==================== */


    /* ==================== Body Structure ==================== */
        body, html { height:100%; min-width:320px; background: #f3eee8 url('img/paper_background_two.jpg') repeat;}
        #container { height:auto !important; height:100%; margin:0px auto -200px auto; min-height:100%; position:relative; }
        .push { clear:both; height:200px; /* .push must be the same height as footer */ }

    /* ==================== Scalable Grid ==================== */
        #content { margin:0 auto; padding:0; }
        .wrap { max-width:892px; margin:0 auto; padding:0 10px; overflow:visible; }

        .row             { width:100%; *zoom:1; margin:0 auto; overflow:hidden; }
        .row:before,
        .row:after         { display:table; content:""; }
        .row:after         { clear:both; }

        .column         { float:left; margin:0 3.7037037037037% 10px 0; }
        .column.single    { margin:0 0 10px 0; }
        .column.alpha    { margin:0 3.7037037037037% 10px 0; }
        .column.omega    { margin:0 0 10px 0; }

        .one.column     { width:4.93827160493827%; }
        .two.column     { width:13.58024691358025%; }
        .three.column     { width:22.22222222222222%; }
        .four.column     { width:30.8641975308642%; }
        .five.column     { width:39.50617283950617%; }
        .six.column     { width:48.14814814814815%; }
        .seven.column     { width:56.79012345679012%; }
        .eight.column     { width:65.4320987654321%; }
        .nine.column     { width:74.07407407407407%; }
        .ten.column     { width:82.71604938271605%; }
        .eleven.column     { width:91.35802469135802%; }
        .twelve.column     { width:100%; }


    /* ==================== Header ==================== */
        header[role=banner] { height:auto; overflow:hidden; width:100%; padding:20px 0 0 0; }
          header[role=banner] .blue-head {background:#20409a; padding:20px 0;}
        header[role=banner] .instaflex-logo img { max-width:180px; width:100%; height:auto; padding:0 20px;}
        header[role=banner] .sponsor {color:#fff; font-size:14px; text-align:center; line-height:46px;}
        header[role=banner] .sponsor img {margin-left:20px; vertical-align:middle;}
          header[role=banner] .sponsor img.first {margin-left:0 !important;}
          header[role=banner] .row { border-bottom:6px solid #c0c0c0; padding-bottom:10px; }
        header[role=banner] h1 {
            line-height:1.2em; font-family:'Montserrat', helvetica, 'Open Sans', arial, sans-serif; font-size: 25pt; font-weight:bold; color:#434E3C; text-shadow:2px 1px #fff;
            border-top:6px solid #fff; padding-top:16px; margin-top:0; }


    /* ==================== Home ==================== */
        .katz, .study { float:left; margin-right:20px; }
        .study { margin-top:6px; }
        .katz img, .study img { margin-bottom:6px }


        #content .drop-cap { float:left; font-family:'Neuton', Georgia,serif; font-size:440%; line-height:0.85em; margin:16px 6px -10px 0; }
        #content p, #content ul { font-size:16pt; font-weight:normal; color:#333333; font-family:'Neuton', arial, "Myriad Pro", "Gill Sans", "Gill Sans MT", Calibri, sans-serif; line-height:1.4em; }
        #content .intro-copy { padding:12px 0; overflow:hidden; border-top:2px solid #9a9a9a; border-bottom:2px solid #9a9a9a; }
        #content .intro-copy p { padding:0px; margin:0px; font-family: 'Montserrat', helvetica, 'Open Sans', arial, sans-serif; font-size: 11.5pt; line-height: 2.0em;}
        #content .bullets { margin-left:20px; }
        #content li { list-style:disc; }

        a.here-btn {
    -moz-box-shadow:inset 0px 1px 0px 0px #dedede;
    -webkit-box-shadow:inset 0px 1px 0px 0px #dedede;
    box-shadow:inset 0px 1px 0px 0px #dedede;
    background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #1561be), color-stop(1, #1c5eae) );
    background:-moz-linear-gradient( center top, #1561be 5%, #1c5eae 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#1561be', endColorstr='#1c5eae');
    background-color:#1561be;
    -moz-border-radius:3px;
    -webkit-border-radius:3px;
    border-radius:3px;
    border:1px solid #ffffff;
    display:inline-block;
    color:#ffffff;
    font-family:arial;
    font-size:15px;
    font-weight:bold;
    padding:8px 50px;
    text-decoration:none;
    text-shadow:1px 1px 0px #000000;
    float: right;
    width: 90px;}

        .here-btn { }
        .here-btn:hover { }


    /* ==================== Footer ==================== */
        footer[role=contentinfo] { min-height:200px; height:auto; width:100%; padding:0; position:relative; }


    /* ==================== Body Structure - If the viewport width >= 972px and <= 1140px pixels ==================== */
        @media screen and (min-width: 972px) and (max-width: 1140px) {
        }


    /* ==================== Body Structure - If the viewport width >= 748px and <= 960px pixels ==================== */
        @media screen and (min-width: 748px) and (max-width: 972px) {
        /* ==================== Scalable Grid ==================== */
            #content, header .inner, footer .inner { max-width:100%; }

            .column-single, .twelve.column { width:100%; }

            .one.column, .two.column, .three.column, .four.column,
            .five.column, .six.column, .seven.column, .eight.column,
            .nine.column, .ten.column, .eleven.column {  }

            .column, .column.alpha, .column.omega {  }
        }


    /* ==================== Body Structure - If the viewport width >= 480px and <= 748px pixels ==================== */
        @media screen and (min-width: 480px) and (max-width: 748px) {
        /* ==================== Scalable Grid ==================== */
            #content, header .inner, footer .inner { max-width:100%; }

            .column-single, .twelve.column { width:100%; }

            .one.column, .two.column, .three.column, .four.column,
            .five.column, .six.column, .seven.column, .eight.column,
            .nine.column, .ten.column, .eleven.column, .twelve.column,
            .column, .column-single, .column.alpha, .column.omega { width:100%; }

            header[role=banner] .sponsor { padding-left:0; }
            header[role=banner] .instaflex-logo, header[role=banner] .sponsor, header[role=banner] .dr-formulated { text-align:center; }
            header[role=banner] .dr-formulated img { float:none; }

            .boxes { float:none; width:260px; margin:0 auto; display:block; }
        }


    /* ==================== Body Structure - If the viewport width >= 320px and <= 480px pixels ==================== */
        @media screen and (min-width: 320px) and (max-width: 480px) {
        /* ==================== Scalable Grid ==================== */
            #content, header .inner, footer .inner { max-width:100%; }

            .one.column, .two.column, .three.column, .four.column,
            .five.column, .six.column, .seven.column, .eight.column,
            .nine.column, .ten.column, .eleven.column, .twelve.column,
            .column, .column-single, .column.alpha, .column.omega { width:100%; }

            header[role=banner] .sponsor { padding-left:0; font-size:11px; }
            header[role=banner] .sponsor span { display:block; clear:both !important; text-align:center;}
            header[role=banner] .instaflex-logo, header[role=banner] .sponsor, header[role=banner] .dr-formulated { text-align:center; }
            header[role=banner] .dr-formulated img { float:none; }
            header[role=banner] h1 { font-size:20px; }

            .katz img { width:100px; height:auto; }
            #content .intro-copy { padding:12px 0; overflow:hidden; }
            #content .intro-copy p { font-family:'Arial', sans-serif; font-size:12px; }

            .study { float:none !important; margin:0px auto 20px auto; }
            .study img { width:100% !important; height:auto; }

            .boxes { float:none; width:260px; margin:0 auto; display:block; }

            #content .drop-cap, #content .p1 { display:none; }


                    .here-btn { width:100%; float:none; }
            }

    /* ==================== Body Structure - If the viewport width <= 320px pixels ==================== */
        @media (max-width: 320px) {
        /* ==================== Scalable Grid ==================== */
            #content, header .inner, footer .inner { max-width:100%; }

            .one.column, .two.column, .three.column, .four.column,
            .five.column, .six.column, .seven.column, .eight.column,
            .nine.column, .ten.column, .eleven.column, .twelve.column,
            .column, .column-single, .column.alpha, .column.omega { width:100%; }

            header[role=banner] .sponsor { padding-left:0; font-size:11px; }
            header[role=banner] .sponsor span { display:block; clear:both !important; text-align:center;}
            header[role=banner] .instaflex-logo, header[role=banner] .sponsor, header[role=banner] .dr-formulated { text-align:center; }
            header[role=banner] .dr-formulated img { float:none; }
            header[role=banner] h1 { font-size:20px; }

            .katz img { width:100px; height:auto; }
            #content .intro-copy { padding:12px 0; overflow:hidden; }
            #content .intro-copy p { font-family:'Arial', sans-serif; font-size:12px; }

            .study { float:none !important; margin:0px auto 20px auto; }
            .study img { width:100% !important; height:auto; }

            .boxes { float:none; width:260px; margin:0 auto; display:block; }

            #content .drop-cap, #content p.p1 { display:none; }


                    .here-btn { width:100%; float:none; }

            }

/* ==========================================================================
   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;
    }
}
