/********** FONT **********/
@font-face {
    font-family: 'Nunito';
    src: url('../assets/font/nunito/Nunito-Regular.ttf');
}

@font-face {
    font-family: 'NunitoSemiBold';
    src: url('../assets/font/nunito/Nunito-SemiBold.ttf');
}

@font-face {
    font-family: 'NunitoBold';
    src: url('../assets/font/nunito/Nunito-Bold.ttf');
}

@font-face {
    font-family: 'NunitoSans';
    src: url('../assets/font/nunitosans/NunitoSans-Regular.ttf');
}

@font-face {
    font-family: 'NunitoSansSemiBold';
    src: url('../assets/font/nunitosans/NunitoSans-SemiBold.ttf');
}

@font-face {
    font-family: 'NunitoSansBold';
    src: url('../assets/font/nunitosans/NunitoSans-Bold.ttf');
}

@font-face {
    font-family: 'ThirstyScript';
    src: url('../assets/font/ThirstyScriptBold.ttf');
}

/********** BODY **********/
body {
    margin: 0;
    font-family: Nunito, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #6c757d;
    text-align: left;
    background: rgba(49, 58, 70, 0.85);
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: NunitoSansSemiBold, sans-serif;
}

h4, .h4 {
    font-size: 24px;
    line-height: 30px;
}

*, *:focus, *:hover {
    outline: none;
}

/**:focus, *:hover {
    box-shadow: none !important;
}*/
:focus {
    box-shadow: none !important;
}

/********** NAVIGATION **********/
#main-nav {
    padding: 0;
    width: 100%;
    z-index: 1000;
    position: absolute;
    min-width: 400px;
}

#clear-menu-search {
    top: 0;
    bottom: 0;
    right: 12px;
    color: #ccc;
    height: 14px;
    margin: auto;
    cursor: pointer;
    font-size: 16px;
    position: absolute;
    font-weight: 200;
}

#search-menu-results {
    color: black;
    z-index: 1039; /* 1050 is bootstrap modals z-index and 1040 is modals backdrop (div.modal-backdrop) */
    font-size: 14px;
    position: inherit;
    background: white;
    border: 1px solid #e0e0e0;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

/* Hide the little "x" that clears the input in Internet Explorer (we have our custom made "x") */
.search-menu-input::-ms-clear {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
}

.menu-searching-container {
    width: 100%;
    max-width: 210px;
}

#search-menu-results a {
    line-height: 20px;
    color: black !important;
    padding: 3px 3px 3px 8px !important;
}

#search-menu-results a:hover, #search-menu-results a:active, #search-menu-results a:focus {
    color: white !important;
}

#main-nav .dropdown-toggle::after {
    display: none;
}

/********** MAIN CONTENT **********/
.content-container {
    margin-top: 45px;
    display: inline-block;
}

/********** TABLE **********/
.table-striped tbody tr:nth-of-type(odd) {
    /* background-color: #f1f3fa; */
    /*background-color: #e0fce6;*/
    /* background: linear-gradient(to right, #e0fce6, rgba(184,204,194));*/
    background: rgba(184, 204, 194, 0.9);
}

.table-striped tbody tr:nth-of-type(even) {
    /* background-color: #f1f3fa; */
    /*background-color: linear-gradient(to right, rgba(184,204,194), #e0fce6);*/
    /* background: linear-gradient(to right, rgba(184,204,194), #e0fce6); */
    background-color: rgba(255, 235, 225, 0.85);
    /*color: white !important;*/
}

.table thead {
    background: none !important;
}

.td_border td, th {
    border: 0px none !important;
    border-top: 0px none !important;
    border-bottom: 2px solid #eef2f7 !important;
}

.table-sm th, .table-sm td {
    padding: 12px 8px;
}

/********** CUSTOM CONTAINER **********/
.title-container {
    min-height: 1px;
    margin: 4px;
    margin-bottom: 16px;
}

.table-container {
    min-height: 1px;
    margin: 4px;
    min-width: 0;
    word-wrap: break-word;
    /*background-color: #fff;*/
    /*background-clip: border-box;*/
    /*border: 1px solid #eef2f7;*/
    /*-webkit-box-shadow: 0 0 35px 0 rgba(154, 161, 171, .15);
    box-shadow: 0 0 35px 0 rgba(154, 161, 171, .15);
    border-radius: .25rem;*/
}

.card-container {
    min-height: 1px;
    margin: 4px;
    min-width: 0;
    word-wrap: break-word;
}

.card-container .card {
    min-height: 1px;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff !important;
    background-clip: border-box;
    border: none;
    -webkit-box-shadow: 0 0 35px 0 rgba(154, 161, 171, .15);
    box-shadow: 0 0 35px 0 rgba(154, 161, 171, .15);
    border-radius: .25rem;
    margin-bottom: 24px;
}

.ajax-lister-container {
    padding: 16px !important;
}

/********** BUTTONS **********/

.btn.btn-default, .list-group-item-default, .badge-default {
    color: white;
    background: #00A2C8;
}

.btn-default:hover, .btn-default:active, .btn-default:focus {
    background: #0087a7;
}

.btn.btn-itanic-dark, .list-group-item-default, .badge-default {
    color: white;
    background: #313a46;
}

.btn-itanic-dark:hover, .btn-itanic-dark:active, .btn-itanic-dark:focus {
    background: black;
}

.btn.btn-itanic-yellow, .list-group-item-default, .badge-default {
    color: #fafafa !important;
    background: #28a745;
}

.btn-itanic-yellow:hover, .btn-itanic-yellow:active, .btn-itanic-yellow:focus {
    background: #218838;
}

.input-group-text {
    background: rgba(234, 254, 244);
}

.btn-group-sm .input-group-text {
    padding: .25rem .5rem;
    font-size: .875rem;
    line-height: 1.5;
    border-radius: .2rem;
}

.btn.btn-danger {
    background: red;
    border-color: red;
}

.btn-danger:hover, .btn-danger:active, .btn-danger:focus {
    background: #dc3545;
    border-color: #dc3545;
}

.btn.btn-warning {
    color: white;
}

.btn-custom, .btn-custom:hover, .btn-custom:active, .btn-custom:focus {
    color: black;
    border: 0 none;
    box-shadow: none;
    font-weight: bold;
    background-color: transparent;
}

.btn-add {
    background: #6c757d;
}

.form-control {
    line-height: 1;
    color: #6c757d;
    /*background-color: #fff;
    background-clip: padding-box;*/
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid #ced4da;
    padding: 0.3rem 0.45rem 0.15rem !important;
    font-family: 'NunitoSansSemiBold';
    font-size: 0.875rem;
    border-radius: 0.2rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    border-color: #ced4da;
}

.chosen-container-single .chosen-single {
    background-color: rgba(255, 255, 255, 0.5);
}

.chosen-container-single .chosen-single div {
    background-color: transparent;
}

.form-control-sm, .input-group-sm > .form-control,
.input-group-sm > .input-group-prepend > .input-group-text,
.input-group-sm > .input-group-append > .input-group-text,
.input-group-sm > .input-group-prepend > .btn,
.input-group-sm > .input-group-append > .btn {
    padding: 0.51rem 0.45rem 0.45rem !important;
    color: #6c757d;
    font-family: 'NunitoSans';
}

.btn-sm, .btn-group-sm > .btn {
    line-height: 16px;
    min-width: 32px;
}

.btn-sm, .btn-group-sm > .btn,
.chosen-container-sm .chosen-single,
.btn {
    padding: 0.51rem 0.45rem 0.45rem !important;
}

.btn {
    /*-webkit-box-shadow: 0 2px 6px 0 rgba(250, 92, 124, .5);
    box-shadow: 0 2px 6px 0 rgba(250, 92, 124, .5);*/
    -webkit-box-shadow: 0 1px 3px 0 rgb(250 92 124 / 50%);
    box-shadow: 0 1px 3px 0 rgb(250 92 124 / 50%);
    font-size: 14px;
}

.confirmation-false, .confirmation-true {
    min-width: 60px;
}

/********** INPUT GROUPS **********/
.input-group > .chosen-single {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.input-group-text-default {
    border: none;
    color: white;
    background: #00A2C8;
}

/* Make the chosen dropdowns width 100% in .input-group when the screen size is small */
.input-group > .chosen-container-sm {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    width: 1% !important;
}

/********** TEXT ELEMENTS **********/
a.link {
    cursor: pointer !important;
    text-decoration: underline !important;
}

/********** jQuery UI Autocomplete **********/
.ui-autocomplete {
    position: absolute;
    z-index: 1051;
    cursor: default;
    padding: 0;
    margin-top: 2px;
    list-style: none;
    background-color: #ffffff;
    border: 1px solid #ccc;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.ui-autocomplete > li {
    padding: 3px 20px;
}

.ui-autocomplete > li:hover {
    background-color: #DDD;
}

.ui-autocomplete > li.ui-state-focus {
    background-color: #DDD;
}

.ui-helper-hidden-accessible {
    display: none;
}

/********** SWITCHEROO **********/
#switch-form {
    right: 5px;
    z-index: 999;
    margin-top: 45px;
    position: absolute;
}

#switch {
    width: 165px;
}

/********** DATATABLE **********/
table.dataTable {
    border-spacing: 0 !important;
}

table.dataTable tbody tr:first-child td {
    border-top: 0 !important;
}

table.dataTable tfoot tr:first-child td {
    border-bottom: none !important;
}

.dataTable tfoot {
    display: table-header-group;
}

#debug-table_wrapper, #main-datatable_wrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.datatable-filter {
    vertical-align: middle !important;
}

/* RK:Custom Datatable */
.row.pagination-row {
    margin: 4px 0 0 0 !important;
}

div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    margin: 0px;
    margin-bottom: 2px;
}

.dataTables_length > label > select {
    /*height: 35px !important;*/
}

.pagination .paginate_button a {
    height: 31px;
    line-height: 14px;
}

table.dataTable {
    margin-top: 1px !important;
}

/********** TABLES **********/
.table thead {
    background: #e8e8e8;
}

.table thead th {
    vertical-align: middle;
    width: auto;
    border-bottom: 1px solid #9e9e9e !important;
    white-space: nowrap;
    border-top: none !important;
    font-weight: normal;
    font-family: 'NunitoSansBold';
}

.table td {
    vertical-align: middle;
}

.table-hover tbody tr:hover td, .table-hover tbody tr:hover th, .custom-hover:hover {
    background-color: rgba(250, 250, 250, 1) !important;
}

.table-hover tbody tr:nth-of-type(even):hover td, .custom-hover:hover {
    background-color: rgba(250, 250, 250, 1) !important;
    color: #6c757d !important;
}

.table-hover {
    cursor: pointer;
}

/* Scrollable table with a fixed header */
.table-responsive.table-scrollable {
    overflow-y: auto;
    height: 400px;
}

.table-responsive.table-scrollable thead th {
    top: -1px;
    position: sticky;
    background: #e8e8e8;
}

.table-responsive {
    border-radius: 8px;
}

/********** TOOLTIPS **********/
.tooltip {
    pointer-events: none; /* Prevents the tooltip from flickering */
}

.tooltip .arrow {
    display: none !important;
}

/********** TABS **********/
.nav-link, .nav-link:hover {
    background: #00a1c8;
    color: white;
    cursor: pointer;
}

.nav-link.active {
    background: white;
    color: black;
}

.modal-content .nav {
    margin-top: 10px;
}

/********** CARDS **********/
.card.card-default {
    border: none !important;
}

.card-default .card-header {
    color: white;
    background-color: #00A2C8;
}

.card-default .card-body {
    border: 1px solid rgba(0, 0, 0, 0.125) !important;
}

.dashboard-task {
    display: inline-grid;
    width: -webkit-fill-available;
    max-width: none;
    overflow-x: auto;
    min-height: 134px;
}

/********** MINIMALISTIC CARD **********/
.card.itanic-card-minimal {
    border: 0;
    margin: 0.2rem 0.5rem;
    transition: linear 0.2s;
    padding: 3px;
}

.itanic-card-minimal .card-body {
    padding-top: 0.5rem;
}

.itanic-card-minimal .card-header {
    font-size: 16px;
    background: none;
    font-weight: bold;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/********** COMPACT VIEW **********/
.itanic-compact-form .form-group, .itanic-modal-compact .form-group {
    margin-bottom: 0.2rem;
}

.itanic-card-compact .card.itanic-card-minimal {
    margin: 0.2rem 0.5rem;
}

.itanic-modal-scroll .modal-body {
    overflow: hidden;
    overflow-y: auto;
}

.itanic-modal-scroll.modal {
    overflow-y: hidden !important;
}

.itanic-modal-scroll .modal-content {
    max-height: calc(100vh - 50px);
}

.itanic-modal-scroll.itanic-modal-compact .modal-content {
    max-height: calc(100vh - 1rem);
}

.itanic-modal-compact .card-header, .itanic-card-compact .card-header {
    padding: 0.1rem 0.5rem !important;
}

.itanic-modal-compact .card-body, .itanic-card-compact .card-body {
    padding: 0.5rem !important;
}

.itanic-modal-compact .modal-header {
    padding: 0.5rem 1rem;
}

.itanic-modal-compact .modal-body, .itanic-modal-compact .modal-footer {
    padding: 0.5rem;
}

.itanic-modal-compact .modal-dialog {
    max-width: 99% !important;
}

.itanic-modal-compact .modal-dialog {
    margin: 0.5rem auto !important;
}

.itanic-modal-no-overflow {
    overflow: unset !important;
}

/********** MODALS **********/
#error-modal .modal-header {
    color: white;
    background: red;
}

#warning-modal .modal-header {
    color: white;
    background: #ffc107;
}

#confirm-modal .modal-body {
    min-height: auto;
}

#alert-modal a:not([href]):not([tabindex]) {
    color: #fff;
    text-decoration: none;
}

#alert-modal .modal-dialog {
    max-width: 600px;
    top: 8px;
}

#confirm-modal .modal-dialog {
    max-width: 600px;
    top: 8px;
}

#alert-modal .modal-body {
    min-height: 100px;
}

#alert-modal .modal-content {
    /*background: #313a46;*/
    -webkit-box-shadow: 0 0 35px 0 rgba(154, 161, 171, .15);
    box-shadow: 0 0 35px 0 rgba(154, 161, 171, .15);
}

.modal-content {
    border-radius: 0.2rem;
    border-radius: 24px;
    padding: 12px;
}

.modal-content .nav-link {
    background: transparent;
    color: #313a46;
    border-bottom: 3px solid lightgrey;
    padding-bottom: 4px;
    opacity: 0.8;
}

.modal-content .nav-link:hover {
    border-bottom: 3px solid #28a745;
    opacity: 1;
}

.modal-content .nav-pills .nav-link.active, .modal-content .nav-pills .show > .nav-link {
    font-family: 'NunitoSansBold';
    color: #313a46;
    background-color: transparent;
    border-bottom: 3px solid #28a745;
    opacity: 1;
}

/********** SCREEN WIDTHS **********/
@media (max-width: 375px) {
    #switch {
        width: 90px;
    }
}

@media (max-width: 650px) {
    .menu-searching-container {
        display: none !important;
    }
}

@media (min-width: 992px) {
    .modal-xl {
        max-width: 1200px;
    }

    .col-xl-4 {
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

/********** LISTER **********/
.lister-page-count > .chosen-container {
    min-width: 100px;
    width: auto !important;
}

.lister-table-header, .lister-table-header:hover {
    color: black;
    text-decoration: none;
}

.lister-filter-input {
    padding-right: 1rem;
    padding-bottom: 0.3rem;
    display: inline-block;
}

.lister-table-header, .lister-table-header:hover {
    color: #495057;
    text-decoration: none;
}

.lister-result-container {
    display: inline-grid;
    width: -webkit-fill-available;
    max-width: none;
    overflow-x: auto;
}

.lister-table-header i {
    display: inline;
}

.chosen-container-sm .chosen-single {
    line-height: 16px !important;
}

.bs-lister-table thead {
    border-bottom: 2px solid #313a46;
}

/********** FontAwesome **********/
.fa-sm {
    font-size: 0.61em;
}

/********** OTHER **********/
.mt-minus-1 {
    margin-top: -1px !important;
}

.cursor-pointer {
    cursor: pointer !important;
}

.cursor-default {
    cursor: default !important;
}

.clickwhole { /* Make whole td clickable */
    display: block;
    width: 100%;
}

.backtrace-toggle-div {
    width: 500px;
}

.form-control-xs {
    padding: 0 3px;
    line-height: 1;
    font-size: 14px;
}

.mw-20px {
    max-width: 20px !important;
}

.page-title, .page-title-lines {
    margin: 2px 4px 0px 6px;
    vertical-align: top;
    display: inline-block;
}

@media (min-width: 1200px) {
    .modal-bigger {
        max-width: 1100px;
    }
}

.modal-max {
    max-width: 95%;
}

.decoration-none, .decoration-none:hover, .decoration-none:active {
    color: #212529;
    text-underline: none;
    text-decoration: none;
}

.input-group .chosen-container-sm {
    display: inline-block;
    width: auto;
    vertical-align: middle;
    flex: 1 1 auto;
}

.input-group .chosen-container-sm .chosen-container {
    width: 100% !important;
}

.input-group .chosen-single {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.chosen-container .chosen-results {
    padding: 0px;
}

.chosen-container-single a:not([href]):not([tabindex]).chosen-single:not(.chosen-default) {
    color: #adb5bd !important;
}

.icon-button {
    padding: 0 !important;
}

.icon-button .fas, .icon-button .far {
    font-size: 1rem;
    padding: 0.522rem 0.5rem;
}

.custom-file-label {
    cursor: pointer;
}

.custom-file-label::after { /* Hides "Browse" button */
    display: none;
}

.ui-timepicker-container {
    z-index: 99999 !important;
}

.form-group .chosen-container {
    width: 100% !important;
}

#notifications-container {
    right: 0;
    bottom: 10px;
    z-index: 1069;
    position: fixed;
    max-height: 90%;
    overflow-y: auto;
    background: white;
}

#notifications-container .growl {
    width: auto;
    max-width: 400px;
    text-align: right;
}

#notifications-container #unaccepted-assets-notifications-container .growl .notification-text,
#notifications-container #product-monitoring-notifications-container .growl .notification-text {
    text-align: left;
    font-weight: bold;
    overflow-x: hidden;
    white-space: nowrap;
    vertical-align: sub;
    display: inline-block;
    text-overflow: ellipsis;
}

#notifications-container #unaccepted-assets-notifications-container .growl .notification-text {
    width: 200px !important;
}

#notifications-container #product-monitoring-notifications-container .growl .notification-text {
    width: 312px !important;
}

.color-default {
    color: #00a1c8;
}

.color-default:hover, .color-default:active, .color-default:focus {
    color: #0087a7;
}

/* Make the element not highlightable */
.no-select {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently supported by Chrome and Opera */
}

.chosen-container .chosen-drop {
    min-width: 200px !important;
}

/* Block the entire body element (no more double clicks :)) */
.block-body {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1060;
    position: fixed;
    background-color: rgba(56, 56, 56, 0.7);
}

/* Automated required field detection */
label.required-field-faulty {
    color: red !important;;
}

/* !important to override the chosen-select CSS */
input.required-field-faulty, select.required-field-faulty, a.required-field-faulty {
    border: 1px solid red !important;
}

/* Custom bootstrap checkbox */
.custom-control-label {
    user-select: none;
}

.custom-control-label::before, .custom-control-label::after {
    width: 1.25rem;
    height: 1.25rem;
}

.custom-checkbox .custom-control-label::before {
    background: white;
    border: 1px solid #ced4da;
}

.custom-control-input:active ~ .custom-control-label::before {
    background: #aeffc0;
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::after {
    background-color: #28a745;
    border-radius: 0.25rem;
}

.text-helper {
    color: #7a91ff;
    cursor: pointer;
}

.itanic-to-list-btn {
    position: fixed;
    top: 0px;
    right: 0px;
    z-index: 9999;
    font-size: 20px;
    line-height: 20px;
    background-color: #28a745;
    color: black;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    margin: 10px;
    width: 50px;
    height: 50px;
}

.itanic-to-list-btn:hover {
    color: white;
}

@media screen and (max-width: 1024px) {
    .itanic-to-list-btn {
        bottom: 0px !important;
        top: auto !important;
    }

    .lvl2 a {
        text-indent: 64px;
    }

    .pgn-btn {
        padding: .25rem .5rem !important;
        -webkit-box-shadow: 0 1px 3px 0 rgb(250 92 124 / 50%);
        box-shadow: 0 1px 3px 0 rgb(250 92 124 / 50%);
        background-color: rgba(234, 254, 244) !important;
    }

    .lister-custom-page-input {
        width: 28px !important;
    }

    .modal-footer button {
        padding: .2rem .5rem !important;
    }

    .modal-footer button:not(.modal-btn) {
        padding: .28rem 0.8rem !important;
    }

    .task-timing-btn {
        margin-left: 2px;
        margin-right: 2px;
    }

    .modal-footer button {
        margin-right: 2px !important;
        margin-left: 0px;
    }

    .modal-footer {
        padding: 12px 8px !important;
    }

    .modal-footer > :not(:last-child) {
        margin-right: 2px;
    }

    .modal-footer > :not(:first-child) {
        margin-left: 2px;
    }

    .event.beginning {
        width: calc(((100vw / 7) * 2) - 64px) !important;
    }
}

.form-group.row label {
    line-height: 31px;
}

/*Selleks, et kõik modalid mahuksid vaatele ära. Just need alumised nupud*/
.modal-body {
    max-height: calc(100vh - 260px);
    overflow: hidden;
    overflow-y: auto;
    min-height: 200px;
}

.itanic-spinner-border {
    display: inline-block;
    vertical-align: text-bottom;
    border: .25em solid #28a745;
    border-right-color: transparent;
    -webkit-animation: spinner-border 3s linear infinite;
    animation: itanic-spinner-border 3s linear infinite;
}

.itanic-spinner-content {
    background-image: url('/assets/img/icon/mhmh_logo.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 74px;
    background-color: white;
    margin: auto;
    -webkit-box-shadow: 0 0 35px 0 rgba(154, 161, 171, .15);
    box-shadow: 0 0px 35px 0 rgba(154, 161, 171, .15);
}

.itanic-spinner-border, .itanic-spinner-content {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

@keyframes itanic-spinner-border {
    to {
        transform: rotate(360deg);
    }
}

.ajax-lister-container {
    min-height: 100px;
    display: grid;
}

.ajax-lister-container .itanic-spinner-container {
    z-index: 1;
    width: 100%;
    height: 100%;
    position: absolute;
    display: flex;
    /*background: rgba(245, 245, 245, 0.7);*/
}

.itanic-bg-yellow {
    background: #28a745 !important;
    color: white !important;
}

.itanic-bg-dark {
    background-color: rgba(0, 0, 0, 0.8) !important;
}

.itanic-outline-gray {
    border: 1px solid #ced4da !important;
}

.itanic-text-dark {
    color: rgba(0, 0, 0, 0.8) !important;
}

.btn-itanic-dark.icon-button .fas, .btn-itanic-dark.icon-button .far {
    font-weight: 100;
}

/*start compact modal for conctracts but it affects every element with specified class*/
.form-group {
    margin-bottom: 0.2rem !important;
}

/*end compact modal*/

.debug .col-12 {
    padding: 0px;
}

.container-debug {
    font-size: 12px !important;
    padding: 2px 12px !important;
    margin: 25px !important;
    width: calc(100% - 48px);
}

.show-history-btn {
    cursor: pointer;
}

.form-group label {
    font-size: 14px;
    margin-bottom: 0 !important;
    font-family: 'NunitoSansSemiBold';
}

.nav-pills .nav-link {
    border-radius: unset;
}

.nav-pills .nav-link:first-child {
    border-top-left-radius: 0.25rem;
}

.nav-pills .nav-link:last-child {
    border-top-right-radius: 0.25rem;
}

.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col,
.col-auto, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm,
.col-sm-auto, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-md,
.col-md-auto, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg,
.col-lg-auto, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl,
.col-xl-auto {
    padding-right: 12px;
    padding-left: 12px;
}

.kpi-title {
    font-size: 14px;
    font-family: 'NunitoSans';
}

.kpi-icon {
    width: 40px;
    background: rgba(49, 58, 70, 0.85);;
    border-radius: 3px;
    color: #28a745;
    position: absolute;
    right: 20px;
    top: 20px;
    height: 40px;
    text-align: center;
    line-height: 40px;
}

.text-muted {
    color: #98a6ad !important;
}

.card p {
    margin-bottom: 0px;
}

.datepicker {
    padding: 10px !important;
}

.dropdown-menu {
    -webkit-box-shadow: 0 0 35px 0 rgba(154, 161, 171, .15);
    box-shadow: 0 0 35px 0 rgba(154, 161, 171, .15);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 10rem;
    padding: .25rem 0;
    margin: .125rem 0 0;
    font-size: .9rem;
    color: #6c757d;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #e4eaf2;
    border-radius: .25rem;
    font-family: 'NunitoSansSemiBold';
}

.datepicker-dropdown.datepicker-orient-top:before {
    border-top: 7px solid #e4eaf2;
}

.datepicker-dropdown.datepicker-orient-top:before {
    bottom: -7px;
    border-bottom: 0;
    border-top: 7px solid #999;
}

.datepicker-dropdown.datepicker-orient-left:before {
    left: 6px;
}

.datepicker-dropdown:before {
    border-bottom-color: #e4eaf2;
}

.datepicker-dropdown:before {
    content: '';
    display: inline-block;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid #999;
    border-top: 0;
    border-bottom-color: rgba(0, 0, 0, .2);
    position: absolute;
}

.datepicker-dropdown.datepicker-orient-top:after {
    border-top: 6px solid #fff;
}

.datepicker-dropdown.datepicker-orient-top:after {
    bottom: -6px;
    border-bottom: 0;
    border-top: 6px solid #fff;
}

.datepicker-dropdown.datepicker-orient-left:after {
    left: 7px;
}

.datepicker-dropdown:after {
    border-bottom: 6px solid #fff;
}

.datepicker-dropdown:after {
    content: '';
    display: inline-block;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #fff;
    border-top: 0;
    position: absolute;
}

.datepicker th {
    font-family: 'NunitoSansBold';
}

.datepicker td, .datepicker th {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 13px;
    color: #6c757d;
    font-family: 'NunitoSans';
}

.datepicker .datepicker-switch:hover, .datepicker .next:hover, .datepicker .prev:hover, .datepicker tfoot tr th:hover {
    background: #eef2f7;
}

.datepicker .datepicker-switch:hover, .datepicker .next:hover, .datepicker .prev:hover, .datepicker tfoot tr th:hover {
    background: #eee;
}

.datepicker .datepicker-switch, .datepicker .next, .datepicker .prev, .datepicker tfoot tr th {
    cursor: pointer;
}

.datepicker table tr td span.focused, .datepicker table tr td span:hover, .datepicker table tr td.day.focused, .datepicker table tr td.day:hover {
    background: #eef2f7;
}

.datepicker table tr td.day.focused, .datepicker table tr td.day:hover {
    background: #eee;
    cursor: pointer;
}

.datepicker table tr td span.new, .datepicker table tr td span.old, .datepicker table tr td.new, .datepicker table tr td.old {
    color: #6c757d;
    opacity: .4;
}

.datepicker table tr td.new, .datepicker table tr td.old {
    color: #999;
}

.datepicker .datepicker-switch:hover {
    background: 0 0;
}

.datepicker table tr td.active, .datepicker table tr td.active:hover, .datepicker table tr td.active.disabled, .datepicker table tr td.active.disabled:hover {
    background-color: #006dcc;
    background-image: -moz-linear-gradient(to bottom, orange, #28a745);
    background-image: -ms-linear-gradient(to bottom, orange, #28a745);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(orange), to(#28a745));
    background-image: -webkit-linear-gradient(to bottom, orange, #28a745);
    background-image: -o-linear-gradient(to bottom, orange, #28a745);
    background-image: linear-gradient(to bottom, orange, #28a745);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='orange', endColorstr='#28a745', GradientType=0);
    border-color: #28a745 #28a745 orange;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
    color: #fff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}

/* start - Modal backdrop while having multiple modals */

/*.modal.show ~ .modal.show {
z-index: 1052;
}
.modal-backdrop.show ~ .modal-backdrop.show {
z-index: 1051;
}*/

.modal.fade {
    background: rgba(49, 58, 70, 0.5);
}

.modal-backdrop.fade {
    opacity: 0;
}

.modal-backdrop.show {
    opacity: 0.5;
}

/* end - Modal backdrop while having multiple modals */

.ui-timepicker-container {
    z-index: 99999 !important;
    font-size: 14px;
    margin-bottom: 0 !important;
    color: #6c757d;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #e4eaf2;
    border-radius: .25rem;
    font-family: 'NunitoSansSemiBold';
}

@media (min-width: 576px) {
    .modal-dialog {
        width: calc(100% - 100px);
        margin: 1.75rem auto;
        max-width: 1000px;
    }
}

.chosen-select.disabled ~ .chosen-container {
    pointer-events: none;
    cursor: default;
    opacity: .6 !important;
}

.form-control:disabled, .form-control[readonly] {
    background-color: transparent;
    opacity: 0.5;
}

div.dataTables_wrapper div.dataTables_processing {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    margin-left: -100px;
    margin-top: -26px;
    text-align: center;
    padding: 1em 0;
    background-color: transparent !important;
    box-shadow: none;
    border: none;
}

.tool-container, .spare-part-container {
    cursor: pointer;
    padding: 3px 6px;
    margin-right: 5px;
    border-radius: 3px;
    display: inline-block;
    background-color: rgba(49, 58, 70, 0.85);
    color: #fefefe;
}

.dashboard-task .col-sm-12 {
    padding: 0px;
}

.input-group {
    border-radius: 0.2rem;
}

.choose-files.form-control[readonly] {
    opacity: 1;
}

.choose-files {
    border-top-left-radius: 0.2rem !important;
    border-bottom-left-radius: 0.2rem !important;
}

.lister-img {
    height: 40px;
    border-radius: 4px;
}

/********** TASK STATUS **********/
.task-status {
    height: 16px;
    width: 16px;
    border-radius: 25px;
    display: inline-block;
    margin-right: 4px;
    /*border: 1px solid #313a46;*/
    vertical-align: sub;
    box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.5);
}

.status-todo {
    background-color: whitesmoke;
}

.status-inprogress {
    background-color: #fce205;
}

.status-paused {
    background-color: red;
}

.status-done {
    background-color: rgb(156, 217, 107);
}

.font-weight-bold {
    font-weight: normal !important;
    font-family: 'NunitoSansBold';
}

.page-item.active .page-link {
    z-index: 1;
    color: #fff;
    background-color: rgba(49, 58, 70, 0.85);
    border-color: rgba(49, 58, 70, 0.85);
}

.table-predefined-filter {
    background-color: transparent !important;
    margin: 4px 8px 4px 12px;
    font-weight: bold;
    color: #000;
    line-height: 21px;
    cursor: pointer;
    display: inline-block;
}

.table-predefined-filter::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: #60a917;
    -webkit-transition: all 0.3s ease-in-out 0s;
    -moz-transition: all 0.3s ease-in-out 0s;
    -o-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
    -webkit-transform: scaleX(0);
    -moz-transform: scaleX(0);
    -o-transform: scaleX(0);
    transform: scaleX(0);
}

.table-predefined-filter.active {
    border-bottom: 3px #28a745 solid;
}

.table-predefined-filter:hover {
    border-bottom: 3px #28a745 solid;
    visibility: visible;
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}

.btn-group .btn {
    -webkit-box-shadow: none;
    box-shadow: none;
}

.btn-dark {
    color: #fff;
    background-color: rgba(49, 58, 70, 0.85);
    border-color: rgba(49, 58, 70, 0.5);
}

.btn-outline-dark {
    border-color: rgba(49, 58, 70, 0.5);
}

.btn-outline-dark {
    color: rgba(49, 58, 70, 0.85);
    background-color: transparent;
    background-image: none;
}

.btn-dark:hover, .btn-outline-dark:hover {
    color: #fefefe !important;
    background-color: #28a745 !important;
    border-color: rgba(49, 58, 70, 0.5) !important;
}

.btn-dark.selected, .btn-outline-dark.selected {
    color: #fefefe !important;
    background-color: rgba(49, 58, 70, 0.85) !important;
    border-color: rgba(49, 58, 70, 0.85) !important;
    cursor: default !important;
}

.chosen-container-multi .chosen-choices .search-choice {
    margin: 0px;
    padding: 0.35rem 1.5rem .25rem 0.5rem;
    background-color: rgba(49, 58, 70, 0.85);
    border: none;
    color: #fefefe;
}

.form-control-sm, .input-group-sm > .form-control, .input-group-sm > .input-group-prepend > .input-group-text, .input-group-sm > .input-group-append > .input-group-text, .input-group-sm > .input-group-prepend > .btn, .input-group-sm > .input-group-append > .btn {
    line-height: 16px;
    min-width: 30px;
}

.chosen-container-multi .chosen-choices .search-choice .search-choice-close {
    filter: invert(1);
}

.tab-group-count {
    background: rgba(49, 58, 70, 0.85) !important;
    padding: 2px;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    color: #fefefe;
    font-family: 'NunitoSans';
    font-size: 14px;
    display: inline-block;
    margin-left: 4px;
}

textarea.form-control {
    line-height: 1.4;
}

.modal-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #28a745;
}

.modal-title-icon {
    margin-left: 4px;
}

.modal-header {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 14px 16px 8px 16px;
    border-bottom: none;
    /*border-bottom: 1px solid #e9ecef;*/
    border-top-left-radius: 0.3rem;
    border-top-right-radius: 0.3rem;
}

.modal-footer {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding: 12px 16px;
    border-top: none;
    /*border-top: 1px solid #e9ecef;*/
}

.btn.rounded-circle {
    padding: 0.5rem 0.5rem 0.42rem !important;
    margin-top: -6px;
}

.modal-header .close {
    padding: 12px 14px;
    margin: -12px -12px -12px auto;
    font-size: 32px !important;
}

.badge {
    font-size: 14px;
    margin: 3px;
    color: #fefefe;
    font-family: 'NunitoSansSemiBold';
}

.badge.rounded {
    border-radius: 25px !important;
    padding: 0.25rem 0.6rem;
}

.badge-light {
    color: #212529;
    background-color: #f8f9fa;
}

.modal-dialog.modal-md {
    max-width: 600px !important;
}

.edit-instruction, .remove-instruction, .save-instruction,
.edit-row, .remove-row, .save-row {
    opacity: 0;
    padding: 0px !important;
    width: 30px;
}

.editable-table tr:hover .edit-instruction, .editable-table tr:hover .remove-instruction, .editable-table tr:hover .save-instruction,
.editable-table tr:hover .edit-row, .editable-table tr:hover .remove-row, .editable-table tr:hover .save-row {
    opacity: 1;
}

.editable-table .active .save-instruction, .editable-table .active .remove-instruction,
.editable-table .active .save-row, .editable-table .active .remove-row {
    opacity: 1;
}

.editable-table textarea.form-control[readonly] {
    opacity: 1 !important;
    border: 0px;
    resize: none;
    outline: none !important;
    cursor: default;
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
}

.editable-table th, .editable-table td {
    padding: 4px;
}

.chosen-container .chosen-results li.result-selected:before {
    top: .2rem;
    width: 1rem;
    height: 1rem;
    margin-left: -1rem;
    background-size: 1rem 1rem;
}

#itemsOnPage_chosen {
    width: 90px !important;
    min-width: auto;
}

.page-controls-left {
    width: calc(100% - 240px);
    min-width: 232px;
}

.page-controls-right {
    width: 232px;
    min-width: 232px;
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    opacity: 0.5 !important; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
    opacity: 0.5 !important; /* Firefox */
}

::-ms-input-placeholder { /* Microsoft Edge */
    opacity: 0.5 !important; /* Firefox */
}

.paginate_button .page-link {
    color: #6c757d;
}

.additional-buttons-container {
    white-space: nowrap;
}

.company-logo {
    width: 60px;
}

.page-title {
    /*border-bottom: 2px solid #28a745;*/
    margin: 16px 0px 8px 0px;
    font-size: 2rem;
    width: 100%;
}

#itanic-content .container {
    border-radius: 25px;
    background: linear-gradient(to bottom, #e0fce6, rgba(231, 224, 255, 0.1));
    /*background: linear-gradient(to bottom, #e0fce6, rgba(250, 240, 255));*/
    margin: 25px !important;
    width: calc(100% - 48px);
}

.calendar {
    background: transparent !important;
    box-shadow: none !important;
}

.event:hover {
    color: rgba(49, 58, 70, 0.85) !important;
}

.spinner-logo {

}