/***************************************************************************************************
items
***************************************************************************************************/

.items {
    position: relative;
    text-align: center;
    margin: 20px 0;
}

.items_ww {
    position: relative;
}


.items_c {
    position: relative;
    top: 0;
    left: 0;
    width: 10000%;
    overflow: hidden;
    text-align: left;
    transition: transform 0.6s;
}

.it {
    float: left;
    width: 225px;
    margin: 0 4px 0 10px;
    overflow: hidden;


}


.it figure {
    margin: 0;
}

.recipes .it figure {
    margin: 10px;
}

.items_b {
    margin: 10px 20px;
    overflow: hidden;
    text-align: center;
    line-height: 0;
    min-height: 24px;
}

.items_b div {
    height: 44px;
    width: 20px;
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.items_b div.x {
    cursor: auto;
}

.items_b div::before {
    content: '';
    position: absolute;
    top: 19px;
    left: 7px;


    padding: 2px;

    border-radius: 50%;
    border: 1px solid #888;
    background: #888;

    transition: 200ms;
}

.items_b div.x::before {
    padding: 5px;
    background: #fff;
    top: 16px;
    left: 4px;
}


/***************************************************************************************************
items for products
***************************************************************************************************/

.products .items_w {
    margin: 0 auto;
    overflow: hidden;
    width: 225px;
}

.products .items_c {
    left: -10px;

    display: flex;
    align-items: stretch;
}

.products .items_c .it > .product  {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0;
}

/***************************************************************************************************
items for recipes
***************************************************************************************************/

.recipes .items_w,
.items_cms .items_w {
    margin: 0 auto;
    overflow: hidden;
    width: 225px;
}

.recipes .items_c,
.items_cms .items_c {
    left: -10px;
}

/***************************************************************************************************
items for lgoos
***************************************************************************************************/


#logos .items_w {
    margin: 0 auto;
    overflow: hidden;
    width: 200px;
}

#logos .items_c {
    left: -10px;
}


/***************************************************************************************************
acc
***************************************************************************************************/

.acc_h {
    border-top: 1px solid #ccc;

    padding: 10px;
    line-height: 20px;

    position: relative;
    cursor: pointer;
    font-weight: 400;
}

footer .acc_h {
    text-transform: uppercase;
}

.acc .acc_h::after {
    content: '+';
    position: absolute;
    top: 10px;
    right: 10px;
    height: 20px;
    line-height: 20px;
    font-size: 20px;
    color: #666;
}

.acc.x .acc_h::after {
    content: '-';
}

.acc_c {
    border-top: 1px solid #ccc;
    display: none;
}

.acc.x .acc_c {
    display: block;
}

.acc_c p {
    font-size: 13px;
}

.acc_c a {
    color: #666;
    display: block;
    margin: 7px 0;
}

.acc_c a:hover {
    color: #000;
}

/***************************************************************************************************
wait
***************************************************************************************************/

#wait,
.modal-popup,
#checkout-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../img/wait.gif) center no-repeat rgba(255, 255, 255, 0.2);

    z-index: 9999999 !important;
    text-align: center;


}

#wait {
    display: none;
}

body.wait #wait,
body.ajax-loading #wait {
    display: block;
}

body.nowait #wait {
    display: none;
}

/*
#loading
{
	display:none;
}
*/
/*
body.ajax-loading #loading
{
	display:block;
}
*/

.modal-popup {
    display: none;
}

.modal-popup._show {
    display: block;
}

#checkout-loader img {
    display: none;
}


/***************************************************************************************************
msg
***************************************************************************************************/

#msg_w {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    text-align: center;
    z-index: 10000;
}

#msg_m {
    margin: 0 auto;
    max-width: 600px;
    position: relative;
    height: 100%;
}

#msg_x {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.1);
    transition: background 1s;
}

#msg_w.x #msg_x {

    background: rgba(0, 0, 0, 0.4);
}

#msg {
    overflow: hidden;
    background: #fff;
    text-align: left;
    /*box-shadow:0 0 15px rgba(0,0,0,0.5);*/


    position: relative;
    z-index: 1;

    top: 100px;
    padding: 10px;

    transform: translate(0, -200%);

    transition: transform 0.6s;
}

#msg_w.x #msg {
    transform: translate(0, 0);
}


#msg p,
#msg .button {
    margin: 10px;
}

/***************************************************************************************************
edge
***************************************************************************************************/

#top_account_b div::after,
#top_cart_b div::after,
#p_a div::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20px;
    border: inset 5px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 6px 6px;
    border-color: #fff #fff #cecece;


    display: block;
}

#top_account_b div:hover::after,
#top_cart_b div:hover::after,
#p_a div:hover::after {
    border-color: #fff #fff #9c3;
}


#nav ul li.hs::after {
    right: 10px;
    top: 17px;
}

#nav ul li.hs.x::after {
    transform: rotate(-90deg);
}

#nav ul ul li.hs::after {
    border-color: #f4f4f4 #f4f4f4 #cecece;
}

#top_account_b div::after,
#top_cart_b div::after {
    top: 24px;
}

#p_a div::after {
    top: 12px;
}


/***************************************************************************************************
lazy
***************************************************************************************************/

.lazy {
    position: relative;
    overflow: hidden;
    background: #fff;
}

.lazy img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: opacity 0.3s;
    object-fit: contain;
}

.lazy img.loaded {
    opacity: 1;
}

.lazy img.thumb {
    opacity: 0;
    z-index: 1;
    transition: opacity 200ms;
}

.lazy:hover img.thumb {
    opacity: 1;
}


.p_100 {
    padding: 0 0 100% 0;
}

.p_70 {
    padding: 0 0 70% 0;
}

.p_50 {
    padding: 0 0 50% 0;
}

.p_30 {
    padding: 0 0 30% 0;
}

.p_56 {
    padding: 0 0 56.25% 0;
}


#nav ul li a.img .lazy {
    height: 100px;
}

/***************************************************************************************************
pages
***************************************************************************************************/

.pages {
    margin: 28px 8px;
    overflow: hidden;
    text-align: center;
    line-height: 0;
}

.pages a,
.pages span {
    display: inline-block;
    height: 30px;
    line-height: 30px;
    text-align: center;
    width: 30px;
    margin: 2px;
    background: #eee;


    color: #666;
}

.pages a:hover {
    background: #ddd;
}

.pages span {
    background: #9c3;
    color: #fff;
}

.pages a.next,
.pages a.prev {
    width: auto;
    padding: 0 10px;
}


/***************************************************************************************************
lb
***************************************************************************************************/

#lb {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: #fff;

    z-index: 10000;
}

#lb_c {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    overflow: hidden;
}

#lb_c figure {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    display: none;
    background: #fff;
}

#lb_c figure.x {
    display: block;
}

#lb_c figure img {
    max-width: 100%;
    max-height: 100%;

    margin: auto;

    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

#lb_x {
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    height: 30px;
    width: 30px;
    line-height: 30px;
    text-align: center;
    font-size: 20px;
}


#lb_p,
#lb_n {
    position: absolute;
    top: 50%;
    left: 10px;
    width: 30px;
}

#lb_n {
    left: auto;
    right: 10px;
}


#lb_p div,
#lb_n div {
    position: relative;
    top: -25px;
    height: 50px;
    width: 30px;
    cursor: pointer;

    background: url(../img/a_l.svg) center no-repeat;
    background-size: cover;
}


#lb_n div {
    background-image: url(../img/a_r.svg);
}


/***************************************************************************************************
modal
***************************************************************************************************/

.modal-popup {
    background: rgba(0, 0, 0, 0.2);
}

.modal-inner-wrap {
    background: #fff;
    max-width: 500px;
    margin: 20px auto;
    text-align: left;
    overflow: hidden;
}

header.modal-header {
    position: relative;
    overflow: hidden;
    height: 54px;
    overflow: hidden;
}

.checkout-index-index header.modal-header h1 {
    margin: 10px;
    padding: 0;
    height: 34px;
    line-height: 34px;
    font-size: 16px;
    text-align: left;
}

header.modal-header button {
    position: absolute;
    top: 10px;
    right: 10px;
}

.modal-footer {
    margin: 10px;
}


/***************************************************************************************************
items_show_all
***************************************************************************************************/

.items_show_all_button {
    display: inline-block;
    color: #9c3;
    cursor: pointer;
    height: 20px;
    line-height: 20px;
    padding: 0 10px;
}

.items_show_all .items_b,
body.loaded .items_show_all .items_prev,
body.loaded .items_show_all .items_next {
    display: none;
}

.items_show_all .items_c {
    position: static;
    transform: none !important;
    transition: none !important;
    width: auto;
}












