﻿* {
    margin: 0;
    padding: 0;
}

body, html {
    width: 100%;
    height: 100%;
}

.grid > .row {
    margin: 0;
}

.grid-item {
    padding: 0;
}

.display-container {
    position: relative;
}

.display-middle {
    position: absolute;
    top: 48%;
    left: 45%;
    transform: translate(-45%,-48%);
    -ms-transform: translate(-45%,-48%);
}

@font-face {
    font-family: 'BYekan';
    src: url('../webfonts/BYekan.ttf') format('truetype');
    src: url(../webfonts/BYekan.eot?#iefix) format('embedded-opentype'), url(../webfonts/BYekan.woff) format('woff'), url(../webfonts/BYekan.ttf) format('truetype');
    font-weight: normal;
    font-style: normal
}


h1, h2, h3, h4, h5, h6 {
    color: #696767
}

.display-container, .btn-secondary {
    background: linear-gradient(0deg, rgba(34,45,195,1) 0%, rgba(37,158,226,1) 100%);
    border: unset !important;
}

.HeaderBoxStyle {
    background-color: #0000cc !important;
    border: 2px solid #27b6b7;
    border-radius: 0.5rem;
}

.card-header.cardHeaderStyle {
    padding: 0;
    color: #176399;
    padding: .2rem 0;
}

.highcharts-title {
    font-size: 1.3rem !important;
    fill: #194674 !important;
}

.highcharts-root {
    font-family: BYekan !important;
}

h2 span.spanStyle {
    display: block;
    color: #696767;
    font-size: 18px;
    border-top: 2px solid;
    border-image: repeating-linear-gradient(90deg, rgba(229,228,228,1) 0%, rgb(187, 187, 187) 50%, rgba(229,228,228,1) 100%) 10;
}

h2.greenStyle {
    /*display: inline-block;*/
    color: #009966;
    text-align: center;
    /*float: left;*/
    /*margin-left: 40px;*/
    font-size: 3rem;
}

h2.redStyle {
    /*display: inline-block;*/
    color: #ff9933;
    text-align: center;
    /*float: right;*/
    /*margin-right: 30px;*/
    font-size: 3rem;
}

.dropdown {
    direction: rtl;
}

a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

ul ul a {
    font-size: 0.9em !important;
    padding-right: 30px !important;
    /*background: #adc5dd;*/
}

ul.list-group.list-group-striped li:nth-of-type(odd) {
    background: #003366;
}

ul.list-group.list-group-striped li:nth-of-type(even) {
    background: #33506e;
}

ul.list-group.list-group-striped li select:nth-of-type(even) {
    background: none;
    color: #fff;
}

ul.list-group.list-group-striped li select:nth-of-type(odd) {
    background: none;
    color: #fff;
}

ul.list-group.list-group-striped li select option:nth-of-type(even) {
    color: #444;
}

ul.list-group.list-group-striped li select option:nth-of-type(odd) {
    color: #444;
}

.form-control {
    padding: 0 .75rem;
    border-radius: 0;
    border: none;
    border-top: 1px solid #00a1f2;
}

.form-group {
    margin-bottom: 0;
}

label {
    margin-top: .5rem;
    margin-right: 10px;
}

.table td, .table th {
    padding: 0.6rem !important;
    border: 1px solid #c5c5c5;
}

.table thead th {
    border: 2px solid #c5c5c5;
}
/*half*/
.halfprogress {
    position: relative;
    margin: 4px;
    float: left;
    text-align: center;
}

.barOverflow { /* Wraps the rotating .bar */
    position: relative;
    overflow: hidden; /* Comment this line to understand the trick */
    width: 90px;
    height: 45px; /* Half circle (overflow) */
    margin-bottom: -14px; /* bring the numbers up */
}

.bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 90px;
    height: 90px; /* full circle! */
    border-radius: 50%;
    box-sizing: border-box;
    border: 5px solid #eee; /* half gray, */
    border-bottom-color: #5cc1d5; /* half azure */
    border-right-color: #5cc1d5;
}
/*radio*/
.form-check-input {
    margin-top: .46rem !important;
    margin-right: -1.25rem !important;
}
/*.form-check:hover {
    cursor: pointer !important;
    background-color:red
}*/
/* ---------------------------------------------------
    dropDown STYLE
----------------------------------------------------- */
.blue .dropdown-toggle::after {
    /*for select option*/
    /*display: none;*/
    /*position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);*/
}

.blue .dropdown-toggle::after {
    float: right;
    display: inline-block;
    width: 0;
    height: 0;
    /* top: 18px; */
    margin-top: 6px;
    margin-left: 6px;
    margin-left: 0.5em;
    vertical-align: .255em;
    content: "";
    border-top: 0.7em solid;
    border-right: 0.7em solid transparent;
    border-bottom: 0;
    border-left: .7em solid transparent;
}

.blue .dropdown-menu {
    border: none !important
}

.blue .dropdown-menu:before {
    position: absolute;
    top: -14px;
    right: 44%;
    display: inline-block;
    border-bottom: 0.9em solid #259be1;
    border-right: 0.9em solid transparent;
    border-top: 0;
    border-left: .9em solid transparent;
    content: '';
}

.blue .dropdown-item {
    border-bottom-width: thin;
    padding: .25rem 0.2rem !important;
    border-bottom: 2px solid;
    border-image: repeating-linear-gradient(90deg, rgb(217, 241, 237) 0%, rgb(105, 239, 255) 50%, rgb(229, 251, 253) 100%) 10;
}

.blue .dropdown-item:last-child {
    border: none;
}

.blue .dropdown-item:first-child:hover {
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.blue .dropdown-item:last-child:hover {
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

.btn-secondary.focus, .btn-secondary:focus {
    box-shadow: none !important;
}

#sidebar .dropdown-item:hover {
    color: #0000cc !important;
}

#sidebar, .blue .dropdown-item {
    color: #FFF !important;
}

    .blue .dropdown-item:hover {
        color: #0000cc !important;
    }

.dropdown-item {
    text-align: center;
}
/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */
.win-size-grip {
    position: absolute;
    width: 16px;
    height: 16px;
    bottom: 0;
    right: 0;
    cursor: nwse-resize;
    background: url(../img/wingrip.png) no-repeat;
}

.ui-resizable-helper {
    border: 2px dotted #185798;
}

.display {
    display: none;
}

.dx-overlay-content {
    text-align: right
}

.overflow {
    overflow: hidden;
}

.hideVisibility {
    visibility: hidden;
}
.fullScreen {
    position: fixed !important;
    top: 85px !important;
    left: 15px !important;
    width: calc(100vw - 245px) !important;
    height: calc(100vh - 100px) !important;
    z-index: 9999 !important;
}

#content.active .fullScreen {
    width: calc(100% - 110px) !important;
}
/* ---------------------------------------------------
    grid-item
----------------------------------------------------- */
.grid-item .card.borderStyle {
    background: none !important;
    border: none;
    border-right: 2px solid !important;
    border-image: repeating-linear-gradient(180deg, rgba(229,228,228,1) 0%, rgb(191, 191, 191) 50%, rgba(229,228,228,1) 100%) 10 !important;
}

.grid-item .card.boxBorderStyle {
    background: none !important;
    border: none;
}
/* ---------------------------------------------------
    card style
----------------------------------------------------- */

.card .card-header img {
    float: left;
    width: 25px;
    height: 25px;
    margin-right: 10px;
}

.card-header {
    background-color: #e4e4e4;
    border-bottom: none;
}

    .card-header.headerColor {
        background-color: #ededed;
        padding: .5rem 1rem !important;
    }

.card-body {
    background: #e4e4e4;
}

    .card-body.headerStyle h2 {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        width: 50%;
        color: #009966;
        text-align: center;
        border-bottom: 2px solid;
        border-image: repeating-linear-gradient(90deg, rgba(229,228,228,1) 0%, rgb(196, 196, 196) 50%, rgba(229,228,228,1) 100%) 30;
        font-size: 3rem;
    }

    .card-body.headerStyle h5 {
        position: absolute;
        top: 68%;
        left: 50%;
        transform: translate(-50%,-50%);
        width: 100%;
    }

.card.style {
    border: 1px solid rgba(0,0,0,.125);
    /*border-radius: 5px;*/
}

    .card.style .card-header {
        border-bottom: 2px solid;
        border-image: repeating-linear-gradient(90deg, rgba(229,228,228,1) 0%, rgb(196, 196, 196) 50%, rgba(229,228,228,1) 100%) 30;
    }
/*show hide*/
.showBox span {
    margin-top: -6px;
    float: left;
    font-size: 15px;
    font-family: BYekan !important;
}

.showBox div {
    direction: ltr;
}

.grid-item .card .card-header.back {
    background-color: none !important
}
/* ---------------------------------------------------
    proggress bar
----------------------------------------------------- */
.progressbar {
    width: 70% !important;
    margin-top: 5px !important;
    margin-bottom: 6px !important;
    margin-left: 47px !important;
    /* margin-right: -39px; */
}

.proggress {
    height: 8px;
}

.percentCount {
    float: right !important;
    margin-top: -21px !important;
    clear: both !important;
    margin-right: -31px !important;
    font-weight: inherit !important;
    font-family: inherit !important;
    font-size: 15px;
}
.grid-item.order-sm-1 {
    order: 1 !important;
    position: unset !important;
}
.grid-item.order-sm-12 {
    order: 12 !important;
    position: unset !important;
}

/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */
@media (min-width: 576px) {
    .grid-item.order-sm-1 {
        order: unset !important;
        position: unset !important;
    }

    .grid-item.order-sm-12 {
        order: unset !important;
        position: unset !important;
    }
}
@media (max-width: 768px) {
  
    .container-fluid {
        padding: 0 !important;
    }

    .col-sm-12-force.active {
        width: calc(100% - 80px);
    }

    .display-container h5 {
        font-size: 1.5rem;
    }

    .card-header span {
        font-size: 0.6rem;
    }

    /*آخرین*/
    .ui-draggable-handle {
        -ms-touch-action: none !important;
        touch-action: auto !important;
    }
}

@media (max-width: 368px) {
    /*آخرین*/
    .ui-draggable-handle {
        -ms-touch-action: none !important;
        touch-action: auto !important;
    }
}

@media (max-width: 600px) {
    
    .resizeIcon {
        display: none !important;
        right: 0 !important;
        top: 0 !important;
    }

    .setting {
        right: 10px !important;
    }

    /*آخرین*/
    .ui-draggable-handle {
        -ms-touch-action: none !important;
        touch-action: auto !important;
    }
}

@media (max-width: 1024px) {
    .fullScreen {
        width: calc(100vw - 30px) !important;
    }

    .col-sm-12-force {
        width: 99% !important;
    }

    .dropdown-toggle::after {
        top: auto;
        bottom: 10px;
        right: 50%;
        -webkit-transform: translateX(50%);
        -ms-transform: translateX(50%);
        transform: translateX(50%);
    }

    /*آخرین*/
    .blue .dropdown-toggle::after {
        margin-right: 0 !important;
    }
    /*آخرین*/
    .ui-draggable-handle {
        -ms-touch-action: none !important;
        touch-action: auto !important;
    }
}

@media (max-width : 1366px) {

    .blue .dropdown-toggle::after {
        float: right;
        display: inline-block;
        width: 0;
        height: 0;
        /* top: 18px; */
        /*margin-top: 6px;*/
        /*اخرین*/
        margin-top: -3px;
        margin-left: 6px;
        margin-right: -0.9em;
        vertical-align: .255em;
        content: "";
        border-top: 0.6em solid;
        border-right: 0.6em solid transparent;
        border-bottom: 0;
        border-left: .6em solid transparent;
    }
    .showBox span {
        margin-left: -11px;
    }

    .progressbar {
        margin-left: 30px !important;
    }

    .display-middle {
        position: absolute !important;
        top: 48% !important;
        left: 43% !important;
        transform: translate(-43%,-48%) !important;
    }
    /*آخرین*/
    /*.ui-draggable-handle {
        -ms-touch-action: none !important;
        touch-action: auto !important;
    }*/
    .table {
       margin-bottom: 0;
    }
}

@media (min-width: 576px) {
    .modal-dialog {
        margin: 1.75rem 29%;
    }

    .table {
        font-size: 0.9rem !important;
    }

    .table td, .table th {
        padding: 0.7rem 0.3rem !important;
    }

    .barOverflow {
        width: 71px !important;
        height: 28px !important;
    }

    .bar {
        width: 70px !important;
        height: 70px !important;
    }

    .barTable {
        margin-bottom: 0 !important
    }

    .hTable {
        font-size: 0.9rem;
        margin-top: 3px;
    }
    /*آخرین*/
    .ui-draggable-handle {
        -ms-touch-action: none !important;
        touch-action: auto !important;
    }
}
