.navbar {
  margin-bottom: 20px;
}

/*default button appearance*/
.btn-default {
  color: #111111;
  background-color: #F8F9FA;
  border-color: #E2E6EA;
}

.btn-default:hover,
.btn-default:focus,
.btn-default:active,
.btn-default.active,
.open .dropdown-toggle.btn-default {
  color: #111111;
  background-color: #E2E6EA;
  border-color: #E2E6EA;
}

.btn-default:active,
.btn-default.active,
.open .dropdown-toggle.btn-default {
  background-image: none;
}

.btn-default.disabled,
.btn-default[disabled],
fieldset[disabled] .btn-default,
.btn-default.disabled:hover,
.btn-default[disabled]:hover,
fieldset[disabled] .btn-default:hover,
.btn-default.disabled:focus,
.btn-default[disabled]:focus,
fieldset[disabled] .btn-default:focus,
.btn-default.disabled:active,
.btn-default[disabled]:active,
fieldset[disabled] .btn-default:active,
.btn-default.disabled.active,
.btn-default[disabled].active,
fieldset[disabled] .btn-default.active {
  background-color: #F8F9FA;
  border-color: #E2E6EA;
}

.btn-default .badge {
  color: #F8F9FA;
  background-color: #111111;
}

/************ fw
*/
table.list > thead > tr > th[data-sort] {
    color: #007bff;
    text-decoration: underline;
    cursor: pointer;
}
table.list > thead > tr > th[data-sort].active-sort{
    background-color: #ffffcc !important;
}
table.list .search {
    display: none;
}

#modal-custom-cols .sort-arrows {
    float: right;
    display: none;
}
    #modal-custom-cols .sort-arrows a {
        padding: 0 10px;
    }
    #modal-custom-cols .col-rows .cb-row:hover {
        background-color: #ffffcc;
    }
    #modal-custom-cols .col-rows .cb-row:hover .sort-arrows {
        display: block;
    }

.btn-fileinput {
    overflow: hidden;
    position: relative;
}
    .btn-fileinput input {
        cursor: pointer;
        position: absolute;
        right: 0;
        top: 0;
        font-size: 200px;
        opacity: 0;
        filter: alpha(opacity=0);
        opacity: 0;
        outline: none;
        background: white;
        min-width: 100%;
        min-height: 100%;
    }

.field-multi-value {
    height:200px;
    overflow:auto;
    border:1px solid #ccc;
    padding:5px;
}
.fdate-combo .form-control {
    width: 100px;
    display: inline;
}

.pagination .active a {font-weight:bold}

.pagination select {
    display: inline-block;
    width: auto;
    vertical-align: top;
}

@media (min-width: 768px) {
  .form-group.row > .col-form-label,
  .form-row > .col-form-label
  {
    text-align: right;
  }
}

.req {
 color:#ff0000;
 font-family: Menlo, Monaco, "Courier New", monospace;
}
form .required:before {
    content: "*";
    color:#ff0000;
    font-family: Menlo, Monaco, "Courier New", monospace;
    line-height: 1;
}
form .required-conditional:before {
    content: "*";
    color:#0000ff;
    font-family: Menlo, Monaco, "Courier New", monospace;
    line-height: 1;
}

form [class^='err-'] {
    display: none;
}

form .has-danger label {
    color: #dc3545;
}
    form .has-danger input,
    form .has-danger textarea,
    form .has-danger select {
        border-color: #dc3545;
    }
    form .has-danger .invalid-feedback {
        display: block;
    }

.has-feedback {
    position: relative;
}
  .has-feedback .form-control {
      padding-right: 2.6875rem; /*43px*/
  }
  .has-feedback .form-control-feedback {
      position: absolute;
      top: 0;
      right: 0;
      z-index: 2;
      display: block;
      width: 2.175rem; /*34px*/
      height: 2.375rem; /*38px*/
      line-height: 2.375rem; /*38px*/
      text-align: center;
      pointer-events: none;
  }
  .has-feedback .form-control-sm + .form-control-feedback {
    font-size: 0.875rem;
    height: 1.875rem; /*30px*/
    line-height: 1.875rem; /*30px*/
  }
  .has-feedback .form-control-lg + .form-control-feedback {
    font-size: 1.25rem;
    height: 3rem; /*48px*/
    line-height: 3rem; /*48px*/
  }
  .has-feedback .custom-control.custom-checkbox .form-control-feedback {
    height: 1.5rem; /*24px*/
    line-height: 1.5rem; /*24px*/
  }
  .form-horizontal .has-feedback .form-control-feedback {
      right: 1rem;
  }
  .has-success .form-control-feedback {
      color: #28a745;

  }
  .has-danger .col-form-label {
      color: #dc3545;
  }
  .has-danger .form-control {
      border-color: #dc3545;
      -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
      box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
  }
  .has-danger .form-control-feedback {
      color: #dc3545;
  }
  .has-danger .input-group-append .btn {
      border-color: #dc3545;
  }

.a_visited a:visited {
    color: #800080;
}

.nobold {
    font-weight:normal;
}
.nowrap {
    white-space: nowrap;
}

.modal-content {
    box-shadow: 1px 1px 6px #999;
}

.modal-overflowed {
    max-height: 450px;
    overflow: auto;
}
.modal-wider .modal-dialog{
    max-width: 850px;
}

.text-nooverflow {
    text-overflow: ellipsis;
    overflow: hidden;
}

.twitter-typeahead {
    width: 100%;
}
.twitter-typeahead .tt-hint {
    top: -3px !important;
}

.filter_option label {
    text-align: right;
}

.btn-std {
    margin-bottom: 20px;
}

.w100 {
    width: 100px;
}

/*for .scrollable tables with fixed header*/
.data-header {
    position: fixed;
    overflow: hidden;
    background-color: #fff;
}
    .data-header table{
        margin-bottom: 0;
        max-width: none;
        width: auto;
    }

/*list multi buttons floating if some rows checked*/
#list-btn-multi {
 background-color: rgba(255,255,255,0.8);
 padding:10px 10px 10px 0;
 display: inline-block;
 bottom: 0px;
 left: 20px;
}

.floating {
 position: sticky;
}

/* jGrowl*/
div.jGrowl div.hint_green{
 background-color:#090;
 color:#fff;
}

div.jGrowl div.hint_error{
 background-color:#900;
 color:#fff;
}

div.jGrowl div.hint_info{
 background-color:#0188ba;
 color:#fff;
}

div.jGrowl div.jGrowl-notification
, div.jGrowl div.jGrowl-closer {
    border-radius: 4px;
}

    div.jGrowl div.jGrowl-notification div.jGrowl-close {
        font-size: 1.2em;
    }


#sharer {
    position: absolute;
    background: #fff;
    width: 235px;
    height: 36px;
}
#sharer:after {
    left: 100%;
    top: 15%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    margin-top: 0px;
    pointer-events: none;
    /*
    border-color: rgba(255, 255, 255, 0);
    border-left-color: #ffffff;
    border-width: 30px;
    */

    border-bottom: 18px solid rgba(255, 255, 255, 0);
    border-left: 12px solid #ffffff;
    border-top: 0 solid rgba(255, 255, 255, 0);
}
    #sharer a {
        display: inline-block;
        padding: 9px 14px;
        line-height: 18px;
        border-bottom: none;
    }
    #sharer a i {
        opacity: 0.5;
    }
    #sharer a:hover i{
        opacity: 1;
    }
.ico-share {
    display: inline-block;
    width: 18px;
    height: 18px;
    line-height: 18px;
    background-image: url('../images/v2015/ico-share.png');
    background-repeat: no-repeat;
}
    .ico-facebook {
        background-position: 6px 0px;
    }
    .ico-pinterest {
        background-position: -43px 0px;
    }
    .ico-twitter {
        background-position: -99px 0px;
    }
    .ico-linkedin {
        background-position: -149px 0px;
    }
    .ico-mail {
        background-position: -198px 0px;
    }

/* LAYOUT STD*/
.fwlayout-std .sidebar-nav {
 box-shadow: 1px 1px 7px #eee;
 padding: 10px;
 border-radius: 4px;
}
    .fwlayout-std .sidebar-nav .nav > li > a {
        padding: 5px 10px;
        color: #2a6aae; /*default bs4 blue is too bright*/
    }
    .fwlayout-std .sidebar-nav .nav > li.active > a {
        background-color:#eee;
    }
    .fwlayout-std .sidebar-nav .nav > .nav-header {
        padding: 5px 10px;
        color: #868e96;
    }
    .fwlayout-std .sidebar-nav .glyphicon{
        color: #aaa;
    }

/* LAYOUT FLUID*/
.fwlayout-fluid .sidebar {
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    padding: 0;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
    background-color: #e9ecef;
    color: #000;
}
    .fwlayout-fluid .sidebar.collapsing,
    .fwlayout-fluid .sidebar.collapse.show
    {
        position: relative;
    }
    .fwlayout-fluid .sidebar-nav {
        position: -webkit-sticky;
        position: sticky;
        /*top: 48px;*/
        height: calc(100vh - 48px);

        overflow-x: hidden;
        overflow-y: auto;

    }
        .fwlayout-fluid .sidebar-nav .sidebar-logo {
          background: url(../../img/header_bg.png) repeat-x top center;
          padding-top: .5rem;
        }

        .fwlayout-fluid .sidebar-nav h3 {
            padding: 0 1rem;
        }
        .fwlayout-fluid .sidebar-nav .nav-header {
            text-transform: uppercase;
            color: #666;
            padding-left: 1rem;
            padding-right: 1rem;
            margin-top: 1.5rem;
            margin-bottom: .25rem;
        }
        .fwlayout-fluid .sidebar-nav .nav-item {
            -webkit-transition: background 225ms ease-in;
            transition: background 225ms ease-in;
        }

        .fwlayout-fluid .sidebar-nav .nav-link {
            font-weight: 600;
            color: #333;
        }
            .fwlayout-fluid .sidebar-nav .nav-link[data-toggle="collapse"][aria-expanded="true"] > .nav-link-icon-expanded {
                display: none;
            }
            .fwlayout-fluid .sidebar-nav .nav-link[data-toggle="collapse"][aria-expanded="true"] > .nav-link-icon-collapsed {
                display: inline-block;
            }
            .fwlayout-fluid .sidebar-nav .nav-link[data-toggle="collapse"]:not([aria-expanded="true"]) > .nav-link-icon-expanded {
                display: inline-block;
            }
            .fwlayout-fluid .sidebar-nav .nav-link[data-toggle="collapse"]:not([aria-expanded="true"]) > .nav-link-icon-collapsed {
                display: none;
            }
        .fwlayout-fluid .sidebar-nav .nav .nav-item.active {
            background-color:#fff;

        }
            .fwlayout-fluid .sidebar-nav .nav .nav-item.active > a{
                color: #333;
            }
        .fwlayout-fluid .sidebar-nav .nav .nav-item:hover {
            background-color:#fff;
        }
            .fwlayout-fluid .sidebar-nav .nav .nav-item:hover a{
                color: #555;
            }
        .fwlayout-fluid .sidebar-nav .glyphicon{
            color: #929292;
        }

    .fwlayout-fluid .site-footer {
        position: absolute;
        bottom:0;
        font-size: x-small;
    }

@media screen and (max-width: 768px) {
    .fwlayout-fluid .site-footer {
        position: relative;
    }
}

/*** end of fw ***/

/*** add site specific css below ***/

.w-1 {
    width: 1%;
}

.w-5 {
    width: 5%;
}

.w-30 {
    width: 30%;
}

.w-33 {
    width: 33%;
}

.w-35 {
    width: 35%;
}

.fs-100 {
    font-size: 100%;
}

.fs-0_875rem {
    font-size: .875rem;
}

.font-weight-semibold {
    font-weight: 600;
}

.text-underline {
    text-decoration: underline;
}

.text-underline-under {
    text-decoration: underline;
    text-underline-position: under;
}

.overflow-hidden {
    overflow: hidden;
}

.pointer-events-none {
    pointer-events: none;
}

.custom-control-input:not(:disabled),
.custom-control-input:not(:disabled)~.custom-control-label {
    cursor: pointer;
}

.site-navbar {
    background: url(../../img/header_bg.png) repeat top center;
    padding: 0px;
}
  .site-navbar .navbar-nav > li > a {
      color: #0188BA !important;
      font-weight: bold;
  }
  .beta-logo {
      color: #dd0000;
      font-style: italic;
      font-weight: bold;
      left: -95px;
      position: relative;
      text-shadow: 1px 1px 1px #fff;
      top: 15px;
      display: inline-block;
  }

.fwlayout-fluid .sidebar-nav .nav-header-2 {
    padding: .5rem 1rem;
    margin-bottom: 0;
    font-size: .875rem;
    font-weight: bold;
    color: #6c757d;
    white-space: nowrap;
}

.fwlayout-fluid .sidebar-nav .nav-divider {
    height: 0;
    margin: .5rem 1rem;
    overflow: hidden;
    border-top: 1px solid #d1d3d7;
}

.sevisreq, .sevisreq.bootstrap-select .btn {
    background-color: #CCFFCC;
}

.jobonlyreq {
    background-color: #8CFB92;
}

.jobonlyfg {
    color: #339966;
}

.spirit-admin {

}
    .spirit-admin .sa-text {
      font-size: .875rem;
    }
    .spirit-admin table.sa-text td
    , .spirit-admin table.sa-text th
    {
      font-size: .875rem;
    }

    .spirit-admin .main {
        padding: 0rem 1rem 0 1rem !important;
    }
    .spirit-admin hr {
      border-top: 1px solid #777;
      margin-top: 0.5rem;
      margin-bottom: 0.5rem;
    }

    .spirit-admin h4 {
      font-size: 1.3rem;
    }

    .spirit-admin .filter_option .btn{
      padding: .25rem .5rem;
      font-size: .875rem;
      line-height: 1.5;
      /*border-radius: .2rem;*/
    }

    .spirit-admin .form-control:not(.no-sa)
    , .spirit-admin .custom-file
    {
      padding: .25rem .25rem;
      font-size: .875rem;
      line-height: 1.5;
      /*border-radius: .2rem;*/
    }

    .spirit-admin .form-control:not(.no-sa):not(textarea)
    , .spirit-admin .custom-file
    {
      height: calc(1.8125rem + 2px);
    }

    .spirit-admin .custom-file-label {
      height: calc(2.00rem + 2px);
    }
    .spirit-admin .custom-file-label::after {
      height: 2.00rem;
    }

/*    .spirit-admin textarea.form-control {
        height: auto !important;
    }
*/
    .spirit-admin .form-control.bootstrap-select {
      padding: 0;
    }

    .spirit-admin .col-form-label
    , .spirit-admin .form-text
    , .spirit-admin .form-control-plaintext
    , .spirit-admin .bootstrap-select .btn
    {
      padding-top: calc(.25rem + 1px);
      padding-bottom: calc(.25rem + 1px);
      font-size: .875rem;
      line-height: 1.5;
    }

    .spirit-admin .form-control.selectpicker + .btn.dropdown-toggle {
      border: 1px solid #ced4da;
    }

    .spirit-admin .form-control.selectpicker + .btn.dropdown-toggle:focus {
      border-color: #80bdff;
      outline: 0 !important;
      box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .25);
    }

    .spirit-admin .help-block {
      font-size: .875rem;
      line-height: 1.5;
      margin-bottom: 0.5rem;
    }

    .spirit-admin .checkbox label
    , .spirit-admin .custom-control
    {
      font-size: .875rem;
      line-height: 1.5;
      margin-bottom: 0;
    }

    .spirit-admin .custom-control.custom-checkbox .custom-control-label {
        padding-top: 0.0625rem;
    }

    .spirit-admin .form-group {
      margin-bottom: 0.3rem;
    }

    /*  vlad: this should be remake to consider zero left/right border radius*/
    .spirit-admin .date button,
    .spirit-admin .input-group .input-group-text
     {
      padding: .25rem .5rem;
      font-size: .875rem;
      line-height: 1.5;
      border-radius: .2rem;
    }

    .spirit-admin .quick-search .twitter-typeahead {
        width:300px;
    }

    /* fix hint for smaller spirit admin inputs */
    .spirit-admin .twitter-typeahead .tt-query:has(+ .form-control:not(.no-sa)),
    .spirit-admin .twitter-typeahead .tt-hint:has(+ .form-control:not(.no-sa)) {
        padding: 3px 4px;
        font-size: 0.875rem;
        line-height: 1.5;
    }

    .spirit-admin .r-border {
        border-right: 1px solid #666;
    }

    .spirit-admin .emp-header {
      margin-bottom: -1rem;
    }
    .spirit-admin .emp-header .col-form-label{
      padding-top: 0;
      padding-bottom: 0;
      line-height: 1em;
    }
    .spirit-admin .emp-header .form-control-plaintext{
      padding-top: 0;
      padding-bottom: 0;
      font-weight: bold;
      line-height: 1em;
    }



/* Small devices (tablets, 768px and up) */
@media (min-width: 768px)
{
    .spirit-admin *[class^="col"] {
      padding-left:5px;
      padding-right:5px;
    }
}

/* vlad: match the label padding to match the text vertical alignment */
.custom-control-inline,
.radio-inline {
    padding-top: calc(.375rem + 1px)
}
  .spirit-admin .custom-control-inline,
  .spirit-admin .radio-inline {
      padding-top: calc(.25rem + 1px);
  }

/* SPIRIT colours like standard BS4 classes*/
/*0088B9*/
.bg-primary-spirit {
      background-color: #0188ba;
}
.bg-pax {
      background-color: #88BA01;
      color: #f8f9fa !important;
}
.bg-agent {
      background-color: #BA017B;
      color: #f8f9fa !important;
}
.bg-employer {
      background-color: #E2580C;
      color: #f8f9fa !important;
}
.bg-spirit {
      background-color: #0188ba;
      color: #f8f9fa !important;
}
.bg-admin {
      background-color: #668C00;
      color: #f8f9fa !important;
}

.bg-success-light {
    background-color: #80DD93 !important;
}

.btn[disabled] {
  cursor: not-allowed;
}

.border-primary-spirit {
      border-color: #0188ba;
}

.btn-primary-spirit {
      color: #fff;
      background-color: #0188ba;
      border-color: #0188ba;
}

.btn-primary-spirit:hover {
      color: #fff;
      background-color: #0177a2;
      border-color: #0177a2;
}

/* Backward compatibility for BS3 */
.hide {
    display: none!important;
}

.checkbox > label > input,
.radio > label > input {
    margin-right: 0.25rem;
    cursor: pointer;
}
.checkbox:not(.disabled) > label,
.radio:not(.disabled) > label {
    cursor: pointer;
}
.checkbox.disabled > label > input,
.radio.disabled > label > input {
    cursor: auto;
}

/* affix is dropped in BS4 */
#affix-nav {
    position: sticky;
}

/* typeahead BS4 fix */
.twitter-typeahead .tt-hint {
    top: 0 !important;
    left: -1px !important;
}
.tt-suggestion.tt-is-under-cursor {
    background: #b8daff !important;
    color: #212529 !important;
}

/* BS3 site.css migration */
.btn-panel .btn {
    margin-bottom: 1rem;
}

.text-expand {
    height: 2em;
    overflow: hidden;
    cursor: pointer;
}

.nav.nav-condensed .nav-link {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.nav-pills > li.nav-header {
    margin-top: 1rem;
}

h1.sec-spirit {
    margin-top: 0px;
    padding-left: 10px;
    background-color: #0188ba;
    color: #fff;
    padding-left: 1.6rem;
    padding-right: 1.6rem;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
}

h1.sec-employer {
    background-color: #E2580C;
    color: #fff;
    margin-top: 0px;
    padding-left: 1.6rem;
    padding-right: 1.6rem;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
}
h1.sec-employer small {
    color: #000;
}
#emp_news_feed {
    border-top: 2px solid #E2580C;
}

h1.sec-agent {
    background-color: #BA017B;
    color: #fff;
    margin-top: 0px;
    padding-left: 1.6rem;
    padding-right: 1.6rem;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
}
h1.sec-agent small {
    color: #ffff99;
}
#agent_news_feed {
    border-top: 2px solid #BA017B;
}

h1.sec-part {
    background-color: #88BA01;
    color: #fff;
    margin-top: 0px;
    padding-left: 1.6rem;
    padding-right: 1.6rem;
    padding-bottom: 0.5rem;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
}
h1.sec-part small {
    color: #000;
}

.bg-swt {
  background-color:#F9CDAA;
}
.bg-pdp {
  background-color:#D1EAF0;
}
.bg-teacher {
  background-color:#F0D1D1;
}

#part_news_feed {
    border-top: 2px solid #88BA01;
}

.sbtn-w80 {
    /* width:80px; */
    /* override for now, should create w-6rem class */
    width:6rem;
}

.sbtn-part {
    background-color: #88BA01;
    color: #fff;
}

.label-spirit-success {
    background-color: #88ba01;
}
.label-spirit-warning {
    background-color: #d94d00;
}

.page-item.active .page-link,
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
    background-color: #0188ba;
    border-color: #0188ba;
}

.glyphicon-none {
    width: 1em;
    height: 1em;
}

.on-sidebar-shrink .glyphicon-menu-hamburger {
	font-size: 1.7em;
}

/* jQuery FileUpload */
.fileinput-button {
  position: relative;
  overflow: hidden;
  width: 175px;
}
.fileinput-button input {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  opacity: 0;
  -ms-filter: 'alpha(opacity=0)';
  font-size: 200px;
  direction: ltr;
  cursor: pointer;
}
.fileinput-button.disabled > * {
    cursor: not-allowed;
}

.btn-download {
    border-color: #4cae4c;
    color: #5cb85c;
    width: 150px;
}

.calendar {

}
  .calendar-mon {
      font-weight: bold;
  }
  .calendar-day {
      font-weight: bold;
  }
  .calendar .month-view{
      width: 100%;
      margin: 0;
  }
  .calendar .month-view td {
      text-align: center;
      color: #ee0000;
  }
  .calendar .month-view td:hover {
      background-color: #ccc;
      cursor: pointer;
  }

  .calendar .month-view .av{
      font-weight: bold;
      color: #337ab7;
  }

  .calendar .month-view .na{
      color: #999;
  }
  .calendar .month-view .na:hover{
      background-color: transparent;
      cursor: default;
  }

  .calendar .month-view .selected{
      background-color: #00e000;
  }
  .calendar .month-view .ex{
      font-style: italic;
      font-weight: bold;
  }

  .calendar .day-view{
      width: 100%;
      margin: 0;
  }
  .calendar .day-view td{
      cursor: pointer;
  }
  .calendar .day-view .na td{
      color: #999;
      cursor: default;
  }
  .calendar .day-view .selected td{
      background-color: #00e000;
  }

ul.footer-menu li a{
  color: #0188BA;
}

.table > thead > tr > td.red,
.table > tbody > tr > td.red,
.table > tfoot > tr > td.red,
.table > thead > tr > th.red,
.table > tbody > tr > th.red,
.table > tfoot > tr > th.red,
.table > thead > tr.red > td,
.table > tbody > tr.red > td,
.table > tfoot > tr.red > td,
.table > thead > tr.red > th,
.table > tbody > tr.red > th,
.table > tfoot > tr.red > th {
    background-color: #ff0000;
    color: #fff;
}

.expandable {
  max-height: 4.9em;
  overflow: hidden;
  position: relative;
  padding-bottom: 1.1em;
}
  .expandable::after {
    content: "--- click to expand ---";
    position: absolute;
    bottom: -3px;
    text-align: center;
    left: 0;
    right: 0;
    z-index: 10;
    font-size: smaller;
    color: #666;
  }

    .expandable.expanded {
      max-height: none;
      overflow: unset;
    }
    .expandable.expanded::after {
      display: none;
    }

/* shrinked sidebar */
.sidebar-shrink-wrapper button {
    background: none;
}

.sidebar-shrink-wrapper button:focus {
    outline: 1px dotted;
}

.sidebar-shrinked .sidebar-nav {
    overflow: visible;
}

.sidebar-shrinked .site-footer,
.sidebar-shrinked .brand-name,
.sidebar-shrinked .nav-header .nav-link,
.sidebar-shrinked .nav-header span,
.sidebar-shrinked .nav-link .bg-spirit,
.sidebar-shrinked .nav-header-2,
.sidebar-shrinked .nav-link span {
    display: none;
}

.sidebar-shrinked .nav-header {
    margin-top: 0.25rem !important;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
}

.sidebar-shrinked .nav-header hr {
    display: block !important;
    margin: 0.5rem 0;
}

.sidebar-shrinked .nav-link {
    position: relative;
}

.sidebar-shrinked .nav-link:hover span {
    position: absolute;
    top: 0;
    left: 3rem;
    z-index: 1000;
    height: 2.5rem;
    padding: 0 0.5rem;
    background-color: #e9ecef;
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(0,0,0,0.1);
    border-left: 0;
    width: auto;
    -webkit-transition: background 225ms ease-in;
    transition: background 225ms ease-in;
}

.sidebar-shrinked .nav-link:hover span:hover {
    background-color: #fff;
}

.sidebar-shrinked .sidebar-shrink-wrapper {
    display: block;
    margin-top: 0.5rem;
}

.sidebar-shrinked .brand {
    padding: 0 !important;
    text-align: center;
}

/* overrides for narrow screens*/
@media (max-width: 767px) {
    .modal.modal-wider .modal-dialog{
        width: auto;
    }
}

@media (max-width: 991px) {
    .modal-xl
    , .modal-lg
    {
      max-width: 99%;
    }
}

/* .BS3 site.css migration*/

/* print hacks */
@media print {
    .page-break-after {
        page-break-after: always;
    }

    .page-break-inside-avoid {
        page-break-inside: avoid
    }

    main {
        max-width: 100% !important;
        width: 100% !important;
        flex-basis: 100% !important;
        margin: 0 !important;
    }

    main.px-4 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /*this is for PDF generation, layout_print.html*/
    body.fwlayout-print .main-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .table-striped > tbody > tr:nth-of-type(odd) > td {
        background-color: #f9f9f9 !important;
        -webkit-print-color-adjust: exact !important;
    }

    /* https://github.com/wkhtmltopdf/wkhtmltopdf/issues/2135 */
    .wk-img-transparency-fix {
        z-index: 100;
        position: relative;
    }

    .expandable {
      max-height: none;
      overflow: unset;
    }
    .expandable::after {
      display: none;
    }

}
