/* Add here all your css styles (customizations) */
::-moz-selection {
  color: #000;
  background-color: #ddd;
}

::selection {
  color: #000;
  background-color: #ddd;
}
 input[type="date"]:before {
    content: attr(placeholder) !important;
    color: #aaa;
    margin-right: 0.5em;
  }
  input[type="date"]:focus:before,
  input[type="date"]:valid:before {
    content: "";
  }
.icone-pdf{
	color: #af0001;
}

.icone-word{
	color: #2A5699;
}

.icone-excel{
	color: #217346;
}
.g-color-red{
  color: #C55656 !important;
}

.g-color-main{
  color: #2E3C56 !important;
}

.u-btn-primary {
    color: #fff;
    background-color: #2E3C56;
}
.u-btn-primary:hover {
    
    border-color: #576377;
    background-color: #576377;
}
.g-color-lightblue-v3{
  color: #275ba3 !important;
}
.g-bg-lightblue-v3 {
    background-color: #275ba3 !important;
}

.g-bg-gray{
	background: #F0F0F0;
}

.u-btn-red {
    color: #fff;
    background-color: #C55656 !important;
}

.hidden{
	display: none;
}

.shown{
	display: block
}

.u-btn-red:hover {
    border-color: #D07777;
    background-color: #D07777 !important;
}
.note-toolbar{
	z-index: 1;
}
.u-btn-info{
  background-color: #275ba3
}
#statut-menu{
  right: auto !important;
  left: auto !important;
  top: auto !important;
  font-size: 13px;
  padding: 0;
}
#statut-menu li.menu-separator,#statut-menu li{
  margin: 0!important
}

/* modal styles */

#myModal .modal-dialog {
  position:absolute;
  top:50% !important;
  transform: translate(0, -50%) !important;
  -ms-transform: translate(0, -50%) !important;
  -webkit-transform: translate(0, -50%) !important;
  margin:auto 20%;
  width:90%;
  height:90%;
}
#myModal  .modal-content {
  min-height:100%;
  position:absolute;
  top:0;
  bottom:0;
  left:0;
  right:0; 
}
#myModal  .modal-body {
  position:absolute;
  top:45px; /** height of header **/
  bottom:45px;  /** height of footer **/
  left:0;
  right:0;
  overflow-y:auto;
}
#myModal  .modal-footer {
  position:absolute;
  bottom:0;
  left:0;
  right:0;
}
.modal_doc{
    height: 91.91px;
}

.srubriques .items a{
    display: inline-block;
    /*min-height: 60px;*/word-wrap: break-word;
}
.srubriques .items a:hover{
    background: #F5F9F9;
    text-decoration: none;
}
.srubriques .items:nth-child(n+5){
    border: 1px solid #e1eaea;
    border-right: 0px;
    border-top: 0px;
}

.srubriques .items:nth-child(1),.srubriques .items:nth-child(2),
.srubriques .items:nth-child(3){

    border: 1px solid #e1eaea;
    border-right: 0px;
}
.srubriques .items:nth-child(4){

    border: 1px solid #e1eaea;
}

.srubriques .items:last-child{  
    border-right: 1px solid #e1eaea;
}

/* datatables custom */

.table{
  width: 100% !important;
}

.paginate_button a{
  margin-right: 8px;
  border-radius: 4px !important;
  color: #555;
  border-color: #e1eaea !important;
  padding-top: 0.57143rem !important;
  padding-bottom: 0.57143rem !important;
  padding-left: 1.07143rem !important;
  padding-right: 1.07143rem !important;

  display: inline-block;
  text-align: center;
  text-decoration: none;
  border: solid 1px transparent;
      border-top-color: transparent;
      border-right-color: transparent;
      border-bottom-color: transparent;
      border-left-color: transparent;
  transition: all .3s ease;
}
.paginate_button.active a {
  background-color: #275ba3 !important;
  border-color: #275ba3 !important;
  color: #fff;
  z-index: 1;
}
.paginate_button.active a:hover{
  color: #fff !important
}

.paginate_button a:hover{
  border: 1px solid #275ba3 !important;
  color: #e62154
}
.dataTables_filter{
  float: right
}

.dataTables_length{
  float: left;
}

.dataTables_filter input{
  border-radius: 20px !important;
  padding-left: 15px;
  
}

.dt-buttons a{
  border: 1px solid #ddd;
  padding: 8px 10px;
  color: #275ba3;
  /*font-weight: 700*/
}

.dataTables_wrapper .row{
  width: 100%;
  padding-bottom: 15px;
  margin-left: 13px;
}
.dataTables_wrapper .row .col-sm-4{
  padding-left: 0px;
}

.table{
  margin-bottom: 15px;
}

.dataTables_length label,.dataTables_filter label{
  font-weight: 300
}

.dataTables_length, .dataTables_filter, .dataTables_info, .dataTables_paginate{
  display: block;
}

/* end datatables custom */

#profileMenu{
  min-width: 180px;
}


.s_art_links .paginate_button a,.s_rub_links .paginate_button a,
.s_doc_links .paginate_button a,.s_mot_links .paginate_button a,
.s_grp_links .paginate_button a,.s_aut_links .paginate_button a{
    padding: 5px 8px !important;
}

#newsletterform{
  margin-left: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  margin: 6px auto 0;
  margin-left: auto;
}

.badge-success {
  background-color: #28a745 !important;
}

.badge-danger {
  background-color: red !important;
}
