﻿/* HOME EVENTS V1 */

/*---------------------- MAIN PANEL -----------------*/
.S_Home_Events_Main
{
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    padding: 20px 20px 20px 20px;
    background-color: #FFFFFF;
    -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_Events_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_Events_Clear
{
    width: 100%;
    clear: both;
}
/*---------------------- MAIN PANEL -----------------*/


/*---------------------- ITEM MAIN ------------------*/
.S_Home_Events_Main_L {
    position: absolute;
    display: block;
    width: 60%;
    height: auto;
    left: 0px;
    top: 0px;
    bottom: 0px;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    z-index: 1000;
}
.S_Home_Events_Main_R {
    position: relative;
    display: block;
    float: right;
    width: 40%;
    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_Events_Item, .S_Home_Events_Item_Sel {
    position: relative;
    display: block;
    width: auto;
    height: 33.333%;
    min-height: 50px;
    margin-left: 0px;
    margin-right: 10px;
    padding-bottom: 5px;
    margin-bottom: 2px;
    border-bottom: solid 1px #E0E0E0;
    background-color: rgba(0,70,150,0.0);
    border-radius: 10px;
    cursor: pointer;
    clear: both;
    -moz-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    -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_Events_Item:hover {
    background-color: rgba(0,70,150,0.1);
}
.S_Home_Events_Item_Sel {
    background-color: rgba(0,70,150,0.2);
}
.S_Home_Events_Item_Pic {
    position: absolute;
    display: block;
    right: 4px;
    top: 4px;
    bottom: 4px;
    aspect-ratio: 1/1;
    /*
    width: 80px;
    height: 80px;
    */
    border-radius: 0px;
    background-color: rgba(230,230,230,1.0);
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    z-index: 100;
}
/*---------------------- ITEM MAIN ------------------*/


/*----------------------- ITEM PIC ------------------*/
.S_Home_Events_Show_Pic_Main {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 5/3;
    /*padding-top: 90.0%;*/
    -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_Events_Show_Pic {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    border-radius: 0px;
    background-color: rgba(230,230,230,1.0);
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-background-size: contain;
    -moz-background-size: contain;
    -o-background-size: contain;
    background-size: contain;
}
/*----------------------- ITEM PIC ------------------*/


/*---------------------- ITEM TEXT ------------------*/
.S_Home_Events_Item_Text {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    padding: 5px 17% 5px 5px;
    font-family: 'IRANSans';
    font-weight: normal;
    font-size: 0.9em;
    text-align: right;
    color: #000000;
    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_Events_Item_Text .SDate {
        color: rgba(0,70,150,1.0);
        font-weight: normal;
        font-size: 0.9em;
        margin-bottom: 10px;
    }

    .S_Home_Events_Item_Text .STitle {
        font-weight: 500;
        font-size: 1.0em;
        margin-top: -10px;
    }

    .S_Home_Events_Item_Text .STitle_Sub {
        color: rgba(0,0,0,0.6);
        font-weight: normal;
        font-size: 0.9em;
    }

.S_Home_Events_Item_Sel .S_Home_Events_Item_Text .SDate {
    color: rgba(0,70,150,1.0);
}

.S_Home_Events_Show_Text {
    position: absolute;
    display: block;
    width: 100%;
    height: auto;
    right: 0px;
    bottom: 0px;
    padding: 20px 20px 50px 20px;
    background-color: rgba(0,0,0,0.5);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    font-family: 'IRANSans';
    font-weight: normal;
    font-size: 0.9em;
    text-align: right;
    color: #FFFFFF;
    direction: rtl;
    overflow: hidden;
    z-index: 100;
    -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_Events_Show_Text .STitle {
    color: #FFFFFF;
    font-weight: bold;
    font-size: 1.25em;
    padding-bottom: 5px;
    border-bottom: solid 1px rgba(255,255,255,1.0);
}
.S_Home_Events_Show_Text .SKey {
    position: absolute;
    display: table;
    left: 20px;
    bottom: 15px;
    width: auto;
    height: auto;
    padding: 3px 12px 3px 12px;
    background-color: rgba(255,255,255,1.0);
    border-radius: 4px;
    font-family: 'IRANSans';
    font-weight: normal;
    font-size: 0.9em;
    text-align: center;
    color: #000000;
    direction: rtl;
    clear: both;
}
/*---------------------- ITEM TEXT ------------------*/


/*---------------------- ITEM LINK ------------------*/
.S_Home_Events_Show_Key {
    position: relative;
    display: table;
    float: left;
    width: auto;
    height: auto;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 3px 12px 3px 12px;
    background-color: #004696;
    border-radius: 4px;
    font-family: 'IRANSans';
    font-weight: normal;
    font-size: 0.8em;
    text-align: center;
    color: #FFFFFF;
    direction: rtl;
    clear: both;
}
/*---------------------- ITEM LINK ------------------*/





@media screen and (min-width:0px) and (max-width:1000px) {

    .S_Home_Events_Main_L {
        display: none;
    }

    .S_Home_Events_Main_R {
        float: none;
        width: 100%;
        clear: both;
    }

    .S_Home_Events_Item_Text {
        margin-right: 93px;
        font-size: 0.8em;
    }
    .S_Home_Events_Item, .S_Home_Events_Item_Sel {
    }

@media screen and (min-width:0px) and (max-width:600px)
{
    
    .S_Home_Events_Main
    {
        padding: 20px 10px 20px 10px;
    }
    .S_Home_Events_Item_Pic {
        display: none;
    }

    .S_Home_Events_Item, .S_Home_Events_Item_Sel {
        min-height: 0px;
    }

    .S_Home_Events_Item_Text {
        margin-right: 5px;
    }
    .S_Home_Events_Show_Text {
        padding: 10px 10px 10px 110px;
        font-size: 0.9em;
    }
}

@media screen and (min-width:0px) and (max-width:500px)
{
    .S_Home_Icons_Item_Title
    {
        font-size: 1.2em;
    }
    .S_Home_Icons_Item_Desc_Summary
    {
        font-size: 0.85em;
    }
}