﻿

.div-right {
    width: 20%;
    min-height: 400px;
    float: right;
    border-left: solid 1px #808080;
    box-sizing: border-box;
}

.div-left {
    width: 79%;
    min-height: 1000px;
    overflow: hidden;
    float: left;
}

.div-left > div:first-of-type {
    background-color: #ffffff;
    border-radius: 5px;
    min-height: 30px;
    margin-bottom: 7px;
    overflow: hidden;
    color: #000000;
    padding: 7px;
    box-sizing:border-box;
}
    /*---------گروه محصولات------------*/
 .productgroup {
    display: block;
    height: 37px;
    width: 90%;
    text-align: center;
    cursor: pointer;
    color: black;
    padding-top: 1px;
    padding-bottom: 5px;
    margin-top: 3px;
    background-color: #ffffff;
    border-radius: 5px;
    border: solid 1px #4c0124;
    box-sizing: border-box;
}

.productsubgroup {
    text-align: right;
    padding-right: 5%;
    background-color: transparent !important;
    color: #ffffff !important;
    height: 33px !important;
    border-bottom: solid 1px #888888 !important;
    border-radius: unset !important;
    margin-top: 0px!important;
    
} 
.productgroup span {
    display: none;
}
.productgroup:hover {
    background-color: #f0b5b5;
    color: #680337;
}

.pselect {
    background-color: #f7c35e!important;
    color: #880442!important;
} 
.productgroup img {
    float: right;
    height: 25px;
    max-width: 60px;
    margin-right: 10px;
    border-radius: 5px;
    margin-top: 4px;
}

/*----------------نمایش گروه بندی محصول-----------------*/

/*.a-product {

    display:block;
    width:23.5%;
    margin:0.4%;
    background-color:#fbd298;   
   
    display:inline-block;
    max-height:380px;
    text-align:center;
    border-radius:5px;
    min-height:200px;
}
.a-product:hover {
    background-color:#037228;   
}

.a-product:hover h5 {
    color:#ffffff;
}
.a-product:hover img {
    -webkit-transform: scale(0.9);
    -moz-transform: scale(0.9);
    -ms-transform: scale(0.9);
    -o-transform: scale(0.9);
    transform: scale(0.9);
}
.a-product img {
    width:100%;
}
.a-product h5 {
    height:30px;
    margin:0px;
    text-align:center;
    color:#013006;
    font-size:14px;
    margin-bottom:5px;
}*/

/*---------------------------------فریم محصولات----------------------------------------*/
.sortcmd {
    display: inline-block;
    height: 30px;
    width: 20%;
    text-align: center;
    border: solid 1px #808080;
    border-radius: 4px;
    background-color: #f4f4f4;
    font-size: 11px;
    box-sizing:border-box;
    padding-right:5px;
    margin-bottom:3px;
    margin-left:0.25%;
    margin-right:0px;
}

.sortcmd i{
    font-size:150%;
}

.sortcmd:hover {
    background-color: #70043e;
    color: #ffffff;
}

.fndtxtproduct {
    width: 40.5%;
    height: 30px;
    border: solid 1px #808080;
    text-align: right;
    padding-right: 40px;
    background-color: #f3f3f3;
    border-radius: 4px;
    background-image: url('../Images/find.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 98% center;
    box-sizing:border-box;
}

.froupproduct {
    width: 40%;
    height: 29px;
    border: solid 1px #808080;
    text-align: right;
    padding-right: 30px;
    background-color: #f3f3f3;
    border-radius: 4px;
    box-sizing: border-box;
    display:none;
}


.div-product {
    display: inline-block;
    /*width: 32%;*/
    width: 21vw;
    height: 25vw;
    background-color: #ffffff;
    /*height: 350px;*/
    overflow: hidden;
    margin-top: 0px;
    margin-right: 0.6vw;
    border-radius: 7px;
    border: solid 3px #ffffff;
    transition: transform 1s, filter 2s ease-in-out;
    position: relative;
    box-sizing: border-box;
    cursor: pointer;
    text-align: center;
}

.div-product:after {
    /*content: "";
    display: block;
    padding-bottom: 150%;*/
}


.div-product::after {
    background-color: #ffc764;
    content: '';
    height: 10px;
    left: 0;
    position: absolute;
    width: 0%;
    bottom: 0px;
    -webkit-transition: all 0.45s ease;
    transition: all 0.45s ease;
}

.div-product:hover::after {
    width: 100%;
}


    .div-product:hover {
        border-color: #ffc764;
        background-color: #ffc764;
    }

    .div-product img {
        width: 100%;
        border-radius: 4px;
        
    }

    .div-product sub {
        position: absolute;
        top: -4px;
        left: 5px;
        display: block;
        height: 45px;
        width: 50px;
        background-image: url('../Images/tag.png');
        background-repeat: no-repeat;
        background-position: center top;
        background-size: 90%;
        color: #ffd800;
        font-size: 16px;
        text-align: center;
        padding-top: 5px;
    }

    .div-product p {
        font-weight: normal;
        color: #c50e6c;
        font-size: 11px;
    }

        .div-product p span {
            color: #ffffff;
            font-size: 11px;
        }

    .div-product > div {
        position: absolute;
        bottom: 0;
        height: 79px;
        padding-right: 10px;
        width: 100%;
        background-color: rgba(0, 0, 0, 1);
        box-sizing: border-box;
        margin: 0px auto;
        border-radius: 4px;
    }

    .div-product > div label {
        color: #fdaf4b;
       display:block;
       
    }

    .div-product b {
        position: absolute;
        top: 0;
        right: 10px;
        border-radius: 50px;
        background-color: #c50707;
        display: block;
        width: 60px;
        height: 48px;
        font-size: 9px;
        text-align: center;
        vertical-align: central;
        padding-top: 12px;
    }

    .div-product > div label, .div-product > div p {
        text-align: right;
    }

    .div-product > div a {
        border: solid 1px #9d9d9d;
        background-color: #70043e;
        color: #ffffff;
        padding-right: 5px;
        padding-left: 5px;
        text-align: center;
        border-radius: 5px;
        position: absolute;
        left: 20px;
        top: 30px;
    }

    .div-product > div a:hover {
        background-color: #fcd25f;
        color: #000000;
    }


/*----------------------------------------------------------------*/

.a-product-cmd, .a-productg-cmd {
    width: 180px;
    height: 30px;
    display: inline-block;
    text-align: center;
    padding-bottom: 5px;
    background-color: #3f7b02;
    color: #f3f3f3;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    border-radius: 5px;
    margin-right: 3px;
    margin-left: 3px;
}

.a-productg-cmd {
    background-color: #bb7d04!important;
}

.a-product-addtobasket {
    background: -webkit-linear-gradient(top, #0c0352 0%, #0c0352 40%, #040023 100%);
    background: linear-gradient(to bottom, #0c0352 0%, #0c0352 40%, #040023 100%);
}

.a-product-addtoselection {
    background: -webkit-linear-gradient(top, #05650f 0%, #05650f 40%, #013006 100%);
    background: linear-gradient(to bottom,  #05650f 0%, #05650f 40%, #013006 100%);
}

.a-product-addtowish {
    background: -webkit-linear-gradient(top,  #fbca34 0%, #fbca34 40%, #da8f00 100%);
    background: linear-gradient(to bottom, #fbca34 0%, #fbca34 40%, #da8f00 100%);

}


.div-product-details {
    width: 65%;
    float: right;
    min-height: 600px;
    position: relative;
}

.a-product-none {
    width: 180px;
    height: 30px;
    display: inline-block;
    text-align: center;
    padding-bottom: 5px;
    color: #f00;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    border-radius: 5px;
    border: solid 1px #840084;
    cursor: none;
}
.a-product-cmd-selected
{
    width: 150px;
    height: 30px;
    display: inline-block;
    text-align: center;
    padding-top: 5px;
    background-color:transparent;
    color: green;
    border-radius:5px;
}
.a-product-cmd span, .a-productg-cmd span {
    display: none;
}
.a-product-cmd:hover, .a-productg-cmd:hover {
    color: #f3c813;
}

/*=========== zoom gallery ==================*/

#div-product-gallery
{
    border: 1px solid #999999;
    margin-right: 10px;
    padding: 5px;
    min-height: 500px;
    width: 400px;
    background-color: rgba(0, 0, 0, 0.25);
    overflow: hidden;
    clear: left;
    position:absolute;
    top:10px;
    left:0px;
    border-radius:5px;
    box-sizing:border-box;

}

#div-product-gallery div {
    text-align: center;
    overflow: hidden;
    min-height: 300px;
}

#div-product-gallery label {
    background-position: left center;
    position: absolute;
    z-index: 1003;
    width: 70px;
    height: 65px;
    font-size: 20px;
    color: #fbf9f9;
    background-image: url('../Images/product-discont.png');
    background-repeat: no-repeat;
    margin-right: 330px;
    margin-top: -5px;
    padding-top: 5px;
    padding-left: 5px;
    text-align: left;
}
#div-product-gallery div img
{
    width: 100%;
    height: auto;
    margin-right:auto;
    margin-left:auto;
}

#div-product-gallery a
{
    border: 1px solid transparent;
    margin: 1px; 
    margin-left:4px;
    display: inline-block;
    width: 50px;
    height: 50px;
    background-color: #FFFFFF;
    cursor:pointer;
    opacity:0.5;
    border-radius:4px;
    overflow:hidden;
   
}

#div-product-gallery a:hover {
    opacity: 1;
    border: 1px solid #fbca34;
}

#div-product-gallery span
{
    display:none;
}
#div-product-gallery a img
{
    width: 100%;
    height: 100%;
}
/*==========================================*/

  


               