/* Fichier SVN :    $Id: main.css 1287 2015-04-07 08:06:36Z a.lecuelle $ */

/**
 * @package         ACM
 * @filesource      $HeadURL: http://svn.int/acm/trunk/PHP/ACM/www/css/main.css $
 *
 * @version         $LastChangedRevision: 1287 $
 * @lastrevision    $LastChangedDate: 2015-04-07 10:06:36 +0200 (mar., 07 avr. 2015) $
 * @lastauthor      $LastChangedBy: a.lecuelle $
 *
 * @author          Christophe OLLIER <c.ollier@cariforef-mp.asso.fr>
 * @author          Agnès PICCO <a.picco@cariforef-mp.asso.fr>
 * @author          Thierry Thiers <t.thiers@cariforef-mp.asso.fr>
 * @copyright       © 2013 CARIFOREF Midi-Pyrénées - Tous droits réservés
 */


/**
 * Styles des principaux éléments HTML et de mise en page du site.
 */


/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/** Imports CSS ***************************************************************/
@import url("../libs/font-awesome/css/font-awesome.min.css");


/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 0.75em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    margin: 1em 0;
    padding: 0;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    margin: 0;
    padding: 0;
    border: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    padding: 0.2em 0;
    background: #ccc;
    color: #000;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
html {
	/* background: #E1E1E1 url('../img/html_background.png') no-repeat top center fixed; */
	/* background: #E1E1E1 url('../img/bg-texture.jpg') repeat; */
}
body {
	/*background: transparent url('../img/body-background.png') repeat-y top center;*/
}

#img-aide-rafael {
    width: 250px;
    position: fixed;
    right: 15px;
    top: 370px;
    z-index: 0;
}

div#menu_connexion {
	padding: 10px;
	background-color: #5B5B5B;
	color: #FFFFFF;
	font-size: 11px;
}
div#menu_connexion div.bloc_gauche {
	float: left;
	width: 50%;
}
div#menu_connexion div.bloc_droite {
	float: right;
	width: 50%;
	text-align: right;
}
div#menu_connexion dl {
	margin: 0;
}
div#menu_connexion dt {
	float: left;
    clear: left;
    width: 70px;
	font-weight: bold;
}
div#menu_connexion dd {
	margin: 0 0 0 80px;
}

div#menu_connexion a.home {
    width:50px !important;
}

div#menu_connexion a.home img {
    width:30% !important;
    color: white;
}

div#menu_connexion a.menu-item {
    width:125px;
    cursor:pointer;
    text-transform:capitalize;
    text-decoration: none;
    float: right;
    text-align: center;
    padding:6px 0 6px 0;
    margin:0 0 0 10px;
    border: thin solid #fff;
    border-width: 1px;
    border-radius:4px;
    border-color: #fff;
    box-shadow:1px 1px 3px #333;
    font:bold 12px Arial;
    color:#fff;
    background-color: #5B5B5B;
}

div#menu_connexion a.menu-item:hover {
    background-color: #4F4F4F;
    color:#eee;
    border-color: #eee;
    outline-style:none;
}

div#menu_connexion a.menu-item:active {
    background-color: #4A4A4A;
    color:#ddd;
    border-color: #ddd;
}

div#menu_connexion select {
	width: 340px;
}
div#bandeau_information {
	padding: 5px 10px;
	background-color: #E1E1E1;
	color: #000000;
	font-size: 16px;
	text-align: center;
}
div#bandeau_information a {
	color: #000000;
	font-weight: bold;
}
div#menu_principal {
	padding: 10px;
	/*background-color: #848484;*/
	background-color: #5b5b5b;
}
div#menu_principal ul {
	margin: 0;
	padding: 0;
    display: inline-block;
    vertical-align: middle;
}
div#menu_principal ul li {
	display: inline-block;
	margin-right: 0.5em;
	padding: 0.3em 0.5em;
	border-radius: 2px;
	background: #D1D1D1;
	font-weight: bold;
}
div#menu_principal ul li a {
	color: #333333 !important;
	text-decoration: none;
}
div#menu_principal ul li:hover {
	/*background: #5B5B5B;*/
    background: #337ab7;
}
div#menu_principal ul li:hover a {
	color: #ffffff !important;
}
div#principal {
	padding: 10px;
    padding-bottom: 40px;
	background-color: white;
    min-height: 60%;
    font-size: 16px;
    color: var(--violet);
    font-family: var(--font-mulish);
}

.ui-accordion-content {
    font-size: 0.7em !important;
}

/*** FOOTER ***/
div#pied_de_page {
    font-family: var(--font-mulish);
    color: var(--blanc);
}

div#pied_de_page h3 {
    color: var(--blanc) !important;
}

div#pied_de_page a {
    display: block;
    margin-bottom: 15px;
    font-size: 14px;
    text-decoration: none;
    color: var(--blanc) !important;
}

div#pied_de_page a:hover,
div#pied_de_page a:active,
div#pied_de_page a:focus {
    color: var(--corail) !important;
}

div#pied_de_page div#footer-top {
    margin: 0;
    padding-top: 60px;
    background-color: var(--violet);
}

div#pied_de_page div#footer-top #footer-cap-metiers {
    text-align: center;
}

div#pied_de_page div#footer-top #footer-cap-metiers p {
    text-align: left;
    padding-left: 100px;
}

div#pied_de_page div#footer-top #footer-logo {
    max-width: 200px;
}

div#pied_de_page div#footer-top .footer-colonne {
    display: flex;
}

div#pied_de_page div#footer-top .footer-colonne h3 {
    padding-right: 15px;
    font-size: 14px !important;
    text-align: right;
    writing-mode: sideways-lr;
}
div#pied_de_page div#footer-top .footer-colonne > div {
    padding-left: 15px;
    border-left: .125rem solid;
}

div#pied_de_page div#footer-top #suivez-nous-container {
    display: flex;
    align-items: center;
}

div#pied_de_page div#footer-top #footer-trait {
    border-bottom: thin solid var(--blanc);
    width: 85px;
    margin-right: 15px;
}

div#pied_de_page div#footer-top #footer-suivez-nous {
    font-font: var(--font-mulish);
    font-size: 25px;
    width: 250px;
}
div#pied_de_page div#footer-top h5 a {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-right: 30px;
}

div#pied_de_page div#footer-top #reseaux-sociaux-container {
    display: flex;
    padding: 20px 0 5px 0;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 12.7px;
    margin-right: 26px;
}

div#pied_de_page div#footer-top #reseaux-sociaux-container a {
    display: flex;
    width: 30px;
    height: 30px;
    justify-content: flex-end;
    align-items: flex-start;

    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

/* Facebook */
#reseaux-sociaux-container .social-facebook {
    background-image: url('/img/social-facebook.png');
}

#reseaux-sociaux-container .social-facebook:hover,
#reseaux-sociaux-container .social-facebook:focus-visible {
    background-image: url('/img/social-facebook-hover.png');
}

/* Instagram */
#reseaux-sociaux-container .social-instagram {
    background-image: url('/img/social-instagram.png');
}

#reseaux-sociaux-container .social-instagram:hover,
#reseaux-sociaux-container .social-instagram:focus-visible {
    background-image: url('/img/social-instagram-hover.png');
}

/* LinkedIn */
#reseaux-sociaux-container .social-linkedin {
    background-image: url('/img/social-linkedin.png');
}

#reseaux-sociaux-container .social-linkedin:hover,
#reseaux-sociaux-container .social-linkedin:focus-visible {
    background-image: url('/img/social-linkedin-hover.png');
}

/* YouTube */
#reseaux-sociaux-container .social-youtube {
    background-image: url('/img/social-youtube.png');
}

#reseaux-sociaux-container .social-youtube:hover,
#reseaux-sociaux-container .social-youtube:focus-visible {
    background-image: url('/img/social-youtube-hover.png');
}


div#pied_de_page div#footer-top div.bloc-bordure-top {
    width: 45%;
    margin: auto;
    margin-top: 45px;
    border-top: thin solid var(--blanc);
}

div#pied_de_page div#footer-top div.bloc-bordure-top > a {
    display: inline-block;
    margin: 25px 25px;
    font-size: 18px;
}

div#pied_de_page div#footer-bottom {
    height: 150px;
    margin: 0;
    padding-top: 25px;
    background-color: var(--blanc);
}
/*** FIN FOOTER ***/



span.offre-info {
    margin-left: 107px;
}

h1 {
	color: #E64614;
	font-size: 1.8em;
}

input {
	display: block;
	margin-top:5px;
	margin-bottom:15px;
}

.erreur, .succes, .info, .message {
	margin-bottom: 0.8em;
	padding: 0.8em;
	border: 2px solid #ddd;
	border-radius: 5px;
}
.erreur {
	border-color: #FBC2C4;
	background: #FBE3E4;
	color: #8A1F11;
}
.succes {
	border-color: #C6D880;
	background: #E6EFC2;
	color: #264409;
}
.info {
    background-color: var(--violet-tres-clair);
	border-color: var(--violet);
	color: var(--violet);
}
.message {
    border-color: #5C3477;
    background-color: #FBF5FE;
    color: #41165D;
}
div.message a {
    color: #C41532;
}
div.message a:hover {
    color: #9F061E;
}

div.message-information {
    width: 95%;
    margin: 10px auto;
    padding: 1em;
    border: 2px solid #5C3477;
    border-radius: 4px;
    background-color: #FBF5FE;
    color: #41165D;
    font-size: 1.1em;
}

div.message-information a {
    color: #C41532;
}
div.message-information a:hover {
    color: #9F061E;
}

div.message-information span.date-publication {
    display: block;
    text-align: right;
    font-style: italic;
    font-size: 11px;
}

div.questionnaire {
    width: 70%;
    margin: 30px auto;
    margin-bottom: 15px;
    padding: 15px 40px;
    border: thin solid #2D114C;
    background-color: #EDE9F0;
    color: #2D114C;
    font-weight: bold;
    font-size: larger;
}
div.questionnaire a {
    margin-left: 60px;
}

th {
	color: #582111;
}

td.droite {
	text-align: right;
}
.nowrap {
	white-space: nowrap;
}
.flash{

	-webkit-animation: flash 1s ease-out;
	-moz-animation: flash 1s ease-out;

	-ms-animation: flash 1s ease-out;
	-webkit-animation-iteration-count: 1;
	-moz-animation-iteration-count: 1;
	-ms-animation-iteration-count: 1;
}
@-webkit-keyframes flash {
	0% { background-color:none;}
	50% { background-color:#fbf8b2;}
	100% {background-color:none;}
}
@-moz-keyframes flash {
	0% { background-color:none;}
	50% { background-color:#fbf8b2;}
	100% {background-color:none;}
}
@-ms-keyframes flash {
	0% { background-color:none;}
	50% { background-color:#fbf8b2;}
	100% {background-color:none;}
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    overflow: hidden;
    border: 0;
    background-color: transparent;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    display: block;
    width: 0;
    height: 100%;
    content: "";
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    position: absolute;
    overflow: hidden;
    clip: rect(0 0 0 0);
    margin: -1px;
    padding: 0;
    width: 1px;
    height: 1px;
    border: 0;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    position: static;
    overflow: visible;
    clip: auto;
    margin: 0;
    width: auto;
    height: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

/*.invisible {
    visibility: hidden;
}*/

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    display: table; /* 2 */
    content: " "; /* 1 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        box-shadow:none !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        text-shadow: none !important;
        /*background: transparent !important;*/
		background-color: transparent !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

/**
    Style of the mass treatment button
*/
.DTTT_container #mass_treatment {
    margin-right: 20px;
    text-decoration: none;
}


/**********************************************************************************
*
*                                CSS WITH BOOTSTRAP                               *
*
***********************************************************************************/

body {
    background-color: #5B5B5B!important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    font-family: var(--font-mulish) !important;
    color: var(--violet) !important;
}

/*
* {
    -webkit-box-sizing: inherit !important;
}
*/
button, input, optgroup, select, textarea {
    color: var(--violet);
}

@media print {
    a[href]:after {
        content: none !important;
    }
}

#icon-recherche {
    background: none !important;
}

#icon-recherche i {
    color: white;
    font-size: 1.8em;
    line-height: 14px;
}

#icon-recherche:hover {
    background: none !important;
}

#icon-recherche:hover i {
    color: #337ab7;
    text-shadow:
            -1px -1px 0 white,
            1px -1px 0 white,
            -1px 1px 0 white,
            1px 1px 0 white;
}