@font-face {
    font-family:'IRANSans';
    font-style:normal;
    font-weight:400;
    src:url('/html/fonts/IRANSansWeb.eot'),
    url('/html/fonts/IRANSansWeb.woff2') format('woff2'),
    url('/html/fonts/IRANSansWeb.woff') format('woff'),
    url('/html/fonts/IRANSansWeb.ttf') format('truetype')
}
@font-face {
    font-family:'IRANSans';
    font-style:normal;
    font-weight:200;
    src:url('/html/fonts/IRANSansWeb_UltraLight.eot'),
    url('/html/fonts/IRANSansWeb_UltraLight.woff2') format('woff2'),
    url('/html/fonts/IRANSansWeb_UltraLight.woff') format('woff'),
    url('/html/fonts/IRANSansWeb_UltraLight.ttf') format('truetype')
}
@font-face {
    font-family:'IRANSans';
    font-style:normal;
    font-weight:300;
    src:url('/html/fonts/IRANSansWeb_Light.eot'),
    url('/html/fonts/IRANSansWeb_Light.woff2') format('woff2'),
    url('/html/fonts/IRANSansWeb_Light.woff') format('woff'),
    url('/html/fonts/IRANSansWeb_Light.ttf') format('truetype')
}
@font-face {
    font-family:'IRANSans';
    font-style:normal;
    font-weight:500;
    src:url('/html/fonts/IRANSansWeb_Medium.eot'),
    url('/html/fonts/IRANSansWeb_Medium.woff2') format('woff2'),
    url('/html/fonts/IRANSansWeb_Medium.woff') format('woff'),
    url('/html/fonts/IRANSansWeb_Medium.ttf') format('truetype')
}
@font-face {
    font-family:'IRANSans';
    font-style:normal;
    font-weight:700;
    src:url('/html/fonts/IRANSansWeb_Bold.eot'),
    url('/html/fonts/IRANSansWeb_Bold.woff2') format('woff2'),
    url('/html/fonts/IRANSansWeb_Bold.woff') format('woff'),
    url('/html/fonts/IRANSansWeb_Bold.ttf') format('truetype')
}

html.aui {
&.rtl{
body{
    font-family:"IRANSans" !important;
}
}
overflow: hidden;
&.dialog-iframe-root-node {
     padding: 0 !important;
 }

body {
    position: fixed !important;
    right: 0 !important;
    left: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    overflow: hidden !important;

&.page-maximized, &.portal-popup {
                       background-color: #F6F8FD !important;
                       height: 100%;
                   }

&.dialog-iframe-popup {
     background-color: #F6F8FD !important;
     height: 100%;
     position: relative !important;
     overflow-y: auto !important;
     left: unset !important;
     right: unset !important;
     bottom: unset !important;
     top: unset !important;
 }
}

.srp_bitools_dashboard_portlet {
.dashboard-view-body {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;

.dashboard-view-navg {
    background: #fdfdfd;
    display: inline-block;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    width: 95%;
    border-radius: 0 0 4px 4px;
    margin: 0 2%;
    padding: 10px;
    overflow: hidden;
    height: 35px;

.add-source-btn {
    background: #ffffff;
    float: left;
    box-shadow: 0 0 3px !important;
    height: 30px;
    margin-top: 3px;
    font-family: "IRANSans", Arial, sans-serif, tahoma;
    font-size: 13px;
    width: 76px;
    border-color: #208820eb !important;
    background: unset;

i {
    color: #208820eb;
}
}

.edit-source-btn {
    background: #ffffff;
    float: left;
    box-shadow: 0 0 3px !important;
    height: 30px;
    margin-top: 3px;
    font-family: "IRANSans", Arial, sans-serif, tahoma;
    font-size: 13px;
    width: 82px;
    border-color: #208820eb !important;
    background: unset;
    margin-left: 6px;

i {
    color: #208820eb;
}
}

.delete-source-btn {
    background: #ffffff;
    float: left;
    box-shadow: 0 0 3px !important;
    height: 30px;
    margin-top: 3px;
    font-family: "IRANSans", Arial, sans-serif, tahoma;
    font-size: 13px;
    width: 75px;
    border-color: #fa0000ab !important;
    background: unset;
    margin-left: 6px;
    color: black;
    text-shadow: unset;

i {
    color: red;
    font-size: 12px;
}
}

.permision-source-btn {
    background: #ffffff;
    float: left;
    box-shadow: 0 0 3px !important;
    height: 30px;
    margin-top: 3px;
    font-family: "IRANSans", Arial, sans-serif, tahoma;
    font-size: 13px;
    width: 119px;
    border-color: #fa0000ab !important;
    background: unset;
    margin-left: 6px;
    color: black;
    text-shadow: unset;

i {
    color: red;
    font-size: 14px;
}
}

.div-add-edit-btn-nvg {
    float: left;
}

.div-select2 {
    float: left;
    margin-left: 50px;
    margin-top: 3px;
    width: calc(100% - 820px);

.select2-container {
    width: 91% !important;
    font-family: "IRANSans", Arial, sans-serif, tahoma;
}
}
.div-search {
    float: left;
.search{

}
}
}

.add-dashboard-panel {
    overflow: auto;
    width: 400px;
    height: 601px;
    background: #fdfdfd;
    display: inline-block;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 4px;
    float: left;
    margin: 0 2%;
    padding: 20px;
    position: fixed;
    z-index: 1000;

input {
    width: 96%;
    font-family: "IRANSans", Arial, sans-serif, tahoma;
}

textarea {
    height: 180px;
    width: 95%;
}

.create-dashboard-btn {
    width: 46%;
    height: 35px;
    background: #4040fc;
    box-shadow: none;
    font-family: "IRANSans", Arial, sans-serif, tahoma;
}

.cancel-dashboard {
    color: black;
    width: 46%;
    margin-left: 17px;
    height: 35px;
    background: #e4e5f3;
    box-shadow: none;
    font-family: "IRANSans", Arial, sans-serif, tahoma;

}
}

.view-chart-dashboard {
    height: calc(100% - 64px);
    overflow-y: auto;

.layot-dashboard {
    float: right;
    display: inline-block;
    width: 94.5%;
    margin: 0 2.25%;
    padding: 0.5%;
    overflow: auto;

.grid-stack {
    background: #F6F8FD;
}

.grid-stack-item-content {
    background: #fff;
    display: inline-block;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 4px;
    padding: 0.5% 1%;

}
}
}

}

.chart-view-body {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    overflow-y: auto;

.card-chart {
    height: 100%;
    background: #fff;
    display: inline-block;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    padding: 0.5% 1%;
    overflow-y: auto;

.select2-container {
    width: 100% !important;
    font-family: "IRANSans", Arial, sans-serif, tahoma;
}

input {
    width: 97%;
}

.query-builder {
select {
    margin-bottom: 10px;
}
}

.create-dashboard-btn {
    width: 46%;
    height: 35px;
    background: #4040fc;
    box-shadow: none;
    font-family: "IRANSans", Arial, sans-serif, tahoma;
    color: #fff;
}

.cancel-dashboard {
    color: black;
    width: 46%;
    margin-left: 17px;
    height: 35px;
    background: #e4e5f3;
    box-shadow: none;
    font-family: "IRANSans", Arial, sans-serif, tahoma;

}
.display-mod{
button{
    width: 110px;
    height: 38px;
    font-family: "IRANSans", Arial, sans-serif, tahoma;
}
}
}

.card-chart-view {
    height: 100%;
    display: inline-block;
    padding-top: 10px;
    padding-bottom: 10px;
    overflow-y: auto;
    background: #dcdcdc;
}

.grid-stack {
    background: #dcdcdc;
}

.grid-stack-item-content {
    background: #fdfdfd;
    display: inline-block;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 4px;
    padding: 0.5% 1%;

a.remove, a.update, a.permission {
    display: none;
    z-index: 1001;
    position: absolute;
    right: 0;
    top: 0;
}

a.permission {
    right: 18px;
}

a.update {
    right: 38px;
}

.k-window-titlebar .k-window-actions {
    position: absolute;
    top: 75px !important;
    right: 6px;
}

&:hover {
a.remove, a.update, a.permission {
    display: block;
}
}
}
}
}

a.modebar-btn.plotlyjsicon.modebar-btn--logo {
    display: none !important;
}
}


@media (min-width: 1281px) {

}

/*
  ##Device = Laptops, Desktops
  ##Screen = B/w 1025px to 1280px
*/
@media (min-width: 1025px) and (max-width: 1280px) {

}

/*
  ##Device = Tablets, Ipads (portrait)
  ##Screen = B/w 768px to 1024px
*/
@media (min-width: 768px) and (max-width: 1024px) {
    .aui .dashboard-view-navg .btn {
        padding: unset !important;
    }
}

/*
  ##Device = Tablets, Ipads (landscape)
  ##Screen = B/w 768px to 1024px
*/
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .aui .dashboard-view-navg .btn {
        padding: unset !important;
    }
}

/*
  ##Device = Low Resolution Tablets, Mobiles (Landscape)
  ##Screen = B/w 481px to 767px
*/
@media (min-width: 481px) and (max-width: 767px) {
    .aui .dashboard-view-navg .btn {
        padding: unset !important;
    }
    html.aui .srp_bitools_dashboard_portlet .dashboard-view-body .view-chart-dashboard {
        height: calc(100% - 100px);
    }
    html.aui .srp_bitools_dashboard_portlet .dashboard-view-body .dashboard-view-navg .div-select2{
        float: right;
        margin: 0 auto;
        margin-top: 10px;
        width: 100%;
    }
    html.aui .srp_bitools_dashboard_portlet .dashboard-view-body .dashboard-view-navg{
        height: auto !important;
        display: inline-grid;
        width: 92%;

    }
    html.aui .srp_bitools_dashboard_portlet .dashboard-view-body .dashboard-view-navg .div-add-edit-btn-nvg{
        margin: 0 auto;
    }
    html.aui .srp_bitools_dashboard_portlet .dashboard-view-body .add-dashboard-panel{
        width: calc(100% - 15%);
        height: calc(100% - 22%);
    }
}

/*
  ##Device = Most of the Smartphones Mobiles (Portrait)
  ##Screen = B/w 320px to 479px
*/
@media (min-width: 320px) and (max-width: 480px) {
    .aui .dashboard-view-navg .btn {
        padding: unset !important;
    }
    html.aui .srp_bitools_dashboard_portlet .dashboard-view-body .view-chart-dashboard {
        height: calc(100% - 100px);
    }
    html.aui .srp_bitools_dashboard_portlet .dashboard-view-body .dashboard-view-navg .div-select2{
        float: right;
        margin: 0 auto;
        margin-top: 10px;
        width: 100%;
    }
    html.aui .srp_bitools_dashboard_portlet .dashboard-view-body .dashboard-view-navg{
        height: auto !important;
        display: inline-grid;
        width: 92%;

    }
    html.aui .srp_bitools_dashboard_portlet .dashboard-view-body .dashboard-view-navg .div-add-edit-btn-nvg{
        margin: 0 auto;
    }
    html.aui .srp_bitools_dashboard_portlet .dashboard-view-body .add-dashboard-panel{
        width: calc(100% - 15%);
        height: calc(100% - 22%);
    }
}