


/**
** Spécification du container sur le header pour forcer la mise en page horizontale a 100%
*/
head-container {
    padding-left: 10px;
    width: 100%;
}

/**
** Classe de personnalisation du corps de la page
**/
body {
    background-color: #f5f5f5;
}

/**
** Classe de personnalisation du formulaire de connexion
**/

.pageContent {
    padding-top: 60px;
}
#pageFooter {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #f5f5f5;
}
/* ============================= BARRE DE NAVIGATION ========================================= */

/** Classe de base de la barre de navigation
**  Spécification : Couleur du fond
*/
.navbar {
 padding-top: 0px;
 margin-bottom: 0px;
 background-color: rgb(186, 82, 147);
}
.navbar-default, .navbar-nav>li>ul.dropdown-menu {
    background-color: rgb(186, 82, 147);
}

/**
**  Classe de spécification pour appliquer la couleur blanche au texte de la barre de navigation.
*/

.navbar-default .navbar-nav>li>a, .navbar-nav>li>ul.dropdown-menu>li>a {
     color: white;
     line-height: 26px;
     white-space: nowrap;
}
.navbar-default .navbar-brand {
    color: white;

}
.navbar-default .navbar-brand:hover {
    color: white;
}
.navbar-default .navbar-brand:focus {
    color: white;
}

.navbar-default .navbar-nav>li>a:hover, .navbar-default .navbar-nav>li>ul.dropdown-menu a:hover  {
	color: black;
	background-color: rgb(211, 159, 193);
}
.navbar-default .navbar-nav>li>a:focus, .navbar-default .navbar-nav>li>ul.dropdown-menu a:focus  {
	color: black;
	background-color: rgb(211, 159, 193);
}
.navbar-default .navbar-nav>li>a:active, .navbar-default .navbar-nav>li>ul.dropdown-menu a:active  {
    color: black;
    background-color: rgb(211, 159, 193);
}
.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:hover,
.navbar-default .navbar-nav>.active .dropdown-menu>.active>a, 
.navbar-default .navbar-nav>.active .dropdown-menu>.active>a:focus, 
.navbar-default .navbar-nav>.active .dropdown-menu>.active>a:hover,
.navbar-default .navbar-nav>.open>a:focus, 
.navbar-default .navbar-nav>.open>a:hover {
    color: black;
    background-color: rgb(211, 159, 193);
}

/**
**  Classe de style pour l'affichage du logo ACPM dans la barre de navigation.
*/
.navbar-logo {
    background-image: url("../images/logo_ACPM_NB.png");
    background-size: cover;
    width: 67px;
    height: 45px;
    margin-left: 15px;
    margin-top: 5px;
    margin-bottom: 5px;

}

/**
**  Spécialisation de la classe bootstrap navbar-brand afin de forcer un espace entre le logo et le titre du projet
*/
.navbar-brand {
    padding: 15px 30px, 42px, 42px;
    padding-right: 42px;
 }

.nav>li {
    text-align: center;
}

/**
** Classe spéciale pour le bouton de déconnexion
*/
.custom-logout {
    text-align: center;
    padding-right: 15px;
}

/* =========================================================================================== */

/*
** Spécialisation de la classe btn-primary afin de lui spécifier une couleur
*/

/* Couleur de base du boutton */
.btn-secondary {
     background: rgb(186, 82, 147);
     border-color: rgb(211, 159, 193);
     color: white;
 }

/* Couleur lors de la séléction. Siyvebt ebtre l'appui sur le pointeur de le relachement de celui-ci*/
/*.btn-secondary:active {
     background-color: rgb(186, 82, 147);
     border-color: rgb(211, 159, 193);
 }

/* Couleur lorsque l'élément est activé par la souris ou séléctionner à l'aide du clavier */
.btn-secondary:focus {
    background: rgb(186, 82, 147);
    border-color: rgb(211, 159, 193);
}

/* Couleur lorsque l'élément est survoler par la souris */
.btn-secondary:hover {
    background-color: rgb(211, 159, 193);
    border-color: rgb(211, 159, 193);
}

/**
** Spécialisation du bouton de séléction de fichier sur l'onglet Upload
**/
.inputFile {
    display: none;
}


/*
** Spécification des colones et onlgets
*/

form .row {
    padding-top: 10px;
}

.form-flied-padding {
    padding-left: 10px;
    padding-right 10px;
}
/**
**  Classe de spécification pour le formulaire generique
**  Utilisé pour designer le formulaire d'envoie de fichier
**/
.form-narrow.form-adduser {
    max-width: none;
     border: none;
     padding: none;
 }

.form-narrow {
    //max-width: 490px;
    //min-height: 150px;
    min-height: 115px;
    padding: 0px 29px 0px;
    margin: 0px auto 8px;
    background-color: #fff;
    border: 1px solid #e5e5e5;
    -webkit-border-radius: 5px;
       -moz-border-radius: 5px;
            border-radius: 5px;
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.05);
       -moz-box-shadow: 0 1px 2px rgba(0,0,0,.05);
            box-shadow: 0 1px 2px rgba(0,0,0,.05);
}

#upload-form{
    text-align: left;
}

.legend {
    margin-bottom: 5px;
    width:100%;
}

/**
**  Classe design du formulaire de connexion
**/
.form-narrow-login {
        position: absolute;
        top: 80px;
        left: 10;
        right: 10;
        vertical-align: middle;
        text-align: center;
        max-width: 630px;
        padding: 15px 29px 29px;
        margin: 0 500px 20px;
        background-color: #fff;
        border: 1px solid #e5e5e5;
        -webkit-border-radius: 5px;
           -moz-border-radius: 5px;
                border-radius: 5px;
        -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.05);
           -moz-box-shadow: 0 1px 2px rgba(0,0,0,.05);
                box-shadow: 0 1px 2px rgba(0,0,0,.05);
}

.form-narrow-search {
       max-height: 700px;
       width: 100%;
       overflow-y: auto;
       overflow-x: none;
        padding: 19px 29px 19px;
        margin: 0 auto 20px;
        background-color: #fff;
        border: 1px solid #e5e5e5;
        -webkit-border-radius: 5px;
           -moz-border-radius: 5px;
                border-radius: 5px;
        -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.05);
           -moz-box-shadow: 0 1px 2px rgba(0,0,0,.05);
                box-shadow: 0 1px 2px rgba(0,0,0,.05);
}

.form-narrow-large {
   //max-height: 700px;
   min-height: 150px;
   overflow-y: auto;
   //overflow-x: auto;
   padding: 2px 15px 0px;
   margin: 0 auto 5px;
   background-color: #fff;
   border: 1px solid #e5e5e5;

   -webkit-border-radius: 5px;
   -moz-border-radius: 5px;
   border-radius: 5px;
   -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.05);
   -moz-box-shadow: 0 1px 2px rgba(0,0,0,.05);
   box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
.form-narrow-large legend {
    margin-bottom: 15px;
}
.form-dooh-inline {
    margin: 5px;
}


/**
**  Element graphique de positionnement dans lequel ce trouve le formulaire d'envoie de fichier.
*/

.div-upload {
    float: right;
    margin-right: 15px;
}

.form-inline table td {
    padding: 5px;
}

.table>thead>tr>td, .table>thead>tr>th, .table>thead>tr>th>div {
    text-align: center !important;
}

/**
**  Personnalisation de la classe d'affichage imbriquer des cellules de la liste afin de reduire et aligner le texte dans chaque ligne.
*/
.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th {
    padding: 1px;
    text-align: center;
    vertical-align: middle;
}

/**
**  Modification de la position des éléments dans le bloc de recherche. (Espacement des labels et des champs d'input)
**/

.dooh-search-bar {
    cursor: pointer;
}

.dooh-legend {
    text-align: left;
}
/*
** Modification de la classe row afin d'ajouter 15 pixels en marge au dessous du texte.
*/
.row-list {
    padding-bottom:15px;

}

.padding-top-6{
    padding-top:5px;
}

.dooh-login {
    margin: auto;
    width: 50%;
    height: 50%;
    border: 3px solid black;
    padding: 10px;
}

/**
**  Création d'une balise d'espacement pour la légende
**/

.espace{
  margin-left:2em
}

/**
** Creation d'une classe d'espacement pour la mise ne forme des champs de recherche de la page campagnes
*/
.campagnes-espacement {

}

/**
** Definition du CSS d'affichage de la zone de Drag & Drop
*/

.draggableArea {
    text-align: center;
    border: 1px solid #2d2727;
    border-style: dashed;
    border-radius: 12px;
    height: 120px;
    cursor: pointer;

}

/**
**  Suppression de l'affichage initial du module Dropzone.js
**/
.dz-preview {
    visibility:hidden;
    display:none;
}

.dz-file-preview {
    visibility:hidden;
    display:none;
}

/*
** Definition de l'élément d'envoie ou draggable zone
*/
.dz-default {
    height: 120px;
}

/**
**  Classes de personnalisation infobulles
**/
a {
    color:rgb(186, 82, 147);
    z-index: 1;
}

a:hover, a:focus {
    color: rgb(186, 82, 147);
    z-index: 1;
}

a.info span, a.info-right span {
	position:absolute;
	margin-top:23px;
	color:black; /* Couleur du texte */
    background-color:rgb(186, 82, 147);
    padding:15px;
    border-radius:3px;
    box-shadow:0 0 2px rgba(0,0,0,.5);
	transform:scale(0) rotate(-12deg);
	transition:all .25s;
	font-size: 15px;
	display: block;
	z-index: 1;
}

a.info span {
    margin-left:-35px;
}
a.info-right span {
    margin-left:-500px;
}

// Icon i infobulles
a.info:hover, a.info:focus {
	color:rgb(186, 82, 147);
    box-shadow:0 1px 0 rgba(255,255,255);
    z-index: 1;
}
a.info:hover span, a.info:focus span, a.info-right:hover span, a.info-right:focus span {
    transform:scale(1) rotate(0);
    white-space: pre;
    z-index: 1;
}

/* ============================= PANNEAU DE CONTROLE ========================================= */

.panel {
    // max-height: 700px;
    overflow-y: auto;
    overflow-x: hidden;
}

.column-fix-width{
    width: 350px;
}

.panel-heading-style{
    background-color: linear-gradient(to bottom,#2e6da4 0,#337ab7 100%);
    border-bottom-radius: 20px;
}

.panel-default>.panel-heading {
    background-color: rgb(186, 82, 147);
}

.title-white {
    color: white;
}
span.production-percentage{
    width:100%;
    text-align:center;
}
.progress-bar-dooh{
    height: 8px;
    margin-bottom: 0px;
    border-radius: 0px;
}
.progress-bar-dooh > div{
    height: 8px;
}
.progress-time{
    height:10px; 
    overflow: hidden; 
    border-top: 1px dotted black; 
    margin-top: 10px;
}
.progress-time > div {
    height:10px; 
    text-align: right;
}
.progress-time > div > span {
    top: -6px; 
    font-size: 10px
}
.ptime-success {
    color:black;
}
.ptime-warning {
    color:black;
}
.ptime-danger {
    color:#d9534f;
}

td.floatRight button, td.floatRight div {
   margin-top: 4px;
   margin-bottom: 4px;
   margin-right: 4px;
}

#legendeButton{
   margin-top: 4px;
}

/**
**/

.custom-file-input::-webkit-file-upload-button {
  visibility: hidden;
}

.custom-file-input::before {
  content: 'Sélectionner des fichiers';
  display: inline-block;
  background: rgb(186, 82, 147);
  color: white;
  border: 1px solid #999;
  border-radius: 3px;
  padding: 5px 8px;
  outline: none;
  white-space: nowrap;
  -webkit-user-select: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 10pt;
}

.custom-file-input:hover::before {
  border-color: pink;
}
.custom-file-input:active::before {
  background: rgb(211, 159, 193);
  /**-webkit-linear-gradient(top, #e3e3e3, #f9f9f9);*/
}

input[type=file] {
    display: block;
    color: transparent;
}

.label-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.campaign-search-input {
    margin-left: 5px;
    margin-right: 5px;
    vertical-align: text-top;
}

/** dropdown legend */
#legend-table{
    width: 100%;
}

.floatRight{
    float: right;
}

.floatLeft{
    float: left;
}


#legend-ul-campaigns{
    width: 600px;
}

#legend-ul-certifications{
    width: 500px;
}

#legend-ul-upload{
    width: 900px;
}

/***/

.padding-bottom0{
    padding-bottom: 0px;
}

.padding-top0{
    padding-top: 0px;
}

.glyphicon.glyphicon-inbox {
    color:#337ab7;
}
.glyphicon.glyphicon-cog {
    color:#337ab7;
}
.glyphicon.glyphicon-ok {
    color:green;
}
.glyphicon.glyphicon-pause {
    color:#b7325e;
}
.glyphicon.glyphicon-remove {
    color:#b7325e;
}
.glyphicon.glyphicon-floppy-remove {
    color:#b7325e;
}
.glyphicon.glyphicon-download {
    color:#337ab7;
}
.glyphicon.glyphicon-file {
    color:#337ab7;
}
.glyphicon.glyphicon-retweet {
    color:#337ab7;
}
.glyphicon.glyphicon-stop {
    color:#337ab7;
}
.glyphicon-eye-open {
    color:#337ab7;
}
.glyphicon.glyphicon-hourglass {
    color:orange;
}

.glyphicon.glyphicon-flag {
   color:#337ab7;
}

#upDiv a.btn.btn-link, #upDiv a.btn.btn-link i, button.btn.btn-link, #upDiv button.btn.btn-link i {
    padding: 4px 2px;
}

/* surbrillance des fichiers rejetés / bloqués */
tr.table.dooh-table.alert-line td, .monitoringContainer table tr.alert-line td {
    background-color : #f79978;
}

/* surbrillance des agences labellisées*/
tr.table.dooh-table.success-line td{
    background-color : #dff0d8;
}

#nbFilesCampaign{
font-size:15px;
color:#999;
}

/* pour gérer le survol du curseur sur les lignes du tableau de campagnes*/
#campaignBody tr.showCursor:hover{
    cursor:pointer;
}

#campaignTable tr.active td{
    background: #eaeaea;
}

.isLabellized {
    font-weight: bold;
    text-decoration: none;
    position: relative;
    display: block;
    width: 100%;
}

.isLabellized:hover:after {
    content: "Régie labellisée";
    /*content: attr(title);*/
    padding: 2px;
    position: absolute;
    text-align: center;
    background-color: rgb(186, 82, 147);
    color: #fff;
    border: 1px solid #d4b943;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    -ms-border-radius: 2px;
    border-radius: 2px;
    width:100%;
    top:24px;
    z-index: 1;
}
.labelIcon{
    background-image: url("../images/label_icon.png");
    background-repeat: no-repeat;
    width: 18px;
    height: 25px;
    margin: auto;
    position: absolute;
    bottom:0px;
    right:35px;
}
.fix-multiselect{
    top: unset;
    left: unset;
}

/* classe pour les icônes */
.status-B-d{
    background-image: url("../images/status_B_d.png");
    background-repeat: no-repeat;
    width:36px;
    height:25px;
    margin: auto;
}
.status-E-d{
    background-image: url("../images/status_E_d.png");
    background-repeat: no-repeat;
    width:36px;
    height:25px;
    margin: auto;
}
.status-Eover-d{
    background-image: url("../images/status_Eover_d.png");
    background-repeat: no-repeat;
    width:35px;
    height:25px;
    margin: auto;
}
.status-I-d{
    background-image: url("../images/status_I_d.png");
    background-repeat: no-repeat;
    width:36px;
    height:25px;
    margin: auto;
}
.status-V-d{
    background-image: url("../images/status_V_d.png");
    background-repeat: no-repeat;
    width:34px;
    height:25px;
    margin: auto;
}
.edit-e{
    background-image: url("../images/edit_enabled.png");
    background-repeat: no-repeat;
    width:20px;
    height:20px;
    margin: auto;
}
.edit-d{
    background-image: url("../images/edit_disabled.png");
    background-repeat: no-repeat;
    width:20px;
    height:20px;
    margin: auto;
}
.deleteCampaign{
    background-image: url("../images/bin.png");
    background-repeat: no-repeat;
    width:17px;
    height:20px;
    margin: auto;
}
tr.deleted{
    text-decoration: line-through;
    pointer-events: none;
    background-color: #f79978 !important;
}

.mail-btn{
    background-repeat: no-repeat;
    width:27px;
    height:21px;
    margin: auto;
    position:absolute;
    bottom:0;
    right:0;
}
.mail-default-btn:hover {
    background-image: url("../images/mail_btn.png");
}
.mail-default-btn {
    background-image: url("../images/mail_btn_default.png");
}
.mail-sent-btn{
    background-image: url("../images/mail_sent_btn.png");
}

.details-btn, .details-btn-user{
    background-image: url("../images/details_btn_disabled.png");
    background-repeat: no-repeat;
    width:20px;
    height:20px;
    margin: auto;
}

.details-btn{
    background-image: url("../images/details_btn_disabled.png");
}

.details-btn-user{
    background-image: url("../images/details_btn_user.png");
}

.details-btn:hover, .details-btn-user:hover{
    background-image: url("../images/details_btn.png");
    background-repeat: no-repeat;
    width:20px;
    height:20px;
    margin: auto;
}

.details-btn:hover{
    background-image: url("../images/details_btn.png");
}

.details-btn-user:hover{
    background-image: url("../images/details_btn_user_hover.png");
}

/* Légende avec les icônes Affitrack V3*/
#legendTableBody div{
    margin: 5px 0px;
    padding-left: 10px;
}
#legendTableBody tr td{
    text-align: left;
    padding-left: 10px;
}

.actions-menu div {
    border-color: #fff;
}
.actions-menu ul {
    right: 50px;
    left: auto;
    top: -6px;
    min-width: 50px;
    min-height:40px;
    margin-right:20px;
    padding:5px 10px;
}
.actions-menu li {
    white-space: nowrap;
    text-align:center;
}

.actions-menu li span {
    margin-left:5px;
    margin-right:5px;
    margin-top:5px;
    border-color: #fff;
}
.actions-menu li div.btn {
    margin-left:5px;
    margin-right:5px;
    display: inline-block;
}

.buttonDiv, .buttonMediaOwnerDiv {
    position:relative;
    height: 100%;
    width: 100%;
}
.buttonDiv div:first-child {
    margin-right:30px;
    word-wrap: break-word;
}
.buttonMediaOwnerDiv div:first-child {
    margin-right:60px;
    width:110px;
}

/* Pop-up d'envoi du bilan mensuel */
.monthlyReportsRow {
    display: flex;
}
.monthlyReportsColumn {
    flex: 50%;
    padding:10px 50px;
}
.tableFixedHead {
    overflow-y: auto;
    height: 400px;
    width: 220px;
}
.tableFixedHead th{
    position: sticky;
    top:0;
    background:#fff;
}
div.tab-pane .title {
    margin-top: 15px;
}
.displayPdf{
    background-image: url("../images/display_PDF.png");
    background-repeat: no-repeat;
    width:15px;
    height:17px;
    margin:auto;
}
.disabledTab{
    pointer-events: none;
}
.monthlyReportDiv{
    margin-left:4px;
    padding:10px;
}
.monthlyReportsButtons button {
    margin: 10px;
}
#sendMonthlyReports-modal .modal-header button {
    display: none;
}
#sendMonthlyReports-modal .modal-dialog {
    width:75% !important;
}
.monthlyReportsColumn textarea{
    width: 100%;
    min-width: 400px;
    max-width: 800px;

    height: 400px;
    min-height: 300px;
    max-height: 500px;
}
td.companiesReport {
    text-align: left !important;
    padding-left: 5px !important;
    text-overflow: ellipsis;
    overflow:hidden;
    white-space: nowrap;
    max-width: 500px;
    width:200px;
}
td.companiesReport.companiesKO {
    max-width: 100%;
    width:100%;
}
#companiesKO {
    table-layout: fixed;
}

.certificationForm{
    align:center;
    padding-bottom:5px;
}

/* Ecran Statistiques*/
.statNotCounted{
    background-color:#e5e5e5;
}
.statsButtons {
    height:70px;
    display:flex;
    padding: 10px 0;
}
.statsButtons button {
    margin: auto 5px;
}
.navLabels {
    margin: auto 5px;
    font-size: 18px;
}
#mediaOwnerDiffTable tbody>tr>:nth-child(2), table.totalTable tbody>tr:last-child>td{
    font-weight: bold;
}

/* Icônes des commentaires */
.empty_comment{
    background-image: url("../images/empty_comment.png");
    background-repeat: no-repeat;
    width:20px;
    height:20px;
    margin: auto;
}
.existing_comment{
    background-image: url("../images/existing_comment.png");
    background-repeat: no-repeat;
    width:20px;
    height:22px;
    margin: auto;
}
.popover.cnote{
    max-width: 400px;
    width: 400px;
    height: 320px;
}
.popover-content.cnote{
    width: 100%;
    height: 100%;
    resize: none;
    overflow: hidden;
}

.deleteCommentTemplate{
    margin-right : 5px;
}

#comment-modal .modal-header button {
    display: none;
}


#statsListDiv th div.th-inner{
    text-align:center;
}

#campaignBody td span.alert, #detailTable td.alertMax{
    color:red;
}

#campaignDetail{
    padding: 20px;
}


#agencyDataForm{
    margin-top:30px;
    padding-top:10px;
    padding-bottom:10px;
}

#agencyDataFormDiv{
    padding:10px;
}

.agency-form-input, .agency-form-large-input {
    margin-bottom: 15px !important;
    margin-left: 5px;
    margin-right: 5px;
    vertical-align: top !important;
}

.agency-form-large-input {
    width: 40%;
}

div.agency-form_input label{
    margin-right: 10px;
}

#agencyDataForm span.help-block{
    max-width: 130px;
}

.agency-form-center-block {
    margin:auto;
    width: fit-content;
}

.edit-input {
    margin: 5px;
}

.contract-id-regex-list{
    background-image: url("../images/contract_id_regex_list.png");
    background-repeat: no-repeat;
    width: 729px;
    height: 378px;
    margin: auto;
}

.regex-uploadPage{
    margin-top: 120px;
}

.contract-id-help{
    border: 2px solid black;
    width: max-content;
    margin: auto;
}

.contract-id-help span{
    font-weight: bold;
    font-color: black;
    font-size: 13px;
    margin: 3px;
}

/* Bloc de recherche */
#searchCampaignForm{
    padding: 5px 29px;
}
#controlFiltersDiv{
    margin-top: 5px;
}
#controlFiltersDiv div legend{
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}
#controlFiltersDiv > div > label, #controlFiltersDiv > div > input{
    cursor: pointer;
}

#searchDisplayDiv{
    width: 10%;
    height: 16px;
    margin-top: 10px;
    float: left;
}
.search-display-btn{
    background-image: url("../images/down_chevron_grey.png");
    background-repeat: no-repeat;
    width: 30px;
    height: 16px;
    margin: auto;
    display: block;
}
.search-display-btn hover{
    background-image: url("../images/down_chevron_blue.png");
}

.search-hide-btn{
    background-image: url("../images/up_chevron_grey.png");
    background-repeat: no-repeat;
    width: 30px;
    height: 16px;
    margin: auto;
    display: block;
}
.search-hide-btn hover{
    background-image: url("../images/up_chevron_blue.png");
}

.unknownAgency {
    background-color: #eeeeee;
}

#campaignHourlyDetail {
    padding-top: 5px;
    padding-bottom: 5px;
}

#closeCampaignHourlyDetail {
    margin: 10px;
}

.highlightedDate {
  color: #000000;
  background-color: #ffdb99;
  border-color: #ffb733;
  border-radius: 0 !important;
}

.boldDate {
    font-weight: 800;
}