/* Champs de saisie */


/* Bouton de menu */
.topcorner{
    position:absolute;
    z-index: 300;
    top:0;
    left:0;
   }

.btn_menu {
    float: right;
}

/* Tab panels */
.tabpanel-item {
    height: 200px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding-left: 25px;
    padding-right: 25px;
    padding-top: 10px;
}

.mobile .tabpanel-item {
    padding-top: 10px;
}

.tabpanel-item  > div {
    float: left;
    padding: 0 10px 10px 10px
}

.tabpanel-item  p {
    font-size: 16px;
    margin: 0;
}

/* Tableaux */

.gridContainer .dx-scrollable-scroll {
    width: 17px;
}

.dx-scrollable-content {
    padding-bottom: 0px !important;
}

.column-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
    font-size:15px;
  }

.has-filter .dx-icon{
    color: rgb(233, 70, 20);
}
#btn-delete-filters
{
    display: none;
    background-color: rgb(255, 241, 239);
}
#website-books-btn-delete-filters
{
    display: none;
    background-color: rgb(255, 241, 239);
}
.datagrid_info {
    color: #007bff;
}

/* Boutons de menus */
.menu-button {
    font-size:30px;
}

/* Bouton vidéo */
.form-arrows-video {
    display: flex;
}
.form-arrows-video-play {
    margin-left: auto;
    height:20px;
    padding-top: 0px;
    padding-bottom: 21px;
    padding-right: 0px;
    padding-left: 0px;
}
.form-arrows-video-video {
    width: 600px;
    height: 400px;
    position: fixed; /* or absolute */
    top: 50%;
    left: 50%;
    margin-top: -200px;
    margin-left: -300px;
    z-index: 1000;
}

/* Modal */
.modal-header {
    margin-bottom: 17px !important;
}

/* DX Fields */
.dx-field-label {
    width: 20% !important;
}
.dx-field-value {
    width: 80% !important;
}
.dx-field-value-static {
    width: 80% !important;
}
.dx-field-yellow {
    background-color: lightyellow !important;
}

/* Checkbox */
.cbx-label {
    width: 90% !important;
}
.cbx-value {
    width: 10% !important;
}


/* Grid columns */
.cell-wordwrap {
    white-space: normal;
    word-wrap: break-word;
}

/* Grid rows */
.disabledRow {
    color: silver;
    background-color: #fffcfb;
}

.disabledRow.dx-state-hover td {
    color: silver !important;
    background-color: #fffcfb !important;
}

.italicRow {
    font-style: italic;
}

.italicRow.dx-state-hover td {
    font-style: italic !important;
}

.boldRow {
    font-weight: bold;
}

.boldRow.dx-state-hover td {
    font-weight: bold !important;
}

/* Grid filter */
.dx-header-filter {
    color: #3336ff !important
}
.dx-header-filter-empty {
    color: rgba(149,149,149,.5) !important
}

/* Gallery images */
.dx-gallery-item-image {
    max-height: 100%;
}

/* Cards */
.card-clickable{
    position: absolute;
    width:100%;
    height:100%;
    top:0px;
    left:0px;
}


.dx-field-value-modal {
    width: 100% !important;
}

.card-selected {
    background-color: #3336ff8f;
}

.card-disabled {
    background-color: rgba(149,149,149,.5);
}

.card-normal-color {
    background-color: #ffffff;
}

.page-content {
    counter-reset: card-index;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.9rem;
    margin: 5px;
}

@media (max-width: 1200px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 800px) {
    .card-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (max-width: 500px) {
    .card-grid {
        grid-template-columns: 1fr;
    }
}

.card-grid .card {
    position: relative;
    counter-increment: card-index;
    min-height: 0;
    margin: 0;
    transition: box-shadow .15s ease, transform .15s ease;
}

.card-grid .card:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
    transform: translateY(-2px);
}

.card-grid .card::before {
    content: counter(card-index);
    position: absolute;
    top: 0.55rem;
    left: 0.55rem;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: #eef0ff;
    color: #3336ff;
    font-size: 0.72rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.card-grid .card-body {
    padding: 0.85rem 0.9rem 0.85rem 2.5rem;
}

.card-grid .card-title {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.card-grid .card-title a {
    color: inherit;
    text-decoration: none;
}

.card-grid .card-title a::after {
    content: "";
    position: absolute;
    inset: 0;
}

.card-grid .card-title a:hover,
.card-grid .card-title a:focus {
    color: #3336ff;
    text-decoration: underline;
}

.card-grid .card-text {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 0;
}

.card-grid [id^="autres_stats"] {
    display: contents;
}


/* Others */
.parent-size{
    overflow: hidden;
    position: relative;
}
.child-size{
    position: absolute;
    width:100%;
    height:100%;
    top:0px;
    left:0px;
}

/* width */
.scroll::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

/* Track */
.scroll::-webkit-scrollbar-track {
    background: #eff0f3;
}

/* Handle */
.scroll::-webkit-scrollbar-thumb {
    background: var(--dark);
    border-radius: 15px;
}

.lisa-checkbox{
    width: 25px !important;
    float: left;
}