
/* General main class of product page */
@media screen and (max-width: 767px) {
    .main {
        margin-top: 42px;
        padding: 0;
    }
}

.main {
    background-color: white;
    padding: 0;
    position: relative;
}

/* Top part of product page */
#offer {
    float: right;
    width: 100%;
    background: rgb(255, 206, 252) right;
    padding: 20px 5px 20px 20px;
    overflow: hidden;
}

.discount {
    width: 180px;
    height: 28px;
    display: block;
    float: left;
    border-radius: 4px;
    border: 1px solid gray;
    overflow: hidden;
}

.discount .right {
    width: 105px;
    float: right;
    display: inline-block;
    height: 100%;
    background: lightsalmon;
    text-align: center;
    line-height: 1.6;
}

.discount .right .number {
    font-size: 10pt;
    color: #fff;
    text-align: center;
}

.discount .right .toman {
    font-size: 12pt;
    color: #fff;
    text-align: center;
}

.discount .left {
    width: 73px;
    float: left;
    display: inline-block;
    height: 100%;
    background: greenyellow;
    text-align: center;
    line-height: 2;
}

#offer .timer {
    height: 30px;
}

#offer img {
    margin-top: 5px;
    display: inline-block;
    background: transparent;
    margin-right: -10px;
}

#details {
}

/* Right part of product page */
#right_details {
    padding-top: 30px;
}

#right_details #icons {
    width: 100%;
    text-align: center;
    padding: 10px;
}

#right_details #icons > span {
    font-size: 20px;
    font-weight: bolder;
    margin: 10px;
    color: #265a88;
}

#right_details #icons > span:hover {
    cursor: pointer;
}

#gallery img {
    display: block;
    margin: 0 auto;
}

#gallery ul {
    float: right;
    width: 100%;
    margin-top: 10px;
}

#gallery li {
    display: inline-block;
    float: left;
    padding: 10px;
    text-align: center;
    transition: all 0.5s linear;
    border: 2px solid #fff;
    border-radius: 20px;
}

#gallery li:hover {
    cursor: pointer;
    border-color: #265a88;
}

#more > span {
    font-size: 7vh;
    line-height: 2;
}

#more:hover {
    border-color: white !important;
}

#more:hover > span {
    color: #23527c;
}

/* Left part of product page */
#left_details {
}

#left_details .panel-primary {
    margin: 10px;
}

.stars {
    float: left;
}

.stars > span {
    color: gold;
}

.stars > span:first-child {
    color: white;
}

#left_details .panel-body .pull-left {
    font-family: "B Yekan";
}

#left_details > #right .colors {
    width: 100%;
    float: right;
    padding: 0;
}

#left_details > #right .colors > li {
    display: inline-block;
    float: right;
    margin: 6px;
    border: 1px solid #c7ddef;
    padding: 10px 40px 10px 10px;
    border-radius: 10px;
    position: relative;
    cursor: pointer;
}

#left_details > #right .colors .circle {
    width: 17px;
    height: 17px;
    display: inline-block;
    border-radius: 50%;
    right: 10px;
    position: absolute;
}

.colors > li:nth-child(1) > .circle {
    background-color: black;
}

.colors > li:nth-child(1) > .circle > i {
    color: #fff;
}

.colors > li:nth-child(2) > .circle {
    background-color: white;
    border: 1px solid black;
}

.colors > li:nth-child(3) > .circle {
    background-color: silver;
}

#left_details > #right > #select_list {
    width: 100%;
    border: 1px solid #23527c;
    position: relative;
    background-color: rgba(209, 231, 249, 0.56);
    border-radius: 5px;
    cursor: pointer;
}

#select_list > span {
    line-height: 2.5;
    margin-right: 35px;
}

#select_list::before {
    content: ' ';
    width: 23px;
    height: 23px;
    display: block;
    position: absolute;
    right: 3px;
    top: 8px;
    background: url("../images/slices.png") no-repeat -138px -79px;

}

#select_list::after {
    content: ' ';
    width: 32px;
    height: 17px;
    display: block;
    position: absolute;
    left: 3px;
    top: 12px;
    background: url("../images/slices.png") no-repeat -31px -461px;
}

#select_list > ul {
    padding: 0;
    background-color: white;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    margin-bottom: 0;
    display: none;
}

#select_list > ul > li {
    font-size: 14px;
    padding: 5px 10px;
}

#select_list > ul > li:hover {
    cursor: pointer;
    background-color: #ebebeb;
}

#price {
    float: right;
    width: 100%;
    padding: 5px;
    margin-top: 20px;
}

#price > span:first-child {
    line-height: 2;
    font-weight: bold;
}

#display_for_you {
    float: right;
    width: 100%;
    padding: 5px;
    margin-top: 20px;
}

#display_for_you > span:first-child {
    margin-left: 30px;
    vertical-align: sub;
}

#compare {
    float: right;
    width: 100%;
    margin-top: 50px;
    margin-right: 40px;
}

#compare > button {
    margin: 5px;
}

#compare > button:first-child > i {
    margin-left: 10px;
    vertical-align: sub;
}

#services {
    border-top: 2px dashed #c7ddef;
    padding: 10px 0 8px 0;
    margin-top: 10px;
    background-color: antiquewhite;
    margin-bottom: 5px;
    border-radius: 4px;
    box-shadow: 0 5px 3px rgba(0, 0, 0, 0.3);
}

@media screen and (max-width: 767px) {
    #services > ul > li {
        margin-top: 20px;
    }

    #gift {
        margin-top: 10px !important;
    }
}

.services_icons {
    vertical-align: middle;
    margin-right: 5px;
}

#left_details > #left > .list-unstyled {
    margin-top: 30px;
}

.glyphicon-plus {
    margin-right: 10px;
    vertical-align: sub;
}

#left_details > #left > .list-unstyled > li {
    margin-bottom: 20px;
}

#left_details > #left > .list-unstyled > li > span {
    margin-left: 10px;
}

#left_details > #left > #gift {
    margin-top: 120px;
    width: 80%;
    text-align: center;
    border-bottom: 1px solid black;
    padding-bottom: 20px;
}

#left_details > #left > #gift > span:first-child {
    margin-left: 20px;
    vertical-align: sub;
}

#left_details > #left > .text-center {
    margin-top: 20px;
    width: 80%;
}

#introduction {
    margin: 0;
    padding: 10px;
    position: relative;

}

#introduction > h4 {
    margin-right: 30px;
    border-bottom: 1px solid blueviolet;
    width: 150px;
    padding-bottom: 10px;
}

#introduction > p {
    width: 100%;
    padding: 10px 40px;
    text-align: justify;
    max-height: 140px;
    font-size: 16px;
    overflow: hidden;
    margin-bottom: 0;
}

#introduction>.btn-block {

    z-index: 99999;

}

#introduction > p.active {

    max-height: unset !important;
}

.Scroll-Slider {
    float: right;

    margin-top: 10px;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    padding: 0;
}

.slider-content {
    float: right;
    padding: 0;
}

.prev {
    margin: 0;
    padding: 10px;
    position: absolute;
    right: 10px;
    top: 30%;
    z-index: 6;
}
.slider-content .main {
    margin: 0;
    z-index: 0;
    overflow: hidden;
    padding: 0 8.5% 0 0;
}
.slider-content .main > ul {
    padding: 0;
    height: 230px;
    margin: 0;
    overflow: hidden;
    width: 1300px;
}
.slider-content .main > ul > li {
    padding: 0;
    float: right;
    width: 17%;
}
.slider-content .main > ul > li > a {
    display: block;
    text-align: center;
}
.next {
    margin: 0;
    padding: 10px;
    position: absolute;
    left: 10px;
    top: 30%;
    z-index: 6;
}
.prev span, .next span {
    display: inline-block;
    font-size: 50px;
    color: #a7a7e9;
    opacity: 0.8;
    cursor: pointer;
}
.tab{
    margin-top: 30px;
    display: inline-block;
    width: 98%;
    text-align: center;
    background-color: rgb(166, 225, 236);
    margin-bottom: 0;
    padding-left: 0 !important;
    margin-left: 0 !important;
}
.tab_item{
display: inline-block;
    padding: 10px 37px 10px 10px;
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0 0 0;
    cursor: pointer;
    border-left: 1px solid #898989;
    position: relative;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.tab_item::before{
    background: url("../images/slices.png") no-repeat;
    width: 30px;
    height: 26px;
    content:' ';
    display: block;
    position: absolute;
    right: 3px;
    top:13px;
}
.tab_item.active{
    background-color: lightgoldenrodyellow;
    box-shadow: 0 -4px 4px rgba(0,0,0,0.2);
    border-top:2px solid blue;

}
.tab_item:hover{transition: color 0.5s linear;color: #2b542c;}
.tab_child{width: 100%;float: right;background: lightgoldenrodyellow;}
.tab_child>section{padding: 20px;float: right;width: 100%;display: none;}
.tab_child>section:first-child{display: block;}
/* کدهای مربوط به آیکون های تب بندی */
.tab .tab_item:nth-child(1)::before{background-position:-105px -266px;}
.tab .tab_item:nth-child(2)::before{background-position:-315px -266px;}
.tab .tab_item:nth-child(3)::before{background-position:-261px -266px;}
.tab .tab_item:nth-child(4)::before{background-position:-210px -266px;}
.tab .tab_item.active:nth-child(1)::before{background-position:-105px -308px;}
.tab .tab_item.active:nth-child(2)::before{background-position:-315px -308px;}
.tab .tab_item.active:nth-child(3)::before{background-position:-261px -308px;}
.tab .tab_item.active:nth-child(4)::before{background-position:-210px -308px;}
@media screen and (max-width: 570px) {
    .tab_item{width: 100%;}
    .tab_item::before{right: 30%;}
}
#basket_icon{font-size: 35px;
    margin-top: 8px;}
/* مربوط به تب مشخصات فنی */
#second_tab .part .row{margin: 0;padding-bottom: 5px;}
#second_tab .part .row>.right{background: #efefef;padding: 7px;font-size: 18px;font-weight: bolder;}
#second_tab .part .row>.left{background-color: #c7ddef;padding: 10px;}
/* بخش مربوط به نظرات کاربران */
#third_tab #comments_result{float: right;}
#third_tab #result{padding: 10px;}
#third_tab .row{margin: 0;padding-bottom: 5px;width: 100%;}
#third_tab #result .row>.title{display: inline;}
#third_tab #result .row>ul{float: left;margin-bottom: 0;margin-top: 4px;}
#third_tab #result .row>ul>li{display: inline-block;width: 65px;
    height: 10px;border-left: 1px solid whitesmoke;background-color: #c7ddef;}
#third_tab #result .row>ul>li>span{display: block;width: 50%;height: 10px;}
#third_tab #send_comment{padding: 10px;}
#third_tab #send_comment>p{margin-bottom: 0;margin-top: 10px;}
#third_tab #send_comment>p:nth-child(2){margin-top: 30px;}
#third_tab #send_comment>.btn-primary{margin: 20px 20px 0 0;}
#third_tab #comments{margin-top: 5px;float: right;width: 100%;}
#comments>section{display: block !important;}
#comments header{font-size: 12px;padding: 10px;}
#comments header>.comment-user>span:nth-child(2){float: right;font-size: 14px;
    padding-top: 5px;}
#comments header>.comment-user>span>i{vertical-align: middle;
    margin-right: 5px;margin-bottom: 5px;}
#comments header>.comment-user>span>i:hover{cursor: pointer;color: #dca7a7;}
#comments header>.comment-user>span>i:nth-child(2){padding-top: 5px;}
#comments header>.comment-user>span>b{margin: 5px;}
/* استایل دهی مربوط به تب پرسش و پاسخ */
#fourth_tab>h4{padding: 20px;}
#fourth_tab>textarea{width: 90%;margin: 0 auto;display: block;}
#fourth_tab>button{margin: 20px 0 0 55px;}
#fourth_tab>hr{margin-top: 60px;}
#fourth_tab .panel-heading .glyphicon-question-sign{margin-left: 10px;}

#fourth_tab .panel-default>.pull-left{margin-top: 12px;}
#fourth_tab .panel-default>.pull-left>span{margin-right: 10px;}
/* CSS for Gallery */
.modal-dialog{overflow-y: initial !important}
.modal-content{float: right;
    width: 100%;}
.modal-body{float: right;width: 100%;
    overflow-y: initial !important; }
.modal-body>.left{float: left;overflow-y: auto;height: 370px;}
.modal-body>.left>ul{
    float: left;}
.modal-body>.left>ul>li{text-align: center;display: inline-block;
    float: left;}
.modal-body>.left>ul>li>img{display: block;
    float: left;margin-left: 10px;cursor: pointer !important;}

.modal-body>.right{float: left;
    border-left: 1px solid #ccc;}
.modal-body>.right>img{max-width: 80%;}
@media screen and (max-width: 600px) {
    .modal-body>.left>ul{margin-left: 0%;}
}
.row{
    padding:0 !important;
}
}