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

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}


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

/*Default*/
body { border-top: 12px solid #E0E0E0; font-family: 'Gentium Basic', verdana, sans-serif; font-size: 62.5%; line-height: 1.6; background: url("http://www.linglau.com/images/uploads/site_images/background.jpg") repeat; }
img { max-width: 100%; }
h1,h2,h3,h4,h5,h6 { font-family: 'Dosis', Verdana, sans-serif; }
h1 { background: url('http://www.linglau.com/images/uploads/site_images/320px_heart_dark.png') top left no-repeat; padding-top: 40px; color: #E94C4D; font-size: 2.4em; margin: 10px 0; } /*Main tagline on every page*/
h2 { font-size: 2.1em; }
h3 { font-size: 1.9em; }
p { font-size: 1.8em; }
a { color: #0066cc; text-decoration: none; }
a:hover { color: #333; }
ul li { font-size: 1.6em; margin-bottom: 6px; }
ul li p { font-size: 1.1em; }
input, textarea { color: #333; }
h1,h2,h3,h4,h5,h6, p { margin-bottom: 10px; }
pre { border: 1px solid #ccc; padding: 20px; margin: 10px 0; background: #fff; 
 white-space: pre-wrap;       /* css-3 */
 white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
 white-space: -pre-wrap;      /* Opera 4-6 */
 white-space: -o-pre-wrap;    /* Opera 7 */
 word-wrap: break-word;       /* Internet Explorer 5.5+ */
}
code { font-size: 1em; font-family: monospace; }
pre code { font-size: 1.5em; font-family: monospace; color: #555; }

/*Grid*/
.grid_col { float: none; margin-right: 0; }
.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 { width: 100%; }  
/*Layouts*/
#layout_sidebar_fixed { position: static; } 
    #layout_nav ul { border-bottom: 5.735px solid #E0E0E0; display: inline-block; width: 100%; background: #999; }
        #layout_nav li { margin-bottom: 0; display: block; width: 24.99%; float: left; }
            #layout_nav li a { text-transform: lowercase; color: #333; padding: 10%; display: block; text-align: center; }
	#layout_nav li a.photography { font-size: 0.8em; line-height: 25px; }
        #layout_nav li:nth-child(odd) { background-color: #A2C9C1; border-top: 5px solid #8EB2AB; }
        #layout_nav li:nth-child(even) { background-color: #CEC0C1; border-top: 5px solid #B9AAAA; }
        #layout_nav li:hover { background-color: #F4F4F4 !important; border-top: 5px solid #CCCCCC !important; }
#layout_content { margin: 0 4%; }    
#layout_footer { font-size: 0.6em; font-family: Verdana, sans-serif; border-top: 1px solid #ccc; padding: 12px 0; }
    #layout_footer li { display: inline-block; border-right: 1px solid #ccc; padding: 0 4px; }
.layout_section { margin-bottom: 24px; }  
.layout_title { font-family: 'Handlee', verdana, sans-serif; font-size: 2.3em; padding: 12px 0 6px; margin: 12px 0; border-top: 1px solid #E0E0E0; }
    .layout_title a { color: #3C3B4C; }
    .layout_title a:hover { color: #E94C4D; }
.layout_wysiwyg img { margin-right: 24px; margin-bottom: 12px; }
.layout_wysiwyg p { margin-bottom: 12px; }
.layout_date { color: #333; }
a.layout_link_emphasis { color: #E94C4D; }
a.layout_link_emphasis:hover { color: #0066cc; }
.layout_formField { font-family: verdana, sans-serif; background-color: #F3EBBF; padding: 2%; border-radius: 5px; border: none; width: 92%; margin-bottom: 12px; }
    
.layout_tags li { display: inline-block; }    
    
/*Modules*/
.module_image_link_twos .grid_col:nth-child(even) { margin-right: 0; }
.module_image_link_threes .grid_col:nth-child(3n) { margin-right: 0; }
.module_image_link_fours .grid_col:nth-child(4n) { margin-right: 0; }
    .module_image_link_fours p { font-size: 1.5em; }

    .module_image_link_full img { width: 100%; }
.module_image_link .grid_col { margin-bottom: 30px; }
    .module_image_link a { font-family: 'Dosis', Verdana, sans-serif; font-size: 0.9em; }
    .module_image_link p {  }
    .module_image_link img { margin-bottom: 6px; }

.modules_listing { display: inline-block; margin-bottom: 24px; width: 100%;}

.module_image_link { display: block; margin-bottom: 24px; clear: left; }

.module_image_link_full { margin-bottom: 30px; }

.module_image_feature { margin: 18px 0; }

.module_tags li { display: inline-block; margin-right: 12px; }

.interact { display: none; } /*Twitter module markup*/
.module_popup_gallery { display: inline-block; }
    .module_popup_gallery .grid_col { float: left; margin-bottom: 12px; }
        .module_popup_gallery a { display: inline-block; }
            .module_popup_gallery img { width: 100%; }
.twitter_quote p { font-size: 0.7em; }
.mfp-figure small { display: none !important; }

/*GitHub Ribbon*/
/* The ribbons */
.corner-ribbon{
  z-index: 9;
  font-family: 'Dosis', Verdana, sans-serif;
  font-size: 1.5em;

  width: 300px;
  background: #e43;
  position: absolute;
top: 25px;
  right: -50px;
  text-align: center;
  line-height: 45px;
  letter-spacing: 1px;
  color: #f0f0f0;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}
.corner-ribbon a {
	color: #fff;
}
/* Custom styles */
.corner-ribbon.sticky{
  position: fixed;
}
.corner-ribbon.shadow{
  box-shadow: 0 0 3px rgba(0,0,0,.3);
}
/* Different positions */
.corner-ribbon.top-right{
top: 32px;
  right: -96px;
  left: auto;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}
/* Colors */
.corner-ribbon.blue{background: #0066cc;}
.corner-ribbon.blue:hover { background: #333; } 
#ribbonCorner { display: none; } 

@media only screen and (min-width : 550px) {
    #layout_nav li { width: 14.28%; }
}

@media only screen and (min-width : 768px) { /*Tablet*/
    .layout_wysiwyg .col-6, .module_image_link .col-12, .module_image_link .col-6 { width: 47%; display: inline-block; margin-right: 4%; }
    .layout_wysiwyg .col-6:nth-child(even), .module_image_link .col-12:nth-child(even), .module_image_link_twos .grid_col:nth-child(even) { margin-right: 0; vertical-align: top; }
    .module_image_link_full .col-12 { width: 100%; }
    .module_popup_gallery .grid_col { width: 92%; }
    .module_image_link_threes .col-4 { width: 30%; display: inline-block; margin-right: 4%; }
    .module_image_link_fours .col-3 { width: 21%; display: inline-block; margin-right: 4%; }
}

@media only screen and (min-width : 769px) { /*Desktop*/
    /*Base*/
    body { border-top: 21.5px solid #E0E0E0;  }
    h1 { background: none; padding-top: 0; }
    /*Grid*/
    .grid_row { width: 100%; position: relative; display: inline-block; padding: 0; }
        .grid_col { display: inline-block; float: none; vertical-align: top; margin-right: 1%; } 
        .grid_row .grid_col:last-child { margin-right: 0; }
        .col-1 { width: 6.5%; }
        .col-2 { width: 15%; }
        .col-3 { width: 23.5%; }
        .col-4 { width: 32%; }
        .col-5 { width: 40.5%; }
        .col-6 { width: 49%; }
        .col-7 { width: 57.5%; }
        .col-8 { width: 66%; }
        .col-9 { width: 74.5%; }
        .col-10 { width: 83%; }
        .col-11 { width: 91.5%; }
        .col-12 { width: 100%; }

    /*Layouts*/
    #layout_nav { height: 400px; background: url('http://www.linglau.com/images/uploads/site_images/navigation_heart_tabs.png') no-repeat 25px 20px; }
        #layout_nav ul { border-bottom: none; background: none; }
            #layout_nav li:nth-child(odd), #layout_nav li:nth-child(even) { background-color: transparent; border-top: none; }
            #layout_nav li { margin-bottom: 0; display: block; width: auto; float: none; }
            #layout_nav li:hover { background-color: transparent !important; }
            #layout_nav li:not(:first-child) { position: absolute; font-size: 1.9em; }
                #layout_nav li a { padding: 0; color: #1D1D1B; font-family: 'Dosis', sans-serif; display: block; height: 32px; width: 78px; text-transform: lowercase; text-align: center; line-height: 1.6; }
                #layout_nav li a:hover { background: url('http://www.linglau.com/images/uploads/site_images/navigation_hover.png') no-repeat; }
                #layout_nav li a.photography { font-size: 0.8em; line-height: 2; }
		#layout_nav #home a { text-indent: -10000px; position: absolute; top: 20px; left: 34px; height: 71px; width: 77px; background: url('http://www.linglau.com/images/uploads/site_images/heart_home.png') no-repeat -9px 0; }
                #layout_nav #home a:hover { background: url('http://www.linglau.com/images/uploads/site_images/heart_home_hover.png') no-repeat -9px 0; }
                #layout_nav li:hover { border-top: none !important; }
            #about { top: 108px; left: 34px; }
            #articles { top: 158px; left: 34px; }
            #portfolio_nav { top: 208px; left: 36px; }
            #art { top: 256px; left: 36px; }
            #contact { top: 306px; left: 36px; }
            #lab { top: 420px; left: 35px; }
#styleguide { top: 467px; left: 35px; }
            #cv { top: 514px; left: 35px; }
                #lab a, #styleguide a, #cv a { background: url('http://www.linglau.com/images/uploads/site_images/navigation_hover.png') no-repeat; }
                #lab a:hover, #styleguide a:hover, #cv a:hover { color: #0066cc; }
	#styleguide a { font-size: 0.85em; line-height: 1.9 !important; }

    #layout_border { position: fixed; top: 0; height: 21.5px; width: 100%; background: #E0E0E0; z-index: 9; }
    #layout_sidebar_fixed { position: fixed; left: 0; width: 150px; background: url("http://www.linglau.com/images/uploads/site_images/denim_150px.jpg") repeat-y; height: 100%;  } 
    #layout_content { margin: 0 2% 0 170px; }  

	#ribbonCorner { display: block; }     
}



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