@font-face {
    font-family: aileron;
    src: url(assets/fonts/aileron/Aileron-Regular.otf);
}

@font-face {
    font-family: aileron;
    src: url(assets/fonts/aileron/Aileron-Bold.otf);
    font-weight: bold;
}

@font-face {
    font-family: lemonmilk;
    src: url(assets/fonts/lemonmilk/LEMONMILK-Regular.otf);
}

@font-face {
    font-family: lemonmilk;
    src: url(assets/fonts/lemonmilk/LEMONMILK-Bold.otf);
    font-weight: bold;
}

.container section:nth-child(2) {
    max-width: 100%;
    overflow-x: scroll;
}

body {
    margin: 0;
    max-width: 100%;
}

.container {
    max-width: 700px;
    margin: auto;
    margin-bottom: 2em;
}

h1 {
    font-weight: bolder;
}

.container {
    font-family: 'Cooper Hewitt', sans-serif;
    font-style: normal;
}

.heading-section p {
    font-family: 'Aileron', sans-serif;
}

.container h3{
    /* font-size: 600; */
    font-weight: 711;
  	font-size: 1em;
}

.heading-section {
    margin: auto;
    background-color: black;
    color: white;
    text-align: center;
    padding: 4em 4em 2em 4em;
}

.heading-section h1, .heading-section h2 {
    font-family: LEMONMILK;
    font-weight: bolder;
}
.heading-section h2 {
    font-size: 1.2em;
}
/* TABLE SECTION */

table {
    font-family: aileron;
    border-collapse: collapse;
    margin: 2em auto;
    width: 467px;
}

table td {
    font-family: "PT Sans Narrow", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.lightblue {
    background-color: rgb(223, 239, 239);
}

.orange {
    background-color: rgb(254, 185, 108);
}

th {
    font-family: "Anton", sans-serif;
    font-weight: 400;
    border: 7px solid white;
    padding: 5px 25px;
    min-width: 80px;
}

tr td:first-child {
	min-width: 190px;
}

@media only screen and (max-width: 600px) {
  th {
    padding: 5px 2px;
    min-width: 80px;
	}
  td {
  	padding: 15px 5px;
  }
}

th .formule {
    font-weight: 200;
}

.formule, .prix, .periode {
}

.formule {
}

.prix {
    margin-top: 1em;
}

.periode {
    font-size: 0.7em;
    font-family: "aileron", sans-serif;
}

.icon-cell {
    text-align: center;
}

td:not(.icon-cell) {
    text-align: right;
}

td {
    border-bottom: 1px solid black;
    padding: 5px 0;
}

.button {
    text-align: center;
    margin-bottom: 4em;
}

.badge {
    font-size: 0.7em;
    font-weight: 705;
    background-color: rgb(251, 150, 152);
    height: 1em;
    padding: 0.4em 0.55em;
    border-radius: 5em;
}

.description {
    font-family: "aileron", sans-serif;
    color: #A7EAB8;
}

.choisir-button {
    font-family: "aileron", sans-serif;
    display: inline-block;
    margin: auto;
    text-decoration: none;
    color: white;
    padding: 8px 40px;
    width: auto;
    background-color: rgb(80, 82, 81);
    border-radius: 20px;
}

/* SUBSCRIPTION OPTIONS */

.background {
  	min-width: 20em;
    margin: auto;
    padding: 5em 2em;
    background-image: linear-gradient(rgba(0, 0, 0, 0.3),rgba(0, 0, 0, 0.3)) , url(assets/img/background.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #CECABF;
    background-position: center;
}

.subscription-option {
    border-radius: 20px;
    background-color: white;
    color: black;
    padding: 0.5em 0.6em 0.5em 1.8em;
}

.subscription-option-container {
    display: block;
    text-decoration: none;
    vertical-align: middle;
    margin: auto;
    max-width: 350px;
    text-align: right;
}

.subscription-option-container *{
    text-align: left;
}

.populaire {
    border: 8px solid rgb(253, 156, 154);
}

.populaire-txt {
    color: black;
    position: relative;
    bottom: -7px;
    right: 20px;
    margin: auto;
    font-size: 12px;
    display: inline-block;
    width: auto;
    font-weight: 711;
    border-radius: 4px 4px 0px 0px;
    border-top: 3px solid rgb(253, 156, 154);
    border-left: 8px solid rgb(253, 156, 154);
    border-right: 8px solid rgb(253, 156, 154);
    background-color: rgb(253, 156, 154);
}

.subscription-option-container {
  	cursor: pointer;
  width: 19em;
}

.subscription-option-container:has(> .populaire-txt) {
  width: 20em;
}

.spacer2 {
    height: 2em;
}

.spacer1 {
    height: 1em;
}

.subscription-option > div > div > *,
.subscription-option img, .subscription-option h3,
.subscription-option div div {
    display: inline-block;
}

.subscription-option h3 {
    margin: 0;
}

.price {
    margin: 0.4em 0;
    font-weight: 705;
}

.price strong {
    font-size: 1.3em;
    font-weight: 711;
}

.engagement {
    font-size: 0.75em;
    font-weight: 711;
}

.red {
    color: #FF3131;
}

.au-lieu-de {
    font-size: 0.85em;
    font-weight: 703;
}

div:has(> .engagement) {
    margin-bottom: 0.1em;
}

.flex-box {
    display: flex;
    justify-content: space-between;
}

.subscription-option-footer {
    height: 4em;
    text-align: center;
    background-color: rgb(80, 82, 81);
  color: black !important;
    padding: 2em;
    /* border-radius: 20px 20px 0 0; */
}

.footer-button {
    display: inline-block;
    text-decoration: none;
    color: black;
    padding: 12px 40px;
    margin: 1em;
    width: auto;
    background-color: rgb(167, 234, 183);
    border-radius: 20px;
}

.links {
    color: white;
}

.links span {
	font-weight: 705;
}

.links a, .links img {
	vertical-align: middle;
}

.links img {
}

/*________________________*/
.wrapper{
  /* width: 500px; */
  height: 100%;
  background: #fff;
  margin: 15px auto 0;
}

.wrapper .title{
  padding: 30px 20px;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  border-bottom: 1px solid #ebedec;
}

.wrapper .tabs_wrap{
    font-weight: 707;
}

.wrapper ul{
  margin: 0;
  padding: 0;
}

.wrapper .tabs_wrap ul{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  border: 1px solid #c1c4c9;
  /* border-radius: 5px; */
  list-style-type: none;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.wrapper .tabs_wrap ul li{
    color: rgb(223, 239, 239);
  width: 33.3%;
    text-align: center;
    background: #000000;
    border-right: 1px solid #c1c4c9;
    padding: 13px 15px;
  cursor: pointer;
  -webkit-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.wrapper .tabs_wrap ul li:first-child{
}

.wrapper .tabs_wrap ul li:last-child{
}

.wrapper .tabs_wrap ul li:hover,
.wrapper .tabs_wrap ul li.active{
  background: #fff;
  color: #000000;
}

.wrapper .container .item_wrap{
  /* padding: 10px 20px; */
  border-bottom: 1px solid #ebedec;
  /* cursor: pointer; */
}

.item_wrap .item .item_left{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.item_wrap .item_left img{
  width: 70px;
  height: 70px;
  display: block;
}

.item_wrap .item_left .data{
  margin-left: 20px;
}

.item_wrap .item_left .data .name{
  font-weight: 600;
}

.item_wrap .item_left .data .distance{
  color: #7f8b9b;
  font-size: 14px;
  margin-top: 3px;
}

.item_wrap .item_right .status{
  position: relative;
  color: #77818d;
}

.item_wrap .item_right .status:before{
  content: "";
  position: absolute;
  top: 5px;
    left: -12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b3bbc8;
}

.item_wrap.offline .item_right .status{
  color: #b3bbc8; 
}

.item_wrap.online .item_right .status:before{
  background: #7fc469;
}


/* ------------------- MODAL -------------- */
/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }
  
  /* Modal Content/Box */
  .modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
  }
  
  /* The Close Button */
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }