/* MEDIA Q*/
@media ( max-width : 992px) {

  #panelStatPAV .pull-right a{
    /*width: 50%;*/
    display:inline-block;
    text-decoration: none;
  }
  #panelStatPAV .panel-title.with-actions .pull-right {
    margin: 0px 10px 10px 10px!important;
  }
  #panelStatPAV .pull-right a > .badge {
    display: block;
  }

  #panelStatPAV .title, #panelStatPAV .pull-right {
    display: block;
    float: none!important;

  }
  #panelStatPAV .panel-title:before {
    left:0;
    right: 0;
    top:0;
    width:100%;
    height:4px;
  }

  #panelStatPAV.panel-default > .panel-heading .panel-heading-color {
    border:none;
    margin-right:10px;
  }
  #panelStatPAV.panel-default .panel-title .title {
    margin-top:0;
    padding-top: 12px;
  }

  /*#panelStatPAV .pull-right {
    text-align: center;
  }*/

  .nopadding-xs {
    padding: 0!important;
  }

  .dataTables_wrapper .input-sm {
    line-height: 100%;
  }

  .nav-tab .check-coche, .nav-tab .check-coche .btn {
    width: 100%;
    background-color: #f0f4f5;
    margin-top: 1px;
    border-left:none;
  }


  .text-center-xs {
    text-align: center
  }
  .radio .custom-checkbox, .radio .custom-radio {
    margin: 0 0 0 0;
  }

  .fixed-body {
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
  }
  .form-control {
      width: 100%;
      margin: 0;
  }
  .nav-tab #js-liste-valeur-filtre {
    min-width: 100%
  }
  div.dataTables_wrapper div.dataTables_info {
    padding: 8px;
  }

}

@media (min-width:768px) and (max-width:1024px) and (orientation:landscape) {

}

@media  (min-width: 990px) and (max-width: 1024px) and (orientation:landscape) {
/* Styles pour cette Media Queries */

  .fixed-body {
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
  }

}

@media ( min-width : 768px) {
  .nopdlr-sm {
    padding-right: 0;
    padding-left: 0;
  }

  .modal-lg, .modal-md-static {
    width: auto;
  }

  .modal-lg {
    margin: 30px;
  }

  .modal-md-static {
    margin: 30px 84px;
  }
}

@media ( min-width : 992px) {
  #forceLogin {
    margin-top: 109px;
  }

  #panelStatPAV .pull-right a {
    transition: .3s all ease;
  }



  a .badge-pav i {
    width: 0;
    height: 0;
    overflow:hidden;
    display: inline-flex;
    transition: .3s all ease;
  }
  a:hover .badge-pav i, a:focus .badge-pav i {
    width: auto;
    height: auto;
    overflow:visible;
  }

}

@media (max-width: 480px) {
  .dataTables_info {
    font-size: 10px;
  }
  .col-xs-3.js-filtreanomalie-container {
    padding-left: 5px;
    padding-right:5px;
  }
  .btn.js-filtre-anomalie-toggle.btn-md {
    width: 30px;
    height: 30px;
  }
  #panelStatPAV .panel-title.with-actions .pull-right a {
    width: 100%;
    display:block;
  }
  #panelStatPAV .panel-title.with-actions div.pull-right {
        margin: 0px auto!important;
        width:95%;
  }
  .btn.js-filtre-anomalie-toggle.btn-md .material-icons {
    font-size: 16px;
    vertical-align: top;
  }
  fieldset .h2, h2 {
    font-size: 119%;
  }
  #logoLogin img {
      /* width: 25%; */
      max-width: 100%;
    }
    #topnav-badge i {
      font-size: 25px;
  }
  #topnav-badge .badge {
      font-size: 12px!important;
      padding: 4px 4px!important;
  }
  #topnav-badge {
      left: 20px;
      top: 45px;

  }

}
@media(max-width: 1500px) {
  .panel-default>.panel-heading .badge {
   padding: 3px 7px;
  }
}

@media ( min-width : 992px) and (max-width: 1300px) {
  #filtrePAV .panel.only-actions .panel-body a {
    float: none;
    display:block;
    width:100%;
  }
  #filtrePAV .panel.only-actions .panel-body a:last-child {
    margin-top:10px;
  }
}

@media ( max-width :768px) {

  #filtrePAV > .row-fluid > .col-md-12 {
    padding: 15px;
  }

  .dropdown-menu {
    left: 0;
  }

  .panel-footer {
    padding: 0px 15px 15px;
  }

  .nopd-xs {
    padding-left: 0!important;
    padding-right: 0!important;
  }

  .table>tbody>tr>td, .table>tbody>tr>th {
    display:block;
    text-align:left;
    width:100%;
    padding: 5px 10px!important;
  }

  #headingFicheCollectivite .pull-right {
    float: none!important;
    width: 100%;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
  }

  #headingFicheCollectivite .pull-right .btn.ml-15 {
    margin-left: 0!important;
  }
  .panel-title.with-actions .pull-right a + a , .panel-title.with-actions .pull-right .btn + .btn {
    margin-top:  10px;
  }

  #headingFicheCollectivite .pull-right a {
    margin:  0;
  }

  #modal-email-collectivite-destinataires .form-field br {
    display: none;
  }
  #modal-email-collectivite-destinataires .form-field .inline-checkbox {
    display: block;
  }
  #modal-email-collectivite-destinataires .form-field .inline-checkbox.ml-15 {
    margin-left: 0px!important;
  }

  .btn.js-filtre-anomalie-toggle {
    margin:  0 auto;
  }
  .panel-title.with-actions .pull-right button.btn, .panel-title.with-actions .pull-right a.btn {
    display: block;
    width: 100%;
  }

  .inline-checkbox {
    display: block;
  }
  .inline-checkbox.ml-15 {
     margin-left: 0px!important;
  }

  .tpl_login #content-wrapper {
    margin-top: 10px;
  }
    .form-control {
      width: 100%;
      margin: 0;
  }

  #filtrePAV .panel-title:before {
    left:  0;
    width: 100%;
    height: 3px;
    right: 0;
    top: 0;
  }
  .panel-title.with-actions .pull-right {
    /* padding-left: 15px;
    padding-right:15px; */
  }

  .nav-sub .btn {
  	margin:  5px 0px;
  }

  .nav-sub .btn.nobadge {
  	width: 100%;
  }

  .navbar-left {
    float: left;
    margin: 10px -15px;
}

  .dropdown-menu {
    min-width: 100%;
  }

  .dropdown .caret {
    position: absolute;
    right: 15px;
    top: 15px;
  }

  .modal-footer .btn+.btn {
      margin-left: 0px;
  }

  .tpl_portefeuille .panel-footer > * {
    width: 100%;
  }

  #topnav .navbar-right {
    float: right;
    background: white;
    margin: 0 -20px 0px 0;
    /* padding: 0 0 10px 0; */
    padding: 10px 0;
  }

  #topnav-badge li {
      /* flex-grow: 6; */
      -ms-flex: 0 0 30%;
      flex: 0 0 30%;
  }

  #topnav .collapse {
    display: block;
  }

  /* .btn:not(.nobadge):not(.dropdown-toggle):not(#btnConfigurationFilInfo):not(#filtre) {
    width: 100%;
    display: block;
  } */

  .js-form-utilisateur .pull-right {
    float: initial!important;
  }

  .panel-heading.filtre .form-group {
      /*margin: 0 0px;*/
  }

  .navbar-nav>li>a {
    padding-bottom: 0;
    padding-top: 0;
  }

  .panel-title .icone-title {
    display: none;
  }
  .panel-title {
    /* border-left: 3px solid #A9584E; */
    padding: 10px 0px;
  }
  .panel-title .title {
    float: none;
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.6;
  }
  /* .panel-title .icone-title .material-icons{
    display: none;
  } */
  .row-eq-height {
    display: inherit;
  }
  table.dataTable>tbody>tr.child span.dtr-title {
    display: block;
    min-width: 100%;
    font-weight: bold;
  }
  .text-center-xs {
    text-align: center
  }
  .js-form-utilisateur select.form-control {
    width: auto;
  }

  .panel-title.with-actions .pull-right {
    margin-top: 5px;
    margin-bottom: 5px;
  }

    .modal-dialog {
    width: 100%;
  }

  .navbar-brand {
    padding: 15px 18px;
  }

  .panel.with-actions .title {
    float: none;
  }
  .panel.with-actions .title+.pull-right {
    float: none!important;
  }

  .btn {
    width: 100%;
    float: none;
    display: block;
    margin: 5px 0px;
  }

  .btn.previous, .btn.next {
    display: inline-block;
    width: auto;
  }

  .navbar-brand {
    position: absolute;
    left: 165px;
    -webkit-transform: translateX(-50%);
       -moz-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
         -o-transform: translateX(-50%);
            transform: translateX(-50%);
  }
  .navbar-toggle {
    float: left;
    margin-left: 15px;
    margin-top: 20px;
  }
  .navbar-header {
    float: left;
  }
  .user {
    float: right;
  }
  .user .dropdown-toggle {
    display: flex;
    flex-direction: column;
  }
  .user > li.dropdown > a.dropdown-toggle {
	padding: 3px;
}
  .user_name {
    order: 1;
    font-size: 12px;
    margin-top: 0px;
    padding:  0;
  }
  .user_name + .img-control {
    float: none;
    text-align: center;
  }
  .grade {
    margin-left: 0;
  }
  .user.navbar-nav .open .dropdown-menu {
    position: absolute;
    float: left;
    width: 100%;
    margin-top: auto;
    background-color: white;
    left: auto;
    /* border: 0; */
    /* -webkit-box-shadow: none; */
    box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.12);
    right: 10px;
    min-width: 160px;
  }
  .user.navbar-nav .open .dropdown-menu:before {
    left: auto;
    right: 10px;
  }
  .user.navbar-nav .open .dropdown-menu:after {
    left: auto;
    right: 4px;
  }
  .user .dropdown-menu {
    top:  65px;
  }
.navbar-default {
	background: none;
}


  .user .dropdown .dropdown-toggle {
    padding-top: 0;
  }
  .user.navbar-nav .open .dropdown-menu>li>a {
        padding: 5px 16px 5px 15px;
  }
  .navbar-default .menu .navbar-nav .open .dropdown-menu>li>a {
        padding: 5px 15px 5px 0px;
  }
  .panel-body, .sidebar .panel-body {
    padding: 10px 15px 10px 15px;
  }
  .btn-panel-like {
    margin-bottom: 20px;
  }
  .panel-title .title {
    margin-left: 15px;
    font-size: 16px;
  }
  .menu .navbar-nav {
    width: 100%;
  }
  .navbar-default .navbar-nav>li>a {
    padding:  10px 0px;
  }

  .hamburger {
    background-color: transparent;
    border: none;
  }

  .hamburger .line{
    /* width: 50px;
    height: 5px; */
    background-color: transparent;
    display: block;
/*     margin: 8px auto;
 */    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
  }

  .hamburger:hover, .hamburger:focus{
    cursor: pointer;
    background-color: transparent!important;
    border: none!important;
  }

  /* ONE */

  .hamburger.is-active .line:nth-child(3){
   opacity: 0;
  }

  .hamburger.is-active .line:nth-child(2){
    -webkit-transform: translateY(5px) rotate(45deg);
    -ms-transform: translateY(5px) rotate(45deg);
    -o-transform: translateY(5px) rotate(45deg);
    transform: translateY(5px) rotate(45deg);
  }

  .hamburger.is-active .line:nth-child(4){
    -webkit-transform: translateY(-7px) rotate(-45deg);
    -ms-transform: translateY(-7px) rotate(-45deg);
    -o-transform: translateY(-7px) rotate(-45deg);
    transform: translateY(-7px) rotate(-45deg);
  }
  .timeline.four-items .itemtimeline, .timeline.three-items .itemtimeline,.timeline.two-items .itemtimeline, .timeline.one-items .itemtimeline {
    display: block;
    float: none;
    width: 100%;
    padding:  0px 0px 10px 20px;
    border-bottom:  0px solid black;
  }
  .timeline .timeline-content:before {
    top: 2px;
    bottom:  auto;
    left: -6px;
  }
  .timeline .timeline-content:after {
    top: 0;
    bottom:  auto;
    left: -8px;
  }
  .timeline {
    margin:  20px 0px;
  }
  .timeline .itemtimeline-solid {
    border-left: 2px solid #3A8785;
  }

  .timeline .itemtimeline-dashed {
    border-left: 2px dashed #3A8785;
  }
  .menu .navbar-nav>li {
    display:block;
  }
  .list-group-item .contrats-num {
    float: none;
    width: 100%;
  }
  .list-group-item .contrats-sign {
    float: none;
    width: 100%;
  }
}

@media ( max-width :767px) and (orientation:landscape) {

    #wrapper.toggled #sidebar-wrapper {
      width: 100%;
  }

  #wrapper.toggled {
      padding-left: 0px;
}

}

@media (max-width: 1230px) {
  #panelStatStatutCol table tbody tr td:before,
  #panelStatStatutCol table tbody tr td:after {
    content: " "; /* 1 */
    display: table; /* 2 */
  }

  #panelStatStatutCol table tbody tr td:after {
    clear: both;
  }

  #panelStatStatutCol table tbody tr td:before {
    content: attr(data-title);
    display:block;
    float:left;
  }

  #panelStatStatutCol table tbody tr td {
    display:block;
    width:100%;
    padding: 8px 5px;
    border-top: 1px solid #ddd;
  }

  #panelStatStatutCol table tbody tr td a {
    float: right;
  }

    #panelStatStatutCol table thead {
      display:none;
    }



}

@media (min-width: 1200px) {
  .btn-recherche > span {
    display: none;
  }
}

/* IS FRONT SPECIFIC STYLES */
@media ( max-width : 992px) {
  #wrapper {
    padding-left: 0;
  }


}
@media(min-width:768px) and (max-width:1025px) {
  .navbar-nav>li>a {
    white-space: nowrap;
    font-size: 12px;
  }
}

@media (min-width: 768px) {
  .user .dropdown-menu {
     top: 100%;
     right: -35px;
  }
  .user .dropdown-menu:after {
    border-width: 0px 4px 8px 4px;
  }
  .timeline .timeline-content {
    padding-bottom: 10px;
  }
  .timeline {
    margin-top: 20px;
  }

   .modal-lg, .modal-md-static {
    width: auto;
  }

  .modal-lg {
    margin: 30px auto;
  }

  .modal-md-static {
    margin: 30px 84px;
  }

  .reset-form {
    margin-right: 10px;
  }

  .modal-dialog {
    width: 1030px;
  }
}

@media(max-width: 1030px) {
   .modal-dialog {
    width: 90%;
    margin: 0 auto;
  }
}

@media (max-width: 1300px) {
  #filtrePAV #dataTablePAV_wrapper > .row:nth-child(3) .col-sm-5, #filtrePAV #dataTablePAV_wrapper > .row:nth-child(3) .col-sm-7  {
    width: 100%;
  }
  #filtrePAV div.dataTables_wrapper div.dataTables_paginate,#filtrePAV div.dataTables_wrapper div.dataTables_info {
    text-align:center;
  }
  .tpl_admin_collectivite .form-inline.dt-bootstrap .col-sm-6 {
    width: 100%;
    float:none!important;
    text-align: center;
  }
  .form-inline.dt-bootstrap .row:nth-child(3) * {
    text-align: center;
    width:100%;
    float:none;
  }
  div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    margin-top:20px!important;
  }
  .tpl_admin_collectivite div.dataTables_wrapper div.dataTables_filter {
    text-align:center;
  }
}

@media(min-width: 768px) and (max-width: 850px) {
  .modal-dialog {
    width: 90%;
  }
}

@media (min-width: 768px) and (max-width: 992px) {
  .menu .nav>li>a {
    padding:10px 7px;
  }

}

@media (min-width:992px) and (max-width:1200px) {
  .panel-title .title {
    line-height: 2.5;
    font-size: 16px;
  }
}
@media(min-width:768px) {
  .container.admin-container {
    width: 95%;
  }
}

@media (min-width: 992px) {
  .container.admin-container {
    width: 90%;
  }
}

@media (min-width: 1200px) {
  .container.admin-container {
    width: 95%;
  }
}




@media (max-width: 600px) {
  .table>tbody>tr>td {
    padding: 5px 15px 15px 15px;
  }
  .no-more-tables td:before, .no-more-tables td:before {
    display: block;
  }

  #filtrePAV .pull-left, #filtrePAV .pull-right {
    width:100%;
    float:none!important;

  }
  #panelStatStatutCol .panel-title.with-actions .pull-right  {
    margin-left: 14px;

  }

  #headingFicheCollectivite .pull-right a {
    float: none;
    width: 100%;
    margin:  5px auto;
  }
  #headingFicheCollectivite .pull-right a.ml-15 {
    margin-left: 0px!important;
  }
  #headingFicheCollectivite .panel-title.with-actions .pull-right {
    margin:  0px auto;
  }

  #headingFicheCollectivite .panel-title:before {
    left: 0;
    top: 0;
    right: 0;
    width: 100%;
    height: 3px;
  }
  .panel-default>.panel-heading {
    border-radius: 5px;
  }
  .panel-default {
    overflow: hidden;
  }
  .panel-title.with-actions .pull-right {
    margin:  0px auto;
    float: none!important;
    width: 100%;
  }
  .panel-title.with-actions .pull-right a.btn {
    display: block;
    width: 100%;
  }
  #ficheColListeIdentite .title {
    display: none;
  }
}

@media ( min-width:1200px) and (max-width:1700px) {
  #panelEspaceReporting .panel-heading-color, #panelExportTableauAnalyse .panel-heading-color {
    display:none;
  }
  #panelEspaceReporting .panel-title .title, #panelExportTableauAnalyse .panel-title .title {
    float: none;
    text-align:center;
    margin-top:0;
    line-height:1;
    padding-top: 15px;
  }
  #panelEspaceReporting .panel-title:before, #panelExportTableauAnalyse .panel-title:before {
    width:100%;
    height: 4px;
    left: 0;
    right: 0;
    top:0;
  }
  #panelEspaceReporting, #panelExportTableauAnalyse {
    overflow:hidden;
  }
  #panelEspaceReporting .panel-title.with-actions .pull-right, #panelExportTableauAnalyse .panel-title.with-actions .pull-right {
    float:none!important;
    width: 100%;
    /* padding-left: 15px;
    padding-right: 15px; */
  }
  #panelEspaceReporting .panel-title.with-actions .pull-right *, #panelExportTableauAnalyse .panel-title.with-actions .pull-right * {
    width: 92%;
  }
}
