/* html {
  zoom: 1.3;
} */

body {
  background-color: #444444;
  /*cursor: url('../img/finger.png'), auto;*/
}

.platform-webview.platform-ios.platform-cordova .my-order-header{
  margin-top:53px;
  /* On iOS, moving a div out of ion-content,
  I think you need to compensation for the 20px system status bar.
  so it's 43px+20px=63px. but I'm not so sure, it hasn't been tested.
  Test it yourself and make modifications if needed.
  */
}

.my-order-header
{
  margin-top:55px;
  height:160px;
  width:95%;
  position:absolute;
  /*padding:20px;*/
}

.my-order-header-2 {
  margin-top:55px;
  height:107px;
  width:95%;
  position:absolute;
}

.my-order-content {
  margin-top:170px!important;
}

.my-order-content-2 {
  margin-top:117px!important;
}

.my-order-content-1 {
  margin-top:65px!important;
}

.my-pdf-edit-content {
  margin-top:0px!important;
}

.my-file-edit-content {
  margin-top:90px!important;
}

.platform-webview.platform-ios.platform-cordova .my-order-content{
  margin-top:170px;
  /*
  Same as .fixed-header
  */
}

input[type=text], input[type=password], input[type=number], textarea {
  margin-right: 15px;
  text-overflow: none!important;
  border: 1px solid #ccc;
  box-shadow: inset 0 1px 3px #ddd;
  border-radius: 4px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding-left: 10px;
  padding-right: 10px;
  font-size: 14px;
  /*display: inline-block;*/
}

input[type=number] {
  text-align: right;
  padding-right: 20px;
}

textarea {
  margin-left: 20px;
}

.cl-green {
  color: green!important;
}

.cl-red {
  color: red!important;
}

.cl-blue {
  color: blue!important;
}

.cl-navy {
  color: navy!important;
}

.cl-gray {
  color: gray!important;
}

.cl-browsn {
  color: brown!important;
}

.height10 {
  height: 10px!important;
  line-height: 10px!important;
  min-height: 10px!important;
}

.select-button {
  padding:5px 10px;
  margin-top:18px;
}

.text-left {
  text-align: left!important;
}

.text-right {
  text-align: right!important;
}

.text-center {
  text-align: center!important;
}

.roller-shutter-left {
  float:left;
  margin-left:30px;
  cursor:pointer;
  cursor: hand;
  /*width:36px !important;
  height:36px !important;*/
}
.roller-shutter-right {
  float:right;
  margin-left:10px;
  cursor:pointer;
  cursor: hand;
  /*width:36px!important;
  height:36px!important;*/
}

.has-footer.has-tabs {
  bottom: 93px;
}

.sub-footer{
  bottom:50px !important;
}

/*.circle:before {*/
  /*content: ' \25CF';*/
  /*font-size: 120px;*/
  /*box-shadow: 0 -6px 12px rgba(0, 0, 0, 0.2);*/
/*}*/


.item-scene {
  padding: 0px 0 40px 30%;
}
.item-scene img {
  /*margin-top:10px;*/
  /*margin-left: 10%;*/
  max-height:70px !important;
  max-width:70px !important;
  border-radius:0!important;
}
.item-scene h2 {
  padding-top:25px;
  font-size: 1.0rem;
}

/*@media only screen and (max-width: 639px) {*/
  .item-home {
    padding-top:2vh!important;
    padding-bottom:2vh!important;
    border-radius: 10px;
  }

  a.item-home:hover {
    background: #387EF5;
  }

  .item-home h2{
    padding-top:2.5vh;
    font-size: 1.2rem;
    font-size: 5.5vw;
    color: #fff;
  }
  .item-home h4{
    font-size: 0.8rem;
    font-size: 4vw;
    color: silver;
  }
  .item-home span{
    font-size: 1rem;
    font-size: 4vw;
  }
  .item-home img{
    border-radius:0!important;
  }
/*}*/

/*@media only screen and (min-width: 640px) {

  .item-home {
    padding-top: 30px;
    padding-bottom: 26px;
    margin-left: 36px;
  }

  .item-home h2{
    padding-top:8px;
    font-size: 2rem;
  }
  .item-home span{
  }
  .item-home img{
    margin-top:0px;
    max-height:80px !important;
    max-width:80px !important;
    border-radius:0!important;
  }
}*/

/*span.badge {
  min-width: inherit !important;
  padding: 2px 6px;
}*/

.popover {
  border-radius: 5px !important;
/*  left: initial !important;
  right: 16px !important;
  top: 16px !important;*/
}

.popover .bar-header {
  border-top-left-radius: 5px !important;
  border-top-right-radius: 5px !important;
}

.platform-android .popover {
  border-radius: 5px !important;
  /*margin-top:10px;*/
}

ion-popover-view.fit {
  height: auto;
}

ion-popover-view.fit ion-content {
  position: relative;
}

.platform-android ion-popover-view.fit {
  margin-top: 10px;
}

.platform-ios ion-popover-view.fit {
  padding-top: 10px;
  padding-bottom: 10px;
}

/*.popover {
    height: auto !important;
}
.popover ion-header-bar {
    position: relative;
}
.popover ion-content {
    top: 0;
    position: relative;
}*/

.player:nth-child(even) {
  background: #353431;
}
.player:nth-child(odd) {
  background: #202020;
}
.player:nth-child(11) {
  /*background: red;*/
  border-bottom: 2px;
  border-left: 0;
  border-right: 0;
  border-color: red;
}

.select-modal {
  width: 90%;
  height: 80%;
  min-height: 0;
  max-height: 400px;
  top: 15%;
  left: 5%;
  right: 5%;
  border-radius: 5px !important;
}

.fm-login {
  width: 80%;
  height: 90%;
  min-height: 0;
  max-height: 500px;
  top: 6%; left: 10%;
  right: 10%;
  /*bottom: 20%;*/
  border-radius: 5px !important;
}

/*force show modal */
.modal-backdrop-bg {
  background-color: #000 !important;
  opacity: 0.5;
}


/*ionic popup round corner*/
.myPopup > .popup {
  border-radius: 5px !important;
}

.myPopupError > .popup {
  border-radius: 5px !important;
  background: #FFCCCC;
}

.popup-head {
  /*border-bottom: 1px dashed #999999;*/
}

/**
 * ion-footer-bar custom styles
 */
.bar-no-shadow, .button-bar {
  box-shadow: none;
}
.bar .button {
  min-height: 44px;
  min-width: 44px;
  max-width: initial;
  margin-bottom: 0;
  max-height: 44px;
  /*width: initial;*/
  text-transform: none;
  padding: 0;
}


.my-button div {
  font-size: 14px;
}
.my-button a:link {
    text-decoration: none;
}
.my-button a:visited {
    text-decoration: none;
}
.my-button a:hover {
    text-decoration: underline;
}
.my-button a:active {
    text-decoration: underline;
}

.list .item.item-accordion {
  /* line-height: 38px; */
  /* padding-top: 0; */
  /* padding-bottom: 0; */
  transition: 0.09s all linear;
}
.list .item.item-accordion.ng-hide {
  line-height: 0px;
}
.list .item.item-accordion.ng-hide-add,
.list .item.item-accordion.ng-hide-remove {
  display: block !important;
}

.ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 2.5rem;
}
.nowrap {
  white-space: nowrap;
}

/*.item .badge {
  margin-right: 20px
}*/
/* reset button text */
.item-select select {
  max-width: 100%;
}

.list {
  /*margin-bottom: 0px;*/
}

.list .item {
  /*border-bottom: solid 1px rgba(0,0,0,.12);*/
}

.border-bottom {
  border-bottom: solid 1px rgba(0,0,0,.12)!important;
}

.button-bar > .button, .button {
  text-overflow: clip;
}

.button {
  text-transform: none;
}


.ion-fa {
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  text-rendering: 20px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transform: translate(0, 0);
  font-family: "fontawesome";
  font-size: inherit;
}

.ion-fa-binoculars::before,
.ion-fa-binoculars-outline::before {
  content: "\f1e5";
}

.ion-fa-play::before,
.ion-fa-play-outline::before {
  content: "\f01d";
}

.ion-fa-history::before,
.ion-fa-history-outline::before {
  /*@extend .fa-icons-general;*/
  content: "\f1da";
}

.ion-ios-fa-bullhorn::before,
.ion-ios-fa-bullhorn-outline::before,
.ion-md-fa-bullhorn::before {
  content: "\f0a1";
}

.home-item {
  position: absolute;
  margin: auto;
  top: 40px;
  left: 20%;
  right: 0;
  bottom: 0;
}

.menu-item i {
  /*padding-right:30px !important;*/
}

.menu-item span {
  font-size: 16px;
  padding-left: 16px;
}

.play-now{
  position: absolute;
  margin: auto;
  top: 150px;
  right: 0;
  bottom: 0;
}

.home-bg{
  /*background:url('../img/sky.png') no-repeat; /*center center fixed;*/
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
}

.bg-image {
  position: no-repeat fixed;
  width: 110%;
  height: 110%;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
}

.white{
  color:#FFFFFF;
}

.gray {
  color: gray;
}

.silver {
  color: silver;
}

.no-padding{
  padding: 0;
}

.button-dialog {
  margin: 0px 40px 0px 40px !important;
  line-height: 42px !important;
  border-style: none;
  border-color: silver !important;
  border-width: 1px !important;
}

.button-dialog2 {
  padding: 0px 12px 0px 20px !important;
  line-height: 42px !important;
  border-style: none;
  border-color: silver !important;
  border-width: 1px !important;
}


.uppercase {
  text-transform: uppercase;
}

.lowercase {
  text-transform: lowercase;
}

.capitalize {
  text-transform: capitalize;
}

.capitalize-first:first-letter  {
  text-transform: capitalize;
}

.center {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-direction: normal;
  -moz-box-direction: normal;
  -webkit-box-orient: horizontal;
  -moz-box-orient: horizontal;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: nowrap;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-box-pack: center;
  -moz-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-align-content: stretch;
  -ms-flex-line-pack: stretch;
  align-content: stretch;
  -webkit-box-align: center;
  -moz-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}

/* Empty. Add your own CSS if you like */
/* Utilities */

.link {
    color: #116262;
    font-weight: bold;
}

h4 {
    color: #116262;
    font-size: 22px;
    margin-bottom: 16px;
}

h4:first-child {
    border-top: none;
    padding-top: initial;
}

.title-bordered {
    border-top: solid 2px #bbb;
    padding-top: 30px;
}

p {
    color: #555;
    margin: 0 0 25px;
}

.no-border {
    border: none;
}

.static {
    position: static;
}

.bold {
    font-weight: bold;
}

.border-top {
    border-top: solid 1px #ccc;
    padding-top: 30px;
}

.blue-grey-900 {
    background-color: #263238 !important;
    color: #fff;
}
/* Menu */

.menu .bar.bar-header.expanded {
  background-image: url('../img/bg-gray.png');
  background-color: silver;
  background-size: 120%;
  background-position: 0%;
  transition: all .5s ease-in-out;
}

.menu.menu-left * {
  font-weight: bold;
}

/*.item-radio input:checked ~ .item-content {
    background: transparent;
}*/

.item-complex .item-content, .item-radio .item-content {
  background: transparent;
}


.menu-open .ion-navicon {
    transform: rotate(-360deg);
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.menu-open .ion-navicon:before {
    content: "\f2ca";
}

.item.item-radio .radio-icon {
    opacity: 1;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.item.item-radio:active .radio-icon {
    opacity: 0;
    transform: scale(1.6);
    -webkit-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;
}

.directions.button-bar {
    margin: 0 auto;
    width: 33.333%;
}

.directions.button-bar button {
    line-height: 26px;
}

.ion-arrow-right-c.top-left:before {
    transform: rotate(-135deg);
}

.ion-arrow-right-c.top-right:before {
    transform: rotate(-45deg);
}

.ion-arrow-right-c.bottom-left:before {
    transform: rotate(-225deg);
}

.ion-arrow-right-c.bottom-right:before {
    transform: rotate(45deg);
}

#modal {
    background-color: #ef4e3a;
    border-radius: 100%;
    box-shadow: 0 -6px 12px rgba(0, 0, 0, 0.2);
    position: fixed;
    height: 50%;
    bottom: 0;
    opacity: 0;
    width: 700px;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.expand #modal {
    background-color: #DBDBDB;
    border-radius: 0;
    border-top: solid 4px #ef4e3a;
    opacity: 1;
    z-index: 9;
}
/* CODE */

.code {
    color: #333;
    font-family: monospace;
    padding: 10px;
    white-space: pre;
}

.code-wrapper {
    padding-bottom: 30px;
    padding-top: 15px;
}

.code-wrapper::before {
    color: #1B5E20;
    font-family: "Ionicons";
    speak: none;
    font-size: 18px;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    text-rendering: auto;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    content: '\f216 ';
}

.code-wrapper.active::before {
    content: '\f207 ';
}

.code-wrapper .toggle {
    color: #4CAF50;
    cursor: pointer;
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 8px;
    text-decoration: underline;
}

.code-wrapper .code {
    opacity: 0;
    margin-top: -20px;
    height: 0;
    overflow: hidden;
    position: absolute;
    transition: 0.1s all ease-in-out;
    z-index: 9999999999;
}

.code-wrapper.code-wrapper-last .code {
    position: relative;
}

.code-wrapper.active .code {
    background: #f9f9f9;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
    left: 16px;
    height: initial;
    margin-top: 15px;
    padding: 15px;
    right: 16px;
    opacity: 1;
    transition: 0.3s all ease-in-out;
    width: initial;
}

.bg-silver {
  background-color: silver;
}

.toast_section {
  border-radius: 20px !important;
  font-size: 1.2em;
}

.ionic_toast_close {
  font-size: 1.1em;
  top:10px;
  right: 12px;
}

.ionic_toast_top {
    top: 10px
}

.ionic_toast_middle {
    top: 40%
}

.ionic_toast_bottom {
    bottom: 10px
}

.ionic_toast_close {
    border-radius: 2px;
    color: #CCC;
    cursor: pointer;
    display: none;
    position: absolute;
    right: 4px;
    top: 4px;
    width: 20px;
    height: 20px
}

.toast_close_icon {
    position: relative;
    top: 1px
}

.ionic_toast_sticky .ionic_toast_close {
    display: block
}

.ionic_toast_close:active {
    background-color: transparent;
}

.item.item-gray {
  border-color: #b2b2b2;
  background-color: #dddddd;
}

.item.item-header {
  border-color: #b2b2b2;
  background-color: #e6ffe6;
}

.item.item-close {
  border-color: #b2b2b2;
  background-color: #ccffcc;
}

.item.item-blue {
  background-color: #ccffff;
}

input.pw {
    text-security:disc;
    -webkit-text-security:disc;
    -mox-text-security:disc;
}

.select-button {
  top:-16px!important;
  right: 10px!important;
}

.fab-nav-top {
  opacity:0.4;
  filter:alpha(opacity=40);
}

ion-item div a {
  font-size: 16px !important;
}

ion-item a:link, ion-item a:visited {
  text-decoration: none;
}

div.button-bar button {
  font-size:16px !important;
}

.man-row {
  height: 120px;
}

.man-row .col {
  cursor: pointer;
  border:1px solid #ccc;
}

.item-odd {
  background: transparent;
}
.item-even {
  background: #f9f9cf; /*#ccffcc;*/
}
.item-presign {
  background: #ccffcc;
}

.font-size-20 {
  font-size: 20px
}
.font-size-18 {
  font-size: 18px
}
.font-size-16 {
  font-size: 16px
}

.item-has-nav {
  border: 0;
  padding-top:10px;
  padding-bottom:6px
}

.item-nav {
  padding: 0;
  margin: 0;
  border: 0;
  border-bottom: 1px;
  margin-bottom: 1px;
}

.margin-right {
  margin-right: 10px;
}

input[disabled] {
  background-color: #E2E2E2!important;
}


.header .col-grid {
  background-color:lightgrey;
}

.col-grid {
  border: solid 1px grey;
  border-bottom-style: none;
  border-right-style: none;
  padding-top: 8px;
  padding-bottom: 8px;
}

.col-grid:last-child {
  border-right: solid 1px grey;
}

.row:last-child .col-grid {
  border-bottom: solid 1px grey;
}

.float-left-50 {
  width: 50%; float: left;
}

.float-right-50 {
  width: 50%; float: right;
}

.al-right {
  text-align: right;
}
#map {
  width: 100%;
  height: 100%;
}
.barcode {
  width: 160px;
}
.prefmt {
  white-space: pre;
}
.lab-orange {
  background-color: orange;
  color: white;
}
.lab-green {
  background-color: #33cd5f;
  color: white;
}
.lab-blue {
  background-color: #387ef5;
  color: white;
}
.lab-darkgreen {
  background-color: darkgreen;
  color: white;
}
.lab-pink {
  background-color: #ff00ff;
  color: white;
}
.lab-purple {
  background-color: #886aea;
  color: white;
}
.lab-red {
  background-color: #ef473a;
  color: white;
}
.lab-gift {
  background-color: #0080C0;
  color: white;
}
.txt-orange {
  color: orange;
}
.txt-red {
  color: #ef473a;
}

.modal-full {
  top: 43px ;
  bottom: 0 ;
  left: 0 ;
  right: 0 ;
  width: 100% ;
}

.modal-full-top0 {
  top: 0 ;
  bottom: 0 ;
  left: 0 ;
  right: 0 ;
  width: 100% ;
}

.transparent {
  background: transparent !important;
}
.image-modal {
  width: 100% !important;
  height: 100%;
  top: 0 !important;
  left: 0 !important;
}
.fullscreen-image {
  max-width: 100%;
  max-height: 100%;
  bottom: 0;
  left: 0;
  margin: auto;
  overflow: auto;
  position: fixed;
  right: 0;
  top: 0;
}

/* Fix modal backdrop for smaller devices */
@media (max-width: 679px) {
  .active .modal-backdrop-bg {
    opacity: .5;
  }
  .modal-backdrop-bg {
    -webkit-transition: opacity 300ms ease-in-out;
    transition: opacity 300ms ease-in-out;
    background-color: #000;
    opacity: 0;
  }
}

/* full screen image zoom pane */

.zoom-pane {
  width: 100% !important;
  height: 100% !important;
}

.zoom-pane .scroll {
  min-height: 100% !important;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-direction: normal;
  -moz-box-direction: normal;
  -webkit-box-orient: horizontal;
  -moz-box-orient: horizontal;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: nowrap;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-box-pack: center;
  -moz-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-align-content: stretch;
  -ms-flex-line-pack: stretch;
  align-content: stretch;
  -webkit-box-align: center;
  -moz-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}

.zoom-pane img {
  width: 100% !important;
  vertical-align: middle !important;
}

.image-modal {
  width: 100% !important;
  height: 100% !important;
  top: 0 !important;
  left: 0 !important;
  background: black !important;
}

.force-wrap {
  display:table;
  white-space: pre-wrap; /* css-3 */
  white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
  white-space: -pre-wrap; /* Opera 4-6 */
  white-space: -o-pre-wrap; /* Opera 7 */
  word-wrap: break-word;
}

.disable-main-item {
  -webkit-filter:opacity(.3);
  filter:opacity(.3);
}

.fancybox-slide--iframe .fancybox-content {
	margin: 0;
}

.fancybox-bg {
  background: #000;
}

.fancybox-is-open .fancybox-bg {
  opacity: .6;
}

.w30 {
  width: 30%;
  /* white-space: nowrap; */
}

.w40 {
  width: 40%;
  /* white-space: nowrap; */
}

.w50 {
  width: 50%;
  /* white-space: nowrap; */
}

.w60 {
  width: 60%;
  /* white-space: nowrap; */
}

.w70 {
  width: 70%;
  /* white-space: nowrap; */
}

.w100 {
  width: 100%;
  /* white-space: nowrap; */
}

.w30-left {
  width: 30%;
  float: left;
  /* white-space: nowrap; */
}

.w40-left {
  width: 40%;
  float: left;
  /* white-space: nowrap; */
}

.w50-left {
  width: 50%;
  float: left;
  /* white-space: nowrap; */
}

.w60-left {
  width: 60%;
  float: left;
  /* white-space: nowrap; */
}

.w70-left {
  width: 70%;
  float: left;
  /* white-space: nowrap; */
}

.w100-left {
  width: 100%;
  float: left;
  /* white-space: nowrap; */
}

.font-bold {
  font-weight: bold;
}

.scad-tabs .tab-item {
  max-width: initial !important;
  display: table-cell;
}

.myScroll a{
      display: inline;
  }
  .allLinks{
      min-width: 100%;
  }

/* ---- EACH TAB can have its on width ---- */
  a.link1{
      min-width: 50px;
  }
  a.link2{
      min-width: 80px;
    background-color:#f00;
  }
.*-bar-indicator
{
display: none;
}

textarea[disabled] {
  background-color: #e6e6e6!important;
  cursor: not-allowed; }

.item-input textarea {
  -webkit-box-flex: 1;
  -webkit-flex: 1 220px;
  -moz-box-flex: 1;
  -moz-flex: 1 220px;
  -ms-flex: 1 220px;
  flex: 1 220px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin: 0;
  margin-right: 16px;
  padding-right: 24px;
  background-color: transparent; }

  .item-input .input-label {
    white-space: nowrap;
    /* max-width: 110px; */
    width: 100px;
  }

  .item-input .value-button {
    margin: 0 10px 0 10px;
  }

.item-pdf {
  padding: 0;
  text-align: center;
  height: 100%!important;
}

/* chat */
.k-card .image-attachment {
  max-height: 120px;
}

.chat-box {
  height: 460px;
  width: 280px;
  position: absolute;
  right: 10px;
  background: #fff;
  padding: 5px;
  top: 10px;
  /* display: none; */
  box-shadow: 0px 0px 2px 2px #ddd;
  z-index: 9999;
}

.msgboxp-textarea {
  margin: 0px;
  overflow: hidden;
  height: 48px;
}