/*
 * MySOBOA Applay Compat — styles de sécurité
 *
 * Ces règles reproduisent fidèlement les styles de modern-style.css et de
 * bootstrap.min.css qui s'appliquent aux shortcodes ia_button / ia_heading /
 * ia_iconbox. Elles sont actives en filet de sécurité même si l'option
 * app-theme-style change ou si modern-style.css n'est pas chargé.
 */

/* =================================================================
   ia_button — overrides Bootstrap .btn / .btn-default / .btn-lg
   (le thème charge déjà bootstrap.min.css; ces règles complètent
    les surcharges définies dans modern-style.css)
   ================================================================= */
.btn {
    border-radius: 0;
}
.btn-default {
    border-style: double;
    border-width: 4px;
    padding: 6px 20px;
}
.btn-default.btn-lg,
.btn-group-lg > .btn-default.btn {
    padding: 14px 40px;
}

/* =================================================================
   ia_heading — div.ia-heading + h2 / h2.h1
   ================================================================= */
.ia-heading h2.h1 {
    text-transform: uppercase;
    margin-bottom: 30px;
    border-top: double 4px;
    border-bottom: double 4px;
    display: inline-block;
}
.ia-heading h2:before {
    height: 0;
    background-color: transparent !important;
    border-top: double 4px;
}
.ia-heading h2.h1:before {
    display: none;
}
.ia-heading.heading-align-center {
    text-align: center;
}

/* =================================================================
   ia_iconbox — icône carrée tournée à 45° (diamant)
   ================================================================= */
.ia-icon,
.light .ia-icon {
    width: 78px;
    height: 78px;
    line-height: 70px;
    -webkit-border-radius: 0;
       -moz-border-radius: 0;
            border-radius: 0;
    border-style: double;
    border-width: 4px;
    display: inline-block;
    text-align: center;
    -webkit-transform: rotate(45deg);
       -moz-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
            transform: rotate(45deg);
    margin: 10px;
}
/* Contre-rotation de l'icône Font Awesome pour qu'elle reste droite */
.ia-icon .fa {
    display: inline-block;
    font-size: 1.5em;
    line-height: 70px;
    -webkit-transform: rotate(-45deg);
       -moz-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
            transform: rotate(-45deg);
}

/* Espacement Bootstrap media (déjà dans modern-style.css, copié ici
   en cas de désactivation de ce fichier via l'option du thème) */
.media > .pull-left  { margin-right: 25px; }
.media > .pull-right { margin-left:  25px; }
.media > .text-center {
    margin-bottom: 25px;
    width: 100%;
    display: block;
}

/* Layout centré : aligne le media-body aussi */
.ia-icon-box > .text-center ~ .media-body {
    text-align: center;
}
