$img-path: "../img" !default;

.note-editor {
    margin-bottom: 0;
}

.modal-header .close .btn,
.modal-body button.close .btn{
    border-top-left-radius: 0;
    border-bottom-right-radius: 0;
}

.modal-header .close,
.modal-body button.close {
    position: absolute;
    top: 0;
    right: 0;
}

.modal-header, .modal-footer {
    padding: 0.5rem 1rem;
}

.bg-none,
.bg-transparent {
    background: transparent !important;
}

.front .navbar {
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

@media (max-width: 575.98px) {
    .d-down-none {
        display: none !important;
    }
}

@media (max-width: 767.98px) {
    .d-sm-down-none {
        display: none !important;
    }
}

@media (max-width: 991.98px) {
    .d-md-down-none {
        display: none !important;
    }
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .dropdown-menu {
        top: 95%;
    }
}

@media (max-width: 1199.98px) {
    .d-lg-down-none {
        display: none !important;
    }
}

.d-xl-down-none {
    display: none !important;
}
@media only screen and (min-width: 768px) {
    .dropdown:hover .dropdown-menu {
      display: block;
    }
}

.row-flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

/* vertical spacing between columns */

.row-flex [class*="col-"] {
    margin-bottom: 1rem;
}

.row-flex .content, .row-flex .card {
    height: 100%;
}

.row-flex .card-body{
    padding-top:0;
    padding-bottom:0;
}

.app .form-control, .app .input-group-text, .app .custom-select {
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    border-radius: 0 !important;
}

.app .form-row > .col, .app .form-row > [class*=col-] {
      padding-right: 0 !important;
      padding-left: 0 !important;
}

.app .form-row > .col:first-child { margin-right: 0.5rem !important; }

  /* Grid Form */

.grid-form { font-family: 'Open Sans', Nunito, "Calibri Light", sans-serif}
.grid-form input[type="text"], .grid-form input[type="email"], .grid-form input[type="number"], .grid-form input[type="password"], .grid-form input[type="search"], .grid-form input[type="tel"], .grid-form input[type="url"], .grid-form input[type="color"], .grid-form input[type="date"], .grid-form input[type="datetime"], .grid-form input[type="datetime-local"], .grid-form input[type="month"], .grid-form input[type="time"], .grid-form input[type="week"], .grid-form textarea, .grid-form select {
    border-width: 0;
    border-style: initial;
    border-color: initial;
    border-image: initial;
    background: transparent;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.grid-form .card{ border-left:0; border-right:0;}
.grid-form .card-body{padding-top: 10px;padding-bottom: 10px}
.grid-form .row, .grid-form .form-row {
    margin-left: 0;
    margin-right: 0;
}
.grid-form .form-row, .grid-form .row{border-top:1px solid #343a40; margin-bottom: 0 !important;}

.grid-form .form-row:last-child, .grid-form .row:last-child {
    border-bottom: 1px solid #343a40;
}

.grid-form label{ margin-bottom: 0 !important; font-size: smaller;}
.grid-form .card-header{ border-top: 1px solid #c8ced3}

.grid-form .form-control {
    padding: 0 !important;
    height: 35px;
}
.grid-form .form-control, .grid-form label.form-check-label {
    font-size: 13px;
}
.grid-form label, .grid-form .form-control, .grid-form label.form-check-label {
    font-family: 'Open Sans', Nunito, "Calibri Light", sans-serif;
}
.grid-form label, .grid-form .col, .grid-form [class*="col-"] {cursor: text;}
.grid-form .col, .grid-form [class*="col-"] {
    padding: 0;
    border-right: 1px solid #343a40;
}

.grid-form .form-check .col, .grid-form .form-check [class*="col-"] {
    padding: 0;
}

.grid-form .col:last-child, .grid-form [class*="col-"]:last-child {
    border-right: none;
}

.grid-form .field-title {
    font-size: 16px;
    padding-top: 10px;
    padding-left: 10px;
    cursor: pointer;
    background: #f0f0f0;
}

.grid-form .form-group {
    margin: 0;
    padding: 0.25rem 15px 0 15px;
    height: 65px;
}
.grid-form .form-group:hover { background: #f9f9f9}
.grid-form .form-check .form-group {height: auto !important;}

.form-group.has-error{background: rgba(255,36,36,.2);}

.brand-card-header i {
    font-size: 4rem;
}

@media only screen and (min-width: 768px) {
    .modal-lg {
      max-width: 75%;
    }
}

.table thead th{
    vertical-align: middle !important;
    text-align: center !important;
}

.breadcrumb { background-color: transparent;}

.app-body,
.sidebar .nav-link:hover,
.sidebar .nav-dropdown.open .nav-link {
    background: rgba(243,243,243,.95);
}

.sidebar {
    box-shadow: 1px 0 3px #aaa;
}

.sidebar {
    background: rgba(174,174,178,.75);
}

.sidebar,
.sidebar .nav-link,
.sidebar .nav-dropdown.open .nav-link {
    color:#333;
}

.sidebar .nav-title,
.sidebar .nav-link:hover {
    color: #111;
}

.sidebar .nav-link.active,
.sidebar .nav-link:hover {
    font-weight: 500;
}

.sidebar .nav-link.active {
    color: #000;
    background: #eaeaea;
}

.sidebar-minimized .sidebar .nav-dropdown-items .nav-item .nav-link {
    padding-left: 10px;
}

.app-footer {
    background: rgba(240, 243, 245,.9);
}

.login-page .card-login .logo-container { margin-bottom: 0; width: 80%}

.clear-filter[filter-color="green"] {
    background: rgba(180,205,75,.2);
    background: linear-gradient(0deg,rgba(180,205,75,.2),rgba(23,117,57,.6));
}

.clear-filter[filter-color="blue"] {
    background: rgba(3,158,214,.2);
    background: linear-gradient(0deg,rgba(3,158,214,.2),rgba(67,39,116,.6));
}

.clear-filter[filter-color="white"] {
    background: rgba(255,255,255,.1);
    background: linear-gradient(0deg,rgba(255,255,255,.1),rgba(255,255,255,.5));
}

.index-page .page-header {
    height: 100vh !important;
    font-family: Nunito, sans-serif;
}

.front h1.h1-seo, .highlight{
    font-family: 'Caveat Brush', 'Nunito', 'open sans', sans-serif !important;
    text-shadow: -2px 2px 2px #000;
}

.page-header .page-header-image {
    background-position: center center !important;
}

/* Toastr */
#toast-container.toast-bottom-full-width > div,
#toast-container.toast-top-full-width > div {
    width: 100% !important;
}

#toast-container>div {
    padding: 0 0 0 50px  !important;
    -moz-border-radius: 0  !important;
    -webkit-border-radius: 0  !important;
    border-radius: 0  !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
    opacity: 1 !important;
}

#toast-container.toast-top-center,
#toast-container.toast-bottom-center,
#toast-container.toast-center-center {
    width: 100%;
}

#toast-container.toast-top-center > div,
#toast-container.toast-bottom-center > div,
#toast-container.toast-center-center > div {
    min-width: 300px;
    margin-left: auto !important;
    margin-right: auto !important;
}

#toast-container.toast-center-center > div { top: 45vh };

.toast {
    border: 1px solid #030303 !important;
}
.toast-success {
    border: 1px solid #51A351 !important;
}
.toast-error {
    border: 1px solid #BD362F !important;
}
.toast-info {
    border: 1px solid #2F96B4 !important;
}
.toast-warning {
    border: 1px solid #F89406 !important;
}

.toast-progress {
    height: 100% !important;
    opacity: .2 !important;
    background-color: #000 !important;
}

.toast-close-button {
    top: -.3rem !important;
    right: 0 !important;
    font-weight: 400 !important;
    color: #999 !important;
}

.app .toast-title {
    position: absolute;
    bottom: 0;
    right: 0.3rem;
    color: #aaa !important
}

.app .toast-message {
    padding: 10px 15px !important;
    background-color: rgba(255,255,255,.9) !important;
    color: #555 !important;
}

.page-header .page-header-image {
    background-position: top center !important;
}

.footer {
    padding: 15px 0;
    position: absolute;
    bottom: 0;
    width: 100%;
}

label.is-invalid {
    font-size: smaller;
    color: #FC3158 !important;
}

.form-row {margin-top: 0.25rem;}

.btn > span { margin-left: 0.25rem; }

.app .btn-group .btn-brand.btn-outline-*,
.app .btn-group .btn-sm .btn-brand.btn-outline-* {
    border: 1px solid !important;
}
.btn-brand { border: 1px solid !important;}
.app .btn-brand i {
    margin: -0.3rem -0.75rem -0.3rem -0.7rem;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}
.btn-group > .btn:not(:first-child) i,
.btn-group > .btn-group:not(:first-child) > .btn i {
    border-radius: 0 !important;
}

.app .btn-brand.btn-outline-primary i, .btn-primary {
    color: #fff !important;
    background-color: #20a8d8 !important;
    border-color: #20a8d8 !important;
}
.app .btn-brand.btn-outline-info i, .btn-info {
    color: #23282c !important;
    background-color: #63c2de !important;
    border-color: #63c2de !important;
}

.app .btn-brand.btn-outline-warning i, .btn-warning{
    color: #23282c !important;
    background-color: #ffc107 !important;
    border-color: #ffc107 !important;
}

.app .btn-brand.btn-outline-danger i, .btn-danger{
    color: #fff !important;
    background-color: #f86c6b !important;
    border-color: #f86c6b !important;
}

.app .btn-brand.btn-outline-secondary i, .btn-secondary{
    color: #23282c !important;
    background-color: #c8ced3 !important;
    border-color: #c8ced3 !important;
}

.app .btn-brand.btn-outline-light i, .btn-light{
    color: #23282c !important;
    background-color: #f0f3f5 !important;
    border-color: #f0f3f5 !important;
}

.app .btn-brand.btn-outline-dark i, .btn-dark{
    color: #fff !important;
    background-color: #2f353a !important;
    border-color: #2f353a !important;
}

/* select2 */
.select2-container .select2-selection--single, .select2-container .select2-selection--multiple {border-radius: 0;}
.select2.select2-container { width: auto !important;}
.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__rendered { padding: 0.375rem 0.375rem 0 0.75rem}
.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__choice { margin: 0 0 0.25rem 0.1875rem;padding: 0.25rem; }

#itemBlock .note-editor.note-frame { margin-bottom: 0 }

/* Swal2 *
.swal2-content { margin-left: 5px !important; }
*/
.list-group-flush > .list-group-item {
    border-bottom-width: 2px !important;
}
.list-group-flush > .list-group-item:last-child {
    border-bottom-width: 0 !important;
}
.card-group-accent > .card {
    border-color: #4dbd74 !important;
    border-top-width: 5px;
    background: rgba(0, 191, 143, .9);
}
.select2-selection--multiple .select2-selection__rendered {
    padding-left: .25rem !important;
}
.select2-selection--multiple .select2-selection__choice {
    margin-bottom: 0 !important;
}

.form-group {
    position: relative;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button
{
    -webkit-appearance: none;
    margin: 0;
}

input[type=number]
{
    -moz-appearance: textfield;
}

.form-group input {
    height: calc(1.65em + .75rem + 2px);
    line-height: 1.65;
    float: left;
    display: block;
    padding: 0;
    margin: 0;
    padding-left: .75rem;
}

.form-group input:focus {
    outline: 0;
}

.number-nav {
    float: left;
    position: relative;
    height: calc(1.65em + .75rem + 2px);
}

.number-button {
    position: relative;
    cursor: pointer;
    border-left: 1px solid #e4e7ea;
    width: 20px;
    text-align: center;
    color: #333;
    font-size: 1.25rem;
    font-family: "Trebuchet MS", Helvetica, sans-serif !important;
    line-height: 0.85;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.number-button.number-up {
    position: absolute;
    height: 50%;
    top: 0;
    border-bottom: 1px solid #e4e7ea;
}

.number-button.number-down {
    position: absolute;
    bottom: -1px;
    height: 50%;
}

div[class*=" card-accent-"] {
    border-top-width: 5px;
}
