﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */


/*---------------------------------------------------------------------------------------------------------------------------------- */
@font-face {
   /* */font-family: "A Iranian Sans";
    /*src: url("'../Font/Iranian Sans.ttf'") format("opentype");*/
}
* {
    /*font-family: 'A Iranian Sans';*/
    /*font-family: 'B Lotus';*/
    /*font-family: 'B Nazanin';*/
    font-family: 'B Yekan';
    font-weight: bold;
}
html {
    position: relative;
    min-height: 100%;
    font-size: 14px;

}
@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}
body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}
body > header {
    margin-bottom: 60px
}
main {
    /*margin-top: 5%;*/
}
.UpFooter {
    color: #6b6d6c;
}
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}
/*Add By Mehrdad*/
nav {
    direction: rtl;
}
html, body, UpFooter, footer {
    /*background-image: radial-gradient( circle farthest-corner at 10% 20%, rgba(0,52,89,1) 0%, rgba(0,168,232,1) 90% );*/
    /*background-image: radial-gradient( circle farthest-corner at 10% 20%, rgba(222,168,248,1) 0%, rgba(168,222,248,1) 21.8%, rgba(189,250,205,1) 35.6%, rgba(243,250,189,1) 52.9%, rgba(250,227,189,1) 66.8%, rgba(248,172,172,1) 90%, rgba(254,211,252,1) 99.7% );*/
    /*background-image: radial-gradient( circle farthest-corner at 12.3% 19.3%, rgba(85,88,218,1) 0%, rgba(95,209,249,1) 100.2% );*/
}
/*---------------------------------------------------------------------------------------------------------------------------------- */
/*SidebarWrapper***********************************************************************************************************************/
#SidebarWrapper {
    direction: rtl;
    z-index: 1000;
    position: absolute;
    /*left: 250px;*/
    right: 240px;
    width: 0;
    height: 100%;
    margin-right: -250px;
    /*overflow-y: auto;*/
    /*background: #000;*/
    background-color: #343a40;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    /*border-radius: 5px;*/
}
.SidebarNav {
    position: absolute;
    top: 0;
    width: 280px;
    margin: 0;
    padding: 0;
    list-style: none;
    margin-top: 2px;
    height: auto;
}
    .SidebarNav li {
        /*text-indent: 17px;*/
        text-indent: 10px;
        line-height: 40px;
        /*Add by Mehrdad*/
        text-align: right;
    }
        .SidebarNav li a {
            display: block;
            text-decoration: none;
            color: lightgray;
            /*color:#ffffff;*/
             /*color:#898989;*/
            /*Add By Mehrdad*/
            /*padding-right: 1%;*/
            padding-right: 0;
        }
            .SidebarNav li a:hover {
                text-decoration: none;
                /*Hover رنگ منوها موقع*/
                /*color: #ff9900;*/ /*رنگ زرد*/
                /*border-right: #ff9900 1px solid;*/
                color: whitesmoke;
                border-right: whitesmoke 1px solid;
                /*background: rgb(34 102 161);*/
                /*background: rgb(122 122 122);*/
                /*background: rgb(62 62 62);*/
                background: rgb(47, 49, 67);
                /*border-left: red 2px solid;*/
                /*border-left: #ffa000 2px solid;*/
                border-radius: 3px;
                margin-right: -1px; /*برای جلوگیزی از پرش به سمت راست*/
            }
            .SidebarNav li a:active,
            .SidebarNav li a:focus {
                text-decoration: none;
            }
    .SidebarNav > .sidebar-brand {
        height: 65px;
        font-size: 18px;
        line-height: 60px;
    }
        .SidebarNav > .sidebar-brand a {
            color: #999999;
        }
            .SidebarNav > .sidebar-brand a:hover {
                color: #fff;
                background: none;
            }
/*navbar**************************************************************************************************************************************/
.navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:hover, .navbar-inverse .navbar-nav > .active > a:focus {
    height: 56px;
    border-radius: 3px;
}
/***********************************************************************************************************************************************/
/**BtnRegister*********************************************************************************************************************************************/
.BtnRegister {
    /*margin: 10px;
    padding: 15px 45px;*/
    margin-left: 5px;
    width: 150px;
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    display: block;
    /*background-image: linear-gradient(to right, #00c6ff 0%, #0072ff 51%, #00c6ff 100%)*/
    /*background-image: linear-gradient(to right, #000000 0%, #0f9b0f 51%, #000000 100%)*/
    background-image: linear-gradient(to right, #fe8c00 0%, #f83600 51%, #fe8c00 100%)
}
    .BtnRegister:hover {
        background-position: right center; /* change the direction of the change here */
        color: #fff;
        text-decoration: none;
    }
/**********************************************************************************************************************************************************/
/**BtnLogin************************************************************************************************************************************************/
.BtnLogin {
    /*margin: 10px;
    padding: 15px 45px;*/
    text-align: center;
    text-transform: uppercase;
    width: 150px;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    display: block;
    /*background-image: linear-gradient(to right, #1D976C 0%, #93F9B9 51%, #1D976C 100%);*/
    /*background-image: linear-gradient(to right, #fc00ff 0%, #00dbde  51%, #fc00ff  100%);*/
    /*background-image: linear-gradient(to right, #F00000 0%, #DC281E 51%, #F00000 100%)*/
    background-image: linear-gradient(to right, #fc00ff 0%, #00dbde 51%, #fc00ff 100%)
}
    .BtnLogin:hover {
        background-position: right center; /* change the direction of the change here */
        color: #ffd;
        text-decoration: none;
    }         
/**********************************************************************************************************************************************************/


.border-top {
    border-top: 1px solid #e5e5e5;
}
.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}
.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}
a {
    color: #0366d6;
}

/*این خط باید اینجا نوشته شود.چون
FileUpoad
Jquery با توابع 
مجددا تعریف شود btn-primary نوشته می شود در نتیجه کلاس
*/
.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}
li {
    list-style: none;
}

.RtlDirection {
    direction: rtl;
}

.LtrDirection {
    direction: ltr;
}

@media (max-width:768px) { /*768*/
    .card {
        margin: 0 auto;
    }
}


/*card*************************************************************************/
.card {
    border: 1px solid #6b6d6c;
    border-radius: 3px;
}
.card > a {
    color: unset;
    text-decoration: none;
}
.CustomCard {
    border: 1px solid rgba(0, 0, 0, 0.2);
    /*margin:0 1px 0px 1px;*/
    border-radius:3px;
}
.card-body > ul > li {
    list-style: armenian;
    list-style-type: disc !important;
    /*padding-left: 1em !important;*/
    /*margin-left: 1em;*/
}
.card-body > ul > li > a {
    color: unset;
    text-decoration: none;
}
    .card-body > ul > li > a:hover {
        color: forestgreen;
        font-weight: bold;
    }
.card-body {
    flex: 1 1 auto;
    min-height: 1px;
    padding: 1.25rem;
}
.card-body p{
    margin-bottom:0;
}
@media (min-width: 576px) {
    .card-deck {
        display: flex;
        flex-flow: row wrap;
        margin-right: -15px;
        margin-left: -15px;
    }
        .card-deck .card {
            flex: 1 0 0%;
            margin-right: 15px;
            margin-bottom: 0;
            margin-left: 15px;
        }
}
@media only screen and (max-width: 575px) {
    .card-body > ul > li {
        /*text-align: unset;
        list-style-position: inside;
        align-self: unset;*/
    }
}
}
/************************************************************************************************************************************************/
.bs-canvas-overlay {
    opacity: 0;
    z-index: -1;
}
    .bs-canvas-overlay.show {
        opacity: 0.50;
        z-index: 1100;
    }
.bs-canvas {
    /*Comment By Mehrdad*/
    /*top: 0;*/
    /*top:9%;*/
    top: 58px;
    width: 0;
    z-index: 1110;
    overflow-x: hidden;
    overflow-y: hidden;
}
.bs-canvas-left {
    left: 0;
}
.bs-canvas-right {
    direction: ltr;
    right: 0;
    /*background-color: #343a40;*/
    /*background-color: #324148 !important;*/
    overflow-y: auto;
    /*------------------------------------------------------------------------------------------------------------------------------------*/
    /*background: #fc00ff;*/ /* fallback for old browsers */
    /*background: -webkit-linear-gradient(to right, #00dbde, #fc00ff);*/ /* Chrome 10-25, Safari 5.1-6 */
    /*background: radial-gradient(circle at left top, #711683, #113255)*/
    background: linear-gradient(225deg, #076ea2 0%, #953288 100%);
    /*-------------------------------------------------------------------------------------------------------------------------------------*/
    /*background: #171818;
    background: -webkit-radial-gradient(top, #171818, #4B4B4B);
    background: -moz-radial-gradient(top, #171818, #4B4B4B);
    background: radial-gradient(to bottom, #171818, #4B4B4B);*/
    /*-------------------------------------------------------------------------------------------------------------------------------------*/
    /*رنگ اصلی برداشته شده از سایت */
    /*www.w3schools.com/w3css/tryit.asp?filename=tryw3css_sidebar_animate*/
    /*background: radial-gradient(circle at center, #616161, #616168)*/
    /*رنگ اصلی*/
    /*background: #333 !important;*/
    /*یک رنگ خوب*/
    background :rgb(35, 37, 51);
}
.bs-canvas-anim {
    transition: all .4s ease-out;
    -webkit-transition: all .4s ease-out;
    -moz-transition: all .4s ease-out;
    -ms-transition: all .4s ease-out;
}
/************************************************************************************************************************************************/


@media only screen and (min-width: 768px) { /*حداقل 768 و بزرگتر از این اندازه*/
    #bs-canvas-right {
        width: 50px;
    }
}
@media only screen and (max-width: 768px) { /*حداکثر 768 و کمتر از این اندازه*/
    #bs-canvas-right {
        width: 0px;        
    }
    .navbar-brand{
        font-size:15px;        
        margin-right:0px !important;
        text-wrap:none;
    }
    #UserName{
        font-size:x-small !important;
    }

    #BtnShoppingCart {
        /*font-size:xx-small !important;*/       
    }
}
/*Select Row Datatable*/
/*table*****************************************************************************************************************************************/
table.dataTable tbody > tr.selected, table.dataTable tbody > tr > .selected {
    /*background-color: #ffce55;*/
}
table.dataTable.dtr-column > tbody > tr > td.dtr-control:before,
table.dataTable.dtr-column > tbody > tr > th.dtr-control:before,
table.dataTable.dtr-column > tbody > tr > td.control:before,
table.dataTable.dtr-column > tbody > tr > th.control:before {
    line-height: .95em;

}
/************************************************************************************************************************************************/
#StoreGenerate {
    /*position: fixed;
    top: 10%;
    left: 20%;*/
    z-index: 3;
    border: none;
    /*margin: 10px;*/
    /*padding: 5px;*/
    width: auto;
    text-transform: uppercase;
    border-radius: 6px;
    cursor: pointer;
    color: #fff;
    background-size: 200%;
    transition: 0.6s;
    box-shadow: 1px 1px 10px 1px #848484;
    /*background-image: linear-gradient(to left, #ffc312, #ee5a24, #ffc312);*/
    background-image: linear-gradient(to right, #fc00ff 0%, #00dbde 51%, #fc00ff 100%)
    /*background-image: linear-gradient(to left, #c4e538, #009432, #c4e538);
    background-image: linear-gradient(to left, #12cbc4, #0652dd, #12cbc4);
    background-image: linear-gradient(to left, #fda7df, #9980fa, #fda7df);*/
}
    #StoreGenerate:hover {
        /*background-position: right;*/
        background-position: right center; /* change the direction of the change here */
        color: #fff;
        text-decoration: none;
    }
.ui-autocomplete {
    position: absolute;
    z-index: 99999 !important;
    cursor: default;
    padding: 0;
    margin-top: 2px;
    list-style: none;
    background-color: #ffffff;
    border: 1px solid #ccc -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}
    .ui-autocomplete > li {
        padding: 3px 20px;
    }
        .ui-autocomplete > li.ui-state-focus {
            background-color: #DDD;
        }
.ui-helper-hidden-accessible {
    display: none;
}

/*For Slim******************************************************************************/
.ss-content {
    position: absolute;
    width: 93%;
}
    .ss-content .ss-list {
        text-align: right;
    }
    .ss-content .ss-search input {
        text-align: inherit;
    }
/***************************************************************************************/
.Link {
    /*height: 30px;
    padding-top: 4px;*/
    outline: none;
    /*font-size: large;
    font-weight: bold;*/
    border-radius: 3px;
    list-style: none;
    margin: 1px;
    /*رنگ خطوط منو*/
    border-top: 1px solid #808080;
}
    .Link:hover {
        border-radius: 3px;
    }
li > a.Link {
    /*width: 200px;*/
    width: auto;
}
    /*تغییر رنگ آیکون های منوی سمت راست*/
    li > a.Link > i {
        /*color: #ff001b;*/
        /*color: #fb811b;*/
        /*color: #f91860;
        border: 1px solid #f0ff00;*/
        display: unset;
        margin-right: 3%;
    }

.R {
    border-top:none;
}
/*****************************************************************************************/
.CustomImage{
    max-width:70px;
    max-height:50px;
}
.TdSmSize {
    width:25px;
    padding: 0 10%;
}
.FileUploadGoods {
    max-width:25px;
}

/*****************************************************************************************/
.ripple {
    /*margin: auto;
    margin-top: 5rem;*/
    background-color: #fff;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    /*position: relative;*/
    animation: ripple 3s linear infinite;
}
   .ripple::before,
    .ripple::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: 50%;
        animation: inherit;
        animation-delay: 1s;
    }
    .ripple::after {
        animation-delay: 4s;
    }
@keyframes ripple {
    0% {
        box-shadow: 0 0 0 .7rem rgba(0,0,0, 0.2);
    }

    100% {
        box-shadow: 0 0 0 8rem rgba(255,255,255, 0);        
    }
}
/*****************************************************************************************/


.MyShadow {
    box-shadow: 3px 3px 5px #7c7c7c;
}


.ImageContainer{
    height:150px;
}
/*این خطوط برای قراردادن عکس در وسط صفحه نمایش می باشد*/
/*https://stackoverflow.com/questions/37455322/vertical-align-content-slickslider*/
.slick-track {
    display: flex;
}
    .slick-track .slick-slide {
        display: flex;
        height: auto;
        align-items: center;
        justify-content: center;
    }
/***********************************************************************************/
[dir=rtl] .slick-prev {
    background-color: #3e3d3d;
    right: 0px;
    border-radius: 3px;
    z-index: 1;
}
[dir=rtl] .slick-next {
    background-color: #3e3d3d;
    left: 0px;
    border-radius: 3px;
}
/**********************************************************************************/

.CustomLabelWidth{
    width:50px
}

.Myfs-7{
    font-size:xx-small;
}

.fa,.fas,.far {
    vertical-align: middle;
}

.card-body-bg {
    background-color: gainsboro;
}

select, option:hover, .form-check-input, .form-check-label {
    cursor: pointer;
}

/*یک جدولی هست که چک ها را در آن ثبت می کنیم.برای اینکه جدول اسکرول افقی بگیرد حتما باید ارتفاع مشخص شود. SettlementsInvoices در ویو کنترلر*/
div.table-responsive-sm{
    border:1px solid rgba(0, 0, 0, 0.2);
    border-radius:3px;
    height:250px;
    cursor:pointer;
}
#TableCheck input[type='checkbox'] {
    cursor: pointer;
}
/*********************************************************************************************************************************************/