﻿
/*@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 ------------*/
i.bi {
    color: #ffffff
}

.btn {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    /*background-color: transparent;*/
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out
}

.btn-Add {
    color: #fff;
    background-color: #024c8b;
    border-color: #024c8b;
}

    .btn-Add:hover {
        color: #fff;
        background-color: #049dd9;
        border-color: #0477bf
    }

.btn-Edit {
    color: #fff;
    background-color: #fb5607;
    border-color: #fb5607;
}

    .btn-Edit:hover {
        color: #fff;
        background-color: #fc7008;
        border-color: #fd8a09
    }

.btn-Delete {
    color: #fff;
    background-color: #ed2f38;
    border-color: #ed2f38;
}

    .btn-Delete:hover {
        color: #fff;
        background-color: #bf0d16;
        border-color: #930a11
    }

.btn-Document {
    color: #fff;
    background-color: #0c0a3e;
    border-color: #0c0a3e;
}

    .btn-Document:hover {
        color: #fff;
        background-color: #280659;
        border-color: #180496
    }

.btn-Print {
    color: #fff;
    background-color: #003b36;
    border-color: #003b36;
}

    .btn-Print :hover {
        color: #fff;
        background-color: #589284;
        border-color: #012622;
    }

.btn-Duplicate {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

    .btn-Duplicate:hover {
        color: #fff;
        background-color: #fc7008;
        border-color: #fd8a09
    }

/*------------------ Style for SearchBox in Navbar ------------*/
.BtnSearch {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: .25rem;
    border-top-left-radius: .25rem;
}

/*------------------ Style for UC_MessageBackground ------------*/
.UC_MessageBackground {
    background-color: black;
    filter: alpha(opacity=50);
    opacity: 0.5;
}

/*------------------ Style for messagealert ------------*/
/* 3-5 برای نمایش پیغام*/
.messagealert {
    width: 50%;
    position: fixed;
    top: 10px;
    z-index: 100000;
    padding: 0;
    font-size: 15px;
}

/*------------------ 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;
}

/* ****************** RatingStar ****************** */
.ratingStar {
    white-space: nowrap;
    margin: 1em;
    height: 14px;
}

    .ratingStar .ratingItem {
        font-size: 0pt;
        width: 13px;
        height: 12px;
        margin: 0px;
        padding: 0px;
        display: block;
        background-repeat: no-repeat;
        cursor: pointer;
    }

    .ratingStar .Filled {
        background-image: url(../Images/Image_Public/rating/ratingStarFilled.png);
    }

    .ratingStar .Empty {
        background-image: url(../Images/Image_Public/rating/ratingStarEmpty.png);
    }

    .ratingStar .Saved {
        background-image: url(../Images/Image_Public/rating/ratingStarSaved.png);
    }
/******************************************ModalPopup***************************************************/
.Popup-Alert {
    background-color: #FFFFFF;
    border: 3px solid #444;
    border-radius: 12px;
    padding: 0px;
    height: auto;
}

    .Popup-Alert.header {
        height: auto;
        line-height: 30px;
        font-weight: bold;
        border-top-left-radius: 6px;
        border-top-right-radius: 6px;
    }


    .Popup-Alert.body {
        padding: 10px;
        line-height: 20px;
    }

    .Popup-Alert.footer {
        background-color: #e6eaf3;
        height: auto;
        line-height: 30px;
        border-bottom-left-radius: 6px;
        border-bottom-right-radius: 6px;
    }


.modalBackground {
    background-color: black;
    filter: alpha(opacity=50);
    opacity: 0.5;
}

.Popup {
    background-color: #FFFFFF;
    border: 3px solid #444;
    border-radius: 12px;
    padding: 0px;
}

    .Popup .header {
        line-height: 30px;
        font-weight: bold;
        border-top-left-radius: 6px;
        border-top-right-radius: 6px;
    }


    .Popup .body {
        padding: 10px;
        line-height: 20px;
    }

    .Popup .footer {
        background-color: rgba(0, 0, 0, 0.2);
        height: auto;
        line-height: 30px;
        border-bottom-left-radius: 6px;
        border-bottom-right-radius: 6px;
    }




.modalPopup-Alert {
    background-color: #FFFFFF;
    border: 3px solid #444;
    border-radius: 12px;
    padding: 0px;
    height: auto;
}

    .modalPopup-Alert .header {
        height: auto;
        line-height: 30px;
        font-weight: bold;
        border-top-left-radius: 6px;
        border-top-right-radius: 6px;
    }


    .modalPopup-Alert .body {
        padding: 10px;
        line-height: 20px;
    }

    .modalPopup-Alert .footer {
        background-color: #e6eaf3;
        height: auto;
        line-height: 30px;
        border-bottom-left-radius: 6px;
        border-bottom-right-radius: 6px;
    }

.Header-BG-Color {
    background-color: #EDEDED;
}

/******************************************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 */




/******************************************GridView Pagination ***************************************************/
ul.bar_inputTabs {
    overflow: visible;
    background: #fff;
    height: 25px;
    margin: 21px 0 0 0;
    padding-right: 0;
    position: relative;
    z-index: 1;
    width: 100%;
    border-bottom: 1px solid #E6E9ED;
    direction: rtl
}

    ul.bar_inputTabs span.lblName {
        left: 0;
        position: absolute
    }

    ul.bar_inputTabs > li {
        border: 1px solid #E6E9ED;
        color: #333 !important;
        margin-top: -17px;
        background: #fff;
        border-bottom: none;
        border-radius: 4px 4px 0 0
    }

        ul.bar_inputTabs > li.active {
            border-right: 6px solid #D3D6DA;
            border-top: 0;
            margin-top: -15px
        }

        ul.bar_inputTabs > li a {
            padding: 10px 17px;
            background: #F5F7FA;
            margin: 0;
            border-top-right-radius: 0
        }

            ul.bar_inputTabs > li a:hover {
                border: 1px solid #fff0
            }

        ul.bar_inputTabs > li.active a {
            border-bottom: none
        }

    ul.bar_inputTabs.right {
        padding-right: 14px
    }

        ul.bar_inputTabs.right li {
            float: right
        }

a:focus {
    outline: none
}
/******************************************pointer ***************************************************/
.stop-pointer {
    cursor: not-allowed;
}

.allow-pointer {
    cursor: pointer;
}
/******************************************Default Page ***************************************************/

.btn-view-custom {
    border: 1.5px solid #0d6efd !important;
    color: #0d6efd !important;
    background: #fff !important;
    border-radius: 6px !important;
    padding: 2px 14px !important;
    font-size: 0.97em !important;
    font-weight: 500;
    transition: all 0.2s;
}

    .btn-view-custom:hover, .btn-view-custom:focus {
        background: #0d6efd !important;
        color: #fff !important;
        border-color: #0d6efd !important;
    }

.btn-continue-custom {
    border: 1.5px solid #ffc107 !important;
    color: #ffc107 !important;
    background: #fff !important;
    border-radius: 6px !important;
    padding: 2px 14px !important;
    font-size: 0.97em !important;
    font-weight: 500;
    transition: all 0.2s;
}

    .btn-continue-custom:hover, .btn-continue-custom:focus {
        color: #222 !important;
        background: #ffc107 !important;
        border-color: #ffc107 !important;
    }

.btn-start-custom {
    border: 1.5px solid #6c757d !important;
    color: #6c757d !important;
    background: #fff !important;
    border-radius: 6px !important;
    padding: 2px 14px !important;
    font-size: 0.97em !important;
    font-weight: 500;
    transition: all 0.2s;
}

    .btn-start-custom:hover, .btn-start-custom:focus {
        background: #6c757d !important;
        color: #fff !important;
        border-color: #6c757d !important;
    }

.plan-details-btn-custom .plan-details-icon-custom {
    color: #0d6efd;
    transition: color 0.2s;
}

.plan-details-btn-custom.btn-primary, .plan-details-btn-custom.btn-primary:focus, .plan-details-btn-custom.btn-primary:hover {
    color: #fff !important;
}

    .plan-details-btn-custom.btn-primary .plan-details-icon-custom {
        color: #fff !important;
    }

.plan-details-btn-custom {
    border: 1.5px solid #0d6efd !important;
}

    .plan-details-btn-custom .plan-details-text-custom,
    .plan-details-btn-custom .plan-details-icon-custom {
        color: #0d6efd !important;
        transition: color 0.2s;
    }

    .plan-details-btn-custom.btn-primary .plan-details-text-custom,
    .plan-details-btn-custom.btn-primary .plan-details-icon-custom,
    .plan-details-btn-custom.btn-primary:focus .plan-details-text-custom,
    .plan-details-btn-custom.btn-primary:hover .plan-details-text-custom,
    .plan-details-btn-custom.btn-primary:focus .plan-details-icon-custom,
    .plan-details-btn-custom.btn-primary:hover .plan-details-icon-custom {
        color: #fff !important;
    }

    .plan-details-btn-custom.btn-primary,
    .plan-details-btn-custom.btn-primary:focus,
    .plan-details-btn-custom.btn-primary:hover {
        color: #fff !important;
    }

    .plan-details-btn-custom.btn-outline-primary,
    .plan-details-btn-custom.btn-outline-primary:focus,
    .plan-details-btn-custom.btn-outline-primary:hover {
        color: #0d6efd !important;
        background: #fff !important;
    }

        .plan-details-btn-custom.btn-outline-primary:hover {
            background: #0d6efd !important;
            color: #fff !important;
        }

            .plan-details-btn-custom.btn-outline-primary:hover .plan-details-text-custom,
            .plan-details-btn-custom.btn-outline-primary:hover .plan-details-icon-custom {
                color: #fff !important;
            }

        .plan-details-btn-custom.btn-outline-primary,
        .plan-details-btn-custom.btn-outline-primary:focus,
        .plan-details-btn-custom.btn-outline-primary:hover,
        .plan-details-btn-custom.btn-primary,
        .plan-details-btn-custom.btn-primary:focus,
        .plan-details-btn-custom.btn-primary:hover {
            border-color: #0d6efd !important;
        }

.sub-history-btn-custom .sub-history-text-custom,
.sub-history-btn-custom .sub-history-icon-custom {
    color: #6c757d !important;
    transition: color 0.2s;
}

.sub-history-btn-custom:hover {
    background: #6c757d !important;
    color: #fff !important;
    border-color: #6c757d !important;
}

    .sub-history-btn-custom:hover .sub-history-text-custom,
    .sub-history-btn-custom:hover .sub-history-icon-custom {
        color: #fff !important;
    }

.sub-history-btn-custom {
    border-color: #6c757d !important;
}

button.sub-history-btn-custom,
a.sub-history-btn-custom {
    border-color: #6c757d !important;
}

.widget-box {
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    overflow: hidden;
    margin: 0 4px;
}

.widget-header {
    background: #0d6efd;
    color: #fff;
    font-weight: 500;
    font-size: 1.08rem;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 16px;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.widget-body {
    padding: 18px;
    min-height: 180px;
}

.modern-grid {
    border-radius: 12px;
    overflow: hidden;
    font-size: 0.97em;
    background: #fff;
}

    .modern-grid th, .modern-grid td {
        vertical-align: middle !important;
    }

    .modern-grid th {
        background: #dee2e6 !important;
        color: #222 !important;
        text-align: center;
        font-weight: 500;
    }

    .modern-grid tr {
        transition: background 0.15s;
    }

        .modern-grid tr:hover {
            background: #f1f3fa !important;
        }

    .modern-grid tbody tr:nth-child(odd) {
        background: #fff !important;
    }

    .modern-grid tbody tr:nth-child(even) {
        background: #e3f0fd !important;
    }

    .modern-grid tbody tr:hover {
        background: #f1f3fa !important;
    }

td .bi-check-circle-fill,
td .bi-hourglass-split,
td .bi-x-circle-fill {
    margin-right: 6px !important;
    margin-left: 0 !important;
    vertical-align: -2px;
}
/******************************************Master Page ***************************************************/

.mini-cart-header-responsive .icon-circle,
.btn-login-responsive .icon-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 0 4px;
}

.mini-cart-header-responsive {
    position: relative;
}

    .mini-cart-header-responsive .cart-count {
        position: absolute;
        top: -7px;
        right: -7px;
        font-size: 0.85rem !important;
        min-width: 18px;
        min-height: 18px;
        line-height: 18px;
        background: #dc3545 !important;
        color: #fff !important;
        border-radius: 50%;
        display: inline-block;
        text-align: center;
        z-index: 2;
        box-shadow: 0 1px 2px rgba(0,0,0,0.08);
    }

@media (max-width: 768px) {
    .mini-cart-header-responsive .icon-circle,
    .btn-login-responsive .icon-circle {
        width: 34px;
        height: 34px;
        margin: 0 2px;
    }

    .mini-cart-header-responsive .cart-count {
        top: -6px;
        right: -6px;
        font-size: 0.8rem !important;
        min-width: 16px;
        min-height: 16px;
        line-height: 16px;
    }
}

@media (max-width: 768px) {
    .mobile-language-left {
        position: absolute;
        left: 12px;
        top: 18px;
        z-index: 10;
        width: 80px;
        min-width: 60px;
        max-width: 120px;
    }

    .header-main-page {
        position: relative;
    }
}

@media (max-width: 768px) {
    .logo-wrap {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        position: relative;
    }

    .mobile-language-left {
        margin-left: 8px;
        min-width: 60px;
        max-width: 120px;
    }
}

.mobile-language-left {
    display: none;
}

@media (max-width: 768px) {
    .mobile-language-left {
        display: block !important;
        position: absolute;
        left: 12px;
        top: 18px;
        z-index: 1000;
        width: 80px;
        min-width: 60px;
        max-width: 120px;
        background: #fff;
    }
}

.mobile-language-fixed {
    display: none;
}

@media (max-width: 768px) {
    .mobile-language-fixed {
        display: block !important;
        position: fixed;
        top: 14px;
        left: 10px;
        z-index: 2000;
        width: 55px;
        min-width: 40px;
        max-width: 60px;
        background: #fff;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        border-radius: 6px;
        padding: 1px 2px;
    }

        .mobile-language-fixed select {
            font-size: 11px;
            padding: 1px 2px;
        }
}
