/* Expert TEASER */
.expert-items .field--name-field-expert-items {
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.expert-items .field--name-field-expert-items > .field--item {
  border: 1px solid #ECECEC;
  width: calc(25% - 30px);
  flex: initial;

  @media screen and (max-width: 991px){
    width: calc(50% - 30px);
  }

  @media screen and (max-width: 767px){
    width: 100%;
  }
}

.expert-items .field--name-field-expert-items > .field--item:hover {
  -webkit-box-shadow: 0px 15px 20px 0px rgba(0,0,0,0.1);
  -moz-box-shadow: 0px 15px 20px 0px rgba(0,0,0,0.1);
  box-shadow: 0px 15px 20px 0px rgba(0,0,0,0.1);
}


.expert-items .field--name-field-expert-items  .is-unpublished {
  background: none;
}

.expert-items .field--name-field-expert-items .card-text {
  padding: 15px;
}

/* List Block Views */
.list-folder.experts {
  padding-bottom: 60px;
}

.list-folder.experts h2 {
  padding-right: 102px;
}

.list-folder.experts > .row{
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.list-folder.experts .views-exposed-form {
  padding: 0 30px;
  width: 100%;
  position: relative;
  margin-top: -60px;
}


@media screen and (max-width: 991px) {
  .list-folder.experts .views-exposed-form .form-inline {
    display: flex;
    /* flex-direction: column; */
  }

}

@media screen and (max-width: 767px) {
  .list-folder.experts .views-exposed-form .form-inline {
    flex-direction: column;
    gap: 15px;
  }
}

.list-folder.experts:has(.noresults) {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
}

.list-folder.experts .views-exposed-form .form-item-expertise{
  float: left;
  margin-bottom: 0;
}

.list-folder.experts .views-exposed-form .form-item-expertise .select-wrapper {
  position: relative;
}

.list-folder.experts .views-exposed-form .form-item-expertise .select-wrapper::after {
  color: #868686;
  right: 12px;
}

.list-folder.experts .views-exposed-form .form-item-expertise .form-select {
  width: 370px;
  height: 54px;
  border-radius: 5px;
  border: 1px solid #ECECEC;
  box-shadow: none;
}

.list-folder.experts .views-exposed-form .form-item-keys{
  float: right;
  margin-bottom: 0;
}

.list-folder.experts .views-exposed-form .form-item-keys .form-control{
  height: 54px;
  border-radius: 5px;
  box-shadow: none;
  border: 1px solid #ECECEC;
}

.list-folder.experts .views-exposed-form .form-actions {
  float: right;

}
.list-folder.experts .expert {
  border: 1px solid #ECECEC;
  width: calc(25% - 30px);
  flex: initial;

  @media screen and (max-width: 991px){
    width: calc(50% - 30px);
  }

  @media screen and (max-width: 767px){
    width: 100%;
  }
}

.list-folder.experts .expert:hover {
  -webkit-box-shadow: 0px 15px 20px 0px rgba(0,0,0,0.1);
  -moz-box-shadow: 0px 15px 20px 0px rgba(0,0,0,0.1);
  box-shadow: 0px 15px 20px 0px rgba(0,0,0,0.1);
}
.list-folder.experts article.teaser {
  padding: 0 !important
}

@media screen and (max-width: 991px) {
  .list-folder.experts article.teaser {
    margin: 0 30px;
  }
}

.list-folder.experts article.teaser .expert-domaine-expertise,
.list-folder.experts article.teaser .expert-barreau,
.list-folder.experts article.teaser .expert-locality {
  opacity: .8;
}

.list-folder.experts article.teaser .field--name-field-photo img {
  /* height: 224px; */
  object-fit: cover;
}

.list-folder.experts article.teaser .card-text {
  padding: 15px !important
}

.list-folder .expert .card-image,
.list-folder .expert .card-text {
  float: none;
}
.list-folder .expert .card-image {
  height: auto !important;
  width: auto;
}

.list-folder .expert .card-text {

  width: auto !important;
}

.expert-items .field--name-field-expert-items .card-text .expert-fullname a,
.list-folder .expert .card-text .expert-fullname a {
  color: #00323a;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  display: block;
}

.expert-items .field--name-field-expert-items .card-text .expert-experts,
.list-folder .expert .card-text .expert-experts {
  padding-bottom: 10px;
  font-weight: 700;
  color: #333333;
}
.expert-items .field--name-field-expert-items .card-text .contact,
.list-folder .expert .card-text .contact {
  padding-top: 10px;
}

.expert-items .field--name-field-expert-items .card-text .contact a,
.list-folder .expert .card-text .contact a,
.expert-items .field--name-field-expert-items .card-text .expert-locality a,
.list-folder .expert .card-text .expert-locality  a{
  padding-top: 5px;
  font-weight: 700;
}
.paragraph--type--experts.colored .expert-items .card-text .expert-fullname a,
.paragraph--type--experts.colored .expert-items .card-text .expert-experts {
  color: #FFFFFF;
}

.list-folder .form-actions button,
.list-folder .form-actions button:hover {
  content: '';
  background-image: url(../img/icones/icon_search_base.svg);
  box-shadow: none;
  background-repeat: no-repeat;
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
  background-color: #FFF;
  position: absolute;
  top: 14px;
  right: 44px;
  height: 18px;
  width: 18px;
  font-size: 0;
  margin: 0;
  padding: 12px 14px !important;
  opacity: .6;
}

@media screen and (max-width: 767px) {
  .list-folder .form-actions button,
  .list-folder .form-actions button:hover {
    top: initial;
    bottom: 44px;
    right: 60px;
  }
}

/* Expert FULL */
.expert.full .expert-sections {
  padding-bottom: 20px;
}

.expert.full .section-expertise li {
  /* margin: 30px 0; */
  width: max-content;
}

.expert.full .back-link {
  margin: 0 calc(50% - 50vw);
  width: 100vw;
  display: flex;
  flex-wrap: wrap;
  background-color: #ee7623;
  /* height: 168px; */
  padding: 60px 30px;
  justify-content: center;
}
.expert.full .back-link .back-experts {
  background-color: #FFF;
  color: #ee7623;
}

.expert.full .expert-fullname,
.expert.full .expert-barreau {
  padding-bottom: 18px;
}
.expert.full .expert-contact {
  margin: 5px 0 5px 0;
  padding: 0;
  list-style: none;
  float: left;
  display: inline-block;
}
.expert.full .expert-locality-phone {
  display: flex;
  gap: 60px;
  margin-bottom: 30px;
}

.expert.full .expert-locality-phone .expert-locality,
.expert.full .expert-locality-phone .expert-phone {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.expert.full .expert-locality span:not(.bureau),
.expert.full .expert-phone span {
  font-size: 20px;
  font-weight: 600;
  display: block;
  line-height: 1;
}
.expert.full .expert-phone a {
  text-decoration: none;
}

.expert.full .expert-locality span.bureau,
.expert.full .expert-phone a {
  font-size: 20px;
  font-weight: 500;
  color: #333333;
}
.expert.full .expert-locality span.bureau:before{
  content: '';
  background-image: url('../img/icones/icon_marker_blue.svg');
  background-repeat: no-repeat;
  background-size: 100%;
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
  margin: -3px 10px 0 0;
}
.expert.full .expert-contact ul {
  text-align: right;
  padding-left: 0;
}
.expert.full .expert-contact ul li {
  display: inline-block;
  padding: 0 5px 0 0px;
  float: left;
}

.expert.full .expert-contact ul li.expert-conatct-email .contact-experts {
  display: flex;
  flex-wrap: wrap;
  width: 273px;
  height: 48px;
  background-color: #ee7623;
  justify-content: center;
}
.expert.full .expert-contact ul li.expert-conatct-linkedin {
  display: flex;
  flex-wrap: wrap;
  width: 48px;
  height: 48px;
  background: none;
}
.expert.full .expert-contact ul li.expert-conatct-linkedin a:before{
  content: '';
  background-image: url('../img/icones/linkedin-expert.svg');
  background-repeat: no-repeat;
  background-size: 100%;
  width: 48px;
  height: 48px;
  display: inline-block;
  vertical-align: middle;
  margin: 0 10px 0 0;
}

.expert.full .expert-contact ul li.expert-conatct-phone {
  display: flex;
  flex-wrap: wrap;
  width: 48px;
  height: 48px;
  background: none;
  padding-left: 5px;
}

.expert.full .expert-contact ul li.expert-conatct-phone a:before{
  content: '';
  background-image: url('../img/icones/phone-expert.svg');
  background-repeat: no-repeat;
  background-size: 100%;
  width: 48px;
  height: 48px;
  display: inline-block;
  vertical-align: middle;
  margin: -3px 10px 0 0;
}


.expert.full .section-expertise ul,
.expert.full .section-languages ul {
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.expert.full .section-expertise ul li,
.expert.full .section-languages ul li {
  display: inline-block;
}
.expert.full .section-expertise ul li span,
.expert.full .section-languages ul li span {
  display: inline-block;
  border-radius: 99px;
  background-color: #F8F8F8;
  padding: 10px 20px;
}

/*
  DEBUT NAV section
*/
.expert.full nav.expert-sections > .nav.nav-tabs{
  display: flex;
  list-style-type: none;
  padding: 0;
  position: relative;
  padding-bottom: 2px;
  margin-top: 0;
  white-space: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  border-bottom: none;

}

.expert.full nav.expert-sections > div a.nav-item.nav-link,
.expert.full nav.expert-sections > div a.nav-item.nav-link.active
{

  text-align: center;
  padding: 18px 25px;
  text-decoration: none;
  color: #ee7623;
  font-size: 20px;
  position: relative;
  font-weight: 600;
  padding-bottom: 18px;
  height: 100%;
  white-space: normal;
  min-width: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;

}

.expert.full nav.expert-sections > div a.nav-item.nav-link:after{
  content: "";
  width: 100%;
  background: #ee7623;
  position: absolute;
  bottom: 0;
  left: 0;
  height: 1px;
}
.expert.full nav.expert-sections > div a.nav-item.nav-link.active:after {
  height: 4px;
}

.expert.full .tab-content{
    padding:30px 25px;
}

.expert.full nav.expert-sections > div a.nav-item.nav-link:hover,
.expert.full nav.expert-sections > div a.nav-item.nav-link:focus
{
  border: none;
  border-radius:0;
  border: none;
  padding: 18px 25px;
  border-radius:0;
  font-size: 20px;
  font-weight: 600;
  color: #ee7623;
  border-bottom: #ee7623;
  border-bottom-width: 2px;
}

/*
  FIN NAV section
*/
.popup-call-to-action.expert .modal-content .modal-body {
  padding: 0 !important;
}
.popup-call-to-action.expert .modal-content {
  width: min-content;
}
.popup-call-to-action.expert .modal-dialog {
  width: min-content;
}
.popup-call-to-action.expert .modal-dialog .modal-body .container {
  padding-right: 0 !important;
  padding-left: 0 !important;
  margin-right: auto;
  margin-left: auto;
}
.popup-call-to-action.expert .modal-dialog .modal-body p.contact-title {
  font-family: inherit;
  color: #133139;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 600;
  margin: 0 0 40px;
}
.popup-call-to-action.expert .modal-dialog .modal-body .col-sm-12.form {

  padding-right: 5px !important;
  padding-left: 0 !important;
}

.popup-call-to-action.expert .modal-dialog .modal-body .col-sm-12.form .col-sm-8 {
  padding-top: 20px !important;
}
.popup-call-to-action.expert .modal-dialog .modal-header {
  position: absolute !important;
  border-bottom: none !important;
  padding: 20px !important;
  z-index: 9;
  right: 0;
  top: 18px;
}

.popup-call-to-action.expert .modal-dialog .modal-header .close::before {
  content: '';
  width: 43px;
  height: 44px;
  display: block;
  background: url('../img/experts/close-expert.svg') 0 0 no-repeat;
}

.popup-call-to-action.expert .modal-dialog .modal-header .close span {
  display: none;
}

.experts.link:nth-of-type(4n+1) .card{
  background-color: #151031;
  color: #00323a;
}
.field--name-field-contenus-lies article {
  width: 100%;
  padding: 0;
}

@media screen and (max-width: 991px) {
  .page-node-type-expert h1 {
    display: none;
  }
}
