/*
Theme Name: PAP RUSSIAN VERSION
Text Domain: pap
Version: 1.1
Requires at least: 4.7
Requires PHP: 5.2.4
*/
@media only screen and (max-width: 1028px) {
    .ms-logo img {
        height: 100%;
        width: 100%;
    }
}

.linear-wipe {
    text-align: center;
    background: linear-gradient(to right, #ffffff 20%, #329138 40%, #fbcc08 60%, #ffffff 80%);
    background-size: 200% auto;
    color: #000;
    background-clip: text;
    text-fill-color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.social-share {
    color: black;
    position: relative;
    height: 24px;
    display: flex;
    margin-left: auto;
    margin-top: auto;
    margin-right: 0;
    margin-bottom: 0;
}

.ms-nav-item a {
    background: -webkit-linear-gradient(45deg, #308b37, #99c333 60%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    padding: 0 0 20px 0;
    margin-left: 30px;
    font-size: 20px;
    font-weight: 500;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    text-transform: uppercase;
}


/***** Timeline slider***/
.wpostahs-slider-design-1 .wpostahs-slider-nav-title .wpostahs-main-title img {
    border-radius: 0;
    width: 194px;
    margin-bottom: 5px;
    height: 150px;
}

textarea {
    min-height: 200px;
    overflow: hidden;
}

.wpostahs-slick-slider .slick-dots{display: none !important;}


/****Products style***/
.woocommerce ul.products li.product a img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 0 1em;
    box-shadow: none;
    border-radius: 50%;
}

.woocommerce ul.products li.product .woocommerce-loop-category__title, .woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product h3 {
    padding: .5em 0;
    margin: 0;
    font-size: 24px;
    text-align: center;
}

.woocommerce ul.products li.product .button {
    align-items: center;
    /* margin-top: 1em; */
    justify-content: center;
    display: flex;
}

.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
    font-size: 100%;
    margin: 0;
    line-height: 1;
    cursor: pointer;
    position: relative;
    text-decoration: none;
    overflow: visible;
    padding: .618em 1em;
    font-weight: 700;
    border-radius: 3px;
    left: 0;
    color: #fffefe;
    background-color: #5b8c38;
    border: 0;
    display: inline-block;
    background-image: none;
    box-shadow: none;
    text-shadow: none;
}

.woocommerce div.product .product_title {
    color: black;
    clear: none;
    margin-top: 0;
    padding: 0;
}

.woocommerce div.product .product_title {
    text-align: center;
    color: black;
    clear: none;
    margin-top: 0;
    padding: 0;
    font-weight: 700;
    line-height: normal;
}

.woocommerce-product-details__short-description {
    color: darkgrey;
}

.product_meta {
    color: coral;
}

.product_meta a {
    color: darkgreen;
}

#yith-quick-view-close {
    color: #5b8c38;
}

#yith-quick-view-close {
    border: 2px solid #5b8c38;
    border-radius: 50%;
    position: absolute;
    top: 5px;
    right: 5px;
    color: blueviolet;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 18px;
    z-index: 2;
    opacity: 0.5;
}

.yith-wcqv-wrapper {
    width: 99% !important;
    height: 100vh !important;
}


.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
    float: left;
    margin: 20px;
    padding: 0;
    position: relative;
    width: 22.05%;
    margin-left: 0;
    display: grid;
}


.section__content img {
    border-radius: 0;
    margin-bottom: 30px;
}


/**** SEARCH FORM **/
input.search {
    width: 130px;
    box-sizing: border-box;
    border: 2px solid #0b5f04;
    border-radius: 4px;
    font-size: 16px;
    background-color: white;
    background-position: 10px 12px;
    background-repeat: no-repeat;
    padding: 12px 20px 12px 40px;
    -webkit-transition: width .4s ease-in-out;
    transition: width .4s ease-in-out;
}

/* When the input field gets focus, change its width to 100% */
input.search:focus {
    width: 100%;
}




/*****Страница продуктов ***/

.Portfolio img {
    width: 100%;
    height: 250px;
    border-radius: 50%;
    padding: 5px;
}


.desc {
    padding: 5px;
    text-align: center;
    font-size: 24px;
    background: transparent;

}
.desc:hover{
    background: #0E0E0E;
}
.desc a{
    color: white;
}

.desc a:hover{
    color: #047d11;
    transition: .3s all;
}

.nav {
    padding:20px;
    margin-left:20px;
    margin-top:-30px;
}

.nav li a {
    margin:5px;
    padding: 15px 50px;
    font-size:16px;
    color:#047d11;
    background: #000;
    transition-duration: 0.4s;
}
.nav a:hover {
    background:#333;
}
.nav .active {
    background-color:#047d11 !important;
    color:#fff;
}

@keyframes winanim {
    0%{opacity:0;transform:scale3d(.3,.3,.3)}
    50%{opacity:1}

}

.owl-theme .owl-dots, .owl-theme .owl-nav {
    font-size: 60px;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
    color: darkolivegreen;
}