/* ------------- common ------------- */

.product-reviews-module {
    font-size: 14px;
    margin-top: 20px;
    color: #00171F;
    font-weight: 400;
}

.product-reviews-module .product-reviews-overlay {
    position: absolute;
    background-color: white;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 9999;
    cursor: progress;
    opacity: 0.5;
}

.product-reviews-module .product-reviews-success {
    text-align: center;
    padding:20px;
    font-size: 15px;
    font-weight: 400;
}

.product-reviews-module .product-reviews-error {
    color:#FF4243;
    font-size: 12px;
}
.product-reviews-module .product-reviews-error-input {
    border-color: #FF4243 !important;
}
.product-reviews-module .product-reviews-error-input + .product-reviews-error {
    margin-left: 6px;
}
.product-reviews-module .product-reviews-remove {
   position:relative;
   width: 24px;
   height: 24px;
   display: flex;
   background-color: #f15353;
   justify-content: center;
   align-items: center;
}
.product-reviews-module .product-reviews-remove:after {
    mask-image: url('/catalog/view/javascript/product_reviews/images/remove-icon.svg');
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: 14px 14px;
    content:"";
    display:block;
    background-color: white;
    width: 100%;
    height: 100%;
    cursor:pointer;
}
.product-reviews-module .product-reviews-remove:hover {
    background-color: #bb0808;
}
.product-reviews-module .product-reviews-star {
    width: 17px;
    height: 17px;
    fill: #ffa900;
}

.product-reviews-module .product-reviews-star-disabled {
    fill: #cccccc;
}

.product-reviews-module .product-reviews-button {
    padding: 13px 25px;
    font-size: 14px;
    background-color: #5E90F4;
    color: white;
    white-space: nowrap;
    border-radius: 8px;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.product-reviews-module .product-reviews-button[disabled] {cursor: default;opacity: 0.5;}

.product-reviews-module .product-reviews-button:hover {
    background-color: rgb(2 61 106);
}

.product-reviews-module .product-reviews-button-light {
    padding: 13px 25px;
    font-size: 14px;
    background-color: white;
    border: 1px solid #5E90F4;
    color: #5E90F4;
    white-space: nowrap;
    border-radius: 8px;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.product-reviews-module .product-reviews-button-light:hover {
    background-color:#F2F2F2;
}

.product-reviews-module .product-reviews-button-text {
    background: #FFFFFF;
    color: #025BAA;
    border-color: #EEEEEE;
    fill: #025BAA;
}
.product-reviews-module .product-reviews-button-text:hover {
    background: #FFFFFF;
    color: #656C7D;
    border-color: #FFFFFF;
    fill: #656C7D;
}

.product-reviews-module  .product-reviews-checkbox input[type="checkbox"]{
    position: relative;
    width: 20px;
    height: 20px;
    border: none;
    outline: none;
    z-index: 999;
    margin-right: 10px;
}
.product-reviews-module  .product-reviews-checkbox input[type="checkbox"]:after {
    display:block;
    content:"";
    background-color: white;
    background-image: url(images/icons/checkbox.svg);
    background-position: center;
    background-repeat: no-repeat;
    border: none;
    width: 100%;
    height: 100%;
    outline: none;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 99;
}


.product-reviews-module  .product-reviews-checkbox input[type="checkbox"]:checked:after{
    background-image:url(images/icons/checkbox-active.svg);
}

.product-reviews-module .product-reviews-checkbox span {
    width: calc(100% - 30px);
}

.product-reviews-module .product-reviews-link-off,
.product-reviews-module .product-reviews-disabled {
    pointer-events: none;
    cursor: default;
}

.product-reviews-module .product-reviews-drag {
    overflow-x: auto;
    white-space: nowrap;
    transition: all .2s;
    will-change: transform;
    user-select: none;
    cursor: pointer;
    padding-bottom: 5px;
    text-align: left;
    margin-bottom: 10px;
}

.product-reviews-module .product-reviews-drag > div {
    display: inline-block;
}

.product-reviews-module .product-reviews-drag::-webkit-scrollbar {
    height: 4px;
}

.product-reviews-module .product-reviews-drag::-webkit-scrollbar-track {
    background: #eaeaea;
    border-radius: 20px;
}

.product-reviews-module .product-reviews-drag::-webkit-scrollbar-thumb {
    background-color: #a5a5a5;
    border-radius: 20px;
    border: 0;
}

.product-reviews-module .product-reviews-drag::-webkit-scrollbar-thumb:hover {
    background: #7b7b7b;
}


.product-reviews-module .product-reviews-media {
    margin: 0;
    background-color: white;
    margin-top: 12px;
    padding: 10px 15px;
    border-radius: 6px;
}

.product-reviews-module .product-reviews-media-title {
    padding: 10px 0;
    font-size: 15px;
    line-height: 20px;
    margin-bottom: 0 !important;
    font-weight: 500;
    color: #272323;
}

.product-reviews-module .product-reviews-media-thumbnail {
    position: relative;
    border: none;
    overflow: hidden;
    padding: 0;
    display: inline-block;
    margin: 5px;
    box-shadow: 1px 1px 5px #00000042;
    height: 70px;
    width: 70px;
    border-radius: 6px;
}
.product-reviews-module .product-reviews-media-thumbnail-active {
    box-shadow: 0px 1px 6px 2px black;
}
.product-reviews-module .product-reviews-media-thumbnail-video {
    width: 120px;
}
.product-reviews-module .product-reviews-media-thumbnail img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.product-reviews-module .product-reviews-media-thumbnail .product-reviews-image-crop {
    position: absolute;
    max-width: 500px !important;
    top: -40%;
    left: -40%;
    height: 126px !important;
    width: 126px !important;
}

.product-reviews-module .product-reviews-media-thumbnail:hover img, 
.product-reviews-module .product-reviews-media-video-placeholder:hover svg {
    transform: scale(1.1);
    transition: all .1s ease-in-out;
}

.product-reviews-module .product-reviews-media-video-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 6px;
}
.product-reviews-module .product-reviews-media-video-placeholder svg {
    width: 34px;
    height: 34px;
    position: absolute;
    left: 50%;
    margin-left: -17px;
    top: 50%;
    margin-top: -17px;
    transition: all .2s ease-in-out;
    color: white;
}

.product-reviews-module .product-reviews-media-video-placeholder video {
    width: 100%;
    height: 100%;
    min-width: 100%;
    object-fit: cover;
}

.product-reviews-module .product-reviews-media-youtube-icon {
    position: absolute;
    left: calc(50% - 15px);
    height: 100%;
    width: 30px;
}

@-webkit-keyframes fade {
    from {
        opacity: .4
    }
    to {
        opacity: 1
    }
}

@keyframes fade {
    from {
        opacity: .4
    }
    to {
        opacity: 1
    }
}


/* ------------- modal ------------- */
.product-reviews-module .modal-dialog {
    max-width: 500px;
}
.product-reviews-module .modal-content {
    background-color: white;
    border-color: #d3d3d3;
    padding: 24px;
    border-radius: 8px;
}
.product-reviews-module .modal-header {
    position: relative;
    padding: 0;
    border: none;
    font-size: 16px;
}
.product-reviews-module .modal-header.with-title {
    margin-bottom: 27px;
}
.product-reviews-module .modal-title {
    font-size: 20px;
}
.product-reviews-module .modal-close {
    background-color: #F4F4F4;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: block;
    padding: 0;
    position: absolute;
    right: -20px;
    top: -20px;
    z-index: 999;
}
.product-reviews-module .modal-close:after {
    content:"";
    display:block;
    background-image:url('images/icons/close.svg');
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px;
}
.product-reviews-module .modal-close:hover {
    background-color: #cccccc;
}
.product-reviews-module .with-title .modal-close {
    right: 0;
    top: -4px;
}
.product-reviews-module .modal-body {
    padding: 0;
}

.product-reviews-module.product-reviews-modal-notice-success .modal-body,
.product-reviews-module.product-reviews-modal-notice-error .modal-body {
    text-align: center;
    padding: 0;
}