#modal-cookie-country {
  width: 100%;
  height: 100%;
  position: absolute;
  background: #13313999;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 100000;
}

#modal-cookie-country.modal-cookie-country.hidden {
  display: none;
}

#modal-cookie-country .modal-container {
  width: 66%;
  height: 700px;
  background: #fff;
  border: 5px solid #fff;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}


#modal-cookie-country .modal-container .explication {
  border-radius: 10px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0)), url('/wp-content/themes/pegasus/assets/img/imgp-cookie-country-back.jpg');
  background-position: center bottom;
  background-size: auto 100%;
  background-repeat: no-repeat;
  width: 30%;
  height: 100%;
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  #modal-cookie-country .modal-container {
    width: 95%;
    height: 70%;
  }
  #modal-cookie-country .modal-container .explication {
    background: none;
    width: 0;
  }
}

#modal-cookie-country .modal-container .modal-states {
  flex: 1;
  box-sizing: border-box;
  height: 100%;
}

#modal-cookie-country .modal-container .disclaimer {
  padding: 0 1em 0 1em;
  box-sizing: border-box;
  height: 100%;
}

#modal-cookie-country .modal-container .disclaimer.hidden {
  display: none;
}

#modal-cookie-country .modal-container .disclaimer .content {
  padding: .5em 0 .5em 0;
  margin: 0;
  height: 90%;
  overflow-y: scroll;
  box-sizing: border-box;
}

#modal-cookie-country .modal-container .country-selector {
  padding: 0 1em;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

#modal-cookie-country .modal-container .country-selector.hidden {
  display: none;
}

#modal-cookie-country .modal-container .country-selector > * {
  flex: 1;
  box-sizing: border-box;
}


#modal-cookie-country .modal-container .choice-region {
  /* height: 50vh; */
}

#modal-cookie-country .modal-container .choice-region .where-location {
  margin: 3em 0 1em 0;
}

#modal-cookie-country .modal-container .choice-region .regions {
  display: flex;
  justify-content: space-between;
  padding: .1em 0;
}

#modal-cookie-country .modal-container .choice-region .regions > * {
  width: 33%;
}

#modal-cookie-country .modal-container .choice-region .regions > *:not(:first-child()) {
  margin-left: .1em;
}

#modal-cookie-country .modal-container .choice-region .regions p {
  margin: 0;
  text-align: center;
}

#modal-cookie-country .modal-container .choice-region img {
  border: 1px solid #eee;
  border-radius: 10px;
}

#modal-cookie-country .modal-container .choice-region img.selected {
  background-color: #6aac8c;
}

#modal-cookie-country .modal-container .choice-country {
  padding: 2em 2em;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  /* height: 30vh; */
}

#modal-cookie-country .modal-container .choice-country img {
  height: 25px;
  margin: 5px;
  cursor: pointer;
}

#modal-cookie-country .modal-container .choice-country .selected img {
  border: 4px solid #36b28e;
  border-radius: 50%;
}

#modal-cookie-country .modal-container .selector {
  display: flex;
  justify-content: space-between;
  padding: 0;
  height: 2em;
}

#modal-cookie-country .modal-container .selector:has(:only-child) {
  justify-content: end;
  height: 10%;
  align-items: end;
}

#modal-cookie-country .modal-container .selector > *{
  background: #eee;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin: 0;
  padding: .2em 1em;
  height: 2em;
  display: inline-block;
  width: 200px;
}

@media (max-width: 1024px) {
  #modal-cookie-country .modal-container .selector:has(:only-child) {
    justify-content: center;
  }

  #modal-cookie-country .modal-container .selector > *{
    width: 100px;
    padding: .2em;
    font-size: .8em;
  }
}
#modal-cookie-country .modal-container .selector .accept {
}

#modal-cookie-country .modal-container .selector .enabled {
  background: #1a3139;
  color: #fff;
}

#modal-cookie-country .modal-container .profile-selector {
  padding: 0 1em;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;;
}

#modal-cookie-country .modal-container .profile-selector.hidden {
  display: none;
}

#modal-cookie-country .modal-container .profile-selector .describe {
  margin: 3em 0 1em 0;
}

#modal-cookie-country .modal-container .profile-list {
  display: flex;
  justify-content: space-between;
  height: 280px;
  margin-bottom: 3em;
}

#modal-cookie-country .modal-container .profile-selector .profile-type {
  padding: .3em 3em;
  margin: .5em 0;
  border: 1px solid #eee;
  border-radius: 10px;
  font-size: 12px;
  color: #666;
  cursor: pointer;
  width: 33%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
}

#modal-cookie-country .modal-container .profile-selector .profile-type h1 {
  font-size: 18px;
  font-weight: bold;
}

#modal-cookie-country .modal-container .profile-selector .profile-type p {
  font-size: 14px;
  text-align: justify;
  min-height: 35%;
}

@media (max-width: 1024px) {
  #modal-cookie-country .modal-container .profile-list {
    flex-direction: column;
  }

  #modal-cookie-country .modal-container .profile-selector .profile-type {
    width: 100%;
    align-items: center;
  }

  #modal-cookie-country .modal-container .profile-selector .profile-type h1 {
    margin: 1rem;
  }

  #modal-cookie-country .modal-container .profile-selector .profile-type p {
    display: none;
  }
}

#modal-cookie-country .modal-container .profile-selector .profile-type.selected {
  color: #fff;
  background: #6aac8c;
}
