/* Table of Contents
// 1. Global Styles
// 2. Header
// 3. Content
//    ** Login/Logout
//    ** Landing Page
//    ** Navigation
//    ** Breadcrumbs
//    ** Avatars
//    ** User Info
//    ** Tabs
//    ** Forms
//    ** Permissions
//    ** Modals
//    ** Tables
//    ** Help
// 4. Footer
// 5. Media Queries
*/

/* // Global Styles */
html {
    min-height: 100%;
    position: relative;
}

body {
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    height: 100%;
    margin-bottom: 60px;
    overflow-x: hidden;
}

a {
    text-decoration: none !important;
}

img {
    max-width: 100%;
}

.btn {
    font-size: 14px;
}

.btn-wide {
    min-width: 100px;
}

.fa-btn {
    margin-right: 6px;
}

.btn-secondary {
    transition: all 0.3s ease;
}

.btn-group-justified {
    display: flex;
    width: 100%;
}

.btn-group-justified .btn {
    border: 0;
    flex: 1;
}

.no-margin {
    margin-bottom: 0;
}

.flex-content {
    display: flex;
    height: 100%;
}

/* Summernote fix for toolbar. */
.note-toolbar {
    z-index: 2 !important;
}

/* // Header */
.navbar-development {
    margin-bottom: 0 !important;
    min-height: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 3;
}

.navbar-development h5 {
    font-size: 1rem;
    margin-bottom: 0;
    width: 100%;
}

/* Content */
h1.page-title {
    font-family: 'Lato', sans-serif;
    font-size: 30px;
    font-weight: 900;
    margin-top: 0;
    text-transform: uppercase;
}

h2.subtitle {
    border-bottom: 2px solid #e8e8e8;
    font-family: 'Lato', sans-serif;
    font-size: 20px;
    font-weight: 900;
    margin: 0 0 15px;
    padding-bottom: 5px;
    text-transform: uppercase;
}

.page-header {
    align-items: center;
    border-bottom: 2px solid #e8e8e8;
    display: flex;
    flex-wrap: wrap;
    margin: 40px 0;
    padding-bottom: 5px;
}

.page-buttons {
    margin-left: auto;
}

.box {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 5px;
    margin-bottom: 50px;
    padding: 20px;
}

.pagination {
    margin: 0;
}

.summernote-area .note-editor.note-frame,
.note-editor.note-frame {
    border: 0;
}

.note-toolbar-wrapper,
.note-toolbar {
    z-index: 1;
}

#app-layout {
    margin-bottom: 0;
}

.guest-content {
    width: 100%;
}

.admin-content {
    margin-left: 260px;
    padding: 130px 0 40px;
    width: calc(100% - 260px);
}

.admin-content .container {
    max-width: 95%;
}

/** Login/Logout **/
.login-wrap {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    padding: 30px;
    width: 100vw;
}

.login-wrap .admin-logo {
    margin-bottom: 40px;
    max-width: 400px;
}

.login-box {
    background: #fff;
    border-radius: 5px;
    margin: 0 auto;
    max-width: 100%;
    padding: 30px;
    position: relative;
    width: 580px;
}

.login-box h3 {
    font-weight: 700;
    margin-bottom: 30px;
    margin-top: 0;
    text-align: center;
}

.logout {
    display: none;
}

/** Landing Page **/
.landing-info .row {
    display: flex;
    flex-flow: row wrap;
    margin-bottom: 30px;
}

.landing-info .icon-box {
    height: 100%;
}

.landing-info .icon-box a {
    background-color: #f2f2f2;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 20px;
    text-align: center;
    transition: all 0.2s;
}

.landing-info .module {
    margin-bottom: 30px;
}

.landing-info .module .icon {
    font-size: 60px;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.landing-info .module h2 {
    font-size: 24px;
    font-weight: 900;
    margin-top: 0;
    transition: color 0.3s ease;
}

.landing-info .module p {
    color: #999 !important;
}

.landing-info h3 {
    font-weight: 700;
}

/** Navigation **/
.omni-nav {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    height: 100%;
    overflow-y: auto;
    padding: 0 0 20px;
    position: fixed;
    width: 260px;
}

.omni-nav .modules {
    margin-top: 92px;
    width: 100%;
}

.omni-nav .modules ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.omni-nav .modules ul li a {
    align-items: center;
    display: flex;
    padding: 0;
    text-decoration: none;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.omni-nav .modules ul li a [class*="fa-"]:not(.fa-chevron-down) {
    font-size: 20px;
    padding: 20px 18px;
    width: 60px;
}

.omni-nav-toggled .omni-nav .modules ul li a [class*="fa-"]:not(.fa-chevron-down) {
    display: block;
    padding: 20px 29px;
    width: 100%;
}

.omni-nav .modules ul li a .link-text {
    padding: 10px;
}

.omni-nav .modules ul li a .fa-chevron-down {
    font-size: 12px;
    margin-right: 0;
    position: absolute;
    right: 14px;
}

.omni-nav .modules .dropdown ul li a {
    font-size: 12px;
}

.omni-nav .modules .dropdown .collapse-toggle .fa-chevron-down {
    transition: transform 0.3s ease;
}

.omni-nav .modules .dropdown .collapse-toggle {
    border-top: 2px solid;
    margin-top: -2px;
}

.omni-nav .modules .dropdown .collapse-toggle[aria-expanded="true"] .fa-chevron-down {
    transform: rotate(-180deg);
    transition: transform 0.3s ease;
}

.omni-navbar {
    align-items: center;
    display: flex;
    height: 92px;
    margin-left: 260px;
    padding: 10px 20px;
    position: fixed;
    top: 0;
    width: calc(100% - 260px);
    z-index: 3;
}

.omni-navbar .menu-toggle {
    margin-right: 30px;
}

.omni-navbar .menu-toggle a {
    border-radius: 5px;
    display: block;
    font-size: 21px;
    padding: 6px 12px;
    transition: background-color 0.3s ease;
}

.omni-navbar .logo img {
    max-height: 65px;
}

.omni-navbar .links {
    margin-left: auto;
}

.omni-nav-toggled .omni-navbar,
.omni-nav-toggled .admin-content {
    margin-left: 80px;
    width: calc(100% - 80px);
}

.omni-nav-toggled .omni-nav {
    width: 80px;
}

.omni-nav-toggled .omni-nav .user-info {
    width: 80px;
    z-index: 1;
}

.omni-nav-toggled .modules {
    position: relative;
}

.omni-nav-toggled .modules ul li a {
    text-align: center;
}

.omni-nav-toggled .omni-nav .modules ul li a [class*="fa-"] {
    margin-right: 0;
}

.omni-nav-toggled .admin-content {
    margin-left: 80px;
}

.omni-nav-toggled .user-info .fab,
.omni-nav-toggled .user-info .fal,
.omni-nav-toggled .user-info .far,
.omni-nav-toggled .user-info .fas {
    display: inline-block;
}

.omni-nav-toggled .user-info .dropdown a [class*="fa-"] {
    position: relative;
    right: auto;
}

.omni-nav-toggled .user-info ul .collapsed-hide {
    display: none;
}

.omni-nav-toggled .user-info .dropdown #user-info-collapse li {
    text-align: center;
    width: 100%;
}

.omni-nav-toggled .user-info h3,
.omni-nav-toggled .modules ul li a .link-text {
    display: none;
    height: 0;
    opacity: 0;
    position: relative;
    width: 0;
    z-index: -1;
}

.omni-nav-toggled .logout {
    display: block;
}

.omni-nav-toggled .fa-chevron-down {
    display: none;
}

.menu-row > td {
    padding-bottom: 15px !important;
    padding-top: 15px !important;
}

.user-info,
.user-info h3,
.modules ul li a .link-text,
.omni-navbar,
.omni-nav,
.admin-content {
    transition: all 0.3s ease;
}

.user-info ul .fab,
.user-info ul .fal,
.user-info ul .far,
.user-info ul .fas {
    display: none;
}

.sidebar-footer {
    align-self: flex-end;
    margin-top: 15px;
    text-align: center;
    width: 100%;
}

/** Breadcrumbs **/
ol.breadcrumb {
    background-color: rgba(0, 0, 0, .05);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #ccc;
    content: "\f054";
    font-family: "Font Awesome 5 Pro";
    font-size: 12px;
    font-weight: 900;
}

/** Avatars **/
.avatar-photo {
    width: 200px;
}

.avatar-upload {
    padding-left: 20px;
    width: calc(100% - 100px);
}

.avatar-photo img {
    width: 100%;
}

.avatar-preview {
    border: 5px solid #fff;
    border-radius: 50%;
    width: 200px;
}

.avatar-remove .custom-control-label:before,
.avatar-remove .custom-control-label:after {
    border-radius: 50%;
    height: 100px;
    width: 100px;
}

.avatar-remove .custom-control-input:checked + .custom-control-label:after {
    background-image: url("/omni-admin/images/remove.png");
    background-size: cover;
}

#avatar-image-box .upload-content {
    background-color: transparent;
}

#avatar-image-box .custom-file {
    border-radius: 50%;
}

/** User Info **/
.user-info {
    align-items: center;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    padding: 20px;
    position: fixed;
    top: 0;
    width: 260px;
    z-index: 2;
}

.user-info .dropdown {
    width: 100%;
}

.user-info .collapse-toggle .fa-chevron-down {
    transition: transform 0.3s ease;
}

.user-info .collapse-toggle[aria-expanded="true"] .fa-chevron-down {
    transform: rotate(-180deg);
    transition: transform 0.3s ease;
}

.user-info .dropdown a {
    align-items: center;
    display: flex;
    text-decoration: none;
    width: 100%;
}

.user-info .dropdown a [class*="fa-"] {
    font-size: 14px;
    margin-top: 2px;
    position: absolute;
    right: 0;
}

.user-info .dropdown #user-info-collapse {
    list-style: none;
    margin-bottom: 0;
    padding: 0;
}

.user-info .dropdown #user-info-collapse li {
    display: inline-block;
    margin-bottom: 0;
    margin-top: 20px;
    padding: 0;
    width: 49%;
}

.user-info .dropdown #user-info-collapse li a {
    border-radius: 5px;
    display: block;
    padding: 5px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.user-info .user-avatar {
    border: 2px solid #fff;
    border-radius: 50%;
    height: 40px;
    margin: 5px 10px 5px 0;
    width: 40px;
}

.user-info h3 {
    font-size: 18px;
    margin: 0;
    white-space: nowrap;
    width: 100%;
}

/** Tabs **/
.nav-tabs {
    border-bottom: 2px solid #ddd;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:focus,
.nav-tabs > li.active > a:hover {
    border-width: 0;
}

.nav-tabs > li > a {
    border: 0;
    color: #666;
}

.nav-tabs > li.active > a,
.nav-tabs > li > a:hover {
    border: 0;
    color: #025b85;
    background: transparent;
}

.nav-tabs > li > a:after {
    background: #025b85;
    bottom: -1px;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    transform: scale(0);
    transition: all 250ms ease 0s;
    width: 100%;
}

.nav-tabs > li.active > a:after,
.nav-tabs > li:hover > a:after {
    transform: scale(1);
}

.tab-nav > li > a:after {
    background: #21527d none repeat scroll 0% 0%;
    color: #fff;
}

.tab-pane {
    padding: 15px 0;
}

.tab-content {
    padding: 0 20px;
}

/** Forms **/
.form-group {
    margin-bottom: 30px;
}

.form-control,
.form-control:focus {
    background-color: #e8e8e8;
    border: 0;
}

.box .form-control {
    background-color: #fff;
}

.box .form-control:disabled,
.box .form-control[readonly] {
    background-color: #e9ecef;
}

.modal .form-control {
    background-color: #e8e8e8;
}

.modal .custom-file-label {
    background-color: #e8e8e8;
}

.form-control:not(textarea) {
    height: 40px;
}

label:not(.custom-file-label) {
    font-weight: 700;
}

.custom-file-name:after {
    content: attr(data-content) !important;
    display: block;
    height: 100%;
    left: 0;
    overflow: hidden;
    padding: 0.5rem 1rem;
    position: absolute;
    top: 0;
}

.custom-file-input,
.custom-file-label,
.custom-file-label:after {
    border: 0;
    height: 40px;
}

.custom-file-label,
.custom-file-label:after {
    padding: 10px;
}

select[readonly]{
    cursor: no-drop;
}

select[readonly] option{
    display: none;
}

.upload-content {
    display: inline-block;
}

.edit-callout {
    border-top-left-radius: 3px;
    bottom: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 5px 10px;
    position: absolute;
    right: 0;
    text-align: right;
    transition: opacity 0.2s;
}

.edit-callout .fa {
    display: inline-block;
    font-size: 16px;
}

.upload-content:hover .edit-callout {
    opacity: 0;
    transition: opacity 0.2s;
}

.upload-box {
    border: 2px solid transparent;
}

.upload-box.dragging {
    opacity: 0.5;
}

.upload-box.dragging * {
    pointer-events: none;
}

.upload-box {
    background-color: #f1f1f1;
    border-radius: 5px;
    margin-bottom: 40px;
    padding: 30px;
    text-align: center;
}

.upload-box .custom-file {
    height: auto;
}

.upload-box .custom-file-input {
    min-width: 0;
    width: 0;
}

.upload-box label {
    background-color: transparent;
    border: 0;
    cursor: pointer;
    margin: 0;
    position: relative;
}

.upload-box [class*=fa-] {
    color: #555555;
    display: block;
    font-size: 60px;
    margin-bottom: 20px;
}

.upload-box p {
    color: #435163;
    margin: 30px 0 0;
}

.upload-box.upload-wrap {
    background-color: transparent;
    padding: 0;
}

.upload-box.upload-wrap .upload-content {
    background-color: #e8e8e8;
    position: relative;
}

.upload-box.upload-wrap .custom-file,
.upload-box.upload-wrap .custom-file-label {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.upload-box.upload-wrap .custom-file-label {
    height: 100%;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%;
}

.upload-box.upload-wrap .btn,
.upload-box.upload-wrap .custom-file p {
    display: none;
}

.upload-box.upload-wrap .fa {
    color: #fff;
    margin: 0;
}

.upload-box.upload-wrap .btn,
.upload-box.upload-wrap .custom-file p {
    display: none;
}

.upload-box.upload-wrap .custom-file {
    background-color: rgba(0, 0, 0, .3);
    bottom: 0;
    left: 0;
    opacity: 0;
    position: absolute;
    right: auto;
    top: 0;
    -webkit-transition: opacity .3s ease;
    transition: opacity .3s ease;
}

.upload-box .custom-file .custom-file-label:after {
    display: none;
}

.upload-box.upload-wrap .custom-file:hover {
    opacity: 1;
    -webkit-transition: opacity .3s ease;
    transition: opacity .3s ease;
}

/** Permissions **/
.permission {
    background-color: #eee;
    border-radius: .3rem;
}

.permissions-form .custom-control.custom-radio:first-child {
    padding-left: 0;
}

.permissions-form .custom-control-label {
    background-color: #ccc;
    border-radius: 5px;
    color: #999;
    font-size: 13px;
    padding: 5px 10px;
    text-align: center;
    width: 100%;
}

.permissions-form .custom-control-label span {
    padding-left: 5px;
}

.permissions-form .custom-control-label:before,
.permissions-form .custom-control-label:after {
    display: none;
}

.permissions-form input[type="radio"]:checked + .custom-control-label {
    color: #fff;
}

.permissions-form .form-inline {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
}

.permissions-form .form-inline .custom-control {
    padding-left: 10px;
    width: 100%;
}

.permissions-table .btn:not(.view-button) {
    cursor: default;
}

/** Modals **/
.modal-content {
    border: 0;
}

.modal-body {
    padding: 40px;
}

.modal-header {
    align-items: center;
}

.modal-title {
    font-size: 24px;
    font-weight: 900;
    text-transform: uppercase;
}

.modal-footer {
    align-items: flex-start;
    border: 0;
    padding: 0 40px 40px;
}

.modal-footer .btn:not(:last-child) {
    margin-right: 10px;
}

.modal-footer .btn:last-child {
    margin-left: auto;
}

.modal-simple .modal-content {
    text-align: center;
}

.modal-simple .modal-title {
    margin-bottom: 30px;
}

.modal-simple .btn {
    font-size: 16px;
}

.modal-simple .btn:not(:last-child) {
    margin-right: 20px;
}

.modal-icon {
    align-items: center;
    border-radius: 50%;
    display: flex;
    font-size: 60px;
    height: 120px;
    justify-content: center;
    margin: 0 auto 30px;
    width: 120px;
}

.modal-icon:before {
    margin-top: 10px;
}

.modal-body img {
    max-width: 100%;
}

#install-module-modal .modal-body {
    font-size: 16px;
    padding: 30px;
}

/* Tables */
.table {
    max-width: calc(100% - 4px);
}

.table td,
.table th {
    border-top: 0;
    padding: 10px 15px;
    vertical-align: middle;
}

.table thead th {
    border-bottom: 0;
    padding: 15px;
}

.table tbody {
    border-left: 2px solid #e8e8e8;
    border-right: 2px solid #e8e8e8;
}

.table tbody td {
    border-bottom: 2px solid #e8e8e8;
    border-left: 2px solid #e8e8e8;
    border-right: 2px solid #e8e8e8;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #fff;
}

.table-striped tbody tr:nth-of-type(even) {
    background-color: #f2f2f2;
}

/* Help */
.help-content img {
    border: 2px solid #e8e8e8;
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 30px;
    max-width: 100%;
    min-height: 20px;
    min-width: 20px;
    padding: 3px;
}

.help-content p > img {
    border: 0;
    margin-bottom: 0;
    max-height: 45px;
    min-height: 20px;
    min-width: 20px;
}

.help-content .page-header {
    margin-bottom: 25px;
}

.help-content section {
    margin-top: 50px;
}

.help-modal .modal-dialog {
    max-width: 1200px;
    width: 95%;
}

.help-modal .modal-content {
    overflow: hidden;
    border: 0;
}

.help-content .link-target {
    position: relative;
    top: -150px;
}

/* // Media Queries */
@media screen and (max-width: 735px) {
    .page-buttons {
        margin-left: 0;
        width: 100%;
    }
}

@media screen and (max-width: 530px) {
    .omni-navbar .links {
        display: none;
    }

    .omni-navbar .logo img {
        max-width: 100%;
        min-width: 200px;
    }

}

@media screen and (max-width: 425px) {
    .omni-navbar .logo img {
        max-width: 150px;
        min-width: 0;
    }
}
