﻿/* A noter : styles BS chargés par le module si non présents dans le contexte graphique (skin)*/
/* Intégration Bootstrap*/
.ssiForm .h3{
    margin-top: 1rem;
}

.ssiForm .radio input[type="radio"],
.ssiForm .checkbox input[type="checkbox"] {
    margin-left: 0;
}

.ssiForm .radio label,
.ssiForm .checkbox label {
    margin-right: 8px;
}

.columnHeader, .columnButton {
    text-align: center;
}

/*Boutons*/
.ssiForm a.btn-primary,
.ssiForm a.btn-info,
.ssiForm a.btn-success,
.ssiForm a.btn-warning,
.ssiForm a.btn-danger {
    color: #fff;
    border: 1px solid transparent;
}

.ssiForm a.btn-default {
    border: 1px solid #ccc; /*overwrite des liens de skin pour retour aux styles BS natifs de bouton*/
    color: #333;
}

.deleteButton {
    font-family: "Font Awesome 5 Free";
    content: "\f1ea";
}

/* Messages de service */
.ssiForm .alert {
    display: block;
}

/* Dual list */
.ssiForm .dualListControl table tr td {
    line-height: 1;
}

    .ssiForm .dualListControl table tr td select {
        min-width: 300px;
    }

/*champs requis*/
.ssiForm .form-group.ssi-required h3 span:after,
.ssiForm .form-group.ssi-required .control-label:after,
.ssiForm .requiredFieldsLegend:before {
    content: "*";
    color: #a94442;
}

.ssiForm .form-group.ssi-required h3 span:after,
.ssiForm .form-group.ssi-required .control-label:after {
    margin-left: 5px;
}

.ssiForm .requiredFieldsLegend:before {
    margin-right: 5px;
}

/* bouton interne au formulaire (càd associé à un champ) */
.ssiForm .form-group .btn {
    margin-top: 5px;
}

/* liste radio */
.ssiForm input[type="radio"] {
    margin-right: 5px;
}

/* panel */
.ssiForm .panel a:hover, ssiForm .panel a:focus {
    text-decoration: none;
}

.ssiForm .panel .form-control.dateControl {
    display: inline-block;
    max-width: 200px;
}

.ssiForm .card .form-control.dateControl {
    display: inline-block;
    max-width: 95%;
}

/*DNN*/
.ssiForm .dnnLabel {
    width: auto;
    float: none;
}

.ssiForm .floatDnnLabel .row .dnnLabel {
    float: left;
    text-align: start;
    width: 33%;
    margin-right: 0;
    padding-right: 20px;
}

.ssiForm textarea {
    margin-bottom: 20px !important;
}

.ssiForm .btn-group {
    margin-bottom: 20px;
}

.ssiForm .row > .col-md-6 {
    min-width: 300px;
}

.svgForm {
    width: 1em;
}