/* Extra-small devices (phones, 767px and less) */
@media (max-width: 767px) {
    .codeRevenu .blocLabel{
        text-align: left;
    }
    .codeRevenu .blocInput{
        text-align: right;
    }
    .codeRevenu .blocCodeRevenu, .codeRevenu .blocInfoDpr {
        text-align: center;
    }
    .codeRevenu .blocBoutonFraisReels{
       text-align: right;
    }

    .codeRevenu .blocDpr, .codeRevenu .cadrePAJE, .codeRevenu .cadreCESU {
         padding: 5px;
    }
    .rubrique .boutonRubrique {
	    padding-top: 15px;
	    text-align: center;
	}

    .rubrique .boutonRubrique .bouton .btn-detail-preremplie-disabled {
        width: 90%;
    }
    .rubrique .rounded {
        padding: 6px 15px 24px 15px;
        background-color: #ECF6FF !important;
    }

    .row-gap {
        flex-direction: column;
    }
}

/* Extra-small and small devices (phones, tablets, up to 991px) */
@media (max-width: 991px) {
    .ui-dialog[aria-describedby="popinFraisReels"] {
        width: 100% !important;
        max-width: 835px !important;
    }
}

/* Small, medium and large devices (tablets, desktops, 768px and up) */
@media (min-width: 768px) {
    .codeRevenu{
        text-align: right;
    }
    .blocCodeRevenu{
        text-align: center;
        text-transform: uppercase;
    }
    .codeRevenu input[type="number"][size="10"]{
         width: 100%;
    }
    .codeRevenu .blocBoutonFraisReels{
           text-align: left;
    }

    .codeRevenu .blocDpr, .codeRevenu .cadrePAJE, .codeRevenu .cadreCESU {
         padding: 5px 15px;
    }
    .boutonGauche {
        max-width: 220px;
    }
    .boutonAjouter {
        margin-top: 8px;
        white-space: nowrap;
    }
    .rubrique .boutonRubrique {
        padding-top: 15px;
    }
    .rubrique .rounded {
        padding: 8px 15px 24px 15px;
        background-color: #ECF6FF;
    }
    .rubrique .listePersonnes .boutonRubrique {
	    padding-top: 0;
	}
	.rubrique .listePersonnes .row {
	    padding: 10px 0px 10px 0px;
	}
}

/* All devices */
.rubrique {
    margin-top: 20px;
}
    
.rubrique h2 {
    color: #00688A;
    font-size: 15px;
    margin-bottom: 2px;
    font-weight: bold;
}

.rubrique .boutonRubriqueGauche {
    text-align: right;
}

.rubrique .listePersonnes .tab {
    padding-left: 10px;
    padding-top: 3px;
}

.codeRevenu {
    min-height: 23px;
    padding: 5px;
    background-color: #ECF6FF;
}

.blocContainer {
    display: flex;
    align-items: center;
    height: 16px;
}

.blocContainer > div {
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 33%;
}

.codeRevenu .blocLabel label {
    font-weight: normal;
}

.codeRevenu input[type="checkbox"] {
    margin: 0px;
    float: none;
}

.codeRevenu .checkBoxInput input[type="checkbox"] {
    opacity: 0;
    cursor: pointer;
    height: 0px;
    width: 0px;
}

.codeRevenu .checkSymbol {
    position: absolute;
    right: 15px;
    height: 20px;
    width: 20px;
    background-color: #ffffff;
    border: 1px solid #ccc;
}

.codeRevenu .checkBoxInput input:checked ~ .checkSymbol:after {
    display: block;
}

.codeRevenu .checkSymbol:after{
    content: "";
    display: none;
    position: absolute;  
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid black;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.codeRevenu .codeReference img {
    height: 19px;
    width: 21px;
    margin-left: 5px;
    float: right;
    margin-top: -3px;
    border: none;
}

.codeRevenu .messageErreur {
    color: red;
    text-align: left;
    padding-top: 5px;
}

.codeRevenu .blocBoutonFraisReels {
    padding-top: 8px;
}

.codeRevenu .blocBoutonFraisReels a.bouton {
    padding: 2px 3px;
    font-size: 12px;
    width: auto;
}

.btn-detail-preremplie-disabled {
    padding: 4px 6px;
    font-size: 15px;
    width: auto;
    color: #808080;
    pointer-events: none;
    text-decoration: none;
    cursor: not-allowed;
}


.boutonAjouter a {
	font-size: 12px;
	text-decoration: none;
}

.boutonAjouter a.bouton_grise {
    color: #666;
}

.codeRevenu .blocDpr, .codeRevenu .cadrePAJE, .codeRevenu .cadreCESU {
    background-color: #E2E9EF;
    border: 1px solid white;
    margin: 10px 0px 10px 0px;
}

.codeRevenu .blocDpr {
    display: none;
}

.codeRevenu .cadrePAJE, .codeRevenu .cadreCESU {
    text-align: left;
}

.codeRevenu span.montantAcorriger {
    display: inline-block;
    min-width: 35px;
    border-bottom: 1px solid black;
    margin: 0px 4px;
    padding: 0px 2px;
    text-align: center;
}

.codeRevenu .checkBoxInput span.grise {
    background-color: #eee;
}

/* Même classe pour lesautres boutons détails */
[class*="detail6DD"] { 
    display: inline-block;
    min-width: 35px;
    text-align: left;
    margin-top:10px;
}

[class*="detail6DG"] {
    display: inline-block;
    min-width: 35px;
    text-align: left;
    margin-top:10px;
}

[class*="detailButton"] { 
    display: inline-block;
    min-width: 35px;
    text-align: left;
    padding: 15px 170px 5px 0px;
}

[class*="textepetitItalique"] {
    font-size: 8pt;
    font-style: italic;
    font-weight: normal;
    margin-top: 15px;
}

[class*="textePetitItaliqueSansMT15"] {
    font-size: 8pt;
    font-style: italic;
    font-weight: normal;
}

/* Liste des personnes à charge */
.rubrique .listePersonnes .row {
    padding: 10px 0px 10px 0px;
}

.rubrique .listePersonnes .row:nth-of-type(odd) {
    background-color: #ECF6FF;
}

.rienDecl {
    padding-left: 0 !important;
}

.traitBleu {
    width: 90%;
    margin-left: 5%;
    margin-top: 15px;
    height: 1px;
    background-color: #02769A;
    text-align: center;
}

.popover-body {
    font-size:1.25rem;
}

.icon-delete {
	background: url("../img/supprimer.svg") no-repeat;
	width: 25px;
	height: 25px;
	background-size: contain;
	float: right;
	background-position: center;
	cursor: pointer;
}

.ajout-moteur {
    display:none;
}

.moteur-recherche {
    margin: 20px 0;
    border: 1px solid #D0D0D0;
    border-radius: 4px;
    padding: 0 10px 20px 10px;
}

.moteur-recherche .titre {
    margin: 5px 0px 20px 0px;
    font-weight: bold;
    text-align: center;
}

.moteur-recherche .blocLabel {
    padding-right: 10px;
}

.ui-menu .ui-state-focus {
    background-color: rgb(102, 175, 233);
}

.texte-surbrillance {
    color: #08B0E7 !important;
    font-weight: bold;
}

.encadreBleu {
    outline: 2px solid rgb(102, 175, 233);
}

.textegras {
    font-weight: bold;
}

.textesouligne {
    text-decoration: underline;
}

#messageConfirmationPAC {
    padding: 25px 0 0;
}

#confirmationSupprRas {
    padding: 25px 10px 10px;
    text-align: left;
}

#confirmationSupprRas div{
    display: inline-block;
    text-align: left;
}

#confirmationSupprRas div.icone{
    width: 10%;
    vertical-align: top;
}

#confirmationSupprRas div.message{
    width: 88%;
}

.blocInput input[readonly]{
	pointer-events: none;
	cursor: default;
	background-color: #eee;
	border: 1px solid #b4b4b4;
	height: 21px;
}

.blocInput input[readonly].encadreRouge {
	border: 2px solid red;
}

.blocInput input[readonly].encadreBleu {
    border: 2px solid rgb(102, 175, 233) !important;
}

.encadreFocus {
    border: 1px dotted black !important;
}

.iconbouton {
    background-color: transparent;
    border: none;
}

.iconbouton:focus {
    border: 1px dotted black !important;
}

#message2OP {
    text-align: left;
}

.messageDetailErreur {
    margin-top: 10px;
}

.boutonInfo {
    background: url("../img/mini_aide.png");
    width: 21px;
    height: 19px;
    margin-left: 15px;
}

.texteNoir{
    color:#000000;
}

/* Résolution manuelle de conflits dans TDR. Ne pas utiliser TDRupdateDPR en procédure longue ou pour du métier */
.TDRupdateDPR .tabhead,
.TDRupdateDPR .tabheadSmallPadding,
.TDRupdateDPR .tabnom {
    font-size: 10pt;
}

.teleir-popin_reduc
{
    top: 5em !important;
    left: 50% !important;
    transform: translateX(-50%);
}

.break-word {
    word-wrap: break-word;
}

ul.dash {
    list-style: none;
    margin-left: 0;
    padding-left: 1em;
}

ul.dash > li:before {
    display: inline-block;
    content: "-";
    width: 1em;
    margin-left: -1em;
}

.exempleResidenceSecondaire {
    display: none;
    text-align: left;
}

.hrGris {
    border-top: 1px solid #D8D8D8;
    width: 75%;
    margin: revert;
}

.row-gap {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.colFondGris {
    background-color: #F3F3F3;
    padding: 20px 0;
}

.accordeon {
    background-color: #F3F3F3;
    color: #02769A;
    font-size: 14px;
    font-weight: bold;
    padding: 8px 10px;
    display: list-item;
}

.accordeonResidenceSecondaire {
    margin-top: 20px;
    padding: 0 20px;
}

.encadreAccordeon {
    border: 1px solid #F3F3F3;
    margin-bottom: 7px;
}

.accordeonTexteADroiteGris {
    color: #767676;
    float: right;
}

.marginBottom20px {
    margin-bottom: 20px;
}

.marginLeft10px {
    margin-left: 10px;
}

.marginTop5px {
    margin-top: 5px;
}

.alert {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #FDEBED; /* fond rouge clair */
    padding: 12px 16px;
}

.alert-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}