

/* Start:/local/templates/shop/components/bitrix/news.list/vdohnovenie/style.css?16127958584483*/
.grid, .grid-filter {
    max-width: 85em;
    list-style: none;
    margin: 30px auto;
    padding: 0;
}

.grid li {
    display: block;
    float: left;
    padding: 7px;
    width: 33%;
    opacity: 0;
}

.grid li.shown,
.no-js .grid li,
.no-cssanimations .grid li {
    opacity: 1;
}

.grid li a,
.grid li img {
    outline: none;
    border: none;
    display: block;
    max-width: 100%;


    background-size: contain;
    background-repeat: no-repeat;
    width: 100%;
    /*min-height: 305px;*/

}

.grid li .hoverFon {
    display: none;
    background: black;
    opacity: 0;
    position: absolute;
    top: 7px;
    height: 96%;
    width: 96%;
}

.grid li span[class^=btn-popup-] {
    display: none;
    opacity: 0;
    padding: 5px 20px;
    border: 1px solid white;
    font-size: 16px;
    color: white;
    position: absolute;
    left: 30%;
    text-align: center;
    right: 30%;
    top: 43%;
    cursor: pointer;
}

.grid li:hover .hoverFon {
    -webkit-animation: shofon 0.65s ease forwards;
    display: inline-block;
    animation: shofon 0.65s ease forwards;
}


.grid li:hover span[class^=btn-popup-] {
    -webkit-animation: shofonBTN 0.65s ease forwards;
    display: inline-block;
    animation: shofonBTN 0.65s ease forwards;
}

/* Effect 1: opacity */
.grid.effect-1 li.animate {
    -webkit-animation: fadeIn 0.65s ease forwards;
    animation: fadeIn 0.65s ease forwards;
}


div[id^="popup-detail"] .popup-content img {
    width: 400px;
    display: inline-block;
}

div[id^="popup-detail"] .popup-content .product img {
    width: 150px;

}

div[id^="popup-detail"] .popup-content {
    margin: 5px;
}

div[id^="popup-detail"] .popup-content .title {
    display: inline-block;
    font-weight: bolder;
    font-size: 15px;
    color: black;
    border: 1px solid #CCC;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    padding-right: 10px;
    position: relative;
}

div[id^="popup-detail"] .popup-content .title:after {
    content: "";
    position: absolute;
    right: -45px;
    border-top: 1px solid #CCC;
    width: 45px;
    top: 12px;
}

div[id^="popup-detail"] .popup-content .product .name-product {
    color: black;
    font-size: 14px;
}


div[id^="popup-detail"] .popup-content .product {
    display: inline-block;
    vertical-align: top;
    margin-left: 15px;
    width: 200px;
    text-align: center;
    margin-right: 15px;
}


.popup-window-close-icon {
    width: 17px !important;
    height: 17px !important;
    right: 17px !important;
    top: 5px !important;
    border: 1px solid black;
}

.popup-window-close-icon:after,
.popup-window-close-icon:before {
    height: 2px !important;
    color: black;
}

@-webkit-keyframes shofon {
    0% {
    }
    100% {
        opacity: 0.6;
    }
}

@-webkit-keyframes shofonBTN {
    0% {
    }
    100% {
        opacity: 1;
    }
}


@-webkit-keyframes fadeIn {
    0% {
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
    }
    100% {
        opacity: 1;
    }
}

@media screen and (max-width: 900px) {
    .grid li {
        width: 50%;
    }
}

@media screen and (max-width: 665px) {
    .grid li {
        width: 50%;
    }

    div[id^="popup-detail"] .popup-content img {
        display: block;
        margin: 0 auto;
        width: 100%;
    }

    div[id^="popup-detail"] .popup-content .product {
        display: block;
        margin: 0 auto;
        margin-top: 15px;
        width: 100%;
    }
    div[id^="popup-detail"] .popup-content .title {
        display: block;
    }

    div[id^="popup-detail"] .popup-content .title:after {
        content: none;
    }

    div[id^="popup-detail"] .popup-content .item{
        display: inline-block;
        width: 30%;
        float: left;
        margin-left: 10px;
        margin-right: 13px;
        text-align: center;
    }

    div[id^="popup-detail"] .popup-content .product img {
        margin: 0 auto;
    }

    div[id^="popup-detail"]{
    padding-top: 20px;
        width: 95%;
}

}
@media screen and (max-width: 500px) {
    .grid li span[class^=btn-popup-]{
        left: 25%;
        right: unset;
    }
}
@media screen and (min-width: 401px) and (max-width: 500px) {

    .grid li a, .grid li img{
        min-height: unset;
       /* height: 220px;*/
        width: 100%;
    }
}
@media screen and (max-width: 400px) {
    .grid li {
        width: 100%;
    }


    div[id^="popup-detail"] .popup-content .item{
        width: 40%;
    }
}
/* End */
/* /local/templates/shop/components/bitrix/news.list/vdohnovenie/style.css?16127958584483 */
