﻿
.div_OurGroups {
    /*width: 1000px;
    padding: 1px 2px 10px 2px;*/
    background-color: white;
    margin-left: auto;
    min-height: 500px;
    margin-right: auto;
    clear: right;
    float: none;
    border-width: 0 1px;
    border-style: solid;
    border-color: #CACACA;
    text-align: right;
    direction: rtl;
}

.OurGroups_Hdr {
    font-family: 'B Yekan',Tahoma;
    color: #7F1900;
    font-size: 16px;
    margin-right: 20px;
    margin-top: 0px;
}

.OurGroupsInfo {
    /*width: 80%;*/
    /*float: right;*/
}

.OurGroupItem {
    /*width: 97%;
    height: 190px;*/
    margin: 2px auto 10px auto;
    border-width: 1px 1px;
    border-style: solid;
    border-color: #CACACA;
    border-radius: 3px;
    box-shadow: 0px 1px 3px #CACACA;
}

.OurGroupsInfo {
    width: 70%;
    float: right;
    text-align: right;
}

.OurGroupsItem_Hdr {
    font-family: 'B Yekan',Tahoma;
    color: #8C4646;
    font-size: 14px;
    width: 60%;
    margin: 8px 20px 10px 0px;
    border-bottom: 1px solid #CACACA;
}

.OurGroupsItem_Det {
    font-family: 'B Yekan',Tahoma;
    color: black;
    font-size: 10px;
    margin-right: 20px;
    word-wrap: break-word;
    clear: right;
}

.OurGroupsItem_Arm {
    margin-top: 25px;
    /*margin-left: 10px;
    text-align: center;
    width: 20%;
    float: left;*/
    text-align: right;
}

    .OurGroupsItem_Arm img {
        margin-right: auto;
        margin-left: auto;
        display: inline-block;
        text-align: center;
        float: none;
        width: 90px;
    }

/* history And Images Buttons */
.Buttons {
    margin-left: 5px;
    margin-top: 10px;
    color: #4F1A04;
    font-family: Arial;
    font-size: 8pt;
    border: 1px solid #CACACA;
    width: 50px;
    height: 26px;
    padding: 3px;
    bottom: 2px;
    text-align: center;
    clear: none;
    display: inline-block;
}

.SiteNav {
    padding: 0 !important;
    margin: 0 auto !important;
    margin-top: 113px !important;
    max-width: 100%;
    padding-right: 15px !important;
}

    .SiteNav a, .SiteNav p {
        font-family: Tahoma;
        font-size: 9pt;
    }

/* By Irani*/
.SiteNav {
    width: 1000px !important;
}

.ourGroup-Content {
    max-width: 1000px;
    margin: 0 auto !important;
}

@media screen and (max-width: 750px) {
    .custom-container {
        margin-top: 1px !important;
    }
    div.div-search {
        top: 8px;
    }
    /*div.language-section {
        left: 67px;
    }*/
}

#wrapper {
    width: 1000px !important;
}

@media screen and (max-width: 1020px) {
    #wrapper {
        width: 100% !important;
    }
    .SiteNav {
        width: 100% !important;
    }
}

@media screen and (max-width: 767px) {
    .OurGroupsItem_Arm {
        text-align: right;
        margin-top: 0;
        margin-bottom: 10px;
    }

    .OurGroupsItem_Arm {
        padding-right: 33px;
    }
}

@media screen and (max-width: 450px) {
    .OurGroupsItem_Det table {
        width: 90% !important;
    }
}

@media screen and (max-width: 297px) {
    .OurGroupItem .col-md-9 {
        padding-right: 0 !important;
    }
}

.OurGroupsItem_Det>table>tbody>tr>td:nth-child(even)>span {
    font-family: 'B Yekan' !important;
    font-size: 10pt !important;
}

#ctl00_Image2 {
    position: absolute !important;
    right: 45% !important;
}

.site-search {
    top: 7px !important;
    right: -5px !important;
}

.submenuResponsive {
    top: 50px;
    right: 41px;
    left: unset;
}

@media screen and (max-width: 380px) {
    .site-search {
        top: 16px !important;
    }
}

.ul_SiteSearchResult_Other_Result,
.ul_SiteSearchResult_Products_Result,
.ul_SiteSearchResult_News_Result,
.ul_SiteSearchResult_Medias_Result,
.ul_SiteSearchResult_Honors_Result {
    margin-right: 0;
    padding-right: 6px;
}

.ul_SiteSearchResult_Other_Result li a,
.ul_SiteSearchResult_Products_Result li a,
.ul_SiteSearchResult_News_Result li a,
.ul_SiteSearchResult_Medias_Result li a,
.ul_SiteSearchResult_Honors_Result li a {
    font-family: Tahoma;
    font-size: 12px;
}

footer {
    direction: rtl;
}

#ctl00_ulLangResponsive span,
#ctl00_ulLang span {
    font-family: Tahoma;
    font-size: 12px;
}

.language-section {
    top: 12px;
}

#ctl00_Image2 {
    top: 10px;
}

.row {
    margin-left: 0;
    margin-right: 0;
}

.div_SiteSearchResult {
    left: 0 !important;
}