/*
 * Override certain elements' CSS
*/

.input-group-btn .btn-primary {
    height: 30px;
    line-height: 28px;
    padding: 0 12px;
}

/* Font-size du tableau du backoffice */

.table > tbody button {
    font-size: 12px;
}

.table > tbody input {
    height: 20px;
}

.table > tbody .form-control {
    padding: 0.2rem 0.2rem;
    line-height: 1.2;
    /* height: 20px; */
}

.table > tbody > tr > td,
.table > tbody > tr > th,
.table > tfoot > tr > td,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > thead > tr > th {
    padding: 1px 3px;
    line-height: 1.42857143;
    border-top: 1px solid #ddd;
    vertical-align: middle;
}

.table > thead > tr > td,
.table > thead > tr > th {
    padding: 2px 8px;
    line-height: 1.42857143;
    border: none;
    vertical-align: middle;
}

.table > tbody > tr > td button,
.table > tfoot > tr > td button,
.table > thead > tr > td button {
    padding: 3px 12px;
}

.table > tfoot > tr > td .form-control,
.table > thead > tr > td .form-control {
    padding: 0px 12px;
}

.table > tbody > tr > td .checkbox,
.table > tfoot > tr > td .checkbox,
.table > thead > tr > td .checkbox,
.table > tbody > tr > td .radio,
.table > tfoot > tr > td .radio,
.table > thead > tr > td .radio {
    margin-top: 0;
    margin-bottom: 0;
}

tr > td.dashboard-name {
    max-width: 560px;
}

.flexbox {
    display: flex;
    justify-content: space-around;
}

.flexbox li {
    background: #ffcc00;
    list-style: none;
}

ul.flexbox {
    padding: 0;
}

/* The container */
.checkbox-container {
    display: inline-block;
    position: relative;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: 50px;
    height: 50px;
    text-align: center;
    vertical-align: middle;
    margin-bottom: 20px;
}

/* Hide the browser's default checkbox */
.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-container .icon-name {
    position: absolute;
    bottom: -16px;
    font-size: 13px;
    left: 10px;
    font-weight: normal;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 50px;
    width: 50px;
    /* background-color: #eee; */
    background-size: 50px 50px;
    padding: 10px;
    background-repeat: no-repeat;
    background-position: center;
}

/* When the checkbox is checked, add a blue background */
.checkbox-container input:checked ~ .checkmark {
    background-color: #337ab7;
    border: #337ab7 solid 2px;
    border-radius: 10px;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.checkbox-container .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    /* border: solid white; */
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.board-default-page {
    word-wrap: break-word;
    max-width: 150px;
}
