/*
Theme Name: Easyspace 2017
Theme URI:
Author: Easyspace
Author URI:
Description: Easyspace 2017 theme, using BlankSlate v4.0.3 as it's skeleton.
Version: 1.00
Tags: orange, black, blue, white, light, multi-column, fluid-layout, responsive-layout, custom-menu, featured-images, microformats, sticky-post, threaded-comments, translation-ready
*/

.fadeIn {
    animation-duration: 1s !important;
}

ol,
ul {
    list-style: none
}

blockquote,
q {
    quotes: none
}

h1,
h2,
h3,
h4,
h5 {
    color: #333;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.1em;
}

h1 {
    line-height: 1.1em;
    text-align: center;
    margin-top: 0;
    font-weight: 400;
    letter-spacing: 0.4px;
    position: relative;
}

h2 {
    font-size: 1.8rem;
    padding-bottom: 20px;
    color: #0282EB;
}

h3 {
    font-size: 30px;
    line-height: 1.1em;
    margin-top: 0;
    font-weight: 400;
    letter-spacing: 0.4px;
    position: relative;
    color: #0282EB;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
menu,
nav,
section {
    display: block
}

.clear {
    clear: both
}

.sticky {
}

.bypostauthor {
}

.wp-caption {
}

.wp-caption-text {
}

.gallery-caption {
}

.alignright {
}

.alignleft {
}

.aligncenter {
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important
}

.includessidenote {
    position: relative;
}

.sidenote-right,
.sidenote-left {
    display: none;
    background: #e2e2e2;
    color: rgba(51, 51, 51, 0.5);
    padding: 10px 20px;
    position: absolute;
    font-size: 17px;
    top: 120px;
    right: -100px;
    -ms-transform: rotate(90deg); /* IE 9 */
    -webkit-transform: rotate(90deg); /* Safari */
    transform: rotate(90deg);
}

.sidenote-left {
    left: -100px;
    right: auto;
    -ms-transform: rotate(270deg); /* IE 9 */
    -webkit-transform: rotate(270deg); /* Safari */
    transform: rotate(270deg);
}

.sidenote-right:after,
.sidenote-left:after {
    top: 99.7%;
    left: 0;
    content: "";
    height: 0;
    width: 0;
    position: absolute;
    border-style: solid;
    border-width: 20px 14px 0 0;
    border-color: #e2e2e2 transparent transparent transparent;
    line-height: 0;
    _border-color: #e2e2e2 #000000 #000000 #000000;
    _filter: progid:DXImageTransform.Microsoft.Chroma(color='#000000');
}

.sidenote-left:after {
    bottom: 99.8%;
    content: "";
    right: 0;
    left: auto;
    border-style: solid;
    border-width: 0 14px 20px 0;
    border-color: transparent #e2e2e2 transparent transparent;
    line-height: 0;
    _border-color: #000000 #e2e2e2 #000000 #000000;
    _filter: progid:DXImageTransform.Microsoft.Chroma(color='#000000');
}

@media only screen and (min-width: 1024px) {
    .sidenote-right,
    .sidenote-left {
        display: block;
    }

    section.content:nth-of-type(5) .includessidenote .sidenote-right {
        display: none;
    }
}

/* -------------------------------
   GLOBAL
   ------------------------------- */
html {
    box-sizing: border-box;
    color: #333;
    font-size: 1em;
    line-height: 1.4;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

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

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

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

article p {
    padding: 0 0 14px 0;
    text-rendering: optimizelegibility;
    margin: 10px 0;
    opacity: 1;
    line-height: 1.7em;
    font-size: 0.9em;
}

.alignleft {
    float: left;
}

.alignright {
    float: right;
}

article blockquote {
    margin: 10px 0 30px;
    border: 1px solid #ddd;
    padding: 30px 50px 30px 40px;
    box-shadow: 3px 3px 6px 0 rgba(0, 0, 0, 0.05);
    position: relative;
    font-style: italic;
    font-weight: 600;
    font-size: 1.2em;
    color: #333;
}

article blockquote:before {
    position: absolute;
    content: "\201C";
    font-family: "georgia", "Times New Roman";
    font-size: 2.7em;
    font-style: normal;
    top: 50%;
    left: -45px;
    margin: -0.5em 0 0 0;
    background: #ec5f19;
    color: #fff;
    padding: 10px;
    line-height: 1em;
    height: 1em;
}

article blockquote:after {
    content: "";
    width: 16px;
    height: 100%;
    height: calc(100% + 2px);
    position: absolute;
    margin: 0;
    top: -1px;
    right: -1px;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#b628c9+0,ec5f19+50,ec5f19+72,f2981a+100 */
    background: #b628c9; /* Old browsers */
    background: -moz-linear-gradient(-45deg, #b628c9 0%, #ec5f19 30%, #ec5f19 67%, #f2981a 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(-45deg, #b628c9 0%, #ec5f19 30%, #ec5f19 67%, #f2981a 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(135deg, #b628c9 0%, #ec5f19 30%, #ec5f19 67%, #f2981a 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#b628c9', endColorstr='#f2981a', GradientType=1); /* IE6-9 fallback on horizontal gradient */
}

article blockquote p {
    padding-bottom: 0;
}

.entry-content header {
    position: static;
}

.entry-content article > p:first-of-type {
    font-size: 1.1rem;
    line-height: 1.6rem;
    padding-bottom: 20px;
}

.entry-content img {
    max-width: 100% !important;
    margin-bottom: 20px !important;
}

.attachment-post-thumbnail {
    height: auto !important;
}

/* -------------------------------
   HEADER INCLUDE
   ------------------------------- */

.banner .banner-overlay {
    display: block;
    width: 100%;
    margin-bottom: 0px;
}

.banner .wrapper {
    padding: 30px 20px 0px;
}

/* -------------------------------
   STANDARD CONTENT INCLUDE
   ------------------------------- */
#main section:last-of-type {
    padding-bottom: 0
}

.content p:last-of-type {
    padding-bottom: 20px;
}

/* -------------------------------
   FOOTER INCLUDE
   ------------------------------- */
.moreinfo h3 {
    font-size: 1.3em !important;
}

/* -------------------------------
BLOG SUMMARY PAGE CONTENT
   ------------------------------- */
#main .wrapper ul.post-categories {
    padding: 0;
    margin: -24px 0 0 10px;
    list-style: none;
    font-size: 12px;

}

#main .wrapper ul.post-categories li {
    display: inline-block;
    padding: 0;
}

#main .wrapper ul.post-categories li a {
    font-size: 0.8rem;
    color: #ec5f19;
    text-transform: uppercase;
    font-style: italic;
    text-decoration: none;
    border: none;
}

#main .wrapper ul.post-categories li:before {
    background: none;
}

#main .wrapper ul.post-categories li:after {
    content: ',';
    color: #ec5f19;
}

section.entry-summary {
    padding: 20px !important;
    margin: 0 -20px;
    margin-bottom: 0 !important;
    border-bottom: 1px solid #eee;
    transition: ease-in-out 0.2s;
}

section.entry-summary:hover {
    background: rgba(246, 248, 250, 0.6);
}

.entry-summary .col30,
.entry-summary .col70 {
    padding: 0;
}

.entry-summary .col30 {
    max-height: 200px;
    overflow: hidden;
    margin-bottom: 20px;
    background: url("/blog/wp-content/themes/easyspace-2017/images/holder-images.png") no-repeat;
    background-size: contain;
}

.entry h3,
.entry-summary h3 {
    font-size: 1.2rem;
    padding-bottom: 12px;
    line-height: 1.5rem;
}

.entry-summary h3 span {
    font-size: 0.8rem;
    display: block;
    color: #ec5f19;
    text-transform: uppercase;
    font-style: italic;
    text-decoration: none;
}

.entry-summary h3:hover span {
    text-decoration: none;
}

.entry-summary h3 span:before {
    content: "#";
}

.entry-summary h3 a:hover {
    text-decoration: underline;
    color: #48626f;
}

.entry-summary .col img {
    display: inline-block;
    margin: -10px 10px 0 0;
    width: 100%;
    max-width: 1200px;
    height: auto;
}

.firstpost.col100 .entry-summary {
    padding-bottom: 0 !important;
    background: rgba(246, 248, 250, 0.55);
    border: 1px solid #efefef;
    margin-bottom: 30px !important;
}

.firstpost.col100 .entry-summary:hover {
    background: rgba(246, 248, 250, 1);
}

.firstpost .entry-summary .columns a {
    width: 100%;
}

.firstpost.col100 .entry-summary .col {
    width: 100%;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.firstpost.col100 .entry-summary .col70 {
    padding: 40px 40px 10px;
    overflow: hidden;
}

.firstpost.col100 .entry-summary .col70 h3 {
    position: relative;
}

.firstpost.col100 .entry-summary .col30 {
    background: #333;
    padding: 0;
    overflow: hidden;
    width: 100%;
    background: #f4f4f4;
    max-height: 282px;
}

.firstpost.col100 .entry-summary .col30 img {
    height: auto;
    width: 100%;
    min-width: 100%;
    display: block;
    border: 0;
    opacity: 0.92;
    margin: 0;
}

.firstpost.col100 .entry-summary .col30 img:hover {
    opacity: 0.7;
}

.blogmeta {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 6px 0;
    margin-bottom: 14px;
    color: #ccc;
    font-size: 0.8em;
}

.blogmeta img,
.entry-summary .col .blogmeta img {
    border-radius: 50px;
    display: inline-block;
    margin: 1px 6px 0 0;
    width: 29px;
    height: 29px;
    max-width: 29px !important;
    min-width: 29px;
    float: left;
}

.blogmeta a {
    line-height: 2rem;
    color: #ccc !important;

}

.attachment-post-thumbnail {
    background: #F3F4F8;
}

.entry-footer {
    padding: 5px 10px;
}

@media only screen and (min-width: 768px) {
    .banner .wrapper {
        padding: 100px 20px 80px;
    }
    section.entry-summary {
        padding: 30px!important;
        margin: 0;
    }
    .entry-summary .col30 {
        width: 30%;
        margin: 0;
    }

    .entry-summary .col70 {
        padding-left: 30px;
        width: 70%;
    }

    .entry-summary .col img {
        display: inline-block;
        margin: 0 10px 0 0;
        width: 100%;
        min-width: 101%;
        height: auto;
    }

    .entry-summary .col30 img {
        height: 100%;
        width: auto;
        margin: 0;
    }

    .firstpost.col100 .entry-summary .col30 img {
        min-width: 100%;
    }
}

/* -------------------------------
   NAV fixes for blog
   ------------------------------- */

nav .subs .standardnav h3 {
font-size: 17px;
}

@media only screen and (min-width: 1024px) {
    nav li.morenav a {
        padding-right: 40px;
    }
}

/* -------------------------------
   NEWS PAGINATION (bottom nav, used on blog)
   ------------------------------- */
#nav-below:before {
    display: table;
    clear: both;
    content: "";
}

#nav-below {
    display: block;
    margin: 0 auto;
    padding: 20px 20px 10px;
    width: 100%;
    text-align: center;
    border: none;
}

#nav-below:after {
    content: "";
    clear: both;
    display: table;
}

#nav-below .wp-pagenavi {
    width: 100%;
    margin: 0 auto;
    float: right;
    display: block;
    text-align: center;
}

#nav-below .wp-pagenavi .pages {
    float: left;
    color: #ccc;
    display: none;
}

#nav-below .wp-pagenavi .current,
#nav-below .wp-pagenavi .page,
#nav-below .wp-pagenavi .previouspostslink,
#nav-below .wp-pagenavi .nextpostslink,
#nav-below .wp-pagenavi .first,
#nav-below .wp-pagenavi .last {
    padding: 5px 9px;
    border: 1px solid transparent;
}

#nav-below .wp-pagenavi a:hover {
    background: #fafafa;
    border: 1px solid #fafafa;
    color: #ec5f19;
}

#nav-below .wp-pagenavi .current {
    background: #fff;
    color: #ec5f19;
    border: 1px solid #ec5f19;
}

@media only screen and (min-width: 768px) {
    #nav-below .wp-pagenavi .pages {
        display: block;
    }

    #nav-below .wp-pagenavi {
        text-align: right;
    }
}

/* BLOG POST */

.wp-block-columns {
	display: flex; justify-content: center;
}

/* -------------------------------
   REVIEWS at bottom
   ------------------------------- */
section.customereview {
    padding-bottom: 100px;
}

/* -------------------------------
   MODAL (Pop up contact form & other)
   ------------------------------- */

#modal-back {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    z-index: 10;
    transition: all 0.6s;
}

.modal {
    opacity: 0;
    visibility: hidden;
    padding: 40px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 700px;
    z-index: 11;
    background: #fff;
    box-shadow: 4px 5px 13px -5px rgba(0, 0, 0, 0.6);
}

.modal h3 {
    margin: -40px -40px 30px;
    text-align: left;
    padding: 25px 40px;
    border-bottom: 1px solid #ddd;
    font-size: 1.4rem;
    color: #ddd;
}

h3 .fa-times {
    float: right;
    width: 30px;
    height: 30px;
    position: relative;
    top: 2px;
    right: -10px;
    color: rgba(0, 0, 0, 0.3);
    font-size: 28px;
}

h3 .fa-times:hover {
    cursor: pointer;
    color: rgba(0, 0, 0, 0.6);
}

.modal p {
    text-align: left;
}

#modal-back.active,
.modal.active {
    opacity: 1;
    visibility: visible;
    transition: all 0.6s;
}

@media only screen and (min-width: 1024px) {

    .modal {
        position: fixed;
    }
}

/* -------------------------------
   NEWS / BLOG SEARCH FORM
   ------------------------------- */
.searchform {
    background: rgba(165, 213, 72, 0.92);
    width: 100%;
    height: 100vh;
    display: none;
    transition: ease-in-out 0.5s;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
}

.searchform.active {
    display: block;
    transition: ease-in-out 0.5s;
}

.searchform form {
    position: absolute;
    top: 50%;
    margin-top: -120px;
    width: 100%;
    max-width: 640px;
    padding: 0 20px;
}

.searchform h3 {
    color: #fff;
    text-align: left;
    font-size: 1.9rem;
    padding-bottom: 10px;
}

.searchform form #s {
    font-size: 2rem;
    border: none;
    line-height: 60px;
    border-radius: 6px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    padding: 1px 14px;
    width: 80%;
    width: calc(100% - 64px);
}

.searchform .close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 38px;
    transition: ease-in-out 0.3s;
    width: 38px;
    height: 38px;
    display: block;
    cursor: pointer;
}

.searchform .close:hover {
    color: rgba(255, 255, 255, 1);
}

.searchform button {
    width: 50px;
    height: 50px;
    line-height: 49px;
    position: relative;
    background: #98c63e;
    border: 0;
    color: #fff;
    font-family: fontAwesome;
    text-align: center;
    cursor: pointer;
    border-radius: 50%;
    font-size: 1.5rem;
    transition: ease-in-out 0.5s;
}

.searchform button:hover {
    background: #A5D548;
}

.searchform-button {
    width: 40px;
    height: 40px;
    line-height: 40px;
    position: relative;
    background: #98c63e;
    border: 0;
    color: #fff;
    font-family: fontAwesome;
    text-align: center;
    cursor: pointer;
    border-radius: 50%;
    font-size: 1.1rem;
    transition: ease-in-out 0.5s;
    display: none;
}

@media only screen and (min-width: 1024px) {
    .searchform form {
        margin-left: -300px;
        left: 50%;
    }

    .searchform-button {
        display: block;
        position: absolute;
        right: 10px;
        top: 0;
    }
}

/* -------------------------------
   SCHEMA STYLES
   ------------------------------- */
.publisher,
.blogname {
    visibility: hidden;
    height: 0;
}

/* -------------------------------
   SIDEBAR
   ------------------------------- */
#sidebar {
    display: none;
}

#sidebar li:before {
    content: "";
    background: none !important;
}

#sidebar h3 {
    font-size: 11px;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 16px 0;
    margin-top: -16px;
    color: #ccc;
}

#sidebar .widget-area > ul > li {
    padding-bottom: 60px!important;
}

@media only screen and (min-width: 1024px) {
    #sidebar {
        display: block;
    }
}

/* -------------------------------
   404 ERROR PAGE
   ------------------------------- */

.banner-error {
    padding: 260px 0 240px !important;
}

.error-404 {
    padding-bottom: 200px !important;
}

.banner form div {
    padding: 0 40px;
}

.banner form button[type="submit"] {
    right: 30px;
    background: #2fbe49;
}

.post figure {
	margin: 1em 0; 
}
.post figcaption {
	font-size: 0.7em ; margin-top: -1em;
}

header nav {
    background: url(https://www.easyspace.com/assets/images/content/banners/standard2017.jpg) #ec5f19 no-repeat center bottom;
}

section.grey-bevel {
    margin-top: 5.3em;
    position: relative;
    z-index: 0;
}

#main section.grey-bevel {
    margin-bottom: 0;
    padding-bottom: 0;
}

section.grey-bevel::after {
    position: absolute;
    z-index: -1;
    top: -50%;
    left: -50%;
    display: block;
    width: 200%;
    height: 145%;
    content: '';
    transform: rotate(-4deg);
    background: #f5f7f8;
}

section.grey-bevel .wrapper {
    padding: 90px 40px 35px;
}

section.grey-bevel .hash > span::before{
    content: '#';
}
section.grey-bevel .hash > span {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3em;
    display: block;
    text-transform: uppercase;
    color: #ec5f19;
    margin-bottom: 0.5em;
}

section.grey-bevel .hash h1 {
    margin: 0 0 0.3em;
    font-size: 4.5rem;
    line-height: .9;
    color: #555;
    letter-spacing: -.06em;
}

section.grey-bevel .hash p {
    margin: 0 0 0.7em;
    line-height: 1.4;*
    font-size: 1em;
}

section.grey-bevel .columns .col {
    padding: 0;
}
section.grey-bevel .columns .col img.elephant {
    width: calc(100% - 3em);
    margin: -2em auto;
    top: 50%;
    position: relative;
    right: -1.5em;
    transform: translateY(-50%);
}

.entry-content .post h2.wp-block-heading {
	margin: .75em 0;
    padding: 0 !important;
    color: #333;
    text-align: left;
    font-size: 1.75em !important;
}

@media only screen and (min-width: 1024px) {
    #main section.grey-bevel .wrapper h1, #main section.grey-bevel .wrapper .ttl span {
        margin: 0 0 .3em;
        font-size: 4rem;
    }
}