/*
*  Theme Name: UkrainianSoul
* Description: Responsive WordPress theme
*     Version: 1.1.0
*   Theme URI: http://wp-puzzle.com/basic/
*      Author: WP Puzzle
*  Author URI: http://wp-puzzle.com/
*    Template: basic
*/
@import url("../basic/style.css");

/* Подключение локальных шрифтов */
@font-face {
  font-family: 'El Messiri';
  src: url('fonts/el-messiri-v24-cyrillic_latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'El Messiri';
  src: url('fonts/el-messiri-v24-cyrillic_latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  src: url('fonts/roboto-v48-cyrillic_latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  src: url('fonts/roboto-v48-cyrillic_latin-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  src: url('fonts/roboto-v48-cyrillic_latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  src: url('fonts/roboto-v48-cyrillic_latin-700italic.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* ============================================================================
 *		LAYOUT
 * ============================================================================ */

body {
    font: 16px/140% 'Roboto', Tahoma, Verdana, Segoe, sans-serif;
    font-display: swap;
    color: #000;
    margin: 0 auto;
    background-color: #fff; 
    text-align: justify;
    overflow-x: hidden;
}

body.custom-background .wrapper {
    max-width: 1080px;
}

main#content {
    padding-bottom: 20px;
}
.wrapper, body.custom-background .wrapper {
    margin: 0 auto;
}

/* ============================================================================
 *		inline HTML TAGS
 * ============================================================================ */

a {
    color: #000;
    transition: all 0.3s;
}

a:hover {
    color: #7c2d1b;
    cursor: pointer;
}

h1, h2, h3, h4, h5, h6, .wtitle, .title {
    font-family: 'El Messiri', sans-serif;
    font-display: swap;
}

h2 {
    font-size: 34px;
}

h3 {
    font-size: 32px;
}

h4 {
    font-size: 30px;
}

h5 {
    font-size: 26px;
}

h6 {
    font-size: 24px;
}

.inform h1 {
    padding-left: 40px;
}

#copy p {
    padding-bottom: 0;
}

.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
    line-height: 20px;
    padding: 14px 15px 8px;
}
.woocommerce div.product form.cart, .woocommerce div.product p.cart {
    margin: 1em -0px;
}

/* ============================================================================
 *		HEADER
 * ============================================================================ */
.logo {
    padding: 0 20px;
}

#logo {
    font: normal 60px/50px 'El Messiri', sans-serif !important;
	padding-top:9px;
    font-display: swap;
    color: #202020;
    letter-spacing: -0.02em;
}

#logo:hover {
    opacity: 0.9;
}

.sitedescription {
    padding-top: 10px;
}

#mobile-menu {
    position: relative;
    background: #eee;
    color: #202020;
}

#mobile-menu:after {
    content: '';
    position: absolute;
    left: 0;
    top: 52px;
    background: url(img/main.png) repeat-x;
    background-size: 17px 12px;
    width: 100%;
    height: 12px;
}

#mobile-menu:hover {
    background: #7c2d1b;
    color: #fff;
    opacity: 1;
}

/* header navigation */
.topnav.grid {
    width: 100%;
}

.top-menu {
    background: #fff;
    width: 90%;
}

/*.top-menu li { padding: 0; display: block; }*/
.top-menu li a, .top-menu li span {
    color: #fff;
    background-color: #7c2d1b;
    border-top: 1px solid #000;
    font-family: 'El Messiri', sans-serif;
    font-display: swap;
}

.top-menu li a:hover,
.top-menu li span:hover,
.top-menu li .sub-menu > li:hover > a,
.top-menu li .sub-menu > li:hover > span:hover {
    background-color: #7c2d1b;
    opacity: 0.7;
}

.top-menu .current_page_item > a,
.top-menu .current_page_item > span,
.top-menu .current-menu-item > a,
.top-menu .current-menu-item > span {
    color: #000;
    background-color: #7c2d1b;
}

.top-menu .sub-menu {
    margin: 0;
    font-size: 1.1em; 
}

/*-------- SEARCH  --------*/

input, textarea {
    border-radius: 0;
    border: 1px solid #000;
}

input:focus, textarea:focus, select:focus {
    border-color: #7c2d1b;
    -webkit-box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.08);
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.08);
}

.menu_search {
    display: none;
}

/* ============================================================================ */

/* ============================================================================
 *		CONTENT
 * ============================================================================ */

.anons {
    margin-bottom: 50px;
    padding: 0;
}

.anons h2 {
    font-size: 20px;
    font-weight: normal;
}

.anons h2 a {
    display: inline-block;
    margin: 10px auto;
}

.anons img {
    margin: 0 20px 0 0;
}

.anons .meta {
    margin: 10px 0;
}

.anons .meta, .anons .meta a {
    color: #a7a7a7;
}

.meta .date, .meta .comments, .meta .views {
    position: relative;
    padding-left: 30px;
}

.meta .date:before, .meta .comments:before, .meta .views:before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.meta .date:before {
    background: url(img/calendar.png) no-repeat;
    background-size: 18px 18px;
}

.meta .comments:before {
    background: url(img/chat.png) no-repeat;
    background-size: 20px 20px;
}

.meta .views:before {
    background: url(img/eye.png) no-repeat;
    background-size: 20px 19px;
}

.anons .entry-box {
    margin: 0 auto;
}

.more-link-box {
    margin-right: 25px;
}

.more-link {
    background: #fff;
    color: #000;
    font: 14px 'El Messiri', sans-serif;
    font-display: swap;
    -webkit-border-radius: 0;
    border-radius: 0;
    text-transform: uppercase;
    padding: 0;
    border-bottom: 1px solid #000;
}

.more-link:hover {
    opacity: 1;
    color: #7c2d1b;
    border-color: #7c2d1b;
}

.more-link:before, .more-link:after {
    content: '';
    position: absolute;
    top: 10px;
    background: url(img/devider.png) no-repeat;
    background-size: 20px 25px;
    width: 20px;
    height: 25px;
}

.more-link:before {
    left: -25px;
}

.more-link:after {
    margin: 0;
    right: -25px;
    transform: scale(-1, 1);
}

/*-------  Sticky Post  -------------*/

.sticky {
    border: none;
    margin-bottom: 100px;
}

.anons.sticky h2 {
    font-size: 36px;
    line-height: 70px;
}

.sticky .thumbnail {
    float: none;
    margin: 0 auto;
    position: relative;
}

.anons.sticky .meta {
    font-size: 14px;
    margin: 0;
}

.anons .meta a:hover {
    color: #7c2d1b;
    cursor: pointer;
    text-decoration: none;
}

.anons.sticky {
    position: relative;
    padding-bottom: 30px;
}

.sticky .meta .date, .sticky .meta .comments, .sticky .meta .views {
    padding-left: 0;
}

.anons.sticky .meta .date {
    position: absolute;
    top: 20px;
    left: 0;
    background: #000;
    opacity: 0.7;
    width: 150px;
    height: 40px;
    font: 20px 'El Messiri', sans-serif;
    font-display: swap;
    color: #fff;
    line-height: 40px;
    text-align: center;
    padding: 0;
}

.anons.sticky .meta.comments, .anons.sticky .meta.views {
    padding-left: 0;
    display: inline-block;
}

.anons.sticky .meta .date:before, .anons.sticky .meta .comments:before, .anons.sticky .meta .views:before {
    display: none;
}

.sticky .more-link-box {
    height: 50px;
}

.sticky .more-link {
    border: 1px solid #000;
    font-size: 20px;
    width: 150px;
    height: 40px;
    position: relative;
    text-align: center;
    line-height: 40px;
    background: #fff;
    color: #000;
    bottom: 22px;
    font-weight: bold;
    transition: all 0.3s;
}

.sticky .more-link:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: auto;
}

.sticky .more-link:before {
    background: #fff;
    border: 1px solid #000;
    bottom: 1px;
    left: 1px;
    z-index: -1;
}

.sticky .more-link:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: auto;
}

.sticky .more-link:after {
    bottom: 5px;
    left: 5px;
    background: #7c2d1b;
    z-index: -2;
}

.sticky .more-link:hover {
    color: #7c2d1b;
}

.sticky .more-link:hover:before {
    bottom: 3px;
    left: 3px;
}

.sticky .more-link:hover:after {
    bottom: 8px;
    left: 8px;
}

/*.sticky .more-link:before {
    content: attr(data-text);
    position: absolute;
    width: 100%;
    height: 100%;
    top: auto;
    background: #fff;
    border: 1px solid #000;
    bottom: -4px;
    left: -4px;
    z-index: 2;
}

.sticky .more-link:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: auto;
    bottom: 3px;
    left: 3px;
    background: #7c2d1b;
    z-index: -1;
}
.sticky .more-link:hover { color: #7c2d1b; }
.sticky .more-link:hover:before {
    bottom: -5px;
    left: -5px;
}
.custom-background.sticky .more-link:hover:after {
    bottom: 4px;
    left: 4px;
}
*/
.anons.sticky .book {
    display: inline-block;
    width: 50px;
    height: 50px;
    padding-bottom: 0;
    background-color: #7c2d1b;
    border-radius: 50%;
    position: relative;
    top: 0;
    right: 15px;
    background-image: url(img/open-book.png);
    background-size: 21px 17px;
    background-repeat: no-repeat;
    background-position: center;
}

.anons.sticky .entry-box {
    position: relative;
}

.anons.sticky .entry-box:after {
    content: '';
    position: absolute;
    bottom: -90px;
    left: 0;
    background: url(img/after-sticky.png) no-repeat;
    background-size: 100% 25px;
    width: 100%;
    height: 25px;
}

/* __________ paginate __________ */
.nav-links {
    text-align: center;
}

.nav-links .page-numbers {
    padding: 9px 15px 8px 14px;
    margin-right: -5px;
    background: transparent;
    border: 1px solid #000;
    color: #000;
    -webkit-border-radius: 0;
    border-radius: 0;
    position: relative;
}

.nav-links a:hover, .nav-links .current {
    background: transparent;
    color: #7c2d1b;
}

.nav-links a:hover {
    box-shadow: inset 0 0 2px 1px
}

.nav-links .current:before {
    content: '';
    height: 30px;
    width: 30px;
    background: transparent;
    border: 1px solid;
    border-color: #7c2d1b;
    position: absolute;
    top: 3px;
    left: 3px;
}

.nav-links .prev, .nav-links .next {
    font-family: 'El Messiri', sans-serif;
    font-display: swap;
    position: relative;
}

a.prev.page-numbers {
    padding: 10px 21px 4px;
    margin-right: 20px;
}

a.next.page-numbers {
    padding: 10px 34px 4px;
    margin-left: 20px;
}

.nav-links .prev:before, .nav-links .prev:after, .nav-links .next:before, .nav-links .next:after {
    content: '';
    background: url(img/ornament-2.png) repeat-y;
    background-size: 40px 20px;
    width: 20px;
    height: 100%;
    position: absolute;
    top: 0;
}

.nav-links .prev:before, .nav-links .next:before {
    left: 0;
    transform: rotate(180deg);
}

.prev:after, .next:after {
    right: 0;
}

.nav-links .total {
    margin-right: 5px;
}

/* ============================================================================
 *		FOOTER
 * ============================================================================ */

#footer {
    position: relative;
    color: #000;
    background: none;
    font-size: 14px;
    padding-top: 0;
}

#footer:before {
    content: '';
    position: absolute;
    left: 0;
    top: -12px;
    background: url(img/main.png) repeat-x;
    background-size: 17px 12px;
    width: 100%;
    height: 12px;
    z-index: -1;
    transform: rotate(180deg);
}

#footer a {
    color: #000;
    text-decoration: none;
    transition: opacity 0.3s;
}

#footer a:hover {
    color: #7c2d1b;
    text-decoration: none;
}

.footer-menu {
    background-color: #7c2d1b;
    border-bottom: none;
    padding: 17px 0;
    margin-bottom: 17px;
    font: 18px 'El Messiri', sans-serif;
    font-display: swap;
    width: 100%;
}

.footmenu {
    padding: 0;
}

.footer-menu li, #footer .footer-menu a {
    color: #fff;
}

#footer .footer-menu a:hover, #footer .footer-menu span:hover {
    opacity: 0.7;
}

.copyrights.col3 {
    margin-top: 20px;
}

.copyrights .col6 {
    width: 100%;
    clear: both;
}

.footer-widget {
    padding: 30px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

#designedby, #copy {
    text-align: center;
    margin: 5px 0 0;
    padding: 0;
}

#copy {
    margin-top: 10px;
}

.copyright-text, .copytext {
    display: block;
    text-align: center;
}

#toTop {
    position: fixed;
    z-index: 1000;
    bottom: 20px;
    right: 20px;
    margin: 0;
    padding: 14px 12px;
    display: none;
    cursor: pointer;
    background: #222;
    color: #fff !important;
    border-radius: 3px;
    transform: rotate(-90deg);
    font-size: 24px;
    text-align: center;
}

#toTop:hover {
    background: #999;
    text-decoration: none !important;
    border-radius: 3px;
}

/*------------  WIDGET IN FOOTER   -------------*/

.image_author img {
    float: left;
    width: 30%;
    margin: 0 20px 0 0;
}

.footer-title, .title_author {
    font: 30px 'El Messiri', sans-serif;
    font-display: swap;
    padding-bottom: 20px;
    line-height: 30px;
}

@media screen and (min-width: 1024px) {
    .footbar .widget_wpz_authorpost {
        width: 100%;
    }

    .footbar .widget_wpz_authorpost + li {
        margin-left: 0;
    }

}

/* -----------------------   SIDEBAR   --------------------*/

.wtitle {
    border: 1px solid #000;
    line-height: 20px;
    padding: 10px 0 10px 25px;
    position: relative;
    font-size: 18px;
    margin-bottom: 10px;
}

.wtitle:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background: url(img/ornament-2.png) repeat-y;
    background-size: 50px 30px;
    width: 30px;
    height: 100%;
    transform: scale(-1, 1);
}

.widget > ul {
    border: 1px solid #000;
    padding: 10px 0;
}

.widget li {
    padding: 5px 0 5px 35px;
}

.widget ul li:before {
    content: '';
}

.li-svg-widget {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 15px;
    height: 15px;
    fill: #7c2d1b;
}

.widget ul li.ukrsoul-rp-item .li-svg-widget, .widget ul li.ukrsoul-rc-item .li-svg-widget {
    content: '';
    display: none;
}

.widget, .categories, #widgetlist > li {
    margin-bottom: 20px;
}

/* ---- Recent Posts ----- */

li.ukrsoul-rp-item {
    padding: 0 20px 0 10px;
    margin-bottom: 30px;

}

.rp-item-img {
    float: left;
    /*margin: 5px 10px 0 0;*/
    margin-right: 10px;
}

.rp-entry {
    min-height: 70px;
    position: relative;
}

.rp-item-title {
    display: block;
    font: 16px 'El Messiri', sans-serif;
    font-display: swap;
    line-height: 16px;
    text-align: left;
}

.rp-item-meta {
    position: absolute;
    left: 80px;
    bottom: -5px;
    font-size: 12px;
    font-style: italic;
    color: #a7a7a7;
}

.rp-item-meta .date, .rp-item-meta .comments {
    position: relative;
    padding-left: 20px;
    margin-right: 20px;
}

.rp-item-meta .comments a {
    color: #a7a7a7;
}

.rp-item-meta .comments a:hover {
    color: #7c2d1b;
}

.rp-item-meta .date:before, .rp-item-meta .comments:before {
    content: '';
    position: absolute;
    left: 0;
    width: 14px;
    height: 14px;
    margin-right: 10px;
}

.rp-item-meta .date:before {
    background: url(img/calendar.png) no-repeat;
    background-size: 14px 14px;
    top: -2px;
}

.rp-item-meta .comments:before {
    background: url(img/chat.png) no-repeat;
    background-size: 14px 14px;
    top: -1px;
}

/* ---- Recent Comments ------*/

li.ukrsoul-rc-item {
    padding: 0 20px 0 10px;
    margin-bottom: 30px;
    min-height: 90px;
}

li.ukrsoul-rc-item:last-child {
    padding-bottom: 0;
}

.rc-img .avatar {
    float: left;
    margin: 5px 10px 10px 0;
}

.rc-author {
    font: 16px 'El Messiri', sans-serif;
    font-display: swap;
    color: #7c2d1b;
}

.rc-text {
    display: block;
    font-style: italic;
    font-size: 15px;
    line-height: 15px;
    letter-spacing: -0.05px;
}

/* ------ Checkbox and Radio -------------*/

.checkbox + label, .radio + label {
    cursor: pointer;
}

.checkbox + label:hover, .radio + label:hover {
    color: #7c2d1b;
}

.checkbox, .radio {
    position: relative;
}

.checkbox input[type=checkbox], .radio input[type=radio] {
    opacity: 0;
}

.checkbox:before, .radio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border: 1px solid #000;
    box-sizing: border-box;
    transition: all 0.3s;
}

.checkbox:hover:before, .radio:hover:before {
    box-shadow: inset 0 0 1px 1px #7c2d1b;
}

.check {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    fill: #7c2d1b;
    top: 3px;
    left: 3px;
}

.radio:before, .radio:after {
    border-radius: 50%;
}

/* ============================================================================
 *		SINGLE POST
 * ============================================================================ */

.single .meta {
    margin: 15px auto;
}

.single .entry-box {
    margin-top: 10px;
    position: relative;
}

.single .entry-box a {
    text-decoration: underline;
}

.entry h2 {
    color: #7c2d1b;
    font-weight: normal;
}

.entry h3 {
    color: #747474;
    font-weight: normal;
}

.entry h4, .entry h5, .entry h6 {
    color: #000;
    font-weight: normal;
}

.entry ul {
    margin-left: 60px;
}

.entry ul li:before, .ftrwidget ul li:before {
    content: '';
}

.li-svg-entry, .li-svg-ftrwidget {
    position: absolute;
    background-size: 15px 15px;
    width: 15px;
    height: 15px;
    top: 10px;
    left: 0;
    margin: 0 10px 0 -15px;
    fill: #7c2d1b;
}

.entry ul ul, .entry ul ol, .entry ol ol, .entry ol ul {
    margin: 0.5em 0 1em 50px;
}

.entry ol {
    counter-reset: myCounter;
    list-style: none;
    margin-left: 0;
}

.entry ol li {
    position: relative;
    margin-bottom: 20px;
}

.entry ol li:before {
    counter-increment: myCounter;
    content: counter(myCounter);
    color: #000;
    font-size: 18px;
    font-family: 'El Messiri', sans-serif;
    font-display: swap;
    line-height: 32px;
    border: 1px solid #000;
    border-radius: 50%;
    display: inline-block;
    width: 30px;
    height: 30px;
    margin-right: 25px;
    text-align: center;
}

.entry ol li:after {
    content: '';
    position: absolute;
    top: 0;
    left: -5px;
    border: 1px solid;
    border-color: #7c2d1b;
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

/* -------- BLOCKQUOTES -----------*/

blockquote, q {
    padding: 30px 45px;
    margin: 10px 0;
    color: #000;
    font-family: 'Roboto', sans-serif;
    font-display: swap;
    font-style: italic;
    border: 1px solid #000;
    background: none;
}

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

.quote-svg-before, .quote-svg-after {
    position: absolute;
    width: 28px;
    height: 22px;
    fill: #7c2d1b;
}

.quote-svg-before {
    top: 20px;
    left: 10px;
    transform: scale(-1, 1);
}

.quote-svg-after {
    bottom: 20px;
    right: 10px;
}

/* -------- SOCIAL BUTTONS -----------*/

.social_share {
    border-top: none;
    margin: 20px 0;
    padding: 0;
    position: relative;
}

.social_share:before, .social_share:after, .ukrsoul-related-posts:after {
    content: '';
    position: relative;
    left: 0;
    background: url(img/after-sticky.png) no-repeat;
    background-size: 100% 23px;
    width: 100%;
    height: 23px;
}

.social_share:before {
    top: 0;
}

.social_share:after, .ukrsoul-related-posts:after {
    top: 40px;
    display: block;
}

.socshare-title {
    font-size: 36px;
    line-height: 36px;
    font-family: 'El Messiri', sans-serif;
    font-display: swap;
    padding-bottom: 22px;
    margin-top: 40px;
}

.soc-wrapper {
    display: inline-block;
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

.socbtn {
    width: 40px;
    height: 40px;
    border: 5px solid #fff;
}

.socbtn:hover {
    background: url(img/soc-bg.png) repeat;
    background-size: 33px;
    border: none;
    padding: 5px;
}

.psb {
    background: none;
    background: #fff;
    border: 1px solid #000;
    box-sizing: border-box;
    text-align: center;
}

.psb:hover {
    top: 0;
}

.psb:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 5px;
    bottom: -6px;
    left: -1px;
    background: url(img/soc-bg.png) repeat;
    background-size: 33px;
}

.icon-svg {
    width: 30px;
    height: 26px;
    margin-top: 7px;
}

.fb-svg {
    width: 26px;
    height: 30px;
    margin-top: 5px;
    background-position: center;
}

.pint-svg {
    width: 24px;
    height: 26px;
    fill: #000;
    margin-top: 7px;
}

/*------- BLOG RELATED POSTS ---------*/
.ukrsoul-related-posts {
    position: relative;
    top: 30px;
}

.ukrsoul-related-posts h2 {
    font-size: 36px;
    font-weight: normal;
}

ul.ukrsoul-rp-items {
    display: block;
    text-align: center;
}

.mrp-item {
    display: inline-block;
    width: auto;
    margin-bottom: 20px;
    vertical-align: top;
}

img.attachment-related-image {
    width: 100%;
}

.rp-title a {
    text-decoration: none;
}

.rp-thumb {
    transition: transform 0.3s;
    position: relative;
    z-index: 100;
}

.rp-thumb:hover {
    transform: scale(1.1, 1.1);
    box-shadow: 0 0 2px 1px;
}

.rp-title {
    display: block;
    text-align: center;
    font: 16px 'El Messiri', sans-serif;
    font-display: swap;
    line-height: 20px;
    padding: 15px 10px 35px;
    border: 1px solid #000;
    border-top: none;
    position: relative;
    box-sizing: border-box;
}

.rp-title:hover {
    /*box-shadow: inset 0 0 2px 1px;*/
    /*border: 2px solid;*/
    border-color: #7c2d1b;
    /*box-sizing: border-box;*/
}

.rp-title a:hover {
    color: #7c2d1b;
}

.rp-title:before {
    content: '';
    background: url(img/for-rp-posts.png) repeat;
    background-size: 92px 37px;
    position: absolute;
    left: 2px;
    bottom: 0;
    width: 98%;
    height: 20px;
}

/* ---------- COMMENTS FORM --------------*/

.comments-title, #reply-title {
    font-size: 36px;
    font-weight: normal;
    border-bottom: 0;
}

.comments-title {
    padding-top: 50px;
}

.comment-body {
    position: relative;
    background: none;
    border-radius: 0;
    -webkit-border-radius: 0;
    padding: 40px 20px 70px 20px;
    margin: 0 0 40px 90px;
    min-height: 70px;
    border: 1px solid #000;
}

.comment-body:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 21px;
    background: url(img/for-rp-posts.png);
    background-size: 92px 37px;
    transform: rotate(180deg);
}

.comment-body a, .comment-body a:hover {
    text-decoration: none;
}

.bypostauthor .comment-body {
    background: none;
}

.comment .avatar {
    border-radius: 0;
    -webkit-border-radius: 0;
    position: static;
    margin-bottom: 10px;
}

.comment-author {
    text-align: center;
    line-height: 20px;
    color: #000;
    float: none;
    position: absolute;
    top: 0;
    left: -90px;
    font: 18px 'El Messiri', sans-serif;
    font-display: swap;
}

img.avatar {
    width: 70px;
}

.fn {
    display: block;
    max-width: 70px;
    line-height: 22px;
}

a.url.customize-unpreviewable {
    display: block;
    max-width: 70px;
    line-height: 22px;
}

.comment-author:hover, .comment-author a:hover {
    color: #7c2d1b;
    cursor: pointer;
}

.comment-content {
    margin: 0;
    font-style: italic;
}

.comment-metadata {
    font-size: 12px;
    line-height: 22px;
    padding-top: 3px;
    position: absolute;
    bottom: 25px;
}

.comment-metadata a {
    color: #7c2d1b;
}

.comment-time, .comment-date, .comment-edit-link {
    color: #7c2d1b;
}

.comment-time {
    margin-right: 10px;
}

.edit-link:hover a {
    text-decoration: underline;
}

.comment-reply-link {
    color: #000;
    font-size: 14px;
    bottom: 5px;
    right: 20px;
    border-bottom: 1px solid #000;
}

a.comment-reply-link:hover {
    border-color: #7c2d1b;
}

.rcomment textarea {
    min-height: 200px;
}

select {
    padding: 9px 10px;
    border: 1px solid #505050;
    font-size: 16px;
}

input[type=submit], input[type=button], .submit, .button, button {
    padding: 10px;
    background: #fff;
    border: 1px solid #000;
    text-transform: uppercase;
    position: relative;
    color: #000;
    font: 20px 'El Messiri', sans-serif;
    font-display: swap;
    line-height: 24px;
    z-index: 100;
}

.reply-wr {
    position: relative;
    display: inline-block;
}

.reply-wr:before, .reply-wr:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
}

.reply-wr:before {
    background: #fff;
    border: 1px solid #000;
    bottom: 1px;
    left: 1px;
    z-index: 2;
}

.reply-wr:after {
    bottom: 5px;
    left: 5px;
    background: #7c2d1b;
    z-index: 1;
}

.reply-wr:hover:before {
    bottom: 3px;
    left: 3px;
}

.reply-wr:hover:after {
    bottom: 8px;
    left: 8px;
}

input[type=submit]:hover, input[type=button]:hover, .submit:hover, .button:hover {
    opacity: 1;
    color: #7c2d1b;
}

.post-chat {
    display: none;
}

.rinput {
    position: relative;
}

.remail:after, .rauthor:after {
    content: '*';
    position: absolute;
    top: 5px;
    right: 5px;
}

/*.page .entry-box { padding: 0 40px 0 20px; }*/

/* ============================================================================
 *		ADAPTIVE
 * ============================================================================ */
/* ___ > 480px  --------------------------------------------- */
@media only screen and (min-width: 480px) {
    .mrp-item {
        width: 30%;
        margin-bottom: 0;
        margin-right: 3%;
    }

    .mrp-item:last-child {
        margin-right: 0;
    }
}

/* ___ Laptop/Tablet ( > 768px )  --------------------------------------------- */
@media only screen and (min-width: 768px) {

    #logo {
        font-size: 80px;
        line-height: 70px;
    }

    .more-link-box {
        text-align: right;
        margin-right: 20px;
    }

    .anons h2 a {
        display: block;
        margin: 0 auto;
    }

    .social_share:before, .social_share:after, .ukrsoul-related-posts:after, .anons.sticky .entry-box:after {
        background-size: 100%;
        height: 42px;
    }

    /*.socbtn { margin-right: 20px;}*/
    /*.socbtn:hover {margin-right: 15px;}*/
    input[type=submit], input[type=button], .submit, .button {
        padding: 10px 20px;
    }

    .rinput input {
        width: 94%;
    }

    /* -------- BLOCKQUOTES -----------*/
    blockquote, q {
        padding: 30px 115px 30px 60px;
    }

    blockquote:after, q:after {
        content: '';
        position: absolute;
        width: 35px;
        height: 100%;
        top: 0;
        left: auto;
        right: 20px;
        background: url(img/quote-bg.png) repeat-y;
        background-size: 35px 89px;
    }

    .quote-svg-before {
        left: 20px;
    }

    .quote-svg-after {
        right: 70px;
    }

    img.attachment-related-image {
        width: auto;
    }

    .comment-body {
        margin: 0 0 40px 120px;
    }

    .comment-body:before {
        left: 1px;
    }

    .comment-author {
        left: -120px;
    }

    .comment-metadata {
        bottom: 30px;
    }

    .fn {
        max-width: 100px;
    }

    a.url.customize-unpreviewable {
        max-width: 100px;
    }

    .comment-author img.avatar {
        width: 100px;
    }

    .comment-reply-link {
        bottom: 30px;
        right: 50px;
    }

    .comment-reply-link:before, .comment-reply-link:after {
        content: '';
        position: absolute;
        top: 10px;
        background: url(img/devider.png) no-repeat;
        background-size: 20px 25px;
        width: 20px;
        height: 25px;
    }

    .comment-reply-link:before {
        left: -25px;
    }

    .comment-reply-link:after {
        margin: 0;
        right: -25px;
        transform: scale(-1, 1);
    }

    .reply-wr {
        margin-left: 20px;
    }

    .post-chat {
        display: inline-block;
        width: 50px;
        height: 50px;
        padding-bottom: 0;
        background-color: #7c2d1b;
        border-radius: 50%;
        position: relative;
        top: 20px;
        right: 0;
        background-image: url(img/chat-post.png);
        background-size: 20px 21px;
        background-position: center;
        background-repeat: no-repeat;
    }
}

/* ___ Desktop ( > 1024px ) ------------------------------------------------ */
@media only screen and (min-width: 1024px) {

    /*#main.maxwidth, .maxwidth { width: 100%; }*/
    body.custom-background .maxwidth {
        width: 100%;
    }

    body.custom-background .wrapper {
        border-radius: 0;
    }

    #main:before, #main:after {
        content: '';
        left: 0;
        background: url(img/main.png) repeat-x;
        background-size: 17px 12px;
        width: 100%;
        height: 12px;
    }

    #main:before {
        position: absolute;
        top: -1px;
    }

    #main:after {
        position: relative;
        top: 61px;
        transform: rotate(180deg);
    }

    #footer:before {
        content: '';
        background: none;
    }

    #logo {
        font-size: 100px;
        letter-spacing: 0;
        padding: 20px 0;
        line-height: 90px;
    }

    .menu_search {
        float: right;
        position: relative;
    }

    .search-btn {
        width: 50px;
        height: 48px;
        background: url("img/search.svg") center no-repeat #fff;
        background-size: 20px;
        position: absolute;
        right: 40px;
        z-index: 3;
        transition: all 0.2s;
    }

    .search-btn:hover {
        cursor: pointer;
    }

    #header .searchform {
        margin: 0;
        width: 250px;
        top: 5px;
        right: 40px;
        position: absolute;
        z-index: -1;
    }

    #header input.s {
        width: 250px;
        height: 40px;
        padding: 9px 40px 9px 14px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        background: #fff;
        font-size: 14px;
        color: #000;
        position: absolute;
        top: 0;
        right: 10px;
        border: 2px solid;
        border-color: #7c2d1b;
    }

    #header input.search_submit, input.search_submit {
        padding: 0;
        width: 40px;
        height: 40px;
        background: url("img/search.svg") center no-repeat;
        background-size: 20px;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
        position: absolute;
        top: 0;
        right: 10px;
        border: 0;
    }

    input.search_submit {
        right: 19px;
    }

    .top-menu {
        background: #fff;
        border-top: 1px solid #000;
        border-bottom: 1px solid #000;
        width: 100%;
    }

    .top-menu li {
        display: inline-block;
        position: relative;
    }

    .top-menu li a, .top-menu li span {
        border-top: 0;
        font-weight: normal;
        color: #000;
        -webkit-transition: background 0.3s;
        transition: background 0.3s;
        background: #fff;
    }

    .top-menu li a:hover,
    .top-menu li span:hover,
    .top-menu li .sub-menu > li:hover > a,
    .top-menu li .sub-menu > li:hover > span:hover, .top-menu .current_page_item > a,
    .top-menu .current_page_item > span, .top-menu .current-menu-item > a,
    .top-menu .current-menu-item > span, .top-menu .current-menu-item > a:hover,
    .top-menu .current-menu-item > span:hover {
        background-color: unset;
        color: #7c2d1b;
        opacity: 1;
    }

    .top-menu > li:hover > a {
        background: rgba(255, 255, 255, 0.3);
    }

    .top-menu .sub-menu, .top-menu .children {
        display: none;
        margin: 0;
        position: absolute;
        top: 100%;
        left: 0;
        background: #fff;
        border: 2px solid;
        border-color: #7c2d1b;
        width: 300px;
        z-index: 1000;
        box-shadow: none;
    }

    .top-menu .sub-menu li, .top-menu .children li {
        display: block;
        text-align: left;
    }

    .top-menu .sub-menu li a, .top-menu .children li a {
        color: #000;
        border-top: none;
        padding: 10px 20px;
     }

    .top-menu li:hover > .sub-menu,
    .top-menu li:hover > .children {
        display: block;
    }

    .top-menu .sub-menu .sub-menu,
    .top-menu .children .children {
        border: 2px solid;
        border-color: #7c2d1b;
    }

    .top-menu .menu-item-has-children > a:after, .top-menu .menu-item-has-children > span:after,
    .top-menu .page_item_has_children > a:after, .top-menu .page_item_has_children > span:after {
        content: '\25bd';
        font-size: 22px;
        /*font-size: 1.5em;*/
        transform: rotate(0deg);
    }

    .top-menu .sub-menu > .menu-item-has-children > a:after, .top-menu .sub-menu > .menu-item-has-children > span:after,
    .top-menu .children > .page_item_has_children > a:after, .top-menu .children > .page_item_has_children > span:after {
        content: '\25bd';
        transform: rotate(-90deg);
        margin-right: 15px;
    }

    .top-menu .menu-item-has-children > a, .top-menu .menu-item-has-children > span,
    .top-menu .page_item_has_children > a, .top-menu .page_item_has_children > span {
        padding-right: 40px;
    }

    .sub-menu:after {
        content: '';
        position: absolute;
        width: 1px;
        height: 100%;
        top: 0;
        right: 30px;
        border-right: 1px solid #000;
    }

    /* -----------------------   SIDEBAR   --------------------*/
    .widget, .categories, #widgetlist > li {
        margin-bottom: 60px;
    }

    .layout-leftbar #sidebar {
        padding: 0 10px;
    }

    .layout-leftbar #content {
        padding-right: 20px;
    }

    /*.layout-rightbar #sidebar { padding-right: 20px; }*/
    .layout-rightbar #content {
        padding-left: 10px;
    }

    /*.page main#content { padding-left: 20px;}*/
    /*.page #sidebar { padding-right: 10px; }*/
    /* -------- ANONS -----------*/
    .anons {
        padding: 0 40px;
    }

    .anons.sticky .meta .date {
        left: 40px;
    }

    .footer-menu {
        width: 90%;
    }

    .footer-menu li {
        margin-right: 25px;
    }

    .copyrights.col3 {
        top: 140px;
        right: 0;
        position: relative;
        margin-top: 0;
    }

    .copyrights.col12 {
        position: relative;
        top: 80px;
        padding-bottom: 20px;
    }

    .copyrights.col3:before, .copyrights.col12:before {
        content: '';
        background: url(img/bread.png) no-repeat;
        background-size: 120px 75px;
        width: 120px;
        height: 75px;
        position: absolute;
        top: -80px;
        /*left: 23%;*/
    }

    .copyrights.col3:before {
        left: 26%;
    }

    .copyrights.col12:before {
        left: 44%;
    }

    #copy {
        margin-bottom: 10px;
    }

    .comment-body:before {
        left: 0;
    }
}

/* ___ Desktop ( > 1200px ) ------------------------------------------------ */
@media only screen and (min-width: 1280px) {
    body.custom-background #header {
        border-radius: 10px 10px 0 0;
    }

    .top-menu {
        border-radius: 0;
    }

    #navpages li {
        padding-left: 10px;
    }

    #navpages .sub-menu {
        margin-left: 10px;
    }

    #navpages .sub-menu .sub-menu {
        left: 190px;
    }

    #navpages li a {
        font-size: 16px;
        padding: 10px;
    }

    .comment-list ul.children {
        margin: 0 0 50px 30px;
    }

    #sidebar {
        padding-right: 40px;
    }

    .single #content {
        padding-left: 20px;
    }

    .single #sidebar {
        padding-right: 20px;
    }
}

/* ___ Desktop ( > 1280px ) ------------------------------------------------ */
@media only screen and (min-width: 1280px) {
    .comment-list ul.children {
        margin: 0 0 50px 40px;
    }

    body {
        position: relative;
        background: top center url(img/bg-border.png) repeat-y #fff;
        z-index: -2;
    }
}

/* -------------------------------------------------------------------------- */
/*body.custom-background .wrapper{ max-width: 100%; background: transparent; }
@media only screen and (min-width: 1024px){
    body.custom-background .wrapper { margin: 0 auto; -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; }
    body.custom-background #footer { -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; }
}
@media only screen and (min-width: 1280px) {
    body.custom-background #header { -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; }
}*/

.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
    background: #7c2d1b;
}

.woocommerce #respond input#submit.alt:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover {
    background: #7c2d1b;
}

.woocommerce table.cart td.actions .input-text, .woocommerce-page #content table.cart td.actions .input-text, .woocommerce-page table.cart td.actions .input-text {
    width: auto;
}

.sticky .anons-thumbnail {
    display: block;
}

.entry ul li {
    position: relative;
    padding-left: 30px;
    list-style: none;
}

.entry ul li::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 0;
    width: 18px;
    height: 18px;
    background: url('/wp-content/themes/ukrainiansoul/img/flower.png') no-repeat center;
    background-size: contain;
}

/* Уменьшаем отступы в списках внутри контента */
.entry ul, .entry ol
 {
    margin-left: 0;
    padding-left: 1.0em;
 }

.entry ul li {
    position: relative;
    padding-left: 24px; /* было 30px — уменьшаем */
    list-style: none;
}

@media (max-width: 768px) {
    .entry ul,
    .entry ol {
        padding-left: 1.2em; /* около 20px */
    }

    .entry ul li {
        padding-left: 20px;
    }
}

/* Вложенные списки — ещё меньше отступ */
.entry ul ul,
.entry ul ol,
.entry ol ul,
.entry ol ol {
    margin-left: 0;
    padding-left: 1em !important;
}

.entry ul ul li,
.entry ul ol li,
.entry ol ul li,
.entry ol ol li {
    padding-left: 18px !important;
}

/* Настройка цветочка в вложенных списках */
.entry ul ul li::before,
.entry ul ol li::before,
.entry ol ul li::before,
.entry ol ol li::before {
    left: 0;
    width: 14px;
    height: 14px;
}

.entry ol li::before { margin-right: 15px !important; margin-bottom: 7px !important; }


@media (max-width: 768px) {

.entry ol { padding-left: 10px !important; }
.entry ol li::before { margin-right: 15px !important; margin-bottom: 7px !important; }


    .entry ul { padding-left: 0px !important; }
    .entry ul li { padding-left: 25px !important; }

    .entry ul ul,
    .entry ul ol,
    .entry ol ul,
    .entry ol ol {
        padding-left: 0.8em !important;
    }

    .entry ul ul li,
    .entry ul ol li,
    .entry ol ul li,
    .entry ol ol li {
        padding-left: 18px !important;
    }

    .entry ul ul li::before,
    .entry ul ol li::before,
    .entry ol ul li::before,
    .entry ol ol li::before {
        width: 12px;
        height: 12px;
    }

/* Мінімальні відступи збоків на маленьких екранах */
    .content, .post, .page, .block, #content, .inform h1, .archive-desc
    {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }

/* Жирні заголовки статей в категоріях */
    .anons h2 a { color: #7c2d1b; font-weight: bold; }

    .sub-menu li { padding-right: 10px !important; }

    img.thumbnail {
	  float: none;        /* отменяет обтекание */
	  display: block;     /* гарантирует, что текст будет под картинкой */
	  margin-bottom: 1em; /* отступ снизу */
	   }

}

/* Цветочек в нужных виджетах: Меню и Переключатель языка */
.widget_nav_menu ul li,
.widget_polylang ul li {
    position: relative;
    padding-left: 28px;
    margin-left: 10px;
    list-style: none;
}

.widget_nav_menu ul li::before,
.widget_polylang ul li::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 0;
    width: 18px;
    height: 18px;
    background: url('/wp-content/themes/ukrainiansoul/img/flower.png') no-repeat center;
    background-size: contain;
}

@media (max-width: 768px) {
  /* Вложенные пункты меню и языкового переключателя на мобилке */
  .widget_nav_menu ul ul li,
  .widget_polylang ul ul li {
      margin-left: 0px; /* сдвигаем весь пункт левее */
      padding-left: 25px; /* сдвигаем текст после маркера левее */
  }

  .widget_nav_menu ul ul li::before,
  .widget_polylang ul ul li::before {
      width: 16px;
      height: 16px;
      top: 6px;
  }
}

/* Высота шапки на мобильных */
@media (max-width: 768px) {
  .header-top-wrap {
    min-height: 109px !important;
    background-size: cover !important;
    background-position: center !important;
  }
}
/* Высота шапки на планшетах */
@media (min-width: 769px) and (max-width: 1024px) {
  .header-top-wrap {
    min-height: 130px !important;
    background-size: cover !important;
    background-position: center !important;
  }
}

blockquote p a { text-decoration: none !important;}
blockquote p { text-align: left !important;}
blockquote p a:hover { text-decoration: underline !important; text-decoration-style: wavy !important; }
  /* Уменьшение отступа h3 в blockquote (для содержания) */
blockquote h3 { padding-top: 0px !important; }
  /* Уменьшение отступов blockquote на мобильных */
@media (max-width: 768px) {
    blockquote, q {
        padding: 20px 20px 20px 20px;
    }
}
