#cards {
  min-width: 360px;
}

.flex-card {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;

}

/* class utilities */

.flex, .flex-mobile, .flex-always {
  display: flex;
}

.align-items {
  align-items: center;
}

.w-1-2 {
  width: 50%;
}

.w-1-3 {
  width: 33%;
}

.w-2-3 {
  width: 66%;
}

.align-right {
  text-align: right;
}

.mb-5px {
  margin-bottom: 5px;
}

.mb-8px {
  margin-bottom: 8px;
}

.mb-12px {
  margin-bottom: 12px;
}

.mb-16px {
  margin-bottom: 16px;
}

.mb-32px {
  margin-bottom: 32px;
}

.mb-px {
  margin-bottom: 8px;
}

.mr-5px {
  margin-right: 5px;
}

.mr-8px {
  margin-right: 8px;
}

.pink {
  color: #D20A5E;
}

.material-icons-outlined {
  font-size: 32px !important;
}




/* class element */

h2, .main h2, .main-modal h2 { 
  font-style: normal;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -0.02em;
  color: #2F3131;
  margin-bottom: 12px;
  text-transform: none;
}

.main h2, .main-modal h2 { 
  margin-top: 0;
}

body, main.o-Layout--main {
  background-color: #f0f0f0 !important;
  margin-top: 20px !important;
}

label {
  font-weight: normal;
  margin: 0;
}

input[type="checkbox"] {
  margin: 0 8px 0 0;
}

.ccm-ui p {
  margin: 0;
}

h1.o-Title--h3.u-mt0 {
  margin: 0 !important;
}

.o-Grid--main{
  padding-top: 16px;
}


/* class style */

.card {
  /*flex: 0 1 calc(50% - 4px);*/
  box-shadow: 2px 2px 2px #e1e1e1;
  width: 100%;
  font-size: 0.9rem;
  margin-bottom: 8px;
  background-color: #fff;
  cursor: pointer;
}


.hero {
  height: 163px;
}

.hero-card {
  height: 300px;
}

.hero, .hero-card {
  background-size: cover;
  background-position: center;
}

.main {
  padding: 24px;
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 18px;
  letter-spacing: -0.02em;
  color: #000;
}

.main-modal {
  padding: 40px 80px;
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 18px;
  letter-spacing: -0.02em;
  color: #000;
}

.descriptif {
  margin: 16px 0 20px 0;
}

.description {
  margin: 20px 0;
}

.icon {
  width: 32px;
  height: 32px;
  margin-right: 8px;
}

.ui-dialog .ui-dialog-content {
  padding: 0;
}

.filter-sidebar {
  min-width: 250px;
  max-width: 250px;
  margin-right: 25px;
}

.filter-sidebar > ul > li {
  border-bottom: 1px solid #2F3131;
  cursor: pointer;
  list-style: none !important;
  vertical-align:  middle;
}

.filter-sidebar > ul > li > div,
.filter-sidebar > ul > li ul li {
  padding: 12px 0 10px 10px;
}

.filter-sidebar > ul > li ul {
  margin: 0;
}

.filter-sidebar > ul > li ul li {
  padding: 15px 0 8px 15px;
}

ul > li {
  list-style: none !important;
}

.sub-menu {
  display: none;
}

.button-container {
  position: relative;
}

.help-question {
  color: #d80669;
}

.help-container {
  margin-top: 10px;
  cursor: pointer;
}

.help-tooltip {
  position: absolute;
  top: 0;
  left: 275px;
  padding: 15px;
  width: 500px;
  border-radius: 4px;
  background-color: #000;
  color: #f1f1f1;
  font-size: 14px;
  z-index: 10000;
  display: none;
}

.active-tooltip {
  display: block;
}

.help-button {
  background-color: #D80669;
  border: none;
  color: #fff !important;
  border-radius: 100%;
  padding: 8px 8px 8px 16px;
  margin: 0 0 8px 0;
  text-align: left;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  height: 30px;
  width: 30px;
}

a.project-button {
  border: none;
  border-radius: 4px;
  padding: 12px 8px;
  text-align: left;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  width: 100%;
}

a.project-button-plus {
  background-color: #D80669;
  color: #fff !important;
}

a.project-button-help {
  background-color: transparent;
  color: #D80669 !important;
}

.circle {
  width:15px;
  height:15px;
  margin: 0 4px 2px 0;
  border-radius:100%;
  position:relative;
  display:inline-block;
  vertical-align:middle;
  background-color: #fff;
}
.circle.plus:before,
.circle.plus:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #D80669;
}
.circle.plus:before {
    width: 2px;
    margin: 2px auto;
}
.circle.plus:after {
    margin: auto 2px;
    height: 2px;
}

.top-search {
  margin-bottom: 15px;
}

.top-search input {
  width: 100%;
  height: 48px;
  padding: 7px 15px;
  border: none;
  font-size: 17px;
}

.search-icons {
  background-color: #fff;
  padding: 8px;
}

.public-select {
  margin-right: 16px;
}

.public-select select, .level-select select {
  width: 255px;
  height: 48px;
  margin-top: 16px;
  padding: 0 15px;
  border: none;
  cursor: pointer;
  background: url(https://cdn1.iconfinder.com/data/icons/cc_mono_icon_set/blacks/16x16/br_down.png) no-repeat right #fff;
  -webkit-appearance: none;
  background-position-x: 224px;
}

.typo {
  font-family: Inter;
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 18px;
  letter-spacing: -0.02em;
  color: #2F3131;
}

/* modal */

.modal {
  display: none;
  position: fixed; 
  padding-top: 60px;
  left: 0; 
  top: 40px;
  width: 100%;
  height: 100%; 
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  position: relative; 
  background-color: white;
  margin: 0 auto 20px auto; 
  max-width: 800px;  
  max-height: 90vh;
  overflow-y: auto;
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s
}

.close-btn {
  float: right; 
  margin: 15px 15px 0 0;
  color: #555; 
  font-size: 18px;  
  font-weight: bold;
  background-color: #fff;
  text-align: center;
  border-radius: 50%;
  width: 25px;
  height: 24px; 
  cursor: pointer;
}

.close-btn:hover {
  color: darkgray;
}

@-webkit-keyframes animatetop {
  from {top:-300px; opacity:0} 
  to {top:0; opacity:1}
}

@keyframes animatetop {
  from {top:-300px; opacity:0}
  to {top:0; opacity:1}
}

.input-card-button {
  display: block;
  padding: 12px 16px;
  background-color: #D80669;
  color: white;
  border-radius: 3px;
  cursor: pointer;
  margin: 16px auto 16px auto;
}

.input-card-success {
  padding: 8px 16px;
  text-align: center;
  margin: 0 auto;
  color: #D80669;
}



/* Media queries */

@media (max-width: 739px)  {

  .flex-card, .flex {
    display:  block;
  }

  .card {
    width: 100%;
  }

  .filter-sidebar {
    min-width: 180px;
    max-width: 100%;
    margin-right: 0;
  }

  .main-modal {
    padding: 20px 30px;
    font-size: 16px;
    line-height: 18px;
  }

  .top-search {
    margin-top: 60px;
  }

  .search-icons {
    background-color: #fff;
    padding: 8px;
  }


  .public-select select, .level-select select {
    width: 100%;
    background-position-x: 95%;
  }

  .public-select {
    margin-right: 0;
  }
  
  .modal {
    top: 14px;
    left: 0;
    right: 0;
    bottom: 0;
  }

  .w-1-3, .w-2-3 {
    width: 100%;
  }

  .align-right {
    text-align: left;
  }

  .help-tooltip {
    top: -310px;
    left: 0px;
    width: 300px;
  }


}

@media ( max-width: 360px ) {

  .o-Col {
    padding-left: 0;
    padding-right: 0;
  }

}
