html, body 
{
  height: 100%;
}
body 
{
  display: flex;
  flex-direction: column;
}

.content-main
{
  padding-left: 0 !important;
  padding-right: 0 !important;

  display: flex;
  flex-direction: column;
  flex-grow: 1;
  flex-shrink: 0;
  flex-basis: 0;
  min-height: 0;
}


.fixed
{
  position: fixed !important;
}

.fixed,
.fixed-top,
.fixed-bottom,
[style*="position:fixed"],
[style*="position: fixed"]
{
  backface-visibility: hidden !important;
  -webkit-backface-visibility: hidden !important;
}

::backdrop
{
  background-color: rgba(255,255,255,0) !important;
}
*:fullscreen, *:-webkit-full-screen, *:-moz-full-screen 
{
  background:       rgba(255,255,255,0) !important;
  background-color: rgba(255,255,255,0) !important;
}

/****************************************************************
 ******************* BOOTSTRAP EXTENSIONS **********************/
.word-break-all
{
    word-break: break-all !important;
}

.word-break-word
{
    word-break: break-word !important;
}

.dropdown-item
{
    cursor: pointer;
}

.text-ellipsis
{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/*
.bootstrap-select .dropdown-menu
{
    max-width: 100% !important;
}*/

.cursor-pointer,
.input-group [data-toggle="clear"] 
{
  cursor: pointer;
}

.vcenter
{
  position: relative;
  top: 50%;
  transform: translateY(-50%); 
}

.vbottom
{
  position: relative;
  top: 100%;
  transform: translateY(-100%); 
}

.table-xs th,
.table-xs td 
{
  padding: 0.1rem;
}

.container-nowrap .col:not[wrappable]
{
  white-space: nowrap;
}

.nowrap
{
  white-space: nowrap !important;
}

.col-fit-content
{
  white-space: nowrap;
  width: 1%;
}

.o-25
{
  opacity: 0.25;
}
.o-50
{
  opacity: 0.5;
}
.o-75
{
  opacity: 0.75;
}

.btn-group > .btn-primary:not(:disabled):not(.disabled):not(.active)
{
  color: #007bff;
  background-color: #ffffff;
}
.btn-group > .btn-secondary:not(:disabled):not(.disabled):not(.active)
{
  color: #6c757d;
  background-color: #ffffff;
}
.btn-group > .btn-success:not(:disabled):not(.disabled):not(.active)
{
  color: #28a745;
  background-color: #ffffff;
}
.btn-group > .btn-info:not(:disabled):not(.disabled):not(.active)
{
  color: #17a2b8;
  background-color: #ffffff;
}
.btn-group > .btn-warning:not(:disabled):not(.disabled):not(.active)
{
  color: #ffc107;
  background-color: #ffffff;
}
.btn-group > .btn-danger:not(:disabled):not(.disabled):not(.active)
{
  color: #dc3545;
  background-color: #ffffff;
}
.btn-group > .btn-light:not(:disabled):not(.disabled):not(.active)
{
  color: ##8c8e8f; /*#f8f9fa;*/
  background-color: #ffffff;
}
.btn-group > .btn-dark:not(:disabled):not(.disabled):not(.active)
{
  color: #343a40;
  background-color: #ffffff;
}

.tabs-active i
{
    width: 1.5rem;
    font-size: 1.5rem;
}

.tabs-inactive i, .tabs-inactive span.fa-stack span
{
    /*width: 1rem;*/
    font-size: 1rem;
    opacity: 0.4;
}
.tabs-inactive.tabs-dark i, .tabs-inactive span.fa-stack span
{
  color: #fff !important;
  opacity: 0.2;
}

.rounded-lg-top 
{
  border-top-left-radius: 0.3rem !important;
  border-top-right-radius: 0.3rem !important;
}

.rounded-lg-right 
{
  border-top-right-radius: 0.3rem !important;
  border-bottom-right-radius: 0.3rem !important;
}

.rounded-lg-bottom 
{
  border-bottom-right-radius: 0.3rem !important;
  border-bottom-left-radius: 0.3rem !important;
}

.rounded-lg-left 
{
  border-top-left-radius: 0.3rem !important;
  border-bottom-left-radius: 0.3rem !important;
} 

.font-0_5
{
    font-size: 0.5rem !important;
}
.font-0_6
{
    font-size: 0.6rem !important;
}
.font-0_75
{
    font-size: 0.75rem !important;
}
.font-1
{
    font-size: 1rem !important;
}
.font-1_25
{
    font-size: 1.25rem !important;
}
.font-1_5
{
    font-size: 1.5rem !important;
}
.font-2
{
    font-size: 2rem !important;
}
.font-3
{
    font-size: 3rem !important;
}
.font-4
{
    font-size: 4rem !important;
}
.font-5
{
    font-size: 5rem !important;
}

.font-normal
{
  font-weight: normal !important;
}
.font-bold
{
  font-weight: bold !important;
}
.font-500
{
  font-weight: 500 !important;
}

.color-red
{
  color: red;
}
.color-orange
{
  color: orange;
}
.color-grey
{
  color: #777777;
}

.bg-light-green
{
  background-color: #EAF1DD !important;
}

.bg-light-red
{
  background-color: #F2DBDB !important;
}

.bg-light-blue
{
  background-color: #DBE5F1 !important;
}

.bg-light-orange
{
  background-color: #FDE9D9 !important;
}

.bg-light-gray
{
  background-color: #e9ecef !important;
}

.w-1r
{
    width: 1rem;
}
.w-1_25r
{
    width: 1.25rem;
}
.w-1_5r
{
    width: 1.5rem;
}
.w-2r
{
    width: 2rem;
}
.w-3r
{
    width: 3rem;
}
.w-4r
{
    width: 4rem;
}
.w-5r
{
    width: 5rem;
}
.w-6r
{
    width: 6rem;
}
.w-9r
{
    width: 9rem;
}

.min-width-4r
{
    min-width: 4rem !important;
}
.min-width-5r
{
    min-width: 5rem !important;
}
.min-width-9r
{
    min-width: 9rem !important;
}
.min-width-30r
{
    min-width: 30rem !important;
}

.max-width-30r
{
    max-width: 30rem !important;
}

.h-1r
{
    height: 1rem;
}
.h-1_25r
{
    height: 1.25rem;
}
.h-1_5r
{
    height: 1.5rem;
}
.h-2r
{
    height: 2rem;
}
.h-3r
{
    height: 3rem;
}
.h-4r
{
    height: 4rem;
}
.h-5r
{
    height: 5rem;
}
.h-6r
{
    height: 6rem;
}

@media (min-width: 576px) 
{ 
  .tabs-active i
  {
      width: 2rem;
      font-size: 2rem;
  }
  
  .tabs-inactive i, .tabs-inactive span.fa-stack span
  {
      /*width: 1rem;*/
      font-size: 1.5rem;
      opacity: 0.4;
  }
  
  .font-sm-inherit
  {
      font-size: 1.5rem !important;
  }
  .font-sm-1
  {
      font-size: 1rem !important;
  }
  .font-sm-1_5
  {
      font-size: 1.5rem !important;
  }
  .font-sm-2
  {
      font-size: 2rem !important;
  }

  .w-sm-auto
  {
      width: auto !important;
  }
  .w-sm-1r
  {
      width: 1rem !important;
  }
  .w-sm-2r
  {
      width: 2rem !important;
  }
  .w-sm-3r
  {
      width: 3rem !important;
  }
  .w-sm-4r
  {
      width: 4rem !important;
  }
  .w-sm-5r
  {
      width: 5rem !important;
  }
  .w-sm-6r
  {
      width: 6rem !important;
  }
  .w-sm-9r
  {
      width: 9rem !important;
  }

  .min-width-sm-4r
  {
      min-width: 4rem !important;
  }
  .min-width-sm-5r
  {
      min-width: 5rem !important;
  }
  .min-width-sm-9r
  {
      min-width: 9rem !important;
  }
  .min-width-sm-30r
  {
      min-width: 30rem !important;
  }
  .max-width-sm-30r
  {
      max-width: 30rem !important;
  }

  .h-sm-auto
  {
      height: auto !important;
  }
  .h-sm-1r
  {
      height: 1rem !important;
  }
  .h-sm-1_25r
  {
      height: 1.25rem !important;
  }
  .h-sm-1_5r
  {
      height: 1.5rem !important;
  }
  .h-sm-2r
  {
      height: 2rem !important;
  }
  .h-sm-3r
  {
      height: 3rem !important;
  }
  .h-sm-4r
  {
      height: 4rem !important;
  }
  .h-sm-5r
  {
      height: 5rem !important;
  }
  .h-sm-6r
  {
      height: 6rem !important;
  }

}

@media (min-width: 768px) 
{ 
  .w-md-auto
  {
    width: auto !important; 
  }

  .font-md-inherit
  {
      font-size: 1.5rem !important;
  }
  .font-md-1
  {
      font-size: 1rem !important;
  }
  .font-md-1_5
  {
      font-size: 1.5rem !important;
  }
  .font-md-2
  {
      font-size: 2rem !important;
  }

  .w-md-auto
  {
      width: auto !important;
  }
  .w-md-1r
  {
      width: 1rem !important;
  }
  .w-md-2r
  {
      width: 2rem !important;
  }
  .w-md-3r
  {
      width: 3rem !important;
  }
  .w-md-4r
  {
      width: 4rem !important;
  }
  .w-md-5r
  {
      width: 5rem !important;
  }
  .w-md-6r
  {
      width: 6rem !important;
  }
  .w-md-9r
  {
      width: 9rem !important;
  }

  .min-width-md-4r
  {
      min-width: 4rem !important;
  }
  .min-width-md-5r
  {
      min-width: 5rem !important;
  }
  .min-width-md-9r
  {
      min-width: 9rem !important;
  }
  .min-width-md-30r
  {
      min-width: 30rem !important;
  }
  .max-width-md-30r
  {
      max-width: 30rem !important;
  }

  .h-md-1r
  {
      height: 1rem !important;
  }
  .h-md-1_25r
  {
      height: 1.25rem !important;
  }
  .h-md-1_5r
  {
      height: 1.5rem !important;
  }
  .h-md-2r
  {
      height: 2rem !important;
  }
  .h-md-3r
  {
      height: 3rem !important;
  }
  .h-md-4r
  {
      height: 4rem !important;
  }
  .h-md-5r
  {
      height: 5rem !important;
  }
  .h-md-6r
  {
    height: 6rem !important;
  }
}
@media (min-width: 992px) 
{ 
  .w-lg-auto
  {
    width: auto !important; 
  }

  .font-lg-inherit
  {
      font-size: 1.5rem !important;
  }
  .font-lg-1
  {
      font-size: 1rem !important;
  }
  .font-lg-1_5
  {
      font-size: 1.5rem !important;
  }
  .font-lg-2
  {
      font-size: 2rem !important;
  }

  .w-lg-auto
  {
      width: auto !important;
  }
  .w-lg-1r
  {
      width: 1rem !important;
  }
  .w-lg-2r
  {
      width: 2rem !important;
  }
  .w-lg-3r
  {
      width: 3rem !important;
  }
  .w-lg-4r
  {
      width: 4rem !important;
  }
  .w-lg-5r
  {
      width: 5rem !important;
  }
  .w-lg-6r
  {
      width: 6rem !important;
  }
  .w-lg-9r
  {
      width: 9rem !important;
  }

  .min-width-lg-4r
  {
      min-width: 4rem !important;
  }
  .min-width-lg-5r
  {
      min-width: 5rem !important;
  }
  .min-width-lg-9r
  {
      min-width: 9rem !important;
  }
  .min-width-lg-30r
  {
      min-width: 30rem !important;
  }
  .max-width-lg-30r
  {
      max-width: 30rem !important;
  }

  .h-lg-1r
  {
      height: 1rem !important;
  }
  .h-lg-1_25r
  {
      height: 1.25rem !important;
  }
  .h-lg-1_5r
  {
      height: 1.5rem !important;
  }
  .h-lg-2r
  {
      height: 2rem !important;
  }
  .h-lg-3r
  {
      height: 3rem !important;
  }
  .h-lg-4r
  {
      height: 4rem !important;
  }
  .h-lg-5r
  {
      height: 5rem !important;
  }
  .h-lg-6r
  {
    height: 6rem !important;
  }
}
  
@media (min-width: 1200px) 
{ 
  .w-xl-auto
  {
    width: auto !important; 
  }

  .font-xl-inherit
  {
      font-size: 1.5rem !important;
  }
  .font-xl-1
  {
      font-size: 1rem !important;
  }
  .font-xl-1_5
  {
      font-size: 1.5rem !important;
  }
  .font-xl-2
  {
      font-size: 2rem !important;
  }

  .w-xl-auto
  {
      width: auto !important;
  }
  .w-xl-1r
  {
      width: 1rem !important;
  }
  .w-xl-2r
  {
      width: 2rem !important;
  }
  .w-xl-3r
  {
      width: 3rem !important;
  }
  .w-xl-4r
  {
      width: 4rem !important;
  }
  .w-xl-5r
  {
      width: 5rem !important;
  }
  .w-xl-6r
  {
      width: 6rem !important;
  }
  .w-xl-9r
  {
      width: 9rem !important;
  }

  .min-width-xl-4r
  {
      min-width: 4rem !important;
  }
  .min-width-xl-5r
  {
      min-width: 5rem !important;
  }
  .min-width-xl-9r
  {
      min-width: 9rem !important;
  }
  .min-width-xl-30r
  {
      min-width: 30rem !important;
  }
  .max-width-xl-30r
  {
      max-width: 30rem !important;
  }

  .h-xl-1r
  {
      height: 1rem !important;
  }
  .h-xl-1_25r
  {
      height: 1.25rem !important;
  }
  .h-xl-1_5r
  {
      height: 1.5rem !important;
  }
  .h-xl-2r
  {
      height: 2rem !important;
  }
  .h-xl-3r
  {
      height: 3rem !important;
  }
  .h-xl-4r
  {
      height: 4rem !important;
  }
  .h-xl-5r
  {
      height: 5rem !important;
  }
  .h-xl-6r
  {
    height: 6rem !important;
  }
}

/****************************************************************
 ******************* CHECKBOXES ********************************/
.ctrl-checkbox {
  display: block;
  position: relative;
  padding-left: 30px;
  margin-bottom: 0;
  cursor: pointer;
  /*font-size: 22px;*/
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.ctrl-checkbox.checkbox-right
{
  padding-left: initial;
  padding-right: 30px;
}

/* Hide the browser's default checkbox */
.ctrl-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.ctrl-checkbox .checkmark 
{
  position: absolute;
  top: 0;
  left: 0;
  height: 1.25rem;
  width: 1.25rem;
  border: 1px solid #3585db;
}
.ctrl-checkbox.checkbox-right .checkmark 
{
  left: auto;
  right: 0;
}

/* On mouse-over, add a grey background color */
.ctrl-checkbox:hover input ~ .checkmark {
  /*background-color: #ccc;*/
}

/* When the checkbox is checked, add a blue background */
.ctrl-checkbox input:checked ~ .checkmark {
  background-color: #2196F3;
}

/* Create the checkmark/indicator (hidden when not checked) */
.ctrl-checkbox .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.ctrl-checkbox input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.ctrl-checkbox .checkmark:after {
  left: 35%;
  top: 15%;
  width: 35%;
  height: 50%;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

/****************************************************************
 ********************** BUTTONS ********************************/
.btn-nofocus:focus
{
  outline: none;
  box-shadow: none;
}

.btn-group-xs > .btn, .btn-xs 
{
    padding: .05rem .2rem;
    font-size: .675rem;
    line-height: 1.5;
    border-radius: .2rem;
    vertical-align: text-bottom;
}

.btn-group .notActive
{
    /*color: #3276b1;*/
    background-color: #fff;
}
.btn-group .notActive span.show-if-active
{
    display: none;
}

/****************************************************************
 ********************** TABLES *********************************/
.clickable-row,
.clickable-cell
{
  cursor: pointer;
}

.row.item-row-block:hover
{
    border-width: 0.2rem !important;
    padding: 0.1rem !important;
    padding-top: 0.15rem !important;
    border-color: #afb2b5 !important;
}
.row.item-row-block:hover .hovered-row-item-visible
{
    display: inline !important;
}

/****************************************************************
 ********************** TABS ***********************************/
 .tab-tskNum
{
    position: absolute;
    left: 55%;
    top: 0.2rem;
    border: 1px solid #888888;
    border-radius: 0.55rem;
    height: 1rem;
    width: 1rem;
    font-size: 0.55rem;
    line-height: 0.9rem;
    text-align: center;
    background-color: #fff;

    color: #777;
}

.tab-title
{
    font-size: 0.55rem;
    border: 0;
    bottom: 0.25rem;
    background: none;
    height: 0.6rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    position: absolute;
    color: #777;
}

.tab-link
{
    padding: 0.5rem 0.8rem;
}

/****************************************************************
 ********************** SPINNING *******************************/
.spinning
{
    animation-name: spinning_spin;
    animation-duration: 2000ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}
@keyframes spinning_spin
{
    from 
    {
        transform:rotate(0deg);
    }
    to 
    {
        transform:rotate(360deg);
    }
}

/****************************************************************
 ********************** BLINKING *******************************/
.fade-blink-1
{
  animation: blinker 1s linear infinite;
}
@keyframes blinker 
{
  50% 
  {
    opacity: 0;
  }
}
/****************************************************************
 ********************** FADE IN/OUT ****************************/
.fade-in 
{
  animation: fadeIn ease 2s;
  -webkit-animation: fadeIn ease 2s;
  -moz-animation: fadeIn ease 2s;
  -o-animation: fadeIn ease 2s;
  -ms-animation: fadeIn ease 2s;
}
@keyframes fadeIn 
{
  0% 
  {
    opacity:0;
  }
  100% 
  {
    opacity:1;
  }
}

@-moz-keyframes fadeIn 
{
  0% 
  {
    opacity:0;
  }
  100% 
  {
    opacity:1;
  }
}

@-webkit-keyframes fadeIn 
{
  0% 
  {
    opacity:0;
  }
  100% 
  {
    opacity:1;
  }
}

@-o-keyframes fadeIn 
{
  0% 
  {
    opacity:0;
  }
  100% 
  {
    opacity:1;
  }
}

@-ms-keyframes fadeIn 
{
  0% 
  {
    opacity:0;
  }
  100% 
  {
    opacity:1;
  }
}

.fade-out 
{
  animation: fadeOut ease 5s;
  -webkit-animation: fadeOut ease 5s;
  -moz-animation: fadeOut ease 5s;
  -o-animation: fadeOut ease 5s;
  -ms-animation: fadeOut ease 5s;
}
@keyframes fadeOut 
{
  0% 
  {
    opacity:1;
  }
  100% 
  {
    opacity:0;
  }
}

@-moz-keyframes fadeOut 
{
  0% 
  {
    opacity:1;
  }
  100% 
  {
    opacity:0;
  }
}

@-webkit-keyframes fadeOut 
{
  0% 
  {
    opacity:1;
  }
  100%
  {
    opacity:0;
  }
}

@-o-keyframes fadeOut 
{
  0% 
  {
    opacity:1;
  }
  100% 
  {
    opacity:0;
  }
}

@-ms-keyframes fadeOut 
{
  0% 
  {
    opacity:1;
  }
  100% 
  {
    opacity:0;
  }
}

.fade-inout 
{
  opacity: 0;
  animation: fadeInOut ease 2s forwards;
  -webkit-animation: fadeInOut ease 2s forwards;
  -moz-animation: fadeInOut ease 2s forwards;
  -o-animation: fadeInOut ease 2s forwards;
  -ms-animation: fadeInOut ease 2s forwards;
}
@keyframes fadeInOut
{
  0%, 100%
  {
    opacity:0;
  }
  30% 
  {
    opacity:1;
  }
}

@-moz-keyframes fadeInOut
{
  0%, 100%
  {
    opacity:0;
  }
  30% 
  {
    opacity:1;
  }
}

@-webkit-keyframes fadeInOut
{
  0%, 100%
  {
    opacity:0;
  }
  30% 
  {
    opacity:1;
  }
}

@-o-keyframes fadeInOut
{
  0%, 100%
  {
    opacity:0;
  }
  30% 
  {
    opacity:1;
  }
}

@-ms-keyframes fadeInOut
{
  0%, 100%
  {
    opacity:0;
  }
  30% 
  {
    opacity:1;
  }
}

/****************************************************************
 ******************* Text Flipping *****************************/
.flip-animate,
.flip-animate span 
{
  position: relative;
  display: inline-block;
  padding: 0;
  transition: transform 0.3s;
  transform-origin: 50% 0;
  transform-style: preserve-3d;
}
.flip-animate span.inner 
{
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  transition: color 0.3s;
  transform: rotateX(-90deg);
  transform-origin: 50% 0;
  /*text-align: center;*/
}
.flip-animate.flipped
{
  transform: rotateX(90deg) translateY(-22px);
}

/****************************************************************
 ********************** FULL SCREEN MODAL **********************/
.modal.modal-fullscreen .modal-dialog,
.modal.modal-fullscreen .modal-content 
{
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}
.modal.modal-fullscreen .modal-dialog 
{
  margin: 0;
  width: 100%;
  max-width: initial;
}
.modal.modal-fullscreen .modal-content 
{
  border: none;
  -moz-border-radius: 0;
  border-radius: 0;
  -webkit-box-shadow: inherit;
  -moz-box-shadow: inherit;
  -o-box-shadow: inherit;
  box-shadow: inherit;
}
.modal.modal-fullscreen.force-fullscreen .modal-body 
{
  padding: 0;
}
.modal.modal-fullscreen.force-fullscreen .modal-header,
.modal.modal-fullscreen.force-fullscreen .modal-footer 
{
  left: 0;
  position: absolute;
  right: 0;
}
.modal.modal-fullscreen.force-fullscreen .modal-header 
{
  top: 0;
}
.modal.modal-fullscreen.force-fullscreen .modal-footer 
{
  bottom: 0;
}