
/**********************************************

    Global

**********************************************/

#scroll-top-link {
	position: fixed;
	border-radius: 4px 4px 0 0;
	height: 25px;
	width: 85px;
	line-height: 20px;
	text-decoration: none;
	text-align: center;
	opacity: 1;
	right: 25px;
	bottom: 75px;
	z-index: 1030;
	font-size: 10px;
	background-color: #e2e0e0;
	display:none;
}

label .checkboxes {
  display: block;
  float: left;
  padding-right: 10px;
  white-space: nowrap;
}
 input .checkboxes{
  vertical-align: middle;
}
label .checkboxes  span {
  vertical-align: middle;
}

.nobr	{ white-space:nowrap; }

*, button, input, optgroup, select, textarea {
    font-family: 'Lato', sans-serif;
}

button:focus,
a:focus {
    outline:0;
}

button.form-gestion{
	border-radius: 12px;
}
a, a:hover, a:active {
    color: #000;
    text-decoration: underline;
}

.oi {
    font-size: 15px;
}

.bold {
    font-weight: bold;
}

.italics{
    font-style: italic;
}

.logo-table {
    max-height: 50px;
    width: auto;
}

body {
    overflow-x: hidden;
    padding-left: 175px;
    min-height: auto;
}

body.fullscreen {
    padding-left: 0;
}

body.fullscreen #wrap_content {
    padding: 35px;
}

fieldset {
    border: 1px solid #ccc;
    padding: 20px;
}

.badge, .badge:empty {
    width: 10px;
    height: 10px;
    border-radius: 10px;
    padding: 0;
}

.badge-1:empty,
.badge-2:empty,
.badge-3:empty {
    display: inline-block;
}

.badge-1 {
    background: #5cb85c;
}

.badge-2 {
    background: #f0ad4e;
}

.badge-3 {
    background: #d9534f;
}

.clearboth{
    clear: both;
}

.no-padding {
    padding: 0;
}

.right{
    text-align: right;
}

.jumbotron-error {
    background-color: transparent;
    color: #fff;
}

.container-error {
    background-color: #131313;
}

.modal-lg {
    max-width: 1400px;
}

.modal-title {
    margin: 0 auto;
}

span.filtres{
    font-size: 0.9em;
    font-style: italic;
}

#sendtopreset{
    cursor: pointer;
}

#sendtopreset:disabled{
    opacity: .60;
    cursor: not-allowed;
}

.preset_open #page-title{
    display: block;
    max-width: 100% !important;
    width: 100% !important;
    flex-basis: 100%;
}

.preset_open .dropdowntitle{
    display: block;
    max-width: 50% !important;
    width: 50% !important;
    flex-basis: 50%;
}

.preset_open#wrap_content #page-options {
    display: block;
    max-width: 50% !important;
    width: 50% !important;
    flex-basis: 50%;
    float: right;
    padding-left: 20%;
    position: relative;
    top: -30px;
}

.preset_open #page-favoris, .preset_open #page-popout{
    margin-left: 20px;
    margin-right: 0;
}

.lutte-egalite-trois{
    position: absolute;
    right: 10px;
    top: 10px;
    margin-right: 0;
    float: right;
    cursor: pointer;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url("../images/egalite3Partis-9d62f09a64ba1346b939017fbf073364.png");
    display: block;
    height: 30px;
    width: 30px;
}

#presetsideoptions{
    position: relative;
    top: -7px;
}

.viderPreset {
    margin-left: 10px;
}

#presetsideoptions #viderPreset{
    font-size: 14px;
    position: relative;
    top: 3px;
}

/**********************************************

    Sidebar

**********************************************/


#wrap_leftmenu{
    background-color: #131313;
    padding-left: 0;
    padding-right: 0;
    width: 175px !important;
    display: block;
    max-width: none;
    font-size: 14px;
}

#navbar,
#wrap_leftmenu .container{
    width: 100%;
}

.navbar-nav .dropdown-menu {
    position: absolute;
}

.nav.navbar-nav a,
.nav.navbar-nav a:hover,
.nav.navbar-nav a:active {
    display: block;
    text-decoration: none;
}

#wrap_leftmenu li:not(.separateur){
    background-color: #5f0d0c;
    padding: 7px 0 7px 25px;
    /*border-bottom: 1px solid #131313;*/
}

#wrap_leftmenu a {
    color: #d7d4d4;
}

#wrap_leftmenu li.dropdown.light-dropdown{
    background-color: #e3e3e3;
    color: #1c1c1c;
    text-align: center;
    border-bottom: 1px solid #131313;
    padding: 7px 0;
    text-transform: uppercase;
}

#wrap_leftmenu li.dropdown.light-dropdown a {
    color: #1c1c1c;
}

#wrap_leftmenu li.dropdown.favoris{
    background-color: #131313;
    background-repeat: no-repeat;
    background-position: 27px center;
    color: #c1bfbf;
    text-align: left;
    padding: 7px 0 7px 25px;
    text-transform: none;
    text-decoration: underline;
}

#wrap_leftmenu li.dropdown.favoris a{
    display: inline;
    padding-left: 5px;
}

#wrap_leftmenu li.dropdown.favoris:hover,
#wrap_leftmenu li.dropdown.favoris.show{
    background-color: #b90704;
}

#wrap_leftmenu li.dropdown.light-dropdown a {
    color: #1c1c1c;
}

#wrap_leftmenu li .dropdown-toggle::after{
    display: none;
}

#wrap_leftmenu li.separateur {
    color: #6f6f6f;
    font-size: 12px;
    text-transform: uppercase;
    padding-top: 15px;
    padding-left: 10px;
    font-weight: bold;
}

#wrap_leftmenu li.separateur.logo {
    height: 67px;
    text-align: center;
    padding-left: 0;
}

#wrap_leftmenu li.separateur.logo img {
    padding-bottom: 15px;
    height: 52px;
}

#wrap_leftmenu ul.dropdown-menu{
    padding: 0;
    margin: 0;
    top: 0;
    border: 0;
    background-color: #1a0101;
    font-size: 14px;
    min-width: 11rem;
}

#wrap_leftmenu li.favoris ul.dropdown-menu {
    min-width: 22rem;
    max-height: 135px;
    overflow-y: auto;
}

#wrap_leftmenu li.favoris ul.dropdown-menu::-webkit-scrollbar {
    width: 4px;
    height: 2px;
}

#wrap_leftmenu li.favoris ul.dropdown-menu::-webkit-scrollbar-button {
    width: 0;
    height: 0;
}

#wrap_leftmenu li.favoris ul.dropdown-menu::-webkit-scrollbar-thumb {
    background: #ff0000;
    border: 0 none #ffffff;
    border-radius: 50px;
}

#wrap_leftmenu li.favoris ul.dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: #ff0000;
}

#wrap_leftmenu li.favoris ul.dropdown-menu::-webkit-scrollbar-thumb:active {
    background: #ff0000;
}

#wrap_leftmenu li.favoris ul.dropdown-menu::-webkit-scrollbar-track {
    background: #800000;
    border: 0 none #ffffff;
    border-radius: 50px;
}

#wrap_leftmenu li.favoris ul.dropdown-menu::-webkit-scrollbar-track:hover {
    background: #800000;
}

#wrap_leftmenu li.favoris ul.dropdown-menu::-webkit-scrollbar-track:active {
    background: #800000;
}

#wrap_leftmenu li.favoris ul.dropdown-menu::-webkit-scrollbar-corner {
    background: transparent;
}

#wrap_leftmenu ul.dropdown-menu{
    padding: 0;
    margin: 0;
    top: 0;
    border: 0;
    background-color: #1a0101;
    font-size: 14px;
    min-width: 11rem;
}

#wrap_leftmenu ul.dropdown-menu li{
    border-bottom: 1px solid #1a0101;
    background-color: #2e0201;
    padding-right: 15px;
}

#wrap_leftmenu ul.dropdown-menu li:hover{
    background-color: #5f0d0c;
}

#wrap_leftmenu li.dropdown.light-dropdown ul.dropdown-menu {
    background-color: #d2cfcf;
    text-transform: none;
}

#wrap_leftmenu li.dropdown.light-dropdown ul.dropdown-menu li {
    border-bottom: 1px solid #1a0101;
    background-color: #d2cfcf;
}

#wrap_leftmenu li.dropdown.light-dropdown ul.dropdown-menu li:hover {
    background-color: #e3e3e3;
}


#wrap_leftmenu ul.dropdown-menu li:nth-last-of-type(1) {
    border-bottom: 0 !important;
}

#wrap_leftmenu li:not(.separateur):hover,
#wrap_leftmenu li.dropdown.show{
    background-color: #b90704;
    text-decoration: none;
}

#wrap_leftmenu li.light-dropdown:hover,
#wrap_leftmenu li.light-dropdown.dropdown.show{
    background-color: #ffffff;
    text-decoration: none;
}

#wrap_leftmenu .dropdown.favoris ul li a{
    font-size: 12px;
    line-height: 12px;
}



/**********************************************

    Header

**********************************************/

#header_nav{
    height: 75px;
    background-color: #131313;
    position: fixed;
    left: 0;
    right: 0;
    z-index: 10;
}

#header_nav .federales-container{
    width: 75.44%;
    float: left;
    text-align: center;
    padding-top: 22px;
    padding-left: 175px;
    position: relative;
}

#header_nav .federales-container #global-search {
    position: absolute;
        top: 20px;
        left: 200px;
    width: 25%;
    background: #454545;
    padding-left: 35px;
    border: 0;
    border-radius: 0;
    color: #fff;
}

#header_nav .federales-container img#logo-election {
    width: auto;
    max-width: 412px;
    margin-left: 30%;
    max-height: 45px;
}

#header_nav .federales-container #global-search::placeholder {
    color: #fff;
    opacity: .8;
}

#header_nav .federales-container #global-search-icn {
    background: url("../images/icnLoupeLight-67a1c0c38b362096841c4f1864c5a057.png");
    width: 15px;
    height: 16px;
    position: absolute;
        top: 30px;
        left: 210px;
}

#header_nav .federales-container #global-search-results {
    position: absolute;
        top: 65px;
        left: 200px;
    width: 300px;
    background: #454545;
    display: none;
}

#header_nav .federales-container #global-search-results:before {
    content: " ";
    position: absolute;
    top: -10px;
    left: 20px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 7px 10px 7px;
    border-color: transparent transparent #454545 transparent;
}

#header_nav .federales-container #global-search-results ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#header_nav .federales-container #global-search-results ul li a {
    color: #fff;
    padding: 10px 20px;
    text-align: left;
    display: block;
    border-bottom: 1px solid #000;
    text-decoration: none;
}

#header_nav .federales-container #global-search-results ul li.selected a,
#header_nav .federales-container #global-search-results ul li a:hover {
    background: #5C5C5C;
}

#header_nav .userinfo-container,
#header_nav .alertes-container{
    width: 12.28%;
    float: left;
}

#header_nav .alertes-container {
    background-color: #ededed;
    color: #131313;
    height: 100%;
    padding-top: 8px;
    padding-right: 15px;
    padding-left: 15px;
    position: relative;
}

#header_nav .alertes-container ul {
    list-style: none;
    text-align: center;
    padding: 0;
}

#header_nav .alertes-container ul li {
    display: inline-block;
    width: 30%;
}

#header_nav .alertes-container ul li .badge {
    position: static;
    display: inline-block;
    margin: 0 5px;
}

#header_nav .alertes-container #alertes-tooltip {
    position: absolute;
        top: 75px;
        left: -150px;
        right: 15px;
    box-shadow: 0 5px 10px #666;
    display: none;
    background: #fff;
}

#header_nav .alertes-container #alertes-tooltip #alertes-triangle {
    position: absolute;
        top: -10px;
        right: 100px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 7px 10px 7px;
    border-color: transparent transparent #ffffff transparent;
}

#header_nav .alertes-container #alertes-tooltip a {
    top: 0;
}

#header_nav .alertes-container #alertes-tooltip .alerte {
    border-bottom: 1px solid #ccc;
    font-size: 14px;
    line-height: 16px;
}

#header_nav .alertes-container #alertes-tooltip .alerte .alerte-texte {
    padding: 10px 0;
}

#header_nav .alertes-container #alertes-tooltip .alerte .btn {
    width: 52px;
    height: 52px;
    border-radius: 0;
    border: 0;
    margin: 0;
}

#header_nav .alertes-container a{
    position: relative;
    top : -18px;
}

#header_nav .alertes-container .voirtous{
    float: left;
}

#header_nav .alertes-container .gestion{
    float: right;
}

#header_nav .userinfo-container{
    color: #ededed;
    text-align: right;
    padding-right: 40px;
    padding-top: 12px;
    line-height: 1.2em;
    font-size: 12px;
}

#header_nav .userinfo-container a,
#header_nav .alertes-container a {
    font-size: 13px;
    text-decoration: underline
}

#header_nav .userinfo-container a {
    color: #ededed;
}

#header_nav .alertes-container a {
    color: #131313;
}

#header_nav .logout{
    line-height: 2em;
}

/**********************************************

    Presets Bar

**********************************************/

.top-filters .top-filters-top{
    background-color: #d9d9d9;
    max-width: 235px;
}

.mode-preset, .preset-toggle{
    width: 50%;
    float: left;
    padding: 10px 10px 5px 10px;
    cursor: pointer;
}

.preset-toggle{
    background-position: center right 15px;
    background-repeat: no-repeat;
    font-weight: bold;
}

.preset-toggle.open{
    background-image: url("../images/icnArrow_up-6db32b10d4f3cb62abd1334426b2aa1f.png");
}

.preset-toggle.closed{
    background-image: url("../images/icnArrow_down-891ac5e5a0fffc36b81a86b76468ca4c.png");
}

.mode-preset{
    text-decoration: underline;
    font-size: 14px;
    padding-top: 12px;
}

.top-filters-filters{
    background-color: #d9d9d9;
}

.top-filters-filters .filters{
    float: left;
    margin: 8px 0;
}

.top-filters-filters .separator-right{
    border-right: #c3c3c3 1px solid;
    margin-right: 3%;
}

.top-filters-filters .selection {
    width: 22%;
    min-height: 47px;
}

.top-filters-filters .middle-filters {
    width: 52%;
}


.top-filters-filters .right-filters {
    width: 20%;
    padding-left: 1%;
}

.middle-filters .linkpreset{
    margin: 0 3%;
}

.right-filters .linkpreset{
    margin: 0 10%;
}

.baselink,
.importantlink{
    color: black;
    position: relative;
    top: 0;
    font-size: 0;
    padding: 16px;
    background-repeat: no-repeat;
    background-position: center;
}

.importantlink{
    margin-left: 0;
}

.selectionlabel{
    font-size: 12px;
    padding: 8px;
    position: relative;
    top: 4px;
    left: 4px;
}

.selectallcomtes{
    background-image: url("../images/btn_select_all-2930813d1f80a92907c5647890d9aa11.png");
}

.deselectallcomtes{
    background-image: url("../images/btn_deselect_all-66d712e75521d190896f31bcaea7b664.png");
}

.top-filters .baselink,
.top-filters .importantlink{
    top: 10px;
}

.top-filters .selectionlabel{
    top: 14px;
}

#presetselect{
    width: 40%;
    padding: 4px;
    font-size: 12px;
    float: left;
    margin-top: 5px;
}

.linkpreset{
    display: inline-block;
    background-position: center;
    background-repeat: no-repeat;
    height: 47px;
    width: 63px;
    font-size: 0 !important;
    float: left;
}


#comtelinktop{
    background-image: url("../images/btnPreset_Comte_fr-9a8455131c9aca28d3ad7bba3de264c9.png");
}

#luttelinktop{
    background-image: url("../images/btnPreset_Lutte_fr-e974e97ef57f296b6b2a59d227e08d2e.png");
}

#persolinktop{
    background-image: url("../images/btnPreset_Personnalite_fr-314cfe621f8a140adbac6116ac8e2337.png");
}

#positlinktop{
    background-image: url("../images/btnPreset_Position_fr-880a2fe3ee8477ad3350d11ed0a9c402.png");
}

#votexlinktop{
    background-image: url("../images/btnPreset_Vote_fr-7bfa45c5263ed492d2b2fa583a870e47.png");
}

label.obligatoire:after{
    content: "*";
}

input.invalidfield,
select.invalidfield{
    border: 1px solid #ff3300;
}


/**********************************************

    Footer Overview

**********************************************/

.footer-federales{
    height: 75px;
    position: fixed;
        bottom: 0;
        left:0;
        right: 0;
    z-index: 1031;

    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#e2e0e0+0,b7b6b6+100 */
    background: #e2e0e0; /* Old browsers */
    background: -moz-linear-gradient(top,  #e2e0e0 0%, #b7b6b6 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #e2e0e0 0%,#b7b6b6 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #e2e0e0 0%,#b7b6b6 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e2e0e0', endColorstr='#b7b6b6',GradientType=0 ); /* IE6-9 */
}

#footer-sieges-principaux {
    margin-left: 15px;
}

.footer-federales-column {
    float: left;
    height: 100%;
    width: 12.28%;
}

.footer-federales-column > img{
    max-height: 100%;
    max-width: 65px;
    vertical-align: top;
    padding-top: 5px;
}

.footer-federales-column{
    padding: 7px 0 0;
}

.footer-federales-column.separated{
    border-left: 1px solid #b9b9b9;
    padding-left: 15px;
}

.footer-federales-counter{
    position: relative;
    top: 13px;
    font-weight: bold;
    font-size: 24px;
    padding-left: 11px;
}

#autres-logo{
    position: relative;
    top: 12px;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: underline;
    cursor: pointer;
}

.partiautrefootertitle{
    font-weight: bold;
    text-transform: uppercase;
}

.partiautrefootercontent{
    padding-left: 27px;
}

.footer-federales-subtitle{
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
}

.footer-federales-subtitle-counter:not(.in-progressbar){
    text-align: center;
}

.footer-federales-subtitle-counter{
    position: relative;
    top: -18px;
}

.footer-federales-subtitle-counter.in-progressbar{
    background-color: #252525;
    color: white;
    display: block;
    position: relative;
    border-radius: 0.25rem;
}

.footer-federales-subtitle-counter.in-progressbar .progress{
    position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 25%; /* 100% - current% */
    background-color: #b90704;
    z-index: 0;
    height: 24px;
}

.footer-federales-subtitle-counter.in-progressbar .percentlabel{
    position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
    z-index: 1;
    padding: 0 5px;
    font-weight: bold;
    font-size: 15px;
}

#footer-slideup {
    display: none;
    position: absolute;
    bottom: 88px;
    background-color: #dddbdb;
    padding: 20px;
    min-width: 300px;
}

#footer-slideup:after{
    content: "";
    display: block;
    background-image: url("../images/triangle_autre-cf12dc6bc0aa4d104d727e8cd1e981f0.png");
    width: 21px;
    height: 10px;
    position: absolute;
    bottom: -10px;
}

.lutte-chaude-row{
	font-size: 13px;
}

.img-candidat{
    max-width: 150px;
}
/**********************************************

    Templates

**********************************************/

.title-container h1{
    font-size: 28px;
}

#wrap_content, #preset_content{
    padding: 100px 35px ;
}

#cloud_container{
    position: relative;
}

#preset_content{
    border-left: 1px solid #DDDDDD;
    position: relative;
    left: -1px;
}


.h1, h1 {
    font-size: 24px;
    font-weight: 700;
}

.h3, h3 {
    font-size: 14px;
    font-weight: 700;
    margin-top: 40px;
    padding: 10px;
}

table ul {
    margin-bottom: 0;
}

.table td, .table th {
    vertical-align: middle;
}

.table th {
    font-size: 13px;
    font-weight: bold;
}

.table td {
    font-size: 13px;
}

.shrinked,
.h3.h3-shrinked,
.table.table-shrinked {
    width: 60%;
    margin: 40px auto 0 auto;
}


.shrinked.less,
.h3.h3-shrinked.less,
.table.table-shrinked.less {
    width: 70%;
    margin: 40px auto 0 auto;
}

.shrinked h3 {
    margin-top: 0;
}

ul.legend {
    list-style: none;
}

ul.legend li {
    display: inline-block;
    margin: 0 10px;
    font-size: 14px;
}

ul.legend li img.icn-legend {
    position: relative;
        top: -1px;
}

.h3.h3-shrinked {
    margin: 40px auto 0 auto;
}

.nav.nav-pills {
    background-color: #000;
}

.nav.nav-pills.nav-filter {
    background-color: transparent;
    display: inline-block;
	padding-bottom: 5px;
}

.nav.nav-pills.nav-filter .nav-item,
.nav.nav-pills.nav-fill .nav-item {
    display: inline-block;
    cursor: pointer;
}

.nav-pills .nav-link {
    border-radius: 0;
    color: #fff;
    font-size: 14px;
    border-top: 1px solid #828282;
    border-right: 1px solid #828282;
    border-bottom: 1px solid #828282;
}

.nav-pills.nav-filter .nav-link ,
.nav-pills.nav-fill .nav-link {
    background-color: #fff;
    font-size: 12px;
}

.nav-pills.nav-filter .nav-link.active,
.nav-pills.nav-fill .nav-link.active {
    background-color: #333;
    color: #fff;
    font-weight: normal;
}

.filter-wrapper{
	padding-bottom: 28px;
}

.nav-pills .nav-link:first-child {
    border-left: 1px solid #828282;
}

.nav-pills .nav-item.show .nav-link,
.nav-pills .nav-link.active {
    background-color: #fff;
    color: #333;
    font-weight: 700;
}

.nav-pills  a.nav-link {
    color: rgb(41, 43, 44);
    text-decoration: none;
}

.nav-pills  a.nav-link.active {
    color: white;
}

.padded-row {
    margin-top: 40px;
}

.btn {
    margin: 0 10px;
    border-radius: 20px;
    border: 1px solid #828282;
}

.btn-sm {
    padding: .45em 1em;
}

.btn-primary {
    background-color: #5f0d0c;
    border-color: #5f0d0c;
}

.btn-primary:hover {
    background-color: #b90704;
}

.btn-dark {
    background-color: #000;
    color: #fff;
}

.btn-save {
    border-radius: 20px;
    background-color: #169bd5;
    color: #fff;
    border: none;
    float: right;
}

.btn-cancel {
    background: transparent;
    border: none;
    color: #169bd5;
}

#page-title{
    width: 25%;
    float: left;
}

.dropdowntitle{
    width: 45%;
}

#page-options{
    width: 30%;
    float: left;
	min-width: 130px;
}

#page-favoris,
#page-popout{
    display: block;
    height: 30px;
    width: 30px;
    margin-right: 20px;
    float: right;
    cursor: pointer;
    background-position: center;
    background-repeat: no-repeat;
}

#page-favoris{
}

#page-favoris:hover,
#page-favoris.active{
    color: #f00;
}

#page-recherche{
    float: right;
}

#page-recherche #recherche{
    background-image: url("../images/icnLoupe-05b5faef17a854667b890904ad3911dc.png");
    background-position: center right 10px;
    background-repeat: no-repeat;
    border: 1px solid #b9b9b9;
    padding: 6px 10px;
    font-size: 14px;
}

#wrap_content.preset_open, #preset_content.preset_open{
    width: 40%;
    float: left;
}
#wrap_content.preset_open{
	width: 60%;
	float: left;
}


#wrap_content.preset_open{
    border-right: 1px solid #DDDDDD;
}

.tab-pane#autres{
    width: 70%;
    margin: 0 auto;
}

table,
table th{
    text-align: center;
}

#vote-exprime table.table.table-striped.table-shrinked{
    margin-top: 0;
}

#vote-exprime #general table.bigger-font td,
#vote-exprime #general table.bigger-font th{
    font-size: 1.1em;
}

.manual-entry {
    width: 100px;
    float: right;
    margin-top: -3px;
}

.table-striped tbody tr.row-elu:nth-of-type(odd),
tr.row-elu {
    background-color: #636764;
	color: white !important;
}

.table-striped tbody tr.row-elu:nth-of-type(odd) td > a,
tr.row-elu td > a {
	color: white !important;
}

tr.cell-avance,
td.cell-avance{
    background-color: #76d2f3 !important;
}

tr.cell-elu,
td.cell-elu {
    background-color: #636764 !important;
	color: white !important;
}

tr.cell-elu td > a,
td.cell-elu > a {
	color: white !important;
}

tr.cell-egalite,
td.cell-egalite{
    background-color: #FFCC00 !important;
}

td.cell-default{
    width: 10%;
    background-color: #dc3545;
}

td.cell-preview{
    width: 10%;
    background-color: #ffc107;
}
td.cell-broadcast{
    width: 10%;
    background-color: #28a745;
}

.preset-true .top-filters-filters .selection{
    width: 40%;
}

.preset-true .top-filters-filters .middle-filters{
    width: 33%;
}

button.dark-btn{
    background-color: #333333;
    color: white;
    border: none;
    padding: 6px 15px;
    font-size: 14px;

}

#sendtopreset{
    position: relative;
        top: 6px;
    width: 100%;
    background-image: url("../images/icn_envoyer-aef372d7c0760cde0abed1928f0dd441.png");
    background-repeat: no-repeat;
    background-position: center left 22%;
    padding-left: 33px;
}

#typeselect{
    position: relative;
    top: 4px;
    width: 90%;
    height: 35px;
}

.preset_open .top-filters-filters  .baselink, .preset_open .top-filters-filters  .importantlink{
    top: 11px;
}

.preset_open .top-filters-filters .middle-filters {
    margin-left: 3%;
    margin-right: 2%;
}

.preset_open .nav-link {
    padding: .5em 0.4em;
}

a.close-preset{
    color: black;
    background-repeat: no-repeat;
    background-position: center left;
    background-image: url("../images/icn_delete-46eabe9fa590e97755a09d823538a99d.png");
    padding-left: 25px;
}

td select.form-control{
    font-size: 12px;
    height: auto !important;
    padding: 4px;
}

label.col-form-label{
    font-size: 15px;
}

select.form-control{
    font-size: 12px;
    height: 35px !important;
}

.linkpreset.disabled{
    opacity: .60;
    cursor: not-allowed;
}

/** Drag & Drop tables **/


.dragged {
  position: absolute;
  opacity: 0.9;
  z-index: 2000;
}

#detailpreset tbody tr.placeholder {
  position: relative;
}

#detailpreset tbody tr.placeholder:before {
  position: absolute;
  /** Define arrowhead **/
}

#detailpreset.table td{
    padding-bottom: 6px;
}

#detailpreset.table select{
    position: relative;
    top: -4px;
    width: 80%;
    display: inline-block;
}


tr.placeholder td{
    height: 44px;
    background-color: white;
}



tr.placeholder,  tr.placeholder td{
    height: 5px;
    min-height: 5px;
}

#detailpreset tbody tr{
    cursor: move;
}

td.resizebtn{
    background-image: url("../images/icn_drag-c5156e0ac1ae7ed55e8a64311c55e08b.png");
    background-position: center;
    background-repeat: no-repeat;
    font-size: 0 !important;
}

td.deletetd{
    background-image: url("../images/icn_delete-46eabe9fa590e97755a09d823538a99d.png");
    background-position: center;
    background-repeat: no-repeat;
    font-size: 0 !important;
    position: relative;
}

td.deletetd a {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.modal-dialog.modal-md {
    max-width: 650px;
}

.btn_simul.btn_delete{
  background: url("../images/icn_delete-46eabe9fa590e97755a09d823538a99d.png") no-repeat center;
  border: none;
  cursor: pointer;
  font-size: 0;
  height: 30px;
  width: 30px;
  margin-right: 50px;
}

.btn_simul.btn_edit{
  background: url("../images/btnEdit-85c2b64180b6c2580a14f3afa78c97c7.png") no-repeat center;
  border: none;
  cursor: pointer;
  font-size: 0;
  height: 30px;
  width: 30px;
}

.btn_simul.btn_copy{
  background: url("../images/btn_copie-2a92cb85fbbc3d3e903ecd9773110254.png") no-repeat center;
  border: none;
  cursor: pointer;
  font-size: 0;
  height: 30px;
  width: 50px;
}


.btn_simul.btn_play{
  background: url("../images/btn_play-332a7a867e786c8920295ad7abe5bc05.png") no-repeat center;
  border: none;
  cursor: pointer;
  font-size: 0;
     height: 36px;
    width: 36px;
}

.btn_simul.btn_pause{
  background: url("../images/btn_pause-13d2c84f1b82ac0e1a1ee9fbde6ab66c.png") no-repeat center;
  border: none;
  cursor: pointer;
  font-size: 0;
     height: 36px;
    width: 36px;
}

.btn_simul.btn_stop{
  background: url("../images/btn_stop-920c26b3cbbe8d3ae6d68072390f680c.png") no-repeat center;
  border: none;
  cursor: pointer;
  font-size: 0;
     height: 36px;
    width: 36px;
}


.simulationtr .statustd span{
  position: relative;
  top: 6px;
}

.button-table{
    background-repeat: no-repeat;
    background-position: center;
	width: 26px;
	height: 26px;
    display: inline-block;
    font-size: 0;
    border: 0;
    background-color: transparent;
    cursor: pointer;
}

.button-table.delete{
    background-image: url("../images/icn_delete-46eabe9fa590e97755a09d823538a99d.png");
    margin-left: 10px;
}

.button-table.edit{
    background-image: url("../images/btnEdit-85c2b64180b6c2580a14f3afa78c97c7.png");
}
/*.tester{*/
/*        background-position: center;*/
/*    border-radius: 20px;*/
/*    background-color: #169bd5;*/
/*    color: #fff;*/
/*    border: none;*/
/*    width: 76px;*/
/*    height: 29px;*/
/*    display: inline-block;*/
/*}*/
/*.fournisseur{*/
/*    padding: 7px 20px 0 30px;*/
/*}*/

tr td,
tr th
{
    border-right: 1px solid #eceeef;
}

tr td:first-child,
tr th:first-child
{
    border-left: 1px solid #eceeef;
}


table
{
    border-bottom: 1px solid #eceeef;
}



#enregistrernewpreset{
    height: 35px;
}

#addnompreset{
    padding-top: 6px;
    padding-bottom: 6px;
}

.slightly-padded-row{
    margin-top: 10px;
}

.legend-label{
    width: 50%;
    float: left;
    display: block;
    margin-bottom: 6px;
	font-size: 13px;
}

.legend-square{
    display: inline-block;
    width: 17px;
    height: 17px;
    margin-right: 10px;
}

.legend-square.elu{
    background-color: #636764;
}

.legend-square.avance{
    background-color: #76d2f3;
}

.legend-square.personnalite{
    background-image: url("../images/icnPersonnalite-9d28b35a67f1b47f7f6c6919501e1962.png");
    background-position: center;
    background-repeat: no-repeat;
	border: none;
}

.legend-square.egalite{
    background-color: #FFCC00;
}

table.table-luttes{
	border: none;
}

.Maj-txt{
	font-style: italic;
	font-size: 14px;
}

.checkboxes label {
  display: block;
  float: left;
  padding-right: 10px;
  white-space: nowrap;
}
.checkboxes input {
  vertical-align: middle;
}
.checkboxes label span {
  vertical-align: middle;
}

.conflit-candidat-sugg,
.conflit-partis-sugg {
    padding-top: calc(.375rem + 1px);
}

.loading {
    display: inline-block;
    height: 25px;
    margin: 15px;
}

.loading.loading-inline {
    margin: -3px 0 0 0;
}

/**********************************************

    RESPONSIVE CSS!

**********************************************/



/**********************************************

    Small Laptop

**********************************************/

@media only screen
and (max-width : 1640px) {


    .footer-federales-subtitle{
        font-size: 14px;
        line-height: 14px;
    }
}



@media only screen
and (max-width : 1440px) {
    .linkpreset{
        width: 63px;
    }


    #header_nav .alertes-container .voirtous,
    #header_nav .alertes-container .gestion{
        font-size: 10px;
        top: 0;
        float: none;
        text-align: center;
        width: 100%;
        display: block;
    }


    .table td.nbVotes {
        font-size: 11px;
    }

    .preset_open .table td.nbVotes{
        font-size: 9px;
        padding: 12px 2px;
    }

    a.close-preset,
    #presetsideoptions #viderPreset{
        font-size: 12px;
    }

    .alertes-container span:not(.badge){
        font-size: 12px;
    }

    #header_nav .alertes-container ul li .badge{
        margin: 0 3px;
    }

    .alertes-container ul{
        margin-bottom: 0;
        height: 14px;
        position: relative;
        top: -5px;
    }

    .alertes-container ul li{
        height: 10px;
    }

    .alertes-container .bold{
        font-size: 12px;
    }



    .preset-true .top-filters-filters .selection {
        width: 33%;
    }

    .preset-true .top-filters-filters .middle-filters{
        width: 40%;
    }

    .dropdowntitle label{
        max-width: 46%;
    }

    .table td,
    .table th{
        font-size: 11px;
        padding: 8px 8px;
    }

    td.resizebtn{
        background-size: 100%;
    }

    .right-filters .linkpreset{
        margin: 0 5%;
    }
}





@media only screen
and (max-width : 1150px) {
    .middle-filters .linkpreset {
        margin: 0 1%;
    }

    .right-filters .linkpreset{
        margin: 0 2%;
    }

}

#majAvances-in{
	padding-left: 5px;
	padding-right: 0;
	height: 30px;
}

.avances-nbVotes{
	width: 150px;
}

h3.tight{
    padding: 0;
    margin: 0;
}

h3.tight.first{
    margin-bottom: 10px;
    margin-top: 40px;
}

.td-multilink a{
    display: inline-block;
}

.logocontainer img{
    max-height: 75px;
}

/**********************************************

    iPad Landscape

**********************************************/

@media only screen
and (max-device-width : 1024px) {

    #wrap_content, #preset_content{
        padding: 100px 15px;
    }

    .footer-federales-column > img {
        max-width: 50px;
        padding-top: 10px;
    }

    .footer-federales-counter{
        font-size: 18px;
        top: 16px;
    }

    .footer-federales-subtitle{
        font-size: 13px;
        line-height: 13px;
    }

    .footer-federales{
        height: 75px;
    }

    #footer-sieges-principaux {
        margin-left: 15px;
    }

    #autres-logo{
        top: 15px;
    }

    #header_nav .alertes-container .voirtous,
    #header_nav .alertes-container .gestion{
        font-size: 10px;
        top: 0;
        float: none;
        text-align: center;
        width: 100%;
        display: block;
    }

    #header_nav .userinfo-container a{
        font-size: 10px;
        position: relative;
        top: 3px;
    }

    #header_nav .federales-container{
        width: 65.44%;
    }

    #header_nav .userinfo-container{
        width: 22.28%;
    }

    .shrinked, .h3.h3-shrinked, .table.table-shrinked{
        width: 80%;
    }

    .tab-pane#autres{
        width: 80%;
    }

    .linkpreset{
        width: 63px;
        margin: 0 1px !important;
    }

    .top-filters-filters .selection {
        width: 19%;
        margin-left: 1%;
    }

    .dropdowntitle{
        width: 80%;
    }

    .fullwidth-ipad{
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100%;
    }

    .nav-pills.nav-filter .nav-link{
        font-size: 12px;
        padding: 6px 10px;
    }

    label.col-form-label{
        font-size: 11px;
        padding: 10px 5px;
    }

    #wrap_leftmenu ul.dropdown-menu{
        min-width: 314px;
    }

    .top-filters .top-filters-top{
        max-width: 120px;
    }

    .mode-preset, .preset-toggle{
        width: 100%;
    }

    .mode-preset, #preset_content{
        display: none;
    }

    #wrap_content.preset_open {
        width: 100%;
    }
}

/****************************************************************

@author : Jean-Pierre Rose
Alignement des logos de bas de pages en fonction de la résolution

*****************************************************************/

#footer-sieges-principaux {
    margin-left: 0.8%;
    height: 100%;
    width: 61.4%;
    float: left;
}
.footer-federales-column.principaux {
    width: 20%;
}
.footer-federales-column.autres,
.footer-federales-column.principaux {
    display: flex;
    align-items: center;
}
.footer-federales-counter {
    top: auto;
}
#autres-logo {
    top: auto;
}
.footer-federales-column > img {
    padding-top: 0;
}

@media only screen and (max-width: 1024px) {
    .footer-federales-column > img {
        padding-top: 0;
    }
}

@media only screen and (max-width: 1024px) {
    #autres-logo {
        top: auto;
    }
}
@media only screen and (max-width: 1024px) {
    .footer-federales-counter {
        top: auto;
        padding-left: 0;
    }
}

@media only screen and (max-width: 1024px) {
    .footer-federales-column.principaux,
    .footer-federales-column.autres {
        flex-direction: column;
        justify-content: center;
    }
}

