﻿/* HOME PRODUCTS V1 */

/*---------------------- MAIN PANEL -----------------*/
.S_Home_Products_Main {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    padding: 20px 20px 20px 20px;
    background-color: transparent;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    clear: both;
}

.S_Home_Products_Body {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    max-width: 1500px;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    clear: both;
}

.S_Home_Products_Clear {
    width: 100%;
    clear: both;
}
/*---------------------- MAIN PANEL -----------------*/


/*---------------------- ITEM MAIN ------------------*/
.S_Home_Products_Item_Main {
    position: relative;
    display: block;
    float: right;
    width: 25.0%;
    height: auto;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.S_Home_Products_Item_Body {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    padding: 0px;
    cursor: pointer;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
/*---------------------- ITEM MAIN ------------------*/


/*----------------------- ITEM PIC ------------------*/
.S_Home_Products_Item_Pic_Main {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    padding-top: 100%;
    clear: both;
    z-index: 1;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.S_Home_Products_Item_Pic_Body {
    position: absolute;
    display: block;
    width: auto;
    height: auto;
    left: 5px;
    right: 5px;
    top: 5px;
    bottom: 5px;
    background-color: #CCCCCC;
    border-radius: 15px;
    z-index: 10;
    overflow: hidden;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.S_Home_Products_Item_Pic_File {
    position: absolute;
    display: block;
    width: 100%;
    height: auto;
    left: 50%;
    top: 50%;
    z-index: 10;
    -moz-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    -o-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

.S_Home_Products_Item_Pic_Over {
    position: absolute;
    display: block;
    width: auto;
    height: auto;
    left: 15px;
    right: 15px;
    top: 15px;
    bottom: 15px;
    background-color: rgba(0,0,0,0.0);
    box-shadow: 0px 0px 0px 25px rgba(255,255,255,0.3);
    border-radius: 15px;
    z-index: 20;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -moz-transition: all 0.6s cubic-bezier(0.000, 0.580, 0.320, 0.995);
    -ms-transition: all 0.6s cubic-bezier(0.000, 0.580, 0.320, 0.995);
    -o-transition: all 0.6s cubic-bezier(0.000, 0.580, 0.320, 0.995);
    -webkit-transition: all 0.6s cubic-bezier(0.000, 0.580, 0.320, 0.995);
    transition: all 0.6s cubic-bezier(0.000, 0.580, 0.320, 0.995);
}

.S_Home_Products_Item_Body:hover .S_Home_Products_Item_Pic_Over {
    left: 18px;
    right: 18px;
    top: 18px;
    bottom: 18px;
    background-color: rgba(0,0,0,0.15);
    box-shadow: 0px 0px 0px 28px rgba(255,255,255,0.3);
}
/*----------------------- ITEM PIC ------------------*/


/*---------------------- ITEM TEXT ------------------*/
.S_Home_Products_Item_Text_Main {
    position: absolute;
    display: table;
    width: 100%;
    height: auto;
    left: 0px;
    bottom: 0px;
    padding: 30px 0px 30px 0px;
    font-family: 'Peyda';
    font-style: normal;
    font-weight: normal;
    font-size: 1.0em;
    text-align: center;
    line-height: 20px;
    color: rgba(255,255,255,1.0);
    z-index: 100;
    filter: alpha(opacity=0);
    opacity: 0;
    background: -webkit-linear-gradient(top, rgba(0,0,0,0.0), rgba(0,0,0,0.9));
    background: -o-linear-gradient(bottom, rgba(0,0,0,0.0), rgba(0,0,0,0.9));
    background: -moz-linear-gradient(bottom, rgba(0,0,0,0.0), rgba(0,0,0,0.9));
    background: linear-gradient(to bottom, rgba(0,0,0,0.0), rgba(0,0,0,0.9));
    -moz-transition: all 0.6s cubic-bezier(0.000, 0.580, 0.320, 0.995);
    -ms-transition: all 0.6s cubic-bezier(0.000, 0.580, 0.320, 0.995);
    -o-transition: all 0.6s cubic-bezier(0.000, 0.580, 0.320, 0.995);
    -webkit-transition: all 0.6s cubic-bezier(0.000, 0.580, 0.320, 0.995);
    transition: all 0.6s cubic-bezier(0.000, 0.580, 0.320, 0.995);
}
.S_Home_Products_Item_Body:hover .S_Home_Products_Item_Text_Main {
    filter: alpha(opacity=100);
    opacity: 1;
}

.S_Home_Products_Item_Text_Title {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    padding: 10px;
    /*border-bottom: solid 1px rgba(180,30,50,1.0);*/
    font-weight: 500;
    font-size: 1.15em;
    text-align: center;
    direction: rtl;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.S_Home_Products_Item_Text_Desc {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    padding-top: 5px;
    font-weight: normal;
    font-size: 0.9em;
    text-align: right;
    direction: rtl;
}

.S_Home_Products_Item_Text_Key_Main {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    padding: 0px 5px 0px 5px;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.S_Home_Products_Item_Text_Key {
    position: relative;
    display: table;
    float: left;
    width: auto;
    height: auto;
    min-width: 70px;
    padding: 7px 15px 7px 15px;
    background-color: transparent;
    border: solid 1px #000000;
    border-radius: 5px;
    font-family: 'Peyda';
    font-style: normal;
    font-weight: 500;
    font-size: 0.9em;
    text-align: center;
    color: #000000;
    direction: rtl;
    cursor: pointer;
    clear: both;
}
/*---------------------- ITEM TEXT ------------------*/





@media screen and (min-width:0px) and (max-width:1000px) {
    .S_Home_Products_Item_Main {
        width: 50.0%;
    }
}

@media screen and (min-width:0px) and (max-width:800px) {
    /*
    .S_Home_Products_Item_Main {
         float: none;
        width: 100.0%;
        clear: both;
    }
    */
}

@media screen and (min-width:0px) and (max-width:600px) {
    .S_Home_Products_Main {
        padding: 20px 10px 20px 10px;
    }
}
