/*
Theme Name: Janita's Photography
Theme URI:
Author: Nik Sumeiko
Author URI: https://withnik.com
Description:
Version: 0.5.0
Tags:
Text Domain: janita
*/
/* BEGIN Light */
@font-face {
    font-family: 'Open Sans';
    src: url("./fonts/OpenSans-Light.woff2?v=1.101") format("woff2"), url("./fonts/OpenSans-Light.woff?v=1.101") format("woff");
    font-weight: 300;
    font-style: normal;
}

/* END Light */
/* BEGIN Light Italic */
@font-face {
    font-family: 'Open Sans';
    src: url("./fonts/OpenSans-LightItalic.woff2?v=1.101") format("woff2"), url("./fonts/OpenSans-LightItalic.woff?v=1.101") format("woff");
    font-weight: 300;
    font-style: italic;
}

/* END Light Italic */
/* BEGIN Regular */
@font-face {
    font-family: 'Open Sans';
    src: url("./fonts/OpenSans-Regular.woff2?v=1.101") format("woff2"), url("./fonts/OpenSans-Regular.woff?v=1.101") format("woff");
    font-weight: normal;
    font-style: normal;
}

/* END Regular */
/* BEGIN Italic */
@font-face {
    font-family: 'Open Sans';
    src: url("./fonts/OpenSans-Italic.woff2?v=1.101") format("woff2"), url("./fonts/OpenSans-Italic.woff?v=1.101") format("woff");
    font-weight: normal;
    font-style: italic;
}

/* END Italic */
/* BEGIN Semibold */
@font-face {
    font-family: 'Open Sans';
    src: url("./fonts/OpenSans-Semibold.woff2?v=1.101") format("woff2"), url("./fonts/OpenSans-Semibold.woff?v=1.101") format("woff");
    font-weight: 600;
    font-style: normal;
}

/* END Semibold */
/* BEGIN Semibold Italic */
@font-face {
    font-family: 'Open Sans';
    src: url("./fonts/OpenSans-SemiboldItalic.woff2?v=1.101") format("woff2"), url("./fonts/OpenSans-SemiboldItalic.woff?v=1.101") format("woff");
    font-weight: 600;
    font-style: italic;
}

/* END Semibold Italic */
/* BEGIN Bold */
@font-face {
    font-family: 'Open Sans';
    src: url("./fonts/OpenSans-Bold.woff2?v=1.101") format("woff2"), url("./fonts/OpenSans-Bold.woff?v=1.101") format("woff");
    font-weight: bold;
    font-style: normal;
}

/* END Bold */
/* BEGIN Bold Italic */
@font-face {
    font-family: 'Open Sans';
    src: url("./fonts/OpenSans-BoldItalic.woff2?v=1.101") format("woff2"), url("./fonts/OpenSans-BoldItalic.woff?v=1.101") format("woff");
    font-weight: bold;
    font-style: italic;
}

/* END Bold Italic */
/*! normalize.css v2.1.0 | MIT License | git.io/normalize */
/* ==========================================================================
   HTML5 display definitions
   ========================================================================== */
/**
 * Correct `block` display not defined in IE 8/9.
 */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
    display: block;
}

/**
 * Correct `inline-block` display not defined in IE 8/9.
 */
audio,
canvas,
video {
    display: inline-block;
}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */
audio:not([controls]) {
    display: none;
    height: 0;
}

/**
 * Address styling not present in IE 8/9.
 */
[hidden] {
    display: none;
}

/* ==========================================================================
   Base
   ========================================================================== */
/**
 * 1. Set default font family to sans-serif.
 * 2. Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */
html {
    font-family: sans-serif;
    /* 1 */
    -webkit-text-size-adjust: 100%;
    /* 2 */
    -ms-text-size-adjust: 100%;
    /* 2 */
}

/**
 * Remove default margin.
 */
body {
    margin: 0;
}

/* ==========================================================================
   Links
   ========================================================================== */
/**
 * Address `outline` inconsistency between Chrome and other browsers.
 */
a:focus {
    outline: thin dotted;
}

/**
 * Improve readability when focused and also mouse hovered in all browsers.
 */
a:active,
a:hover {
    outline: 0;
}

/* ==========================================================================
   Typography
   ========================================================================== */
/**
 * Address variable `h1` font-size and margin within `section` and `article`
 * contexts in Firefox 4+, Safari 5, and Chrome.
 */
/**
 * Address styling not present in IE 8/9, Safari 5, and Chrome.
 */
abbr[title] {
    border-bottom: 1px dotted;
}

/**
 * Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
 */
b,
strong {
    font-weight: bold;
}

/**
 * Address styling not present in Safari 5 and Chrome.
 */
dfn {
    font-style: italic;
}

/**
 * Address differences between Firefox and other browsers.
 */
hr {
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    height: 0;
}

/**
 * Address styling not present in IE 8/9.
 */
mark {
    background: #ff0;
    color: #000;
}

/**
 * Correct font family set oddly in Safari 5 and Chrome.
 */
code,
kbd,
pre,
samp {
    font-family: monospace, serif;
}

/**
 * Improve readability of pre-formatted text in all browsers.
 */
pre {
    white-space: pre-wrap;
}

/**
 * Set consistent quote types.
 */
q {
    quotes: "\201C" "\201D" "\2018" "\2019";
}

/**
 * Address inconsistent and variable font size in all browsers.
 */
small {
    font-size: 80%;
}

/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */
sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

/* ==========================================================================
   Embedded content
   ========================================================================== */
/**
 * Remove border when inside `a` element in IE 8/9.
 */
img {
    border: 0;
}

/**
 * Correct overflow displayed oddly in IE 9.
 */
svg:not(:root) {
    overflow: hidden;
}

/* ==========================================================================
   Figures
   ========================================================================== */
/**
 * Address margin not present in IE 8/9 and Safari 5.
 */
figure {
    margin: 0;
}

/* ==========================================================================
   Forms
   ========================================================================== */
/**
 * Define consistent border, margin, and padding.
 */
fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. Correct `color` not being inherited in IE 8/9.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 */
legend {
    border: 0;
    /* 1 */
    padding: 0;
    /* 2 */
}

/**
 * 1. Correct font family not being inherited in all browsers.
 * 2. Correct font size not being inherited in all browsers.
 * 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
 */
button,
input,
select,
textarea {
    font-family: inherit;
    /* 1 */
    font-size: 100%;
    /* 2 */
    margin: 0;
    /* 3 */
}

/**
 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */
button,
input {
    line-height: normal;
}

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.
 * Correct `select` style inheritance in Firefox 4+ and Opera.
 */
button,
select {
    text-transform: none;
}

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 */
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    /* 2 */
    cursor: pointer;
    /* 3 */
}

/**
 * Re-set default cursor for disabled elements.
 */
button[disabled],
html input[disabled] {
    cursor: default;
}

/**
 * 1. Address box sizing set to `content-box` in IE 8/9.
 * 2. Remove excess padding in IE 8/9.
 */
input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box;
    /* 1 */
    padding: 0;
    /* 2 */
}

/**
 * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
 *    (include `-moz` to future-proof).
 */
input[type="search"] {
    -webkit-appearance: textfield;
    /* 1 */
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    /* 2 */
    box-sizing: content-box;
}

/**
 * Remove inner padding and search cancel button in Safari 5 and Chrome
 * on OS X.
 */
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * Remove inner padding and border in Firefox 4+.
 */
button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

/**
 * 1. Remove default vertical scrollbar in IE 8/9.
 * 2. Improve readability and alignment in all browsers.
 */
textarea {
    overflow: auto;
    /* 1 */
    vertical-align: top;
    /* 2 */
}

/* ==========================================================================
   Tables
   ========================================================================== */
/**
 * Remove most spacing between table cells.
 */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    line-height: 1.4;
}

a {
    color: #00e;
}

a:visited {
    color: #551a8b;
}

a:hover {
    color: #06e;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */
img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */
fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */
textarea {
    resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
html {
    font-size: 62.5%;
}

body {
    width: 100%;
    height: 100%;
    font-family: "Open Sans", serif;
    color: #000;
    font-size: 1.6rem;
    font-weight: 300;
    margin-top: 9rem;
}

body > main {
    min-height: calc(100vh - 16.5rem);
}

@-moz-document url-prefix() {
    body > main {
        min-height: calc(100vh - 8.5rem);
    }
}

body > main > section {
    margin-bottom: 8rem;
}

body .main-up {
    position: fixed;
    bottom: 1.8rem;
    right: 1.8rem;
    padding: 0 0.1rem;
    height: 5rem;
    line-height: 4.7rem;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 0.5rem;
    -webkit-transition: opacity 0.5s ease-in;
    -moz-transition: opacity 0.5s ease-in;
    transition: opacity 0.5s ease-in;
    opacity: 0;
    font-style: normal;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    font-size: 35px;
    color: rgba(255, 255, 255, 0.75);
}

body .main-up.displayed {
    opacity: 1;
}

body .main-outer-layout {
    width: 80rem;
    margin: 0 auto;
}

body .contents {
    margin-top: 3rem;
}

body .contents .main-media {
    width: 100%;
    padding: 2rem 0 0;
}

body .contents .main-media a {
    border: 0;
}

body .contents p {
    font-size: 1.6rem;
}

body .contents > * {
    width: 93%;
    margin-left: auto;
    margin-right: auto;
}

body .contents ul, body .contents ol {
    width: calc(93% - 8rem);
}

body .contents > img, body .contents > .comp-preloader, body .contents > .comp-preloader_finished {
    width: 100% !important;
}

body .contents.flat {
    margin-top: 1rem;
}

body.full-width .contents {
    width: 100%;
}

body.full-width .contents > * {
    width: 94%;
    margin-left: auto;
    margin-right: auto;
}

body.full-width .contents ul, body.full-width .contents ol {
    width: calc(94% - 8rem);
}

body.full-width .contents > img, body.full-width .contents > .comp-preloader {
    width: 100%;
}

body .heading-title {
    text-rendering: optimizeLegibility;
    font-size: 2.5rem;
    font-weight: normal;
}

body .heading-title.heading-title-home {
    margin: 4.5rem 0 12rem;
    padding: 0;
}

body .heading-subtitle {
    margin-top: 1rem;
    font-size: 1.4rem;
    color: #999;
}

body .heading-subtitle a[rel='tag'], body .heading-subtitle em[rel='tag'] {
    display: inline-block;
    margin: 2rem 1rem 0 0;
    font-style: normal;
}

body .heading-subtitle a[rel='tag']:before, body .heading-subtitle em[rel='tag']:before {
    content: '#';
}

body .heading-subtitle em[rel='tag'] {
    margin-top: 0.5rem;
}

a, a:visited, a:active, a:hover {
    color: #06BF9A;
    text-decoration: none;
}

a:hover {
    border-bottom: dotted 0.1rem #06BF9A;
}

a[data-gallery] {
    cursor: zoom-in;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-weight: 300;
}

h1 + p, h2 + p, h3 + p, h4 + p, h5 + p, h6 + p {
    padding: 0;
}

h1 {
    padding: 3.5rem 0 1.8rem;
    font-size: 2.6rem;
}

h2 {
    padding: 3.5rem 0 1.5rem;
    font-size: 2.2rem;
}

h3 {
    padding: 3rem 0 1rem;
    font-size: 2rem;
}

h4, h5 {
    padding: 2.5rem 0 1rem;
    font-weight: 600 !important;
}

h4 {
    font-size: 1.8rem;
}

h5, h6 {
    font-size: 1.6rem;
}

h6 {
    padding: 2.5rem 0 1rem;
}

p {
    margin: 0;
    padding: 2rem 0 2.8rem;
}

p:not(:empty) + p {
    padding-top: 0;
}

p:empty {
    display: none;
}

p.short {
    padding-top: 0.5rem;
}

p.before-readmore {
    padding-bottom: 1rem;
}

p.before-readmore + a i {
    font-style: normal;
    top: 0.1rem;
}

strong {
    font-weight: 600;
}

ol, ul {
    margin: 1rem 0;
    padding: 0 0 0 8rem;
}

ol ul, ol ol, ul ul, ul ol {
    margin: 0;
}

ol li, ul li {
    padding: 0 0 1rem;
}

ol li p, ul li p {
    padding: 0;
}

ol {
    list-style: decimal outside;
}

hr {
    position: relative;
    margin: 2rem 0;
    border: 0;
    height: 5rem;
    font-family: sans;
}

hr:after {
    position: absolute;
    text-align: center;
    left: 0;
    top: 0;
    width: 100%;
    content: '\b7\b7\b7';
    font-size: 6rem;
    color: #ddd;
    letter-spacing: 0.5rem;
}

blockquote {
    margin: 1rem 0;
    padding: 0;
    background: #eee;
    font-style: italic;
    color: #666;
}

blockquote p {
    padding: 2rem 1rem 2rem 5rem;
}

pre {
    margin: 1rem 0;
    padding: 2rem 1rem 2rem 4rem;
    border: 1px solid #ededed;
    color: #666;
    font-family: Consolas, Monaco, Lucida Console, monospace;
    font-size: 1.4rem;
    overflow: auto;
}

cite, em, i {
    font-style: italic;
}

cite {
    border: none;
}

code, kbd, samp, var {
    font-family: Consolas, Monaco, Lucida Console, monospace;
}

abbr, acronym, dfn {
    border-bottom: 1px dotted #666;
    cursor: help;
}

address {
    color: #666;
}

del {
    color: #333;
}

ins {
    background: #fff9c0;
    border: none;
    color: #333;
    text-decoration: none;
}

sup, sub {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5rem;
}

sub {
    bottom: -0.3rem;
}

time {
    font-size: 1.3rem;
    color: #999;
}

img {
    max-width: 100%;
    margin: 0 0 0.8rem;
}

img.alignleft, img.alignright {
    display: inline;
    margin-top: 0.7rem;
}

img.alignleft {
    float: left;
    margin-right: 2rem;
}

img.alignright {
    float: right;
    margin-left: 2rem;
}

img.aligncenter {
    clear: both;
    width: 100%;
    height: auto !important;
}

.wp-caption {
    background: rgba(0, 0, 0, 0.025);
    border: none;
    margin: 2rem 0 0;
    width: 100% !important;
}

.wp-caption-dt {
    margin: 0;
}

.wp-caption .wp-caption-text, .wp-caption-dd {
    color: #757575;
    font-size: 1.3rem;
    margin: 0 0 0.5rem;
    padding: 0 1rem 1rem;
}

.max-outer-layout {
    max-width: 200rem;
    margin: 0 auto;
}

.comp-footer {
    height: 4rem;
    border-top: solid 1px #d7d7d7;
    background: #fafafa;
}

.comp-footer_socials {
    line-height: normal;
    top: 2px;
}

.comp-footer .comp-footer_wrapper {
    line-height: 4.1rem;
    font-size: 1.3rem;
    color: #999;
}

.comp-footer .comp-footer_wrapper small {
    line-height: 4.1rem;
    font-size: 1.3rem;
    color: #222;
}

.comp-footer .comp-footer_wrapper small a {
    color: #222;
}

.comp-footer .comp-footer_wrapper > span {
    margin: 0 1rem;
}

.comp-footer .comp-footer_wrapper > span.separated {
    margin: 0 1rem 0 0;
}

.comp-footer .comp-footer_wrapper > span.separated:not(:first-child):before {
    padding: 0 1rem 0 0;
    content: '\b7';
}

.comp-footer .comp-footer_wrapper a {
    text-decoration: none;
    color: #999;
    border-color: #999;
}

body .comp-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4.5rem;
    line-height: 4.5rem;
    text-align: center;
    background: brown;
    color: yellow;
    z-index: 1;
}

body .comp-banner a {
    color: white;
    font-weight: 500;
    text-decoration: underline;
}

body .comp-header {
    top: 4.5rem;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 1;
    box-shadow: 0 5px 4px -4px rgba(190, 190, 190, 0.1);
}

body .comp-header_social-icons {
    top: 4.5rem;
    left: 1rem;
    z-index: 1;
}

body .comp-header_social-icons a {
    line-height: normal;
    color: grey;
    border: 0;
}

body .comp-header_social-icons a:hover {
    border: 0;
}

body .comp-header_social-icons, body .comp-header_logo, body .comp-header_nav ul li {
    font-size: 1.4rem;
    line-height: 4.5rem;
}

body .comp-header .comp-header_logo, body .comp-header .comp-header_nav ul {
    margin: 0;
    padding: 0;
}

body .comp-header .comp-header_logo {
    top: 0;
    left: 0;
    font-weight: normal;
}

body .comp-header .comp-header_logo .comp-header_logo-link {
    color: #000;
}

body .comp-header .comp-header_logo .comp-header_logo-link:hover {
    border-bottom-color: #000;
}

body .comp-header .comp-header_logo .comp-header_logo-link span {
    color: #999;
}

body .comp-header .comp-header_nav ul {
    list-style: none;
}

body .comp-header .comp-header_nav ul li {
    display: inline-block;
    margin: 0 0 0 2.5rem;
    padding: 0;
}

body .comp-header .comp-header_nav ul li.current_page_item a, body.category .comp-header .comp-header_nav .page-item-5 a, body.single-post .comp-header .comp-header_nav .page-item-5 a {
    color: #999;
    border-bottom-color: #999;
}

.comp-photowall {
    margin-bottom: 12rem;
    font-size: 1.4rem;
    /*&.first {
      img {
        -webkit-filter: sepia(100%);
        filter: sepia(100%);
        filter: url(#grayscale);

        @include transition(-webkit-filter 0.1s, filter 0.1s);
      }
    }*/
    /*.comp-photowall_gradient {
      top: 0;
      left: 0;
      width: 100%;
      height: 40rem;
      @include linear-gradient(rgba(255, 255, 255, 1), rgba(255, 255, 255, 0), $fallback: transparent);
      @include transition(opacity 0.25s);
    }*/
}

.comp-photowall .comp-photowall_description {
    padding: 1rem 0 0;
    color: #999;
}

.comp-photowall img {
    width: 100%;
    margin: 0;
}

.comp-photowall .comp-heading {
    margin: 0;
}

.comp-photowall .comp-heading .comp-heading_title {
    background: #fff;
}

.comp-photowall .comp-heading .comp-heading_title .comp-heading_title-text {
    padding-left: 0;
    margin: 0 2rem 0 0;
    font-size: 1.6rem;
}

.comp-photowall .comp-photowall_tags {
    margin-top: 1rem;
    line-height: 2.3rem;
}

.comp-photowall .comp-photowall_tags span {
    margin: 0 1.5rem 0 0;
    color: #666;
}

.comp-photowall .comp-photowall_tags span:first-child {
    padding: 0;
}

body {
    /*&.single-post .comp-heading,
    &.page:not(.page-id-5) .comp-heading {
      margin-top: 5.5rem;
    }*/
}

body .comp-heading {
    margin: 4rem 0 0;
    background-color: #fff;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(50%, #fff), color-stop(50%, #fafafa));
    background-image: -webkit-linear-gradient(right, #fff 50%, #fafafa 50%);
    background-image: linear-gradient(to left, #fff 50%, #fafafa 50%);
}

body .comp-heading .comp-heading_title, body .comp-heading .comp-heading_title .comp-heading_title-text {
    height: 4rem;
    line-height: 4rem;
}

body .comp-heading .comp-heading_title {
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
    background: #fff;
}

body .comp-heading .comp-heading_title .comp-heading_title-text {
    padding: 0 4rem 0 3rem;
    background: #fafafa;
}

body .comp-heading .comp-heading_title .comp-heading_title-text a {
    border: 0;
    color: #08d5ac;
}

body .comp-heading .comp-heading_title .comp-heading_title-text .comp-heading_title-text-parent {
    padding-right: 0.5rem;
    opacity: 0.25;
}

body .comp-heading .comp-heading_title .comp-heading_title-text .comp-heading_title-text-parent:after {
    content: '\a0\b7';
    padding-left: 0.5rem;
}

.comp-postsgrid:not([data-columns="1"]) {
    margin-left: -0.9%;
    margin-right: -0.9%;
}

.comp-postsgrid:not([data-columns="1"]) .comp-postsgrid_item {
    margin: 0 0 0.9% 0.9%;
}

.comp-postsgrid[data-columns="2"] .comp-postsgrid_item {
    width: 48.6%;
}

.comp-postsgrid[data-columns="3"] .comp-postsgrid_item {
    width: 32.1%;
}

.comp-postsgrid[data-columns="4"] .comp-postsgrid_item {
    width: 23.85%;
}

.comp-postsgrid[data-columns="5"] .comp-postsgrid_item {
    width: 18.9%;
}

.comp-postsgrid[data-columns="6"] .comp-postsgrid_item {
    width: 15.6%;
}

.comp-postsgrid[data-columns="7"] .comp-postsgrid_item {
    width: 13.25%;
}

.comp-postsgrid[data-columns="8"] .comp-postsgrid_item {
    width: 11.48%;
}

.comp-postsgrid[data-columns="9"] .comp-postsgrid_item {
    width: 10.1%;
}

.comp-postsgrid .comp-postsgrid_item {
    width: 100%;
    height: auto;
    margin: 0 0 1rem 0;
}

.comp-postsgrid .comp-postsgrid_item a:hover {
    border: 0;
}

.comp-postsgrid .comp-postsgrid_item a[data-zoomable] {
    display: block;
    cursor: -webkit-zoom-in;
    cursor: -moz-zoom-in;
    cursor: zoom-in;
}

.comp-postsgrid .comp-postsgrid_item img {
    width: 100%;
    margin: 0;
}

.comp-postsgrid .comp-postsgrid_item h2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    font-size: 1.7rem;
    text-align: center;
}

.comp-postsgrid .comp-postsgrid_item h2 a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #fff;
    border: 0;
    display: -webkit-box;
    display: -moz-box;
    display: box;
    -webkit-box-orient: inline-axis;
    -moz-box-orient: inline-axis;
    box-orient: inline-axis;
    -webkit-box-pack: center;
    -moz-box-pack: center;
    box-pack: center;
    -webkit-box-align: center;
    -moz-box-align: center;
    box-align: center;
    opacity: 0;
    text-shadow: -0.1rem -0.1rem 0.25rem #222, 0.1rem -0.1rem 0.25rem #222, -0.1rem 0.1rem 0.25rem #222, 0.1rem 0.1rem 0.25rem #222;
}

.comp-postsgrid .comp-postsgrid_item h2 a:hover {
    opacity: 1;
}

body .comp-contactform_checkbox {
    margin: 0 0 1rem;
}

body .comp-contactform_checkbox label {
    width: 65%;
}

body .comp-contactform_checkbox input[type="checkbox"].error + span {
    color: #db7093;
}

body .comp-contactform .comp-contactform_label {
    margin: 0 0 1rem;
}

body .comp-contactform .comp-contactform_input, body .comp-contactform .comp-contactform_textarea {
    width: 78.8rem;
    padding: 0.3rem 0.5rem;
    border: solid 1px #999;
    font-size: 1.5rem;
}

body .comp-contactform .comp-contactform_input.error, body .comp-contactform .comp-contactform_textarea.error {
    background: #ffd0d0;
}

body .comp-contactform .comp-contactform_textarea {
    height: 10rem;
}

body .comp-contactform .comp-contactform_submit {
    padding: 0.3rem 3.5rem;
    border: solid 1px #06BF9A;
    font-size: 1.4rem;
    color: #06BF9A;
    background: #fff;
}

body .comp-contactform .comp-contactform_submit:hover {
    background: #06BF9A;
    color: #fff;
}

body .comp-contactform .comp-contactform_status {
    width: 65rem;
    margin: 0;
    padding: 0.5rem 0 0 0.6rem;
    line-height: 2rem;
}

body .comp-contactform .comp-contactform_status.process {
    color: #999;
}

body .comp-contactform .comp-contactform_status.success {
    color: #06BF9A;
}

body .comp-categories {
    line-height: 1.4rem;
    padding-top: 1.5rem;
}

body .comp-categories span {
    font-size: 1.4rem;
    margin: 0 0 0 0.6rem;
}

body .comp-categories span:first-child {
    margin-left: 0;
}

body .comp-categories span:first-child:before {
    display: none;
}

body .comp-categories span:before {
    padding: 0 1rem 0 0;
    content: '\b7';
}

body .comp-categories span a.current_page_item {
    color: #999;
    border-bottom-color: #999;
}

body .comp-preloader {
    margin: 0 0 0.8rem;
    background: #fafafa;
}

body .comp-preloader.transitionable img {
    -webkit-transition: opacity 1s ease-in;
    -moz-transition: opacity 1s ease-in;
    transition: opacity 1s ease-in;
}

body .comp-preloader img {
    margin: 0;
    opacity: 0;
}

body .comp-preloader .comp-preloader_progress {
    top: 0;
    left: 0;
    height: 0.3rem;
    width: 100%;
    background-color: transparent;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(0, 0, 0, 0.4)), color-stop(100%, rgba(0, 0, 0, 0.1)));
    background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.1));
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.1));
}

body .comp-preloader .comp-preloader_progress .comp-preloader_progress-bar {
    top: 0;
    right: 0;
    width: 100%;
    height: 0.3rem;
    background: #fff;
    -webkit-transition: width 0.5s;
    -moz-transition: width 0.5s;
    transition: width 0.5s;
}

body .comp-preloader_buttons {
    display: none;
    top: 0.9rem;
    right: 1rem;
}

body .comp-preloader_buttons a {
    border: 0;
    line-height: normal;
}

body .comp-preloader_finished:hover .comp-preloader_buttons {
    display: block;
}

body.home .comp-preloader {
    margin: 0;
}

body.home .comp-preloader img {
    width: 100%;
}

body .comp-socials {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

body .comp-socials a {
    border: solid 1px rgba(6, 191, 154, 0.25);
    padding: 0.8rem;
    margin: 0 0 0 1.5rem;
    color: rgba(6, 191, 154, 0.75);
}

body .comp-socials a:first-child {
    margin: 0;
}

body .comp-socials a.icon-fivehundredpx:before {
    text-indent: -0.2rem;
}

body .comp-socials a:hover {
    background: #06BF9A;
    color: #fff;
}

body .comp-disqus {
    margin-top: 5rem;
    min-height: 10rem;
}

body .comp-disqus .tab-community {
    display: none !important;
}

.comp-sharables a {
    border-bottom: 0;
}

.comp-sharables .pinterest {
    line-height: normal;
    height: 2rem;
    margin-top: 0.9rem;
}

.embed-video {
    width: 100%;
    max-width: 100%;
    margin: 0 0 0.8rem;
}

/*! PhotoSwipe main CSS by Dmitry Semenov | photoswipe.com | MIT license */
/*
	Styles for basic PhotoSwipe functionality (sliding area, open/close transitions)
*/
/* pswp = photoswipe */
.pswp {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    overflow: hidden;
    -ms-touch-action: none;
    touch-action: none;
    z-index: 1500;
    -webkit-text-size-adjust: 100%;
    /* create separate layer, to avoid paint on window.onscroll in webkit/blink */
    -webkit-backface-visibility: hidden;
    outline: none;
}

.pswp * {
    box-sizing: border-box;
}

.pswp img {
    max-width: none;
}

/* style is added when JS option showHideOpacity is set to true */
.pswp--animate_opacity {
    /* 0.001, because opacity:0 doesn't trigger Paint action, which causes lag at start of transition */
    opacity: 0.001;
    will-change: opacity;
    /* for open/close transition */
    transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1);
}

.pswp--open {
    display: block;
}

.pswp--zoom-allowed .pswp__img {
    /* autoprefixer: off */
    cursor: -webkit-zoom-in;
    cursor: -moz-zoom-in;
    cursor: zoom-in;
}

.pswp--zoomed-in .pswp__img {
    /* autoprefixer: off */
    cursor: -webkit-grab;
    cursor: -moz-grab;
    cursor: grab;
}

.pswp--dragging .pswp__img {
    /* autoprefixer: off */
    cursor: -webkit-grabbing;
    cursor: -moz-grabbing;
    cursor: grabbing;
}

/*
	Background is added as a separate element.
	As animating opacity is much faster than animating rgba() background-color.
*/
.pswp__bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0;
    -webkit-backface-visibility: hidden;
    will-change: opacity;
}

.pswp__scroll-wrap {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.pswp__container,
.pswp__zoom-wrap {
    -ms-touch-action: none;
    touch-action: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

/* Prevent selection and tap highlights */
.pswp__container,
.pswp__img {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-touch-callout: none;
}

.pswp__zoom-wrap {
    position: absolute;
    width: 100%;
    -webkit-transform-origin: left top;
    -moz-transform-origin: left top;
    -ms-transform-origin: left top;
    transform-origin: left top;
    /* for open/close transition */
    transition: transform 333ms cubic-bezier(0.4, 0, 0.22, 1);
}

.pswp__bg {
    will-change: opacity;
    /* for open/close transition */
    transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1);
}

.pswp--animated-in .pswp__bg,
.pswp--animated-in .pswp__zoom-wrap {
    -webkit-transition: none;
    transition: none;
}

.pswp__container,
.pswp__zoom-wrap {
    -webkit-backface-visibility: hidden;
}

.pswp__item {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    overflow: hidden;
}

.pswp__img {
    position: absolute;
    width: auto;
    height: auto;
    top: 0;
    left: 0;
}

/*
	stretched thumbnail or div placeholder element (see below)
	style is added to avoid flickering in webkit/blink when layers overlap
*/
.pswp__img--placeholder {
    -webkit-backface-visibility: hidden;
}

/*
	div element that matches size of large image
	large image loads on top of it
*/
.pswp__img--placeholder--blank {
    background: #222;
}

.pswp--ie .pswp__img {
    width: 100% !important;
    height: auto !important;
    left: 0;
    top: 0;
}

/*
	Error message appears when image is not loaded
	(JS option errorMsg controls markup)
*/
.pswp__error-msg {
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    text-align: center;
    font-size: 14px;
    line-height: 16px;
    margin-top: -8px;
    color: #CCC;
}

.pswp__error-msg a {
    color: #CCC;
    text-decoration: underline;
}

/*! PhotoSwipe Default UI CSS by Dmitry Semenov | photoswipe.com | MIT license */
/*

	Contents:

	1. Buttons
	2. Share modal and links
	3. Index indicator ("1 of X" counter)
	4. Caption
	5. Loading indicator
	6. Additional styles (root element, top bar, idle state, hidden state, etc.)

*/
/*
	
	1. Buttons

 */
/* <button> css reset */
.pswp__button {
    width: 44px;
    height: 44px;
    position: relative;
    background: none;
    cursor: pointer;
    overflow: visible;
    -webkit-appearance: none;
    display: block;
    border: 0;
    padding: 0;
    margin: 0;
    float: right;
    opacity: 0.75;
    transition: opacity 0.2s;
    box-shadow: none;
}

.pswp__button:focus, .pswp__button:hover {
    opacity: 1;
}

.pswp__button:active {
    outline: none;
    opacity: 0.9;
}

.pswp__button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

/* pswp__ui--over-close class it added when mouse is over element that should close gallery */
.pswp__ui--over-close .pswp__button--close {
    opacity: 1;
}

.pswp__button,
.pswp__button--arrow--left:before,
.pswp__button--arrow--right:before {
    background: url(./images/photoswipe/default-skin.png) 0 0 no-repeat;
    background-size: 264px 88px;
    width: 44px;
    height: 44px;
}

@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 105dpi), (min-resolution: 1.1dppx) {
    /* Serve SVG sprite if browser supports SVG and resolution is more than 105dpi */
    .pswp--svg .pswp__button,
    .pswp--svg .pswp__button--arrow--left:before,
    .pswp--svg .pswp__button--arrow--right:before {
        background-image: url(./images/photoswipe/default-skin.svg);
    }

    .pswp--svg .pswp__button--arrow--left,
    .pswp--svg .pswp__button--arrow--right {
        background: none;
    }
}

.pswp__button--close {
    background-position: 0 -44px;
}

.pswp__button--share {
    background-position: -44px -44px;
}

.pswp__button--fs {
    display: none;
}

.pswp--supports-fs .pswp__button--fs {
    display: block;
}

.pswp--fs .pswp__button--fs {
    background-position: -44px 0;
}

.pswp__button--zoom {
    display: none;
    background-position: -88px 0;
}

.pswp--zoom-allowed .pswp__button--zoom {
    display: block;
}

.pswp--zoomed-in .pswp__button--zoom {
    background-position: -132px 0;
}

/* no arrows on touch screens */
.pswp--touch .pswp__button--arrow--left,
.pswp--touch .pswp__button--arrow--right {
    visibility: hidden;
}

/*
	Arrow buttons hit area
	(icon is added to :before pseudo-element)
*/
.pswp__button--arrow--left,
.pswp__button--arrow--right {
    background: none;
    top: 50%;
    margin-top: -50px;
    width: 70px;
    height: 100px;
    position: absolute;
}

.pswp__button--arrow--left {
    left: 0;
}

.pswp__button--arrow--right {
    right: 0;
}

.pswp__button--arrow--left:before,
.pswp__button--arrow--right:before {
    content: '';
    top: 35px;
    background-color: rgba(0, 0, 0, 0.3);
    height: 30px;
    width: 32px;
    position: absolute;
}

.pswp__button--arrow--left:before {
    left: 6px;
    background-position: -138px -44px;
}

.pswp__button--arrow--right:before {
    right: 6px;
    background-position: -94px -44px;
}

/*

	2. Share modal/popup and links

 */
.pswp__counter,
.pswp__share-modal {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.pswp__share-modal {
    display: block;
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding: 10px;
    position: absolute;
    z-index: 1600;
    opacity: 0;
    transition: opacity 0.25s ease-out;
    -webkit-backface-visibility: hidden;
    will-change: opacity;
}

.pswp__share-modal--hidden {
    display: none;
}

.pswp__share-tooltip {
    z-index: 1620;
    position: absolute;
    background: #FFF;
    top: 56px;
    border-radius: 2px;
    display: block;
    width: auto;
    right: 44px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
    transform: translateY(6px);
    transition: transform 0.25s;
    -webkit-backface-visibility: hidden;
    will-change: transform;
}

.pswp__share-tooltip a {
    display: block;
    padding: 8px 12px;
    color: #000;
    text-decoration: none;
    font-size: 14px;
    line-height: 18px;
}

.pswp__share-tooltip a:hover {
    text-decoration: none;
    color: #000;
}

.pswp__share-tooltip a:first-child {
    /* round corners on the first/last list item */
    border-radius: 2px 2px 0 0;
}

.pswp__share-tooltip a:last-child {
    border-radius: 0 0 2px 2px;
}

.pswp__share-modal--fade-in {
    opacity: 1;
}

.pswp__share-modal--fade-in .pswp__share-tooltip {
    transform: translateY(0);
}

/* increase size of share links on touch devices */
.pswp--touch .pswp__share-tooltip a {
    padding: 16px 12px;
}

a.pswp__share--facebook:before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    top: -12px;
    right: 15px;
    border: 6px solid rgba(0, 0, 0, 0);
    border-bottom-color: #FFF;
    -webkit-pointer-events: none;
    -moz-pointer-events: none;
    pointer-events: none;
}

a.pswp__share--facebook:hover {
    background: #3E5C9A;
    color: #FFF;
}

a.pswp__share--facebook:hover:before {
    border-bottom-color: #3E5C9A;
}

a.pswp__share--twitter:hover {
    background: #55ACEE;
    color: #FFF;
}

a.pswp__share--pinterest:hover {
    background: #CCC;
    color: #CE272D;
}

a.pswp__share--download:hover {
    background: #DDD;
}

/*

	3. Index indicator ("1 of X" counter)

 */
.pswp__counter {
    position: absolute;
    left: 0;
    top: 0;
    height: 44px;
    font-size: 13px;
    line-height: 44px;
    color: #FFF;
    opacity: 0.75;
    padding: 0 10px;
}

/*
	
	4. Caption

 */
.pswp__caption {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    min-height: 44px;
}

.pswp__caption small {
    font-size: 11px;
    color: #BBB;
}

.pswp__caption__center {
    text-align: left;
    max-width: 420px;
    margin: 0 auto;
    font-size: 13px;
    padding: 10px;
    line-height: 20px;
    color: #CCC;
}

.pswp__caption--empty {
    display: none;
}

/* Fake caption element, used to calculate height of next/prev image */
.pswp__caption--fake {
    visibility: hidden;
}

/*

	5. Loading indicator (preloader)

	You can play with it here - http://codepen.io/dimsemenov/pen/yyBWoR

 */
.pswp__preloader {
    width: 44px;
    height: 44px;
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -22px;
    opacity: 0;
    transition: opacity 0.25s ease-out;
    will-change: opacity;
    direction: ltr;
}

.pswp__preloader__icn {
    width: 20px;
    height: 20px;
    margin: 12px;
}

.pswp__preloader--active {
    opacity: 1;
}

.pswp__preloader--active .pswp__preloader__icn {
    /* We use .gif in browsers that don't support CSS animation */
    background: url(./images/photoswipe/preloader.gif) 0 0 no-repeat;
}

.pswp--css_animation .pswp__preloader--active {
    opacity: 1;
}

.pswp--css_animation .pswp__preloader--active .pswp__preloader__icn {
    animation: clockwise 500ms linear infinite;
}

.pswp--css_animation .pswp__preloader--active .pswp__preloader__donut {
    animation: donut-rotate 1000ms cubic-bezier(0.4, 0, 0.22, 1) infinite;
}

.pswp--css_animation .pswp__preloader__icn {
    background: none;
    opacity: 0.75;
    width: 14px;
    height: 14px;
    position: absolute;
    left: 15px;
    top: 15px;
    margin: 0;
}

.pswp--css_animation .pswp__preloader__cut {
    /*
        The idea of animating inner circle is based on Polymer ("material") loading indicator
         by Keanu Lee https://blog.keanulee.com/2014/10/20/the-tale-of-three-spinners.html
    */
    position: relative;
    width: 7px;
    height: 14px;
    overflow: hidden;
}

.pswp--css_animation .pswp__preloader__donut {
    box-sizing: border-box;
    width: 14px;
    height: 14px;
    border: 2px solid #FFF;
    border-radius: 50%;
    border-left-color: transparent;
    border-bottom-color: transparent;
    position: absolute;
    top: 0;
    left: 0;
    background: none;
    margin: 0;
}

@media screen and (max-width: 1024px) {
    .pswp__preloader {
        position: relative;
        left: auto;
        top: auto;
        margin: 0;
        float: right;
    }
}

@keyframes clockwise {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes donut-rotate {
    0% {
        transform: rotate(0);
    }
    50% {
        transform: rotate(-140deg);
    }
    100% {
        transform: rotate(0);
    }
}

/*
	
	6. Additional styles

 */
/* root element of UI */
.pswp__ui {
    -webkit-font-smoothing: auto;
    visibility: visible;
    opacity: 1;
    z-index: 1550;
}

/* top black bar with buttons and "1 of X" indicator */
.pswp__top-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 44px;
    width: 100%;
}

.pswp__caption,
.pswp__top-bar,
.pswp--has_mouse .pswp__button--arrow--left,
.pswp--has_mouse .pswp__button--arrow--right {
    -webkit-backface-visibility: hidden;
    will-change: opacity;
    transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1);
}

/* pswp--has_mouse class is added only when two subsequent mousemove events occur */
.pswp--has_mouse .pswp__button--arrow--left,
.pswp--has_mouse .pswp__button--arrow--right {
    visibility: visible;
}

.pswp__top-bar,
.pswp__caption {
    background-color: rgba(0, 0, 0, 0.5);
}

/* pswp__ui--fit class is added when main image "fits" between top bar and bottom bar (caption) */
.pswp__ui--fit .pswp__top-bar,
.pswp__ui--fit .pswp__caption {
    background-color: rgba(0, 0, 0, 0.3);
}

/* pswp__ui--idle class is added when mouse isn't moving for several seconds (JS option timeToIdle) */
.pswp__ui--idle .pswp__top-bar {
    opacity: 0;
}

.pswp__ui--idle .pswp__button--arrow--left,
.pswp__ui--idle .pswp__button--arrow--right {
    opacity: 0;
}

/*
	pswp__ui--hidden class is added when controls are hidden
	e.g. when user taps to toggle visibility of controls
*/
.pswp__ui--hidden .pswp__top-bar,
.pswp__ui--hidden .pswp__caption,
.pswp__ui--hidden .pswp__button--arrow--left,
.pswp__ui--hidden .pswp__button--arrow--right {
    /* Force paint & create composition layer for controls. */
    opacity: 0.001;
}

/* pswp__ui--one-slide class is added when there is just one item in gallery */
.pswp__ui--one-slide .pswp__button--arrow--left,
.pswp__ui--one-slide .pswp__button--arrow--right,
.pswp__ui--one-slide .pswp__counter {
    display: none;
}

.pswp__element--disabled {
    display: none !important;
}

.pswp--minimal--dark .pswp__top-bar {
    background: none;
}

@media only screen and (max-width: 969px) and (min-width: 768px) {
    html {
        font-size: 56.25%;
    }

    body .main-outer-layout {
        width: 94%;
        max-width: 800px;
    }

    body .comp-categories {
        padding-top: 0.4rem;
    }

    body .comp-categories a {
        display: inline-block;
        padding: 0.5rem 1rem;
    }

    body .comp-footer a {
        display: inline-block;
        height: 4.1rem;
    }

    body .comp-header_logo {
        padding-left: 4rem !important;
    }

    body .comp-header_logo a {
        display: inline-block;
        padding: 0 1rem;
        height: 100%;
    }

    body .comp-header_social-icons {
        font-size: 2rem;
    }

    body .comp-header .comp-header_nav ul li {
        margin-left: 1.5rem;
    }

    body .comp-contactform .comp-contactform_label {
        margin-bottom: 2rem;
    }

    body .comp-contactform .comp-contactform_input, body .comp-contactform .comp-contactform_textarea, body .comp-contactform .comp-contactform_submit {
        padding-top: 0.6rem;
        padding-bottom: 0.6rem;
    }

    body .comp-contactform .comp-contactform_input, body .comp-contactform .comp-contactform_textarea {
        width: 98%;
        height: 3rem;
        line-height: 3rem;
    }

    body .comp-contactform .comp-contactform_footer {
        width: 98%;
        padding: 0 0.5rem;
    }

    body .comp-contactform .comp-contactform_status {
        padding-top: 0.6rem;
    }

    body .comp-contactform .comp-contactform_submit {
        position: relative;
        right: -0.7rem;
        font-weight: 600;
    }

    body .comp-postsgrid .comp-postsgrid_item h2 {
        font-size: 1.9rem;
    }

    body .comp-postsgrid .comp-postsgrid_item h2 a {
        opacity: 1;
    }

    body .comp-preloader_buttons {
        display: block;
    }
}

@media only screen and (max-width: 479px), only screen and (max-width: 767px) and (min-width: 480px) {
    html {
        font-size: 56.25%;
    }

    body {
        margin-top: 0;
    }

    body .main-outer-layout {
        width: 94%;
        max-width: 100%;
    }

    body .heading-title {
        font-size: 2rem;
    }

    body .comp-header {
        position: relative !important;
        top: auto;
        left: auto;
        width: auto;
        background: none;
        box-shadow: none;
    }

    body .comp-banner {
        position: relative !important;
        top: auto;
        left: auto;
        width: auto;
        height: auto;
        line-height: 3rem;
        padding: 1rem 0;
    }

    body .comp-header .comp-header_nav {
        text-align: center;
    }

    body .comp-header .comp-header_nav ul li {
        font-size: 1.5rem;
    }

    body .comp-header .comp-header_nav ul li:first-child {
        margin: 0;
    }

    body .comp-header .comp-header_logo {
        position: static;
        line-height: 5.5rem;
        font-size: 1.8rem;
        border-bottom: dotted 1px #ccc;
    }

    body .comp-header_social-icons {
        position: absolute !important;
        top: 8rem;
        right: 1rem;
        left: auto;
        font-size: 2rem;
        line-height: 5.5rem;
    }

    body .comp-heading {
        background-color: #fff;
        background-image: -webkit-gradient(linear, left top, left bottom, color-stop(50%, #fff), color-stop(50%, #eee));
        background-image: -webkit-linear-gradient(right, #fff 50%, #eee 50%);
        background-image: linear-gradient(to left, #fff 50%, #eee 50%);
    }

    body .comp-heading .comp-heading_title, body .comp-heading .comp-heading_title .comp-heading_title-text {
        height: auto;
        line-height: 2.6rem;
    }

    body .comp-heading .comp-heading_title .comp-heading_title-text {
        padding: 0.5rem 2rem 1rem 1.2rem;
        font-size: 1.9rem;
        background: #eee;
    }

    body .comp-photowall {
        margin-bottom: 6rem;
    }

    body .comp-photowall .comp-photowall_tags span {
        margin-right: 1rem;
    }

    body .comp-socials {
        text-align: center;
    }

    body .comp-categories {
        position: relative;
        text-align: center;
        width: 80%;
        line-height: 3rem;
    }

    body .comp-categories:before {
        position: absolute;
        top: -1rem;
        left: 0;
        width: 100%;
        content: ". . . . .";
        color: rgba(0, 0, 0, 0.25);
    }

    body .comp-categories span:before {
        content: "";
    }

    body .comp-contactform .comp-contactform_label {
        margin-bottom: 2rem;
    }

    body .comp-contactform .comp-contactform_input, body .comp-contactform .comp-contactform_textarea, body .comp-contactform .comp-contactform_submit {
        padding-top: 0.6rem;
        padding-bottom: 0.6rem;
    }

    body .comp-contactform .comp-contactform_input, body .comp-contactform .comp-contactform_textarea {
        width: 97%;
        height: 3rem;
        line-height: 3rem;
    }

    body .comp-contactform .comp-contactform_checkbox {
        width: 98.5%;
    }

    body .comp-contactform .comp-contactform_checkbox input[type="checkbox"] {
        transform: scale(1.5);
    }

    body .comp-contactform .comp-contactform_checkbox label {
        width: 85%;
    }

    body .comp-contactform .comp-contactform_textarea {
        height: auto;
    }

    body .comp-contactform .comp-contactform_footer {
        width: 98%;
        padding: 0 0.5rem;
        text-align: center;
    }

    body .comp-contactform .comp-contactform_status {
        min-height: 2rem;
        padding: 0 0 2rem;
        float: none;
        width: auto;
    }

    body .comp-contactform .comp-contactform_submit {
        position: relative;
        font-weight: 600;
        float: none;
        padding-left: 5rem;
        padding-right: 5rem;
    }

    body .comp-postsgrid:not([data-resize="false"]) .comp-postsgrid_item {
        margin: 0 0 3.5%;
        width: 100%;
    }

    body .comp-postsgrid:not([data-resize="false"]) .comp-postsgrid_item:last-child {
        margin-bottom: 0;
    }

    body .comp-postsgrid .comp-postsgrid_item {
        margin: 0 0 3.5%;
    }

    body .comp-postsgrid .comp-postsgrid_item h2 {
        font-size: 1.9rem;
    }

    body .comp-postsgrid .comp-postsgrid_item h2 a {
        opacity: 1;
    }

    body .comp-preloader_buttons {
        display: block;
    }

    body .contents ol, body .contents ul {
        width: auto !important;
        padding: 0 0 0 3.5rem;
    }

    body .contents pre {
        width: auto;
    }

    body.page-id-2 .contents h3 {
        font-size: 1.75rem;
    }

    body.page-id-2 .contents h3 br {
        line-height: 4rem;
    }

    body.page-id-2 .contents h3 img {
        width: 30%;
        height: auto;
    }
}

/* Utilities */
.float-left, .float-right {
    width: auto;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

/* */
.uppercase {
    text-transform: uppercase;
}

.light {
    font-weight: 300;
}

.bold {
    font-weight: 600;
}

.center {
    text-align: center;
}

.right {
    text-align: right;
}

.left {
    text-align: left;
}

.block {
    display: block;
}

.inline-block {
    display: inline-block;
}

.absolute {
    position: absolute;
}

.fixed, body .comp-header, body .comp-header_social-icons {
    position: fixed;
}

.axis {
    position: relative;
}

.pointer {
    cursor: pointer;
}

.circle {
    border-radius: 50%;
}

.nowrap {
    white-space: nowrap;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */
/* Prevent callout */
.nocallout {
    -webkit-touch-callout: none;
}

.pressed {
    background-color: rgba(0, 0, 0, 0.7);
}

/* A hack for HTML5 contenteditable attribute on mobile */
textarea[contenteditable] {
    -webkit-appearance: none;
}

/* A workaround for S60 3.x and 5.0 devices which do not animated gif images if
   they have been set as display: none */
.gifhidden {
    position: absolute;
    left: -100%;
}

/*
 * Image replacement
 */
.ir {
    background-color: transparent;
    background-repeat: no-repeat;
    border: 0;
    direction: ltr;
    display: block;
    overflow: hidden;
    text-align: left;
    text-indent: -999em;
}

.ir br {
    display: none;
}

/*
 * 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 helper
 * Used to contain floats: h5bp.com/q
 */
.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
.clearfix {
    *zoom: 1;
}
