﻿
/*@font-face {
    font-family: 'Yekan';
    src: url('../Font/Yekan/Yekan.eot');
    src: url('../Font/Yekan/Yekan.eot?#iefix') format("embedded-opentype"), url('../Font/Yekan/Yekan.woff2') format('woff2'), url('../Font/Yekan/Yekan.woff') format('woff'), url('../Font/Yekan/Yekan.ttf') format('truetype'), url('../Font/Yekan/Yekan.otf') format('opentype'), url('../Font/Yekan//Yekan.svg#Yekan') format('svg');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: Yekan, 'Segoe UI', Tahoma, sans-serif;
}*/

.HideCol {
    display: none;
}

/**********GridView**********/
.WrapStyle {
    word-break: break-all;
    white-space: break-spaces;
}


tr.NormalRow {
    background-color: #fff;
}

    tr.NormalRow:hover, tr.NormalRow.over {
        cursor: pointer;
        cursor: hand;
        background-color: yellow;
    }

tr.AlternativeRow {
    background-color: #eee;
}

    tr.AlternativeRow:hover, tr.AlternativeRow.over {
        cursor: pointer;
        cursor: hand;
        background-color: yellow;
    }
/*------------------ Style for in Navbar ------------*/
/*[dir="rtl"] .input-group-addon:not(:last-child) {
    border-right: 1px solid rgba(0,0,0,.15);
    border-left: 0;
}

[dir="rtl"] .input-group .form-control:not(:last-child),
[dir="rtl"] .input-group-addon:not(:last-child),
[dir="rtl"] .input-group-btn:not(:first-child) > .btn-group:not(:last-child) > .btn,
[dir="rtl"] .input-group-btn:not(:first-child) > .btn:not(:last-child):not(.dropdown-toggle),
[dir="rtl"] .input-group-btn:not(:last-child) > .btn,
[dir="rtl"] .input-group-btn:not(:last-child) > .btn-group > .btn,
[dir="rtl"] .input-group-btn:not(:last-child) > .dropdown-toggle {
    border-bottom-right-radius: .25rem;
    border-top-right-radius: .25rem;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}

    [dir="rtl"] .input-group .form-control:not(:first-child),
    [dir="rtl"] .input-group-addon:not(:first-child),
    [dir="rtl"] .input-group-btn:not(:first-child) > .btn,
    [dir="rtl"] .input-group-btn:not(:first-child) > .btn-group > .btn,
    [dir="rtl"] .input-group-btn:not(:first-child) > .dropdown-toggle,
    [dir="rtl"] .input-group-btn:not(:last-child) > .btn-group:not(:first-child) > .btn,
    [dir="rtl"] .input-group-btn:not(:last-child) > .btn:not(:first-child) {
        border-bottom-right-radius: 0;
        border-top-right-radius: 0;
        border-bottom-left-radius: .25rem;
        border-top-left-radius: .25rem;
    }

[dir="rtl"] .form-control + .input-group-addon:not(:first-child) {
    border-left: 1px solid rgba(0,0,0,.15);
    border-right: 0;
}

[dir="rtl"] .input-group .form-control:not(:first-child):not(:last-child),
[dir="rtl"] .input-group .input-group-addon:not(:first-child):not(:last-child) {
    border-radius: 0;
}*/



/*------------------ Nav in Menu MasterPage------------*/
.DDL-Nav {
    border: 1px solid #7da2a9;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    background-color: #22223a;
    margin-right: 5px;
    color: #fff;
}

/*------------------ Table Row Height ------------*/
.table td, .table th {
    padding: .25rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
    vertical-align: middle;
}



/******************************************Reapeter Pagination ***************************************************/
.pagination {
    display: flex;
    justify-content: center;
}

    .pagination a {
        color: black;
        float: left;
        padding: 8px 10px;
        text-decoration: none;
        border: 1px solid #ddd;
    }

        .pagination a.active {
            background-color: #4CAF50;
            color: white;
            border: 1px solid #4CAF50;
        }

        .pagination a:hover:not(.active) {
            background-color: #ddd;
        }

    .pagination .last {
        border-top-right-radius: 5px;
        border-bottom-right-radius: 5px;
    }

    .pagination .first {
        border-top-left-radius: 5px;
        border-bottom-left-radius: 5px;
    }
/******************************************GridView Pagination ***************************************************/
/*gridview*/
.table table tbody tr {
    border: none;
}
    .table table tbody tr td {
        padding: 1px;
        border: none;
    }
    .table table tbody tr td a,
    .table table tbody tr td span {
        position: relative;
        float: left;
        padding: 6px 12px;
        margin-left: -1px;
        line-height: 1.42857143;
        color: #337ab7;
        text-decoration: none;
        background-color: #fff;
        border: 1px solid #ddd;
    }

.table table > tbody > tr > td > span {
    z-index: 3;
    color: #fff;
    cursor: default;
    background-color: #337ab7;
    border-color: #337ab7;
}

.table table > tbody > tr > td:first-child > a,
.table table > tbody > tr > td:first-child > span {
    margin-left: 0;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.table table > tbody > tr > td:last-child > a,
.table table > tbody > tr > td:last-child > span {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.table table > tbody > tr > td > a:hover,
.table table > tbody > tr > td > span:hover,
.table table > tbody > tr > td > a:focus,
.table table > tbody > tr > td > span:focus {
    z-index: 2;
    color: #23527c;
    background-color: #eee;
    border-color: #ddd;
}
/*end gridview */
/****************************************** Button ***************************************************/
.btnHidden {
    background: none;
    color: white;
    padding: 0rem;
    border: none;
}

/******************************************pointer ***************************************************/
.stop-pointer {
    cursor: not-allowed;
}

.allow-pointer {
    cursor: pointer;
}

/****************************************** Modrn Scorll Bar for Asp Panel ***************************************************/
/* اسکرول‌بار باریک و مدرن برای WebKit مرورگرها */
.custom-scroll {
    scrollbar-width: thin; /* برای Firefox */
    scrollbar-color: #999 #f1f1f1; /* thumb و track */
    overflow-y: auto;
}

    .custom-scroll::-webkit-scrollbar {
        width: 6px;
    }

    .custom-scroll::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }

    .custom-scroll::-webkit-scrollbar-thumb {
        background-color: #888;
        border-radius: 10px;
        border: 1px solid #ccc;
    }

        .custom-scroll::-webkit-scrollbar-thumb:hover {
            background-color: #555;
        }
