/*
Theme Name: Сад Сувениров
Theme URI:
Description: sad-suvenirov.ru site theme.
Version: 1.0
*/


/******************************************************/
/*********************   STATIC   *********************/
/******************************************************/

html {
    font-size: 16px;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'PT Sans', sans-serif;
    line-height: 1.75;
    color: #8c8c8c;
}

[class^="icon-"]:before, [class*=" icon-"]:before {
    margin-left: 0!important;
    margin-right: 0!important;
    width: auto!important;
}

* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

ul.clear, ol.clear {
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    outline: none;
}

a:hover {
    text-decoration: underline;
}

a.tel-link,
a.tel-link:hover
{
    text-decoration: none!important;
    white-space: nowrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 2rem;
    margin: 0 auto;
    background: #9ac770;
    color: #ffffff;
    border: 0.5rem solid #f7ad56;
    border-radius: 2rem;
    font-family: 'Russo One', sans-serif;
    text-decoration: none!important;
    transition: background .2s;
}

.btn:hover {
    background: #f7ad56;
}


h1, h2, h3, h4 {
    font-family: 'Russo One', sans-serif;
    font-size: 1.875rem;
    text-transform: uppercase;
    letter-spacing: 1pt;
    margin: 1.75rem 0;
    color: #2e525e;
    text-align: center;
}

h3, h4 {
    font-size: 1.25rem;
}

h4 {
    font-weight: normal;
    text-transform: none;
}

img {
    width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 0 15px;
    margin: 0 auto;
    position: relative;
}

.row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.row-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.row.vertical {
    flex-direction: column;
}

main {
    position: relative;
}

.ya-counter {
    position: absolute;
    bottom: 0;
    right: 0;
    opacity: 0.1;
    transition: opacity .2s;
}

.ya-counter:hover {
    opacity: 1;
}

.content .video-wrap {
    position: relative;
    height: auto;
    width: 100%;
    max-width: 700px;
}

.content .video-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%!important;
    height: 100%!important;
    max-width: 700px;
    z-index: 10;
}

.content .video-wrap:before {
    content: "";
    display: block;
    padding-top: 56.25%;
}

nav.navigation.pagination {
    text-align: center;
    margin: 15px 0 40px;
}

.page-numbers {
    color: rgba(137,21,22,0.9);
    font-weight: 400;
    font-size: 14px;
    margin: 5px;
    padding: 5px 10px;
    background: rgba(255,255,255,0.5);
    transition: all 250ms;
    border: 1px solid rgba(137,21,22,0.8);
    text-decoration: none;
}

.page-numbers:hover {
    background: #891516;
    color: #fff;
    text-decoration: none
}

.page-numbers.current {
    background: rgba(137,21,22,0.075);
    color: rgba(137,21,22,0.9);
    font-weight: 600;
}

.more {
    text-align: right;
    margin-top: 2rem;
}

.more a {
    color: #891516;
    text-decoration: underline;
}

.more a:hover {
    text-decoration: none;
}

.breadcramps {
    color: #891516;
}

.breadcramps ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcramps ul li {
    display: inline-block;
    font-size: 0.75rem;
    line-height: normal!important;
}

.breadcramps ul li:not(:last-child):after {
    display: inline-block;
    content: ">";
    padding: 0 10px;
}

.breadcramps ul li a {
    color: #891516;
    font-weight: normal!important;
    text-decoration: underline;
}

.breadcramps ul li a:hover {
    text-decoration: none;
}

.breadcramps ul li span {
    text-decoration: none;
    font-style: italic;
}

/******************************************************/
/*********************   HEADER   *********************/
/******************************************************/

header {
    width: 100%;
    background: #fff;
    z-index: 100;
    border-bottom: 1.625rem solid #f7ad56;
}

.header .logo {
    max-width: 14.25rem;
    position: relative;
}

.header nav {
    margin: 0 3rem;
    flex: 1;
    font-size: 0.875rem;
}

.header nav li {
    padding: 3.5rem 0;
}

.header .header-panel {
    font-size: 0.875rem;
    text-align: right;
    color: #2e525e;
}

.header .header-panel > div{
    white-space: nowrap;
}


.header .header-panel .address {

}

.header .header-panel .address:before {
    content: "";
    display: inline-block;
    margin-right: 0.1rem;
    height: 1rem;
    width: 0.75rem;
    background: url(images/icons/marker.svg) no-repeat;
    background-size: contain;
}

.header .header-panel .tel {
    font-size: 1.125rem;
    font-weight: bold;
    margin: 0.5rem 0 0.5rem;
}


.header .header-panel .social a {
    font-size: 1.1rem;
    color: #393e71;
    display: inline-block;
    text-decoration: none;
/*    width: 1.25em;*/
    margin: 0 0.25rem;
    text-align: center;
    transition: color .25s;
}

.header .header-panel .social a:hover {
    color: #891516;
}

.header .header-panel .social a:before {
    margin:0;
    width: auto;
}

.header .header-panel .address {

}

.header .header-panel .tel > a {
    color: #393e71;
    font-size: 1.25rem;
    font-weight: bold;
}

nav li.current-menu-item > a,
nav > .nav li.current-menu-ancestor > a,
nav > .nav li.current-post-ancestor > a,
nav > .nav li.current-page-ancestor > a,
nav > .nav li.current-category-ancestor > a
{
    color: #891516;
}

.footer-nav > li.current-menu-item > a,
.footer-nav > li.current-menu-ancestor > a,
.footer-nav > li.current-post-ancestor > a,
.footer-nav >  li.current-page-ancestor > a,
.footer-nav >  li.current-category-ancestor > a
{
    font-weight: bold;
}



.mobile-panel {
    display: none;
}

.mobile-menu {
    display: none;
    background: #fff;
    height: 55px;
}

.mobile-menu .container {
    display: table;
}

.mobile-menu .toggleMenu {
    display: table-cell;
    font-size: 1.2rem;
    line-height: 55px;
    text-decoration: none;
    color: #333;
    height: 100%;
}

.mobile-menu .menu-bar-line {
    position: relative;
    margin: 0 10px 0 0;
    display: inline-block;
    vertical-align: middle;
}

.mobile-menu .menu-bar-line .bar-line {
    display: block;
    width: 22px;
    height: 2px;
    margin: 0 0 3px;
    background-color: #333;
}

.mobile-menu .logo.mobile {
    height: 45px;
    display: table-cell;
    padding: 0;
    vertical-align: middle;
    text-align: right;
}

.mobile-menu .logo.mobile img {
    display: inline-block;
    height: 100%;
    width: auto;
    vertical-align: middle;
}

.mobile-menu .lang-select {
    display: inline-block;
    float: right;
    height: 55px;
    line-height: 55px;
    margin-right: 1.5rem;
}

.mobile-menu .lang-select a {
    display: inline-block;
    margin: 0;
    box-shadow: none;
    color: #333;
    text-transform: uppercase;
}

.roll header {
    position: fixed;
    left: 0;
    transform: translateY(100%);
    transition: transform .5s;
}

.roll .header-panel .address,
.roll .header-panel .tel {
    display: none;
}

.roll .header .logo {
    top: 0;
}

.roll .header .logo img {
    max-width: 9rem;
}

.roll .header nav li {
    padding: 1.5rem 0;
}

.roll header {
    box-shadow: 0 5px 0 0 #dcd4c7;
}


/******************************************************/
/*********************   FOOTER   *********************/
/******************************************************/

footer {
    background: url(images/lavanda-bottom.jpg) no-repeat;
    background-size: cover;
    height: 40rem;
}
footer .container {
    height: 100%;
}

footer .copyright {
    color: #fff;
    position: absolute;
    left: 15px;
    bottom: 1rem;
    border-radius: 10rem;
    background: rgba(134,26,115,0.4);
    box-shadow: 0 0 10px 10px rgba(134,26,115,0.4);
}


/******************************************************/
/**********************   MAIN   **********************/
/******************************************************/

.home .options,
.home .gallery,
.home .map {
    margin-top: 5.125rem;
}

.home .options .container > .row {
    margin: -1rem -2rem;
}


.home .options .item {
    margin: 1rem 2rem;
    text-align: center;
}

.home .options .item .icon img {
    height: 4rem;
    width: auto;
    margin: 0 auto;
}

.home .options .item .desc {
    margin-top: -0.875rem;
    line-height: 1.5;
    text-align: center;
}

.home .map {
    height: 40rem;
    box-shadow: 0 4px 0 0 #f7ad56;
}


/******************************************************/
/**********************   PAGE   **********************/
/******************************************************/

main.page,
main.category {
    padding: 3rem 0;
}

main.page:before,
main.category:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    height: 1.5rem;
    width: 100%;
    background: url(images/pattern-line.png) center repeat-x;
    background-size: auto 100%;
}

main.page .breadcramps {
    margin-left: auto;
    margin-right: auto;
    max-width: 850px;
}

main.page .title h1 {
    margin: 2rem auto;
    text-align: left;
    max-width: 850px;
}

main .content {
    margin: 0 auto;
    line-height: 1.5rem;
}

main.page:not(.contacts) .content {
    max-width: 850px;
}

main.page .date {
    font-size: 0.9rem;
    font-style: italic;
    max-width: 850px;
    margin: 0 auto;
    text-align: right;
    color: #891516;
}

main .content h3 {
    text-align: left;
}

main .content a {
    text-decoration: underline;
}

main .content a:hover {
    text-decoration: none;
}

main .content strong {
    color: #891516;
}

main .content blockquote {
    margin: 2rem 0;
    font-size: 0.90rem;
    padding-left: 2rem;
    border-left: 2px solid #dcd4c7;
}

main .content ul {
    list-style: none;
}

main .content ul li,
main .content ol li {
    position: relative;
    margin: 0.5rem 0;
}

main .content ul > li:before {
    content: "";
    display: block;
    position: absolute;
    vertical-align: middle;
    left: -1.3rem;
    top: 0.45rem;
    width: 0.7rem;
    height: 0.7rem;
    background: url(images/icons/list-marker.svg) no-repeat center;
    background-size: contain;
}

.post-image {
    display: inline-block;
    max-width: 600px;
}

.contacts .map {
    width: 100%;
    height: 27rem;
}


/******************************************************/
/********************   CATEGORY   ********************/
/******************************************************/

.category .list-item .item {
    margin: 3rem 0;
}

.category .item .thumb-item {
    flex: 1 0 auto;
    max-width: 25.125rem;
    margin-right: 2rem;
    border: 7px solid #fff;
    border-image: url(images/border-pattern.png) 7 round round;
}

.category .item .desc {
    align-self: flex-start;
    flex: 1;
}

.category .item .date {
    color: #393e71;
}

.category .item hr {
    border: 0;
    height: 2px;
    background: #dcd4c7;
    margin: 1rem 0;
}


.category .item  .title-item {
    margin-top: 0;
    text-align: left;
    color: #891516;
    text-transform: none;
}

.category .item  .desc > a {
    text-decoration: none;
}

/******************************************************/
/*********************   GALLERY   *********************/
/******************************************************/

#justify-gallery {
    width: calc(100% + 30px);
    margin: -15px;
    opacity: 0;
}


/******************************************************/
/*********************   MOBILE   *********************/
/******************************************************/

@media all and (min-width: 1230px) {

    header .container,
    .promo .container {
        padding: 0;
    }
}
/*
@media all and (max-width: 1200px) {
    html {
        font-size: 15px;
    }

    .header .logo {
        max-width: 11.5rem;
    }

    .header nav {
        margin: 0 1.5rem;
    }

}

@media all and (max-width: 1100px) {
    .home .dos .circle .inner-wrapper {
        padding: 2.75rem 1rem;
    }

}

@media all and (max-width: 1024px) {
    html {
        font-size: 14px;
    }

    .header .logo {
        max-width: 10rem;
    }

    .header nav {
        margin: 0 1rem;
    }

}*/


@media all and (max-width: 940px) {

    html {
        font-size: 14px;
    }

    h1, h2, h3, h4 {
        font-size: 1.5rem;
    }

    .row {
        display: block;
    }

    header {
        border-bottom: 5px solid #f7ad56;
        padding-top: 1rem;
    }

    .header .logo {
        margin: 0 auto 1rem;
    }

    .header nav {
        display: none;
    }

    .header .header-panel {
        text-align: center;
    }

    .header .header-panel .address {
        display: none;
    }

    .home .options .container > .row {
        margin: 0;
    }

    footer .copyright {
        font-size: 0.9rem;
    }

    /*.mobile-menu {
        display: block;
    }

    .header .logo,
    .header .header-panel {
        display: none;
    }
*/
    /*header .header {
        transform: scaleY(0);
        position: absolute;
        z-index: 10;
        background: #fff;
        width: 100%;
        padding: 1rem 0 1rem 2rem;
        border-bottom: 5px solid #dcd4c7;
        border-top: 1px solid #dcd4c7;
        transform-origin: top;
        transition: transform .3s;
    }

    header .header.active {
        transform: scaleY(1);
    }

    .header nav {
        font-size: 1rem;
    }
*/
/*    header nav > ul.row {
        display: block;
    }

    .header nav li {
        padding: 1rem 0;
    }

    footer > .container {
        padding: 2rem 15px;
    }

    footer .column {
        display: none;
    }

    footer .social-footer {
        display: flex;
        justify-content: center;
    }

    footer .copyright {
        font-size: 0.7rem;
        padding: 0.3rem 0;
    }

    .home .dos .circle {
        max-width: 300px;
        width: 100%;
        margin: 2.5rem auto!important;
    }

    .home .dos .circle:before {
        display: block;
        float: none;
    }
    .home .news {
        margin: 5.25rem 0 4.75rem;
    }

    .home .news-list .item {
        max-width: 500px!important;
        margin: 2rem auto!important;
    }

    .home .news-list .item .desc {
        display: none;
    }

    .home .news .news-list .item .title {
        height: auto;
        padding: 1.5rem 1rem;
    }

    .home .news-list .item a h3 {
!*        position: absolute;
        bottom: 0;
        width: calc(100% - 2rem);*!
        font-size: 1.4rem!important;
    }

    .home .gallery {
        padding: 2.5rem 0 4.75rem;
    }

    main.page .title h1,
    .category .title h1 {
        margin: 1rem 0 1.5rem;
    }

    .category .item .thumb-item {
        display: block;
        margin: 0 auto;
        flex: 1 0 auto;
        max-width: 500px;
    }

    .category .item hr {
        display: none;
    }

    .category .item .date {
        margin: 0.5rem 0;
        text-align: right;
        font-size: 0.8rem;
    }

    .category .item .title-item {
        letter-spacing: 0.5pt;
        font-size: 1.4rem;
    }

    .category .item .more {
        margin-top: 1rem;
    }

    .category .list-item .item {
        margin: 2rem 0 0;
        border-bottom: 2px solid #dcd4c7;
        padding: 0 0 2rem;
    }

    .category .list-item .item:last-of-type {
        border: 0;
        padding-bottom: 0;
    }

    .ya-counter {
        display: none;
    }

    main.page:not(.contacts) .content {
        max-width: 100%;
    }*/

}

/*@media all and (max-width: 768px) {
    .gallery.wideslider #main-slider {
        width: 100%!important;
        padding: 0 10px;
    }

    .gallery.wideslider #main-slider .glide__track {
        overflow: hidden!important;
    }

    .gallery.wideslider #main-slider .glide__slide {
        margin: 0;
    }
}

@media all and (max-width: 480px) {
    .home .promo .banner {
        right: inherit;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media all and (max-width: 359px) {
    .home .dos .circle .inner-wrapper {
        padding: 2rem 1rem 3rem;
    }

    .home .dos .circle .inner-wrapper h3 {
        font-size: 1.3rem;
    }*/

/*    .home .promo .banner {
        height: calc(100% - 4rem);
        top: 2rem;
    }*/
}

/******************************************************/
/*********************   DUMMY   **********************/
/******************************************************/

.home {
    display: block;
    position: relative;
    height: 100vh;
}

.promo-row {
    position: relative;
    top: 50%;
    margin-top: -50px;
}

.home .promo .inner > .container {
    height: 100%;
}

.home .promo .line-slogan {
    flex: 1;
    width: 100%;
}

.home .promo .slogan {
    width: 100%;
}