/* ----------------------------------------------------------------------- */
/* --------------------------- DEBUT des imports ------------------------- */
/* ----------------------------------------------------------------------- */

@import url("../aide/css/aide-rwd.css");

/* ----------------------------------------------------------------------- */
/* ---------------------------- FIN des imports -------------------------- */
/* ----------------------------------------------------------------------- */

/* ----------------------------------------------------------------------- */
/* ----------------------------- DEBUT Commun ---------------------------- */
/* ----------------------------------------------------------------------- */

/* Extra-small devices (phones, 767px and less) */
@media (max-width: 767px) {
    .scrollingFixedElement {
        position: fixed;
    }
}

/* Small, medium and large devices (tablets, desktops, 768px and up) */
@media (min-width: 768px) {
    #conteneur {
	    min-height: 800px;
	}
}

/* Medium and large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    #pageBgGauche {
        background-image: url(../img/commun/bg_body_gauche.jpg);
        background-repeat: repeat-y;
        background-position: top left;
        padding-left: 26px;
    }
    
    #pageBgDroit {
        background-image: url(../img/commun/bg_body_droit.jpg);
        background-repeat: repeat-y;
        background-position: top right;
        padding-right: 26px;
    }
}

/* All devices */
#header, #header>div, #conteneur {
    margin-left: 0px;
    margin-right: 0px;
    padding-left: 0px;
    padding-right: 0px;
}

#colDroite > table {
    width: 100%;
}

h2 {
	font-size: 18px;
}

.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
    margin-right:-4px;
}

/* ----------------------------------------------------------------------- */
/* ---------------------------- DEBUT Header ----------------------------- */
/* ----------------------------------------------------------------------- */

/* Extra-small devices (phones, 767px and less) */
@media (max-width: 767px) {
    #header {
	    background: #FFFFFF url(../img/header/bg_header.jpg) repeat-x left bottom;
	    height: 140px;
	}
	
	.impogouv a img {
	    width: 50%;
	    max-width: 167px;
	}

	.nomId {
        margin-left: -5px;
	    margin-top: 5px;
	}
	
	#fixedHeader.scrollingFixedElement {
        top: 0px;
        z-index: 100;
        background-image: url(../img/header/bg_header.jpg);
        background-repeat: repeat-x;
        background-position: left bottom;
        background-color: #ffffff;
        width: 100%;
        height: 110px;
	}
}

/* Small devices (tablets, 768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .monEsp {
	    height: 60px;
	}

    .monEsp h1 {
        line-height: 40px;
        font-size: 28px;
        margin-left: -8px;
    }
}

/* Small, medium and large devices (tablets, desktops, 768px and up) */
@media (min-width: 768px) {
    .nomId {
	    margin-left: -25px;
        padding-top: 8px;
	}
}

/* Medium and large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .monEsp {
        height: 98px;
    }

	.monEsp h1 {
        line-height: 72px;
	}
}

/* ----------------------------------------------------------------------- */
/* -------------------------- DEBUT Menu gauche -------------------------- */
/* ----------------------------------------------------------------------- */

/* Extra-small devices (phones, 767px and less) */
@media (max-width: 767px) {
    #boutonMenuRwd {
        text-align: right;
    }
    
    #boutonMenuRwd button {
        padding: 9px 10px;
        margin-top: 4px;
        background-color: transparent;
        border: 1px solid #ddd;
        border-radius: 4px;
    }
    
    #boutonMenuRwd button:focus {
        outline: none;
    }
    
    #boutonMenuRwd button.active {
        background-color: #ddd;
    }
    
    #boutonMenuRwd button .icon-bar {
        background-color: #888;
        display: block;
        width: 22px;
        height: 2px;
        border-radius: 1px;
    }
    
    #boutonMenuRwd button .icon-bar+.icon-bar {
        margin-top: 4px;
    }
    
    #conteneur {
        padding-top: 0px;
    }
    
    #colGauche {
        padding-right: 0px;
        padding-left: 0px;
    }
    
    #colDroite {
        padding-top: 42px;
    }
    
    #menuGauche {
        display: none;
        margin-top: -2px;
    }
    
    #menuGauche.scrollingFixedElement {
        width: 100%;
        top: 110px;
        z-index: 100;
        margin-bottom: 2px;
        margin-top: 0px;
    }
    
    #menuGauche a {
	    margin-bottom: 0px;
	    height: 38px;
	}
	
    #menuGauche a+a {
        border-top: 1px solid #ddd;
    }
    
    #menuImpotgouv img {
        height: 20px;
    }
}

/* Small, medium and large devices (tablets, desktops, 768px and up) */
@media (min-width: 768px) {
    
    #menuGauche {
        display: block;
    }
    
    #menuGauche a {
	    height: 38px;
	}
	
	.popinLabel {
	    text-align: right;
	}
	
	.popinLabelUneLigne {
	   padding-top: 5px;
	}
	
	.labelDeuxLignes {
        line-height: 14.5px;
    }
}

/* ----------------------------------------------------------------------- */
/* ------------------------- DEBUT Chemin de fer ------------------------- */
/* ----------------------------------------------------------------------- */
/* Extra-small devices (phones, 767px and less) */
@media (max-width: 767px) {
    .cheminFer {
        display: none;
    }
}

/* Small, medium and large devices (tablets, desktops, 768px and up) */
@media (min-width: 768px) {
    .cheminFer {
	    max-width: 760px;
	}
	.etapeCheminFer {
	    width: 20%;
	    max-width: 152px;
	}
	.step {
	    font-size: 14px;
	}
}


/* ----------------------------------------------------------------------- */
/* ---------------------- DEBUT Boutons Plier/Deplier -------------------- */
/* ----------------------------------------------------------------------- */
.blocBoutonsMasquerAfficher {
    text-align: right;
}
.blocBoutonsMasquerAfficher button {
    padding: 5px 5px 0px 5px;
    background-color: #ddd;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}
.blocBoutonsMasquerAfficher button:focus {
    outline: none;
}


.blocBoutonsMasquerAfficher button span.boutonPlier,
.blocBoutonsMasquerAfficher button span.boutonDeplier {
    background-repeat: no-repeat;
    width: 17px;
    height: 17px;
    display: inline-block;
}
.blocBoutonsMasquerAfficher button span.boutonPlier{
    background-image: url(../img/fleche_haut_17x17.png);
}

.blocBoutonsMasquerAfficher button span.boutonDeplier{
    background-image: url(../img/fleche_bas_17x17.png);
}
.blocBoutonsMasquerAfficher button.boutonAfficher {
    display: none;
}

/* Small, medium and large devices (tablets, desktops, 768px and up) */
@media (min-width: 768px) {
    .contenuAccordeonSmartphone {
        display: block !important;
    }
}

/* ----------------------------------------------------------------------- */
/* --------------------------- DEBUT Navigation -------------------------- */
/* ----------------------------------------------------------------------- */

/* Extra-small devices (phones, 767px and less) */
@media (max-width: 767px) {
	.boutonsNavigation {
	    margin-top: 25px;
	    padding: 0px;  
	    position: inherit;
	}
	
    .boutonGauche, .boutonDroite, .bouton,
    .ui-dialog-buttonpane > .ui-dialog-buttonset > .boutonGauche,
    .ui-dialog-buttonpane > .ui-dialog-buttonset > .boutonDroite,
    .ui-dialog-buttonpane > .ui-dialog-buttonset > .bouton  {
	    font-size: 15px;   
	    color: #00426F;
	    font-weight: bold;
	    border: 2px solid #D0D0D0;
	    border-color: #D0D0D0;
	    -webkit-border-radius: 8px;
	    -moz-border-radius: 8px;
	    border-radius: 8px;
	    padding: 4px 6px;
	    position: relative;
	    width: 100%;
	    display: inline-block;
	    margin-bottom: 5px;
	    float: none;
	    text-align: center;
	}
	
	.boutonGauche, .boutonGauche:hover, .boutonGauche:focus,
	.ui-dialog-buttonpane > .ui-dialog-buttonset > .boutonGauche,
	.ui-dialog-buttonpane > .ui-dialog-buttonset > .boutonGauche:hover 
    .ui-dialog-buttonpane > .ui-dialog-buttonset > .boutonGauche:focus {
	    padding-left: 12px;
	    background: url(../img/boutonsNavigation/puce_grise_left.gif) no-repeat center left;
	}
	
	.boutonDroite, .boutonDroite:hover, .boutonDroite:focus,
	.ui-dialog-buttonpane > .ui-dialog-buttonset > .boutonDroite,
	.ui-dialog-buttonpane > .ui-dialog-buttonset > .boutonDroite:hover,
    .ui-dialog-buttonpane > .ui-dialog-buttonset > .boutonDroite:focus {
		padding-right: 12px;
		background: url(../img/boutonsNavigation/puce_grise_right.gif) no-repeat center right;
	}
    
    .bouton:hover, .bouton:focus,
    .ui-dialog-buttonpane > .ui-dialog-buttonset > .bouton:hover,
    .ui-dialog-buttonpane > .ui-dialog-buttonset > .bouton:focus {
        color: black;
    }
}

/* ----------------------------------------------------------------------- */
/* --------------------------- DEBUT Pop-in     -------------------------- */
/* ----------------------------------------------------------------------- */

@media ( max-width : 767px) {
    .ui-dialog[aria-describedby="popinDPRProcedureRapide"] {
         width: 100% !important;
        max-width: 767px !important;
    }
}

@media ( max-width : 767px) {
    .ui-dialog[aria-describedby="popinEcolabInfoProcRapide"] {
         width: 100% !important;
        max-width: 767px !important;
    }
}

@media ( max-width : 767px) {
    .ui-dialog[aria-describedby="popin2OPProcedureRapidePopin"] {
         width: 100% !important;
        max-width: 767px !important;
    }
} 

@media ( max-width : 767px) {
    .ui-dialog[aria-describedby="verifPacPlusDe10AnsFH"] {
         width: 100% !important;
        max-width: 767px !important;
        left: 50% !important;
        transform: translateX(-50%);
    }
} 

@media ( max-width : 767px) {
    .ui-dialog[aria-describedby="messageConfirmationPAC"] {
         width: 100% !important;
        max-width: 767px !important;
    }
} 

@media ( max-width : 767px) {
    .ui-dialog[aria-describedby="ReducFraisGardePopin"] {
         width: 100% !important;
        max-width: 767px !important;
    }
}

@media ( max-width : 767px) {
    .ui-dialog[aria-describedby="popinPACPMR"] {
         width: 100% !important;
        max-width: 767px !important;
    }
}

@media ( max-width : 767px) {
    .ui-dialog[aria-describedby="PACPMRPopinConfirmRetrait"] {
         width: 100% !important;
        max-width: 767px !important;
    }
}

@media ( max-width : 767px) {
    .ui-dialog[aria-describedby="popinDeconnexion"] {
         width: 100% !important;
        max-width: 767px !important;
    }
}

@media ( max-width : 767px) {
    .ui-dialog[aria-describedby="popinConfirm6DD"] {
         width: 100% !important;
        max-width: 767px !important;
    }
} 

/* Extra-small devices (phones, 767px and less) */
@media ( max-width : 767px) {
  .ui-dialog  {
        width: 100% !important;
        max-width: 767px !important;
        left: 50% !important;
        transform: translateX(-50%);
    }
}

.ui-dialog div {
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: 12px;
}

.boutonRubrique .bouton {
	font-size: 12px;
}

.boutonRubrique a {
    text-decoration: none;
}

#popinSaisie .row {
	margin-bottom: 10px;
}

 .popinPacPmr {
            width: 99.5%;
        }
        
.noEllipsisTitle .ui-dialog-title {
        white-space: normal !important;
    text-overflow: clip !important;
}  