html {
  font-size: 14px !important;
  background-color: #fff;
  height: 100%;
  width: 100%;
  overflow-x: hidden !important;
  overflow-y: hidden !important;
}
body {
  padding: 0;
  margin: 0;
  height: 100%;
  width: 100%;
}

.dummyscroll {
  background-color: aqua;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: -100px;
}

#app {
  font-family: "Avenir", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #4b4b4b;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

.mainWrapper {
  height: 100%;
  width: 100%;
  display: flex;
}
.contentwrapper{
   flex-grow: 1;
   display: flex;
   flex-direction: column;
}
.contentheader {
  background-color: #0065a6;
  display: flex;
  align-items: center;
  height: 38px;
  padding: 0 10px 0 3px;
}
.contentheader .head {
  color: white;
  flex-grow: 1;
}
.contentheader .navbuttons {
  color: white;
  padding-right: 10px;
}
.contentheader .navbuttons {
  color: white;
  padding-right: 10px;
}
.contentheadersub {
  background-color: #338dc6;
  display: flex;
  align-items: center;
  height: 38px;
  padding: 0 10px 0 3px;
}
.contentheadermobile {
  background-color: #338dc6;
  padding: 5px;
}
/* icon button */
.iconbuttonsm{
  width:24px;
  height:24px;
  padding: 2px 0;
  text-align: center;
  cursor: pointer;
}
.iconbutton{
  width:24px;
  height:24px;
  padding: 2px 0;
  text-align: center;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}
.iconbutton2x{
  width:32px;
  height: 32px;
  padding: 2px 0;
  text-align: center;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}
.iconbutton3x{
  width:46px;
  height: 46px;
  padding: 2px 0;
  text-align: center;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}
.iconbutton4x{
  width:60px;
  height: 60px;
  padding: 2px 0;
  text-align: center;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}
.iconbutton5x{
  width:90px;
  height:90px;
  padding: 2px 0;
  text-align: center;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}
.iconbuttontext {
  display: inline-flex;
  padding: 2px 0;
  text-align: center;
  cursor: pointer;
}
.iconbuttontext span {
  margin-left: 5px;
}
.inputwithbutton {
  display: flex;
}
.inputwithbuttonleftbg {
  flex-grow: 1;
}
.inputwithbuttontext {
  width: 100%;
  background-color: white;
  border-color: #dbdbdb;
  border-radius: 7px 0 0 7px;
  color: #363636;
  font-size: 1rem;
  height: 60px;
  line-height: 1.5;
  padding-bottom: calc(0.375em - 1px);
  padding-left: calc(0.625em - 1px);
  padding-right: calc(0.625em - 1px);
  padding-top: calc(0.375em - 1px);
  resize: none;
}
.inputwithbuttontext:not([rows]) {
  max-height: 600px;
  min-height: 120px;
}
.contentbody {
  flex-grow: 1;
  display: flex;
}
.contentsroll {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: auto;
}
/* Content left */
.contentleft{
  display: flex;
  width: 100%;
  flex-direction: column;
  box-shadow: 1px 2px 4px rgba(0,0,0,.5);
    z-index: 2;
}
.contentleft-inner{
  display: flex;
  height: 100%;
  flex-direction: column;
  width: 100%;
}
.contentleft-header{
  background-color: #e8e8f0;
  padding: 5px;
  color: #494383;
  display: flex;
  align-items: center;
}
.contentleft-header-searchbox {
  flex-grow: 1;
}
.contentleft-body{
  flex-grow: 1;
  background: #f8f8f8;
}
.contentleft-body-inner{
  background-color: #e8e8f0;
  padding: 5px;
  color: #494383;
}
.contentleft-foot{
  background-color: #e8e8f0;
  padding: 5px;
  color: #494383;
  display: flex;
}
/* Content right */
.contentright{
  display: flex;
  width: 100%;
}
.contentright-inner{
  display: flex;
  width: 100%;
  height: 100%;
}
.contentright-nav{
  background-color: #efefef;
    padding: 0;
    height: 100%;
    min-width: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contentright-body{
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.contentright-body-header{
  display: flex;
  align-items: center;
}
.contentright-body-body{
  flex-grow: 1;
}
.contentright-body-footer{

}
/* content foot  */
.contentfooter {
  
}

/* form elements */
input[type="button"]
{
    border: none;
    outline:none;
}
*:focus {
    outline: 0 !important;
}

/* tasks */
.tsk{
  background-color: white;
  border-radius: 7px;
  padding: 7px;
}
.tskleft{
  padding: 5px 0 0 5px;
  min-width: 45px;
}
.tskhead{
  display: flex;
  align-items: center;
}
.tskbody{
  flex-grow: 1;
}
.tskNoPad {
  margin-top: -7px;
  margin-left: -7px;
  margin-right: -7px;
}
.tskshadow {
  -webkit-box-shadow: 1px 1px 3px 2px rgba(227,227,227,1);
  -moz-box-shadow: 1px 1px 3px 2px rgba(227,227,227,1);
  box-shadow: 1px 1px 3px 2px rgba(227,227,227,1);
}

.pill-left {
  border-top-left-radius: 7px;
  border-bottom-left-radius: 7px;
  border-left: 1px #dbdbdb solid !important;
  border-top: 1px #dbdbdb solid !important;
  border-bottom: 1px #dbdbdb solid !important;
  padding: 7px;
}
.pill-middle {
  border-top: 1px #dbdbdb solid !important;
  border-bottom: 1px #dbdbdb solid !important;
  padding: 7px;
}
.pill-right {
  border-top-right-radius: 7px;
  border-bottom-right-radius: 7px;
  border-right: 1px #dbdbdb solid !important;
  border-top: 1px #dbdbdb solid !important;
  border-bottom: 1px #dbdbdb solid !important;
  padding: 7px;
}

.roundedtop{
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}
.roundedleft{
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
}
.roundedright{
	border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}
.roundedbottom{
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
}

.roundedbottomleft {
  border-bottom-left-radius: 6px;
}
.roundedbottomright {
  border-bottom-right-radius: 6px;
}

.rounded50{
	border-radius: 50px;
}
.rounded50p{
  border-radius: 50%;
  min-width: 22px;
  padding: 2px;
  text-align: center;
}

.completed {
  opacity: 0.3;
}

.shipped {
  color: #58a152;
}

/* buttons */


/* layout elements */
img {
  width: 100%;
  height: auto;
  border: none;
}
.isFlex {
  display: flex;
}
.isFlexHeight {
  height: 100%;
}
.isFlexCol {
  flex-direction: column;
}
.isFlexAlign{
  align-items: center;
}
.isFlexAlignBottom{
  align-items: flex-end;
}
.isFlexEnd{
  justify-content: flex-end;
}
.isFlexJustify{
  justify-content: center;
}
.isFlexGrow {
  flex-grow: 1;
}
.flexGrow {
  flex-grow: 1;
}
.isFlexShrink{
	flex-shrink: 1;
}
.isFlexFlow {
	flex-flow: row nowrap;
}
.isFlexWrap {
	flex-wrap: wrap;
}
.isFlexSpace{
	justify-content: space-between;
}
.isPointer {
  cursor: pointer;
}
/* text */
.txtsm { font-size: 0.8em !important; }
.txtmd { font-size: 0.9em !important; }
.txtlg { font-size: 1.1em !important; }
.txth1{ font-size: 2.1em !important; }
.txth2{ font-size: 1.9em !important; }
.txth3{ font-size: 1.7em !important; }
.txth4{ font-size: 1.5em !important; }
.txth5{ font-size: 1.3em !important; }
.txth6{ font-size: 1.2em !important; }
.txtl { text-align: left !important; }
.txtc { text-align: center !important; }
.txtr { text-align: right !important; }
.txt p { margin-bottom: 3px !important; }
.txtbold { font-weight: bold !important; }
.txtitalic { font-style: italic !important; }
/* margins */
.m0{ margin: 0 !important; }
.mt0{ margin-top: 0px !important; }
.ml0{ margin-left: 0px !important; }
.mr0{ margin-right: 0px !important; }
.mb0{ margin-bottom: 0px !important; }
.m3{ margin: 3px !important; }
.mv3{ margin: 3px 0 !important; }
.mh3{ margin: 0 3px !important; }
.mt3{ margin-top: 3px !important; }
.ml3{ margin-left: 3px !important; }
.mr3{ margin-right: 3px !important; }
.mb3{ margin-bottom: 3px !important; }
.m5{ margin: 5px !important; }
.mv5{ margin: 5px 0 !important; }
.mh5{ margin: 0 5px !important; }
.mt5{ margin-top: 5px !important; }
.ml5{ margin-left: 5px !important; }
.mr5{ margin-right: 5px !important; }
.mb5{ margin-bottom: 5px !important; }
.m7{ margin: 7px !important; }
.mv7{ margin: 7px 0 !important; }
.mh7{ margin: 0 7px !important; }
.mt7{ margin-top: 7px !important; }
.ml7{ margin-left: 7px !important; }
.mr7{ margin-right: 7px !important; }
.mb7{ margin-bottom: 7px !important; }
.m9{ margin: 9px !important; }
.mv9{ margin: 9px 0 !important; }
.mh9{ margin: 0 9px !important; }
.mt9{ margin-top: 9px !important; }
.ml9{ margin-left: 9px !important; }
.mr9{ margin-right: 9px !important; }
.mb9{ margin-bottom: 9px !important; }
.m11 { margin: 11px !important; }
.mv11 { margin: 11px 0 !important; }
.mh11 { margin: 0 11px !important; }
.mt11 { margin-top: 11px !important; }
.mb11 { margin-bottom: 11px !important; }
.ml11 { margin-left: 11px !important; }
.mr11 { margin-right: 11px !important; }
.mv13{ margin: 13px !important; }
.mb13 { margin-bottom: 13px !important; }
.mv15{ margin: 15px 0 !important; }
.mb15 { margin-bottom: 15px !important; }
/* padding */
.p0{ padding: 0 !important; }
.p3{ padding: 3px !important; }
.pv3{ padding: 3px 0 !important; }
.pt3{ padding-top: 3px !important; }
.pl3{ padding-left: 3px !important; }
.pr3{ padding-right: 3px !important; }
.pb3{ padding-bottom: 3px !important; }
.p5{ padding: 5px !important; }
.pv5{ padding: 5px 0 !important; }
.pt5{ padding-top: 5px !important; }
.pl5{ padding-left: 5px !important; }
.pr5{ padding-right: 5px !important; }
.pb5{ padding-bottom: 5px !important; }
.p7{ padding: 7px !important; }
.pv7{ padding: 7px 0 !important; }
.pt7{ padding-top: 7px !important; }
.pl7{ padding-left: 7px !important; }
.pr7{ padding-right: 7px !important; }
.pb7{ padding-bottom: 7px !important; }

.p9{ padding: 9px !important; }
.pv9{ padding: 9px 0 !important; }
.pt9{ padding-top: 9px !important; }
.pl9 { padding-left: 9px !important; }
.pr9 { padding-right: 9px !important; }
.pb9 { padding-bottom: 9px !important; }

.p11{ padding: 11px !important; }
.pv11{ padding: 11px 0 !important; }
.pt11{ padding-top: 11px !important; }
.pl11 { padding-left:11px !important; }
.pr11 { padding-right:11px !important; }
.pb11 { padding-bottom: 11px !important; }

.w50 { width: 50px !important; }
.w70 { width: 70px !important; }
.w90 { width: 90px !important; }
.w120 { width: 120px !important; }
.w150 { width: 150px !important; }
.w300 { width: 300px !important; }
.w100p { width: 100% !important; }
.w50p { width: 50% !important; }
.w40p { width: 40% !important; }
.w33p { width: 33% !important; }
.w25p { width: 25% !important; }
.w20p { width: 20% !important; }
.w10p { width: 10% !important; }

.sp20 {
  height: 20px;
}

/* colours */
.white { color: white !important; }
.whitebg { background-color: white !important; }
.vlgrey { color: #f8f8f8 !important; }
.vlgreybg { background-color: #f2f2f2 !important; }
.vlgreyborder { border: 1px #f2f2f2 solid !important; }
.lgrey { color: #EFEFEF !important; }
.lgreybg { background-color: #EFEFEF !important; }
.lgreyborder { border: 1px #dbdbdb solid !important; }
.lgreyborderbottom { border-bottom: 1px #dbdbdb solid !important; }
.lblue { color: #e8e8f0 !important; }
.lbluebg { background-color: #e8e8f0 !important; }
.red { color: #CC0000 !important; }
.redbg { background-color: #CC0000 !important; }
.lredbg { background-color: #fae6e6 !important; }
.redborder { border: 1px solid #CC0000 !important; }
.redborderbottom { border-bottom: 1px solid #CC0000 !important; }
.midgrey { color: rgb(100, 100, 100) !important; }
.midgreybg { background-color: rgb(100, 100, 100) !important; }
.midgreybgborder{ border: 1px solid rgb(100, 100, 100) !important; }
.midgreybgborderbottom { border-bottom: 1px solid rgb(100, 100, 100) !important; }
.darkgrey { color: rgb(77, 77, 77) !important; }
.darkgreybg { background-color: rgb(77, 77, 77) !important; }
.inputbg { background-color: #dbdbdb !important; }
.inputbr { border: 1px #dbdbdb solid !important; }

.greenbg { background-color: #0bf33d !important; }

.bluebg1 { background-color: #e8e8f0 !important; }
.bluetxt1 { color: #e8e8f0 !important; }
.blueborder1 { border: 1px solid #e8e8f0 !important; }
.blueborder1bottom { border-bottom: 1px solid #e8e8f0 !important; }

.bluebg2 { background-color: #d1d0e0 !important; }
.bluetxt2 { color: #d1d0e0 !important; }
.blueborder2 { border: 1px solid #d1d0e0 !important; }
.blueborder2bottom { border-bottom: 1px solid #d1d0e0 !important; }

.bluebg3 { background-color: #bbb9d1 !important; }
.bluetxt3 { color: #bbb9d1 !important; }
.blueborder3 { border: 1px solid #bbb9d1 !important; }
.blueborder3bottom { border-bottom: 1px solid #bbb9d1 !important; }

.bluebg4 { background-color: #a4a1c1 !important; }
.bluetxt4 { color: #a4a1c1 !important; }
.blueborder4 { border: 1px solid #a4a1c1 !important; }
.blueborder4bottom { border-bottom: 1px solid #a4a1c1 !important; }

.bluebg5 { background-color: #8d8ab2 !important; }
.bluetxt5 { color: #8d8ab2 !important; }
.blueborder5 { border: 1px solid #8d8ab2 !important; }
.blueborder5bottom { border-bottom: 1px solid #8d8ab2 !important; }

.bluebg6 { background-color: #7672a2 !important; }
.bluetxt6 { color: #7672a2 !important; }
.blueborder6 { border: 1px solid #7672a2 !important; }
.blueborder6bottom { border-bottom: 1px solid #7672a2 !important; }

.bluebg7 { background-color: #5f5b93 !important; }
.bluetxt7 { olor: #5f5b93 !important; }
.blueborder7 { border: 1px solid #5f5b93 !important; }
.blueborder7bottom { border-bottom: 1px solid #5f5b93 !important; }

.bluebg8 { background-color: #494383 !important; }
.bluetxt8 { color: #494383 !important; }
.blueborder8 { border: 1px solid #494383 !important; }
.blueborder8bottom { border-bottom: 1px solid #494383 !important; }

.bluebg9 { background-color: #322c74 !important; }
.bluetxt9 { color: #322c74 !important; }
.blueborder9 { border: 1px solid #322c74 !important; }
.blueborder9bottom { border-bottom: 1px solid #322c74 !important; }

.bluebg10 { background-color: #1b1464 !important; }
.bluetxt10 { color: #1b1464 !important; }
.blueborder10 { border: 1px solid #1b1464 !important; }
.blueborder10bottom { border-bottom: 1px solid #1b1464 !important; }

.shadow {
	box-shadow: 1px 2px 4px rgba(0,0,0,.5);
}

div[scrollx=true], div[scrolly=true] {
  position: relative;
  overflow: hidden;
  scrollbar-width: 0;
  ::-webkit-scrollbar {
    display: none;
  }
}

div[scrollx=true] {
  overflow-x: auto;
}

div[scrolly=true] {
  overflow-y: auto;
}

.scrollx {
  position: relative;
  overflow: hidden;
  scrollbar-width: 0;
  ::-webkit-scrollbar {
    display: none;
  }
}

.scrolly {
  overflow-y: auto;
  height: 0px;
  scrollbar-width: 0;
  ::-webkit-scrollbar {
    display: none;
  }
}

.ctable {
  border-collapse:collapse; 
  width: 100%;
}
.ctable tbody tr:nth-child(2n+1){
  background:white !important;
}
.ctable tbody tr:nth-child(2n+2){
  background:#f8f8f8 !important;
}
.ctable tbody tr:last-child {
  border-radius: 0 7px 7px;
}
.ctable td:first-child {
  padding-left: 11px !important;
}
.ctable th:first-child {
  padding-left: 11px !important;
}
.ctable td, th {
  padding: 5px 5px !important;
}
.ctable th {
  padding: 5px 5px !important;
  border-bottom: 1px solid #EFEFEF;
}

.dtable {

}
.dtable-divider {
  display: flex;
  background-color: #EFEFEF;
  border: 1px solid #EFEFEF;
  align-items: center;
}
.dtable-row {
  display: flex;
}
.dtable-row-left {
  padding: 2px 2px 2px 0;
  min-width: 100px;
  max-width: 100px;
}
.dtable-row-middle {
  padding: 2px 2px 2px 0;
  flex-grow: 1;
}
.dtable-row-right {
  padding: 2px 2px 2px 2px;
  display: flex;
}

.thumb {
  object-fit: cover;
}

.thumb-xsm {
  width: 30px;
  height: 30px;
}

.thumb-sm {
  width: 50px;
  height: 50px;
}

.thumb-lg {
  width: 100px;
  height: 100px;
}

.thumb-xlg {
  width: 180px;
  height: 180px;
}

.thumb-xxlg {
  width: 250px;
  height: 250px;
}

.thumb-circle {
  border-radius: 50% !important;
}

.thumb-round-corners {
  border-radius: 9px !important;
}

/* edtor todos: start */
ul[data-type="todo_list"] {
  padding-left: 0;
}

li[data-type="todo_item"] {
  display: flex;
  flex-direction: row;
}

.todo-checkbox {
  border: 2px solid #666666;
  height: 0.9em;
  width: 0.9em;
  box-sizing: border-box;
  margin-right: 10px;
  margin-top: 0.3rem;
  user-select: none;
  -webkit-user-select: none;
  cursor: pointer;
  border-radius: 0.2em;
  background-color: transparent;
  transition: 0.4s background;
}

.todo-content {
  flex: 1;
}

.todo-content p:last-of-type {
  margin-bottom: 0;
}

.todo-content ul[data-type="todo_list"] {
  margin: .5rem 0;
}

li[data-done="true"] .todo-content p {
  text-decoration: line-through;
}

li[data-done="true"] .todo-checkbox {
  background-color: #666666;
}

li[data-done="false"] {
  text-decoration: none;
}
/* edtor todos: end */

/* columns: start */
.calcontainer {
  flex: 1; display: flex; height: 100%; overflow: hidden; position: relative;
}
.calcontainer-inner {
  display: flex; flex-direction: column; height: 100%; width: 100%;
}
.calcol {
  width: 300px; display: flex; flex-direction: column; border-right: 1px solid white;
}
.calcol-tasks {
  position: fixed; top: 71px; left: 0; bottom: 30px; width: 300px; display: flex; flex-direction: column; z-index: 10;
}
.calcol-head {
  height: 33px; display: flex; align-items: center; padding: 0 5px;
}
/* columns: end */

/* pop up */
.ctm-backdrop {
  position: absolute; 
  left: 0; 
  right: 0; 
  top: 0; 
  height:100%; 
  bottom: 0; 
  background-color: rgba(0,0,0,.5); 
  z-index: 10; 
  display: flex; 
  justify-content: center; 
  align-items: center;
  border-radius: 7px;
}
.ctm-modal{
  max-height: calc(100% - 50px); 
  min-width: 450px;
}
.ctm-modal-large{
  max-height: calc(100% - 50px); 
  min-width: 650px;
}
.ctm-modal-full{
  max-height: calc(100% - 50px); 
  min-width: 98%;
  max-width: 98%;
}
.ctm-header{
  border-radius: 7px 7px 0 0;
  background-color: white;
  padding: 3px;
  display: flex;
}
.ctm-body {
  min-height: 100px;
  background-color: white;
  overflow: auto;
  max-height: 500px;
}
.ctm-footer{
  border-radius: 0 0 7px 7px;
  background-color: white;
  padding: 7px;
  display: flex;
}

.cttab {
  background-color: #bbb9d1;
  border-top-left-radius: 7px;
  border-top-right-radius: 7px;
  height: 30px;
  margin-top: 8px;
  margin-left: 7px;
  padding: 5px 10px;
  width: 130px;
  text-align: center;
  cursor: pointer;
}
/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
  .ctm-modal{
    max-height: calc(100% - 50px); 
    min-width: 98%;
    max-width: 98%;
  }
  .ctm-modal-full{
    max-height: calc(100% - 50px); 
    min-width: 98%;
    max-width: 98%;
  }
  .ctm-modal-large{
    max-height: calc(100% - 50px); 
    min-width: 98%;
    max-width: 98%;
  }
  .ctm-body {
    max-height: 400px;
  }
}
/* pop up: end */
