﻿@font-face {
  font-family: "national2";
  src: url("https://commissaire-justice.fr/wp-content/themes/betheme-child/directory/assets/fonts/National2-Bold.otf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "national2";
  src: url("https://commissaire-justice.fr/wp-content/themes/betheme-child/directory/assets/fonts/National2-Extrabold.otf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "national2";
  src: url("https://commissaire-justice.fr/wp-content/themes/betheme-child/directory/assets/fonts/National2-Light.otf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

.bg-cover-ultrawide {
  z-index: 2;
}

.directory__container {
  text-align: center;
  padding-top: 30px;
  padding-bottom: 30px;
}

.directory__title {
  color: #e40137;
  font-size: 35px;
  margin-bottom: 10px !important;
  line-height: initial;
}

.directory__subtitle {
  color: #0c2659;
  font-size: 22px;
  margin-bottom: 10px !important;
  line-height: initial;
}

.pac-container {
  /*margin-top: 5px;*/
  border: 1px solid #e6e6e6;
  border-top: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  width: 100%;
}

.pac-item {
  color: #164194;
  cursor: pointer;
}

#directory-search-form {
  justify-content: center;
}

#directory-search-city-gmap {
  height: 100%;
  width: 100%;
}

#directory-around-me {
  background-color: white;
  font-weight: normal;
  color: #164194;
  cursor: pointer;
  border: 1px solid #e6e6e6;
  border-top: none;
  width: 99.8%;
  font-size: 14px;
  z-index: 1000;
}

#directory-around-me-item:before {
  font-family: "Font Awesome 5 Free";
  content: "\f05b";
  padding: 8px 10px 8px 5px;
  font-weight: 900;
}

#directory-around-me > div {
  padding: 8px;
  border-bottom: 1px solid #e7eaef;
  text-align: left;
}

.directory-autocomplete-results-item:before {
  font-family: "Font Awesome 5 Free";
  content: "\f3c5";
  font-weight: 900;
  padding: 8px 12px 8px 6px;
}

.directory-autocomplete-results-item {
  /*display: block;*/
}

#directory-around-me > div:hover {
  background-color: #e7eaef;
}

#directory-around-me > div > i {
  padding: 8px 6px 8px 6px;
  background-color: inherit;
}

.directory-search-city-gmap-container {
  z-index: 1000;
  width: 100%;
}

.font-blue {
  color: #164194;
}

.background-blue {
  background-color: #164194;
}

#directory-search-container {
  margin: auto;
  font-family: national2;
  background-color: #e40137;
  width: auto;
}

#directory-search-container h2 {
  font-size: 1.1rem;
  letter-spacing: 0.3rem;
  color: #ffffff;
}

#directory-search-container button {
  color: white;
  width: 100%;
  height: 100%;
}

#directory-search-container button:hover {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  background-color: #164194;
}

.directory-search-input {
  width: 100%;
  display: flex !important;
  margin-bottom: 0px;
  height: 44px;
}

.directory-search-input i {
  /*margin-bottom: 20px;*/
  color: #164194;
  padding: 15px 10px 14px 10px;
  border-color: #ebebeb;
  background-color: white;
  width: 38px;
}

.directory-search-input input {
  width: 100%;
  color: #164194;
  box-shadow: none !important;
  border-left: none;
  margin-bottom: 0px;
}

.directory-search-input input::placeholder {
  color: #164194;
  font-size: 1rem;
}

.directory-search-input select {
  width: 100%;
  font-size: 0.9rem;
  color: #164194;
  border-left: none;
}

.directory-search-input select::placeholder {
  font-size: 1rem;
  color: #164194;
}

.directory-search-input input::placeholder {
  color: #164194;
  font-size: 1rem;
}

.directory-search-input button {
  width: 100%;
}

.search-results {
  font-family: national2;
}

.pagination-link {
  color: #164194;
  text-decoration: none;
}

#search-results-map {
  width: 100%;
  height: 350px;
}

.no-results {
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.no-results img {
  min-height: 150px;
}

.no-results > p {
  font-family: national2;
  font-size: 1.2rem;
}

.search-results-office {
  cursor: pointer;
}

.search-results-office:hover {
  border-color: #e40137 !important;
  box-shadow: 0 0 0 1px #e40137;
}

/*.search-results-office:hover .search-results-button {*/
/*    background-color: #e40137;*/
/*    color: #FFFFFF;*/
/*    text-decoration: none;*/
/*}*/

.reservation-link-results {
  background-color: #e40137 !important;
  text-decoration: none !important;
}

/*.reservation-link-results:hover {*/
/*    background-color: #164194 !important;*/
/*}*/

.search-results-office-name {
  font-size: 1.2rem;
}

.search-results-city {
  font-size: 0.9rem;
}

.search-results-button {
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: bold;
  font-size: 1rem;
  display: inline-block;
}

.search-results-activities {
  font-weight: bold;
}

/* Map */

.map-info-window {
  font-family: national2;
}

.map-info-window > h1 {
  color: #164194 !important;
  letter-spacing: 0px;
}

/* Study page */
.circle {
  background-color: white;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 10px;
  margin-left: 5px;
}

.study {
  font-family: national2;
}

.study-back-link > a {
  text-decoration: none !important;
  background-color: #c4c6cbff;
  font-size: 1.3rem;
  color: #ffffff !important;
  font-weight: bold;
}

.study-back-link > a:hover {
  background-color: #c4c6cbff;
  background-color: #164194;
}

.reservation-link {
  background-color: #e40137 !important;
  text-decoration: none !important;
}

.reservation-link:hover {
  background-color: #c4c6cbff !important;
  background-color: #164194 !important;
}

.study-name {
  font-size: 2rem;
  line-height: 39px;
}

.study-address {
  font-size: 1.2rem;
}

.study-title {
  background-color: #e40137;
  padding: 5px;
}

.study-title > h2 {
  font-size: 1.2rem;
  color: #ffffff;
  margin: 0;
  font-weight: bold;
}

.study-informations {
  padding: 10px;
}

.study-informations-title {
  font-size: 1.1rem;
  color: #164194;
  font-weight: bold;
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 2px;
}

.study-informations-subtitle {
  color: #164194;
}

.study-informations-title > i {
  margin-right: 5px;
}

.study-informations-content {
  color: #164194 !important;
  font-size: 1rem;
  padding: 12px;
}

.study-informations-subblock {
  margin: 0px 10px 10px 10px;
}

a.study-history-link {
  color: #e40137 !important;
  font-size: 1rem;
  padding: 12px;
}

.bailiff {
  text-align: center;
}

.bailiff-avatar {
  object-fit: cover;
  height: 90px;
  width: 90px;
  border-radius: 100%;
  border: 2px solid #e40137;
}

.bailiff-names {
  color: #164194;
  font-weight: bold;
}

.bailiff-firstname {
  text-transform: capitalize;
}

.bailiff-lastname {
  text-transform: uppercase;
}

.bailiff-activities {
  font-weight: bold;
  font-size: 0.9rem;
}

/* CSS Loader */

.lds-ring {
  display: none;
  position: absolute;
  width: 35px;
  height: 35px;
  margin-left: 25px;
  z-index: 1000;
}
.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 20px;
  height: 20px;
  margin: 12px;
  border: 3px solid #164194;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #164194 transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
