/* 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;*/
}
/*div#conteneur {
	margin:0 auto;
	width: 960px;
	background-color: #B09B93;
}*/
/*div#en_tete {
	padding: 10px 340px 10px 10px;
	height: 65px;
	background: #ffffff url('../img/logo_acm.png') no-repeat;
	background-position: right 30px top 10px;
	color: #333333;
	text-align: center;
	font-weight: bold;
	font-size: 32px;
	line-height: 65px;
}*/

#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%; /* 09/2016 : cotillard sebastien, arriere plan deplace dans certain cas, probleme solved  */
}
div#pied_de_page {
	clear: both;
	padding: 20px 10px;
	background-color: #4E4751;
    color: #ffffff;
}

div#pied_de_page a {
    text-decoration: none;
    color: #F68A9B;
}

div#pied_de_page a:hover,
div#pied_de_page a:active,
div#pied_de_page a:focus {
    color: #F1677D;
}

div#pied_de_page span.pipe {
    margin: 0 5px;
}

div#pied_de_page img#logo-financeurs {
    max-width: 250px;
    margin-top: 25px;
}

span.offre-info {
    margin-left: 210px;
}


#besoin-d-aide {
    display: block;
    width: 200px;
    height: 40px;
    line-height: 15px;
    margin: auto;
    margin-top: -39px;
    padding-top: 13px;
    color: #FFF !important;
    background: #C48090 0% 0% no-repeat padding-box;
    border-radius: 39px;
    opacity: 1;
    font-family: Century Gothic;
    font-weight: bold;
}

#besoin-d-aide:hover {
    background-color: #A45467;
    padding-top: 5px;
}

h1 {
	color: #E64614;
	font-size: 1.8em;
}

/*a:link, a:visited {
	color:#582111;
	text-decoration:underline;
}*/
a:focus, a:hover {
	text-decoration: none;
}
input {
	display: block;
	margin-top:5px;
	margin-bottom:15px;
}
/*button {
	position:relative;
	height: 26px;
	margin-right: 10px;
	padding: 3px 9px 3px 26px;
	border: 2px solid #B09B93;
	border-radius: 5px;
	background-color: #C9BDB8;
	background-position: 5px;
	background-repeat: no-repeat;
	box-shadow: 1px 1px 3px #ccc;
	color: #582111;
	font-size: 12px;
	font-weight: bold;
	outline: 0;
}*/
button:before {
	position:absolute;
	display: inline-block;
	width: 14px;
	height: 14px;
	font-family: FontAwesome;
	font-size: 14px;
	font-weight: normal;
	top:4px;
	left:7px;
}
/*button:hover {
	border: 2px solid #582111;
	background-color: #582111;
	box-shadow: 1px 1px 3px #999;
	color:#ffffff;
}*/
button[disabled],
button[disabled]:hover
button[disabled]:active {
	border: 2px solid #dedede;
	background-color: #f5f5f5;
	color: #888;
	cursor: default;
}
/* surlignage bleu pour les boutons classiques (classe standard) */
button.standard:hover {
	border: 2px solid #c2e1ef;
	background-color: #dff4ff;
	color:#336699;
}
/* surlignage rouge pour les boutons "destructifs" (classe negatif) */
button.negatif:hover {
	border: 2px solid #fbc2c4;
	background-color: #fbe3e4;
	color:#d12f19;
}
/* surlignage rouge pour les boutons de validation (classe positif) */
button.positif:hover {
	border: 2px solid #c6d880;
	background-color: #e6efc2;
	color:#529214;
}
.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 {
	border-color: #92cae4;
	/*background: #d5edf8;*/
	color: #205791;
}
.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.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,
th {
	padding:5px;
	border:1px solid #B09B93;
}*/
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: transparent !important;*/
    background-color: #5B5B5B!important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    font-family: sans-serif !important;
    color: #222 !important;
}

/*
* {
    -webkit-box-sizing: inherit !important;
}
*/
button, input, optgroup, select, textarea {
    color: initial !important;
}

@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;
}