@import "bootstrap/css/bootstrap.css";
@import "material/material.css";
@import "fontawesome/css/all.css";
@import "css/animate.css";
@import "css/pikaday.css";

@import "css/tind-styled.css";

/* Customisation */

.raised {
    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 3px 1px -2px rgba(0,0,0,0.12), 0 1px 5px 0 rgba(0,0,0,0.2);
}

.card {
    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 3px 1px -2px rgba(0,0,0,0.12), 0 1px 5px 0 rgba(0,0,0,0.2);
    border: none;
    border-radius: unset;
}

.card-header {
    font-weight: 700;
    border-radius: unset !important;
    padding: 0.3rem 1rem;
    line-height: 24px;
    background-image: var(--bs-gradient) !important;
}

.card-header-large {
    font-size: 18px;
}

.card-header-normal {
    line-height: 32px;
    font-size: 16px;
}

.btn:not(.btn-close):not(.button-icon):not(.btn-icon) {
    background-image: var(--bs-gradient) !important;
    box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    border-radius: 2px;
}

.card-header-large {
    padding: 0.6rem 1rem;
}

.form-control, .form-select, .input-group-text {
    border-radius: unset;
}

.input-group-sm > .form-control, .input-group-sm > .form-select, .input-group-sm > .input-group-text, .input-group-sm > .btn {
    border-radius: unset;
}

.form-check-input {
    margin-top: 0;
}

.form-check-input[type=checkbox] {
    margin-top: 0.25rem;
}

.form-check-input[type=checkbox] {
    margin-right: 0.5rem;
}

.button-icon, .btn-icon {
    box-shadow: 0 3px 5px -1px rgba(0,0,0,.2), 0 6px 10px 0 rgba(0,0,0,.14), 0 1px 18px 0 rgba(0,0,0,.12);
    box-sizing: border-box;
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
    outline: none;
    border: none;
    -webkit-tap-highlight-color: transparent;
    display: inline-block;
    white-space: nowrap;
    text-decoration: none;
    vertical-align: baseline;
    text-align: center;
    margin: 0;
    line-height: 36px;
    overflow: visible;
    transform: translate3d(0, 0, 0);
    transition: background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 0;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 0;
    flex-shrink: 0;
}

.btn-icon:hover {
    box-shadow: 0 8px 17px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}

.btn-icon i {
    vertical-align: middle;
    background-repeat: no-repeat;
    display: inline-block;
    height: 40px;
    padding: 8px;
    width: 40px;
    line-height: 24px;
}

.col-form-label {
    padding-top: calc(.375rem + 1px);
    padding-bottom: calc(.375rem + 1px);
    margin-bottom: 0;
    font-size: inherit;
    line-height: 1.5;
}
.btn-close-red {
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='red'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
}

.col-form-label {
    font-weight: 700;
}

.alert {
    border-radius: unset;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 3px 1px -2px rgba(0,0,0,0.12), 0 1px 5px 0 rgba(0,0,0,0.2);
    border-color: transparent;
}

.card-mini {
    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 3px 1px -2px rgba(0,0,0,0.12), 0 1px 5px 0 rgba(0,0,0,0.2);
}

.card-header-tabs {
    margin: 0;
}
.nav-tabs .nav-link {
    color: #777;
    border-radius: unset;
    border: none;
}

.nav-tabs .nav-link.active {
    color: #0d6efd;
    border-bottom: 2px solid #0d6efd;
    box-shadow: 2px 0 15px 4px rgba(0,0,0,0.14), 2px 0 8px -4px rgba(0,0,0,0.14);
}

.navbar-light .navbar-toggler {
    border-color: transparent;
    border-radius: 0;
}

@media screen and (max-width: 767px) {
    .btn-group-loose > .btn {
        margin-bottom: 5px;
    }
}

.btn-icon-navbar {
    margin: 0.2rem;
    outline: inherit;
}

.btn-icon-navbar:hover {
    background-color: var(--gray-dark);
}

.form-select-dark {
    min-width: 3.6rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='gray' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e")
}

thead {
    border-bottom: 1px solid var(--indigo);
}

th {
    cursor: pointer;
}

.form-in-table {
    padding: 0;
    font-size: inherit;
}

.form-check-input-inline {
    margin-top: calc(.375rem + 1px);
    margin-bottom: calc(.375rem + 1px);
}

.visible-on-parent-hover {
    visibility: hidden;
}

.toggle-child-visibility-on-hover:hover .visible-on-parent-hover {
    visibility: inherit;
}

.fa-sort {
    opacity: 0.15;
}

th:hover .fa-sort {
    opacity: 1;
}

td.font-monospace {
    line-height: 18px;
}

.form-group-btn {
    box-shadow: none !important;
}

.horizontal-separator {
    display: flex;
    color: var(--gray-dark);
    font-weight: bold;
    align-items: center;
    text-align: center;
    margin: 1rem 0;
}

.horizontal-separator::before,
.horizontal-separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid currentColor;
    opacity: 0.25;
}

.horizontal-separator:not(:empty)::before {
    margin-right: .25em;
}

.horizontal-separator:not(:empty)::after {
    margin-left: .25em;
}
