﻿/*@import url(HeaderFooter.css);*/
/*====================================================================
    Font Definitions
--------------------------------------------------------------------*/
@font-face {
  font-family: RobotoFallback;
  font-style: normal;
  font-weight: 300;
  src: local('Roboto Light'), local('Roboto-Light'), url(fonts/Roboto-300.woff2) format('woff2'), url(fonts/Roboto-300.woff) format('woff'), url(fonts/Roboto-300.ttf) format('truetype');
}
@font-face {
  font-family: RobotoFallback;
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Regular'), url(fonts/Roboto-400.woff2) format('woff2'), url(fonts/Roboto-400.woff) format('woff'), url(fonts/Roboto-400.ttf) format('truetype');
}
@font-face {
  font-family: RobotoFallback;
  font-style: normal;
  font-weight: 500;
  src: local('Roboto Medium'), local('Roboto-Medium'), url(fonts/Roboto-500.woff2) format('woff2'), url(fonts/Roboto-500.woff) format('woff'), url(fonts/Roboto-500.ttf) format('truetype');
}
@font-face {
  font-family: RobotoFallback;
  font-style: normal;
  font-weight: 700;
  src: local('Roboto Bold'), local('Roboto-Bold'), url(fonts/Roboto-700.woff2) format('woff2'), url(fonts/Roboto-700.woff) format('woff'), url(fonts/Roboto-700.ttf) format('truetype');
}
/*====================================================================
    Base Styles
--------------------------------------------------------------------*/
* {
  /*font-family: @font-family;*/
}
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-size: 14px;
  /*line-height: 1.25;*/
}
a {
  color: #e54c0c;
  text-decoration: none;
}
a:hover {
  color: #b53c09;
}
/*====================================================================
    Generic Classes
--------------------------------------------------------------------*/
.max-lines-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  display: box;
  line-clamp: 2;
  box-orient: vertical;
  overflow: hidden;
}
/*--------------------------------------------------------------------
    Avatar Image

    To use avatar image, create a div or span element and set 
    image url as background-image css property. Width can be set while 
    height will automatically set with 1:1 ratio.

    <div class="avatarImage" style="background-image: url(path-to-image.png);"></div>
--------------------------------------------------------------------*/
.avatarImage {
  width: 50px;
  height: 50px;
  border: 2px solid #333;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-image: url(../Assets/Images/avatar.svg);
}
/*====================================================================
    Bootstrap Components
--------------------------------------------------------------------*/
/* Grid */
.container {
  max-width: 1140px;
}
/*--------------------------------------------------------------------
    Button
--------------------------------------------------------------------*/
.btn {
  padding: 6px 12px;
  font-size: 12px;
}
.btn.focus,
.btn:focus {
  box-shadow: none;
}
.btn div.dxb {
  padding: 0;
}
.btn img {
  vertical-align: top;
}
.btn-sm {
  padding: 2px 12px;
}
.btn-primary {
  background-color: #e54c0c;
  border-color: #e54c0c;
}
.btn-primary:hover {
  background-color: #cd440b;
  border-color: #cd440b;
}
.btn-dark {
  background-color: #444;
  border-color: #444;
}
.btn-outline-primary {
  color: #e54c0c;
  border-color: #e54c0c;
}
.btn-outline-primary:hover {
  background-color: #e54c0c;
  border-color: #e54c0c;
}
.btn-tool-primary {
  color: #e54c0c;
  font-size: 12px;
  text-transform: uppercase;
}
.btn-tool-primary:hover {
  color: #e54c0c;
  border-color: #e54c0c;
}
.btn-tool-primary .fas {
  font-size: 14px;
}
.btn-tool-secondary {
  color: #6c757d;
  font-size: 12px;
  text-transform: uppercase;
}
.btn-tool-secondary:hover {
  color: #6c757d;
  border-color: #6c757d;
}
.btn-tool-secondary .fas {
  font-size: 14px;
}
/*--------------------------------------------------------------------
    Dropdown
--------------------------------------------------------------------*/
.dropdown-menu {
  font-size: 13px;
}
/*--------------------------------------------------------------------
    Form
--------------------------------------------------------------------*/
.form-control {
  font-size: 13px;
}
.form-clear {
  display: none;
  background: #ffff;
  border: 1px solid #ced4da;
  border-left: none;
}
/*--------------------------------------------------------------------
    Link
--------------------------------------------------------------------*/
.link-primary {
  color: #e54c0c;
}
/*--------------------------------------------------------------------
    List group
--------------------------------------------------------------------*/
.list-group-item {
  padding: 8px 15px;
}
/*--------------------------------------------------------------------
    Modal
--------------------------------------------------------------------*/
.modal {
  background-color: rgba(0, 0, 0, 0.5);
}
.modal-backdrop {
  background-color: transparent;
}
.modal-header {
  margin-top: -1px;
  padding: 10px 1rem;
  background: #333;
  color: #fff;
}
.modal-header .btn-close {
  background-image: none;
  color: #fff;
  text-shadow: none;
  font-size: 18px;
  line-height: 1;
}
.modal-header .btn-close:before {
  content: '×';
  font-size: 24px;
  line-height: 12px;
}
.modal-header .button-group {
  margin: -6px 0 -6px auto;
}
.modal-header .button-group .btn {
  color: #fff;
  opacity: 0.5;
}
.modal-header .button-group .btn:hover {
  opacity: 1;
}
.modal-header .button-group ~ .btn-close {
  margin-left: 0;
}
.modal-title {
  font-weight: bold;
}
/*--------------------------------------------------------------------
    Navs
--------------------------------------------------------------------*/
.nav-tabs .nav-link {
  color: #333;
}
.nav-tabs .nav-link:hover {
  color: #e54c0c;
  border-color: transparent;
}
.nav-tabs .nav-link.active {
  color: #e54c0c;
  border-color: transparent transparent #e54c0c;
  border-bottom-width: 3px;
}
/* Table */
.table td,
.table th {
  padding: 0.75rem 15px;
}
.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(0, 0, 0, 0.03);
}
.table-light td {
  position: relative;
  background-color: transparent;
  border-bottom: none;
}
.table-light td:before {
  display: block;
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  right: 0;
  border-top: 1px solid #e7e7e7;
}
.table-light td:first-child:before {
  left: 25px;
}
.table-light td:last-child:before {
  right: 25px;
}
.table-light tr:first-child td:before {
  display: none;
}
/* Sticky element */
.sticky-bottom {
  position: sticky;
  bottom: 0;
}
.sticky-bottom.fader:before {
  content: '';
  display: block;
  position: absolute;
  top: -1rem;
  left: 0;
  right: 0;
  height: 1rem;
  margin-top: -1px;
  background: linear-gradient(rgba(255, 255, 255, 0), white);
  pointer-events: none;
}
/*====================================================================
    DevExpress Components
----------------------------------------------------------------------
    DevExpress components in this project use Office365 theme.
--------------------------------------------------------------------*/
/* Form inputs */
.dxeButtonEdit_Office365 {
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
}
.dxeButtonEdit_Office365 td.dxic {
  padding: 0.375rem 0.75rem;
}
.dxeButtonEdit_Office365 input[type="text"].dxeEditAreaSys {
  font-size: 1rem;
  line-height: 1.5em;
}
.dxeButtonEditButton_Office365 {
  border-radius: 0 0.25rem 0.25rem 0;
}
/*--------------------------------------------------------------------
    List Box
--------------------------------------------------------------------*/
.dxeCaptionCell_Office365.dxeListBoxCTypeSys.table-header {
  padding: 10px;
  background: #555;
  color: #fff;
}
.dxeCaptionCell_Office365.dxeListBoxCTypeSys.table-header label {
  margin: 0;
}
/*--------------------------------------------------------------------
    Loading Panel
--------------------------------------------------------------------*/
#LoadingPanel {
  top: auto !important;
  left: 15px !important;
  bottom: 15px;
  border-radius: 4px;
  font-size: 12px;
  animation: LoadingPanel_In 0.4s;
}
#LoadingPanel_LD {
  background: rgba(0, 0, 0, 0.2);
  background: radial-gradient(circle at left bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4) 25%, rgba(0, 0, 0, 0.8));
  animation: LoadingPanel_LD_In 2s;
}
@keyframes LoadingPanel_In {
  from {
    margin-left: -150px;
  }
  to {
    margin-left: 0;
  }
}
@keyframes LoadingPanel_LD_In {
  from {
    opacity: 0;
  }
  to {
    opacity: 0.7;
  }
}
/* Menu */
.dxmLite_Office365 .dxm-main .dxm-hovered a.dx,
.dxmLite_Office365 .dxm-main .dxm-selected a.dx {
  color: inherit;
}
/* Panel */
/*.dxpnlControl_Office365 {
    font-family: @font-family;
}*/
/* Round Panel */
.dxrpControl_Office365 td.dxrpHeader_Office365 {
  padding-left: 15px;
  font-size: 1em;
}
/*--------------------------------------------------------------------
    Table List 
--------------------------------------------------------------------*/
.dxtlHeader_Office365 {
  padding: 10px;
  background: #555;
  color: #fff;
}
/*--------------------------------------------------------------------
    Toolbar
--------------------------------------------------------------------*/
.dxmLite_Office365 .dxctToolbar_Office365.dxm-main.dxmtb {
  padding: 0.5rem 0;
}
/*====================================================================
    Menu Pane (contextual menu bar)
---------------------------------------------------------------------*/
.menuPane {
  position: absolute;
  top: 50px;
  left: 0;
  right: 0;
  height: 50px;
  /*padding: 0 15px;
    display: flex;
    align-items: center;
    background: #d3d3d3;
    border-bottom: 1px solid #bbb;*/
  padding: 9px 15px;
  overflow-y: auto;
  white-space: nowrap;
}
.menuPane .btn {
  border-radius: 5px;
  border-color: transparent;
  background-color: #d3d3d3;
  color: #333;
}
.menuPane .btn:hover {
  border-color: #e54c0c;
}
/*====================================================================
    Side Pane
--------------------------------------------------------------------*/
.sidePane {
  position: absolute;
  top: 50px;
  left: 0;
  width: 210px;
  bottom: 24px;
  padding: 15px;
  overflow: auto;
}
.menuPane ~ .sidePane {
  top: 100px;
}
/*====================================================================
    Main Pane
--------------------------------------------------------------------*/
.mainPane {
  position: absolute;
  top: 50px;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: auto;
}
.has-footer .mainPane {
  bottom: 24px;
}
.menuPane ~ .mainPane {
  top: 100px;
}
.sidePane ~ .mainPane {
  left: 210px;
}
/*====================================================================
    Tiling Tabs Component
----------------------------------------------------------------------
    Tiling tabs allows you to arrange panels in a grid layout, which 
    converts into tabs on smaller screen
--------------------------------------------------------------------*/
.tilingTabs {
  height: 100%;
}
.tilingTabs .tabContainer {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 4px;
}
.tilingTabs .tabRow {
  display: flex;
  flex-grow: 1;
  margin: 0 -2px;
  overflow: hidden;
}
.tilingTabs .tabRow + .tabRow {
  margin-top: 4px;
}
.tilingTabs .tabCol {
  display: flex;
  flex-grow: 1;
  flex-direction: column;
  padding: 0 2px;
}
.tilingTabs .tabPane {
  height: 100%;
}
.tilingTabs .tabHeader {
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: 3px 3px 0 0;
  background: #333;
  color: #fff;
  font-size: 14px;
  line-height: 14px;
  text-transform: uppercase;
}
.tilingTabs .tabHeader + .tabBody {
  border-top: none;
}
.tilingTabs .tabBody {
  flex-grow: 1;
  overflow: auto;
  border: 1px solid #d3d3d3;
}
.tilingTabs .tabNav {
  display: none;
}
@media (max-width: 767px) {
  .tilingTabs {
    display: flex;
    flex-direction: column;
    padding: 4px;
  }
  .tilingTabs .tabNav {
    display: flex;
    height: 30px;
    flex-shrink: 0;
    border-radius: 3px 3px 0 0;
    background: #fff;
  }
  .tilingTabs .tabNav a {
    flex-grow: 1;
    padding: 8px 16px;
    background: #333;
    color: #fff;
    font-size: 14px;
    line-height: 14px;
    text-transform: uppercase;
    text-decoration: none;
    transition: opacity 0.3s;
  }
  .tilingTabs .tabNav a:first-child {
    border-top-left-radius: 3px;
  }
  .tilingTabs .tabNav a:last-child {
    border-top-right-radius: 3px;
  }
  .tilingTabs .tabNav a.active {
    opacity: 0.9;
  }
  .tilingTabs .tabContainer {
    position: relative;
    display: block;
    padding: 0;
  }
  .tilingTabs .tabRow {
    position: static;
    display: block;
    margin: 0;
  }
  .tilingTabs .tabCol {
    position: static;
    display: block;
    padding: 0;
  }
  .tilingTabs .tabCol[data-tab] {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    max-width: unset;
    width: 100%;
    height: 100%;
  }
  .tilingTabs .tabCol[data-tab].active {
    display: block;
  }
  .tilingTabs .tabHeader {
    display: none;
  }
  .tilingTabs .tabBody {
    height: 100%;
    border-top: none;
  }
}
/*====================================================================
    LEGACY CODES TO BE REFACTORED
--------------------------------------------------------------------*/
/* Left Panel */
.leftPane.panel {
  padding: 1px;
  width: 200px;
}
/* Right Panel */
.rightPane.panel {
  padding: 0;
  width: 250px;
}
/* Account */
.accountHeader h2 {
  margin: 10px 0 7px 0;
  font-size: 16px;
}
.accountHeader p {
  margin: 0;
  padding: 0;
}
.accountHeader {
  margin-bottom: 20px;
}