body {
    min-width: 300px;
    font-family: 'Muli', sans-serif;
}

:root {
    --primary-color: #b63a39; --primary-color-light: #c03d3c; --primary-color-dark: #a33333;
    --secondary-color: #3a3a3a; --secondary-color-light: rgb(131, 109, 107); --secondary-color-dark: rgb(102, 91, 83);
    --accent-color: #F28C0F; --accent-color-light: #f39d33; --accent-color-dark: #cf770b;
    --table-header-color: #3a3a3a; --table-color-even: #e1e1e1;
    --black: #071425; --white: #fbfcfc; --gray: #9197a1; --gray-light: #b2b6bd; --gray-dark: #444f5e;
    --danger: #e57373 !important; --info: #4fc3f7 !important; --success: #81c784 !important; --warning: #fff176 !important;
}

a {
    cursor: pointer;
}

p {
    margin-block-start: 0;
    margin-block-end: 0;
}

.tooltip {
    z-index: 100;
}

button.btn.btn-link {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none;
}

.icon-body + span {
    position: absolute;
    left: 0;
    right: 0;
    top: 8px;
    font-size: 0.7em;
}

.table td, .table th {
    vertical-align: middle;
}


.minh-100 {
    min-height: 100vh;
}

.clickable:hover {
    cursor: pointer;
}

.space-between-1 + .space-between-1 {
    margin-left: 0.5em;
}

.space-between-2 + .space-between-2 {
    margin-left: 0.7em;
}

.space-between-3 + .space-between-3 {
    margin-left: 1.2em;
}

.aspect-ratio {
    position: relative;
    padding-bottom: 56%;
}

.aspect-ratio .video-frame {
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
}

.pagination {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
}

.overflow-y-auto {
    overflow-y: auto;
}

dl, ol, ul {
    margin-bottom: 0 !important;
}

.table select {
    height: 20px;
    font-size: 0.9em;
}

button[disabled], a[disabled] {
    opacity: 0.5;
}

button[selected] {
    box-shadow: inset #101010 0 0 0 4px;
}

.w-10 {
    width: 10%;
}

.w-20 {
    width: 20%;
}

.w-45 {
    width: 45%;
}

.w-65 {
    width: 65%;
}

.w-30 {
    width: 30%;
}

.logo {
    height: 24px;
    width: auto;
    display: block;
    max-width: 50px;
}

.preview-img {
    min-width: 32px;
    min-height: 32px;
    padding: 3px;
    outline: red dashed 1px;
}

input {
    box-shadow: inset #dadada 0 0 3px 0;
}

.video-sidebar:hover {
    cursor: pointer;
    border-radius: 0;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.12), 0 3px 5px rgba(0, 0, 0, 0.24);
    transition: top 0.5s, bottom 0.5s, box-shadow 0.8s cubic-bezier(.25, .8, .25, 1);
}

.select2 .selection .select2-selection {
    height: 38px;
}

.select2 .selection .select2-selection > span{
    padding: 4px 8px;
    height: 100%;
}

a[data-toggle="tooltip"] {
    display: inline-block;
    width: 14px;
}

.select2-container {
    display: block;
}

td > .form-group {
    margin-bottom: 0 !important;
}

.custom-checkbox {
    cursor: pointer;
}

.text-shadow {
    text-shadow: black 1px 1px 7px;
}

.text-large {
    font-size: 2rem;
}

.debug {
    border: red 1px solid;
}

.min-h-100 {
    min-height: 100vh;
}

.overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.opacity-60 {
    opacity: 0.6;
}

.opacity-40 {
    opacity: 0.4;
}

.bg-black {
    background-color: black;
}

#videoOverlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(200, 0, 0, 0.7);
    z-index: 2;
    cursor: pointer;
}

#videoOverlay > label {
    margin-top: 25%;
    font-size: 22px;
    font-weight: bold;
    color: #FFFFFF;
}

.filter-section .select2-container {
    display: inline-block;
    min-width: 150px;
    max-width: 300px;
    margin-right: 6px;
}

.select2-selection:focus .select2-selection__rendered {
    color: #3175f0;
}

.filter-section .selection .select2-selection {
    border-radius: 0;
    border: 0;
}

.filter .select2 {
    display: inline;
}

.filter-section .select2.select2-container {
    width: 150px !important;
}

.filter-section {
    width: 100%;
    height: 100%;
    background-color: #eee;
    padding: 6px;
    margin-bottom: 1rem;
}

a.nav-link.d-inline-flex {
    border-radius: 0;
}

#remote-video {
    width: 75%;
}

#remote-buttons button {
    min-width: 150px;
}

/* region - MODALS */

#modal .modal-dialog {
    background-color: #FFFFFF;
    padding-left:     40px;
    padding-right:    40px;
    padding-top:      40px;
    min-width:        540px;
}

.modal-image {
    font-size: 48px;
    height: 124px !important;
    width: 124px !important;
    margin: 0 0 32px;
    border: 8px solid white;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

#modal .img-fluid {
    max-width: 100px;
}

.modal-header {
    border: none;
}

.modal-header > fieldset {
    width: 100%;
    margin: 0;
}

.modal-header > .close {
    font-size: 40px;
    text-shadow: none;
    line-height: 0.5;
    color: #fff;
}

.modal-footer {
    justify-content: center;
    border: none;
    background: white;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    z-index: 1;
}

.modal-header legend::before {
    display: none;
}

.modal-custom {
    color: #fff;
}

:not(#pageInfoModal).modal-custom .modal-content:before, #pageInfoModal .modal-header:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
}

#pageInfoModal .modal-header {
    font-size: 24px;
    font-family: var(--montserrat);
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

#pageInfoModal .modal-header:before {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

#pageInfoModal .modal-body {
    color:   black;
    padding: 24px 24px 8px;
}

.modal-custom .modal-content, #pageInfoModal .modal-content {
    border: 0;
    border-radius: 8px;
}

.modal-custom .modal-body {
    padding: 0 48px 48px;
}

.vertical-align {
    position: absolute;
    top: 50%;
    left:50%;
    transform: translate(-50%,-50%);
}

.modal-subtext:not(:empty) + *:not(.empty-form) {
    margin-top: 3rem;
}

#preview-modal .modal-lg {
    max-width: 1200px;
}

#preview-modal .card {
    text-align: left;
    width: 33.3%;
    background-color: transparent;
    padding: 0;
    border-color: white;
}

#preview-modal .card .card-header {
    background-color: rgba(255, 255, 255, 0.1);
    border-bottom:    1px solid rgba(255, 255, 255, 0.2);
}

#preview-modal .card .card-header .card-title {
    font-weight: bold;
    font-variant: small-caps;
    font-size: 22px;
    margin-bottom: 0;
}

#preview-modal .card .info-modal-element:not(:last-child) {
    margin-bottom: 12px;
}

#modal-ajout .form-group:last-child {
    margin-bottom: 0;
}
/* endregion */

.btn {
    border-radius: 0 !important;
}

.top-0 {
    top: 0;
}

h1,h2,h3,h4,h5, header span {
    font-family: 'Lato', serif;
}

h1 {
    font-variant: small-caps;
}

.select2-container--default .select2-selection--single, .select2-dropdown, input {
    border-radius: 0 !important;
}

.select2-selection__clear {
    right: 15px;
    padding-left: 5px;
}

.link-unstyled, .link-unstyled:hover {
    color: inherit;
    text-decoration: none;
}

.select2-container--disabled .select2-selection__placeholder {
    color: #999 !important;
}

.select2-selection__placeholder {
    color: var(--black) !important;
}

.available {
     background-color: #9ae699 !important;
 }

.sub-box {
    width: 30%;
    margin: 1.5%;
}

.sub-box:hover {
    cursor: pointer;
}

.success-hl {
    border: 1px solid #00ff00;
}

.success-hl:focus {
    box-shadow: none !important;
    border: 1px solid #00ff00;
}

.error-hl {
    border: 1px solid #ff0000;
}

.error-hl:focus {
    box-shadow: none !important;
    border: 1px solid #ff0000;
}


ul.list-icon li {
    display: block;
    position: relative;
}

ul.list-icon li:before {
    display: block;
    position: absolute;
    padding-right: 3px;
    vertical-align: middle;
    left: -25px;
}

li.list-item-check:before {
    font-family: "Font Awesome 5 Free";
    content: "\f14a";
    font-weight: 900;
    color: #36cc3f;
}


li.list-item-uncheck:before {
    font-family: "Font Awesome 5 Free";
    content: "\f0c8";
    color: rgb(129, 128, 126);
    font-weight: 300;
}


li.list-item-arrow:before {
    font-family: "Font Awesome 5 Free";
    content: "\f054";
    color: var(--primary-color);
    font-weight: 900;
}