
* {
    font-family: 'Open Sans', sans-serif;
}

.page-link {
    color: var(--primary-color);
}

body {
    font-family: 'Lato', sans-serif;
}

a {
    color: var(--primary-color);
}

a:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

.bd-example-modal-lg .modal-dialog {
    display: table;
    position: relative;
    margin: 0 auto;
    top: calc(50% - 24px);
    max-width: 700px;
}

.tooltip {
    pointer-events: none;
}

.django-ckeditor-widget {
    min-width: 100% !important;
}


.bd-example-modal-lg .modal-dialog .modal-content {
    background-color: transparent;
    border: none;
}

.icon-text-container i {
    min-width: 20px;
    margin-right: 0.5rem;
}

.primary-text {
    color: var(--primary-color);
}


.small-btn {
    display: flex;
    align-items: center;
    justify-content: space-around;
    background-color: transparent;
    background-image: none;
    padding: 10px;
}

.plain-btn {
    outline: none;
    background: none;
    border: none;
    cursor: pointer;
}
.plain-btn:focus {
    outline: none;
}
.plain-btn:active {
    opacity: 70%;
}


.icon {
    background-size: cover;
    display: inline-block;
    height: 2rem;
    width: 2rem;
}


.icon-launch {
    background-image: url(../images/icon-rocket-side.png);
}

.icon-machine {
    background-image: url(../images/icons-machine.png);
}

.icon-disk {
    background-image: url(../images/icons-disk.png);
}

.icon-logs {
    background-image: url(../images/icon-logs.png);
}

.icon-test {
    background-image: url(../images/icon-test.png);
}

.icon-suivi {
    background-image: url(../images/icon-search.png);
}

.icon-report {
    background-image: url(../images/icon-report.png);
}

.icon-monitoring {
    background-image: url(../images/icon-monitoring.png);
}

.icon-archive {
    background-image: url(../images/lto.png);
}
.icon-archivingPolicy {
    background-image: url(../images/archive.svg);
}
.icon-warming {
    background-image: url(../images/thermometer.svg);
}

.icon-other {
    background-image: url(../images/icon-other.png);
}

.table_suivi {
    border-width: 1px;
    border-style: solid;
    border-color: black;
    width: 50%;
}

.th_suivi {
    border-width: 1px;
    border-style: solid;
    border-color: black;
    width: 50%;
    text-align: center;
}

.td_suivi {
    border-width: 1px;
    border-style: solid;
    border-color: black;
    width: 50%;
    text-align: center;
}


.max-width-500 {
    max-width: 500px;
}


.crud td {
    text-overflow: ellipsis;
    /*white-space: wrap;*/
    overflow: hidden;
}

.crud .col {
    padding: 10px 20px 10px 20px;
}

.create-edit-container label {
    font-weight: bold;
}

.detail-plans {
    display: none;
}

.progress {
    background-color: transparent;
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--green);
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:focus + .slider {
    box-shadow: 0 0 1px var(--primary-color);
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* classic checkbox */
input[type=checkbox]
{
  /* Double-sized Checkboxes */
  -ms-transform: scale(1.5); /* IE */
  -moz-transform: scale(1.5); /* FF */
  -webkit-transform: scale(1.5); /* Safari and Chrome */
  -o-transform: scale(1.5); /* Opera */
  transform: scale(1.5);
  padding: 10px;
}

@media (min-width: 700px) {
    .list-checkbox {
        -moz-column-count: 2;
        -moz-column-gap: 20px;
        -webkit-column-count: 2;
        -webkit-column-gap: 20px;
        column-count: 2;
        column-gap: 15px;
    }

    .min-width {
        width: 650px;
    }

}

@media (min-width: 1000px) {
    .list-checkbox {
        -moz-column-count: 2;
        -moz-column-gap: 20px;
        -webkit-column-count: 2;
        -webkit-column-gap: 20px;
        column-count: 3;
        column-gap: 15px;
    }

}


.valid_dates {
    border-left: 1px solid #dee2e6;
}

.stockage_price {
    background-color: var(--gray);
    color: white;
}


.table .second_header_table th {
    border-bottom: none;
    text-align: center;
}

.table .first_header_table th {
    border-top: none;
    text-align: center;
    padding: 20px;
    padding-right: 5px;
    padding-left: 5px;
}

.table .first_header_table .grouped_items {
    border-top: 2px solid #dee2e6;
}

.progress-bar {
    border-right: solid 1px #FFF;
}

.progress-bar:last-child {
    border: none;
}

.pagination > li.active > a {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: white;
}

.dropdown-item:hover {
    background-color: lightgrey;
}

.dropdown-item:focus {
    outline: none;
}

.dropdown-item:active {
    background-color: var(--primary-color);
}

.dropdown-item.active {
    background-color: var(--primary-color);
}

table thead {
    text-align: center;
}

tbody tr td {
    text-align: center;
}

form div .controls {
    width: 200px;
}

ul.errorlist {
    margin: 0;
    padding: 0;
}

.errorlist li {
    list-style: none;
}

.custom-fields .errorlist li {
    border: 1px solid red;
    color: red;
    background: rgba(255, 0, 0, 0.15);
    list-style-position: inside;
    display: block;
    font-size: 1.2em;
    margin: 0 0 3px;
    padding: 4px 5px;
    text-align: center;
    border-radius: 3px;
}


.changelog-badge {
    min-width: 90px;
}

[v-cloak] {
    display: none;
}


.range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 15px;
    border-radius: 5px;
    background: var(--gray-lighter);
    outline: none;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
}

.range-slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
}

.fs-20 {
    font-size: 20px;
}

.clickable {
    cursor: pointer;
}

.no-border {
    border: none !important;
}

.strikethrough {
    text-decoration: line-through;
}

.short-cell {
    padding: 0.25rem 0.5rem 0.25rem 0.5rem !important;
}

.short-cell > td {
    padding: 0.25rem 0.5rem 0.25rem 0.5rem;
}
.short-cell > th {
    padding: 0.25rem 0.5rem 0.25rem 0.5rem;
}

.machine-with-comment {
    background-color: #d2f6fc
}

.machine-unmonitored {
    background-color: #ffe28a
}

.system-admin-page-warning {
  background-size: 50px 50px;
  background-color: rgb(179, 97, 255, 0.6);
  color: #000;
  background-image: -webkit-linear-gradient(-45deg, rgba(0, 0, 0, .04) 25%, transparent 25%, transparent 50%, rgba(0, 0, 0, .04) 50%, rgba(0, 0, 0, .04) 75%, transparent 75%, transparent);
  background-image: -moz-linear-gradient(-45deg, rgba(0, 0, 0, .04) 25%, transparent 25%, transparent 50%, rgba(0, 0, 0, .04) 50%, rgba(0, 0, 0, .04) 75%, transparent 75%, transparent);
  background-image: linear-gradient(135deg, rgba(0, 0, 0, .04) 25%, transparent 25%, transparent 50%, rgba(0, 0, 0, .04) 50%, rgba(0, 0, 0, .04) 75%, transparent 75%, transparent);
}
