/*review and sliders*/
.swiper {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* review slider */
.review-item {
  background: #fff;
  padding: 1.5rem;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.review-meta {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 1rem;
}

.review-author {
  font-weight: bold;
  display: block;
}

.review-rating {
  font-size: 1.2rem;
  margin-top: 0.75rem;
}

/* Точки (пагинация) */
.swiper-pagination {
  margin-top: 1rem;
  text-align: center;
}

.swiper-pagination-bullet {
  background: #999;
  opacity: 1;
  margin: 0 5px;
  width: 10px;
  height: 10px;
}

.swiper-pagination-bullet-active {
  background: #333;
}

/* mobile friendly */
@media (max-width: 480px) {
  .review-item {
    padding: 1rem;
    font-size: 0.95rem;
  }

  .review-rating {
    font-size: 1rem;
  }
}


/*basic*/
.wrapper {
    /*width: 1045px;*/
    margin: 0 auto;
}

html {
    background-color: #eee;
}

body {
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
    max-width: 1300px;
    margin: 0 auto;
    font-size: 14px;
}

ins {
    overflow-y: hidden;
}

::selection {
    background: rgba(151, 160, 175, 0.3);
}

::-moz-selection {
    background: rgba(151, 160, 175, 0.3);
}

a,
a:hover {
    text-decoration: none !important;
    outline: none !important;
}

.h1,
h1 {
    font-size: 36px;
}

.h2,
h2 {
    font-size: 30px;
}

.h4,
h4 {
    font-size: 18px;
}

.h5,
h5 {
    font-size: 14px;
}

.h6,
h6 {
    font-size: 12px;
}

img {
    max-width: 100%;
    border-radius: 10px;
}

.margin-t-30 {
    margin-top: 30px;
}

.margin-t-50 {
    margin-top: 50px;
}

.margin-b-30 {
    margin-bottom: 30px;
}

.text-custom {
    color: #70a67c;
}

.text-muted {
    color: #777 !important;
}

.page-title h2,
.page-title h3 {
    line-height: 50px;
    margin-top: 60px;
    font-weight: 300;
    letter-spacing: 1px;
}

.page-title span {
    font-weight: 400;
    border-bottom: 3px solid;
}

a,
a:hover {
    text-decoration: none !important;
    outline: none !important;
}

button:focus {
    outline: none !important;
}

.subtitle {
    font-weight: 300;
    line-height: 28px;
    font-size: 16px;
}

.btn {
    border-width: 2px;
    border-radius: 2px;
    -webkit-transition: all .3s ease-out;
    transition: all .3s ease-out;
    padding: 15px 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    font-size: 11px;
    outline: none !important;
}

.btn-rounded {
    border-radius: 30px;
}

.btn-dark {
    background-color: #4a4949;
    color: #ffffff !important;
}

.breadcrumbs {
    margin: 0 0 20px;
    padding: 0;
}

.breadcrumbs a {
    color: #333;
}

.breadcrumbs a:hover {
    color: #70a67c;
}


/*header*/
.header {
    border-bottom: 1px solid #ddd;
    margin: 0 0 60px;
}

.navbar-custom {
    background-color: #ffffff;
    margin-bottom: 0px;
    width: 100%;
    z-index: 1000;
    border: none;
    color: #333;
    border-radius: 0px;
    position: relative;
}

.logo {
    padding: 19px 0px;
    line-height: 40px;
    font-weight: 700;
    font-size: 24px;
    color: #333 !important;
}

.logo-image {
    width: 100%;
    max-width: 250px;
}

.navbar-custom .navbar-nav>li>a {
    font-size: 14px;
    line-height: 40px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.navbar-light .navbar-nav .nav-link {
    color: #777;
    padding: 10px 15px;
}

.navbar-toggler {
    padding: 4px 10px;
    font-size: 24px;
}

.navbar-toggler:hover {
    background-color: #ddd;
}

.navbar-default .navbar-nav>.open>a,
.navbar-default .navbar-nav>.open>a:focus,
.navbar-default .navbar-nav>.open>a:hover {
    color: #000;
    background-color: transparent;
}


.navbar-custom .navbar-nav>li>a:hover {
    color: #333;
    transition: all 0.3s;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-menu>li>a {
    display: block;
    padding: 10px 20px;
    clear: both;
    line-height: 1.42857143;
    color: #666;
    white-space: nowrap;
    font-weight: 400;
    font-size: 13px;
}

.dropdown-menu>li>a:hover,
.dropdown-menu>.active>a:hover {
    text-decoration: none;
    color: #70a67c;
    transition: all 0.3s;
    background-color: transparent;
}

.dropdown-menu>li:active>a,
.dropdown-menu>li:hover>a {
    color: #70a67c;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    right: auto;
    margin-top: -3px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.navbar-custom li.dropdown:last-of-type .dropdown-submenu>.dropdown-menu {
    right: 100%;
    left: auto;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

.submenu-arrow {
    position: absolute;
    right: 8px;
    font-size: 16px;
    margin-top: -1px;
}

.navbar-custom .dropdown-menu {
    transition: all .3s ease;
    min-width: 200px;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    box-shadow: 0 0 18px 0 rgba(0, 0, 0, .05);
    padding: 10px;
}

.navbar-toggle {
    margin-top: 22px;
}

.navbar-custom .navbar-nav li.active-item>a {
    color: #70a67c;
}

/*blog*/
.category-pages {
    display: grid;
    grid-template-columns: calc(50% - 15px) calc(50% - 15px);
    grid-column-gap: 30px;
    grid-row-gap: 45px;

}

@media (max-width: 767px) {
    .category-pages {
        grid-template-columns: 1fr;
    }
}

.category-title {
    border-bottom: 3px solid;
    line-height: 50px;
    font-weight: 300;
    letter-spacing: 1px;
    display: inline-block;
}

.category-text {
    font-weight: 300;
    line-height: 28px;
    font-size: 16px;
    color: #777;
    margin: 0 0 60px;
}

.category-page {
    position: relative;
    display: inline-block;
    transition: all .3s ease-out;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.category-page::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(128, 0, 128, 0.5);
    transition: all .3s ease-out;
    opacity: 0;
    pointer-events: none;
}

.category-page:hover::after {
    opacity: .3;
}

.preview-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.preview-text {
    display: block;
    overflow: hidden;
    padding: 10px;
    margin: 0;
    line-height: 1.5;
    height: 90px;
    font-size: 13px;
}

.entry-header {
    margin: 0 0 30px;
}

.category-page {
    border: 0px solid #eee;
    border-radius: 10px;
}

.entry-footer {
    display: none;
}

.category-page .entry-footer {
    background: #fafafa;
    padding: 10px;
    border-top: 1px solid #eee;
}

.category-page__title {
    overflow: hidden;
    padding: 10px;
    line-height: 16px;
    font-size: 14px;
    height: 50px;
}

.category-page__title a {
    color: #333;
    transition: all .3s ease-out;
}

.category-page__title a:hover {
    color: #70a67c;
}

.entry-title {
    line-height: 50px;
    font-weight: 300;
    letter-spacing: 1px;
}

.entry-meta {
    list-style: none;
    padding: 0;
    margin: 0;
    opacity: .7;
}

.entry-footer .entry-meta {
    font-size: 12px;
}

.category-page .entry-meta .entry-meta__item {
    margin-right: 5px;
}

.entry-meta .entry-meta__item {
    display: inline-block;
    margin-right: 30px;
}

.entry-meta .entry-meta__item:last-of-type {
    margin-right: 0;
}

.entry-meta a {
    color: #888;
}

.entry-meta a:hover,
.entry-meta a:focus,
.entry-more a:hover {
    color: #70a67c;
}

.entry-more a {
    color: #333;
    font-weight: 500;
    text-decoration: underline !important;
}

.entry-tags {
    margin: 40px 0 0;
}

.entry-tags a {
    background-color: #f5f5f5;
    border-radius: 2px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 7px;
    color: #303133;
    padding: 7px 8px 5px 10px;
    margin: 5px 10px 5px 0;
}

.entry-tags a:hover,
.entry-tags a:focus {
    background: #70a67c;
    color: #fff;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    margin: 30px 0 20px;
}

.entry-content h1:first-child,
.entry-content h2:first-child,
.entry-content h3:first-child,
.entry-content h4:first-child,
.entry-content h5:first-child,
.entry-content h6:first-child {
    margin-top: 0;
}

.entry-content p,
.entry-content ul,
.entry-content ol {
    margin: 0 0 20px;
    line-height: 24px;
}

.entry-content ul,
.entry-content ol {
    margin: 1.7em 0 1.8em 1em;
    padding: 0;
    list-style: none;
}

.entry-content li {
    padding-left: 30px;
    margin: .7em 0;
}

.entry-content ul li:before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    border: 2px solid #4d3bfe;
    margin: 0 13px 0 -20px;
    border-radius: 50%;
}

.entry-content ol li {
    counter-increment: point 1;
    position: relative;
}

.entry-content ol li:before {
    content: counter(point);
    display: inline-block;
    width: 27px;
    height: 27px;
    margin: 0 13px 0 -30px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    color: #4d3bfe;
}

.sidebar {
    padding-left: 30px;
}

.sidebar .widget:last-child {
    border: 0;
    padding: 0;
}

.sidebar li {
    position: relative;
    padding-left: 30px;
}

.sidebar li:before {
    content: ">";
    position: absolute;
    top: 1px;
    left: 0;
    font-size: 18px;
    color: #ccc;
    font-weight: 100;
    line-height: 1;
}

.widget_search form {
    position: relative;
}

.search-button {
    position: absolute;
    top: 0;
    height: 100%;
    right: 10px;
    background-color: transparent;
    border: none;
    font-size: 20px;
    -webkit-transition: all .3s ease-out;
    transition: all .3s ease-out;
}

.search-button:focus,
.search-button.focus,
.search-button.active.focus,
.search-button.active:focus,
.search-button:active.focus,
.search-button:active:focus {
    outline: 0;
}

.search-button:hover {
    color: #70a67c;
}

.widget-title {
    position: relative;
    font-size: 16px;
    margin: 0 0 10px;
    font-weight: 500;
}

.widget-title:before {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    width: 100%;
    border-bottom: 1px solid #eee;
}

.widget-title:after {
    content: "";
    display: block;
    width: 35px;
    z-index: 1;
    position: relative;
    border-bottom: 1px solid #70a67c;
    margin: 10px auto 15px 0px;
}

.widget {
    margin: 0 0 30px;
    font-size: 14px;
}

.widget ul,
.widget ol {
    padding: 0;
    margin: 0;
    list-style: none;
}

.widget ul li,
.widget ol li {
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.widget ul li:last-child,
.widget ol li:last-child {
    border: 0;
}

.widget ul li a,
.widget ol li a {
    color: #333333;
}

.widget ul li a:hover,
.widget ol li a:hover {
    color: #70a67c;
}

.widget select {
    width: 100%;
    box-shadow: none;
    border-radius: 2px;
    border-color: #eee;
    padding: 12px 15px;
    height: 49px;
    font-size: 14px;
}

.widget select:focus {
    border-color: #70a67c;
    box-shadow: none;
}

.widget_archive ul li a,
.widget_categories ul li a {
    margin-right: 5px;
}

.entry-date {
    display: block;
    opacity: .7;
}

.tagcloud>a {
    background: #f5f5f5;
    border-radius: 2px;
    color: #303133;
    display: inline-block;
    font-size: 9px;
    letter-spacing: 1px;
    margin: 5px 10px 5px 0;
    padding: 7px 8px 5px 10px;
    text-transform: uppercase;
}

.tagcloud>a:hover {
    background: #70a67c;
    color: #fff;
}

.widget_recent_entries_custom ul li {
    border-bottom: 1px solid rgba(238, 238, 238, .7);
    margin-bottom: 5px;
    padding-bottom: 5px;
}

.widget_recent_entries_custom .wi {
    float: left;
    width: 64px;
}

.widget_recent_entries_custom .wb {
    padding-top: 2px;
    margin-left: 84px;
}

.widget_recent_entries_custom .wb a {
    color: #303133;
}

.text-widget-des {
    line-height: 24px;
}

.entry-content {
    color: #666;
}

.entry-content p {
    line-height: 24px;
}

.entry-content blockquote {
    position: relative;
    margin: 20px 0;
    padding: 10px 20px;
    border-left: 2px solid #5a80b1;
    background: #f5f4f1;
    clear: both;
}

.entry-content blockquote p {
    margin: 12px 0;
}

.media,
.media-list {
    margin-top: 50px;
}

.media img {
    width: 52px;
    height: 52px;
}

.media-heading {
    font-size: 16px;
}

.media-body a {
    float: right;
    font-size: 13px;
}

.media-body h6 {
    margin-bottom: 20px;
}

/*pagination*/
.pagination>li {
    display: inline-block;
    margin: 5px 2px 0 0;
}

.pagination>li:first-child>a,
.pagination>li:first-child>span {
    border-radius: 3px;
}

.pagination>li>a,
.pagination>li>span {
    border: 2px solid #eeeeee;
    border-radius: 3px;
    color: #777777;
    display: block;
    float: none;
    padding: 8px 15px;
}

.pagination>.active>a,
.pagination>.active>span {
    background: #27cbc0 none repeat scroll 0 0;
    border-color: #27cbc0;
    color: #ffffff;
}

.pagination>li>a:hover,
.pagination>li>a:focus,
.pagination>li>span:hover,
.pagination>li>span:focus {
    background: #666 none repeat scroll 0 0;
    border-color: #666;
    color: #ffffff;
}

.pagination>.active>a,
.pagination>.active>a:focus,
.pagination>.active>a:hover,
.pagination>.active>span,
.pagination>.active>span:focus,
.pagination>.active>span:hover {
    background-color: #666;
    border-color: #666;
    color: #fff;
    cursor: default;
    z-index: 3;
}

/*footer*/
.footer {
    background-color: #fafafa;
    margin: 50px 0 -30px 0;
    padding: 30px 0;
    border-top: 1px solid #f5f5f5;
}

.hourline {
    line-height: 0.5;
}

.social-circle li a {
    height: 36px;
    width: 36px;
    color: #4c5667;
    border-radius: 50%;
    font-size: 16px;
    text-center: center;
    display: inline-block;
    line-height: 36px;
    background-color: #ededed;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.social-circle li a:hover {
    color: #ffffff !important;
    background-color: #70a67c;
}

.copyright-txt {
    margin-top: 20px;
}

.not-affiliate {
    line-height: 1;
    font-size: 9px;
}

/*responsive*/
@media (min-width: 769px) {
    ul.nav li:hover>ul.dropdown-menu {
        display: block;
    }

    #navbar {
        text-align: center;
    }

    .nav>li>a {
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

@media (max-width: 768px) {
    body {
        padding: 0;
    }

    .dropdown-menu>li>a:hover,
    .dropdown-menu>.active>a:hover {
        text-decoration: none;
        color: #70a67c !important;
        transition: all 0.3s;
    }

    .logo-image {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 767px) {
    .sidebar {
        padding-top: 50px;
        padding-left: 0;
    }

    .navbar-custom .navbar-nav>li>a {
        line-height: 24px;
    }

    .page-title h2 {
        line-height: 36px;
        font-size: 22px;
        margin-top: 40px;
    }

    .category-page__title,
    .preview-image,
    .preview-text {
        height: auto;
    }
}