/* uses Skeleton V2.0.4 */
/* Large screens: –––––––––––––––––––––––––––––––––––––––––––––––––– */
@media (min-width: 1800px) {
    .container {
        width    : unset;
        max-width: unset;
        margin   : 0 20%;
    }

    html {
        font-size: 70%;
    }
}
@media (min-width: 1360px) {
    .container {
        width    : unset;
        max-width: unset;
        margin   : 0 15%;
    }
}

/* The emerging W3C standard
   that is currently Firefox-only */
* {
  scrollbar-width: thin;
  scrollbar-color: #383D55 var(--emcor-body-bg-grad);
}

/* Works on Chrome/Edge/Safari */
*::-webkit-scrollbar {
  width: 12px;
}
*::-webkit-scrollbar-track {
  background: var(--emcor-body-bg-grad);
}
*::-webkit-scrollbar-thumb {
  background-color: #383D55;
  border-radius: 20px;
  border: 3px solid var(--emcor-body-bg-grad);
}

/* Base Styles –––––––––––––––––––––––––––––––––––––––––––––––––– */
html {
    height: 100%;
}

body {
    font-family: var(--em-fonts-sans);
    font-weight: 400;
    color                : var(--emcor-body-text, #FFF);
    background-color     : var(--emcor-body-bg, #161616);
/*    min-height : 100%; */
}

section {
    margin : 0;
    padding: 0;
}

#page {
    z-index              : 1;
    min-height           : 70vh;
    padding-bottom       : 5rem;
    background           : linear-gradient( to bottom, var(--emcor-body-bg) 20%, var(--emcor-body-bg-grad) 100%);
    background-color     : var(--emcor-body-bg, #161616);
    background-attachment: fixed;
    color                : var(--emcor-body-text, #FFF);
    box-shadow           : 0 3px 10px rgba(0, 0, 0, .2);
}

.em_fullwidth {
    box-sizing: border-box;
    width     : 100%;
    max-width : unset;
}

.em_white {
    background: #fff;
}

.em_nobreak {
    display: inline-block;
}

.em_space_top {
    margin-top: 5.0rem;
}

.em_no_margins {
    margin: 0 !important;
}

.em_space_bottom {
    margin-bottom: 3.0rem;
}

.em_text_small {
    font-size: 85% !important;
    line-height: 1.4 !important;
}

article .post_description .em_text_small,
article.em_paper .em_text_small,
article.em_blog .em_text_small {
    font-size: var(--em-serif-13) !important;
}

.em_text_fade {
    opacity: 0.75;
}
.em_text_fade_more {
    opacity: 0.5;
}

#em_messages {
    font-size: var(--em-font-18);
    margin   : 0;
    padding  : 5rem 0 0 0;
}

#em_messages p {
    display: inline;
    padding: 1rem;
    color     : var(--emcor-body-text);
    background: var(--emcor-messages);
    border-radius: var(--em-border-radius);
}

#em_messages p.error {
    margin-bottom: 5.0rem;
    color     : var(--emcor-body-text);
    background: var(--emcor-messages-error);
}

/* Posts –––––––––––––––––––––––––––––––––––––––––––––––––– */
.em_section,
article,
aside {
    margin-top: 6.0rem;
}

hr + .em_section,
hr + .em_section > article {
    margin-top: 5.0rem;
}

.em_subsection {
    margin-top: 2.5rem;
}
/* Larger than desktop */
@media (min-width: 750px) {
    .em_section,
    article,
    aside {
        margin-top: 8.0rem;
    }

    article.em_instagram_hl,
    article.em_twitter_hl {
        margin-top: 5.0rem;
    }
}

article .post_description {
    margin-top: 1.0rem;
}

article.em_twitter_hl .post_description {
    margin: 0;
}

article.em_first_post .post_description {
    margin-top: 1.5rem;
}

.em_with_aside article .post_description {
    margin-top: 0;
}
/* Larger than desktop */
@media (min-width: 1000px) {
    article .post_description {
        margin-top: 1.5rem;
    }

    article.em_first_post .post_description {
        margin-top: 2.5rem;
    }

    .em_with_aside article .post_description {
        margin-top: 0;
    }
}

.em_post_footer {
    margin-top: 2.0rem;
    padding   : 1rem 0;
    border-top: 1px dotted var(--emcor-lighten);
}

.em_manage_footer {
    width: 100%;
    display: inline-block;
    margin-top: 2.4rem;
    padding: 3rem 0;
    border-top: 1px dotted var(--emcor-lighten);
}

.em_post_tags {
    float        : left;
    overflow     : hidden;
    max-width    : 75%;
    max-width    : calc(100% - 15ch);
    white-space  : nowrap;
    text-overflow: ellipsis;
}

.em_post_tags img {
    padding-left: 0.3rem;
}

.em_float_right,
.em_post_share {
    display: inline-block;
    float  : right;
}

.em_float_upper {
    position: relative;
    transform:translateY(-50%);
}

.mod-touch .em_post_share {
    display: none;
}

.mod-touch .em_post_tags {
    max-width: 97%;
}

.em_post_date {
    font-size: var(--em-font-13);
}

.em_first_post .em_post_date {
    font-size: inherit;
}

.em_intro .em_float_right {
    position   : relative;
    top        : -2rem;
    margin-left: 5rem;
    margin-bottom: 4rem;
}
@media (max-width: 749px) {
    .em_intro .em_float_right {
        top          : -2rem;
        float        : initial;
        margin-bottom: 1rem;
        margin-left  : 0;
    }
}
@media (max-width: 549px) {
    .em_first_post .em_post_date,
    .em_post_date {
        font-size: var(--em-font-12);
    }
}

.em_post_meta {
    padding: 1.5rem 0;
}

/* index page */

#em_index_more .row {
    margin-top: 3.0rem;
    padding-bottom: 3.0rem;
    border-bottom: 1px dotted var(--emcor-lighten-slight);
}

#em_index_more .row:first-of-type {
    margin-top: 0;
}

#em_index_more .row:last-of-type {
    border: 0;
    padding-bottom: 0;
}

#em_index_more article {
    margin-top: 0rem;
}

#em_index_more article .post_title {
    margin-bottom: 0.8rem;
}

#em_index_more .em_post_footer {
    margin-top: 0;
    padding   : 0;
    border: 0;
}
#em_index_more .em_post_footer a {
    opacity: 0.5;
}

/* Pages –––––––––––––––––––––––––––––––––––––––––––––––––– */
@media (min-width: 1000px) {
    .em_with_aside {
        display  : flex;
        width    : 100%;
        flex-wrap: wrap;
    }

    .em_with_aside article,
    .em_with_aside aside {
        display       : block;
        float         : left;
        box-sizing    : border-box;
        vertical-align: top;
    }

    .em_with_aside article {
        width: 65%;
    }

    .em_with_aside aside {
        width      : 25%;
        margin-left: 10%;
    }

    .em_with_aside aside:first-of-type {
        margin-top: 15rem;
    }

    .em_with_aside aside ~ aside {
        margin-top: 8rem;
    }
}
/* Typography –––––––––––––––––––––––––––––––––––––––––––––––––– */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 400;
}

h1 b,
h2 b,
h3 b,
h4 b,
h5 b,
h6 b {
    font-weight: 700;
}

p b {
    font-weight: 700;
}

.em_serif,
article .post_description li,
article .post_description p,
article .post_description blockquote,
article .post_longform li,
article .post_longform p,
article .post_longform blockquote,
article .post_photoset,
article .post_title,
article q,
aside li,
aside p {
    font-family: var(--em-fonts-serif);
}

h4.em_serif i, 
h5.em_serif i, 
h6.em_serif i,
.em_serif h4 i,
.em_serif h5 i,
.em_serif h6 i {
    letter-spacing: 0.05rem;
}

:not(.em_about) article .post_longform p:first-of-type::first-line,
.em_index article .post_description p:first-of-type::first-line,
.em_weblog article .post_description p:first-of-type::first-line {
    text-transform: uppercase;
    font-size: 90%;
}

article .post_description p,
article .post_description li:not([class]),
article .post_description blockquote,
article q,
article.em_intro p,
aside li,
aside p {
    line-height  : 1.6;
    max-width    : 70ch;
    margin-bottom: 1rem;
}

article .post_description p,
article .post_description li:not([class]),
article .post_description blockquote {
    font-size    : var(--em-serif-16);
    line-height  : 1.6;
    max-width    : 70ch;
    margin-bottom: 1rem;
}

article img.em_stout {
    max-width    : 72rem;
}

article.em_intro p,
aside li,
aside p {
    font-size    : var(--em-font-16);
}

article .post_description h6 + h6 {
    margin-top: 0 !important;
}

article .post_description h2 + h5 {
    position: relative;
    bottom: 1rem;
}


article .post_longform li:not([class]),
article .post_longform p,
article .post_longform blockquote {
    font-size    : var(--em-serif-14);
    line-height  : 1.6;
    max-width    : 60ch;
    margin-bottom: 1rem;
}

article.em_cv .post_longform p,
article.em_cv .post_longform li {
    font-size: var(--em-serif-15);
}


article .post_longform * i,
article .post_longform * em  {
    letter-spacing: 0.02rem;
}

article .post_longform h4 {
    margin-top: 5rem;
    line-height  : 1.3;
}
article .post_longform h5 {
    margin-top: 4rem;
    line-height  : 1.3;
}
article .post_longform h6 {
    margin: 3rem 0 1rem 0;
    line-height  : 1.3;
}

article .post_longform ul {
    list-style-type: circle;
}

article q {
    font-size     : var(--em-serif-15);
    font-style    : italic;
    display       : inline-block;
    text-indent   : -.8rem;
    letter-spacing: 0.04rem;
}

article q:before {
    font-size  : 3.0rem;
    line-height: 1rem;
    position   : relative;
    top        : 0.5rem;
    display    : inline-block;
    width      : 0.8rem;
    content    : "\201C";
}

article q:after {
    content: "\201D";
}

article ul,
aside ul {
    margin    : 0 2rem;
    list-style: square outside;
}

article ol,
aside ol {
    margin    : 0 2rem;
    list-style: decimal;
}

article li,
aside li {
    padding-left: 0.4rem;
}

.em_with_aside article nav {
    margin-bottom: 1.5rem;
}

a.icon {
    border-bottom: 0 !important;
}

a.icon.em_64 img,
a.em_64 img,
img.em_64 {
    width: 64px;
    height: 64px;
}

a.icon.em_48 img,
a.em_48 img,
img.em_48 {
    width: 48px;
    height: 48px;
}

a.icon.em_32 img,
a.em_32 img,
img.em_32 {
    width: 32px;
    height: 32px;
}

a.icon.em_16 img,
img.em_16 {
    width: 16px;
    height: 16px;
}

article nav a.icon {
    display      : inline-block;
    width        : 15rem;
    height       : 3.2rem;
    margin       : 1rem 0;
    border-bottom: 0;
}

article nav a.icon img {
    position     : relative;
    top          : 1rem;
    padding-right: 0.5rem;
    box-shadow: inherit;
    margin: 0;
}

.em_with_aside article .post_description p,
.em_with_aside article .post_description li:not([class]) {
    max-width: 100%;
}

article .post_description p.em_font_bigger,
article .post_description p:first-child:nth-last-child(n+3) {
    /* don't mess with font size here */
}

@media (min-width: 750px) {
    article .post_description p,
    article .post_description li:not([class]),

    article q {
        max-width: 90%;
    }

    article.em_first_post .post_description p {
        font-size: var(--em-serif-15);
    }

    article .post_description p.em_font_bigger,
    article q,
    article.em_first_post .post_description p:first-child:nth-last-child(n+3) {
        font-size: var(--em-serif-16);
    }
}

aside h4,
aside h5,
aside h6 { }

aside img.em_side {
    box-sizing: border-box;
    width     : 33%;
    float: right;
    margin-left: 4rem;
    filter: drop-shadow(2px 2px 4px var(--emcor-darken-stronger));
}

/* Larger than desktop */
@media (min-width: 1000px) {
    article .post_description p,
    article .post_description li:not([class]) {
        font-size    : var(--em-serif-15);
        max-width    : 80%;
        margin-bottom: 1.6rem;
    }

    article .post_description blockquote {
        font-size    : var(--em-serif-15);
        max-width:   : 70%;
        margin-bottom: 1.6rem;
    }

    article q {
        font-size     : var(--em-serif-16);
        max-width     : 80%;
        margin-bottom : 1.6rem;
        text-indent   : -1.2rem;
        letter-spacing: 0.06rem;
    }

    article q:before {
        font-size: 4.0rem;
        top      : 0.8rem;
        width    : 1.2rem;
    }

    article .post_description p.em_font_bigger,
    article .post_description p:first-child:nth-last-child(n+3) {
        font-size: var(--em-serif-16);
    }

    article.em_first_post .post_description p {
        font-size: var(--em-serif-16);
    }

    article.em_first_post .post_description p:first-child:nth-last-child(n+3),
    article.em_first_post q {
        font-size: var(--em-serif-18);
    }

    aside h4 {
        font-size: 2.4rem;
    }

    aside h5 {
        font-size: 2.0rem;
        font-weight: 400;
    }

    aside h6 {
        font-size: 1.7rem;
        font-weight: 400;
    }

    aside img.em_side {
        box-sizing: border-box;
        width     : 100%;
        max-width : unset;
        margin: 0;
        float: none;
        position: relative;
        bottom: 8rem;
    }

    aside img.em_side + * {
        margin-top: -4rem;
    }

    aside li,
    aside p {
        font-family  : inherit;
        font-size    : var(--em-font-13);
        line-height  : 1.6;
        margin-bottom: 1.5rem;
    }

    aside li {
        margin-left: -.4rem;
    }
}
/* Larger than Desktop HD */
@media (min-width: 1200px) {
    article .post_description p,
    article .post_description li:not([class]),
    article q {
        font-size    : var(--em-serif-16);
        max-width    : 75%;
        margin-bottom: 1.7rem;
    }

    article .post_description p.em_font_bigger,
    article .post_description p:first-child:nth-last-child(n+3) {
        font-size: var(--em-serif-18);
    }

    article q,
    article.em_first_post .post_description p {
        font-size    : var(--em-serif-18);
        margin-bottom: 1.8rem;
    }

    article.em_first_post .post_description p:first-child:nth-last-child(n+3),
    article.em_first_post q {
        font-size: var(--em-serif-20);
    }

    aside li,
    aside p {
        font-size  : var(--em-font-14);
        line-height: 1.7;
    }
}

div p.em_sans,
.em_sans {
    font-family: var(--em-fonts-sans);
}

.em_post_footer {
    font-size: var(--em-font-14);
}

p .em_small_info {
    font-family  : var(--em-fonts-sans);
    font-size    : var(--em-font-11);
    display      : inline-block;
    color        : var(--emcor-halfway-over);
    border-bottom: 0;
}


/* Code
–––––––––––––––––––––––––––––––––––––––––––––––––– */
code {
  padding: .2rem .5rem;
  margin: 0 .2rem;
  font-size: 90%;
  white-space: nowrap;
  border     : 1px solid var(--emcor-lighten-slight);
  background : var(--emcor-code-bg);
  border-radius: var(--em-border-radius);
}
pre > code {
  display: block;
  padding: 1rem 1.5rem;
  white-space: pre; }


.code,
code {
    font-family: var(--em-fonts-mono);
}

article .usage {
    margin     : 1rem 0;
    padding    : 1rem !important;
    white-space: pre-wrap;
    border     : 1px solid var(--emcor-lighten-slight);
    background : var(--emcor-code-bg);
    border-radius: var(--em-border-radius);
}

article .usage em {
    font-style: normal;
    color     : var(--emcor-code-c1);
}

article .usage i {
    font-style: normal;
    color     : var(--emcor-code-c2);
}

article .usage s {
    font-style     : normal;
    text-decoration: none;
    color          : var(--emcor-code-c3);
}

article cite,
article code {
    display       : inline-block;
    padding-bottom: 2rem;
}


/* Larger than tablet */

@media (min-width: 750px) {
    .em_two_cols {
        display  : flex;
        flex-wrap: wrap;
    }

    .em_two_cols > div:not(.post_description),
    .em_two_cols > p {
        display       : inline-block;
        width         : 46%;
        margin-right  : 4%;
        vertical-align: top;
    }

    .em_two_cols > div:not(.post_description):nth-child(even),
    .em_two_cols > p:nth-child(even) {
        margin-right: 2%;
        margin-left : 2%;
    }
}

/* Links –––––––––––––––––––––––––––––––––––––––––––––––––– */

a,
a img {
    -webkit-transition: 0.2s ease;
    -moz-transition   : 0.2s ease;
    -ms-transition    : 0.2s ease;
    -o-transition     : 0.2s ease;
    transition        : 0.2s ease;
    text-decoration   : none;
    color             : var(--emcor-links, #1EAEDB);
}

a:hover {
    color: var(--emcor-links-hover);
}

a:focus {
    color: var(--emcor-links-focus) !important;
}

.post_description a,
.post_longform a,
.type_link a,
article p > a,
aside a {
    color : inherit;
    border-bottom: 2px dotted var(--emcor-halfway-over);
}

.post_description a:visited,
.post_longform a:visited,
.type_link a:visited,
article p > a:visited,
aside a:visited {
    border-bottom: 2px dotted var(--emcor-halfway-under);
}

.post_description a:active,
.post_description a:hover,
.post_longform a:active,
.post_longform a:hover,
.type_link a:active,
.type_link a:hover,
article p > a:hover,
article p > a:active,
aside a:active,
aside a:hover {
    color: var(--emcor-links-hover);
    border-bottom-color: transparent;
}

a.imagebox,
a.lightbox,
a.nolightbox {
    cursor        : default;
    pointer-events: none;
}
a.lightbox.always {
    pointer-events: all;
}
a.lightbox.always:active,
a.lightbox.always:hover {
    cursor: url('assets/gfx/lightbox-zoom.cur'), url('../gfx/lightbox-zoom.cur'), url('../gfx/lightbox-zoom.png'), move;
}

@media (min-width: 750px) {
    a.imagebox,
    a.lightbox,
    a.nolightbox {
        cursor        : default;
        pointer-events: all;
    }

    a.imagebox img,
    a.lightbox img {
        -webkit-transition: 0.2s ease;
        -moz-transition   : 0.2s ease;
        -ms-transition    : 0.2s ease;
        -o-transition     : 0.2s ease;
        transition        : 0.2s ease;
        transition-property: top, left, box-shadow;
        left: 0;
        top: 0;
        box-shadow: 2px 3px 12px rgba(0, 0, 0, .3);
    }

    a.imagebox:active,
    a.imagebox:hover,
    a.lightbox:active,
    a.lightbox:hover {
        cursor: url('assets/gfx/lightbox-zoom.cur'), url('../gfx/lightbox-zoom.cur'), url('../gfx/lightbox-zoom.png'), move;
    }
    a.imagebox:active img,
    a.imagebox:hover img,
    a.lightbox:active img,
    a.lightbox:hover img {
        box-shadow: 3px 5px 12px rgba(0, 0, 0, .3);
        left: -1px;
        top: -2px;
    }
}
/* Header menu –––––––––––––––––––––––––––––––––––––––––––––––––– */
#page_header h1 {
    font-size     : 1.8rem;
    position      : relative;
    display       : inline-block;
    float         : left;
    white-space   : nowrap;
}

#page_header ul {
    position: relative;
    float   : right;
    margin-bottom: 0;
}

#page_header ul hr {
    margin: 0 1rem 1rem 1rem;
    border-top: 1px dotted var(--emcor-lighten-slight);
}

#page_header li {
    font-size   : 1.4rem;
    display     : inline-block;
    height      : 6rem;
    padding-left: 2rem;
    text-align  : left;
    color       : var(--emcor-body-text);
    white-space: nowrap;
}

#em_header_main {
    position     : relative;
    z-index      : 100;
    padding-top  : 5.6rem;
    opacity      : 1;
    border-bottom: 2px solid var( --emcor-header-accent);
    background  : linear-gradient( to bottom, var(--emcor-header-bg, #111) 0%, var(--emcor-header-bg-grad, #111) 100%);
}

#em_header_fixed {
    position   : fixed;
    z-index    : 50;
    top        : 0;
    width      : inherit;
    height     : 5rem;
    max-width  : inherit;
    padding-top: 2.4rem;
    background  : linear-gradient( to bottom, var(--emcor-fixedheader-bg, #111) 0%, var(--emcor-fixedheader-bg-grad, #111) 100%);
    border-bottom: 1px solid var(--emcor-lighten-slighter);
}

#em_header_main h1 {
    font-weight: 900;
    font-style: italic;
    letter-spacing: 0 !important;
    font-size: 2.0rem;
    top      : -.1rem;
}

#em_header_fixed h1 {
    font-weight: 900;
    font-style: italic;
    letter-spacing: 0 !important;
    font-size: 1.8rem;
    top      : 0rem;
}

#em_header_main h1 img.em_monogram,
#em_header_fixed h1 img.em_monogram {
    position: relative;
    display : none;
    width   : 2.4rem;
    height  : 2.4rem;
    margin  : 0;
    /* Microsoft Edge and Firefox 35+ */
}

#em_header_main h1 img.em_monogram {
    opacity: 1;
    /* Microsoft Edge and Firefox 35+ */
    filter: none;
}
#em_header_main h1 a:hover img.em_monogram {
    opacity: 1;
    filter: brightness(1.8) hue-rotate(50deg);
}

#em_header_fixed h1 img.em_monogram {
    opacity: 0.4;
    /* Microsoft Edge and Firefox 35+ */
    filter: brightness(1.8) hue-rotate(-140deg);
}
#em_header_fixed h1 a:hover img.em_monogram {
    opacity: 1;
    filter: brightness(1.8) hue-rotate(50deg);
}

/* Small phone */
@media (max-width: 549px) {
    #em_header_fixed {
        height     : 4.0rem;
        padding-top: 1rem;
    }

    #em_header_main {
        padding-top: 2rem;
    }

    #em_header_main h1 {
        font-size  : 1.7rem;
        font-weight: 700;
        top        : 0.2rem;
        margin     : 0;
    }

    #em_header_fixed h1 {
        font-size  : 1.5rem;
        font-weight: 700;
        top        : 0.3rem;
        margin     : 0;
    }

    #page_header li {
        font-size   : 1.2rem;
        height      : 3rem;
        padding-left: 1.2rem;
    }
}
@media (max-width: 359px) {
    #em_header_fixed h1 {
        font-size  : 1.8rem;
        font-weight: 700;
        line-height: 0;
        text-indent: -9999px;
    }

    #em_header_fixed h1:after {
        line-height: initial;
        display    : block;
        content    : "EM";
        text-indent: 0;
    }
}
/* Larger than tablet */
@media (min-width: 750px) {
    #em_header_main h1 img.em_monogram,
    #em_header_fixed h1 img.em_monogram  {
        position: absolute;
        display : inline-block;
    }

    #page_header li {
        font-size   : 1.6rem;
        padding-top : 0;
        padding-left: 3rem;
    }

    #em_header_main h1 {
        font-size: 2.4rem;
        top      : -.3rem;
    }

    #em_header_fixed h1 {
        font-size: 2.2rem;
        top      : -.2rem;
    }

    #em_header_main h1 img.em_monogram {
        top   : -.6rem;
        left  : -5.8rem;
        width : 4.0rem;
        height: 4.0rem;
    }

    #em_header_fixed h1 img.em_monogram {
        top   : -.4rem;
        left  : -5.4rem;
        width : 3.6rem;
        height: 3.6rem;
    }
}
@media (min-width: 1000px) {
    #page_header h1 {
        letter-spacing: -.05rem;
    }

    #em_header_main h1 {
        font-size: 3.0rem;
        top      : -.8rem;
    }

    #em_header_fixed h1 {
        font-size: 2.6rem;
        top      : -.4rem;
    }

    #em_header_main h1 img.em_monogram {
        top   : -.5rem;
        left  : -6.8rem;
        width : 4.8rem;
        height: 4.8rem;
    }

    #em_header_fixed h1 img.em_monogram {
        top   : -.3rem;
        left  : -6.0rem;
        width : 4.0rem;
        height: 4.0rem;
    }
}
/* Submenus */
#page_header li ul {
    position     : absolute;
    top          : 0;
    display      : none;
    float        : left;
    margin       : 3.2rem 0 0 -1.2rem;
    padding      : 0;
    opacity      : 0;
    border-right : 1px solid var(--emcor-lighten-slighter);
    border-bottom: 1px solid var(--emcor-lighten-slight);
    background-color  : var(--emcor-header-bg);
    background  : linear-gradient( to bottom, var(--emcor-header-bg-grad, #111) -50%, var(--emcor-header-bg, #111) 200%);
    box-shadow   : var(--em-menu-shadow);
    border-radius: var(--em-border-radius);
}

#page_header li:hover,
#page_header li:hover ul {
    -webkit-transition: 0.5s ease;
    -moz-transition   : 0.5s ease;
    -ms-transition    : 0.5s ease;
    -o-transition     : 0.5s ease;
    transition        : 0.5s ease;
}

#page_header li:hover {
    color: var(--emcor-lighten);
}

#page_header li:hover ul {
    display      : block;
    opacity      : 1;
}

#em_header_fixed li:hover ul {
     background  : linear-gradient( to bottom, var(--emcor-fixedheader-bg-grad, #111) -50%, var(--emcor-fixedheader-bg, #111) 200%);
}

#page_header li ul li {
    font-size: 1.3rem;
    display  : block;
    height   : 1.7rem;
    padding  : 0.4rem 2.4rem 0.4rem 1.2rem;
}

#page_header li ul.em_manage li {
    font-size: 1.2rem;
    display  : block;
    width    : 16ch;
    height   : 1.4rem;
    padding  : 0.4rem 2.0rem;
}
/* Larger than tablet */
@media (min-width: 750px) {
    #page_header li ul {
        top   : 0;
        margin: 3.2rem 0 0 -1.8rem;
    }

    #page_header li:hover ul {
        top: 0.5rem;
    }

    #page_header li ul li {
        font-size: 1.4rem;
        height   : 2.0rem;
        padding  : 0.4rem 2.4rem 0.4rem 1.8rem;
    }
}

#page_header li a {
    padding-bottom: 3px;
}

#page_header ul li a.em_current_page {
    border-bottom: 0;
}
/* always show on tablets */
.mod-touch #em_header_fixed {
    opacity: 1;
}
/* never show on management pages */
.em_manage #em_header_fixed {
    display: none;
}


/* Post Nav –––––––––––––––––––––––––––––––––––––––––––––––––– */
.em_post_footer.private,
article.private {
    opacity: 0.75;
}

.em_navigation {
    padding-top : 3rem;
    color      : var(--emcor-halfway-over);
    text-shadow: 0 0 1px rgba(0, 0, 0, .1);
    border-top: 1px solid var(--emcor-lighten-slight);
    margin-top: 6rem !important;
}

.em_navigation .nav_pages {
    float: right;
}

.em_footer .em_navigation {
    border: 0;
    padding-top: 0;
    margin-bottom: 0;
    margin-top: 4rem !important;
}

.em_navigation.em_small_nav,
.em_navigation.em_small_nav_manage,
.em_navigation.em_small_nav_left {
    font-size : 1.3rem;
}

.em_navigation.em_small_nav_float {
    font-size : 1.3rem;
    border: 0 !important;
    margin-top: 0 !important;
}

.em_navigation.em_icons_right {
    font-size : 1.2rem;
    text-align: left;
    margin-top: 0 !important;
    margin-bottom: 2rem;
    padding-top: 0;
    border: 0;
}

.em_navigation.em_icons_right a {
    min-width: 80px;
    margin-right: 1rem;
}

/* Larger than tablet */
@media (min-width: 750px) {
    .em_navigation.em_icons_right {
        font-size : 1.3rem;
        float: right;
        margin-bottom: 0 !important;
        margin-left: 3rem;
    }
    .em_navigation.em_icons_right a {
        position: relative;
        margin-right: 0;
        margin-left: 1rem;
        top: -1rem;
    }
}


.em_navigation.em_small_nav_manage {
    margin-top: 3rem !important;
}

.em_navigation span {
    margin-right: 0.6rem;
    padding     : 0;
}

.em_navigation.em_small_nav span:first-child {
    display: none;
}

.em_footer .em_navigation a,
.em_navigation a {
    display      : inline-block;
    min-width    : 2.5rem;
    margin-right : 0.4rem;
    padding      : 0.6rem;
    text-align   : center;
    color        : var(--emcor-halfway-over);
    border       : 1px solid var(--emcor-lighten-slight) !important;
    border-radius: var(--em-border-radius);
    box-shadow   : var(--em-menu-shadow);
    background   : transparent;
}

.em_navigation a#navlink_current {
    color       : var(--emcor-body-text) !important;
    border      : 1px solid var(--emcor-links-active);
    background  : var(--emcor-links-active);
}

.em_navigation a.navlink_home {
    border      : 1px solid var(--emcor-lighten-slighter) !important;
    background  : var(--emcor-lighten-slighter);
}

.em_navigation a:active,
.em_navigation a:hover {
    color       : var(--emcor-body-bg) !important;
    background  : var(--emcor-links);
}

.em_navigation a:focus{
     color       : var(--emcor-links-active) !important;
     border      : 1px solid var(--emcor-links-active);
}


.em_navpages {
    display: none;
}

.em_prevnext {
    display: inline-block;
}

.em_prevnext a {
    min-width: 12rem;
}
/* Larger than tablet */
@media (min-width: 750px) {
    .em_navigation {
        margin: 4.0rem 0;
    }

    .em_navpages {
        display: inline-block;
    }

    .em_prevnext {
        display: none;
    }
}


/* Forms
–––––––––––––––––––––––––––––––––––––––––––––––––– */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
  height: 38px;
  padding: 6px 10px; /* The 6px vertically centers text on FF, ignored by Webkit */
    color      : var(--emcor-links);
    border     : 1px solid var(--emcor-lighten-slight);
    background: var(--emcor-darken-strong);
    text-shadow: 1px 1px 5px rgba(0, 0, 0, .3);
    box-shadow: var(--em-menu-shadow);
    border-radius: var(--em-border-radius);
  box-sizing: border-box; }
/* Removes awkward default styles on some inputs for iOS */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none; }
textarea {
  min-height: 65px;
  padding-top: 6px;
  padding-bottom: 6px; }
input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
    background: var(--emcor-darken-stronger);
    border-color: var(--emcor-lighten);
    box-shadow: 0px 0px 0px 0px #000;
  outline: 0; }
label,
legend {
  display: block;
  margin-bottom: .5rem;
  font-weight: 400; }
fieldset {
  padding: 0;
  border-width: 0; }
input[type="checkbox"],
input[type="radio"] {
  display: inline; }
label > .label-body {
  display: inline-block;
  margin-left: .5rem;
  font-weight: normal; }



/* Buttons
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
  display: inline-block;
  height: 38px;
  padding: 0 30px;
  color       : var(--emcor-body-text);
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  line-height: 38px;
  letter-spacing: .1rem;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  background-color: var(--emcor-lighten-slight);
  border-radius: var(--em-border-radius);
  border: 1px solid var(--emcor-lighten-slighter);
  box-shadow: var(--em-menu-shadow);
  cursor: pointer;
  box-sizing: border-box; }
.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
.button:focus,
.button:active,
button:focus,
input[type="submit"]:focus,
input[type="reset"]:focus,
input[type="button"]:focus {
    color       : var(--emcor-body-text);
    border-color: var(--emcor-lighten);
    background  : var(--emcor-lighten);
 }
.button.button-primary,
button.button-primary,
input[type="submit"].button-primary,
input[type="reset"].button-primary,
input[type="button"].button-primary {
    color       : var(--emcor-body-text);
    border-color: var(--emcor-button-green);
    background  : var(--emcor-button-green);
}
.button.button-primary:hover,
button.button-primary:hover,
input[type="submit"].button-primary:hover,
input[type="reset"].button-primary:hover,
input[type="button"].button-primary:hover,
.button.button-primary:focus,
.button.button-primary:active,
button.button-primary:focus,
input[type="submit"].button-primary:focus,
input[type="reset"].button-primary:focus,
input[type="button"].button-primary:focus {
    color       : var(--emcor-body-text) !important;
    border-color: var(--emcor-lighten) !important;
    background  : var(--emcor-button-green-strong) !important;
}

.button.button-red,
a.button.button-red,
button.button-red,
input.button-red {
    color       : var(--emcor-body-text) !important;
    border-color: var(--emcor-button-red) !important;
    background  : var(--emcor-button-red) !important;
}

.button.button-red:active,
.button.button-red:focus,
.button.button-red:hover,
a.button.button-red:hover,
button.button-red:focus,
button.button-red:hover,
input.button-red:focus,
input.button-red:hover {
    color       : var(--emcor-body-text) !important;
    border-color: var(--emcor-lighten) !important;
    background  : var(--emcor-button-red-strong) !important;
}

.button.button-blue,
a.button.button-blue,
button.button-blue,
input.button-blue {
    color       : var(--emcor-body-text) !important;
    border-color: var(--emcor-button-blue) !important;
    background  : var(--emcor-button-blue) !important;
}

.button.button-blue:active,
.button.button-blue:focus,
.button.button-blue:hover,
a.button.button-blue:hover,
button.button-blue:focus,
button.button-blue:hover,
input.button-blue:focus,
input.button-blue:hover {
    color       : var(--emcor-body-text) !important;
    border-color: var(--emcor-lighten) !important;
    background  : var(--emcor-button-blue-strong) !important;
}

.em_footer p > a.button {
    margin-right: 0.8rem;
}

p select {
    font-size: 1.3rem;
    margin   : 0;
    padding  : 0 1rem;
}

div.em_list_separator,
p.em_list_separator {
    padding: 1rem 0;
}

div.em_list_separator:not(:first-child),
p.em_list_separator:not(:first-child) {
    margin-bottom: 0;
    border-top: 1px dotted var(--emcor-lighten-slight);
}

div.post_description h5,
div.post_description h6,
div.em_list_separator h5,
div.em_list_separator h6 {
    margin: 2.4rem 0 1rem 0;
}

article.em_two_cols h5,
article.em_two_cols h6 {
    margin-bottom: 1rem;
}


/* Page Footer –––––––––––––––––––––––––––––––––––––––––––––––––– */
.em_footer {
    padding-top: 3rem;
    color: var(--emcor-footer-text);
    background  : linear-gradient( to bottom, var(--emcor-prefooter-bg, #111) 0%, var(--emcor-prefooter-bg-grad, #111) 70%);
}

.em_footer a:link,
.em_footer a:visited {
    color: var(--emcor-footer-text);
    border-bottom: 2px dotted var(--emcor-lighten);
}

.em_footer a:focus,
.em_footer a:hover {
    color        : var(--emcor-links-focus);
    border-bottom: transparent;
}

.em_footer p {
    font-size    : var(--em-font-12);
    margin-bottom: 1.0rem;
}
@media (min-width: 750px) {
    .em_footer p {
        font-size: var(--em-font-14);
    }
}

.em_footer p img.em_monogram {
    position: relative;
    left    : -.8rem;
    width   : 4.8rem;
    height  : 4.8rem;
}

.em_footer h6 {
    margin-top: 1.7rem;
    margin-bottom: .3rem;
    font-weight: 400;
}
@media (min-width: 550px) {
    .em_footer h6 {
        font-size: 1.7rem;
    }
}

#page {
    padding-bottom: 8rem;
}

#page.em_page_stream {
    padding-bottom: 12rem;
}

#blog_footer.em_footer,
#doc_footer.em_footer {
    z-index      : 1;
    width        : 100%;
    border-bottom: 1px solid var(--emcor-darken-stronger);
    box-shadow   : 0 3px 10px rgba(0, 0, 0, .2);
    padding-bottom: 3rem;
}

#doc_footer.em_footer {
    padding-bottom: 8rem;
}

#page_footer.em_footer {
        background  : linear-gradient( to bottom, var(--emcor-footer-bg, #111) 0%, var(--emcor-footer-bg-grad, #111) 100%);
}

#blog_footer.em_footer .row:not(:last-child),
#doc_footer.em_footer .row:not(:last-child) {
    padding-bottom: 3.0rem;
    margin-bottom: 3.0rem;
    border-bottom: 1px solid var(--emcor-lighten-slight);
}
@media (min-width: 550px) and (max-width: 749px) {
    .em_footer .column,
    .em_footer .columns:not(.twelve) {
        width       : 48%;
        margin-right: 2%;
        margin-left : 0;
        padding-right: 5%;
    }
}
@media (max-width: 549px) {
    .em_footer .column,
    .em_footer .columns:not(.twelve) {
        padding-bottom: 3rem;
    }
}

#page_margin {
    display: none;
}
@media (min-width: 750px) {
    #page_margin {
        display      : block;
        height       : 1px;
        margin-bottom: 30rem;
        box-shadow   : 0 3px 10px rgba(0, 0, 0, .2);
    }

    #blog_footer.em_footer,
    #doc_footer.em_footer {
        margin-bottom: 29.9rem;
    }

    #page_footer.em_footer {
        position: fixed;
        z-index : -1;
        bottom  : 0;
        height  : 30rem;
        padding-top: 8rem !important;
    }
}

.em_footer .button,
.em_footer a.button,
.em_footer button,
.em_footer input[type='button'],
.em_footer input[type='reset'],
.em_footer input[type='submit'] {
    font-weight: 500;
    padding    : 0 1.5rem;
    color      : var(--emcor-links);
    border     : 1px solid var(--emcor-lighten-slighter);
    background : var(--emcor-lighten-slight);
    text-shadow: 1px 1px 5px rgba(0, 0, 0, .3);
    box-shadow: var(--em-menu-shadow);
    border-radius: var(--em-border-radius);
}

.em_footer .button:hover,
.em_footer button:hover,
.em_footer input[type='button']:hover,
.em_footer input[type='reset']:hover,
.em_footer input[type='submit']:hover { 
    color       : var(--emcor-body-bg);
    background  : var(--emcor-links);
    text-shadow: none;
}

.em_footer .button:focus,
.em_footer button:focus,
.em_footer input[type='button']:focus,
.em_footer input[type='reset']:focus,
.em_footer input[type='submit']:focus {
    color      : var(--emcor-links);
    background  : var(--emcor-links-active) !important;
    border      : 1px solid var(--emcor-links-active);
    box-shadow: 0;
}

.em_footer input[type='email'],
.em_footer input[type='number'],
.em_footer input[type='password'],
.em_footer input[type='search'],
.em_footer input[type='tel'],
.em_footer input[type='text'],
.em_footer input[type='url'],
.em_footer textarea {
    color      : var(--emcor-links);
    border     : 1px solid var(--emcor-lighten-slight);
    background: var(--emcor-darken-strong);
    text-shadow: 1px 1px 5px rgba(0, 0, 0, .3);
    box-shadow: var(--em-menu-shadow);
    border-radius: var(--em-border-radius);
}

.em_footer select {
    color      : var(--emcor-links);
    border     : 1px solid var(--emcor-lighten-slight);
    background: var(--emcor-darken-strong);
    text-shadow: 1px 1px 5px rgba(0, 0, 0, .3);
    box-shadow: var(--em-menu-shadow);
    border-radius: var(--em-border-radius);
}

.em_footer input[type='email']:hover,
.em_footer input[type='number']:hover,
.em_footer input[type='password']:hover,
.em_footer input[type='search']:hover,
.em_footer input[type='tel']:hover,
.em_footer input[type='text']:hover,
.em_footer input[type='url']:hover,
.em_footer select:hover,
.em_footer textarea:hover {
    background: var(--emcor-darken-stronger);
}

.em_footer input[type='email']:focus,
.em_footer input[type='number']:focus,
.em_footer input[type='password']:focus,
.em_footer input[type='search']:focus,
.em_footer input[type='tel']:focus,
.em_footer input[type='text']:focus,
.em_footer input[type='url']:focus,
.em_footer select:focus,
.em_footer textarea:focus {
    background: var(--emcor-darken-stronger);
    border-color: var(--emcor-lighten);
    box-shadow: 0px 0px 0px 0px #000;
}

.em_footer option {
    background-color: #111 !important;
}



/* Tables */
table {
    width: 100%;
}

table td {
    padding: 0.8rem 0.8rem 0.8rem 0;
}

table tr:last-child td {
    border: 0;
}

table input,
table select {
    font-size: 1.2rem;
    margin   : 0.8rem 0;
}

table input[type=text] {
    width: 20ch;
}

table input[type=submit] {
    padding: 0 1.5rem;
}
/* Content Types –––––––––––––––––––––––––––––––––––––––––––––––––– */
.type_video.post_media,
.type_video .post_media {
    position      : relative;
    overflow      : hidden;
    height        : 0;
    padding-bottom: 56.25%;
}

.type_video.post_media embed,
.type_video.post_media iframe,
.type_video.post_media object,
.type_video .post_media embed,
.type_video .post_media iframe,
.type_video .post_media object {
    position: absolute;
    top     : 0;
    left    : 0;
    width   : 100%;
    height  : 100%;
}

ul.reviews_list li {
    display: block;
}

ul.reviews_list li .stars {
    margin-right: 0.8rem;
}

/* Images –––––––––––––––––––––––––––––––––––––––––––––––––– */
.post_description img,
.post_media img,
.post_photoset img,
.em_img img {
    box-sizing: border-box;
    width     : auto;
    max-width : 100%;
    height    : auto;
    max-height: 90vmin;
    position: relative;
}
.post_description img,
.post_media img,
.post_photoset img,
.em_img.em_half img {
    box-shadow: 2px 3px 12px rgba(0, 0, 0, .3);
}



.noborder img,
img.noborder {
    box-shadow: inherit;
}

.noshadow img,
img.noshadow {
    box-shadow: none;
}

.post_description .em_float_right {
    float: inherit;
}

.post_description p + img,
.post_description p + p img {
    margin-top: 2rem;
}

.post_description img + p {
    margin-top: 1.5rem;
}

.post_photoset {
    line-height: 0;
    margin-top : -3.0rem;
}

.post_photoset a.em_img img {
    margin-top: 3.0rem;
    padding   : 0;
}

.post_photoset a.em_img.em_thumb img {
    margin : .2rem .2rem 0 0;
    padding: 0;
}

.post_photoset a.em_img p {
    line-height: 1.2;
    margin     : 1.5rem 0;
}

.post_photoset a.em_img:last-child p {
    margin-bottom: 3rem;
}


/* Larger than tablet */
@media (min-width: 750px) {
    .post_photoset {
        line-height: 0;
        margin-top : -2%;
        margin-left: -2%;
    }

    .post_photoset a.em_img {
        display       : inline-block;
        margin-top    : 2%;
        margin-left   : 2%;
        vertical-align: top;
    }

    .post_photoset a.em_img img {
        margin : 0;
        padding: 0;
    }

    .post_photoset a.em_img:last-child p {
        margin-bottom: 1.5rem;
    }

    a.em_img.em_half,
    .post_photoset a.em_img.em_half,
    a.em_img.em_third,
    .post_photoset a.em_img.em_third {
        max-width: 48%;
    }

    .post_description .em_float_right {
        float: right;
    }

    .post_description .em_float_right  {
        margin-left: 3rem;
    }

    .post_description img.em_float_right,
    .post_description .em_float_right img {
        max-width: 48%;
    }
}
/* Larger than desktop */
@media (min-width: 1000px) {
    a.em_img.em_third,
    .post_photoset a.em_img.em_third {
        max-width: 31.333333%;
    }
}

/* Larger than desktop */
@media (max-width: 749px) {
    .post_photoset a.em_img_fullwidth img {
        width: 100%;
    }
}


.em_post_footer a img {
    position    : relative;
    top         : 0.3rem;
    margin-right: 0.4rem;
}

img.em_icon_big_sq {
    position: relative;
    left: -20px;
    width: 150px;
    height: 150px;
}

@media (min-width: 1000px) {
    img.em_icon_big_sq {
        left: -30px;
        width: 230px;
        height: 230px;
    }
}


.video-container {

}

.video-container iframe, .video-container object, .video-container embed {
    max-width:100%;
    max-height:56.5%;
}


/* Misc
–––––––––––––––––––––––––––––––––––––––––––––––––– */
hr {
  margin-top: 3rem;
  margin-bottom: 3.5rem;
  border-width: 0;
  border-top: 1px solid var(--emcor-lighten-slight); }

hr.margin0 { margin-top: 0; }
hr.margin6 { margin: 6rem 0; }


.em_space {
    display: inline-block;
}
.em_space.margin01 { margin: 0 0 1rem 0; }
.em_space.margin03 { margin: 0 0 3rem 0; }
.em_space.pad3 { padding: 3rem 0; }
.em_space.pad90 { padding: 9rem 0 0 0; }

.em_adjust {
    position: relative;
}
.em_adjust.lift3 { bottom: 3rem; }
.em_adjust.lift6 { bottom: 6rem; }

/* Tables
–––––––––––––––––––––––––––––––––––––––––––––––––– */
th,
td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px var(--emcor-lighten-slight); }
th:first-child,
td:first-child {
  padding-left: 0; }
th:last-child,
td:last-child {
  padding-right: 0; }


/* SELECTION */
::selection,
img::selection {
    background: var(--emcor-selection-hl);
}

::-moz-selection,
img::-moz-selection {
    background: var(--emcor-selection-hl);
}

#page::selection {
    background: var(--emcor-selection-hl);
}

#page::-moz-selection {
    background: var(--emcor-selection-hl);
}
