﻿#navMask {
    position: relative;
    width: 100%;
    height: 168px;
}
.hp-circles {
    white-space: nowrap;
    position: absolute;
}
.hp-circles_item {
    display: inline-block;
    width: 200px;
}


.hpprodsslider {
    margin-top: 43px;
}
.hp-images {
    position: relative;
    flex-wrap: wrap;
    display: flex;
    max-width: 1813px;
    justify-content: space-around;
    margin: 35px auto 38px auto;
}
.hp-images_item {
    flex-basis: 33%;
    height: 577px;
    position: relative;
}


body.home main section {
    margin-bottom: 0;
}
body.home .sp-buttons {
    position: absolute;
    bottom: 0;
}
body.home .sp-buttons .sp-button {
    background-color: rgb(199, 199, 199);
    border: 0;
}
body.home .sp-buttons .sp-selected-button {
    background-color: gray;
    border: 0;
}
.hp-yellowbanner {
    margin: 15px 0;
}

.hp-products-header {
    margin: 0px 4.6%;
}
.hp-products-header .slider-title h2 {
    font-size: 3rem;
    font-weight: 600;
    color: #292929;
	margin:0;
}
.hp-products .proditem .item {
       padding: 0 15px;
    margin: 0 auto;
}

.hp-products .proditem .description {
    margin-top: 22px;
}
@media (min-width: 991px) {
    .hp-products {
        margin: 7px 4.6% 82px 4.6% !important;
    }
}
.hp-products::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    opacity: 1;
    transition: opacity 150ms ease;
    top: 0;
    height: 100%;
    width: 146px;
    z-index: 1;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.8) 60%, rgba(255, 255, 255, 0.5));
}
.hp-products.beforechange::before {
    opacity: 0;
}
.hp-products .slick-arrow.slick-disabled {
    opacity: 0;
}
.hp-products .slick-prev {
    left: auto;
    right: 15px;
    background: transparent;
}
.hp-products .slick-next {
    right: auto;
    left: 15px;
    background: transparent;
}
.hp-products .slick-prev::before {
    content: "";
    background: url(../user/arrow.svg);
    width: 30px;
    display: block;
    height: 30px;
    background-size: cover;
}
.hp-products .slick-next::before {
    content: "";
    background: url(../user/arrow.svg);
    width: 30px;
    display: block;
    height: 30px;
    transform: rotate(180deg);
    background-size: cover;
}
@media screen and (max-width: 1365px) {
    .hp-images_item {   flex-basis: 33%;   height: 33vw;    margin-top: 16px; max-height: 577px;  }
}


html,
body {
    padding: 0;
    margin: 0;
}

html {
    height: 100vh;
}

body {
    height: 100vh;
}



    .hp-slick .slick-dots {
        bottom: 11px;
    }
    .hp-slick .slick-dots button:before {
        font-size: 15px;
    }

.carousel {
    display: flex;
    width: 100%;
    height: 509px;
    margin: 20px 0;
    align-items: center;
    font-family: inherit;
    position: relative;
}
.carousel__bullets {
    display: flex;
    justify-content: center;
    flex-direction: row-reverse;
}
.carousel__bullets > div {
    background-color: #e0e0e0;
    width: 17px;
    height: 17px;
    flex-basis: 17px;
    margin: 0 15px;
    cursor: pointer;
    border-radius: 50%;
}
.carousel__bullets >div.selected {
    background-color: #5d5d5d;
}

.carousel__info .addBookToWishList {
    top: 28px;
}
.carousel__info .addBookToWishList a {
    background-image: url('/design/images/favorit-icon.png');
    background-size: auto;
}
.carousel__info .addBookToWishList a:hover {
    background-image: url('/design/images/favorit-icon_after-add.png');
   
}
.carousel__info .addBookToWishList a.visibleHeart {
    background-image: url('/design/images/favorit-icon_after-add.png') !important;
   
}
.carousel__info .data-addToCartBlock  {
    padding-top:15px;
}
.carousel__info .data-addToCartBlock .btn {
    font-size: 1.7rem;
    padding: 7px 45px;
    width: auto;
    background-position: 138px !important;
    height: auto;
}

.carousel__info .data-addToCartBlock .btn:hover {
    background-position: 138px !important;
}
.carousel__arrow {
    position: absolute;
    height: 100%;
    width: 30px;
    z-index: 7;
}
.carousel__arrow.next {
    left: 23%;
}
.carousel__arrow.back {
    right: 25%;
}

.carousel__arrow.next::before {
    transform: rotate(180deg);
}
.carousel__arrow::before {
    content: "";
    background: url(../user/arrow.svg);
    width: 30px;
    display: block;
    height: 30px;
    z-index: 7;
    background-size: cover;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.hpslide {
    background-color: #F9F9F9;
    padding: 39px 0;
}

.carousel__arrow.next::after {
    background: linear-gradient(to left, #F9F9F9 20%, transparent);
}
.carousel__arrow.back::after {
    background: linear-gradient(to right, #F9F9F9 20%, transparent);
    transform: translateX(85%);
}
.carousel__arrow::after {
    content: "";
    
    width: 200px;
    display: block;
    height: 100%;
    z-index: 6;
    background-size: cover;
    position: absolute;
}
.carousel__info {
    height: 486px;
    width: 32vw;
    font-family: inherit;
    position: absolute;
    background-color: #F9F9F9;
    z-index: 6;
    top: 0;
    left: 50%;
    transform: translateX(calc(-50% + -178px));
    padding: 15px;
}
.carousel__info:before {

}
.carousel__info >div {
    transition: opacity 200ms ease;
}
.carousel__info h2, .carousel__info .h2 {
    font-size: 3rem;
    font-weight: 600;
    color: #292929;
}
.carousel__info div.data-author {
    font-size: 2rem;
    font-weight: 400;
}
.carousel__info p {
    font-size: 1.6rem;
    font-weight: 300;
    letter-spacing: 1px;
    line-height: 1.6;
    margin-top:15px;
    min-height: 125px;
}
.carousel__info .data-price {
    margin-top: 25px;
}
.carousel__info .data-price .typeBook {
    font-weight: 300;
}
.carousel__info a.readmore {
    font-size: 1.4rem;
    font-weight: 400;
    text-decoration: underline;
}
.carousel__list {
    display: flex;
    list-style: none;
    position: relative;
    width: 100%;
    height: 500px;
    justify-content: center;
    perspective: 300px;
}
.carousel__item {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0px;
    width: 315px;
    height: 483px;
    box-shadow: 0px 2px 23px 0px rgb(50 50 50 / 50%);
    position: absolute;
    transition: all 0.35s ease-in;
}


.carousel__item:not([data-pos="0"]):not([data-pos="1"]):not([data-pos="2"]):not([data-pos="-1"]):not([data-pos="-2"]):not([data-pos="placeholder"]) {
    opacity: 0;
}

.carousel__item[data-pos^="-"]:not([data-pos="0"]):not([data-pos="1"]):not([data-pos="2"]):not([data-pos="-1"]):not([data-pos="-2"]):not([data-pos="placeholder"]) {
    transform: translateX(-42vw) scale(0.6);
}
.carousel__item:not([data-pos^="-"]):not([data-pos="0"]):not([data-pos="1"]):not([data-pos="2"]):not([data-pos="-1"]):not([data-pos="-2"]):not([data-pos="placeholder"]) {
    transform: translateX(42vw) scale(0.6);
}
.carousel__item[data-pos="0"] {
    z-index: 5;
    transform: translateX(16vw);
    box-shadow: none;
}

.carousel__item[data-pos="placeholder"] {
    z-index: 4;
    transform: translateX(16vw);
    width: 316px;
    height: 100%;
    box-shadow: none;
    background-color: #F9F9F9;
}
@media screen and (max-width: 991px) {
    .carousel__item[data-pos="placeholder"] {
        display: none;
    }
}

.carousel__item[data-pos="-1"],
.carousel__item[data-pos="1"] {
    opacity: 0.9;
    
}

.carousel__item[data-pos="-1"] {
    transform: translateX(-33vw) scale(0.75);
    z-index: 4;
}

.carousel__item[data-pos="1"] {
    transform: translateX(33vw) scale(0.75);
    z-index: 4;
}

.carousel__item[data-pos="-2"],
.carousel__item[data-pos="2"] {
    opacity: 0.7;
    
}




.carousel__item[data-pos="-2"] {
    transform: translateX(-39vw) scale(0.65);
    z-index: 3;
}

.carousel__item[data-pos="2"] {
    transform: translateX(39vw) scale(0.65);
    z-index: 3;
}

.hp-products-header {
    padding: 7px 0;

}
.hp-products-header .slider-more {
    font-size: 16px;
    font-weight: 500;
}
.hp-products-header .slider-more img {
    width: 11px;
    height: 11px;
    position: relative;
    display: inline-block;
    transform: rotate(180deg);
}
.hp-products-header .slider-more span {
    padding-left: 5px;
    position: relative;
    font-weight: 700;
}
.hp-products-header .slider-more a:hover {
    text-decoration: none;
}
.hp-products-header .slider-more span::before {
    content: '';
    height: 1px;
    background-color: black;
    bottom: 0;
    left: 0;
    width: 100%;
    position: absolute;
    display: block;
}
.hp-products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-content: center;
}

.hp-circles {
    padding-top: 17px;
}

@media screen and (max-width: 1024px) {
    .hp-products .slick-arrow, .hp-products::before {
        display: none !important;
    }
    .hp-products .brdr {
        box-shadow: 0 0 10px rgba(0,0,0,0.2);
    }
    .hp-products .proditem {
        padding: 5px;
    }
    .hp-products-header .slider-title { 
        font-size: 2.2rem;
    }
    .hp-products-header .slider-more span {
        display: none;
    }

    .hp-circles_item {
        padding: 5px;
    }
    .carousel {
        flex-wrap: wrap;
        height: auto;
    }
    .carousel__bullets {
        display: none;
    }
    .carousel__info {
        order: 10;
        flex-basis: 100%;
        display: block;
        width: 100%;
        left: auto;
        transform: none;
        position: relative;
    }
    .carousel__arrow {
        display: none;
    }
    .carousel__item[data-pos="0"] { 
        transform: scale(0.6);
    }
    .carousel__list {
        padding: 0;
        height: 390px;
    }
    .carousel__info .data-addToCartBlock {
        display: flex;
        justify-content: space-around;
    }
    .carousel__info .data-addToCartBlock .printBook { margin-top: 0;}
    .carousel__info .data-addToCartBlock .btn {
        padding: 7px 19px;
        background-position: 120px !important;
    }
    .carousel__item[data-pos="-1"],
.carousel__item[data-pos="1"] {
    opacity: 0.9;
    
}

.carousel__item[data-pos="-1"] {
    transform: translateX(-27vw) scale(0.4);
    z-index: 4;
}

.carousel__item[data-pos="1"] {
    transform: translateX(27vw) scale(0.4);
    z-index: 4;
}

.carousel__item[data-pos="-2"],
.carousel__item[data-pos="2"] {
    opacity: 0.7;
   
}

.carousel__item[data-pos="-2"] {
    transform: translateX(-39vw) scale(0.3);
    z-index: 3;
}

.carousel__item[data-pos="2"] {
    transform: translateX(39vw) scale(0.3);
    z-index: 3;
}
.carousel__item[data-pos^="-"]:not([data-pos="0"]):not([data-pos="1"]):not([data-pos="2"]):not([data-pos="-1"]):not([data-pos="-2"]):not([data-pos="placeholder"]) {
    transform: translateX(-42vw) scale(0.15);
}
.carousel__item:not([data-pos^="-"]):not([data-pos="0"]):not([data-pos="1"]):not([data-pos="2"]):not([data-pos="-1"]):not([data-pos="-2"]):not([data-pos="placeholder"]) {
    transform: translateX(42vw) scale(0.15);
}
}

/* Added by menachem to prevent link from side books on click 27/04/21 */
.carousel__item div.innerslide a{pointer-events:none;}
.carousel__item[data-pos="0"] div.innerslide a{pointer-events:all;}


@media screen and (max-width: 767px) {
    .hp-images_item {   flex-basis: 100%;   height: 100vw;    margin-top: 16px; max-height: 577px;  }
	  .carousel__list {
        padding: 0;
        height: 240px;
		  max-width: 100vw;
    overflow: hidden;
    }
	.carousel__item {height:240px;}
	  
}
