#product {
    padding-bottom: 2em;
    background: rgb(201, 201, 201);
    background: linear-gradient(180deg, rgba(201, 201, 201, 1) 0%, rgba(213, 213, 213, 1) 70%, rgba(255, 255, 255, 1) 100%);
}

#product .vh100 {
    height: 100vh;
}

#product #image-container {
    background: orangered;
    position: absolute;
    right: 0;
    z-index: 1;
    height: 70vh;
    top: 245px;
    width: 50%;
    transform: perspective(400px) rotatey(-15deg);
}

/*-769px width*/
@media ( max-width: 769px ) {
    #product #image-container {
        width: 100%;
        top: 205px;
    }

    #product .detail {
        margin-top: 3em;
    }
}

#product .product-image {
    position: relative;
    z-index: 2;
    text-align: center;
}

#product .product-image img {
    max-height: 50vh;
    max-width: 100%;
}

#product .container {
    background: #fff;
    padding-top: 2em;
}


.product-table td {
    text-align: center;
    height: 50px;
    vertical-align: center;
}


.tabs {
    display: grid;
    list-style: none;
    width: 100%;
    padding: 0;
    margin: 0;
    grid-template-columns: repeat(5, 1fr);
}

/*-1000px width*/
@media ( max-width: 1000px ) {
    .tabs {
        grid-template-columns: repeat(2, 1fr);
    }
}

/*-600px width*/
@media ( max-width: 600px ) {
    .tabs {
        grid-template-columns: repeat(1, 1fr);
    }
}

.tabs li {
    text-align: center;
    background-color: #f6f6f6;
    padding: 15px 35px;
    border: 1px solid #ccc;
    cursor: pointer;
    font-size: 17px;

}

.tabs li.active{
    border: none;
    transition: 0.4s;
    border-bottom: 2px solid dodgerblue;
    position: relative;
    height: 75px;
    margin-bottom: -25px;
}


.tabs li:hover {
    /*border-radius: 7px 7px 0 0;*/
    transform: translateY(7px);
}

.tab-container {
    border: 1px solid #ccc;
    padding: 13px;
}

.tab-container > div {
    display: none;
}


.tab-container div.active {
    display: block;
}




.comment-containerx {
    position: relative;
    margin: 50px auto;
    overflow: hidden;
    direction: ltr;
    width: 850px;
}

.comment-containerx .meta {
    position: absolute;
    top: 10px;
    left: 10px;
}

.comment-containerx .meta .avatar {
    border-radius: 50%;
    width: 40px;
}

.comment-containerx .meta .name {
    margin-left: 5px;
    transform: translateY(-100px);
    display: inline-block;
    color: #2d69eb;
    transition: all 0.3s;
}

.comment-containerx .placeholder {
    position: absolute;
    top: 50%;
    font-size: 18px;
    color: #999999;
    left: 60px;
    margin-top: -15px;
}

.comment-containerx textarea {
    height: 70px;
    transition: all 0.3s;
    font-size: 18px;
    box-sizing: border-box;
    color: #ffffff;
}

.comment-containerx .btns {
    position: absolute;
    bottom: 10px;
    left: 10px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.comment-containerx.toggled .meta .name {
    transform: translateY(0);
}

.comment-containerx.toggled textarea {
    height: 200px;
    color: #444;
    padding-top: 60px;
    padding-bottom: 40px;
}

.comment-containerx.toggled .placeholder {
    display: none;
}

.comment-containerx.toggled .btns {
    opacity: 1;
    visibility: visible;
}


/** ====================
 * Lista de Comentarios
 =======================*/
.comments-container {
    margin: 35px auto 15px;
    max-width: 850px;
}

.comments-container h1 {
    font-size: 36px;
    color: #283035;
    font-weight: 400;
}

.comments-container h1 a {
    font-size: 18px;
    font-weight: 700;
}

.comments-list {
    margin-top: 30px;
    position: relative;
}

/**
 * Lineas / Detalles
 -----------------------*/
.comments-list:before {
    content: '';
    width: 2px;
    height: 100%;
    background: #c7cacb;
    position: absolute;
    left: 32px;
    top: 0;
}

.comments-list:after {
    content: '';
    position: absolute;
    background: #c7cacb;
    bottom: 0;
    left: 27px;
    width: 7px;
    height: 7px;
    border: 3px solid #dee1e3;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

.reply-list:before, .reply-list:after {
    display: none;
}

.reply-list li:before {
    content: '';
    width: 60px;
    height: 2px;
    background: #c7cacb;
    position: absolute;
    top: 25px;
    left: -55px;
}


.comments-list li {
    margin-bottom: 15px;
    display: block;
    position: relative;
}

.comments-list li:after {
    content: '';
    display: block;
    clear: both;
    height: 0;
    width: 0;
}

.reply-list {
    padding-left: 88px;
    clear: both;
    margin-top: 15px;
}

/**
 * Avatar
 ---------------------------*/
.comments-list .comment-avatar {
    width: 65px;
    height: 65px;
    position: relative;
    z-index: 99;
    float: left;
    border: 3px solid #FFF;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.comments-list .comment-avatar img {
    width: 100%;
    height: 100%;
}

.reply-list .comment-avatar {
    width: 50px;
    height: 50px;
}

.comment-main-level:after {
    content: '';
    width: 0;
    height: 0;
    display: block;
    clear: both;
}

/**
 * Caja del Comentario
 ---------------------------*/
.comments-list .comment-box {
    width: 680px;
    float: right;
    position: relative;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
}

.comments-list .comment-box:before, .comments-list .comment-box:after {
    content: '';
    height: 0;
    width: 0;
    position: absolute;
    display: block;
    border-width: 10px 12px 10px 0;
    border-style: solid;
    border-color: transparent #FCFCFC;
    top: 8px;
    left: -11px;
}

.comments-list .comment-box:before {
    border-width: 11px 13px 11px 0;
    border-color: transparent rgba(0, 0, 0, 0.05);
    left: -12px;
}

.reply-list .comment-box {
    width: 610px;
}

.comment-box .comment-head {
    background: #FCFCFC;
    padding: 10px 12px;
    border-bottom: 1px solid #E5E5E5;
    overflow: hidden;
    -webkit-border-radius: 4px 4px 0 0;
    -moz-border-radius: 4px 4px 0 0;
    border-radius: 4px 4px 0 0;
}

.comment-box .comment-head i {
    float: right;
    margin-left: 14px;
    position: relative;
    top: 2px;
    color: #A6A6A6;
    cursor: pointer;
    -webkit-transition: color 0.3s ease;
    -o-transition: color 0.3s ease;
    transition: color 0.3s ease;
}

.comment-box .comment-head i:hover {
    color: #03658c;
}

.comment-box .comment-name {
    color: #283035;
    font-size: 14px;
    font-weight: 700;
    float: left;
    margin-right: 10px;
}

.comment-box .comment-name a {
    color: #283035;
}

.comment-box .comment-head span {
    float: left;
    color: #999;
    font-size: 13px;
    position: relative;
    top: 1px;
}

.comment-box .comment-content {
    background: #FFF;
    padding: 12px;
    font-size: 15px;
    color: #595959;
    -webkit-border-radius: 0 0 4px 4px;
    -moz-border-radius: 0 0 4px 4px;
    border-radius: 0 0 4px 4px;
}

.comment-box .comment-name.by-author, .comment-box .comment-name.by-author a {
    color: #03658c;
}

.comment-box .comment-name.by-author:after {
    content: 'مدیر مجموعه';
    background: #03658c;
    color: #FFF;
    font-size: 12px;
    padding: 3px 5px;
    font-weight: 700;
    margin-left: 10px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    margin-right: 20px;
}

/** =====================
 * Responsive
 ========================*/
@media only screen and (max-width: 766px) {
    .comments-container {
        width: 480px;
    }

    .comments-list .comment-box {
        width: 390px;
    }

    .reply-list .comment-box {
        width: 320px;
    }
}

@keyframes chartjs-render-animation {
    from {
        opacity: .99
    }
    to {
        opacity: 1
    }
}

.chartjs-render-monitor {
    animation: chartjs-render-animation 1ms
}

.chartjs-size-monitor, .chartjs-size-monitor-expand, .chartjs-size-monitor-shrink {
    position: absolute;
    direction: ltr;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
    visibility: hidden;
    z-index: -1
}

.chartjs-size-monitor-expand > div {
    position: absolute;
    width: 1000000px;
    height: 1000000px;
    left: 0;
    top: 0
}

.chartjs-size-monitor-shrink > div {
    position: absolute;
    width: 200%;
    height: 200%;
    left: 0;
    top: 0
}


.star-rating {
    font-size: 0;
    position: relative;
    width: 92px;
    height: 18px;
    overflow: hidden;
    background-image: url('data:image/png;base64,[encoded data, 7700 characters]');
    background-size: contain;
    margin: 5px auto;
    text-align: left;
    float: left;
}

.star-rating__star {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 20%;
    height: 100%;
    opacity: 0;
    background-image: url('data:image/png;base64,[encoded data, 13852 characters]');
    background-size: contain;
}

.star-rating__star ~ .star-rating__star {
    width: 40%;
}

.star-rating__star ~ .star-rating__star ~ .star-rating__star {
    width: 60%;
}

.star-rating__star ~ .star-rating__star ~ .star-rating__star ~ .star-rating__star {
    width: 80%;
}

.star-rating__star ~ .star-rating__star ~ .star-rating__star ~ .star-rating__star ~ .star-rating__star {
    width: 100%;
}

.star-rating__input {
    -moz-appearance: none;
    -webkit-appearance: none;
    position: relative;
    z-index: 2;
    opacity: 0;
    display: inline-block;
    width: 20%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.star-rating__input:hover + i, .star-rating__input:checked + i {
    opacity: 1;
}

.star-rating:hover .current-rating {
    display: none;
}

.current-rating.current-rating--1 .star-rating__star, .current-rating.current-rating--1-5 .star-rating__star, .current-rating.current-rating--2 .star-rating__star, .current-rating.current-rating--2-5 .star-rating__star, .current-rating.current-rating--3 .star-rating__star, .current-rating.current-rating--3-5 .star-rating__star, .current-rating.current-rating--4 .star-rating__star, .current-rating.current-rating--4-5 .star-rating__star, .current-rating.current-rating--5 .star-rating__star {
    opacity: 1;
}

.current-rating.current-rating--1 .star-rating__star {
    width: 20%;
}

.current-rating.current-rating--1-5 .star-rating__star {
    width: 30%;
}

.current-rating.current-rating--2 .star-rating__star {
    width: 40%;
}

.current-rating.current-rating--2-5 .star-rating__star {
    width: 50%;
}

.current-rating.current-rating--3 .star-rating__star {
    width: 60%;
}

.current-rating.current-rating--3-5 .star-rating__star {
    width: 70%;
}

.current-rating.current-rating--4 .star-rating__star {
    width: 80%;
}

.current-rating.current-rating--4-5 .star-rating__star {
    width: 90%;
}

.current-rating.current-rating--5 .star-rating__star {
    width: 100%;
}



.color-pick {

}

.color-pick .color {
    display: inline-block;
    opacity: .75;
    margin-right: 4px;
    border-radius: 15px;
    border: 1px dotted silver;
}
.color-pick .color span {
    display: inline-block;
    mix-blend-mode: darken;
    font-size: 11px;
    padding-right: 4px;
    padding-left: 4px;
}

.color-pick .color .cl{
    float: left;
    min-width: 25px;
    height: 25px;
    display: inline-block;
    border-radius: 50%;
    position: relative;
}

.color-pick .color.active {
    opacity: 1;
    border: 1px solid black;
    position: relative;
    padding-right: 15px;
}

.color-pick .color.active .cl:after {
    content: '✓';
    right: 20%;
    top:5%;
    position: absolute;
    color: white;
    mix-blend-mode: difference;
}


.badge-inverse b{
    mix-blend-mode: difference;
}

.carousel-indicators button {
    position: relative;
    top: 45px;
    background: #aaa !important;
    border: 0 !important;
    width: 25px !important;
}

.carousel-indicators button.active {
    width: 45px !important;
    background: #000 !important;
}
#size .size{
    cursor: pointer;
    margin-right: 5px;
}
#size .size:before{
    content: 'سایز:';
}
#tab-detail table td:first-child{
    width: 25%;
}

.btn.order{
    padding: 4px 35px;
    font-weight: 900;
}
