.modal-body {
  max-height: calc(100vh - 212px);
  overflow-y: auto;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
  width: 100%;
  height: 100%;
}

body.platform-ios.modal-open {
  position: fixed;
}

.cursor {
  cursor: pointer;
}

.displaynone {
  display: none;
}

.form-control.paddingtext {
  padding-left: 10px
}

/* Absolute Center Spinner */

.loading {
  position: fixed;
  z-index: 99999;
  height: 2em;
  width: 2em;
  overflow: show;
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

/* Transparent Overlay */

.loading:before {
  content: '';
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
}

/* :not(:required) hides these rules from IE9 and below */

.loading:not(:required) {
  /* hide "loading..." text */
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}

.loading:not(:required):after {
  content: '';
  display: block;
  font-size: 10px;
  width: 1em;
  height: 1em;
  margin-top: -0.5em;
  -webkit-animation: spinner 1500ms infinite linear;
  -moz-animation: spinner 1500ms infinite linear;
  -ms-animation: spinner 1500ms infinite linear;
  -o-animation: spinner 1500ms infinite linear;
  animation: spinner 1500ms infinite linear;
  border-radius: 0.5em;
  -webkit-box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.5) -1.5em 0 0 0, rgba(0, 0, 0, 0.5) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
  box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) -1.5em 0 0 0, rgba(0, 0, 0, 0.75) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
}

/* Animation */

@-webkit-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@-moz-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@-o-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.btn-file {
  position: relative;
  overflow: hidden;
}

.btn-file input[type=file] {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 100%;
  min-height: 100%;
  font-size: 100px;
  text-align: right;
  filter: alpha(opacity=0);
  opacity: 0;
  outline: none;
  background: white;
  cursor: inherit;
  display: block;
}

.datepicker {
  z-index: 9999 !important
}

.dropdown-menu>li.active>a {
  background-color: #EEEEEE !important;
}

input[type="checkbox"]:focus+label::before {
  outline: thin dotted;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}

.text-muted {
  color: #1f91f3;
}

/*input:-moz-read-only {  For Firefox 
    background-color: #607D8B;
}*/

input[readonly],
input[readonly="readonly"].form-control {
  color: #607D8B;
}

label.compulsory {
  color: #009688;
}

tr.statusA {
  color: #1f91f3;
}

.form-control-inline {
  width: auto;
  float: left;
  margin-right: 5px;
}

.form-condensed {
  margin-bottom: 0px;
}

.table-scroll {
  width: 970px;
  overflow-x: scroll;
}

.table-width-fixed {
  table-layout: fixed;
  word-wrap: break-word;
}

.not-form-control {
  /*background-color: #9E9E9E;*/
}

input[readonly],
input[readonly="readonly"] .not-form-control {
  /*background-color: rgba(158, 158, 158, 0.4);*/
}

table.table-newcustom {
  font-size: 13px;
  color: #222222;
  border-width: 1px;
  border-color: #3A3A3A;
  border-collapse: collapse;
}

table.table-newcustom th {
  border-width: 1px;
  padding: 4px;
  border-style: solid;
  border-color: #ffffff;
  background-color: #337ab7;
  color: #ffffff;
}

table.table-newcustom tr:hover td {
  background-color: #DFEBF1;
}

table.table-newcustom td {
  border-width: 1px;
  padding: 4px;
  border-style: solid;
  border-color: #517994;
  background-color: #ffffff;
}

.form-color-numeric {
  background-color: rgba(33, 150, 243, 0.4);
}

.form-color-combo {
  background-color: rgba(255, 235, 59, 0.4);
}

.form-color-date {
  background-color: rgba(76, 175, 80, 0.4);
}

.form-color-noncombo {
  background-color: #ffffff;
}

.form-color-readonly {
  background-color: rgba(158, 158, 158, 0.4);
}

.table-fixed thead {
  width: 97%;
}

.table-fixed tbody {
  height: 230px;
  overflow-y: auto;
  width: 100%;
}

.table-fixed thead,
.table-fixed tbody,
.table-fixed tr,
.table-fixed td,
.table-fixed th {
  display: block;
}

.table-fixed tbody td,
.table-fixed thead>tr>th {
  float: left;
  border-bottom-width: 0;
}

.nopadding {
  margin: -15px 0px -15px 0px;
}

.ul-scroll {
  max-height: 300px;
  overflow-y: scroll;
}

.non-select-picker {
  width: 100px;
  height: 25px;
}

.non-select-picker-smalllarge {
  width: 150px;
  height: 25px;
}

.non-select-picker-large {
  width: 300px;
  height: 25px;
}

.non-select-picker-small {
  width: 100px;
  height: 25px;
}

.non-select-picker-verysmall {
  width: 60px;
  height: 25px;
}

.non-select-picker-small:focus,
.non-select-picker:focus,
.non-select-picker-smalllarge:focus,
.non-select-picker-large:focus,
.non-select-picker-verysmall:focus {
  border-color: #2196F3;
}

.dialogfs {
  position: fixed;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
}

.contentfs {
  height: 100%;
  border-radius: 0;
  overflow: auto;
}

.principal-container {
  background-color: #5bc0de;
  height: 800px;
  width: 100% !important;
}

.page-lock .lock-centered {
  position: absolute;
  top: 20%;
  left: 0;
  right: 0;
  margin-top: -65px;
}

@media screen and (min-width: 768px) {
  .page-lock .lock-centered {
    margin-top: -75px;
  }
}

.page-lock .lock-container {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
}

.page-lock .lock-box {
  position: absolute;
  left: 0;
  right: 0;
}

.page-lock .lock-box .lock-user {
  background: white;
  width: 50%;
  float: left;
  height: 50px;
  line-height: 50px;
  margin-top: 50px;
  padding: 0 20px;
  -moz-border-radius-topleft: 2px;
  -webkit-border-top-left-radius: 2px;
  border-top-left-radius: 2px;
  -moz-border-radius-bottomleft: 2px;
  -webkit-border-bottom-left-radius: 2px;
  border-bottom-left-radius: 2px;
  color: #1c7ebb;
}

.page-lock .lock-box .lock-img img {
  position: absolute;
  border-radius: 50%;
  left: 40%;
  width: 80px;
  height: 80px;
  border: 6px solid white;
  background: white;
}

@media screen and (min-width: 768px) {
  .page-lock .lock-box .lock-img img {
    left: 33%;
    width: 150px;
    height: 150px;
    border: 10px solid white;
  }
}

.page-lock .lock-box .lock-pwd {
  background: white;
  width: 50%;
  float: right;
  height: 50px;
  line-height: 50px;
  padding: 0 0 0 50px;
  margin-top: 50px;
  -moz-border-radius-topright: 2px;
  -webkit-border-top-right-radius: 2px;
  border-top-right-radius: 2px;
  -moz-border-radius-bottomright: 2px;
  -webkit-border-bottom-right-radius: 2px;
  border-bottom-right-radius: 2px;
  color: #1c7ebb;
}

@media screen and (min-width: 768px) {
  .page-lock .lock-box .lock-pwd {
    padding: 0 0 0 80px;
  }
}

.page-lock .lock-box .lock-pwd input {
  width: 80%;
  height: 50px;
  color: #555555;
  border: 0;
}

.page-lock .lock-box .lock-pwd .btn-submit {
  position: absolute;
  top: 50%;
  right: 20px;
}

.btn:focus {
  color: #212121;
}

input.error {
  border: 1px solid #f00;
}

textarea.error {
  border: 1px solid #f00;
}

select:focus.error {
  border: 1px solid #f00;
}

.form-color-numeric,
.form-color-date,
.form-color-combo,
.form-color-readonly,
.form-color-noncombo {
  -webkit-box-shadow: none;
  box-shadow: none;
  border: 1px solid;
  height: 25px;
  padding-left: 3px;
  padding-right: 1px;
}

.btn-non-bootstrap {
  height: 25px;
}

#newscontent a {
  color: #ffffff;
}

#news {
  display: none;
}

.ticker_news_tricker {
  width: 80%;
}

.zooms:hover {
  transform: scale(1.8);
  /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
}

.imageborder {
  width: 200px;
  height: 230px;
  border:1px solid #021a40;
}

.scroll table {
  width: 1266px; /* 250px * 5 column + 16px scrollbar width */
  border-spacing: 0;
}

.scroll tbody, .scroll thead tr { display: block; }

.scroll tbody {
  height: 300px;
  overflow-y: auto;
  overflow-x: hidden;
}

.scroll tbody td, .scroll thead th {
  width: 250px;
}

.scroll thead th:last-child {
  width: 266px; /* 250px + 16px scrollbar width */
}

table.table-newcustom tr.selected {
  color: #f00;
  font-weight: bold;
}

.card-img-top {
    width: 100%;
    height: 15vw;
    object-fit: cover;
}
.rotated-img {
  transform: rotate(90deg);
  -ms-transform: rotate(90deg); /* IE 9 */
  -moz-transform: rotate(90deg); /* Firefox */
  -webkit-transform: rotate(90deg); /* Safari and Chrome */
  -o-transform: rotate(90deg); /* Opera */
}
.label {
  border-radius: 5px;
}
/*Tooltip Color*/

/*#tooltip, {
    position: relative;
    color: #009688;
}
.tooltip-inner {
    background: #009688;
}
.tooltip.top .tooltip-arrow {
    border-top-color: #009688; 
}
.tooltip.right .tooltip-arrow { 
    border-right-color: #009688; 
}
.tooltip.bottom .tooltip-arrow { 
    border-bottom-color: #009688; 
}
.tooltip.left .tooltip-arrow { 
    border-left-color: #009688; 
}*/
.img-thumbnail:hover {
  transform: scale(3); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
}