#modal-cookie-country {
  width: 100%;
  height: 100%;
  /* position: absolute; */
  background: #13313999;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  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: 100%;
    height: 100%;
  }
  #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 #next-disclaimer-close {
  cursor: pointer;
}

#modal-cookie-country .modal-container .disclaimer .close {
  text-align: right;
}

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

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

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

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

#modal-cookie-country .modal-container .country-selector .container-top,
#modal-cookie-country .modal-container .country-selector .container-bottom {
  display: flex;
  flex-direction: column;
}

#modal-cookie-country .modal-container .country-selector .container-top {
  align-items: start;
}

#modal-cookie-country .modal-container .country-selector .container-bottom {
  align-items: start;
}

#modal-cookie-country .modal-container .country-selector .container-bottom .selector {
  align-items: end;
  width: 100%;
}

#modal-cookie-country .modal-container .country-selector .container-top > * ,
#modal-cookie-country .modal-container .country-selector .container-bottom > * {
  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-logo {
  display: none;
  margin: 0 0 0 1em;
}

@media (max-width: 1024px) {
  #modal-cookie-country .modal-container .choice-country-logo {
    display: flex;
  }
}

#modal-cookie-country .modal-container .choice-country,
#modal-cookie-country .modal-container .choice-country-title {
  display: flex;
  justify-content: start;
  flex-wrap: wrap;
  margin: .5em 0;
}

#modal-cookie-country .modal-container .choice-country {
  padding: 0 0 0 1em;
}

#modal-cookie-country .modal-container .choice-country p {
  font-size: 12px;
}

#modal-cookie-country .modal-container .choice-country-title {
  padding: 0em 0em 0em 1em;
  margin-bottom: 0;
  justify-content: start;
  align-items: center;
}

#modal-cookie-country .modal-container .choice-country-title.hidden {
  /* display: none; */
}

#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 .choice-country p {
  text-align: center;
}

#modal-cookie-country .modal-container .selector {
  display: flex;
  justify-content: space-between;
  align-items: end;
  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 .choice-country img {
    height: 20px;
    margin: 2px;
  }

  #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: 0;
}

#modal-cookie-country .modal-container .profile-list {
  display: block;
  justify-content: center;
  margin-bottom: .5em;
}

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

  transition: all 0.25s ease;
  border: 1px solid #e5e5e5;
  padding: 15px;
  border-radius: 8px;
  background: #ffffff;
}

#modal-cookie-country .modal-container .profile-selector .profile-type:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  border-color: #003B4A; /* your brand colour if desired */
}

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

#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: left;
  min-height: 35%;
}

#modal-cookie-country .modal-container .profile-selector .profile-type h1, 
#modal-cookie-country .modal-container .profile-selector .profile-type p {
  transition: color 0.25s ease;
}

#modal-cookie-country .modal-container .profile-selector .profile-type:hover h1, 
#modal-cookie-country .modal-container .profile-selector .profile-type:hover p {
  color: #003B4A;
}
@media (max-width: 1024px) {
  #modal-cookie-country .modal-container .profile-selector {
    width: 100%;
  }
  #modal-cookie-country .modal-container .profile-list {
    /* flex-direction: column; */
    width: 100%;
  }

  #modal-cookie-country .modal-container .profile-selector .profile-type {
    height: 3em;
    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;
}

#modal-cookie-country .modal-container .confirm-terms-conditions {
  padding: 0em 0em 0em 1em;
  margin-bottom: .5em;
}

#modal-cookie-country .modal-container .confirm-terms-conditions .terms-conditions {
  font-weight: bold;
  cursor: pointer;
  text-decoration: underline;
}
