@import url('./tables.css');
@import url('./loading.css');

body {
    min-height: 100vh;
    min-height: -webkit-fill-available;
}
  
html {
    height: -webkit-fill-available;
}
  

main {
    display: flex;
    flex-wrap: nowrap;
    height: 100vh;
    max-height: 100vh;
    overflow-x: auto;
}

main #menu {
    position: fixed;
    width: 140px;
    height: 100vh;
    z-index: 99999;
    margin-left: -280px; 
}

main #menu.active {
    margin-left: 0; 
}

main #content {
    width: calc(100%);
    margin-left: 0px;
}

#menu, #content, .card-body {
    transition: all 0.25s ease-out;
}

main #content.active {
    width: calc(100% - 140px);
    margin-left: 140px;
}

.card {
    padding: 0;
}

.select2-container--default .select2-selection--multiple {
    max-height: 110px;
    overflow-x: hidden;
    overflow-y: auto;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    color: black;
}

.select2-container--default .select2-selection--multiple .select2-selection__clear {
    cursor: pointer;
    float: right;
    font-weight: bold;
    margin-top: 5px;
    margin-right: 10px;
    position: absolute;
    right: 0;
}

.select2-container .select2-search--inline .select2-search__field {
    height: 19px;
}

.form-control-sm {
    min-height: calc(1.5em + .5rem);
    border-color: #aaaaaa;
}

textarea {
    resize: none;
}

.close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.5rem 0.75rem;
    z-index: 1;
    border: 0;
    background: transparent;
    float: right;
    font-size: 1.40625rem;
    font-weight: 600;
    line-height: 1;
    color: #000;
    text-shadow: none;
    opacity: .5;
}

.nav-link {
    color: #fff;
}

.nav-link:hover {
    color: #fff;
    background-color: #3180f6;
}

main #menu .menu-toggle {
    position: absolute;
    z-index: 999999999999;
    right: -35px;
    top: 0;
    background-color: #212529;
    border-bottom-right-radius: 0.25rem;
}

.ham {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform 400ms;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: 35px;
    height: 35px;
}

.hamRotate.active {
    transform: rotate(45deg);
}

.hamRotate180.active {
    transform: rotate(180deg);
}

.ham4 .top {
    stroke-dasharray: 40 121;
}

.ham4 .bottom {
    stroke-dasharray: 40 121;
}

.ham4.active .top {
    stroke-dashoffset: -68px;
}

.ham4.active .bottom {
    stroke-dashoffset: -68px;
}

.line {
    fill:none;
    transition: stroke-dasharray 400ms, stroke-dashoffset 400ms;
    stroke:#fff;
    stroke-width:5.5;
    stroke-linecap:round;
}

.btn-collapse {
    width: 25px;
    height: 25px;
    display: inline-block;
    vertical-align: middle;
    line-height: unset;
    position: absolute;
    right: 10px;
    background-color: #636465 !important;
    padding: 0;
}

.btn-collapse::before {
    content: '+';
}

.btn-collapse.active::before {
    content: '-'
}

.select2-container.select2-container--default.select2-container--open {
    z-index: 1065 !important;
}

.bg-zys {
    background-color: #16254c !important;
}
