/*
Theme Name: Illustratr Child
Theme URI: https://wordpress.com/themes/illustratr/
Description: A minimalist portfolio theme.
Version: 1.3.3
Author: E Aaron Ross
Author URI: http://eaaronross.com
Template: illustratr-wpcom
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: illustratr
*/

@import 'normalize.css';


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



::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}


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



body {margin:0;padding:0;font-family:"Open Sans", 'Helvetica', Sans-Serif;font-size:13px;line-height:22px;background:#ccc;}
a {color:#666;text-decoration:none;outline:none;}
a:hover {opacity:0.8;}
a:focus {outline:none;}
p {font-size:14px;line-height:1.75em;margin-top:0;padding-top:0;}

h1, h2, h3, h4, .featured_second_name {/*font-family:'Oswald', 'Helvetica', Sans-Serif;*/text-transform:uppercase;font-weight:300;}

h1 {font-size:34px;letter-spacing:1.25px;line-height:36px;margin:0.67em 0 0.25em;}
h2 {font-size:20px;letter-spacing:1px;line-height: 28px;}
h3 {font-size:18px;color:#999;letter-spacing:1px;margin:.5em 0 1em;}
h4 {margin: 1em 0 1.33em;font-size: 18px;letter-spacing: .5px;line-height: 22px;}

.featured_second_name {font-size:18px;color:#999;letter-spacing:1px;margin:.5em 0 1em;}

.full_opacity, .full_opacity:hover {opacity:1;}
.small-button {background:#111;color:#fff;opacity:0.7;border-radius:5px;padding:7px 10px;letter-spacing:.5px;}
.small-button:hover {opacity:.9;}

.global_wrapper {width:1000px;margin:0 auto;}
.body_color {background:#fff;padding-top:60px;}

header,
#skinny_nav header#masthead.site-header {font-family:"Oswald", Sans-serif;padding-top:50px;}


/* Theme Specific Styles */
header#masthead.site-header {float:none;position:relative;width:840px;padding-top:40px;padding-bottom:0px;margin:0 auto;}
main#main.site-main,
header.entry-header,
header.page-header {float:none;width:100%;}
header.entry-header, .site-info,
body.body-borders:before, body.body-borders:after {display:none;}

h1.site-title {text-align:left;font-size:1.5em;font-weight:normal;text-transform:uppercase;width:auto;border-bottom:1px solid #ccc;padding-bottom:13px;margin-bottom:15px;}
h1.site-title a {font-family:'Oswald', Sans-serif;}
h1.project-title {margin-top:-10px;font-size:54px;line-height:1.2em;}
h2.site-description {display:none;}
h4.pt-cv-title {font-size:16px;line-height:1.3em;}
nav#site-navigation {position:absolute;right:-10px;bottom:20px;width:auto;clear:none;margin-top:1.5em;letter-spacing:1px;}
.main-navigation ul li {margin-right:10px;/*float:left;*/}
/*.main-navigation ul li:last-child {margin-right:-60px;}*/
#menu-item-115 {display:none;}

/*.page-header, .entry-header, .page-content, .entry-content, .entry-summary, .entry-avatar, .entry-meta, .entry-sharedaddy, .portfolio-sharedaddy, .comments-title, .comment-list, .comment-reply-title, .comment-form {width:840px;}*/

#site-navigation.main-navigation {font-size:100%;font-family:'Helvetica', Sans-Serif;}
#menu-item-115 a {color:#fff !important;opacity:0.1;}
.page-content, .entry-content, .entry-summary {padding-top:0px;margin-top:5px;}
body.single .page-content, body.single .entry-content, body.single .entry-summary {padding-top:0;}
#jp-relatedposts {display:none !important;}

/** Skinny Nav used for Horz Scrolling pages **/
#skinny_nav header#masthead.site-header {width:150px;position:relative;margin-right:2%;}
#skinny_nav .site-branding, .site-branding {width:auto;}
#skinny_nav h1.site-title {float:none;text-align:left;}
#skinny_nav nav#site-navigation {float:none;position:relative;right:auto;bottom:auto;text-align:left;clear:both;}
#skinny_nav .main-navigation ul {text-align:left;}
#skinny_nav .main-navigation ul li {margin-left:0;margin-right:0;display:block;float:none;}
#skinny_nav .main-navigation ul li a {padding-bottom:10px;}


@media screen and (min-width: 960px), all { body.body-borders.admin-bar:before, body.body-borders.admin-bar:after {display:none;}
}

body.page-id-113 .pt-cv-wrapper {margin-top:0;}

#secondary, footer.site-footer, footer.entry-meta {display:none;}

/* End of Theme Specific Styles */


#site_name {
    font-size:16px;
    color:#777;
    line-height: 22px;
    font-weight:400;
    letter-spacing:2px;
    text-transform:uppercase;
    margin-bottom:20px;
    padding-bottom:17px;
    border-bottom:solid 1px #ccc;
    display:block;
}
#site_name:hover {opacity:1;}

.nav_item {
    font-size:14px;
    color:#999;
    line-height:16px;
    letter-spacing:1.5px;
    text-decoration:none;
    font-weight:300;
    text-transform:uppercase;
    margin-bottom:10px;
    display:block;
}


main {width:83%;float:left;padding-bottom:120px;}
body.horz main {width:100%;float:none;padding-left:18%;box-sizing:border-box;}

.full_width_image {width:100%;margin:0 auto;}
.home_image {}
.horiz_gal_item {display:table-cell;vertical-align:top;padding-right:20px;padding-bottom:20px;}

.tall_thumb_wrapper {width:31.9277%;margin:0 2% 20px 0;float:left;}
.tall_thumb_wrapper:nth-of-type(3n+3){margin-right:0;}

.tall_thumb_wrapper:hover {opacity:1;}
.tall_thumb_wrapper:hover h4, .tall_thumb {opacity:1;}
.tall_thumb {/*-webkit-filter: grayscale(100%);*/ /* Chrome, Safari, Opera */ /*filter: grayscale(100%);*/ border:0;} 
.tall_thumb_hider {overflow:hidden;background:transparent;}
.tall_thumb_wrapper:hover .tall_thumb_hider {background:hotpink;}
.tall_thumb_wrapper:hover .tall_thumb {opacity:0.7;}

h4#other_projects {margin:2em 0 -1.5em;}
h5.pt-cv-title {font-size:1em;line-height:1.3em;text-transform:uppercase;}
#visuals_grid_wrapper {}
.pt-cv-wrapper {margin-top: 3.5em;}
#visuals_grid_wrapper .tall_thumb_hider {height:200px;}
#visuals_grid_wrapper .tall_thumb {margin-top:-25%;}
.row_end {clear:both;}


/*-- DOCUMENT CLASSES --*/
.featured_image_wrapper {width:100%;height:200px;overflow:hidden;}
.featured_image {margin-top:-25%;}
#titles {margin-bottom:1em;}
.project_description {width:67%;float:left;padding-right:3.6144%;border-right:dashed 1px #ccc;margin-bottom:1.5em;}
.project_details {width:27.5%;float:right;font-size:13px;font-weight:400;line-height:1.75em;margin-bottom:1.5em;}
.detail_name {font-weight:bold;}

.primary_image {margin-top:-10px;margin-bottom:30px;}
.primary_image p img {margin-top:8px;}
#image_gallery {border-bottom:solid 1px #ccc;padding-bottom: 1.5em;}
#image_gallery img {margin-bottom:30px;}
/*#image_gallery p img:last-of-type {margin-bottom:0;}*/
#image_gallery img+br {display:none;}
.doc_images {margin-bottom:2.5em;}

.video_link {background:#666;color:#fff;padding:10px 15px;}
.videoWrapper {
    position: relative;
    padding-bottom: 53%; /* 16:9 */
    padding-top: 25px;
    margin-bottom:20px;
    height: 0;
}
.videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 99.5%;
    height: 100%;
}


.two_column_1 {float:left;}
.two_column_1 {width:68%;}
.about_page .two_column_1 {width:68%;}
.two_column_2 {width:28%;margin:0 0 0 2%;float:right;}
.about_description {font-size: 12px;line-height: 20px;margin-top:15px;}

#image_gallery .wp-block-columns {display:flex;}
#image_gallery .wp-block-column {flex:1;align-self:normal;}
#image_gallery .wp-block-column img {margin-bottom:0;}

.wp-block-column.titles {background-color:#fff;}
.wp-block-column h2 {padding:10%;color:#000;width:75%;margin-top:25%;text-transform:none;}

.horz_image_wrap h2 {margin-top:25%;text-transform:none;}

h4.image_title {margin-top:-15px;margin-bottom:60px;}

@media only screen and (max-width: 599px) {
    .wp-block-column h2 {margin-top:0%;}
}


/** Slide Anything Carousel Gallery **/
.sa_owl_theme h4 {margin-top:-15px;text-align:center;}

.album-image, .album-image-right, .album-image-right2 {width:21.6867%;float:left;margin-bottom:15px;}
.album-image, .album-image-right2 {margin-right:1.5%;}
.album-image-right {margin-right:0;}
.album-image-thumb {float:left;}

.pt-cv-wrapper img {width:100%;}


nav.post-navigation {display:none;}


footer {height:20px;clear:both;}
.scrollup {
    height: 16px;
    width: 16px;
    padding: 8px 11px 8px 6px;
    border-radius: 4px;
    opacity: 0.89;
    position: fixed;
    bottom: 48px;
    right: 32px;
    color: #fff;
    font-size: 15px;
    line-height: 12px;
    background: #818c90;
    z-index: 500;
    display: none;
    cursor: pointer;
    box-sizing:content-box;
}
.up_icon_replace {display:none;}




/* Gutenberg Gallery Fix Vertical */
#image_gallery .gallery {background:transparent;padding:0;}

#image_gallery .gallery.gallery-columns-1 .gallery-item {padding:0px;}
#image_gallery .gallery.gallery-columns-1 .gallery-item + .gallery-item {margin-top:30px;}

#image_gallery .gallery .gallery-icon a {background:transparent;}





/* ==========================================================================
   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 (max-width: 1100px) {
    /* Style adjustments for viewports that meet the condition */
    .global_wrapper {width:100%;}

}
@media only screen and (max-width: 959px) {
    
    .body_color, #page {padding-top:40px;padding-left:5%;padding-right:5%;}

    header,
    header#masthead.site-header,
    #skinny_nav header#masthead.site-header {width:auto;float:none;margin:-15px auto 20px;padding:0;position:relative;clear:both;}


    main, body.horz main {width:auto;float:none;margin:0 auto;padding-left:0;padding-bottom:3em;}


    nav {margin:0 auto;}

    body .nav_item, 
    body .main-navigation.toggled .nav-menu,
    body .main-navigation ul li,
    #skinny_nav .main-navigation ul li {display:inline-block;float:none;opacity:1;}

    .main-navigation ul li,
    #skinny_nav .main-navigation ul li {margin-right: 15px !important;}


    h1.site-title {float:none;text-align:left;padding-bottom:15px;margin-bottom:10px;}
    nav#site-navigation {float:none;text-align:left;clear:both;margin-top:-5px;min-height:0;position:relative;top: auto;right: auto;bottom: auto;}


    .main-navigation .menu-toggle,
    #skinny_nav .main-navigation .menu-toggle {width:38px;height:35px;top:-54px;right:0px;left:auto;text-align:center;overflow:hidden;}
    body .main-navigation .menu-toggle .genericon {line-height:35px;}

    .main-navigation.toggled .menu-wrapper {padding:0;}
    .main-navigation:before, .main-navigation:after,
    .main-navigation.toggled .menu-wrapper:before {border:0;background:transparent;}
    .main-navigation ul li {border-bottom:0;}
   .main-navigation ul li a {padding-bottom:0 !important;}

    .entry-content {width:auto;margin-top:0;padding-top:0px;}


    .two_column_1, .about_page .two_column_1 {width:100%;float:none;}
    .two_column_2 {width:100%;margin:2em 0 0 0;float:none;}

    .about_description {margin-top:0;}

    .album-image, .album-image-right, .album-image-right2 {width:23.8%;}

}
@media only screen and (max-width: 750px) and (min-width: 500px)  {
    #visuals_grid_wrapper .tall_thumb {margin-top:-15%;}
    #visuals_grid_wrapper .tall_thumb_hider {height:auto;}
}

@media only screen and (max-width: 550px) {
    
    main {padding-bottom:5em;}
    .body_color, #page {padding-top:25px;}

    p, .project_details {font-size:115%;line-height:1.75em;}

    #site_name {margin-bottom: 17px;padding-bottom: 13px;}
    #menu-item-115 {display: none !important;}
    h1.project-title {font-size:44px;}

}

@media only screen and (max-width: 500px) {

    .featured_image_wrapper {height:auto;}
    .featured_image {margin-top:0;}

    .project_description {width:100%;float:none;border-right:none;border-bottom:dashed 1px #ccc;padding-bottom:1em;}
    .project_details {width:100%;float:none;margin-bottom:1.5em;}

    h5.pt-cv-title {display:none;}
    .tall_thumb_wrapper {width:100%;margin:0;float:none;}
    .tall_thumb_wrapper:nth-of-type(3n){margin-right:0;}
    .tall_thumb_hider {height:300px;}
    .tall_thumb {margin-top:-20%;}
    .tall_thumb_title {margin: .75em 0 1.65em}

    .album-image, .album-image-right, .album-image-right2 {width:48.2%;}
    .album-image, .album-image-right2 {margin-right:3.5%;}
    .album-image-right2 {margin-right:0;}

}

@media only screen and (max-width: 400px) {
    .body_color {min-height:440px;}
}



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