html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-box-sizing: border-box
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    background-color: #222;
    margin: 0;
}

*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
    box-sizing: inherit;
}

.wrapper:before,
.wrapper:after,
.section-content-wrapper:before,
.section-content-wrapper:after {
    content: "";
    clear: both;
    display: block;
}

.custom-header-content:before,
.custom-header-content:after {
    content: "";
    display: table;
    table-layout: fixed;
}

.custom-header-content:after {
    clear: both;
}

body {
    color: #afafaf;
    font-size: 18px;
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1.59;
}

input,
select,
textarea {
    font-size: 16px;
    font-size: 1rem;
    line-height: 1.75;
}

body,
button,
input,
select,
textarea {
    font-family: 'Josefin Sans', sans-serif;
}

a {
    padding: 0;
    margin: 0;
    text-decoration: none;
    color: #fff;
}

a:hover,
a:focus {
    color: #999;;
}

img {
    border: 0;
    height: auto;
    margin: 0 auto;
    max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    padding: 0;
    margin: 0;
}

p {
    margin: 0 0 1.75em;
    padding: 0;
}

.section-description-wrapper > :last-child,
.footer-site-branding-text > :last-child,
.site-branding-text > :last-child,
.custom-header-content > :last-child,
.entry-content > :last-child,
.entry-summary > :last-child,
.page-content > :last-child,
.comment-content > :last-child,
.textwidget > :last-child {
    margin-bottom: 0;
}

/* Forms */
.more-link .readmore,
.view-demo a,
button,
button[disabled]:hover,
button[disabled]:focus,
.button,
input[type="button"],
input[type="button"][disabled]:hover,
input[type="button"][disabled]:focus,
input[type="reset"],
input[type="reset"][disabled]:hover,
input[type="reset"][disabled]:focus,
input[type="submit"],
input[type="submit"][disabled]:hover,
input[type="submit"][disabled]:focus {
    background-color: #5f4b8b;;
    color: #fff;
    border: 0;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    display: inline-block;
    font-size: 16px;
    font-size: 1rem;
    font-weight: 700;
    padding: 14px 21px;
    line-height: 1.3125;
    letter-spacing: 0.05em;
    text-align: center;
    text-decoration: none;
    text-transform: capitalize;
}

.view-demo a:hover,
.view-demo a:focus,
.more-link .readmore:hover,
.more-link .readmore:focus,
button:hover,
button:focus,
.button:hover,
.button:focus,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="reset"]:hover,
input[type="reset"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
    background-color: #555;
    color: #fff;
}

#page {
    -ms-word-wrap: break-word;
    word-wrap: break-word;
    margin: 0 auto;
    overflow-x: hidden;
}

.wrapper {
    margin: 0 auto;
    max-width: 1500px;
}

.align-center {
    text-align: center;
}

.site-branding {
    padding-left: 35px;
    padding-right: 35px;
    text-align: center;
}

.footer-site-branding-text {
    display: block;
    margin: 0 auto;
    max-width: 1024px;
}

.site-title,
.footer-site-title {
    font-size: 32px;
    font-size: 2rem;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.0428571428571429em;
}

.site-title a,
.footer-site-title a {
    color: #fff;
}

.theme-title a {
    color: #fff;
}

.theme-title a:hover,
.theme-title a:focus {
    color: #5f4b8b;;
}

.layout-showcase-section .wrapper {
    max-width: 100%;
}

.layout-showcase-section .post-thumbnail {
    padding: 0;
}

.layout-showcase-section .post-thumbnail img {
    width: 100%;
}

.site-title a:hover,
.site-title a:focus,
.footer-site-title a:hover,
.footer-site-title a:focus,
.theme-lists li > a:hover,
.theme-lists li > a:focus {
    color: #999;;
}

.site-description,
.footer-site-description {
    color: #fff;
    margin-top: 7px;
}

.theme-demos .section-title {
    font-weight: 500;
}

.buy-now {
    display: block;
    margin-bottom: 0;
    margin-top: 21px;
}

.theme-lists {
    list-style: none;
    margin: 0;
    padding: 0;
}

.theme-lists:before,
.theme-lists:after {
    clear: both;
    content: "";
    display: block;
}

.theme-lists li > a {
    position: relative;
    display: block;
}

.theme-lists .theme-title {
    display: block;
    font-size: 21px;
    font-size: 1.3125rem;
    line-height: 1.333333333333333;
    margin-bottom: 14px;
    margin-top: 21px;
}

.theme-lists li a img {
    display: block;
}

.theme-lists li {
    float: left;
    margin-bottom: 42px;
    padding: 0 35px;
    position: relative;
    text-align: center;
    width: 100%;
}

.featured {
    line-height: 0;
    margin: 0;
    padding: 0;
}

.copyright {
    color: rgba(255,255,255,0.60);
    font-size: 12px;
    font-size: 0.75rem;
    text-transform: capitalize;
    padding: 21px 25px;
}

.copyright a {
    color: rgba(255,255,255,0.60);
    -webkit-transition: all 0.2s ease-in-out; /* Chrome 1-25, Safari 3.2+ */
    -moz-transition: all 0.2s ease-in-out; /* Firefox 4-15 */
    -o-transition: all 0.2s ease-in-out; /* Opera 10.50–12.00 */
    transition: all 0.2s ease-in-out; /* Chrome 26, Firefox 16+, IE 10+, Opera 12.10+ */
}

.copyright a:hover,
.copyright a:focus {
    color: #5f4b8b;;
}

/* custom-header */
.custom-header,
.site-footer {
    position: relative;
    width: 100%;
}

 .custom-header:before,
.site-footer:before {
    background-position: 50% 25%;
    background-repeat: no-repeat;
    background-size: cover;
    content: "";
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
}

.custom-header:before,
.site-footer:before {
    background-image: url(https://catchthemes.com/demo/photo-journal/assets/images/banner.jpg);
}

.site-info {
    text-align: center;
}

.footer-site-branding {
    padding: 35px;
}

.custom-header-content,
.theme-demos {
    padding-top: 49px;
}

.custom-header-content,
.theme-demos,
.featured-section,
.footer-content-wrap,
#site-generator {
    position: relative;
    z-index: 2;
}

.custom-header-media img {
    display: none;
    height: 100%;
    left: 0;
    -o-object-fit: cover;
    object-fit: cover;
    top: 0;
    -ms-transform: none;
    -moz-transform: none;
    -webkit-transform: none;
    transform: none;
    width: 100%;
}

/*Sections*/
.section {
    padding-bottom: 42px;
    padding-top: 42px;
}

.section-heading-wrapper {
    display: block;
    margin: 0 auto;
    max-width: 860px;
    padding: 0 35px 35px;
    text-align: center;
}

.section-title,
.responsive-section .entry-title {
    color: #fff;
    font-size: 32px;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.211538461538462;
}

.taxonomy-description {
    color: #afafaf;
    font-size: 18px;
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1.555555555555556;
    margin-top: 0.7777777777777778em;
}

.featured-section .hentry-inner,
.responsive-section .hentry-inner {
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    position: relative;
}

.featured-section .post-thumbnail,
.responsive-section .post-thumbnail,
.featured-section .entry-container,
.responsive-section .entry-container {
    -webkit-flex: 0 1 100%;
    -ms-flex: 0 1 100%;
    flex: 0 1 100%;
}

.entry-title {
    color: #040304;
    font-size: 28px;
    font-size: 1.75rem;
    font-weight: 500;
    line-height: 1.4;
    margin: 0 0 21px;
}

.post-thumbnail img,
.post-thumbnail a {
    display: block;
}

.entry-container {
    padding: 35px;
    text-align: center;
}

.content-left .post-thumbnail,
.content-right .post-thumbnail {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
}

.content-left .entry-container,
.content-right .entry-container  {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
}

.shop-section {
    background-color: #222;
}

.layout-showcase-section.section {
    background-color: #efefef;
    padding: 0;
}

.reasons-section,
.logo-section {
    background-color: #000;
}

.responsive-section .post-thumbnail {
    padding-left: 35px;
    padding-right: 35px;
}

.featured-section .post-thumbnail img {
    -webkit-box-shadow: 0px 0px 30px 3px rgba(0,0,0,0.1);
    -moz-box-shadow: 0px 0px 30px 3px rgba(0,0,0,0.1);
    box-shadow: 0px 0px 30px 3px rgba(0,0,0,0.1);
}

.responsive-section img {
    margin: 0;
}

.pd-0 {
    padding-bottom: 0!important;
}

.reasons-content-wrapper .entry-title {
    font-size: 24px;
    font-size: 1.5rem;
    line-height: 1.4;
    margin-bottom: 14px;
}

.reasons-content-wrapper .hentry {
    float: left;
    padding: 20px;
}

.reasons-content-wrapper {
    padding: 0 15px;
}

.reasons-content-wrapper .post-thumbnail {
    margin: 0 0 20px;
}

.reasons-section .entry-container {
    padding: 0;
}

.more-link {
    clear: both;
    display: block;
    margin: 35px 0 0;
}

.sticky-post {
    background-color: #fbc439;
    color: #111;
    display: inline-block;
    font-size: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: 0;
    position: absolute;
    left: 50%;
    top: -2px;
    transform: translate(-50%, -50%);
    padding: 4px 10px 3px;
    text-align: center;
    text-transform: capitalize;
    z-index: 99;
}

.has-background-image .section-title {
    color: #fff;
}

.section-subtitle {
    color: #5f4b8b;;
}

.post-thumbnail {
    display: block;
    position: relative;
}

.theme-demos .section-title {
    font-size: 24px;
    font-size: 1.5rem;
}

/*Masonry*/

.portfolio-content-wrapper .post-thumbnail {
    width: 100%;
}

.portfolio-content-wrapper {
    overflow: hidden;
}

#portfolio-content-section .portfolio-content-wrapper .post-thumbnail {
    margin: 0;
    overflow: hidden;
}

.portfolio-content-wrapper .hentry-inner {
    position: relative;
}

.portfolio-content-wrapper .entry-container {
    background: rgba(0,0,0,0.5);
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    text-align: center;
    opacity: 1;
}

.portfolio-content-wrapper .entry-meta {
    line-height: 1.647058823529412;
}

.portfolio-content-wrapper .entry-meta a {
    text-decoration: none;
}

.portfolio-content-wrapper .entry-summary {
    display: none;
}

.portfolio-content-wrapper .entry-container >.inner-wrap {
    bottom: 30px;
    display: block;
    left: 50%;
    padding: 21px 14px;
    position: absolute;
    text-align: center;
    transform: translateX(-50%);
    width: 80%;
}

.portfolio-content-wrapper .entry-title {
    display: block;
    font-size: 24px;
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 400;
    margin-bottom: 0;
    position: relative;
}

.gri-item {
    float: left;
    position: relative;
    width: 100%;
}

#portfolio-content-section .post-thumbnail {
    padding: 0;
}

#portfolio-content-section .portfolio-content-wrapper {
    padding-left: 23px;
    padding-right: 23px;
}

.portfolio-content-wrapper .grid-item {
    margin-bottom: 35px;
    padding: 0 7px;
}

.portfolio-content-wrapper .entry-container >.inner-wrap {
    -webkit-transition: 0.5s ease;
    -moz-transition: 0.5s ease;
    -o-transition: 0.5s ease;
    -ms-transition: 0.5s ease;
    transition: 0.5s ease;
}

#portfolio-content-section .portfolio-content-wrapper .entry-container > .inner-wrap {
    background-color: #000;
}

.portfolio-content-wrapper .more-link-buttons {
    text-align: center;
}

.portfolio-content-wrapper .more-link {
    margin-top: 0;
}

.theme-lists.layout-three > li:last-child {
    margin-left: auto;
    margin-right: auto;
    float: none;
    overflow: hidden;
}


/*--------------------------------------------------------------
## >= 568px
--------------------------------------------------------------*/

@media screen and (min-width: 35.5em) {

    .portfolio-content-wrapper .grid-item {
        margin-bottom: 14px;
        width: 50%;
    }

    .portfolio-content-wrapper .grid {
        margin-bottom: 21px;
    }
}

/*--------------------------------------------------------------
## >= 667px
--------------------------------------------------------------*/

@media screen and (min-width: 41.6875em) {
    .theme-demos .layout-two.theme-lists li,
    .theme-demos .layout-four.theme-lists li,
    .reasons-content-wrapper.layout-four .hentry,
    .reasons-content-wrapper.layout-two .hentry {
        width: 50%;
    }

    .reasons-content-wrapper.layout-four .hentry:nth-child(2n+1),
    .reasons-content-wrapper.layout-two .hentry:nth-child(2n+1) {
        clear: both;
    }

    .view-demo {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -80%);
        z-index: 990;
        -webkit-transition: all 0.2s ease-in-out; /* Chrome 1-25, Safari 3.2+ */
        -moz-transition: all 0.2s ease-in-out; /* Firefox 4-15 */
        -o-transition: all 0.2s ease-in-out; /* Opera 10.50–12.00 */
        transition: all 0.2s ease-in-out; /* Chrome 26, Firefox 16+, IE 10+, Opera 12.10+ */
    }

    .theme-lists li > a:before {
        background-color: rgba(0, 0, 0, 0.5);
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        left: 0;
        right: 0;
        top: 0;
        z-index: 99;
        -webkit-transition: all 0.2s ease-in-out; /* Chrome 1-25, Safari 3.2+ */
        -moz-transition: all 0.2s ease-in-out; /* Firefox 4-15 */
        -o-transition: all 0.2s ease-in-out; /* Opera 10.50–12.00 */
        transition: all 0.2s ease-in-out; /* Chrome 26, Firefox 16+, IE 10+, Opera 12.10+ */
    }

    .featured-section .post-thumbnail,
    .responsive-section .post-thumbnail {
        -webkit-box-flex: 0;
        -ms-flex: 0 1 62%;
        flex: 0 1 62%;
    }

    .responsive-section .entry-container,
    .featured-section .entry-container {
        -webkit-box-flex: 0;
        -ms-flex: 0 1 38%;
        flex: 0 1 38%;
    }

    .content-left .post-thumbnail,
    .content-right .post-thumbnail {
        -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
        order: 2;
    }

    .content-left .entry-container,
    .content-right .entry-container {
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
    }

    .content-right .entry-container,
    .content-left .post-thumbnail {
        -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
        order: 2;
    }

    .content-right .post-thumbnail,
    .content-left .entry-container {
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
    }

    .content-left .entry-container {
        text-align: left;
    }

    .content-right .entry-container {
        text-align: right;
    }

    .content-right .entry-container .entry-header {
        margin-left: auto
    }

    .view-demo {
        opacity: 0;
    }

    .theme-lists li:hover .view-demo,
    .theme-lists li:focus .view-demo,
    .theme-lists li:hover > a:before,
    .theme-lists li:focus > a:before {
        opacity: 1;
    }

    .theme-lists li > a:before {
        opacity: 0;
    }

    .theme-lists li {
        padding: 0 20px;
    }

    .custom-header-content {
        padding-left: 15px;
        padding-right: 15px;
    }

    .responsive-section .hentry-inner .entry-header,
    .featured-section .hentry-inner .entry-header {
        max-width: 540px;
    }

    .portfolio-content-wrapper.layout-three .hentry-inner .post-thumbnail,
    .portfolio-content-wrapper.layout-three .hentry-inner .entry-container{
        display: block;
        width: 100%;
    }
}


/*--------------------------------------------------------------
## >= 768px
--------------------------------------------------------------*/

@media screen and (min-width: 48em) {
    .theme-demos .layout-three.theme-lists li {
        width: 33.3%;
    }

    .theme-demos .layout-four.theme-lists li {
        width: 25%;
    }

    .footer-site-branding {
        padding-left: 40px;
        padding-right: 40px;
    }

    .theme-lists .theme-title {
        margin-top: 28px;
    }

    .copyright {
        padding-left: 40px;
        padding-right: 40px;
    }

    .more-link-buttons .more-link {
        display: inline-block;
    }
}

/*--------------------------------------------------------------
## >= 1024px
--------------------------------------------------------------*/

@media screen and (min-width: 64em) {
    #portfolio-content-section .portfolio-content-wrapper {
        padding-left: 43px;
        padding-right: 43px;
    }

    .portfolio-content-wrapper.layout-three .hentry {
        width: 33.33%;
    }

    .custom-header-content {
        padding-left: 30px;
        padding-right: 30px;
    }

    .responsive-content-wrapper {
        padding: 0 30px;
    }

    .featured-section .post-thumbnail,
    .responsive-section .post-thumbnail {
        -webkit-box-flex: 0;
        -ms-flex: 0 1 68%;
        flex: 0 1 68%;
    }

    .responsive-section .entry-container,
    .featured-section .entry-container {
        -webkit-box-flex: 0;
        -ms-flex: 0 1 32%;
        flex: 0 1 32%;
    }

    .footer-site-branding {
        padding-left: 50px;
        padding-right: 50px;
    }

    .reasons-content-wrapper {
        padding: 0 30px;
    }

    .reasons-content-wrapper.layout-two .post-thumbnail {
        float: left;
        margin: 0 28px 0 0;
        padding: 0;
    }

    .reasons-content-wrapper.layout-two .entry-container {
        clear: none;
        overflow: hidden;
        text-align: left;
    }

    .entry-container {
        padding: 35px 20px;
    }

    .responsive-section .post-thumbnail {
        padding-left: 20px;
        padding-right: 20px;
    }

    .section-title,
    .responsive-section .entry-title {
        font-size: 40px;
        font-size: 2.5rem;
    }

    .site-title,
    .footer-site-title {
        font-size: 36px;
        font-size: 2.25rem;
    }

    .section,
    .footer-site-branding {
        padding-bottom: 49px;
        padding-top: 49px;
    }

    .portfolio-content-wrapper .entry-container {
        opacity: 0;
        -webkit-transition: .6s;
        -moz-transition: .6s;
        -ms-transition: .6s;
        -o-transition: .6s;
        transition: .6s;
    }

    .portfolio-content-wrapper .hentry-inner:hover .entry-container {
        opacity: 1;
    }

    .portfolio-content-wrapper .entry-title,
    .portfolio-content-wrapper .entry-meta {
        opacity: 0;
        -webkit-transform: translateX(-28px);
        -moz-transform: translateX(-28px);
        -ms-transform: translateX(-28px);
        -o-transform: translateX(-28px);
        transform: translateX(-28px);
        -webkit-transition: .3s;
        -moz-transition: .3s;
        -ms-transition: .3s;
        -o-transition: .3s;
        transition: .3s;
    }

    .portfolio-content-wrapper .hentry-inner .entry-meta {
        -webkit-transition-delay: .1s;
        -moz-transition-delay: .1s;
        -ms-transition-delay: .1s;
        -o-transition-delay: .1s;
        transition-delay: .1s;
    }

    .portfolio-content-wrapper .hentry-inner:hover .entry-title,
    .portfolio-content-wrapper .hentry-inner:hover .entry-meta {
        opacity: 1;
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        -o-transform: translateY(0);
        transform: translateY(0);
    }

    #portfolio-content-section .post-thumbnail img {
        -webkit-transition: 0.5s ease;
        -moz-transition: 0.5s ease;
        -o-transition: 0.5s ease;
        -ms-transition: 0.5s ease;
        transition: 0.5s ease;
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
    }

    #portfolio-content-section .hentry-inner:hover .post-thumbnail img {
        -webkit-transform: scale(1.05);
        -moz-transform: scale(1.05);
        -ms-transform: scale(1.05);
        transform: scale(1.05);
    }

    .portfolio-content-wrapper .entry-container > .inner-wrap {
        padding: 21px;
    }

    .portfolio-content-wrapper .entry-title {
        font-size: 28px;
        font-size: 1.75rem;
    }
}

/*--------------------------------------------------------------
## >= 1200px
--------------------------------------------------------------*/

@media screen and (min-width: 75em) {
    .entry-title {
        font-size: 36px;
        font-size: 2.25rem;
    }

    .section-heading-wrapper,
    .footer-site-branding,
    .copyright {
        padding-left: 65px;
        padding-right: 65px;
    }

    .section-heading-wrapper {
        padding-bottom: 42px;
    }

    .post-thumbnail {
        padding-left: 25px;
        padding-right: 25px;
    }

    .more-link-green .readmore {
        padding: 18px 35px;
    }

    .custom-header-content,
    .theme-demos {
        padding-top: 70px;
    }
}

/*--------------------------------------------------------------
## >= 1366px
--------------------------------------------------------------*/

@media screen and (min-width: 85.375em) {
    .portfolio-content-wrapper .grid {
        margin-bottom: 28px;
    }
    .
    section-title,
    .responsive-section .entry-title {
        font-size: 44px;
        font-size: 2.75rem;
    }

    .site-title,
    .footer-site-title {
        font-size: 42px;
        font-size: 2.625rem;
    }

    .section,
    .footer-site-branding {
        padding-bottom: 70px;
        padding-top: 70px;
    }

    .portfolio-content-wrapper .entry-container > .inner-wrap {
        padding: 21px 28px;
    }
}

/*--------------------------------------------------------------
## >= 1600px
--------------------------------------------------------------*/

@media screen and (min-width: 100em) {
    .portfolio-content-wrapper .grid {
        margin-bottom: 35px;
    }

    body {
        font-size: 22px;
        font-size: 1.375rem;
    }

    .section-title,
    .responsive-section .entry-title {
        font-size: 48px;
        font-size: 3rem;
    }

    .featured-section.section {
        padding-top: 120px;
    }

    .portfolio-content-wrapper .entry-container > .inner-wrap {
        padding: 28px 49px;
    }
}
