/*
Theme Name: Shopp
Theme URI: https://denisdyachenko.com/
Author: Denis Dyachenko
Author URI: https://denisdyachenko.com/
Description: Denis Dyachenko
Version: 1.0.0
Text Domain: shopp
*/

:root {
    --color-primary: #4CAF50;
    --color-primary-dark: darkgreen;
    --color-surface: #fff;
    --space-base: max(1.25vw, 15px);
    --radius-pill: 20px;
    --transition-base: 0.25s ease;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.site-preloader {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-surface);
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.site-preloader__icon {
    color: var(--color-primary);
    animation: site-preloader-spin 1s linear infinite;
}

.page--loaded .site-preloader {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@keyframes site-preloader-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-preloader,
    .site-preloader__icon {
        transition: none;
        animation: none;
    }
}

article {
    min-height: 420px;
}

.blog .items-leading,
.blog [class*="-category"] .items-leading {
    margin-bottom: 20px;
}

.items-leading .item {
    margin-bottom: 24px;
}

.blog > .items-leading {
    clear: both;
}

.items-row {
    margin-right: -10px;
    margin-left: -10px;
}

.items-row .span4 {
    float: left;
    width: 33.333333%;
    min-height: 1px;
    padding-right: 10px;
    padding-left: 10px;
}

.items-row .item {
    overflow-wrap: break-word;
}

.items-row .page-header h2 {
    font-size: 20px;
    line-height: 1.25;
}

.item-image {
    max-width: 42%;
    margin: 0 15px 10px 0;
}

.item-image img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 767px) {
    .item-image,
    .items-row .span4 {
        float: none !important;
        width: 100%;
        max-width: 100%;
        margin-right: 0;
    }
}

article img,
.convent-featured-img,
.entry-content img,
.article-body img,
.blog img {
    width: auto;
    max-width: 100%;
    height: auto;
}

.left-menu {
    display: block;
}

.left-menu > li {
    display: block;
    width: 100%;
}

.readmore {
    clear: both;
}

.pagination > li > .current {
    background-color: #4CAF50;
    border-color: #4CAF50;
    color: #fff;
}

.pagination > li > a,
.pagination > li > span {
    color: #4CAF50;
}

.footer-block,
.footer-block a,
.footer-block h3 {
    color: #fff;
}

.footer-block a:hover,
.footer-block a:focus {
    color: #e8f5e9;
}

.footer-block .btn-success {
    color: #fff;
}
