﻿/*
    DEMO STYLE
*/

@font-face {
    font-family: "IranSans";
    src: url(../Fonts/IRANSansWeb.eot);
    src: url(../Fonts/IRANSansWeb.eot?#iefix) format("embedded-opentype"), url(../Fonts/IRANSansWeb.woff) format("woff"), url(../Fonts/IRANSansWeb.woff2) format("woff2"), url(../Fonts/IRANSansWeb.ttf) format("truetype");
}

@font-face {
    font-family: 'BYekan';
    font-style: normal;
    font-weight: normal;
    src: url('../Fonts/BYekan.eot?#') format('embedded-opentype'), url('../Fonts/BYekan.woff') format('woff'), url('../Fonts/BYekan.ttf') format('truetype');
}

@font-face {
    font-family: 'BTitrBold';
    src: url('../Fonts/BTitrBold.eot') format('embedded-opentype'), url('../Fonts/BTitrBold.ttf') format('truetype'), url('../Fonts/BTitrBold.woff') format('woff');
}

body {
    /*font-family: IranSans, 'Poppins', sans-serif;*/
    background: #fafafa;
}


/*Login background*/
.account-view {
    background: #50a3a2;
        background: linear-gradient(to bottom right, #50a3a2 0%, #53e3a6 100%);
}

.area {
   /* background: #4e54c8;
    background: -webkit-linear-gradient(to left, #8f94fb, #4e54c8);*/
   /* width: 100%;
    height: 100vh;*/
}
.circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index:-1;
}

    .circles li {
        position: absolute;
        display: block;
        list-style: none;
        width: 20px;
        height: 20px;
        background: rgba(255, 255, 255, 0.2);
        animation: animate 25s linear infinite;
        bottom: -150px;
    }

        .circles li:nth-child(1) {
            left: 25%;
            width: 80px;
            height: 80px;
            animation-delay: 0s;
        }


        .circles li:nth-child(2) {
            left: 10%;
            width: 20px;
            height: 20px;
            animation-delay: 2s;
            animation-duration: 12s;
        }

        .circles li:nth-child(3) {
            left: 70%;
            width: 20px;
            height: 20px;
            animation-delay: 4s;
        }

        .circles li:nth-child(4) {
            left: 40%;
            width: 60px;
            height: 60px;
            animation-delay: 0s;
            animation-duration: 18s;
        }

        .circles li:nth-child(5) {
            left: 65%;
            width: 20px;
            height: 20px;
            animation-delay: 0s;
        }

        .circles li:nth-child(6) {
            left: 75%;
            width: 110px;
            height: 110px;
            animation-delay: 3s;
        }

        .circles li:nth-child(7) {
            left: 35%;
            width: 150px;
            height: 150px;
            animation-delay: 7s;
        }

        .circles li:nth-child(8) {
            left: 50%;
            width: 25px;
            height: 25px;
            animation-delay: 15s;
            animation-duration: 45s;
        }

        .circles li:nth-child(9) {
            left: 20%;
            width: 15px;
            height: 15px;
            animation-delay: 2s;
            animation-duration: 35s;
        }

        .circles li:nth-child(10) {
            left: 85%;
            width: 150px;
            height: 150px;
            animation-delay: 0s;
            animation-duration: 11s;
        }



@keyframes animate {

    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }

    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }
}

/*Login Background*/



p {
    /*font-family: IranSans, 'Poppins', sans-serif;*/
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    color: #555;
    text-align: justify;
}

    p.en-text {
        direction: ltr;
        text-align: left;
    }

.iransans {
    font-family: IranSans;
}

.tahoma {
    font-family: Tahoma;
}

.byekan {
    font-family: BYekan;
}
.bg-indigo {
    background-color: #1b4965;
}
.fs-16{
    font-size:16px;
}
a, a:hover, a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

.navbar {
    /*padding: 15px 10px;*/
    background: #fff;
    border: none;
    border-radius: 0;
    margin-bottom: 40px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-nav {
    direction: rtl;
    text-align: right;
}

.container-fluid {
    direction: rtl;
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

.logo {
    width: 40px;
}
/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */
.wrapper {
    display: flex;
    align-items: stretch;
    direction: rtl;
    
    
}

#sidebar {
    min-width: 250px;
    max-width: 250px;
    /*background: #0094ff;*/
    color: #fff;
    transition: all 0.3s;
}

    #sidebar.active {
        min-width: 80px;
        max-width: 80px;
        text-align: center;
    }

        #sidebar.active .sidebar-header h3,
        #sidebar.active .CTAs {
            display: none;
        }

        #sidebar.active .sidebar-header strong {
            display: block;
        }

    #sidebar ul li a {
        text-align: left;
    }

    #sidebar.active ul li a {
        padding: 20px 10px;
        text-align: center;
        font-size: 0.85em;
    }

        #sidebar.active ul li a i {
            margin-right: 0;
            display: block;
            font-size: 1.8em;
            margin-bottom: 5px;
        }

    #sidebar.active ul ul a {
        padding: 10px !important;
    }

    #sidebar.active .dropdown-toggle::after {
        top: auto;
        bottom: 10px;
        left: 40%;
        -webkit-transform: translateX(50%);
        -ms-transform: translateX(50%);
        transform: translateX(50%);
    }

    #sidebar .sidebar-header {
        padding: 20px;
        /*background: #0094ff;*/
    }

        #sidebar .sidebar-header strong {
            display: none;
            font-size: 1.8em;
        }

    #sidebar ul.components {
        padding: 20px 0;
        border-bottom: 1px solid #47748b;
    }

    #sidebar ul li a {
        padding: 10px;
        font-size: 1.1em;
        display: block;
        text-align: right;
    }

    #sidebar ul li a:hover {
        color: #1b4965;
        background: #bee9e8;
    }
        #sidebar ul li a.activeMenu {
            color: #1b4965;
            background: #bee9e8;
        }

        #sidebar ul li a i {
            margin-right: 10px;
        }

    #sidebar ul li.active > a,
    a[aria-expanded="true"] {
        color: #fff;
        /*background: #0094ff;*/
        background: #5fa8d3;
    }

a[data-toggle="collapse"] {
    position: relative;
}
.dropdown-menu-top {
    width:250px;
    right: 0;
}
.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
}
.icon-dropdown::after{
    top:80%;
}
.icon-dropdown-menu::after{
    top:65%;
    left:-5px;
}

ul ul a {
    font-size: 0.9em !important;
    padding-right: 30px !important;
    background: #519bb2;
}
#sidebar li.disabled {
    background-color: #519bb2;
}
    #sidebar li.disabled:hover{
        cursor:not-allowed;
    }
    #sidebar a.btn.disabled {
        color: #ccc;
    }
    ul.CTAs {
        padding: 20px;
    }

    ul.CTAs a {
        text-align: center;
        font-size: 0.9em !important;
        display: block;
        border-radius: 5px;
        margin-bottom: 5px;
    }

a.download {
    background: #fff;
    color: #7386D5;
}

a.article,
a.article:hover {
    background: #6d7fcc !important;
    color: #fff !important;
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */
#content {
    width: 100%;
    padding: 20px;
    min-height: 100vh;
    transition: all 0.3s;
    direction: rtl;
    text-align: right;
    font-family: IranSans;
}

#sidebarCollapse {
    width: 80px;
    height: 52px;
    /*background: #f5f5f5;*/
    background: #5fa8d3;
    cursor: pointer;
}

    #sidebarCollapse span {
        width: 80%;
        height: 2px;
        margin: 0 auto;
        display: block;
        /*background: #555;*/
        background:#fff;
        transition: all 0.8s cubic-bezier(0.810, -0.330, 0.345, 1.375);
        transition-delay: 0.2s;
    }

        #sidebarCollapse span:first-of-type {
            transform: rotate(45deg) translate(2px, 2px);
        }

        #sidebarCollapse span:nth-of-type(2) {
            opacity: 0;
        }

        #sidebarCollapse span:last-of-type {
            transform: rotate(-45deg) translate(1px, -1px);
        }


    #sidebarCollapse.active span {
        transform: none;
        opacity: 1;
        margin: 5px auto;
    }

.bi {
    color: #0094ff;
}
/* ---------------------------------------------------
    BACK TO TOP
----------------------------------------------------- */
#back-to-top {
    display: inline-block;
    background-color: #FF9800;
    width: 50px;
    height: 50px;
    text-align: center;
    border-radius: 4px;
    margin: 30px;
    position: fixed;
    bottom: 30px;
    right: 20px;
    transition: background-color .3s, opacity .5s, visibility .5s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

    #back-to-top::after {
        content: "\f077";
        font-family: FontAwesome;
        font-weight: normal;
        font-style: normal;
        font-size: 2em;
        line-height: 50px;
        color: #fff;
    }

    #back-to-top:hover {
        cursor: pointer;
        background-color: #333;
    }

    #back-to-top:active {
        background-color: #555;
    }

    #back-to-top.show {
        opacity: 1;
        visibility: visible;
    }

/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */
@media (max-width: 768px) {
    .dropdown:hover .dropdown-menu {
        display: block;
    }
    #sidebar {
        margin-left: -250px;
        transform: rotateY(90deg);
    }

        #sidebar.active {
            margin-left: 0;
            transform: none;
        }

    #sidebarCollapse span:first-of-type,
    #sidebarCollapse span:nth-of-type(2),
    #sidebarCollapse span:last-of-type {
        transform: none;
        opacity: 1;
        margin: 5px auto;
    }

    #sidebarCollapse.active span {
        margin: 0 auto;
    }

        #sidebarCollapse.active span:first-of-type {
            transform: rotate(45deg) translate(2px, 2px);
        }

        #sidebarCollapse.active span:nth-of-type(2) {
            opacity: 0;
        }

        #sidebarCollapse.active span:last-of-type {
            transform: rotate(-45deg) translate(1px, -1px);
        }
}

@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        display: block;
    }
}

.dx-theme-generic-typography h3 {
    font-size: 14px;
    color: #fff;
}

.dx-datagrid-summary-item {
    font-size: 15px;
    color: black;
}

.field-validation-error {
    color: #e80c4d;
    font-weight: bold;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #e80c4d;
}

.validation-summary-errors {
    color: #e80c4d;
    font-weight: bold;
    font-size: 1.1em;
}

.validation-summary-valid {
    display: none;
}

.popover-header {
    background-color: #7386D5;
    font-size: 9px !important;
}

.popover-body {
    text-align: justify;
}
/*blinker*/
blink {
    -webkit-animation: 2s linear infinite condemned_blink_effect; /* for Safari 4.0 - 8.0 */
    animation: 2s linear infinite condemned_blink_effect;
}

/* for Safari 4.0 - 8.0 */
@-webkit-keyframes condemned_blink_effect {
    0% {
        visibility: hidden;
    }

    50% {
        visibility: hidden;
    }

    100% {
        visibility: visible;
    }
}

@keyframes condemned_blink_effect {
    0% {
        visibility: hidden;
    }

    50% {
        visibility: hidden;
    }

    100% {
        visibility: visible;
    }
}


.pageTitle {
    font-family: 'BTitrBold';
    text-align: center;
}

.WrappedColumnClass {
    white-space: normal;
    word-wrap: break-word;
   
}

.disabledButton {
    pointer-events: none;
    cursor: default;
    background-color: gray;
}

.table-striped tbody tr:nth-of-type(odd){
    background-color:aliceblue;
}

.table-striped tbody tr:nth-of-type(even) {
    background-color: antiquewhite;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position-x: 0;
    background-position-y: 5px;
    border: 1px solid #dfdfdf;
    border-radius: 2px;
    margin-left: 2rem;
    padding: 1rem;
    padding-right: 2rem;
}

.dropdown-item {
    font-family: BYekan;
}
.date{
    font-size:14px;
    font-family:BYekan;
}

.ui-tabs-tab, .ui-tabs-panel {
    font-family: IranSans;
}

.dx-loadindicator-icon {
    left: 0;
    width: 80%;
}

.modal-dialog.modal-90 {
    width: 800px;
    margin: 30px auto;
}