﻿/*======================================
  Selectric
======================================*/

@font-face {
    font-family: 'Mj_Dinar Two Light'; /*تعریف یک نام برای فونت*/
    src: url('../fonts/Mj_Dinar Two Light.eot'); /*اکسپلورر 9 به بعد*/
    src: local('Mj_Dinar Two Light'), /*بررسی نصب بودن فونت در سیستم کاربر*/
    local('Mj_Dinar Two Light'), /*برای برخی از مرورگرها مانند سافاری*/
    url('../fonts/Mj_Dinar Two Light.eot?#iefix') format('embedded-opentype'), /*هک برای اکسپلورر 8 و ماقبل*/
    url('../fonts/Mj_Dinar Two Light.woff') format('woff'), /*مرورگر های جدید*/
    url('../fonts/Mj_Dinar Two Light.ttf') format('truetype'), /*تمام مرورگرها به جزء اکسپلورر*/
    url('../fonts/Mj_Dinar Two Light.svg#Mj_Dinar Two Light') format('svg'); /*نسخه های قدیمی سیستم عامل iOS*/
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: 'IRANSans-Medium-web'; /*تعریف یک نام برای فونت*/
    src: url('../fonts/IRANSans-Medium-web.eot'); /*اکسپلورر 9 به بعد*/
    src: local('IRANSans-Medium-web'), /*بررسی نصب بودن فونت در سیستم کاربر*/
    local('IRANSans-Medium-web'), /*برای برخی از مرورگرها مانند سافاری*/
    url('../fonts/IRANSans-Medium-web.eot?#iefix') format('embedded-opentype'), /*هک برای اکسپلورر 8 و ماقبل*/
    url('../fonts/IRANSans-Medium-web.woff') format('woff'), /*مرورگر های جدید*/
    url('../fonts/IRANSans-Medium-web.ttf') format('truetype'), /*تمام مرورگرها به جزء اکسپلورر*/
    url('../fonts/IRANSans-Medium-web.svg#IRANSans-Medium-web') format('svg'); /*نسخه های قدیمی سیستم عامل iOS*/
    font-style: normal;
    font-weight: normal;
}

.selectric-wrapper {
    position: relative;
    cursor: pointer;
    direction: rtl;
}

.selectric-responsive {
    width: 100%;
    direction: rtl;
}

.selectric {
    border-radius: 0px;
    background: #1B1B1B;
    position: relative;
    /*border: 1px solid #D40000;*/ /*رنگ ddl*/
    direction: rtl;
    height: 35px;
}

    .selectric .label {
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin: 0 28px 0 10px;
        font-size: 16px;
        line-height: 28px;
        color: white; /*رنگ فونت خود dropdown*/
        height: 28px; /*طول dropdown*/
        text-align: right;
        direction: rtl;
        font-family: IRANSans-Medium-web;
        padding-top: 4px; /*تنظیم فاصله "همه" از بالا*/
        padding-right: 5px;
    }


    .selectric .button {
        display: block;
        position: absolute;
        right: 0;
        top: 0;
        width: 22px;
        height: 35px; /*تعیین طول فلش*/
        /*color:red;*/
        text-align: center;
        font: 0/0 a;
        *font: 20px/38px Lucida Sans Unicode, Arial Unicode MS, Arial;
        border: 1px solid #6d6b5c;
        direction: rtl;
        background: #2c2a1e; /*تعیین رنگ پشت فلش*/
    }

        .selectric .button:after {
            content: " ";
            position: absolute;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            margin: auto;
            width: 0;
            height: 0;
            border: 4px solid transparent;
            border-top-color: #6d6b5c; /**********تعیین رنگ فلش**/
            border-bottom: none;
            direction: rtl;
        }

.selectric-hover .selectric {
    background: #2c2a1e;
    direction: rtl;
}

    .selectric-hover .selectric .button {
        color: #e6e6e6;
    }
        /**رنگ فلش وقتی با موس روی آن میرویم**/
        .selectric-hover .selectric .button:after {
            border-top-color: #c8ba61;
        }

.selectric-open {
    z-index: 9999;
}

    .selectric-open .selectric-items {
        display: block;
    }

.selectric-disabled {
    filter: alpha(opacity=50);
    opacity: 0.5;
    cursor: default;
    user-select: none;
}

.selectric-hide-select {
    position: relative;
    overflow: hidden;
    width: 0;
    height: 0;
}

    .selectric-hide-select select {
        position: absolute;
        left: -100%;
        display: none;
        direction: rtl;
    }

.selectric-input {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 1px !important;
    height: 1px !important;
    outline: none !important;
    border: none !important;
    *font: 0/0 a !important;
    background: none !important;
    direction: rtl;
}

.selectric-temp-show {
    position: absolute !important;
    visibility: hidden !important;
    display: block !important;
    direction: rtl;
}

/* Items box */
.selectric-items {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    font-family: IRANSans-Medium-web;
    background: #1b1b1b; /*رنگ پشت زمینه آیتم ها*/
    border: 1px solid #d40000; /**کادر دور موارد dropdown**/
    z-index: -1;
    box-shadow: 0 0 10px -6px;
    text-align: right;
    direction: rtl;
}

    .selectric-items .selectric-scroll {
        height: 100%;
        overflow: auto;
        direction: ltr;
    }

.selectric-above .selectric-items {
    top: auto;
    bottom: 100%;
    direction: rtl;
}

.selectric-items ul, .selectric-items li {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
    line-height: 20px; /*طول کادر آیتم*/
    min-height: 20px;
    direction: rtl;
}

.selectric-items li {
    display: block;
    padding: 8px;
    /*border-top: 1px solid orange;
  border-bottom: 1px solid orange;*/ /*رنگ بردر بالا و پایین بردرها*/
    color: white; /*رنگ فونت*/
    cursor: pointer;
    direction: rtl;
    /*background:red;*/
}

    .selectric-items li.selected {
        background: #550300; /*رنگ آیتم انتخاب شده*/
        color: #d4cd6d; /*رنگ فونت آیتم انتخابی*/
    }

    .selectric-items li:hover {
        background: #3a3a3a;
        color: white;
        direction: rtl;
    }

.selectric-items .disabled {
    filter: alpha(opacity=50);
    opacity: 0.5;
    cursor: default !important;
    background: none !important;
    color: #666 !important;
    user-select: none;
    direction: rtl;
}

.selectric-items .selectric-group .selectric-group-label {
    font-weight: bold;
    padding-left: 10px;
    cursor: default;
    user-select: none;
    background: none;
    color: #444;
    direction: rtl;
}

.selectric-items .selectric-group.disabled li {
    filter: alpha(opacity=100);
    opacity: 1;
    direction: rtl;
}

.selectric-items .selectric-group li {
    padding-left: 25px;
    direction: rtl;
}
