@font-face {
    font-family: 'FontAwesome';
    src: url('./../fonts/fa-solid-900.eot') format('embedded-opentype'),
         url('./../fonts/fa-solid-900.woff2') format('woff2'),
         url('./../fonts/fa-solid-900.woff') format('woff'),
         url('./../fonts/fa-solid-900.ttf')  format('truetype'),
         url('./../fonts/fa-solid-900.svg') format('svg');
}

body {
    font-family: "PT Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
}

/* FIXES */
.easy-autocomplete-container {
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important;
}
.easy-autocomplete input {
    box-shadow: none !important;
}
.easy-autocomplete-container ul li, .easy-autocomplete-container ul .eac-category {
    font-size: unset !important;
    padding: .5rem !important;
}
#jqstooltip {
    width: auto !important;
    height: auto !important;
    padding: 5px 10px !important;
    border-radius: 2px !important;
}
  
div.as-image {
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
div.as-image.image-cover {
    background-size: cover;
}
.main-content {
    min-height: 100vh !important;
}
.country-code-suggest {
    max-width: 75px;
}
.spinner-background {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.spinner-background,
.modal-spinner {
    background-color: rgba(255, 255, 255, .75);
}
.dataTables_wrapper.dt-bootstrap4 {
    width: 100%;
}

/* SIDEBAR FIX */
.app .sidebar {
    box-shadow: .125rem 0 .25rem rgba(0, 0, 0, .075);
}
.app .sidebar .sidebar-menu {
    overflow-x: hidden !important;
    overflow-y: auto !important;
}
.sidebar-menu > li.dropdown ul.dropdown-menu > li > a {
    padding: 5px 25px !important;
}
.sidebar-menu > li.dropdown ul.dropdown-menu > li > a .icon-holder {
    width: 22px;
    display: inline-block;
}
.sidebar-menu li.dropdown.open>.dropdown-menu .dropdown-menu {
    padding-left: 27px;
}
.app .sidebar-fix {
    width: 100vw;
    height: 100vh;
    z-index: 900;
    background-color: rgba(0, 0, 0, .25);
    display: none;
    position: fixed;
    left: 0;
    top: 0;
}
.app.is-collapsed .sidebar-fix {
    display: block;
}
.app.is-collapsed .sidebar {
    box-shadow: none;
}
.sidebar-logo a .logo {
    max-height: 65px;
    width: 70px !important;
}
.sidebar-menu > li > a .icon-holder {
    margin-right: 16px;
}
@media screen and (min-width: 1438px) {
    .sidebar {
        width: 70px !important;
    }
    .sidebar:hover {
        width: 280px !important;
    }
    .sidebar .sidebar-inner .sidebar-logo {
        border-bottom: 1px solid transparent;
        padding: 0;
    }
    .header {
        width: calc(100% - 70px) !important;
    }
    .page-container {
        padding-left: 70px !important;
    }
    .app.is-collapsed .page-container {
        padding-left: 280px !important;
    }
    .app.is-collapsed .sidebar {
        width: 280px !important;
    }
    .app .sidebar:hover .sidebar-inner .sidebar-logo,
    .app.is-collapsed .sidebar .sidebar-inner .sidebar-logo {
        border-bottom: 1px solid rgba(0,0,0,.0625);
        padding: 0 20px;
    }
    .app.is-collapsed .sidebar .sidebar-inner .sidebar-menu > li > a .title {
        display: inline-block;
    }
    .app .sidebar .sidebar-inner .sidebar-menu li.dropdown .arrow {
        opacity: 0;
    }
    .app .sidebar:hover .sidebar-inner .sidebar-menu li.dropdown .arrow,
    .app.is-collapsed .sidebar .sidebar-inner .sidebar-menu li.dropdown .arrow {
        opacity: 1;
    }
    .app .sidebar .sidebar-inner .sidebar-menu li.dropdown.open > ul.dropdown-menu {
        display: none !important;
    }
    .app .sidebar:hover .sidebar-inner .sidebar-menu li.dropdown.open > ul.dropdown-menu,
    .app.is-collapsed .sidebar .sidebar-inner .sidebar-menu li.dropdown.open > ul.dropdown-menu {
        display: block !important;
    }
    .app.is-collapsed .header {
        width: calc(100% - 280px) !important;
    }
}
@media screen and (max-width: 991px) {
    .app.is-collapsed .sidebar {
        width: 280px;
        box-shadow: .125rem 0 .25rem rgba(0, 0, 0, .075);
    }
}
@media only print {
    .app .sidebar,
    .app .header,
    .app .navbar {
        display: none !important;
    }
    .page-container,
    .main-content,
    .app.is-collapsed .page-container {
        padding: 0 !important;
    }

    @page {
        size: auto;
    }
    body {
        min-width: 576px !important;
    }
}
