@font-face {
  font-family: 'Arial';
  src: url('../fonts/ARIAL.eot');
  src: url('../fonts/ARIAL.eot?#iefix') format('embedded-opentype'),
       url('../fonts/ARIAL.woff2') format('woff2'),
       url('../fonts/ARIAL.woff') format('woff'),
       url('../fonts/ARIAL.ttf') format('truetype'),
       url('../fonts/ARIAL.svg#Arial') format('svg');
}

:root {
  --water-blue: #0088CE;
  --black: #000;
  --granite-gray: #616060;
  --cultured: #F7F7F7;
  --white: #fff;
}

body {
  font-family: 'Arial';
  background-color: var(--cultured);
}

.container {
  max-width: 1700px;
}

.headerSection {
  padding: 20px 0;
}

.consentsBannertext {
  text-align: center;
}

.consentsBannertext h1.commonH1 {
    max-width: 580px;
    margin: auto;
}

h1.commonH1 {
  color: var(--water-blue);
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
}

.consentsBannertext p {
  color: var(--black);
  font-size: 20px;
}

.searchSection {
  text-align: center;
  margin-bottom: 50px;
}

.searchSection form {
  position: relative;
  width: 374px;
  margin: auto;
}

.searchSection input {
  width: 100%;
  padding: 12px 40px 12px 20px;
  border: 1px solid var(--water-blue);
  border-radius: 12px;
  font-size: 20px;
  color: var(--black);
}

.searchSection input::placeholder {
  color: var(--granite-gray);
}

.searchSection input:focus-visible {
  outline: none;
}

.searchSection button.btn {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  line-height: normal;
}

.searchSection button.btn:focus {
  box-shadow: none;
}

.searchSection button.btn {
    padding: 0;
    margin: 15px;
}

/* Hide the clear (X) button in Chrome, Edge, Safari */
.searchSection input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

.consentsSection {
    margin-bottom: 80px;
}

.countryListsection {
  background-color: var(--white);
  padding: 50px 0;
  margin-top: 40px;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15);
}

.country-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin: 0 120px;
}

.country-item {
  padding: 35px;
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  display: grid;
}

.country-grid > .country-item:nth-child(-n+6) {
  padding-top: 5px;
}

.country-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
}

.country-imgandtext {
  display: flex;
  align-items: center;
}

.country-img img {
  margin-right: 20px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 5px 0px, rgba(0, 0, 0, 0.1) 0px 0px 1px 0px;
  width: 48px;
}

.country-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.country-name,
.country-lang {
  font-size: 14px;
  color: var(--black);
}

.country-item a:hover .country-name,
.country-item a:hover .country-lang {
  color: var(--water-blue);
}

.right-arrow {
  opacity: 0;
  transition: opacity 0.3s;
}

.country-item a:hover .right-arrow {
  opacity: 1;
}

.right-arrow i.fa {
  color: var(--water-blue);
  font-size: 20px;
}

.country-grid .no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    font-size: 18px;
    color: #ff0018;
    display: block;
}

.country-grid.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
}

.loader-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  grid-column: 1 / -1;
  text-align: center;
}

.loader {
  width: 40px;
  height: 40px;
  border: 5px solid #ccc;
  border-top-color: #0088CE;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}


.headerSection img {
    max-width: 145px;
}


@media only screen and (min-width: 1300px) and (max-width: 1699px) {
  .country-grid {
    margin: 0 65px;
  }
  .country-item {
    padding: 20px;
  }

}


@media only screen and (min-width: 1100px) and (max-width: 1299px) {
  .country-grid {
      margin: 0 35px;
  }
  .country-item {
    padding: 15px;
  }
  .country-img img {
      margin-right: 10px;
  }
}


@media only screen and (max-width: 1299px) {
  .consentsSection {
      margin-bottom: 30px;
  }
}


@media only screen and (min-width: 768px) and (max-width: 1099px) {
  h1.commonH1 {
    font-size: 28px;
  }
  .consentsBannertext h1.commonH1 {
      max-width: 480px;
  }
  .consentsBannertext p, 
  .searchSection input::placeholder, 
  .searchSection input  {
    font-size: 16px;
  }
  .country-grid {
      grid-template-columns: repeat(4, 1fr);
      margin: 0 35px;
  }
  .country-item {
      padding: 10px;
  }
  .country-img img {
      margin-right: 10px;
  }
}

@media only screen and (max-width: 767px) {
  h1.commonH1 {
      font-size: 24px;
      line-height: 34px;
  }
  .consentsBannertext h1.commonH1 {
      max-width: 430px;
      margin-bottom: 15px !important;
  }
  .country-grid {
      grid-template-columns: repeat(2, 1fr);
      max-width: 85%;
      margin: auto;
  }
  .country-item {
      padding: 10px;
  }
  .country-img img {
      margin-right: 10px;
  }
}

@media only screen and (max-width: 479px) {
  .searchSection form {
      width: 85%;
      margin: auto;
  }
  .consentsBannertext p, .searchSection input::placeholder, .searchSection input {
      font-size: 16px;
  }
  .countryListsection {
      padding: 35px 0;
      margin-top: 20px;
  }
  .searchSection {
      margin-bottom: 25px;
  }
  .country-grid .no-results {
      padding: 20px 0px;
  }
}