@import "./pages/resources.css"; 
@import "./components/card.css";
@import "./components/block.css";
@import "./components/rss-retriever.css";

/***************************************
 WIDGETS
****************************************/
.widget-title {
  color: #1A4A5F;
  font-size: 18px;
  font-family: "notosans-bold";
  line-height: 24px;
  text-align: left;
  margin: 0 0 10px;
}

/* Search */
.widget_search .search .search-input {
  border: none;
  background-color: #F7F7F7;
  padding: 20px 20px 20px 46px;
  border-radius: 4px;
  color: #1A4A5F;
  font-size: 14px;
  font-family: "notosans";
  width: 100%;
}

.widget_categories select{
  border: none;
  background-color: #F7F7F7;
  padding: 20px;
  border-radius: 4px;
  color: #1A4A5F;
  font-size: 14px;
  font-family: "notosans";
  width: 100%;
  
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position-x: 96%;
  background-position-y: 18px;
}

.search__videos {
  border: none;
  background-color: #F7F7F7;
  padding: 20px;
  /* border-top-left-radius: 4px; */
  /* border-bottom-left-radius: 4px; */
  border-radius: 4px;
  color: #1A4A5F;
  font-size: 14px;
  font-family: "notosans";
  width: 100%;
}

.search {
  position: relative;
}
.search-icon {
  position: absolute;
  top: 22px;
  left: 20px;
  height: 16px;
}


/* Category */
.widget_categories {
  margin-top: 30px;
}
.widget_categories ul {
  padding: 0;
  margin: 0;
}
.cat-item,
.cat-item-none {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cat-item a,
.cat-item-none {
  display: inline-block;
  padding: 10px;
  background-color: #F7F7F7;
  border-radius: 4px;
  text-transform: uppercase;
  color: #1A4A5F;
  letter-spacing: 1px;
  font-size: 12px;
  font-family: "notosans";
  margin: 0 10px 10px 0;
}
@media (max-width: 793px) {
  .widget_categories {
    margin-bottom: 30px;
  }
}
@media (max-width: 991px) {
  .widget_categories ul {
    margin-bottom: 20px;
  }
  .cat-item {
    display: inline-block;
  }
  .cat-item a {
    margin: 2px 0;
  }
}

/***************************************
  BLOG PAGE
****************************************/

#blog-page .container {
  padding-top: 60px;
  padding-bottom: 60px;
}
@media (max-width: 793px) {
  #blog-page .container {
    padding-top: 20px;
    padding-bottom: 20px;
  }
}

/* BLOG BANNER */
.blog-banner {
  width: 100%;
  height: 299px;
  background: url('../img/home/photos_yulex_02.jpg') no-repeat center;
  background-size: cover;
  text-align: center;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.blog-banner h1 {
  font-size: 30px;
  font-family: "notosans-bold";
  text-transform: uppercase;
  color: white;
  line-height: 38px;
  position: relative;
  z-index: 100;
}


/* POST */


.posts .row {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  align-content: flex-start;
  flex-wrap: wrap;
}
@media (max-width: 767px) {
  .posts .row {
    display: block;
  }
}
@media (max-width: 991px) {
  #blog-page .container {
    padding-top: 0;
  }
}


.post {
  margin-bottom: 30px;
  /* display: inline-block; */
  /* min-height: 400px !important; */
}

.post-card {
  border: none;
  border-radius: 4px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16);
  overflow: hidden;
  text-align: center;
  width: 100%;
  display: block;
}

.post-card__image {
  background-color: white;
  overflow: hidden;
  margin: auto;
  height: 200px;

  display: flex;
  justify-content: center;
  align-items: center;
}

.post-card__image img {
  height: auto;
  width: 100%;
}

.post-card__title {
  background: white;
  color: #1A4A5F;
  font-size: 18px;
  font-family: "notosans-bold";
  line-height: 24px;
  text-align: left;
  padding: 20px 20px 10px;
  margin: 0;
  text-transform: none;
}

.post-card__excerpt {
  background: white;
  color: #829299;
  font-size: 14px;
  font-family: "notosans";
  text-align: left;
  line-height: 19px;
  padding: 0 20px 20px;
  margin: 0;
}

.post-card__cta {
  background: white;
  color: #107CA9;
  font-size: 14px;
  font-family: "notosans-bold";
  display: block;
  height: 48px;
  padding: 0;
  margin: 0;
  text-align: center;
  width: 100%;
  line-height: 48px;
  border-top: 1px solid #F7F7F7;
}



/***************************************
  SEARCH PAGE
****************************************/

#search-page .container {
  padding-top: 60px;
  padding-bottom: 60px;
}


/* SEARH BANNER */
.search-banner {
  width: 100%;
  height: 299px;
  background: url('../img/home/photos_yulex_02.jpg') no-repeat center;
  background-size: cover;
  text-align: center;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.search-banner h1 {
  font-size: 30px;
  font-family: "notosans-bold";
  text-transform: uppercase;
  color: white;
  position: relative;
  z-index: 100;
  max-width: 970px;
  margin: auto;
}

.search-banner__mask {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,.33);
  z-index: 10;
}

.no-results-found {
  color: #1A4A5F;
  font-size: 16px;
  font-family: "notosans-bold";
  text-align: center;
  margin: 0;
  padding: 0 15px;
  margin-bottom: 60px;
  width: 100%;
}
.no-results-found-alt {
  color: #1A4A5F;
  font-size: 16px;
  font-family: "notosans-bold";
  text-align: left;
  margin: 0;
  padding: 0 15px;
  margin-bottom: 60px;
  width: 100%;
}

.recent-articles {
  color: #1A4A5F;
  font-size: 18px;
  font-family: "notosans-bold";
  margin: 0;
  padding: 0;
  margin-bottom: 20px;
  padding-left: 15px;
}



/***************************************
  ARCHIVE PAGE
****************************************/

#archives-page .container {
  padding-top: 60px;
  padding-bottom: 60px;
}


/* SEARH BANNER */
.archives-banner {
  width: 100%;
  height: 299px;
  background: url('../img/home/photos_yulex_02.jpg') no-repeat center;
  background-size: cover;
  text-align: center;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.archives-banner h1 {
  font-size: 30px;
  font-family: "notosans-bold";
  text-transform: uppercase;
  color: white;
  position: relative;
  z-index: 100;
  max-width: 970px;
  margin: auto;
}

.archives-banner__mask {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,.33);
  z-index: 10;
}



/***************************************
  SINGLE POST PAGE
****************************************/
.go-back {
  color: #1A4A5F;
  font-size: 14px;
  font-family: "notosans-bold";
  margin-bottom: 30px;
  display: inline-block;
}


.single-post-page {
  margin-top: 30px;
  margin-bottom: 60px;
}

.single-post__image {
  background-color: white;
  /* overflow: hidden; */
  border-radius: 4px;
}
.single-post__image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.single-post__details {
  background-color: #F7F7F7;
  margin: 30px -30px;
  padding: 20px 30px;
  border-radius: 4px;
}

@media (max-width: 450px) {
  .single-post__details {
    background-color: #F7F7F7;
    margin: 30px 0px;
    padding: 20px 30px;
    border-radius: 4px;
  }
}


.spd {
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;

  color: #107CA9;
  font-family: "notosans";
}

.author-avatar img {
  height: 32px;
  width: 32px;
  border-radius: 16px;
  display: inline-block;
  margin-right: 10px;
}

.single-post__title {
  color: #1A4A5F;
  font-family: "notosans-bold";
  font-size: 30px;
  margin: 30px 0;
  text-transform: none;
}

.single-post-custom h3 {
  color: #1A4A5F;
  font-family: "notosans-bold";
  font-size: 22px;
  margin: 40px 0 20px;
}

.single-post-custom p {
  color: #707070;
  font-family: "notosans";
  font-size: 16px;
  margin: 22px 0;
}

.single-post-custom a {
  color: #107CA9;
  font-family: "notosans";
  font-size: 16px;
}

.single-post-custom ul,
.single-post-custom ol {
  margin: 0;
  padding: 0 0 0 40px;
}

.single-post-custom ul li,
.single-post-custom ol li {
  margin-bottom: 22px; 
  color: #707070;
  font-family: "notosans";
  font-size: 16px;
  margin: 22px 0;
}



.post-navigation .screen-reader-text {
  display: none !important;
}


.single-post__navigation {
  padding: 0 !important;
}

.single-post__recent {
  margin-top: 60px;
}


/***************************************
  GLOBAL OVERWRITES
****************************************/
header .nav-container .nav .wp-menu-container ul .menu-item {
  font-size: 14px !important;
  margin-left: 8px !important;
  padding: 0 8px !important;
}

.wp-menu-container > ul {
  padding-left: 0 !important;
}


.nav-container nav .wp-menu-container {
  z-index: 99 !important;
}
.menu-show-item,
.options-menu {
  z-index: 1000 !important;
}


.nav-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0;
}

.nav-previous,
.nav-next {
  background-color: #F7F7F7;
  border-radius: 4px;
  width: calc(50% - 10px);
}

.nav-previous a,
.nav-next a {
  display: inline-block;
  text-align: center;
  padding: 20px 60px;
  text-align: center;
  color: #1A4A5F;
  font-family: "notosans-bold" !important;
  font-size: 14px;
  width: 100%;
}

footer .right .social a {
  text-transform: none;
}

@media (max-width: 736px) {
  .nav-container nav .wp-menu-container {
    height: 400px !important;
    top: -400px;
  }

  .nav-previous a,
  .nav-next a {
    padding: 16px;
  }
}


/***************************************
  NEWSLETTER
****************************************/
.newsletter {
  margin: 60px 0;
}

.newsletter-wrapper {
  background-color: white;
  padding: 40px 80px !important;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16);
  border-radius: 4px;
}

@media (max-width: 736px) {
  .newsletter-wrapper {
    padding: 30px !important;
  }
}

.addtoany_content {
  margin: 60px 0 30px !important;
}


/***************************************
  NUMIX
****************************************/
.numix-content-wrapper {
  font-family: 'notosans';
}

.numix-banner {
  width: 100%;
  height: 299px;
  background: url('../img/home/photos_yulex_02.jpg') no-repeat center;
  background-size: cover;
  text-align: center;
  margin-top: -20px;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.numix-banner h1 {
  font-size: 30px;
  font-family: "notosans-bold";
  text-transform: uppercase;
  color: white;
  line-height: 38px;
  position: relative;
  z-index: 100;
  padding: 0 40px;
}


.partners {
  margin: 80px 40px 40px;
}
.partner {
  display: flex;
  justify-content: center;
  align-items: center;
}
.partner-img {
  display: inline-block;
  max-height: 80px;
  max-width: 100%;
}

.offers {
  margin-bottom: 40px;
}
.offers p {
  margin: 0 0 16px;
  font-size: 20px;
  line-height: 28px;
}

.contact-infos {
  margin-bottom: 40px;
  text-align: center;
}
.contact-infos h2 {
  color: #107CA9;
  font-size: 20px;
  line-height: 28px;
  margin: 0;
}
.contact-infos p {
  font-size: 20px;
  line-height: 28px;
  margin-bottom: 0;
}
.contact-infos__first {
  margin-bottom: 16px !important;
}

.avocats {
  margin-bottom: 40px;
}
.avocat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
}
.avocat img {
  height: 160px;
  width: 160px;
  border-radius: 80px;
  object-fit: cover;
  object-position: center 0px;
}
.avocat h3 {
  color: #107CA9;
  font-size: 16px;
  line-height: 24px;
  margin: 16px 0 0;
}
.avocat p {
  color: black;
  font-size: 16px;
  line-height: 24px;
  margin: 0;
  text-align: center;
}
.avocat a {
  color: #707070;
  font-size: 16px;
  line-height: 24px;
  margin: 0;
}
.acovat a:hover {
  color: #707070;
  text-decoration: underline;
}

.numix-video {
  display: flex;
  justify-content: center;
  align-items: center;  
}

@media (max-width: 767px) {
  .contact-infos {
    text-align: left;
  }
  .contact-infos h2,  
  .contact-infos p {
    font-size: 18px;
    line-height: 26px;
  }

  .numix-banner h1 {
    padding: 0 20px;
  }
}


/***************************************
  SINGLE CAPSULE JURIDIQUE
****************************************/
.iframe-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}

.responsive-iframe{
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

.contact-section {
  background: white;
  border-radius: 4px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16);
  margin: 8px 0 60px;
  padding: 40px 40px 16px !important;
}

.contact-section > h3 {
  font-family: "notosans";
  font-size: 18px;
  margin: 0 0 24px;
}

.contact-section__info {
  padding: 0 !important;
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.info_image-wrapper {
  margin-right: 20px;
}

.info_image-wrapper > img {
  width: 80px;
  height: 80px;
  border-radius: 40px;
  object-fit: cover;
  object-position: center 0px;
}

.info_content-wrapper > h3 {
  font-family: "notosans-bold";
  font-size: 18px;
  margin: 0 0 10px;
}

.info_content-wrapper > p {
  font-family: "notosans";
  font-size: 18px;
  margin: 0;
  color: #23527C;
}

.info_content-wrapper > a {
  font-family: "notosans";
  font-size: 18px;
  margin: 0;
  color: #23527C;
}

.info_content-wrapper > a:hover {
  color: #23527C;
  text-decoration: underline;
}

@media (max-width: 767px) { 
  .contact-section {
    text-align: center;
  }

  .contact-section > h3 {
    font-family: "notosans";
    font-size: 18px;
    margin: 0 0 24px;
  }

  .contact-section__info {
    flex-direction: column;
    justify-content: center;
  }

  .info_image-wrapper {
    margin: 0 0 20px;
  }
}



/***************************************
  CONTACT PAGE
****************************************/
.office {
  font-size: 16px;
  font-family: notosans-bold;
  color: #107ca9;
  text-transform: uppercase;
}

.office-number {
  font-family: notosans-bold;
  color: #107ca9;
  margin-bottom: 4px;
}
.office-map {
  font-style: italic;
}
.office-number a,
.office-map a {
  color: #337ab7;
  text-decoration: none;
}

#affiliations-page .affiliations-wrapper .affiliation-single .picture-container .affiliation-photo {
  width: 100%;
}