/**+++++++++++++++++++++++++DESKTOP DEFAULT++++++++++++++++++++++++++++++++++++++++++++++++**/
/**--------------------------------FONTS--------------------------------------------**/
@font-face {
  font-family: ImpactFont;
  src: url(/font/impact.ttf);
}

@font-face {
  font-family: ShadowsIntoLight;
  src: url(/font/ShadowsIntoLight.ttf);
}


@font-face {
  font-family: Inter;
  src: url(/font/Inter.ttf);
}


@font-face {
  font-family: Anton;
  src: url(/font/Anton.ttf);
}

@font-face {
  font-family: Poppins;
  src: url(/font/Poppins-Regular.ttf);
}


/**KEYFRAMES**/
@keyframes zoom {
  0% {
    transform: scale(1, 1);
  }

  50% {
    transform: scale(1.2, 1.2);
  }

  100% {
    transform: scale(1, 1);
  }
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(15deg);
  }

  50% {
    transform: rotate(-15deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-30px);
  }

  60% {
    transform: translateY(-15px);
  }
}

@keyframes reverse {

  30%, 70%, 100%{
    transform: scaleX(-1);
  }

}

@keyframes tilt-shaking {
  0% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(5deg);
  }

  50% {
    transform: rotate(0deg);
  }

  75% {
    transform: rotate(-5deg);
  }

  100% {
    transform: rotate(0deg);
  }
}


@keyframes loading {
  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(360deg);
  }
}


/**-----------------------DEFAULT--------------------------------------------------*/

/**CONTENT**/
html,
body {
  width: 100%;
  height: 100%;
  padding: 0;
  overflow-x: hidden;
}

body {
  /*background-image: url('https://static.pexels.com/photos/414171/pexels-photo-414171.jpeg');*/
  background-size: cover;
  -webkit-animation: slidein 100s;
  animation: slidein 100s;

  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;

  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;

  -webkit-animation-direction: alternate;
  animation-direction: alternate;

  font-family: Poppins !important;
}

/**HEADER TITLES**/
.page-header {
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
}

h1 {
  background-color: #000000;
  padding: 25px;
  font-family: Anton;
  color: rgb(255, 255, 255) !important;
  text-align: center;
  margin: 0 !important;
}

h2 {
  color: black;

  font-weight: bold !important;
  margin-top: 60px !important;
  text-align: center;
  padding-bottom: 15px;
}

h3 {
  text-align: center;
  font-weight: bold !important;
}

/**HYPER-LINK**/
a {
  text-decoration: none !important;
}

a:not(nav a, footer a) {
  color: black !important;
}

a .info-box:hover {
  box-shadow: 0px 5px 10px 5px rgba(0, 0, 0, 0.2);
}

/**paragraph + LABEL + BUTTON + HYPERLINK**/
p:not(footer p),
label,
button,
a:not(footer a, .side_button a) {
  height: fit-content;
  font-size: 1.1rem;
}

/**CONTAINER-FLUID**/
.container-fluid:not(#home) {
  max-width: 80%;
  padding: 0 !important;
}

.content .container-fluid:not(footer .container-fluid, .contract, .details, .invoices, .chart, .consum, .contracts) {
  margin-top: 110px;
  margin-bottom: 40px;
}

.content .container-fluid:not(footer .container-fluid, #home, #faq, .login-page, .contract, .contracts, .details, .invoices, .chart, .consum) {
  margin-top: 150px;
}

/**CONTENT WRAPPER**/
.content-wrapper>.content {
  padding: 0 !important;
}


/**DATEPICKER**/
.chart .datepicker.dropdown-menu {
  top: 330px !important;
}

/**GRID**/
.col-lg-12,
.col-lg-4,
.details .col-lg-6,
.contract .col-lg-6,
.contracts .col-lg-8,
footer .col-sm-12 {
  padding: 0 !important;
}

.contracts #Contracts .row {
  width: 100%;
}

/**CARD**/
.card,
.card-header,
.card-footer {
  border-radius: 0 !important;
}

.card {
  margin: 80px !important;
  text-align: center;
  z-index: 0;
  border: none;
  position: relative;
}

.card,
button,
.pagination li a:hover {
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.5);
}

/**CARD-HEADER**/
.card-img-top {
  border-radius: 0 !important;
}

.card-header {
  padding: 20px !important;
}

.card-header>.card-tools {

  margin-right: 0rem;
}

.card-header h1 {
  padding: 0;
}

.card-header h2 {
  margin: 0 !important;
  padding: 0 !important;
}

/**CARD-TITLE**/
.card-title {
  padding: 10px;
  color: #ffffff !important;
}

/**CARD BODY**/
.card-body {
  padding: 20px !important;
}

/**CARD FOOTER**/
.card-footer button {
  border: none;
}

.card-footer button:hover {
  box-shadow: none;
}

.card-footer p {
  margin: 0;
}

/**CARD FOOTER + BUTTONS**/
.card-footer,
button:not(.btn-danger, .side_button),
.side_button:hover {
  background-color: rgba(255, 237, 0, 1) !important;
  color: black !important;
  border: none !important;

}

/**CARD MAXIMAZED**/
.card.maximized-card {
  left: -80px !important;
}

/**BUTTON + INPUT + SELECT**/
button,
input,
.pagination,
select,
textarea {
  border-radius: 0 !important;
  --bs-pagination-border-radius: 0 !important;
}

/**BUTTON**/
button {
  width: fit-content;
  text-align: center;
  color: #000000;
  font-weight: 600;
  font-family: Inter;
  line-height: 30px;
  text-decoration: none;
  padding: 15px;
  border: none;
}

button:not(.side_button) a:hover {
  color: black !important;
}

/**FORMULAIRE**/
textarea {
  max-height: 175px;
}

.form-control {
  text-align: center;
}

form label {
  font-size: 1rem;
  font-weight: bold;
}

/**LABEL**/
label:not(.form-check-label):not(.custom-file-label) {
  font-weight: bold !important;
}

/**INFO-BOX**/
.info-box {

  color: #FFEFFB;
  background-color: black;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  margin: 10px 0px;
  min-height: inherit !important;
  padding: 5px;
  width: 100%;
}

.info-box:hover{
  background-color: rgba(255, 237, 0, 1) !important;
  color: black;
}

.info-box-icon {
  padding: 10px;
}

.info-box-content {
  text-align: center;
}

.info-box {
  border-radius: 0 !important;
  font-size: 1.2rem;
}

.info-box .col-lg-1 {
  padding: 0;
}

.info-box .col-lg-1:last-child {
  text-align: center;
  /*margin-left: auto;*/
}

.info-box .col-lg-1:last-child span {
  font-weight: bold;
}

.info-box-content,
.info-box-content .col-lg-4 {
  padding: 0 !important;
}

.info-box-content {
  text-align: left;
}


.info-box-content span {
  font-weight: 200;
}

.info-box .info-box-content,
.info-box-content div {
  font-weight: 600;
}

.contract_info {
  color: #000000 !important;
  border: #000000 2px solid;
  box-shadow: 5px 5px 10px 0px black;
}



/**BREADCRUMB**/

.breadcrumb li a {
  color: black;
}

.breadcrumb>li {
  display: inline-block;
}

.breadcrumb {
  background-color: transparent;
  font-size: 14px;
  margin-bottom: 10px;
  margin-top: 10px;
  padding: 8px 15px;
  justify-content: center;
}

.breadcrumb .active {
  font-weight: bold;
}

.breadcrumb>li+li:before {
  padding: 0 5px;
  color: #ccc;
}

.breadcrumb>li+li:before {
  content: '>\00a0';
}

.breadcrumb a:hover {
  font-weight: bold;
}

/**CONTENT HEADER**/
.content-header {
  margin-top: 150px;
}

.content-header h1 {
  font-size: 2.5rem;
}


/**TABLE**/

table.dataTable thead th {
  border-bottom: none;
  background-color: black;
  color: white;
  font-weight: normal;
  text-transform: uppercase;
}

table .dataTable tbody tr:hover {
  background-color: rgba(255, 251, 41, 0.778);
}

table.dataTable tbody td {
  border: none;
}

table.dataTable tbody td:first-child {
  border-left: none;
}

table.dataTable tbody td:last-child {
  border-right: none;
}

table.dataTable tfoot th {
  border-top: none;
  background-color: #3f3f3f;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
}

table.dataTable tfoot th:first-child {
  border-left: none;
}

table.dataTable tfoot th:last-child {
  border-right: none;
}

div.dataTables_wrapper div.dataTables_length select {
  width: 50% !important;
}


/**CARDS**/
.cards tbody tr {
  float: none;
  width: 19rem;
}

.cards tbody tr.even td {
  background-color: whitesmoke !important;
}

.cards tbody td {
  display: block;
}

.cards thead {
  display: none;
}

/**CHECKBOX**/
@supports (-webkit-appearance: none) or (-moz-appearance: none) {
  .checkbox-wrapper-13 input[type=checkbox] {
    --active: black;
    --active-inner: #fff;
    --focus: 2px #black;
    --border: #BBC1E1;
    --border-hover: black;
    --background: #fff;
    --disabled: #F6F8FF;
    --disabled-inner: #E1E6F9;
    -webkit-appearance: none;
    -moz-appearance: none;
    height: 21px;
    outline: none;
    display: inline-block;
    vertical-align: top;
    position: relative;
    margin: 0;
    cursor: pointer;
    border: 1px solid var(--bc, var(--border));
    background: var(--b, var(--background));
    transition: background 0.3s, border-color 0.3s, box-shadow 0.2s;
  }

  .checkbox-wrapper-13 input[type=checkbox]:after {
    content: "";
    display: block;
    left: 0;
    top: 0;
    position: absolute;
    transition: transform var(--d-t, 0.3s) var(--d-t-e, ease), opacity var(--d-o, 0.2s);
  }

  .checkbox-wrapper-13 input[type=checkbox]:checked {
    --b: var(--active);
    --bc: var(--active);
    --d-o: .3s;
    --d-t: .6s;
    --d-t-e: cubic-bezier(.2, .85, .32, 1.2);
  }

  .checkbox-wrapper-13 input[type=checkbox]:disabled {
    --b: var(--disabled);
    cursor: not-allowed;
    opacity: 0.9;
  }

  .checkbox-wrapper-13 input[type=checkbox]:disabled:checked {
    --b: var(--disabled-inner);
    --bc: var(--border);
  }

  .checkbox-wrapper-13 input[type=checkbox]:disabled+label {
    cursor: not-allowed;
  }

  .checkbox-wrapper-13 input[type=checkbox]:hover:not(:checked):not(:disabled) {
    --bc: var(--border-hover);
  }

  .checkbox-wrapper-13 input[type=checkbox]:focus {
    box-shadow: 0 0 0 var(--focus);
  }

  .checkbox-wrapper-13 input[type=checkbox]:not(.switch) {
    width: 21px;
  }

  .checkbox-wrapper-13 input[type=checkbox]:not(.switch):after {
    opacity: var(--o, 0);
  }

  .checkbox-wrapper-13 input[type=checkbox]:not(.switch):checked {
    --o: 1;
  }

  .checkbox-wrapper-13 input[type=checkbox]+label {
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    margin-top: 4px;
  }

  .checkbox-wrapper-13 input[type=checkbox]:not(.switch) {
    border-radius: 7px;
  }

  .checkbox-wrapper-13 input[type=checkbox]:not(.switch):after {
    width: 5px;
    height: 9px;
    border: 2px solid var(--active-inner);
    border-top: 0;
    border-left: 0;
    left: 7px;
    top: 4px;
    transform: rotate(var(--r, 20deg));
  }

  .checkbox-wrapper-13 input[type=checkbox]:not(.switch):checked {
    --r: 43deg;
  }
}

.checkbox-wrapper-13 {
  width: 0% !important;
  margin-left: 50px;
}

.checkbox-wrapper-13 * {
  box-sizing: inherit;
}

.checkbox-wrapper-13 *:before,
.checkbox-wrapper-13 *:after {
  box-sizing: inherit;
}


/**BTN TOOL**/
.btn-tool {
  margin-right: 10px;
  margin-top: 2px;
}

/**ROW**/
.row {
  margin-left: 0px !important;
}

#footer_contractsList footer .row,
.contract .row,
.invoices .row,
.details .row,
.page-subscription .row,
#news .row,
footer .row {
  width: 100% !important;
}

/**IMAGES*/
.brand-image {
  width: 180px;
}


/**------------------------------------NAV-----------------------------------------------------------*/
.dark-mode .page-item .page-link {
  color: white !important;
}

.dark-mode .page-item:not(.active) .page-link:focus,
.dark-mode .page-item:not(.active) .page-link:hover {
  background-color: rgba(255, 237, 0, 1) !important;
  border-color: rgba(255, 237, 0, 1) !important;
  color: black !important;
}

.navbar-collapse {
  justify-content: end;
}

.navbar-brand {
  margin: 0 !important;
  padding: 0;
}

.nav-item {
  margin-right: 10px;
}

.nav-link {
  margin: 0 !important;
}

.navbar-dark,
.contract_info {
  background-color: rgba(255, 237, 0, 1);
}

.navbar ul .dropdown-menu {
  top: 45px;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin-left: -5px;
}


nav .brand-image {
  margin: 0 !important;
}


/*REMOVE LIST ITEM*/
ul.navbar-nav {
  float: unset;
  text-align: center;
}

/*FIXED NAV*/
nav.main-header {
  position: fixed;
  width: 100%;
  top: 0;
  height: 60px;
}

/*Navbar hover*/
.navbar .nav-item:not(.dropdown) a:hover {
  color: black !important;
  background-color: transparent !important;
}

.navbar .dropdown-item:hover {
  font-weight: bold;
}

.navbar .dropdown-item.active {
  background-color: transparent !important;
  color: black !important;
  font-weight: bold;
}

.navbar .dropdown-menu {
  background-color: rgba(255, 237, 0, 1) !important;
  border: none;
}

.navbar .dropdown-toggle,
.navbar .dropdown-item {
  width: 200px !important;
  text-align: left;
}

.navbar .dropdown-toggle:hover {
  border: none;
}

.navbar .dropdown-item:hover {
  background-color: transparent;
}

.navbar .dropdown-item.active {
  color: black !important;
}

.navbar .dropdown-toggle {
  background-color: rgba(255, 237, 0, 1);
  color: black !important;
}

.navbar .dropdown-toggle:hover {
  border-color: rgba(255, 237, 0, 1) !important;
}


/*--------------------------HOME NAV COOKIES---------------------------------------------*/
li a.nav-link,
.js-cookie-consent-agree {
  font-weight: bold;
  padding: 10px !important;
  line-height: 25px;
  color: rgb(255, 255, 255);
  font-family: Inter;
  display: inline-block;
  background-color: black;
  font-size: 1.1rem;

}

.navbar-dark .navbar-toggler {
  background-color: #000000 !important;
}

.navbar-nav .nav-link {
  width: 100%;
  margin-top: 10px !important;
}

.navbar-dark .navbar-toggler-language {
  background-image: url('data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cg%20id%3D%22SVGRepo_bgCarrier%22%20stroke-width%3D%220%22%3E%3C/g%3E%3Cg%20id%3D%22SVGRepo_tracerCarrier%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3C/g%3E%3Cg%20id%3D%22SVGRepo_iconCarrier%22%3E%20%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M14.6921%205H9.30807C8.15914%205.00635%207.0598%205.46885%206.25189%206.28576C5.44398%207.10268%204.99368%208.20708%205.00007%209.356V14.644C4.99368%2015.7929%205.44398%2016.8973%206.25189%2017.7142C7.0598%2018.5311%208.15914%2018.9937%209.30807%2019H14.6921C15.841%2018.9937%2016.9403%2018.5311%2017.7482%2017.7142C18.5562%2016.8973%2019.0064%2015.7929%2019.0001%2014.644V9.356C19.0064%208.20708%2018.5562%207.10268%2017.7482%206.28576C16.9403%205.46885%2015.841%205.00635%2014.6921%205Z%22%20stroke%3D%22%23FFFFFF%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3C/path%3E%20%3Cpath%20d%3D%22M8.00012%209C7.58591%209%207.25012%209.33579%207.25012%209.75C7.25012%2010.1642%207.58591%2010.5%208.00012%2010.5V9ZM12.0001%2010.5C12.4143%2010.5%2012.7501%2010.1642%2012.7501%209.75C12.7501%209.33579%2012.4143%209%2012.0001%209V10.5ZM11.2501%209.75C11.2501%2010.1642%2011.5859%2010.5%2012.0001%2010.5C12.4143%2010.5%2012.7501%2010.1642%2012.7501%209.75H11.2501ZM12.7501%208C12.7501%207.58579%2012.4143%207.25%2012.0001%207.25C11.5859%207.25%2011.2501%207.58579%2011.2501%208H12.7501ZM12.0001%209C11.5859%209%2011.2501%209.33579%2011.2501%209.75C11.2501%2010.1642%2011.5859%2010.5%2012.0001%2010.5V9ZM15.5001%2010.5C15.9143%2010.5%2016.2501%2010.1642%2016.2501%209.75C16.2501%209.33579%2015.9143%209%2015.5001%209V10.5ZM15.5001%209C15.0859%209%2014.7501%209.33579%2014.7501%209.75C14.7501%2010.1642%2015.0859%2010.5%2015.5001%2010.5V9ZM16.0001%2010.5C16.4143%2010.5%2016.7501%2010.1642%2016.7501%209.75C16.7501%209.33579%2016.4143%209%2016.0001%209V10.5ZM16.1138%2010.1811C16.3519%209.84222%2016.2702%209.37443%2015.9313%209.13631C15.5923%208.8982%2015.1246%208.97992%2014.8864%209.31885L16.1138%2010.1811ZM11.2737%2013.2783C10.9579%2013.5464%2010.9193%2014.0197%2011.1874%2014.3354C11.4555%2014.6512%2011.9288%2014.6898%2012.2445%2014.4217L11.2737%2013.2783ZM9.29973%2014.9003C8.96852%2015.149%208.90167%2015.6192%209.15041%2015.9504C9.39916%2016.2816%209.8693%2016.3485%2010.2005%2016.0997L9.29973%2014.9003ZM12.2569%2014.407C12.5667%2014.1321%2012.595%2013.6581%2012.3201%2013.3483C12.0453%2013.0384%2011.5712%2013.0101%2011.2614%2013.285L12.2569%2014.407ZM11.1691%2014.3091C11.4249%2014.6349%2011.8963%2014.6917%2012.2222%2014.436C12.548%2014.1802%2012.6048%2013.7088%2012.3491%2013.3829L11.1691%2014.3091ZM11.186%2011.4467C11.0185%2011.0678%2010.5756%2010.8966%2010.1968%2011.0641C9.81796%2011.2316%209.64667%2011.6745%209.8142%2012.0533L11.186%2011.4467ZM12.3609%2013.4024C12.1137%2013.07%2011.6439%2013.001%2011.3115%2013.2482C10.9792%2013.4954%2010.9101%2013.9652%2011.1573%2014.2976L12.3609%2013.4024ZM13.8953%2016.6608C14.2602%2016.8567%2014.7149%2016.7198%2014.9109%2016.3548C15.1068%2015.9899%2014.9699%2015.5352%2014.605%2015.3392L13.8953%2016.6608ZM8.00012%2010.5H12.0001V9H8.00012V10.5ZM12.7501%209.75V8H11.2501V9.75H12.7501ZM12.0001%2010.5H15.5001V9H12.0001V10.5ZM15.5001%2010.5H16.0001V9H15.5001V10.5ZM14.8864%209.31885C13.8552%2010.7867%2012.6412%2012.1172%2011.2737%2013.2783L12.2445%2014.4217C13.7091%2013.1782%2015.0093%2011.7532%2016.1138%2010.1811L14.8864%209.31885ZM10.2005%2016.0997C10.7113%2015.7161%2011.4531%2015.1201%2012.2569%2014.407L11.2614%2013.285C10.4871%2013.9719%209.77692%2014.5419%209.29973%2014.9003L10.2005%2016.0997ZM12.3491%2013.3829C11.8824%2012.7884%2011.4917%2012.1379%2011.186%2011.4467L9.8142%2012.0533C10.1703%2012.8586%2010.6255%2013.6164%2011.1691%2014.3091L12.3491%2013.3829ZM11.1573%2014.2976C11.8855%2015.2767%2012.8203%2016.0835%2013.8953%2016.6608L14.605%2015.3392C13.7239%2014.8661%2012.9578%2014.2048%2012.3609%2013.4024L11.1573%2014.2976Z%22%20fill%3D%22%23FFFFFF%22%3E%3C/path%3E%20%3C/g%3E%3C/svg%3E');
  background-size: cover; /* Adjust as necessary */
  background-repeat: no-repeat;
}

ul.navbar-language{
  list-style-type: none;
  margin-bottom: 0;
}

/**-----------------------------------HOME-----------------------------------------------------------*/
#home {
  max-width: 100%;
  background-color: white;
  padding: 0;
}


#second_page .row .col-lg-6:last-child p:nth-last-child(2) {
  color: red;
}

/**SIDE BUTTON**/
.side_button {
  position: fixed;
  right: 0;
  bottom: 198px;
  padding: 10px;
  background-color: red !important;
  color: white !important;
  font-family: 'Anton';
  font-size: 1.3rem;
  text-transform: uppercase;
  z-index: 1;
  box-shadow: none;
}

#modal_subscription {
  position: absolute;
}

#icon_modal_subscription img {
  height: 40px;
}

#modal_subscription button {
  width: 110px;
  height: 110px;
  padding: 10px !important;
  bottom: 245px;
}

.showSub {
  width: 110px;
}

#icon_modal_subscription {
  height: 50px;
  padding-top: 0;
  padding-bottom: 0;

}

.contractForm .important {
  color: red !important;
  font-weight: bold;
}

.contractForm .delivery_address .form-card,
.contractForm .sepa .form-card {
  min-height: 200px !important;
}


/**MODAL**/
.modal a {
  color: skyblue !important;
  font-weight: bold;
}

.modal-content {
  border-radius: 0 !important;
}

.modal-dialog {
  margin: auto !important;
  margin-top: 200px !important;
}

.modal-title {
  font-size: 1.7rem;
  background-color: transparent;
  color: black !important;
  padding: 0;

}

.modal-header {
  margin: auto;
}

.modal-body {
  font-size: 1rem;
  text-align: center;
}

.modal button.btn-close {
  margin-left: 95%;
  padding: 5px;
  background-color: transparent !important;
  box-shadow: none;
}

.modal button.btn-close:hover {
  background-color: transparent !important;
}

.modal button {
  margin: auto;
}

/**IMAGES**/
.equals {
  height: 30px;
  margin-bottom: 20px;
  margin-top: 20px;
}

.page img {
  margin-bottom: 25px;
}


/**HANDS ANIMATION**/
.stones .col-lg-4:not(:last-child) .main {
  animation-duration: 2s;
  animation-timing-function: linear;
  animation-iteration-count: 2;
}

.stones .col-lg-4 .main:hover {
  animation-duration: 2s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.stones .col-lg-4:first-child .main {
  animation-name: bounce;
}

.stones .col-lg-4:nth-child(2) .main {
  animation-name: zoom;
  animation-delay: 3s;
}

/**CYCLER SCISSORS**/
#cycler {
  max-width: 45%;
}

#cycler img {
  position: absolute;
  opacity: 0;

}

#cycler img.active {
  opacity: 1;
}

.stones .col-lg-4:nth-child(3) div:last-child {
  margin-top: 400px;
}


.active .row .col-lg-6:first-child img,
.active:not(#buy_electricity) .row .col-lg-4:nth-child(3) img {
  animation-name: bounce;
  animation-duration: 2s;
  animation-timing-function: linear;
  animation-iteration-count: 2;
}

.active .row .col-lg-4:nth-child(3) img:nth-child(1) {
  animation-name: reverse;
  animation-duration: 2s;
  animation-timing-function: linear;
  animation-iteration-count: 2;
}


.active .row .col-lg-6:last-child img,
.active .row .col-lg-4:nth-child(1) img {
  animation-name: tilt-shaking;
  animation-duration: 0.15s;
  animation-timing-function: linear;
  animation-iteration-count: 20;
}


.active:not(#buy_electricity) .row .col-lg-4:nth-child(2) img {
  animation-name: loading;
  animation-duration: 2s;
  animation-timing-function: linear;
  animation-iteration-count: 2;
}

.active:not(#produce_electricity) .row .col-lg-4:nth-child(2) img:not(.equal) {
  animation-name: zoom;
  animation-duration: 2s;
  animation-timing-function: linear;
  animation-iteration-count: 2;
}

.description {
  background-color: rgba(255, 237, 0, 1);
  text-align: center !important;
}

.page img:not(.img_small img) {
  height: 110px;
}

.img_small{
  padding: 20px!important;
}

.equal {
  height: 50px !important;
}

.page.active {
  transform: translateY(0);
  opacity: 1;
}

/**ALL PAGES**/
.stones .col-lg-4:first-child,
.description .col-lg-4:first-child,
#buy_electricity .row .col-lg-4:first-child,
#produce_electricity .row .col-lg-4:first-child,
#second_page .row .col-lg-6:first-child {
  margin-right: 0;
  margin-left: auto;
}

.stones .col-lg-4:nth-child(2),
.description .col-lg-4:nth-child(2),
#buy_electricity .row .col-lg-4:nth-child(2),
#produce_electricity .row .col-lg-4:nth-child(2) {
  margin-right: 0;
  margin-left: 0;
  padding: 0;
}

.stones .col-lg-4:last-child,
.description .col-lg-4:last-child,
#buy_electricity .row .col-lg-4:last-child,
#produce_electricity .row .col-lg-4:last-child,
#second_page .row .col-lg-6:last-child {
  margin-left: 0;
  margin-right: auto;
}

/**ALL PAGES WITHOUT THE FIRST**/
.page {
  margin-bottom: 60px !important;
  text-align: center;
}

div+.page {
  margin-bottom: 250px;
  margin-top: 80px;
}


/**FIRSTPAGE HANDS**/
.stones {
  background-color: rgba(255, 237, 0, 1);
  /*margin-top: 70px !important;*/
  width: 100%;
}

.stones .steen:first-child .main {
  margin-bottom: -10px;
  margin-top: 10px;
}

.stones .col-lg-4:nth-child(2) img {
  margin-left: 20px;
}

.description {
  padding-bottom: 120px !important;
}

.main {
  height: 400px;
}

.steen {
  text-align: center;
}

.titre-main {
  width: 100%;
  font-family: ImpactFont;
  font-size: 2.2rem;
  text-align: center;
  margin: 0;
}

.description-main {
  margin: 0px;
  font-size: 1.5rem !important;
  line-height: 30px;
  color: rgb(237, 20, 19);
  font-family: ShadowsIntoLight !important;
  padding-top: 10px;
  padding-bottom: 10px;
  font-weight: bold;
}

.slogan {
  margin-top: -45px;
  margin-bottom: 65px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/**SECOND PAGE**/
#second_page .row {
  margin-top: 50px;
}

#price {
  color: red;
  font-weight: bold;
}

/**3RD PAGE**/
.number {
  font-size: 4rem !important;
  color: rgb(0, 0, 0);
  font-family: Anton;
}

/**3RD + 4TH PAGE**/
#buy_electricity .row,
#produce_electricity .row {
  margin-bottom: 25px;
  margin-top: 70px;
}

#buy_electricity .row .col-lg-4:first-child h4,
#buy_electricity .row .col-lg-4:last-child h4 {
  margin-top: 40px;
}

/**LAST PAGE**/
#cooperative h1 {
  margin-bottom: 20px !important;
}

/**--------------------CONTACT-----------------------------**/
.page-subscription .card {
  text-align: center;
  margin-top: 30px !important;
}

.page-subscription .col-lg-6,
.page-subscription .col-lg-12 {
  padding-left: 0;
  padding-right: 0;
}

.page-subscription .row .col-lg-6:nth-child(2) {
  padding-left: 10px;
  padding-right: 0;
}


/**---------------------------FAQ + CONSUM---------------------------**/
#faq .accordion,
.consum .accordion {
  margin-bottom: 20px !important;
  margin-top: 35px !important;
}


#faq .card,
.consum .card {
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 0px;
  border: 0;
  font-weight: 400;
  text-align: left;
  color: rgb(3, 3, 3);
  font-family: Poppins;
  box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.2)
}

#faq .card-body {
  border-bottom: 2px solid rgba(0, 0, 0, 0.2);
  border-left: 2px solid rgba(0, 0, 0, 0.2);
  border-right: 2px solid rgba(0, 0, 0, 0.2);
  background-color: white;
}

#faq .card .card-header,
.consum .card .card-header {
  border: 2px solid rgba(0, 0, 0, 0.2);
  padding-bottom: 10px;
  padding-top: 10px;
  background-color: white;
}

#faq .card .card-header a,
#faq .card-body p {
  margin-bottom: 0 !important;
}

#faq .card .card-header .btn-header-link,
.consum #faq .card .card-header .btn-header-link {
  display: block;
  color: #222;
  padding: 0;
  border: 0;
  font-weight: bold;
  text-align: left;
  font-size: 1.15rem;
}

#faq .card .card-header .btn-header-link:after {
  content: "\f107";
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  float: right;
}



#faq .card .card-header .btn-header-link.collapsed:after {
  content: "\f106";
}

#faq .card .collapsing,
.consum .card .collapsing {
  line-height: 30px;
}

#faq .card .collapse,
.consum .card .collapse {
  border: 0;
}

#faq .card .collapse.show,
.consum .card .collapse.show {
  line-height: 30px;
  color: #222;
}

#faq .card,
.consum .card {
  margin-top: 0px;
}

#faq,
.consum {
  margin-top: 150px;
}

#faq .card,
.consum .card {
  margin-top: 10px !important;
  margin-bottom: 10px !important;
}

#faq .card-body a {
  color: skyblue !important;
  font-weight: bold;
}


/**------------------------------------------------LOGIN-------------------------------------------------------------------*/

.login-page,
.reset-page {
  font-family: Poppins;
  height: 600px;
  padding-top: 20px;
  background-color: white;
  text-align: center;
}

.login-page .card,
.reset-page .card {
  margin-top: 30px !important;
}

.reset-card-body {
  background-color: #fff;
  border-top: 0;
  color: #666;
  padding: 20px;
}

.login-page .input-group,
.reset-page .input-group {
  display: block;
}

.login-page input,
.reset-page input {
  width: 100% !important;
}


.login-page button:hover,
.reset-page button:hover {
  background-color: rgba(255, 237, 0, 1);
  color: #000000;
  box-shadow: 0px 0px 10px 0px black;
}

.login-box,
.register-box,
.reset-box {
  width: 80%;
}

.login-page form .row,
.reset-page form .row {
  margin-bottom: 20px;
  width: 100%;
}

.login-page label,
.reset-page label {
  color: #000000;
}

.login-page a {
  font-size: 0.8rem !important;
  text-decoration: underline !important;
}

.login-page a:hover {
  text-decoration: none !important;
  color: red !important;
}


.login-box,
.register-box,
.reset-box {
  width: fit-content;
  margin: auto;
}

/**---------------------------CUSTOMER AREA------------------------------**/


/**CONTRACTS**/

.contracts .more {
  display: none;
}


.contracts label {
  margin-left: -10px;
}

.addMore {
  width: fit-content !important;
}

.contracts .addMore {
  margin: auto;
}

.contracts input {
  height: 36px;
}


.contracts #Contracts .row .info-box .info-box-content {
  display: inline-flex;
  flex-direction: row;
}

#addMore .info-box-icon {
  padding-left: 0;
}

.contracts #Contracts .row .info-box .info-box-content .col-xl-2:last-child,
.contracts #Contracts .row .info-box .info-box-content .col-xl-2:nth-last-child(2) {
  text-align: right;
}

.contracts p {
  margin: 0;
}

/**INVOICE**/
.invoices h3 {
  font-size: 1.75rem;
  padding: 5px;
  margin: 0;
}

.invoice {
  font-family: Anton;
  font-weight: 100;
}


.invoices .btn-tool {
  color: #fff;
  margin: 0;
}

.invoices table.dataTable thead .sorting:before,
.invoices table.dataTable thead .sorting:after {
  margin-bottom: -5px;
  opacity: 1;
}

.invoices table.dataTable thead .sorting:hover {
  background-color: rgba(255, 237, 0, 1);
  color: black;
}

.invoices table.dataTable thead .sorting_asc {
  background-color: skyblue;
}

table.dataTable thead .sorting_desc {
  background-color: rgb(255, 0, 0, 0.8);
}


div.invoices .card-header {
  background-color: white;
  border: none;

}

div .page-item.active .page-link {
  background-color: rgba(255, 237, 0, 1) !important;
  border-color: rgba(255, 237, 0, 1) !important;
  color: black !important;
}

div.invoice .page-item .page-link {
  color: black !important;
}

.invoices .col-sm-12 {
  padding: 0 !important;
}

.invoices .pagination {
  padding-right: 10px;
  padding-bottom: 10px;
}



/**INVOICE + CHART**/
.invoices .card,
.chart .card {
  margin-top: 15px !important;
}

/**CHART**/
.chart #button button:not(:last-child) {
  margin-right: 2% !important;
}

.chart {
  padding-left: 0;
  padding-right: 0;
}

.chart .row {
  padding-top: 5px;
  margin: 0 !important;
}

.chart select {
  margin-left: 10px;
  margin-right: 10px;
}

.chart button {
  height: 40px;
}

.chart .col-sm-6 {
  padding: 0;
  display: inline-flex;
  justify-content: space-evenly;
}

.chart input {
  margin-left: 10px !important;
  margin-right: 8px !important;
  margin-bottom: 10px !important;
}

.chart label,
.chart .input-group-addon {
  margin-top: 7px;
}

.chart .input-group {
  display: contents;
}

.chart button {
  margin-right: 10px;
}

.chart .card-header {
  background-color: black !important;
}

/**CONTRACT**/
.contract {
  margin-top: 80px;
}

.contract .col-lg-3:first-child {
  padding-left: 0;
}

.contract .col-lg-3:last-child {
  padding-right: 0;
}

.contract .info-box-content:not(.contract_info .info-box-content) {
  padding-top: 10px !important;
}

.contract .info-box-content p {
  margin: 0;

}

.contract .col-lg-9 {
  text-align: left;
}

.contract .total_procent {
  padding-left: 5px;
}

/**CONTRACT + DETAILS*/
.contract .col-lg-4:nth-child(2),
.details .col-lg-4:nth-child(2) {
  padding: 0 !important
}

.contract .col-lg-4:nth-child(2),
.details .col-lg-4:nth-child(2) {
  padding-left: 20px !important;
  padding-right: 20px !important;
}

/**DETAILS**/

.details .col-lg-4:nth-child(3),
.details .col-lg-6:last-child {
  padding-right: 0 !important;
}

.details .col-lg-6:last-child {
  padding-left: 20px !important;
}

.details .info-box:not(.contract_info) {
  height: 150px;
}

.details .col-lg-9 p {
  margin-bottom: 0;
}

.details .col-lg-9 {
  text-align: left;
}

.details .col-lg-3 .info-box-icon i {
  font-size: 4.2rem;
}

.details .col-lg-6:last-child .info-box,
.details .col-lg-6:nth-last-child(2) .info-box {
  height: 100px;
}

.details .info-box p {
  margin-top: 10px;
}




/**----------------------------FOOTER------------------------------------**/
#footer_home footer,
#footer_faq footer{
  position: relative;

}

.fa:hover {
  opacity: 1;
}

.fa-facebook,
.fa-instagram {
  background-color: rgba(255, 237, 0, 1);
  color: black !important;
  padding: 6px;
  font-size: 25px !important;
  width: 35px;
  text-align: center;
  text-decoration: none;
  margin: 10px 2px;
  border-radius: 50%;
  height: 35px;
}

footer {

  font-weight: bold;
  margin-top: 10px;
  width: 100%;
  padding: 25px;
  background-color: #000000;
  color: white;
  bottom: 0;
  padding-left: 0;
  padding-right: 0;
  text-align: center;
  z-index: 1 !important;

}

footer .brand-image {
  text-align: center;
}


footer p {
  font-size: 0.85rem !important;
  margin: 5px;
}

footer .container-fluid {
  width: 90% !important;
}

footer svg {
  height: 25px !important;
  margin-bottom: 5px !important;
  margin-right: 15px;
  fill: white !important;
}

footer a {
  color: white !important;

}

footer button {
  margin: auto;
}

footer button a {
  color: black !important;
}

footer p a:hover {
  color: red !important;
}

footer .fa-facebook:hover,
footer .fa-instagram:hover,
button:not(.side_button, .consum button):hover {
  background-color: red !important;
}

footer #copyright {
  text-align: center;
  margin-top: 10px;
}

footer #copyright svg {
  height: 15px !important;
  margin-right: 5px !important;
}


#footer_news footer .container-fluid {
  padding: 0;
}

/**-------------------------------COOKIES--------------------------------------------------------------------------------*/
div.js-cookie-consent {
  position: fixed;
  bottom: 0;
  background: rgba(255, 237, 0, 1);
  width: 100%;
}

.cookie-consent__message {
  text-align: center;
  margin-top: 18px;
}

.js-cookie-consent-agree {
  width: auto;
}

/**+++++++++++++++++++++++++MOBILE++++++++++++++++++++++++++++++++++++++++++++++++**/

/**----------MEDIA QUERY  <=320PX -----------------**/
@media screen and (max-width:320px) {

  /**------------------------DEFAULT----------------------------------**/
  /**--------------------LOGO------------------*/
  .brand-image {
    margin: 0 !important;
  }

  /**---------------------------Title-----------------------*/
  h1 {
    padding: 20px;
    font-size: 1.7rem !important;
  }

  h2 {
    font-size: 1.3rem !important;
  }

  /**-----------------------MARGIN TOP PAGES---------------------------------------------*/

  .page-subscription,
  #news,
  #faq {
    margin-top: 170px !important;
    margin-bottom: 40px !important;
  }

  .content .container-fluid:not(footer .container-fluid, .login-page, .contract, .invoices, .details, .chart) {
    margin-top: 130px;
  }

  .content .container-fluid:not(footer .container-fluid, #home, .contract, .invoices, .page-subscription, .chart) {
    margin-top: 200px;
  }

  .content .container-fluid:not(footer .container-fluid, #home, #faq, .invoices, .chart, .login-page, #news, .page-subscription) {
    margin-top: 0;
  }

  .content .container-fluid:not(footer .container-fluid, .login-page, .contract, .invoices, .details, .chart) {
    margin-bottom: 20px;
  }


  /**ROW*/
  .row {
    margin-left: 0px !important;
    margin-right: 0px !important;
    margin-bottom: 0px;
  }

  /**GRID**/
  .col-lg-10 {
    padding-left: 0 !important;
    padding-right: 0;
  }

  .col-lg-6 {
    padding: 0 !important;
  }

  /**FORM*/
  form input {
    margin-top: 0px;
  }

  input {
    margin-top: 10px !important;
  }

  #search {
    font-size: 0.59rem !important;
    height: 32px;
    margin-top: 0 !important;
  }


  .form-check-label {
    margin-bottom: 10px;
  }

  .form-check-label {
    margin-bottom: 10px;
  }


  /**P + LABEL + BUTTON + A*/
  p:not(footer p),
  label,
  button,
  a:not(footer a) {
    font-size: 1rem !important;
  }

  /**CONTENT-HEADER**/

  .content-header {
    margin-top: 150px;

  }

  /**CARD**/

  .card {
    box-shadow: none;
  }

  .card-footer a,
  .card-footer button {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0.9rem !important;
  }

  /**INFO BOX**/
  .info-box #pod {
    font-size: 0.6rem;
  }

  .info-box-content div {
    padding: 0px;
    text-align: center;
  }

  .info-box {
    margin-bottom: 0 !important;
  }

  .contract .info-box:not(.contract_info) .info-box-content {
    font-size: 1rem;
  }

  .info-box-billing {
    margin-bottom: 10px !important;
  }

  .info_box svg {
    width: 10px;
  }


  /**BUTTON**/
  .btn-dark {
    margin-top: 8px;
    margin-bottom: 8px;
  }

  .fa-plus {
    font-size: 0.8rem;
    width: fit-content;
  }

  .addMore {
    padding-bottom: 0px;
  }

  input[type=button] {
    margin-bottom: 20px !important;
  }


  /**TABLE**/
  div.dataTables_wrapper div.dataTables_length {
    text-align: left !important;
  }

  .dataTables_info {
    font-size: 0.5rem;
    padding-left: 10px;
  }

  .table-responsive {
    overflow-x: visible !important;
  }

  div.dataTables_wrapper div.dataTables_filter input {
    width: 60% !important;
  }

  div.dataTables_wrapper div.dataTables_length select {
    width: 42% !important;
    margin: 10px;
  }

  div.dataTables_wrapper div.dataTables_info {
    white-space: wrap !important;
    line-height: 15px;
  }

  /**CHECKBOX**/
  .checkbox-wrapper-13 {
    margin-right: 50px;
  }

  .checkbox-wrapper-13 input[type=checkbox]+label {
    display: block;
  }


  /**MODAL**/
  .modal button.btn-close {
    margin-left: 90% !important;
  }

  .modal-dialog {
    margin-left: 20px !important;
    margin-right: 20px !important;
    padding: 10px !important;
  }

  /**------------------NAV---------------------------------**/
  #navbarCollapse {
    margin: 0;
    flex: 100%;
  }

  ul.navbar-nav {
    margin-right: 0%;
  }

  .main-header .nav-link {
    margin-right: 0px;
    width: 7rem;
    text-align: center;
    margin-bottom: 2%;
  }

  .nav-link,
  .nav-item {
    text-align: center;
  }

  .navbar-no-expand {
    -ms-flex-direction: row;
    flex-direction: column;
  }

  .navbar-nav {
    padding-left: 15px;
  }

  li a.nav-link {
    padding: 0px;
    margin: 8px;
  }

  .navbar-nav .nav-link {
    font-size: 1rem;
  }

  .navbar-toggler-icon {
    width: 1rem;
    height: 1rem;
  }

  .navbar-nav {
    margin: 0;
  }

  .navbar-nav {
    margin: 0;
  }

  li a.nav-link {
    padding: 0px;
    margin: 8px;
  }

  .navbar-nav {
    margin: 0;
  }

  .show .dropdown-menu {
    margin-top: 0px;
  }

  .nav-item {
    margin-right: 0px;
  }

  .navbar-toggler {
    background-color: #000000 !important;
  }

  .navbar>.container-fluid {
    margin-top: 10px;
    margin-bottom: 10px;
  }

  li.dropdown,
  li.dropdown a {
    margin-bottom: 5px !important;
  }

  /**--------------Home--------------------*/
  /**FIRSTPAGE**/
  .stones {
    flex-direction: row;
    padding-bottom: 0 !important;
    margin-top: -40px;
  }

  .stones .col-lg-4:last-child {
    margin-right: 25px;
  }

  .stones .steen:first-child .main {
    margin: 0px !important;
  }

  .stones .col-lg-4:nth-child(2) img {
    margin-left: 0px;
  }

  .stones .col-lg-4:nth-child(3) div:last-child {
    margin-top: 120px;
    margin-left: 10px;
  }

  .steen {
    max-width: 30% !important;
  }

  .titre-main {
    font-size: 1.8rem !important;
  }

  .main {
    height: 120px;
  }

  /**CYCLER**/
  #cycler {
    max-width: 40%;
  }

  #cycler img:last-child {
    height: 100px !important;
    margin-top: 15px !important;
  }

  /**DESCTITION HANDS**/
  .description {
    text-align: center !important;
    background-color: rgba(255, 237, 0, 1);
    padding-bottom: 80px !important;
  }

  .description-main {
    font-size: 1.3rem !important;
  }

  .slogan {
    margin-left: 20px !important;
    margin-right: 20px !important;
    margin-top: -70px !important;
  }

  #first_page .col-sm-12 {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /**SIDE BUTTON**/
  .side_button {
    width: 100px;

  }

  #modal_subscription button {
    width: 100px;
    height: fit-content;

  }

  #icon_modal_subscription {
    width: fit-content;
  }


  /**ALL PAGE WITHOUT FIRST**/
  div+.page {
    margin-bottom: 0px;
    margin-top: 0px;
  }

  .page {
    padding: 20px;
  }

  /**3RD + 4TH PAGE**/
  #buy_electricity .row,
  #produce_electricity .row {
    margin-top: 0 !important;
  }


  /**------------FAQ--------------------**/
  #faq .card .card-header a {
    margin-top: 0 !important;
    font-size: 0.7rem !important;
  }

  #faq .card .card-body,
  #faq .card .card-body p {
    font-size: 0.7rem !important;
    line-height: 25px;
  }



  /**-----------------------------CONTACT---------------------------------*/
  .page-subscription .subscription {
    margin: auto !important;
  }


  /**-----------------------LOGIN------------------------------------*/

  .login-page label {
    margin-top: 10px;
  }

  .login-page input {
    margin-top: 0px !important;
  }

  .login-page .input-group,
  .reset-page .input-group {
    margin-top: 10px !important;
  }

  .login-page,
  .reset-page {
    height: 400px;
    margin-top: 170px !important;
  }

  .login-page .form-control:focus,
  .reset-page .form-control:focus {
    border-right: lightskyblue 1px solid !important;
  }

  .login-page .is-invalid,
  .reset-page .is-invalid {
    border-right: 1px solid red !important;
  }

  .login-page .col-lg-6,
  .reset-page .col-lg-6 {
    margin-top: 10px;
  }

  /**------------------------CUSTOMER AREA---------------------------------------------------**/
  /**--------------------------------Contracts----------------------------------------*/

  .contracts {
    margin-top: 0 !important;
  }

  .contracts .checkbox-wrapper-13:first-child label label {
    margin-left: -5px !important;
  }

  .contracts .checkbox-wrapper-13:last-child label label {
    margin-left: -10px !important;
  }

  .contracts #help_zoom p {
    padding: 10px;
    margin: 0;
  }

  .contracts canvas {
    padding: 0px 10px;
  }

  /**----------------------------CHART---------------------------------------*/
  .chart .col-sm-6 {
    display: block;
  }

  .chart #button {
    margin-top: 10px;
  }

  #resetZoom {
    float: unset !important;
    width: fit-content;
  }

  .chart input {
    width: 100% !important;

  }

  .chart .input-group-addon,
  .chart .input-group-addon p {
    margin: auto !important;
  }

  .chart #end_date {
    margin-top: 10px !important;
  }

  .chart .col-md-7 {
    display: block;
  }

  .chart select {
    margin-top: 10px;
  }

  .chart button {
    margin-left: 8px;
    margin-right: 0;

  }

  .chart .card-body {
    padding: 5px;
  }

  .chart .input-group {
    display: inline-flex;
  }

  .chart input,
  .chart label {
    margin-top: 0 !important;
  }

  .invoices .card,
  .chart .card {
    margin-top: 0px !important;
    box-shadow: none;
  }

  /**------------------------------INVOICE-------------------------------------*/
  .invoices h3 {
    font-size: 1.3rem;
  }

  .invoices .row {
    margin-top: 0px;
  }

  .invoices div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    justify-content: center;
    margin-top: 10px;
  }


  .invoices .page-item.active .page-link,
  .page-item .page-link {
    font-size: 0.8rem !important;
    line-height: 25px;
  }


  /**-------------------FOOTER-----------------------------------------------------*/
  footer .row,
  footer .row .col-lg-3,
  footer .row .col-lg-5,
  footer .row .col-lg-2 {
    margin: 0;
    padding: 0;
  }

  footer .row {
    text-align: center;
  }


  footer .row div {
    padding: 0;
    margin: 0;
  }

  footer .container-fluid {
    margin: 0;
    max-width: 100% !important;
    width: 100% !important;
  }

  /*----------------------------MEDIA QUERY HEIGHT -----------------------------------*/

  @media screen and (max-height:620px) {
    #footer_news footer {
      position: relative !important;
      width: 100% !important;
    }
  }

}

/**----------MEDIA QUERY  <=362PX -----------------**/
@media screen and (max-width:362px) {

  .info-box-content #pod span {
    font-size: 0.7rem !important;
  }

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

    footer p,
    footer a {
      font-size: 0.7rem !important;
    }
  }

}

/**------------MEDIA QUERY >=321PX <=425PX------------**/
@media screen and (min-width:321px) and (max-width:425px) {

  /**-------------------------------------DEFAULT------------------------------------------------**/

  /**CONTAINER-FLUID**/
  .content>.container-fluid {
    max-width: 100%;
  }

  .content .container-fluid:not(footer .container-fluid, .login-page, .contract, .invoices, .details, .chart, .contracts) {
    margin-top: 30%;

  }

  .content .container-fluid:not(footer .container-fluid, #home, .contract, .login-page, .contracts, .invoices, .chart, .details, .consum) {
    margin-top: 170px !important;
  }

  /**INFO-BOX**/
  .info-box-icon {
    margin: auto !important;
  }

  .info-box-content {
    padding: 10px !important;
  }

  .info-box .col-lg-1:last-child span {
    margin-left: 0px;
  }


  .info-box-content div {
    padding: 5px;
    text-align: center;
  }

  .contract .info-box:not(.contract_info) .info-box-content {
    font-size: 1rem;
  }

  /**CONTENT-HEADER**/
  .content-header {

    margin-top: 150px;

    padding-bottom: 0;
  }


  /**CONTAINER**/
  .container {
    margin-top: 0px;
  }

  /**FORM**/
  input {
    margin-bottom: 0 !important;
  }

  .form-control {
    font-size: 0.75rem !important;
  }

  #search {
    font-size: 0.7rem;
  }


  /**P+LABEL+BUTTON+HYPERLINK**/
  p:not(footer p),
  label,
  button,
  a:not(footer a) {
    font-size: 1rem;
  }


  /**LABEL**/
  label {
    text-align: center !important;
    margin-top: 10px;
  }


  /**TITLE**/
  h1 {
    font-size: 1.7rem !important;
  }

  h2 {
    font-size: 1.4rem !important;
  }

  /**CARD**/
  .card {
    margin-bottom: 10px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-shadow: none !important;
  }

  /**CARD-BODY**/
  .card-body {
    line-height: 25px;
  }

  .card-body,
  #faq .card-body p {
    font-size: 0.8rem !important;
  }

  /**CARD FOOTER**/
  .card-footer a,
  .card-footer button {
    margin: 0 !important;
    font-size: 0.9rem !important;
    padding: 0 !important;
  }

  /**CARD-TITLE**/
  .card-title {
    margin-bottom: 0 !important;
  }


  /**BUTTON + INPUT**/
  button,
  input {
    margin-bottom: 20px;
  }


  /**BUTTON**/
  .btn {
    vertical-align: top;
  }

  .fa-plus {
    font-size: 0.8rem;
    width: fit-content;
  }


  .btn-dark {
    margin-left: 0px;
    margin-bottom: 20px;
  }


  input[type=button] {
    margin-bottom: 20px !important;
  }



  /**CHECKBOX**/
  .checkbox-wrapper-13 {
    width: 0% !important;
    margin-left: 20px;
  }

  /**TABLE**/
  div.dataTables_wrapper div.dataTables_info {
    white-space: wrap !important;
    line-height: 15px;
  }

  div.dataTables_wrapper div.dataTables_filter input {
    width: 70% !important;
  }

  /**GRID**/
  .col-lg-10 {
    text-align: center;
    padding: 0;
  }

  /**MODAL**/
  .modal-dialog {
    margin-left: 20px !important;
    margin-right: 20px !important;
  }

  .modal button.btn-close {
    margin-left: 94% !important;
  }

  /**-------------------------------NAV----------------------------------------------------------**/
  .navbar-nav .nav-link {
    width: 95% !important;
  }

  .navbar-nav {
    margin: 0;
    padding-left: 0px;
  }

  .navbar-brand .brand-image {
    margin: 0 !important;
  }


  li.dropdown,
  li.dropdown a {
    margin-bottom: 5px !important;
    font-size: 1rem !important;
  }

  .show .dropdown-menu {
    margin-top: 0px;
  }

  .navbar-no-expand {
    flex-direction: column;
  }


  li a.nav-link {
    margin: 8px !important;
    padding: 10px !important;
  }

  #navbarCollapse {
    margin: 0;
    flex: 100%;
  }

  .nav-item {
    margin: 0;
  }

  .navbar-dark .navbar-toggler {
    background-color: #000000 !important;
  }

  .navbar>.container-fluid {
    margin-bottom: 10px;
    max-width: 90% !important;
  }



  /**------------------HOME-------------------------------------------------**/
  #home {
    margin-top: 140px !important;
  }

  /**DESCRIPTION**/
  .description-main {
    font-size: 1.35rem !important;
    padding-left: 20px;
    padding-right: 20px;
  }

  .titre-main {
    font-size: 1.8rem !important;
  }

  .description {
    background-color: rgba(255, 237, 0, 1);
    padding-bottom: 80px !important;
    text-align: center !important;
    width: 100% !important;
  }

  /**SLOGAN**/
  .slogan,
  .steen p {
    padding-left: 22px;
    padding-right: 20px;
  }

  .slogan {
    margin-top: -60px !important;
  }



  /**CYCLER**/
  #cycler {
    max-width: 50%;
  }

  #cycler img:last-child {
    height: 130px !important;
  }

  /**HANDS**/
  .steen {
    max-width: 30% !important;
  }

  .stones .col-lg-4:nth-child(3) div:last-child {
    margin-top: 150px;
  }

  .stones .col-lg-4:nth-child(2) img {
    margin-left: 0px;
  }

  .stones {
    padding-bottom: 0px !important;
  }

  .main {
    height: 150px !important;
  }

  .stones {
    margin-top: -20px !important;
  }


  .stones .col-lg-4:first-child,
  #buy_electricity .row .col-lg-4:first-child,
  #produce_electricity .row .col-lg-4:first-child,
  #second_page .row .col-lg-6:first-child {
    margin: 0;

  }

  .stones .col-lg-4:nth-child(2),
  #buy_electricity .row .col-lg-4:nth-child(2),
  #produce_electricity .row .col-lg-4:nth-child(2) {
    margin: 0;

  }

  .stones .col-lg-4:last-child,
  #buy_electricity .row .col-lg-4:last-child,
  #produce_electricity .row .col-lg-4:last-child,
  #second_page .row .col-lg-6:last-child {
    margin: 0;

  }


  /**FIRST PAGE**/
  #first_page {
    margin-left: auto;
    margin-right: auto;
  }

  #first_page h2 {
    margin-top: -20px !important;
  }



  /**ALL PAGES WITHOUT FIRST**/
  div+.page {
    margin-bottom: 0px;
    margin-top: 0px;
  }

  .page {
    padding: 20px;
  }


  .page .col-sm-12 {
    width: 97%;
  }

  /**IMAGE**/
  .page img {
    margin-bottom: 10px !important;
  }

  /**SECOND PAGE**/
  #second_page .row {
    margin-top: 0px;
  }


  /**3RD + 4TH PAGE**/
  #buy_electricity .row,
  #produce_electricity .row {
    margin-top: 0px;
  }


  /**-------------------LOGIN---------------------------------------------------**/
  .login-page,
  .reset-page {
    margin-top: 150px !important;
    height: 450px;
  }


  .login-page form .row .col-lg-6,
  .reset-page form .row .col-lg-6 {
    padding: 0;

  }

  .login-page form .row .col-lg-6:first-child {
    margin-bottom: 20px;

  }


  /**FAQ**/
  #faq .card {
    margin-top: 0px !important;
  }

  #faq .card .card-header .btn-header-link {
    font-size: 0.8rem !important;
  }

  #faq .card .card-header a {
    margin-top: 0 !important;
  }


  .accordion {
    margin-top: 20px;
  }

  /**CONTACT**/
  .page-subscription input,
  .page-subscription select,
  .page-subscription textarea {
    width: 100% !important;
  }

  /**-------------------------------------CUSTOMER AREA--------------------------------------------------**/


  /**CONTRACTS**/

  .contracts .contract-element {
    margin-bottom: 10px !important;
  }

  .contracts .row {
    width: 100%;
  }

  .contracts label {
    margin-left: 0px;
  }

  .contracts label label {
    margin-top: 0px !important;
  }

  .contracts input {
    height: 32px;
  }

  /**CONTRACT**/
  .contract {
    margin-top: 10px !important;
  }


  /**CHART**/
  .chart #button {
    margin-top: 20px;
    display: flow;
  }

  .chart button {
    margin-right: 3px;
  }


  .chart input {
    margin-left: 5px !important;
    margin-right: 5px !important;
    margin-bottom: 0 !important;
    width: 100px !important;
    font-size: 0.8rem;
  }

  .chart .input-group {
    display: inline-flex;
  }

  .chart .card-body {
    padding-top: 0;
  }

  .chart .col-md-7 {
    display: block;
  }

  .chart select {
    margin-top: 5px;
    margin-right: 0px;
  }


  /**INVOICE**/
  .invoices h3 {
    font-size: 1.5rem;
  }

  .invoices {
    margin-bottom: 40px !important;
  }

  .invoices div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    justify-content: center;
    margin-top: 10px;
  }

  /**DETAILS**/
  .details {
    margin-top: 20px;
  }

  /**------------------------------FOOTER------------------------------------------------------------**/
  #footer_invoice footer,
  #footer_contractDetail footer {
    position: relative;
  }

  footer {
    z-index: 1 !important;
  }

  footer .row {
    text-align: center;

  }

  footer .row div {
    padding: 0;
    margin: 0;
  }

  footer .container-fluid {
    margin: 0;
    max-width: 100% !important;
    width: 100% !important;
  }


  /**MEDIA QUERY >=363PX**/
  @media screen and (min-width:363px) {

    .info-box-content #pod span,
    .info-box:not(.contract_info) .info-box-content span {
      font-size: 0.85rem !important;
    }

    .steen {
      max-width: 32% !important;
    }
  }
}

@media screen and (max-width:360px) {
  .main {
    margin-left: 10px;
  }

  .steen:nth-child(2) .main {
    margin-left: 20px !important;
  }
}

/**------------MEDIA QUERY <=425PX------------------**/
@media screen and (max-width:425px) {
  .invoices .col-sm-12 {
    padding: 0 !important;
  }

  .login-page a {
    margin-top: 10px;
  }

  .description .col-lg-4,
  .description-main {
    padding-top: 0 !important;
  }
}

/**-------------MEDIA QUERY <=991PX-----------------**/
@media screen and (max-width:991px) {

  /**NAV**/
  .navbar-nav .nav-link {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }


  .nav-item {
    margin: 0 !important;
  }

  li a.nav-link {
    margin: 8px !important;
    padding: 10px !important;
  }

  /**CONTAINERFLUID*/
  .container-fluid:not(#home, footer .container-fluid) {
    max-width: 90% !important;
  }

  /**CONTRACTS**/

  .contracts .checkbox-wrapper-13 {
    margin: 0;
    margin-left: 30px;
    margin-right: 30px;
    width: auto !important;
  }

  .contracts label {
    margin-left: 0px;

  }

  .contracts .checkbox-wrapper-13 {
    margin-top: 10px !important;
  }


}

/**+++++++++++++++++++++++++TABLET++++++++++++++++++++++++++++++++++++++++++++++++**/

/**--------------MEDIA QUERY >=426PX <=768PX-----------------*/
@media screen and (min-width:426px) and (max-width:768px) {

  /**-------------------DEFAULT---------------**/
  /**CONTENT HEADER**/
  .content-header {
    margin-top: 150px;
  }

  /**LOGO**/
  .brand-image {
    margin-left: 0 !important;
  }

  /**GRID**/
  .col-8 {
    flex: auto;
    max-width: none;
  }

  /**INFO-BOX**/
  .info-box-content div {
    text-align: center;
    font-size: 1rem;
  }

  /**CONTAINER-FLUID**/

  .content .container-fluid:not(footer .container-fluid, #home, .invoices, .details, .contracts, .contract, #faq, .login-page, #news, .chart, .consum) {
    margin-top: 160px;
  }

  /**BUTTON**/
  .btn-dark {
    margin-left: 10px;
  }

  /**FORM**/
  select {
    margin-top: 10px;
  }

  /**LABEL**/
  label {
    font-size: 0.8rem;
    font-weight: bold !important;
  }

  /**CHECKBOX**/
  .checkbox-wrapper-13 {
    width: auto !important;
    margin-bottom: 20px;
  }

  /**BUTTON**/
  .addMore {
    width: fit-content !important;
  }


  /**TABLE**/
  div.dataTables_wrapper div.dataTables_length select {
    width: 40% !important;
  }

  div.dataTables_wrapper div.dataTables_info {
    font-size: 0.8rem !important;
  }

  /**CARD**/
  .card-footer a,
  .card-footer button {
    margin: 0 !important;
    font-size: 1rem !important;
    padding: 0 !important;
  }


  /**----------------HOME--------------------------------------------------------------**/
  /**HANDS**/
  .stones .col-lg-4:nth-child(2) img {
    margin-left: 0px;
  }

  .stones {
    padding-bottom: 10px !important;

  }

  .main {
    height: 250px;
  }

  .stones .col-lg-4:nth-child(3) div:last-child {
    margin-top: 250px;
  }


  /**SIDE BUTTON**/


  /**DESCRIPTION**/

  .description {
    background-color: rgba(255, 237, 0, 1);
    padding-bottom: 90px !important;
    text-align: center !important;
  }

  .description-main {
    padding: 0 !important;
    font-size: 1.35rem !important;
  }



  /**CYCLER**/
  #cycler {
    max-width: 40%;
  }

  #cycler img:last-child {
    height: 220px !important;
  }

  /**SLOGAN**/
  .slogan {
    margin-top: -65px;
    margin-bottom: 65px;

  }

  /**ALL PAGES**/
  .page,
  .slogan {
    margin-left: 40px !important;
    margin-right: 40px !important;
  }

  /**ALL PAGES WITHOUT FIRST**/
  .page {
    margin-top: 30px !important;
    margin-bottom: 30px !important;
    font-size: 1rem !important;
  }

  /**3RD + 4TH PAGE**/
  #buy_electricity .row,
  #produce_electricity .row {
    margin-top: 0px;
  }

  /**----------------CONTACT------------------------------------------**/
  .page-subscription input,
  .page-subscription select,
  .page-subscription textarea {
    width: 98%;
  }

  /**-------------------------------------FAQ-------------------------------------------------------------------------**/
  .accordion {
    margin-top: 30px;
  }

  #faq .card .card-header .btn-header-link {
    font-size: 1rem;
  }

  #faq p {
    font-size: 0.95rem;
  }


  #faq .card .card-header a {
    margin-top: 0 !important;
  }

  /**-----------------------------------LOGIN---------------------------------------------------------------**/

  .login-box,
  .reset-box {
    width: 100%;
  }

  .login-page,
  .reset-page {
    margin-top: 150px !important;
    height: 440px;
  }

  .login-page .col-lg-6,
  .reset-page .col-lg-6 {
    margin-bottom: 20px !important;
  }

  .login-card-body form button,
  .reset-card-body form button {
    margin: 0;
  }

  /**-----------------------------------CUSTOMER AREA--------------------------------------------------------**/
  /**CONTRACT**/
  .contract {
    margin-top: 0px;
  }


  /**CONTRACTS**/
  .contracts label {
    margin-left: 0 !important;
    margin-top: 20px;
  }

  .contracts label label {
    margin: 0 !important;
  }

  .contracts input {
    height: 31px;
  }

  /**INVOICES + DETAILS **/
  .details,
  .invoices {
    margin-top: -20px !important;
  }

  /**CHART**/
  .chart .col-sm-6 {
    display: grid;
    justify-items: center;
    align-content: space-between;
  }

  .chart #interval {
    padding-left: 6px;
  }

  .chart select {
    margin-left: 3px;
  }

  .chart .input-group {
    display: inline-flex;
  }

  .chart label {
    font-size: 1rem;
    margin-top: 0;
  }

  .chart .card {
    margin: 20px !important;
    margin-top: 15px !important;
  }

  /**DETAILS**/
  .details .info-box-content {
    text-align: left;
  }

  .details {
    margin-top: 10px !important;
  }

  /**---------------------------FOOTER------------------------------------------------------------------------**/

  footer .col-md-4 {
    padding-left: 10px !important;
  }

  footer {

    text-align: left;
  }

  footer .container-fluid {
    max-width: 90% !important;
  }

  footer .brand-image {
    margin: 0 !important;
    padding: 0 !important;
  }

  #footer_invoice footer {
    position: relative;
  }

  @media screen and (max-width:575px) {
    .description-main {
      padding-top: 10px !important;
      padding-left: 30px !important;
      padding-right: 30px !important;
    }

    .description {
      width: 100% !important;
    }

    #cycler {
      max-width: 50% !important;
    }

    .modal-dialog {
      margin-left: 20px !important;
      margin-right: 20px !important;
    }

    .modal-title {

      padding: 0 10px !important;
    }

    .steen {
      width: 30% !important;
    }



  }

  @media screen and (min-width:780px) {
    .page .row .col-lg-4 {
      width: 30% !important;
    }
  }

  @media screen and (min-width:576px) and (max-width:767px) {

    .description .col-lg-4:last-child {
      margin-right: auto;
    }

    .description .col-lg-4:first-child {
      margin-left: auto;
    }

    @media screen and (min-width:575px) and (max-width:660px) {
      #cycler {
        max-width: 60% !important;
      }
    }
  }

  @media screen and (max-width:500px) {
    .description .col-lg-4 {
      width: 100% !important;
      margin: 0 !important;
    }

    .description {
      width: 100% !important;
      padding-bottom: 90px !important;
    }

    .description-main {
      padding-top: 10px !important;
      padding-left: 30px !important;
      padding-right: 30px !important;

    }
  }

  @media screen and (min-width:500px) {
    #news #newest .card {
      width: 400px;
      margin-left: auto !important;
      margin-right: auto !important;
    }
  }

  @media screen and (max-height:950px) {
    #footer_login footer {
      position: relative;
    }
  }


  @media screen and (min-width:501px) and (max-width:768px) {
    .page .col-lg-6 {
      width: 50% !important;
    }
  }

  @media screen and (max-width:488px) {
    .invoices input {
      width: 74% !important;
    }

    #faq .card .card-header .btn-header-link {
      font-size: 0.9rem !important;
    }

    #news h3 {
      font-size: 0.95rem;
    }
  }

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

    .login-page,
    .reset-page {
      margin-top: 110px !important;
      height: 500px;
    }
  }


  @media screen and (max-width:700px) {
    .chart .col-sm-6 {
      display: block !important;
      width: 100%;
    }

    .chart #button {
      margin-top: 10px;
    }

    .chart .col-md-7 {
      display: contents !important;

    }

    .chart label {
      margin-left: auto !important;
      margin-right: auto !important;
    }

    .chart select {
      margin-right: auto !important
    }

    .chart .input-group+label {
      margin-right: 5px !important;
      margin-top: auto !important;
      margin-bottom: auto !important;
    }

  }

  @media screen and (max-width:557px) {
    .chart #resetZoom {
      margin-top: 10px;
    }
  }

  @media screen and (min-width:768px) {
    #first_page .col-md-4:first-child {
      padding-left: 40px !important;
    }

    #first_page .col-md-4:last-child {
      padding-right: 40px !important;
    }

    .page .col-md-4 {
      padding: 20px !important;
    }

  }

  @media screen and (min-width:661px) and (max-width:670px) {
    .content .container-fluid:not(footer .container-fluid, .login-page, .contract, .invoices, .chart, .details, .contract, .contracts, .consum) {
      margin-top: 100px !important;
    }
  }

  @media screen and (min-width:671px) and (max-width:745px) {
    .content .container-fluid:not(footer .container-fluid, .login-page, .contract, .invoices, .details, #news, .chart, #home, .contracts, .consum) {
      margin-top: 120px !important;
    }
  }

  @media screen and (min-width:746px) {
    .content .container-fluid:not(footer .container-fluid, .login-page, .contract, .invoices, .chart, .details, .contracts, .consum) {
      margin-top: 100px !important;
    }
  }

  @media screen and (min-width:560px) {
    .content .container-fluid:not(footer .container-fluid, #home, .invoices, .details, .chart, .contract, .login-page, #news, .contracts, .consum) {
      margin-top: 150px !important;
    }
  }

  /*---------------------------media query---------------------------------*/
  /*Page contact for mobile >918*/
  @media screen and (min-height:992px) {

    .page-subscription footer {
      position: fixed !important;

    }
  }

  /*Page contact for mobile <918*/
  @media screen and (max-height:991px) {
    .page-subscription footer {
      position: relative !important;
    }

  }

  @media screen and (max-height:960px) {
    #footer_news footer {
      position: relative !important;

    }
  }

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

    .main {
      height: 170px !important;
    }

    #cycler img:last-child {
      height: 150px !important;
    }


    .stones .col-lg-4:nth-child(3) div:last-child {
      margin-top: 170px;
    }
  }

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

    footer .row .col-lg-2,
    footer .row .col-lg-1,
    footer .row .col-lg-3 {

      text-align: center;
    }


  }


  @media screen and (min-width:480px) and (max-width:590px) {
    #cycler {
      max-width: 83%;
    }
  }


  @media screen and (min-width:591px) and (max-width:660px) {
    #cycler {
      max-width: 85%;
    }
  }


  @media screen and (min-width:539px) and (max-width:626px) {
    input:not(type=checkbox) {
      width: 50% !important;
    }
  }

  @media screen and (min-width:680px) {
    input:not(type=checkbox) {
      width: 75% !important;
    }
  }



  @media screen and (max-width:720px) {
    #footer_login footer {
      position: relative !important;
    }
  }

  @media screen and (min-width:720px) {

    .login-box,
    .reset-box {

      max-width: 80%;
    }
  }

}


/**----------------MEDIA QUERY <=768PX-------------------------**/
@media screen and (max-width:768px) {

  /**-------------------DEFAULT-----------------------------------**/
  /**input, textarea*/
  input,
  textarea,
  label,
  p:not(#home p, footer p, .info-box-content p),
  select,
  .login-page a,
  button:not(footer button, nav button, .side_button a) {
    font-size: 0.8rem !important;
  }


  .details .info-box:not(.contract_info) {
    height: fit-content;
  }

  /**INFO BOX**/

  .contract_info .info-box-icon {
    margin: auto !important;
  }

  .contract_info {
    /* display: block !important;*/
    text-align: center;
  }

  .info-box {
    font-size: 1rem !important;
  }

  .info-box .col-lg-1:last-child span {
    margin-left: 0px;
  }

  .contract_info .info-box-icon i {
    padding-top: 10px !important;
  }

  .info-box-content {
    margin-bottom: 0 !important;
  }

  /* .info-box:not(.info-box-invoice, .info-box-detail, .info-box-datas, .info-box-owner, .info-box-meter, .info-box-grd, .info-box-delivery, .info-box-billing) {
    display: block !important;
  }
*/
  /**CARD**/
  .card {
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 10px !important;
  }

  /**------------CONTRACTS-----------------**/
  .contracts .checkbox-wrapper-13 {
    margin-bottom: 10px !important;
  }

  /**-----------CONTRACTS + DETAILS---------------**/
  .details .col-lg-12 {
    margin-bottom: 10px;
  }


  /**-------------CONTRACT----------------**/
  .contract {
    margin-bottom: 30px;
  }

  .contract .col-lg-3 {
    padding: 0;
  }

  .contract .col-lg-12 {
    margin-top: 0px !important;
    padding: 0 !important;
    text-align: left;
  }

  .contract .info-box-content:not(.contract_info) {
    padding: 10px !important;
  }

  .contract .row:nth-child(2) {
    margin-top: 10px;
  }

  /**--------------DETAILS--------------------------**/
  .details .col-lg-4 {
    padding-right: 0px !important;
  }
}

/**+++++++++++++++++++++++++LAPTOP++++++++++++++++++++++++++++++++++++++++++++++++**/

/**--------------MEDIA QUERY >=768PX <=991PX-----------------*/
@media screen and (min-width:768px) and (max-width:991px) {
  .details .col-md-6:first-child {
    padding-right: 20px !important;
  }


  .details .col-md-6:nth-child(2),
  .details .col-md-6:nth-child(5) {
    padding-right: 0 !important;
  }

  .details .info-box:not(.contract_info) {
    height: auto;
  }

  footer .col-md-12 {
    text-align: center;
  }

  .contract .col-lg-9,
  .contract .col-lg-3 {
    text-align: center;
    padding: 0;
  }

  .contract .col-lg-3 span {
    margin: auto !important;
  }


  .contract .row:nth-child(2) .col-md-6:nth-child(even) {
    margin-left: 8px !important;
    width: 49%;
  }

  .contract .row:nth-child(2) .col-md-6:nth-child(odd) {
    margin-right: 8px !important;
    width: 49%;
  }

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

    .contract .row:nth-child(2) .col-md-6:nth-child(even) {
      margin-left: 6.5px !important;

    }

    .contract .row:nth-child(2) .col-md-6:nth-child(odd) {
      margin-right: 6.5px !important;

    }

  }

  @media screen and (min-width:769px) and (max-width:893px) {
    .details .col-lg-6:last-child .info-box {
      height: 105px;
    }
  }

  @media screen and (min-width:769px) and (max-width:990px) and (max-height:1000px) {
    #footer_invoice footer {
      position: relative;
    }
  }

  .info-box .col-lg-1:last-child span {
    margin-left: 0px !important;
  }

}

/**--------------MEDIA QUERY >=769PX <=1024PX-----------------*/
@media screen and (min-width:769px) and (max-width:1024px) {

  /**--------------DEFAULT-------------------------**/
  /**PARAGRAPH**/
  p {
    font-size: 1rem;
  }

  /**CONTAINER FLUID**/
  .container-fluid:not(#home, .invoices) {
    max-width: 90% !important;
  }

  /**CARD**/
  .card {
    margin: 20px !important
  }

  /**INFO BOX**/
  .info-box-content span {
    font-size: 1rem !important;
  }

  .info-box .col-lg-1:last-child span {
    margin-left: 60px;
  }

  .contracts .info-box .col-lg-1:last-child span {
    margin-left: 20px;
  }

  .contract .info-box:not(.contract_info) .info-box-content {
    font-size: 1.2rem;
  }

  /**CONTENT HEADER**/
  .content-header {
    margin-top: 140px;
    padding-bottom: 10px;
  }

  /**------NAV---------------------*/
  .navbar .container-fluid {
    max-width: 95%;
  }

  nav .brand-image {
    margin: 0 !important;
  }

  .navbar-nav .dropdown {
    margin-right: 0;
  }

  /**---------------HOME------------**/
  /**HANDS**/
  .main {
    height: 300px;
  }

  .stones .col-lg-4:nth-child(3) div:last-child {
    margin-top: 300px;
  }

  #home .col-md-4:first-child {
    padding-left: 40px !important;
  }

  #home .col-md-4:last-child {
    padding-right: 40px !important;
  }

  #home .col-lg-4:nth-child(2) {
    padding: 0px !important;
  }

  /**CYCLER*/
  #cycler img:last-child {
    margin-top: 20px !important;
    height: 260px !important;
  }

  #cycler {
    max-width: 25%;
  }

  /**ALL PAGES WITHOUT FIRST*/
  .page {
    margin-left: 40px;
    margin-right: 40px;
    margin-bottom: 40px !important;
    margin-top: 40px !important;
  }


  /**SIDE BUTTON**/


  /**MODAL**/


  /**DESCRIPTION**/
  .description-main {
    padding: 0 !important;
  }

  .description {
    background-color: rgba(255, 237, 0, 1);
    padding-bottom: 90px !important;
    text-align: center !important;
  }


  /**-----------FAQ---------------------------**/
  .accordion {
    margin-top: 30px;
  }

  /**------------LOGIN---------------*/
  .login-page {
    margin-top: 70px !important;
  }

  /**-------------------CUSTOMER AREA-------------------**/
  /**CONTRACTS**/
  .contracts label input {
    margin-top: 5px !important;
  }



  /**INVOICES**/
  .invoices label {
    font-size: 1rem;
  }

  .invoices .row:first-child {
    text-align: left;
  }

  .invoices .col-md-6 {
    width: 50%;
  }

  .invoices input {
    width: 62% !important;
  }

  /**CONTRACTS + INVOICE*/
  .contract,
  .invoices {
    margin-bottom: 40px !important;
  }

  /**INVOICE + DETAIL**/
  .details,
  .invoices {
    margin-top: -20px !important;
  }

  /**CONTRACTS CHART INVOICES**/
  .chart .row div,
  .invoices .col-lg-12 {
    padding: 0 !important;
  }

  /**CONTRACT**/
  .contract {
    margin-top: 0 !important;
  }

  /**CHART**/
  .chart button {
    height: 60px;
  }

  .chart input {
    width: 150px !important;
  }

  .chart .col-sm-6:first-child {
    display: contents !important;
  }

  .chart .col-sm-6:last-child {
    margin: auto !important;
  }

  .chart #button button:first-child {
    margin-left: auto !important;
  }

  .chart #button button:last-child {
    margin-right: auto !important;
  }

  /**DETAILS**/
  .details {
    margin-top: 15px !important;
  }

  /**-------------------FOOTER-----------------------------**/

  footer {
    text-align: left !important;
  }

  footer .container-fluid {
    max-width: 100% !important;
    width: 100% !important;
  }

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

    .chart label,
    .chart p,
    .chart button,
    .chart select,
    .chart input {
      font-size: 0.85rem;
    }
  }

  @media screen and (max-width:870px) {
    #home .description-main {
      font-size: 1.4rem !important;
    }
  }

  @media screen and (max-height:890px) {
    #footer_login footer {
      position: relative;
    }

  }

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

    .slogan,
    .page {
      margin-left: 5% !important;
      margin-right: 5% !important;
    }
  }

  @media screen and (max-width:900px) {
    .content .container-fluid:not(footer .container-fluid, .login-page, .contract, .invoices, .chart, .details, .contracts) {
      margin-top: 12%;
    }


  }

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

    #news #newest {
      margin-left: 0;
      margin-right: 0;
    }


    @media screen and (max-height:950px) {
      #footer_contract footer {
        position: relative;

      }
    }

    @media screen and (max-height:780px) {
      #footer_invoices footer {
        position: relative !important;

      }
    }

    @media screen and (max-height:960px) {
      #footer_chart footer {
        position: relative !important;

      }
    }

    @media screen and (max-height:1070px) {
      #footer_details footer {
        position: relative !important;

      }
    }


  }

  @media screen and (min-width:992px) {

    .contracts .info-box-content div,
    li a.nav-link {
      font-size: 1rem !important;
    }

    .info-box .col-lg-1:last-child {

      margin-left: -20px;
    }

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

      @media screen and (max-height:800px) {
        #footer_contract footer {
          position: relative !important;
          width: 100%;
        }
      }
    }
  }

  @media screen and (min-width:820px) and (max-width:900px) {
    #cycler {
      max-width: 37%;
    }
  }

  @media screen and (min-width:901px) {
    #cycler {
      max-width: 50%;
    }
  }
}

/**+++++++++++++++++++++++++DESKTOP++++++++++++++++++++++++++++++++++++++++++++++++**/

/**--------------MEDIA QUERY >=1000PX-----------------*/
@media screen and (min-width:1000px) {
  @media screen and (max-height:700px) {

    .contract footer,
    .invoices footer,
    .page-subscription footer {
      position: relative !important;
    }


    .contract footer,
    .invoices footer {
      width: 100% !important;
    }

    .chart #interval {
      margin-right: 10px;
    }

  }


  @media screen and (max-width:1120px) and (max-height:900px) {
    #footer_news footer {
      position: relative !important;
      width: 100% !important;
    }
  }


  /*Page contact for mobile <970*/
  @media screen and (max-height:970px) {
    .page-subscription footer {
      position: relative !important;

    }
  }

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

    li a.nav-link {
      font-size: 1rem;
    }

    #navbarCollapse {
      margin-top: 5px;
    }

    .login-page input,
    .reset-page input {
      font-size: 0.8rem;
    }

  }

}

/**--------------MEDIA QUERY >=1121PX <=1499PX HEIGHT<=640PX-----------------*/
@media screen and (min-width:1121px) and (max-width:1499px) and (max-height:900px) {
  #footer_news footer {
    position: relative !important;

  }
}

/**--------------MEDIA QUERY >=1025PX <=1440PX-----------------*/
@media screen and (min-width:1025px) and (max-width:1440px) {

  /**----------------DEFAULT------------------**/
  .container-fluid:not(#home) {
    max-width: 85%;
  }

  .card {
    margin: 0 !important;
  }

  p {
    font-size: 1.1rem;
  }

  .content .container-fluid:not(footer .container-fluid, .login-page, .contract, .contracts, .invoices, .details, .chart, #faq, #home, .page-subscription, .consum) {
    margin-top: 7.5%;
  }

  /**-----------------------NAV--------------------------------------------------**/
  nav .dropdown {
    margin-right: 0 !important;
  }

  /**------------HOME*****************/
  #cycler {
    max-width: 30%;
  }


  /**LOGIN**/
  .login-page {
    margin-top: 70px !important;
  }

  .reset-page {
    margin-top: 160px !important;
  }

  /**-----------------------CUSTOMER AREA--------------------------**/
  /**INVOICES**/
  .invoices .card {
    margin-bottom: 20px !important;
    margin-top: 0 !important;
  }

  /**CHART**/
  .chart .card {
    margin: 20px !important;
  }

  /**-----------------FOOTER-------------------------------**/


  @media screen and (max-width:1060px) {
    .container-fluid:not(#home) {
      max-width: 90% !important;
    }
  }

  @media screen and (max-width:1250px) {
    .info-box-content span {
      font-size: 1rem !important;
    }

    .info-box .col-lg-1:last-child span {
      margin-left: 50px !important;
    }

    .contracts .info-box .col-lg-1:last-child span {
      margin: 0 !important;
    }

    .chart .col-sm-6:first-child {
      display: contents !important;
    }

    .chart input {
      width: 150px !important;
    }

    .chart #button {
      margin: auto !important;
    }
  }

  @media screen and (max-width:1262px) {
    .chart button {
      height: 60px;
    }
  }

  @media screen and (max-width:1404px) {
    .chart .col-sm-6:first-child {
      display: contents !important;
    }
  }

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

    .steen,
    .description .col-lg-4,
    #buy_electricity .row .col-lg-4,
    #produce_electricity .row .col-lg-4,
    #second_page .row .col-lg-6 {
      width: 28% !important;
    }

    .stones .col-lg-4:nth-child(3) div:last-child {
      margin-top: 350px;
    }

    .main {
      height: 350px !important;
    }



    #cycler img:last-child {
      height: 320px !important;
    }

    .content .container-fluid:not(footer .container-fluid, .login-page, .contract, .invoices, .contracts, #faq, .details, #home, .chart, .consum) {
      margin-top: 120px;
    }
  }


  @media screen and (max-width:1110px) {
    #cycler {
      max-width: 35%;
    }
  }

  @media screen and (min-width:1111px) and (max-width:1200px) {
    #cycler {
      max-width: 40%;
    }
  }

  @media screen and (min-width:1201px) and (max-width:1300px) {
    #cycler {
      max-width: 35%;
    }
  }

  @media screen and (min-width:1301px) and (max-width:1370px) {
    #cycler {
      max-width: 40%;
    }
  }

  @media screen and (min-width:1371px) {
    #cycler {
      max-width: 45%;
    }
  }


  @media screen and (min-width:1152px) and (max-width:1262px) {
    button:not(.btn-close, .side_button) {
      height: fit-content !important;
    }
  }
}

/**--------------MEDIA QUERY >=1025PX HEIGHT<=700PX-----------------*/
@media screen and (min-width:1025px) and (max-height:840px) {
  #footer_contract footer {
    position: relative;
  }
}

/**+++++++++++++++++++++++++++++++++MOBILE+TABLET+++++++++++++++++++++++++++++++++++**/

/**--------------MEDIA QUERY >=767PX-----------------*/
@media screen and (max-width:767px) {

  .details .col-lg-4,
  .details .col-lg-6 {
    padding-right: 0px !important;
  }

  .details .col-lg-4:nth-child(2) {
    padding-left: 0px !important;
    padding-right: 0px !important;
  }


  div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    justify-content: center !important;
  }

  .contract .col-lg-4:nth-child(2) {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 10px !important;
  }

  .col-lg-6 {
    margin: 0 !important;
    padding: 0 !important;
  }

  .col-lg-4:nth-child(2),
  .details .col-lg-6:last-child {
    padding-left: 0 !important
  }

  footer {
    text-align: center;
  }
}

@media screen and (min-width:426px) and (max-width:1024px) {
  .invoices .row {
    margin-top: 10px;
  }
}

/**++++++++++++++++++++++++++++++LAPTOP+DESKTOP++++++++++++++++++++++++++++++++++++**/

/**--------------MEDIA QUERY >=768PX-----------------*/
@media screen and (min-width:768px) {

  .login-page form .row .col-lg-6,
  .reset-page form .row .col-lg-6 {
    padding: 0;
    width: 100%;
    margin-bottom: 20px;
  }

  .login-page input,
  .reset-page input {
    font-size: 1rem;
  }

  .login-page form .row,
  .reset-page form .row {
    display: block;

  }

  div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    margin-top: 10px !important;
  }
}


/**--------------MEDIA QUERY >=768PX <=900PX-----------------*/
@media screen and (min-width:768px) and (max-width:900px) {
  .info-box {
    font-size: 1.1rem;
  }
}

@media screen and (max-width:991px) {
  .contracts .row {
    width: 100%;
  }
}

@media screen and (width:768px) {
  .invoices input {
    width: 70% !important;
  }
}

/**--------------MEDIA QUERY >=992PX-----------------*/
@media screen and (min-width:992px) {
  @media screen and (max-height:900px) and (max-width:1600px) {
    #footer_login footer {
      position: relative;
    }
  }

  @media screen and (max-height:800px) and (min-width:1601px) {
    #footer_login footer {
      position: relative;
    }
  }


}



/**--------------MEDIA QUERY >=992PX <=1280PX-----------------*/
@media screen and (min-width:992px) and (max-width:1280px) {
  .invoices table.dataTable thead th {
    font-size: 0.9rem !important;
  }

  .contract .info-box:not(.contract_info) .info-box-content {
    font-size: 1.2rem;
    text-align: center;
  }

  .contract {
    margin-top: 0px;
  }
}

/**--------------MEDIA QUERY >=992PX <=1600PX-----------------*/
@media screen and (min-width:992px) and (max-width:1600px) {
  footer .col-sm-12:last-child {
    width: 100%;
    text-align: center;
  }

  footer .col-lg-3 {
    width: auto;
    margin-left: auto;
    text-align: left;

  }

  .contract {
    margin-top: 50px !important;
  }
}

/**--------------MEDIA QUERY >=1201PX <=1440PX-----------------*/
@media screen and (min-width:1201px) and (max-width:1440px) {

  #home .col-lg-4,
  #home .col-lg-6 {
    width: 25% !important;
  }

}

/**--------------MEDIA QUERY >=1441PX-----------------*/
@media screen and (min-width:1441px) {

  /**CARD HEADER**/
  .card-header {
    font-size: 1.5rem;
  }

  /**------------------------------HOME----------------------------------------------*/
  #produce_electricity p {
    margin-left: 15%;
    margin-right: 15%;
  }

  #home .col-lg-4,
  #home .col-lg-6 {
    width: 20% !important;
  }

  /**------------------CONTACT-----------------------------------------------**/
  .page-subscription textarea {
    height: 165px;
  }


  .page-subscription .card-body {
    margin: 20px;
  }


  /**CHART**/
  .chart canvas {
    height: 500px !important;
    width: 100% !important;
    margin: 0 !important;
  }

  /**-------------------------------FOOOTER------------------------------------*/

  footer>.container-fluid {
    justify-content: center;
    padding: 0;
  }



  @media screen and (max-width:1550px) {
    #cycler {
      max-width: 35%;
    }
  }

}

@media screen and (min-width:768px) and (max-width:991px) {
  footer .col-lg-3:nth-child(4) {
    text-align: end;
  }
}

/**--------------MEDIA QUERY >=1025PX----------------*/
@media screen and (min-width:1025px) {
  .page-subscription {
    max-width: 50% !important;
  }
}

@media screen and (max-width:1160px) {
  .side_button {
    bottom: 0;

  }

  #modal_subscription button {
    bottom: 50px;
  }
}

@media screen and (min-width:1026px) and (max-width:1800px) {
  .side_button {
    bottom: 105px;
  }

  #modal_subscription button {
    bottom: 155px;
  }
}

@media screen and (min-width:992px) and (max-width:1500px) {

  .contract .info-box .col-lg-3,
  .contract .info-box .col-lg-9 {
    width: 100%;
    text-align: center !important;
    padding: 0 !important;

  }

  .contract .info-box-content {
    text-align: center;
  }

  .contract .info-box-icon {
    margin: auto !important;
  }
}

/**FOOTER --> HEIGHT**/
@media screen and (min-height:1200px) and (min-width:768px) {
  #footer_contact footer {
    position: fixed;
    bottom: 0;
  }
}

@media screen and (min-width:1500px) and (max-height:950px) {
  #footer_news footer {
    position: relative;
  }
}

@media screen and (max-width:425px) and (max-height:1550px) {
  #footer_contact footer {
    position: relative !important;
  }
}

@media screen and (min-width:426px) and (max-height:1190px) {
  #footer_contact footer {
    position: relative;
  }
}

@media screen and (max-width:425px) and (max-height:1100px) {
  #footer_news footer {
    position: relative;
  }
}

@media screen and (min-width:769px) and (max-width:999px) and (max-height:1000px) {
  #footer_news footer {
    position: relative;
  }
}


@media screen and (max-width:425px) and (max-height:1130px) {
  #footer_login footer {
    position: relative;
  }
}

@media screen and (max-width:767px) and (max-height:1340px) {
  #footer_contract footer {
    position: relative;
  }
}

@media screen and (max-width:767px) and (max-height:1640px) {
  #footer_contractDetail footer {
    position: relative;
  }
}

@media screen and (min-width:768px) and (max-width:990px) and (max-height:1160px) {
  #footer_contractDetail footer {
    position: relative;
  }
}

@media screen and (min-width:991px) and (max-width:1160px) and (max-height:1000px) {
  #footer_contractDetail footer {
    position: relative;
  }
}

@media screen and (min-width:1161px) and (max-height:938px) {
  #footer_contractDetail footer {
    position: relative;
  }
}

@media screen and (max-width:991px) and (max-height:1000px) {
  #footer_invoice footer {
    position: relative;
  }
}

@media screen and (min-width:992px) and (max-height:1000px) {
  #footer_invoice footer {
    position: relative;
  }

  .invoices .card tbody {
    height: 400px;
  }
}



/**NAV --> HEIGHT**/
@media screen and (max-height:749px) {

  #navbarCollapse {
    max-height: 260px !important;
    overflow-y: auto;
  }

}


/**details*/

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

  .details .col-lg-3 .info-box-icon i {
    font-size: 3.3rem;
  }

  .info-box .info-box-icon {
    width: 100%;
  }

}

@media screen and (min-width:992px) {

  .details .col-lg-6:nth-last-child(2) .col-lg-3,
  .details .col-lg-6:last-child .col-lg-3 {
    width: 17%;
  }
}

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

  .details .col-lg-6 .info-box-icon,
  .details .col-md-12 .info-box-icon {
    margin-top: 15px !important;
  }
}

@media screen and (min-width:426px) and (max-width:464px) {

  .details .col-lg-6 .info-box-icon,
  .details .col-md-12 .info-box-icon {
    margin-top: 5px !important;
  }
}

@media screen and (min-width:465px) and (max-width:768px) {
  .details .row:nth-child(2) .col-lg-4:nth-child(3) .info-box-icon {
    margin-top: 10px !important;
  }
}

@media screen and (min-width:768px) and (max-width:991px) {
  .details .row:nth-child(2) .col-lg-4:nth-child(3) .col-lg-3 {
    width: 12%;
  }
}

@media screen and (min-width:992px) and (max-width:1440px) {
  .details .row:nth-child(2) .col-lg-4:nth-child(2) .info-box-content {
    text-align: center;
  }
}

@media screen and (min-width:768px) and (max-width:1159px) {

  .details .col-lg-6:last-child .info-box,
  .details .col-lg-6:nth-last-child(2) .info-box {
    height: 140px;
  }
}

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

  .details .col-lg-6:last-child .info-box,
  .details .col-lg-6:nth-last-child(2) .info-box {
    height: fit-content;
  }
}

/**contract**/
@media screen and (min-width:1441px) and (max-width:1450px) {
  .contract .total_procent {
    padding-left: 0px;
  }
}

@media screen and (min-width:1330px) and (max-width:1364px) {
  .contract .total_procent {
    padding-left: 0px;
  }

}

@media screen and (min-width:768px) and (max-width:991px) {
  .contract .contract_info span {
    padding: 10px;
  }

  .contract .contract_info div {
    padding-bottom: 0 !important;
  }
}

@media screen and (min-width:321px) and (max-width:370px) {
  .info-box #pod {
    font-size: 0.8rem;
  }
}

@media screen and (min-width:992px) and (max-width:1014px) {
  .contract .row:nth-child(2) .info-box {
    height: 125px;
  }
}

@media screen and (min-width:1061px) and (max-width:1074px) {
  .contract .row:nth-child(2) .info-box {
    height: 125px;
  }
}


@media screen and (max-width:767px) {
  .contract .row:nth-child(2) .info-box-content {
    text-align: left;
  }
}

@media screen and (min-width:1281px) and (max-width:1329px) {
  .contract .info-box:not(.contract_info) .info-box-content {
    text-align: center;
  }
}


/**contracts*/

@media screen and (min-width:321px) and (max-width:767px) {
  #addMore .info-box-icon {
    padding: 10px 20px;

  }
}

@media screen and (max-width:320px) {
  .contracts .contract_element {
    margin-bottom: 20px;
  }
}

@media screen and (max-width:991px) {
  .contracts #Contracts .row .info-box .info-box-content {
    display: contents;
  }

  .contracts #Contracts .row .info-box .info-box-content .col-xl-2:last-child,
  .contracts #Contracts .row .info-box .info-box-content .col-xl-2:nth-last-child(2) {
    text-align: center;
  }


  .contracts .addMore {
    margin: auto;
  }
}

@media screen and (max-width:320px) {
  #addMore .info-box-icon {
    padding-left: 10px;
  }
}

@media screen and (max-width:767px) {
  .contracts .col-lg-1 .info-box-icon {
    width: 100%;
  }
}

@media screen and (max-width:320px) {
  .contracts .alert {
    font-size: 0.9rem;
  }
}

@media screen and (min-width:768px) and (max-width:900px) {
  .contracts .alert p{
    font-size: 0.8rem !important;
  }
}


/**CONTRACTS FOOTER MEDIA QUERY*/
@media screen and (min-width:1200px) {
  .contracts {
    height: 550px;
  }
}

@media screen and (max-width:767px) {
  .contracts {
    height: 1040px;
  }
}

@media screen and (max-width:320px) and (max-height:1820px) {
  #footer_contractsList footer {
    position: relative;
  }
}

@media screen and (min-width:321px) and (max-width:425px) and (max-height:1860px) {
  #footer_contractsList footer {
    position: relative;
  }
}

@media screen and (min-width:426px) and (max-width:767px) and (max-height:1930px) {
  #footer_contractsList footer {
    position: relative;
  }
}

@media screen and (min-width:768px) and (max-width:991px) and (max-height:1430px) {
  #footer_contractsList footer {
    position: relative;
  }

  .contracts{
    height: 720px;
  }
}

@media screen and (min-width:992px) and (max-width:1024px) and (max-height:1230px) {
  #footer_contractsList footer {
    position: relative;
  }
}

@media screen and (min-width:1025px) and (max-width:1199px) and (max-height:1300px) {
  #footer_contractsList footer {
    position: relative;
  }


  .contracts{
    height: 750px;
  }
}

@media screen and (min-width:1200px) and (max-width:1600px) and (max-height:1140px) {
  #footer_contractsList footer {
    position: relative;
  }

  .contracts{
    height: 550px;
  }
}

@media screen and (min-width:1601px) and (max-height:1100px) {
  #footer_contractsList footer {
    position: relative;
  }
}

/**footer contract*/

@media  screen and (min-width:768px) and (max-width:991px) and (max-height:880px){
  #footer_contract footer{
    position: relative;
  }
}

/**footer chart*/
#footer_chart footer{
  position: relative;
}

/**************CONSUM******************************/
/**DEFAULT**/
.consum .card-header a {
  width: 100%;
}

.consum .progress-bar {
  background-color: rgba(238, 220, 4, 1);
}

.consum .card {
  border: 1px solid rgba(0, 0, 0, 0.15)
}

.consum {
  margin-top: 10px;
}

.consum .row {
  width: 100% !important;
}

.consum h2 {
  padding: 0;
}

.consum .progress:not(.consum .accordion .progress) {
  width: 40%;
  margin: auto;
}

.consum .accordion-header button {
  background-color: white !important;
}

.consum .accordion-header button,
.consum .accordion-body button {
  box-shadow: none;
}

.consum .accordion-body .question{
  margin-bottom: 20px;
}

.consum .accordion-body .question p{
  font-weight: 600;
}

.consum .accordion {
  box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.2);
}

.consum .accordion-button::after {
  transform: rotate(0deg) !important;
}

.consum .clicked::after {
  transform: rotate(180deg) !important;
}


.accordion-header button {
  border-top-right-radius: 0 !important;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.consum .accordion-header p {
  margin: 0;
  margin-top: 5px;

}

.consum .accordion-body i:not(button i) {
  color: rgb(238, 220, 4);
}

.consum .col-lg-3:nth-child(2) {
  text-align: left;
}

.consum .accordion .progress {
  margin-top: 10px;
}

.consum .accordion-body p:not(.col-md-6 p) {
  padding: 0;
  margin-top: 20px;
}

.consum .accordion-body {
  padding: 35px 10%;
}

.consum .accordion-body .col-lg-8 p {
  margin: 0;
  margin-top: 10px;
  text-align: center;
}


.consum input[type=radio]+label>.row {
  text-align: center;
}

.consum .accordion-header {
  border-bottom: 1.5px solid #dee2e6 !important;
}

.consum .col-lg-4 {
  padding: 0 !important;
  padding-left: 20px !important;
}


.consum select {
  width: fit-content;
}

.consum .input-group {
  padding: 0;
}

.consum .input-group .quantity-field {
  width: 50%;
}

.consum .input-group button {
  font-size: 1.2rem;
  padding: 8px;
  height: 38px;
}

.consum .input-group label {
  padding-left: 8px !important;
  padding-top: 8px;
}

.consum .input-hidden {
  visibility: hidden;
  position: absolute;
  text-align: center;
}

.consum input[type=radio]:checked+label>.row .col-lg-2 {
  visibility: visible !important;
}

.consum input[type=radio]:checked+label, .consum input[type=radio]:hover+label {
  background-color: white;
}

.consum input[type=radio]+label {
  border: 3px solid rgba(255, 237, 0, 1);
  padding: 10px 0;
  background-color: #e9ecef;
}

.consum #voitureElectrique_content .col-lg-6:nth-child(even) input[type=radio]+label,
.consum #logement_content .col-lg-6:nth-child(odd) input[type=radio]+label,
.consum #chauffage_content .col-lg-6:nth-child(odd) input[type=radio]+label {
  border-left: none;
}


.consum #voitureElectrique_content #q23 .col-lg-4 button div {
  width: 100%;
  padding: 10px;
}


.consum .col-lg-2 img {
  height: 45px;
  object-fit: scale-down;
}

.consum label {
  margin: 0;
}

.consum .col-md-6 {
  padding: 0 !important;
}


.consum #check_construction_date,
.consum #check_surface,
.consum #check_chauffage,
.consum #check_prod_chauffage,
.consum #check_ageProduction,
.consum #check_chauffage_appoint,
.consum #check_chauffe_eau_electrique,
.consum #check_chauffe_eau_age,
.consum #check_rechargeable_hours,
.consum #check_battery_power,
.consum #check_power_solarPanel,
.consum #check_solarPanelDate,
.consum #check_ageWaterHeater
 {
  padding-right: 15px !important;
}

.consum form{
  margin-bottom: 50px;
}


/**LOGEMENT**/

#logement_content .col-md-6:last-child,
#chauffage_content .col-md-6:last-child,
#voitureElectrique_content .col-md-6:last-child {
  border-left: none;
}

.consum .col-lg-10 {
  padding-left: 0;
}

/**chauffage*/
#chauffage_content select+div {
  padding-left: 0;
}

#chauffage_content .row>.row {
  padding: 0;
}

#chauffage_content .col-lg-2:not(.consum label> .row .col-lg-2:first-child),
#logement_content .col-lg-2:not(.consum label> .row .col-lg-2:first-child),
#voitureElectrique_content #q25 .col-lg-2,
#voitureElectrique_content #q28 .col-lg-2,
#voitureElectrique_content #q27 .col-lg-2 {
  text-align: end;
}

#chauffage_content .col-lg-2:not(.consum label> .row .col-lg-2),
#logement_content .col-lg-2:not(.consum label> .row .col-lg-2) {
  padding-right: 26px;
}



/**EQUIPEMENTS*/
#equipements_content .col-lg-2,
#voitureElectrique_content .col-lg-2 {
  text-align: center;
}

#equipements_content .icon,
#voitureElectrique_content .icon {
  background-color: #000000;
  width: 100%;
  padding: 20px;
}

#equipements_content .icon i {
  color: white;
  font-size: 10.5rem;
}

#equipements_content .icon img,
#voitureElectrique_content .icon img {
  width: 100%;
  height: 100%;
  object-fit: scale-down;
}

#equipements_content p,
#voitureElectrique_content p {
  padding-top: 10px;
  margin-top: 0;
}

#equipements_content .col-lg-2 label,
#voitureElectrique_content .col-lg-2 label {
  width: 100% !important;
}

#equipements_content .row {
  padding: 0;
}

#equipements_content .col-lg-2:first-child {
  padding-left: 0;
}


#equipements_content .col-lg-2 p {
  height: 60px;
}


#equipements_content #q20 .col-lg-2:nth-last-child(2) p,
#equipements_content #q20 .col-lg-2:last-child p {
  height: 80px;
}

#equipements_content #q22 p {
  height: 30px;
}

.consum input[type=checkbox]:checked+label>.icon , .consum input[type=checkbox]:hover+label>.icon {
  background-color: rgba(238, 220, 4, 1) !important;
}

.consum .ban:checked+label>.icon img , .consum .ban:hover+label>.icon img {
  content: url('/img/icons/ban_black.png');
}

.consum #equipements_content small {
  font-size: 0.8rem;
}

/**Voiture electrique**/
.consum #voitureElectrique_content #q23 .col-lg-2 p {
  height: 60px;
}

.consum #voitureElectrique_content ul {
  list-style-image: url('/img/icons/dot.png');
  margin-left: -10px;
}

.consum input[name=recharge]+label {
  border: none;
  background-color: transparent;
}

.consum input[name=recharge]:checked+label>.icon, .consum input[name=recharge]:hover+label>.icon {
  background-color: rgba(238, 220, 4, 1) !important;
}

.consum #voitureElectrique_content input[name=recharge]+label {
  padding: 0 !important;
}


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

  .consum #equipements_content small,
  .consum #voitureElectrique_content small {
    font-size: 0.7rem;
  }

  .consum {
    margin-top: 0 !important;
  }

  .consum .accordion-body {
    padding: 20px !important;
  }

  .consum .accordion-body .row {
    padding: 0;
    width: 100% !important;
  }

  .consum .accordion-body img,
  .consum .accordion-body i {
    font-size: 1.5rem;
    height: 35px
  }

  .consum .accordion-body label p {
    text-align: center;
  }

  .consum .button-plus[data-field=quantity-surface] {
    margin-right: 10px;
  }

  #equipements_content .icon,
  #voitureElectrique_content .icon {
    width: 100%;
    height: auto;
  }

  .consum #equipements_content .accordion-body img,
  #voitureElectrique_content .accordion-body input[type=checkbox] img {
    font-size: 7rem;
    height: auto;
  }

  .consum #equipements_content .input-group,
  #voitureElectrique_content .input-group {
    margin-bottom: 20px;
  }
}

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

  .consum .accordion-button,
  .consum .accordion-button p {
    text-align: center;
  }

  .consum .input-group label {
    display: contents;
    margin-top: 10px;
  }

  .consum .accordion-body label {
    padding: 10px !important;
    width: 100% !important;
  }

  .consum select {
    width: 100%;
  }

  .consum .input-group:not(#equipements_content .input-group, #voitureElectrique_content .input-group),
  .consum input {
    width: 100%;
    padding: 0 !important;
  }

  .consum .accordion-body input[type=text] {
    margin-top: 0 !important;
  }

  .consum #equipements_content .accordion-body i,
  #voitureElectrique_content .accordion-body i {
    font-size: 4rem;
  }

  #chauffage_content .col-lg-2:not(.consum label> .row .col-lg-2:first-child),
  #logement_content .col-lg-2:not(.consum label> .row .col-lg-2:first-child),
  #voitureElectrique_content #q25 .col-lg-2,
  #voitureElectrique_content #q26 .col-lg-2,
  #voitureElectrique_content #q27 .col-lg-2 {
    padding: 0;
  }

  .consum #check_construction_date,
  .consum #check_surface,
  .consum #check_chauffage,
  .consum #check_prod_chauffage,
  .consum #check_prod_chauffage_age,
  .consum #check_thermo,
  .consum #check_chauffage_appoint,
  .consum #check_chauffe_eau_electrique,
  .consum #check_chauffe_eau_age #voitureElectrique_content #q25 .col-lg-2,
  #voitureElectrique_content #q26 .col-lg-2,
  #voitureElectrique_content #q27 .col-lg-2 {
    padding-right: 12px !important;
  }


  .consum #equipements_content .accordion-body label,
  #voitureElectrique_content .accordion-body input[type=checkbox]+label {
    padding: 0px !important;
  }

  .consum #equipements_content #q18 .col-lg-2:nth-child(3) p,
  .consum #equipements_content #q18 .col-lg-2:nth-child(2) p,
  .consum #equipements_content #q20 .col-6:nth-child(8) p,
  .consum #equipements_content #q20 .col-6:nth-child(9) p {
    height: 80px;
  }


  .consum #equipements_content .col-lg-2 p,
  #equipements_content #q20 .col-lg-2:nth-last-child(2) p,
  #equipements_content #q20 .col-lg-2:nth-last-child(3) p {
    height: 60px;
  }

  .consum #equipements_content #q19 .col-6:nth-child(4) p,
  .consum #equipements_content #q19 .col-6:nth-child(5) p,
  .consum #equipements_content #q20 .col-6:nth-child(1) p,
  .consum #equipements_content #q20 .col-6:nth-child(2) p,
  .consum #equipements_content #q20 .col-6:nth-child(3) p,
  .consum #equipements_content #q20 .col-6:nth-child(4) p,
  .consum #equipements_content #q20 .col-6:nth-child(5) p {
    height: 40px;
  }

  .consum #equipements_content #q18 .col-6:nth-child(4) p,
  .consum #equipements_content #q18 .col-6:nth-child(5) p,
  .consum #equipements_content #q20 .col-6:nth-child(6) p,
  .consum #equipements_content #q20 .col-6:nth-child(7) p,
  .consum #equipements_content .ban+label+p,
  .consum #equipements_content #q21 .col-6:nth-child(3) p,
  .consum #equipements_content #q21 .col-6:nth-child(2) p,
  .consum #equipements_content #q22 .col-6 p {
    height: 20px !important;
  }

  #equipements_content #q20 .col-lg-2,
  #equipements_content #q5 .col-lg-2 {
    margin-bottom: 0px;
    padding: 10px !important;
  }

  .consum #logement_content .col-md-6:nth-child(odd) input[type=radio]+label,
  .consum #chauffage_content .col-md-6:nth-child(odd) input[type=radio]+label,
  .consum #voitureElectrique .col-md-6:nth-child(even) input[type=radio]+label {
    border-top: none;
  }

  .consum #equipements_content #q20 .col-6:nth-child(6) p,
  .consum #equipements_content #q20 .col-6:nth-child(7) p,
  .consum #equipements_content #q22 .col-6:nth-child(7) p,
  .consum #equipements_content #q22 .col-6:nth-child(4) p,
  .consum #equipements_content #q22 .col-6:nth-child(5) p,
  .consum #equipements_content #q22 .col-6:nth-child(6) p {
    height: 40px !important;
  }

}

@media screen and (min-width:576px) and (max-width:767px) {
  .consum .accordion-button {
    padding: 10px;
  }

  .consum .accordion-header .col-lg-1:last-child {
    padding: 0px;

  }

  .consum #equipements_content #q18 .col-lg-2:nth-child(3) p,
  .consum #equipements_content #q18 .col-lg-2:nth-child(2) p,
  .consum #equipements_content #q18 .col-lg-2:nth-child(4) p {
    height: 60px;
  }

  .consum .accordion-header p {
    margin-top: 8px;
  }

  .consum .accordion-body {
    padding: 20px;
  }

  .consum .col-md-6 .row,
  .consum .col-md-6 label {
    width: 100% !important;
  }

  .consum input[type=text] {
    width: 50% !important;
  }

  .consum .input-group:not(#equipements_content .input-group, #voitureElectrique_content .input-group) {
    width: 57%;
    padding: 0 !important;
  }

  .consum #check_construction_date,
  .consum #check_surface,
  .consum #check_chauffage,
  .consum #check_prod_chauffage,
  .consum #check_prod_chauffage_age,
  .consum #check_thermo,
  .consum #check_chauffage_appoint,
  .consum #check_chauffe_eau_electrique,
  .consum #check_chauffe_eau_age {
    padding-right: 15px !important;
    margin-top: 8px;
  }


  .consum #equipements_content .col-lg-2 p,
  #equipements_content #q20 .col-lg-2:nth-last-child(2) p,
  #equipements_content #q20 .col-lg-2:nth-last-child(3) p {
    height: 60px;
  }

  .consum #equipements_content #q19 .col-sm-4 p,
  .consum #equipements_content #q20 .col-sm-4:nth-child(4) p,
  .consum #equipements_content #q20 .col-sm-4:nth-child(2) p,
  .consum #equipements_content #q20 .col-sm-4:nth-child(3) p,
  .consum #equipements_content #q18 .col-sm-4 p,
  .consum #equipements_content #q21 .col-sm-4 p {
    height: 40px;
  }


  .consum #equipements_content #q22 .col-6 p,
  .consum #equipements_content #q18 .col-sm-4:nth-last-child(2) p,
  .consum #equipements_content #q19 .col-sm-4:nth-last-child(2) p,
  .consum #equipements_content #q20 .col-sm-4:nth-child(5) p,
  .consum #equipements_content #q20 .col-sm-4:nth-child(6) p,
  .consum #equipements_content #q20 .col-sm-4:nth-child(7) p {
    height: 20px;
  }

  .consum .accordion-header i,
  .consum .accordion-header img {
    font-size: 1.8rem;
    height: 30px;
  }

  .consum #q15 .col-md-6 label .col-lg-2:last-child {
    margin-top: 10px;
  }

  .consum #logement_content.col-md-6:nth-child(odd) input[type=radio]+label,
  .consum #chauffage_content.col-md-6:nth-child(odd) input[type=radio]+label,
  .consum #voitureElectrique_content .col-md-6:nth-child(even) input[type=radio]+label {
    border-left: none;
  }

}

@media screen and (min-width:768px) and (max-width:991px) {
  .consum {
    margin-top: 0 !important;
  }

  .consum .accordion-header .col-lg-1:last-child,
  .consum .accordion-header .col-lg-1:first-child {
    padding: 0;
  }

  .consum .accordion-body {
    padding: 20px;
  }

  .consum .accordion-body .col-md-6 label {
    width: 100% !important;
  }

  .consum .input-group:not(#equipements_content .input-group, #voitureElectrique_content .input-group) {
    width: 40%;

  }

  .consum #equipements_content .icon,
  #voitureElectrique_content .icon {
    height: auto;
    width: 100%;

  }

  #equipements_content .col-lg-2 p {
    height: 80px;
  }

  .consum #equipements_content .icon i,
  #voitureElectrique_content .icon i {
    font-size: 4.9rem;
  }

  .consum #equipements_content .input-group,
  #voitureElectrique_content .input-group {
    margin-bottom: 20px;
  }

  .consum #equipements_content #q20 .col-lg-2,
  .consum #equipements_content #q5 .col-lg-2 {
    margin-bottom: 0px !important;
  }

  .consum #equipements_content .ban+label+p {
    height: 30px;
  }

  #equipements_content #q20 .col-lg-2:nth-child(4) p,
  #equipements_content #q20 .col-lg-2:nth-child(2) p,
  #equipements_content #q20 .col-lg-2:nth-child(3) p,
  #equipements_content #q20 .col-lg-2:nth-child(5) p {
    height: 60px;
  }

  #equipements_content #q22 .col-lg-2:nth-last-child(2) label,
  #equipements_content #q22 .col-lg-2:nth-last-child(1) label {
    margin-top: 0px;
  }
}

@media screen and (max-width:991px) {
  .consum .progress:not(.consum .accordion .progress) {
    width: 100%;
  }
}

@media screen and (min-width:769px) and (max-width:800px) {
  .consum #equipements_content #q22 .col-lg-2 p {
    height: 60px;
  }
}

@media screen and (min-width:992px) and (max-width:1000px) {

  .consum #equipements_content .col-lg-2,
  #voitureElectrique_content #q23 .col-lg-2,
  #voitureElectrique_content #q24 .col-lg-2 {
    width: 25%;
  }
}


@media screen and (min-width:1001px) and (max-width:1030px) {

  .consum #equipements_content .col-lg-2,
  #voitureElectrique_content #q23 .col-lg-2,
  #voitureElectrique_content #q24 .col-lg-2 {
    width: 24%;
  }
}

@media screen and (min-width:1031px) and (max-width:1120px) {

  .consum #equipements_content .col-lg-2,
  #voitureElectrique_content #q23 .col-lg-2,
  #voitureElectrique_content #q24 .col-lg-2 {
    width: 23%;
  }
}


@media screen and (min-width:1121px) and (max-width:1200px) {

  .consum #equipements_content .col-lg-2,
  #voitureElectrique_content #q23 .col-lg-2,
  #voitureElectrique_content #q24 .col-lg-2 {
    width: 22%;
  }
}

@media screen and (min-width:1201px) and (max-width:1250px) {

  .consum #equipements_content .col-lg-2,
  #voitureElectrique_content #q23 .col-lg-2,
  #voitureElectrique_content #q24 .col-lg-2 {
    width: 21%;
  }
}

@media screen and (min-width:1251px) and (max-width:1300px) {

  .consum #equipements_content .col-lg-2,
  #voitureElectrique_content #q23 .col-lg-2,
  #voitureElectrique_content #q24 .col-lg-2 {
    width: 20%;
  }
}

@media screen and (min-width:1301px) and (max-width:1500px) {

  .consum #equipements_content .col-lg-2,
  #voitureElectrique_content #q23 .col-lg-2,
  #voitureElectrique_content #q24 .col-lg-2 {
    width: 19%;
  }
}

@media screen and (min-width:1000px) and (max-width:1600px) {
  .consum #equipements_content #q18 .col-lg-2 input:not(.ban)+label+p {
    height: 80px;
  }
}

@media screen and (min-width:425px) and (max-width:575px) {

  .consum #equipements_content .col-lg-2,
  #voitureElectrique_content #q23 .col-lg-2,
  #voitureElectrique_content #q24 .col-lg-2 {
    width: 33%;
  }

  #voitureElectrique_content #q23 .col-lg-4 {
    width: 66%;
    padding-left: 12px !important;
    padding-right: 12px !important;
    height: 62%;
  }


  .consum .input-group .quantity-field {
    width: 0;
  }

  .consum #equipements_content #q18 .col-lg-2:nth-child(4) p,
  .consum #equipements_content #q21 .col-lg-2:not(:last-child) p {
    height: 80px !important;
  }

  .consum #equipements_content #q19 .col-lg-2:nth-child(4) p {
    height: 60px;
  }

  .consum #equipements_content #q22 .col-lg-2:nth-child(2) p,
  .consum #equipements_content #q22 .col-lg-2:nth-child(3) p,
  .consum #equipements_content #q22 .col-lg-2:nth-child(4) p {
    height: 30px !important;
  }
}

@media screen and (min-width:661px) and (max-width:768px) {

  .consum #equipements_content .col-lg-2,
  #voitureElectrique_content #q23 .col-lg-2,
  #voitureElectrique_content #q24 .col-lg-2 {
    width: 25%;
  }

  #voitureElectrique_content #q23 .col-lg-4 {
    width: 100%;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }


  .consum {
    margin-top: 0 !important;
  }
}

@media screen and (min-width:801px) and (max-width:828px) {

  .consum #equipements_content #q22 .col-lg-2:nth-child(6) p,
  .consum #equipements_content #q22 .col-lg-2:nth-child(7) p,
  .consum #equipements_content #q22 .col-lg-2:nth-child(8) p,
  .consum #equipements_content #q22 .col-lg-2:nth-child(9) p {
    height: 60px;
  }
}

@media screen and (min-width:875px) and (max-width:991px) {
  .consum .accordion-body {
    padding: 35px 6%;
  }
}

@media screen and (min-width:992px) {

  .consum #equipements_content .input-group,
  #voitureElectrique_content .input-group {
    margin-bottom: 15px;
  }
}


@media screen and (min-width:992px) and (max-width:1000px) {

  .consum #equipements_content #q18 .col-lg-2:not(:last-child) p,
  .consum #equipements_content #q20 .col-lg-2:nth-child(6) p,
  .consum #equipements_content #q20 .col-lg-2:nth-child(7) p {
    height: 80px !important;
  }


}

@media screen and (min-width:1001px) and (max-width:1250px) {

  .consum #equipements_content .col-lg-2,
  #voitureElectrique_content #q23 .col-lg-2,
  #voitureElectrique_content #q24 .col-lg-2 {
    width: 20%;
  }

  .consum #equipements_content .col-lg-2 p {
    height: 20px !important;
  }

  .consum #equipements_content .col-lg-2 p,
  #voitureElectrique_content #q23 .col-lg-2 p,
  #voitureElectrique_content #q24 .col-lg-2 p {
    font-size: 0.8rem;

  }


  .consum #equipements_content #q19 .col-lg-2 p,
  .consum #equipements_content #q20 .col-lg-2 p {
    height: 40px !important;
  }

  .consum #equipements_content #q21 .col-lg-2 p {
    height: 60px !important;
  }

  .consum #equipements_content #q18 .col-lg-2 p,
  .consum #equipements_content #q20 .col-lg-2:nth-last-child(4) p,
  .consum #equipements_content #q20 .col-lg-2:nth-last-child(3) p,
  .consum #equipements_content #q20 .col-lg-2:nth-last-child(2) p {
    height: 60px !important;
  }

  .consum #equipements_content .col-lg-2 small,
  #voitureElectrique_content .col-lg-2 small {
    font-size: 0.7rem;
  }
}

@media screen and (min-width:1151px) and (max-width:1262px) {
  .consum .input-group button {
    font-size: 1.1rem;
    padding: 5.85px;
  }
}

@media screen and (min-width:1251px) and (max-width:1500px) {
  .consum #equipements_content #q20 .col-lg-2:nth-last-child(4) p {
    height: 80px !important;
  }
}


@media screen and (min-width:1251px) and (max-width:1364px) {

  .consum #equipements_content #q22 .col-lg-2:nth-child(6) p,
  .consum #equipements_content #q22 .col-lg-2:nth-child(5) p,
  .consum #equipements_content #q22 .col-lg-2:nth-child(4) p,
  .consum #equipements_content #q22 .col-lg-2:nth-child(3) p,
  .consum #equipements_content #q22 .col-lg-2:nth-child(2) p {
    height: 60px !important;
  }
}


@media screen and (min-width:1501px) and (max-width:1651px) {

  .consum #equipements_content #q22 .col-lg-2:nth-child(7) p,
  .consum #equipements_content #q22 .col-lg-2:nth-child(6) p,
  .consum #equipements_content #q22 .col-lg-2:nth-child(5) p,
  .consum #equipements_content #q22 .col-lg-2:nth-child(4) p,
  .consum #equipements_content #q22 .col-lg-2:nth-child(3) p,
  .consum #equipements_content #q22 .col-lg-2:nth-child(2) p {
    height: 60px !important;
  }
}



@media screen and (min-width:1251px) and (max-width:1740px) {
  .consum #equipements_content #q19 .col-lg-2 p {
    height: 80px !important;
  }
}

@media screen and (min-width:1600px) and (max-width:1895px) {
  .consum #equipements_content #q18 .col-lg-2 p {
    height: 80px !important;
  }
}

@media screen and (max-width:320px) {
  .consum input[type=radio]+label>.row .col-lg-8 p {
    margin-top: 3px;
  }


  .consum .button-plus[data-field=quantity-surface] {
    margin-right: 10px;
  }

  .details .col-lg-3 .info-box-icon i {
    font-size: 3.3rem;
  }

  .info-box .info-box-icon {
    width: 100%;
  }

}

@media screen and (min-width:992px) and (max-width:1570px) {
  .consum #logement_content .input-group {
    width: 30% !important;
  }
}

@media screen and (min-width:768px) and (max-width:1400px) {
  .consum #q15 .col-lg-6 label {
    height: 82px;
  }
}

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

  .consum #logement_content .col-lg-6:nth-child(odd) input[type=radio]+label,
  .consum #chauffage_content .col-lg-6:nth-child(odd) input[type=radio]+label,
  .consum #voitureElectrique_content .col-lg-6:nth-child(even) input[type=radio]+label {
    border-left: 3px solid rgba(255, 237, 0, 1);
    border-top: none;
  }
}

@media screen and (min-width:661px) and (max-width:767px) {

  #equipements_content #q18 .col-lg-2:nth-last-child(2) p,
  #equipements_content #q20 .col-lg-2:nth-last-child(4) p,
  #equipements_content #q20 .col-lg-2:nth-last-child(5) p {
    height: 60px !important;
  }


  #equipements_content #q20 .col-lg-2:nth-child(5) p {
    height: 40px !important;
  }
}

@media screen and (min-width:674px) and (max-width:767px) {
  #equipements_content #q19 .col-lg-2:nth-last-child(2) p {
    height: 40px !important;
  }
}

@media screen and (min-width:661px) and (max-width:727px) {
  .consum #q21 p {
    height: 60px !important;
  }
}

@media screen and (min-width:661px) and (max-width:673px) {
  .consum #q19 .col-lg-2:not(:last-child) p {
    height: 60px !important;
  }
}

@media screen and (min-width:992px) and (max-width:1169px) {

  .consum input[type=radio]+label>.row .col-lg-2:last-child img,
  .consum #logement_content .row .col-lg-2:last-child img,
  .consum #chauffage_content .row .col-lg-2:last-child img {
    height: 35px !important;
    margin-top: 5px;
  }
}

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

  .consum #equipements_content .input-group .quantity-field,
  #voitureElectrique_content .input-group .quantity-field {
    width: 30%;
  }
}

@media screen and (min-width:769px) and (max-width:953px) {
  .consum #voitureElectrique_content input[type=checkbox]+label+p {
    height: 80px !important;
  }
}

@media screen and (min-width:992px) and (max-width:1000px) {
  .consum #voitureElectrique_content input[type=checkbox]+label+p {
    height: 80px !important;
  }
}

@media screen and (min-width:1001px) and (max-width:1250px) {
  .consum #voitureElectrique_content input[type=checkbox]+label+p {
    height: 40px !important;
  }
}

@media screen and (min-width:1251px) and (max-width:1767px) {
  .consum #voitureElectrique_content input[type=checkbox]+label+p {
    height: 80px !important;
  }
}


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

  .consum #voitureElectrique_content #q23 .col-lg-4 {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

@media screen and (min-width:576px) and (max-width:660px) {
  #voitureElectrique_content #q23 .col-lg-4 {

    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

@media screen and (min-width:769px) and (max-width:1000px) {
  #voitureElectrique_content #q23 .col-lg-4 {
    width: 100%;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

}

@media screen and (min-width:1301px) and (max-width:1500px) {
  #voitureElectrique_content #q23 .col-lg-4 {
    width: 24%;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

}

@media screen and (min-width:1001px) and (max-width:1300px) {
  #voitureElectrique_content #q23 .col-lg-4 {
    width: 100%;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

}

/**footer consum**/
@media screen and (min-width:576px) and (max-height:1200px) {
  #footer_contractConsum footer{
    position: relative;
  }
}

@media screen and (max-width:575px) {
  #footer_contractConsum footer{
    position: relative;
  }
}


/**NEWS*/

#news .card-body {
  text-align: left;
}

#news .card {
  margin-bottom: 60px !important;
  margin-top: 25px !important;
}

#news .card-img-top {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#news h2 {
  text-align: left;
  margin-bottom: 0;
  font-size: 1.5rem;
}



#news .badge {
  background-color: rgba(255, 237, 0, 1);
  color: #000000;
  font-size: 0.7rem;
  margin-bottom: 10px;
  padding: 10px;
  margin-top: 10px;
}

#news .card .col-lg-6:first-child,
#news .card .col-lg-11 {
  padding-left: 0 !important;
}

/**MEDIA QUERY**/
@media screen and (min-width:1025px) and (max-width:1440px) {

  #news {
    margin-top: 160px !important;
  }

  #news #newest .card {
    margin-top: 30px !important;
    margin-bottom: 30px !important;
  }
}

@media screen and (max-width:991px) {
  #news .card .col-lg-6:first-child {
    padding-right: 0 !important;
  }
}

/**footer**/
@media screen and (max-width:768px) and (max-height:1480px) {
  #footer_news footer {
    position: relative;
  }
}

@media screen and (min-width:769px) and (max-width:999px) and (max-height:1500px) {
  #footer_news footer {
    position: relative;
  }
}

@media screen and (min-width:1000px) and (max-width:1201px) and (max-height:1200px) {
  #footer_news footer {
    position: relative !important;
  }
}

@media screen and (min-width:1202px) and (max-width:1499px) and (max-height:1150px) {
  #footer_news footer {
    position: relative !important;
  }
}

@media screen and (min-width:1500px) and (max-height:1000px) {
  #footer_news footer {
    position: relative;
  }
}


/*------------------------FORMULAIRE CONTRACT---------------------------------------------------*/

.contractForm #title {
  font-size: 1.1rem !important;
}

/*----------------PROGRESSBAR--------------------------*/

#progressbar li:before {
  width: 20px;
  height: 20px;
  line-height: 15px;
  font-size: 0.7rem;
}

#progressbar li,
#progressbar li .active {
  font-size: 0.2rem;
}

#progressbar li,
#progressbar li .active {
  font-size: 0.2rem;
}

/*-----------FORMCHECK----------------------*/
.contractForm .form-check {
  margin-bottom: 0rem;
}

.contractForm .form-check-label {
  margin-bottom: 10px;
}

.contractForm .alert-danger .form-check-label {
  padding-left: 25px;
}

.contractForm .alert-danger .form-check-input {
  margin-left: 0.5px;
  background-color: #f3ccd0;
}

.contractForm .form-check {
  margin-bottom: 10px;
}

.contractForm .form-check-label {
  margin-bottom: 10px;
}



.contractForm fieldset .form-card {
  padding: 10px !important;
}

.contractForm #progressbar .information:before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f129";
}

.contractForm #progressbar .data:before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f007";
}

.contractForm #progressbar .choice:before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f015";
}

.contractForm #progressbar .electricity:before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f1e6";
}

.contractForm #progressbar .agree:before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f15b";
}

.contractForm #progressbar .sepa_payement:before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f19c";
}

.contractForm #progressbar .check:before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f00c";
}

.contractForm #progressbar .end:before {
  font-family: "Font Awesome 5 Free";
  content: "\f5b7";
  font-weight: 900;
}

/*progressbar*/
.contractForm #progressbar {
  margin-bottom: 30px;
  overflow: hidden;
  color: lightgrey;
  text-align: center;
}


.contractForm #progressbar li {
  list-style-type: none;
  font-size: 16px;
  width: 14%;
  float: left;
  position: relative;
}


/*ProgressBar before any progress*/
.contractForm #progressbar li:before {
  width: 50px;
  height: 50px;
  line-height: 45px;
  display: block;
  font-size: 18px;
  color: #ffffff;
  background: lightgray;
  border-radius: 50%;
  margin: 0 auto 10px auto;
  padding: 2px;
}

/*ProgressBar connectors*/
.contractForm #progressbar li:after {
  content: '';
  width: 100%;
  height: 2px;
  background: lightgray;
  position: absolute;
  left: 0;
  top: 25px;
  z-index: -1;
}

/*Color number of the step and the connector before it*/
.contractForm #progressbar li.active:before,
.contractForm #progressbar li.active:after {
  background: rgba(255, 237, 0, 1);
  border: 2px solid black;
}

.contractForm #progressbar a[href] li:hover:before{
  background: rgb(237, 20, 19)
}

.contractForm #progressbar a[href] li:hover{
  font-weight: bold;
}

.contractForm #body,
.contractForm h2 {

  text-align: left;
}

input[type=submit], a.linkbutton {
  background-color: rgba(255, 237, 0, 1);
  border: none;
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.5);
  padding: 15px;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 40px;
  color: black;
}

a.linkbutton:hover {
  background-color: red !important;
}

.contractForm #menu p {
  color: black;
  font-weight: 600;
  margin-bottom: 50px;
  text-align: center;
}

.contractForm #progressbar .active a {
  font-weight: bold;
}

.contractForm #progressbar .active:before {
  color: #000000;
}

.contractForm .form-control {
  text-align: left;
}

.contractForm .previous {
  box-shadow: none;
}

.contractForm .input-tel {
  display: flex;
}

.contractForm .alert {
  margin: 0;
  padding: 10px;
}

.contractForm .form-check,
.contractForm .form-check label {
  margin: 0;
}

.contractForm input[type=radio] {
  accent-color: rgba(255, 237, 0, 1);
}

.contractForm .form-control:focus,
.contractForm .form-select:focus {
  border-color: rgba(255, 237, 0, 1) !important;
  box-shadow: 0 0 0 0.25rem rgba(255, 237, 0, 1);
}

.contractForm .dropdown-menu a:hover,
.contractForm option:checked {
  background-color: rgba(255, 237, 0, 1) !important;
}

.contractForm .date .input-group-text {
  background-color: rgba(255, 237, 0, 1) !important;
}

.contractForm .scrollable-menu {
  height: auto;
  max-height: 200px;
  overflow-x: hidden;
}

.contractForm .form-check-input:checked {
  background-color: rgba(255, 237, 0, 1) !important;
  border-color: black !important;
  background-image: url("/images/check.png") !important;
}

.contractForm .info_box img {
  height: 50px;
}

.pdf-container {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
}

.pdf-viewer {
  display: inline-block;
}

.contractForm iframe {
  width: 100%;
  height: 80vh;
}

.contractForm #error_otherfield {
  margin-top: -50px;
  margin-left: 15px;
}

.contractForm .alert-danger+.alert-danger {
  margin-top: 20px;
}

.contractForm #error_bill {
  margin-top: 20px;
}

.contractForm .success {
  display: block !important;
}

.contractForm .previous {
  margin-right: 25px !important;
}

/**MEDIA QUERY**/

@media screen and (max-width:1000px) {
  .contractForm #progressbar li span {
    display: none;
  }
}

@media screen and (max-width:500px) {
  .contractForm #progressbar li:before {
    width: 25px;
    height: 25px;
    font-size: 10px;
    line-height: 20px;
  }

  .contractForm input {
    margin: 0 !important;
  }

  .contractForm .form-check-label {
    margin-left: 20px !important;
  }

  .contractForm .form-check-input {
    margin-top: 5px !important;
  }

  .contractForm #sit {
    margin-left: -20px !important;
  }

  .contractForm .card-body {
    padding: 0 !important;
  }

  .contractForm .success {
    padding: 15px;
  }

  .contractForm .next,
  .contractForm .previous {
    margin-bottom: 15px !important;
    margin-top: 15px !important;
  }

  .contractForm .alert {
    padding: 5px !important;
  }
}

@media screen and (max-width:768px) {
  .contractForm .input-tel button {
    padding-top: 12px !important;
  }
}


@media screen and (max-width:327px) {
  .contractForm #sit label {
    font-size: 0.7rem !important;
  }
}

@media screen and (max-width:374px) {
  .contractForm #label_mandat {
    text-align: left !important;
  }
}

@media screen and (max-width:768px) {
  .contractForm #condition a {
    font-size: 0.8rem !important;
  }

  .contractForm .dropdown-menu {
    width: 100% !important;
  }
}

@media screen and (max-width: 320px) {
  .contractForm {
    margin-top: 200px !important;
  }
}

@media screen and (min-width: 1025px) and (max-width: 1440px) {
  .contractForm {
    margin-top: 180px !important;
  }
}

/**footer**/

#footer_formContract footer {
  position: relative;
}


/**autocomplete*/
.autocomplete {
  position: relative;
}

.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  /*position the autocomplete items to be the same width as the container:*/
  top: 100%;
  left: 0;
  right: 0;
}

.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: #fff;
  border-bottom: 1px solid #d4d4d4;
}

/*when hovering an item:*/
.autocomplete-items div:hover {
  background-color: #e9e9e9;
}

/*when navigating through the items using the arrow keys:*/
.autocomplete-active {
  background-color: rgba(238, 220, 4, 1) !important;
  color: black;
}

.contractForm #body {
  margin-top: 40px !important;
  margin-left: auto !important;
  margin-right: auto !important;

}


@media screen and (min-width:1246px) and (max-width:1499px) {
  .contractForm #body {
    margin-left: 8% !important;
    margin-right: 8% !important;
  }
}

@media screen and (min-width:1500px) and (max-width:1699px) {
  .contractForm #body {
    margin-left: 12% !important;
    margin-right: 12% !important;
  }
}

@media screen and (min-width:1700px) {
  .contractForm #body {
    margin-left: 15% !important;
    margin-right: 15% !important;
  }
}


@media screen and (min-width:921px) {
  .contractForm #progressbar li:after {
    left: 80px;
  }

  .contractForm #progressbar .end:after {
    display: none;
  }
}

@media screen and (min-width:501px) and (max-width:920px) {
  .contractForm #progressbar li:after {
    left: 30px;
  }

  .contractForm #progressbar .end:after {
    display: none;
  }
}

@media screen and (max-width:768px) {
  .contractForm #progressbar {
    padding: 0 !important;
    margin-bottom: 0 !important;
  }

  .contractForm p a {
    font-size: 0.8rem !important;
  }

  .contractForm .info_box img {
    width: 30px;
    height: auto;
    object-fit: cover;
  }

  .contractForm #file_image{
    height: auto !important;
  }

  .contractForm label{
    text-align: left !important;
  }
}

/* Chrome, Safari, Edge, Opera */
.contractForm #code input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
.contractForm #code input[type=number] {
  -moz-appearance: textfield;
}

.subscription_show{
  width: 110px;
}

.collapsed:not(.card-header a.collapsed){
  width: fit-content !important;
}

.small{
  font-size: 10px!important;
}

.dropdown_language a{
  font-size: small !important;
}


.dropdown_language .dropdown-toggle{
  font-weight: 350;
}

.js-cookie-consent div{
  padding: 15px;
}

.js-cookie-consent button{
  width: fit-content;
  background-color: black !important;
  color: white !important;
}

.pod_field, .address_field{
  border: 1px solid;
  padding: 10px;
  margin: 10px;
}

.flex-container {
  display: flex; /* Use flexbox for layout */
  justify-content: space-between; /* Distribute items evenly along the main axis */
  flex-wrap: wrap; /* Allow items to wrap to a new line if needed */
  align-items: center;
}

.delivery-container {
  display: flex;
  align-items: center;
}

.delivery-container h4 {
  margin: 0; /* Remove default margin */
  margin-right: 10px; /* Add some space between the h4 and the button */
}


.video-container {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 470px;
}

  

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the video covers the container without stretching */
  position: absolute;
  top: 0;
  left: 0;
}

.information-text{
    background-color: #000000;
    padding: 25px;
    font-family: Anton;
    color: rgb(255, 255, 255) !important;
    text-align: center;
    margin: 0 !important;
    line-height: 1.2;
    font-size: 2.5rem;
}

.information-text a{
  font-size: 2.5rem !important;
  color:white !important;
}

.information-container{
  margin:auto;
  width:fit-content !important;
}

.yellow{
  background-color: rgba(255, 237, 0, 1);
}