/*! 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;
    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, 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
   ========================================================================== */

#bg1, #bg2, #bg3, #bg4 {
    z-index:-100;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:url(/img/bg_a.gif) repeat 0 0;
    position:fixed;
}

#bg2 {
    z-index:-60;
    background-image:url(/img/bg_b.gif);
}

#bg3 {
    z-index:-30;
    background-image:url(/img/bg_c.gif);
}

#bg4 {
    z-index:-10;
    background-image:url(/img/bg_d.gif);
}

body { 
margin : 0 auto;
padding : 0;
font-family:'Conv_Bourgeois-LightCond',sans-serif;
font-weight : normal;
color : #fff; 
text-align: center;
background-color: #070707;
height:100%;
}

/*  HEADINGS  ============================================================================= */

h1, h2, h3, h4, h5, h6 {
font-family: 'Conv_Bourgeois-LightCondItal',sans-serif;
font-weight : normal;
letter-spacing: -0.05em;
}

h1 { 
color: #fff;
margin-bottom : 0em;
margin-top:0em;
margin-right:0.2em;
font-size : 5.0em; /* 96 / 16 */
line-height : 1.0em;
}


h2 { 
color: #111;
margin-bottom : 1em;
margin-top : 0em;
margin-right:0.3em;
font-size : 2.6em; /* 40 / 16 */
line-height : 1.2;
}

h3 { 
color: #fff;
margin-bottom : 0.3em;
letter-spacing: -1px;
font-size : 3.00em; /* 28 / 16 */
line-height : 1.3; }


h4 { 
color: #eee;
margin-bottom : 1em;
margin-top: 0em;
margin-right:0.3em;
font-size : 1.5em; /* 24 / 16  */
line-height : 1.25; 
}

    footer h4 { 
        color: #ccc;
    }

h5 { 
color: #eee;
margin-bottom : 1em;
margin-top: 0em;
margin-right:0.3em;
font-size : 2.0em; /* 24 / 16  */
line-height : 1.25; 
}

h6 { 
color: #666;
font-size : 1em; /* 16 / 16  */ }

.hprev { 
    display:block;
    float:left;
color: #111;
margin-bottom : 1em;
margin-top : 0em;
margin-right:0.3em;
font-size : 2.6em; /* 40 / 16 */
line-height : 1.2;
}
.hnext { 
    display:block;
    float:right;
color: #111;
margin-bottom : 1em;
margin-top : 0em;
margin-right:0.3em;
font-size : 2.6em; /* 40 / 16 */
line-height : 1.2;
}

/*  TYPOGRAPHY  ============================================================================= */

p, ol, ul, dl, address { 
margin-top:0em;
margin-bottom : 1.0em; 
margin-left:0.2em;
margin-right:0.2em;
line-height: :2em;
font-size : 1.8em; /* 16 / 16 = 1 */ }

p {
hyphens : auto;  }

p.quote{
    margin-bottom: 0em;
}

/* LINKS =============================================================================  */

a { 
color : #ff005a;
-webkit-transition: all 0.3s ease;
-moz-transition: all 0.3s ease;
-o-transition: all 0.3s ease;
transition: all 0.3s ease;
text-decoration: none;
}

p a {
position: relative;
display: inline-block;
font-family: 'Conv_Bourgeois-LightCondItal',sans-serif;
font-weight:bold;
}

a .viewtitle {
color : #fff;
}

a:visited .viewtitle {
    color:#fff;
}

a:visited { 
color : #b3003e; }

a:focus { 
outline : thin dotted; 
color : #ffffff; }

a:hover, 
a:active { 
outline : 0;
color : #ffffff;
background-image:url('../img/link.gif');
}


a:hover.footerlink,
a:active.footerlink {
    background-image:none;
}

a.viewbg {
    font-size : 1.5em;
    color:#fff;
    display:block;
    background-size:cover;
    background-repeat:no-repeat;
    margin-bottom:0.5em;
}
a:hover.viewbg {
    color:#fff;
    display:block;
    background-size:cover;
    background-repeat:repeat;
    margin-bottom:0.5em;
    background-image:url('../img/link.gif');
}

/* IMAGES ============================================================================= */

img {
border : 0;
max-width: 100%;
height: auto;
width: auto\9; /* ie8 */
}


/** Generated by FG **/
@font-face {
    font-family: 'Conv_Bourgeois-LightCond';
    src: url('../fonts/Bourgeois-LightCond.eot');
    src: local('☺'), url('../fonts/Bourgeois-LightCond.woff') format('woff'), url('../fonts/Bourgeois-LightCond.ttf') format('truetype'), url('../fonts/Bourgeois-LightCond.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

/** Generated by FG **/
@font-face {
    font-family: 'Conv_Bourgeois-LightCondItal';
    src: url('../fonts/Bourgeois-LightCondItal.eot');
    src: local('☺'), url('../fonts/Bourgeois-LightCondItal.woff') format('woff'), url('../fonts/Bourgeois-LightCondItal.ttf') format('truetype'), url('../fonts/Bourgeois-LightCondItal.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}





/*  MAIN LAYOUT ============================================================================= 


#foo {} will style the single element declared with an attribute id="foo", use for things that appear once, ID

.foo {} will style all elements with an attribute class="foo", use for repeated things
(you can have multiple classes assigned to an element too, just separate them with spaces, e.g. class="foo bar")

ID's are for specific things...?

*/
#wrapper {
    width: 100%;
    height:100%;
    text-align: left;
}
        header {
            clear: both;
            width: 960px; /* 1000px / 1250px */
            height:160px;
            max-width: 92.3em; /* 1200px / 13 */
            margin: 0 auto;
            padding: 100px 0px 10px 0px;
            color: #000;
        }

        .footer {
            position: fixed;
            vertical-align: bottom;
            bottom:0px;
            z-index: 999;
            clear:both;
            width: 960px; /* 1000px / 1250px */
            height:224px;
            font-size:1.5em;
            line-height: 1em;
            background-color: rgba(0,0,0,0.8);
            color: #c8c8c8;
        }
        .footerblock {
            display:table-cell;
            width:50%;
            height:224px;
            float:left;
        }
            .maincontent{
                clear: both;
                width: 960px; /* 1000px / 1250px */
                font-size: 0.8125em; /* 13 / 16 */
                max-width: 92.3em; /* 1200px / 13 */
                margin: 0 auto;
                padding: 1em 0px;
                color: rgb(255,255,255);
                line-height: 1.5em;
            }

            .datebox{
                width:60px;
                text-align: right;
                vertical-align:top;
                display:block;
                position:relative;
                height:100%;
                float:left;
            }

            .date{
                 background-color:#c8c8c8;
            }

            .viewtitle{
                display:block;
                text-align: right;
                background-color:rgba(0,0,0,0.7);
                min-height:96px;
                margin-left:60px;
            }

            .view{
                width:100%;
                /*margin-bottom:128px;*/
                position:relative;
                
            }

            .viewtable{
                width:960px;
                display:table;
                height:100%;
                
            }

            .viewcell{
                display:table-cell;
                vertical-align:top;
                height:100%;
                
            }

            .viewcelltext{
                display:table-cell;
                vertical-align:top;
                background-color:rgba(0,0,0,0.7);
                z-index:10;
                
            }

            .viewbg{
                display:block;
                background-size:cover;
                background-repeat:no-repeat;
                margin-bottom:2px;
                position:absolute;
                float:left;
                clear:both;
            }

            .abouttitle{
                width:100%;
                display:block;
                text-align: justify;
            }

            .vine-embed{
                z-index:20;
                position:relative;
            }

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