@media screen and (max-width: 1200px) {
  .menu-affix {
    width: 220px !important;
  }
}

/*=======================================================================
*** PORTO_SUB STYLE SHEET***
========================================================================*/
html {
  scroll-behavior: smooth;
}

body {
  font-size: 16px !important;
}

h1, h2.title-big {
  font-size: 2em !important;
}

.flex-direction-nav a {
  overflow: inherit !important;
  font-size: 0;
}

.event-box a {
  color: inherit !important;
}

.lang-dropdown-select-element {
  font-size: 13px !important;
}

.event-box .fa {
  width: 20px;
  height: 20px;
  background: #ccc;
  border-radius: 50%;
  text-align: center;
  vertical-align: middle;
  line-height: 20px;
  color: inherit;
}

.field--type-text-with-summary img:not([data-entity-type]) {
  object-fit: contain;
  width: auto !important;
  border: none !important;
}

.event-box .fa.fa-facebook:hover {
  color: #fff;
  background-color: #3b5998;
}

.event-box .fa.fa-twitter:hover {
  color: #fff;
  background-color: #00acee;
}

.event-box .fa.fa-linkedin:hover {
  color: #fff;
  background-color: #0e76a8;
}

.event-box .fa.fa-calendar:hover {
  color: #aa0f37;
  background-color: #fff;
}

.event-box p {
  margin: 0;
}

.event-box:hover p {
  color: #fff;
  transition: all 300ms ease-in-out;
}

.file a {
  font-size: 20px;
}

.textimg-restricted table,
.media-restricted table {
  border: none;
  width: 100%;
}

.textimg-restricted table thead tr th,
.media-restricted table thead tr th {
  border-bottom: 2px solid #aa0f37;
  padding: 0 20px 25px 15px;
}

.textimg-restricted table tbody tr td,
.media-restricted table tbody tr td {
  padding: 25px 20px 25px 15px;
  border-bottom: 1px solid #dfdfdf;
}

.user-login-form .button,
.user-pass .button,
.user-register-form .button {
  color: #fff;
  background-color: #aa0f37;
  border-color: #aa0f37 #aa0f37 #6d0a23;
}

.user-login-form .button:hover,
.user-pass .button:hover,
.user-register-form .button:hover {
  color: #fff;
  border-color: #d41345 #d41345 #aa0f37;
  background-color: #d41345;
}

.tabs ul.tabs a.is-active,
.tabs ul.tabs a:hover {
  border-top-color: #aa0f37;
  background: #fff;
}

.tabs ul.tabs a {
  color: #aa0f37;
  border-style: solid;
  border-color: #eee;
  border-width: 3px 1px 0 1px;
  background: #f4f4f4;
  border-radius: 5px 5px 0 0;
  font-size: 14px;
  line-height: 1.42857143;
  padding: 10px 15px;
  cursor: pointer !important;
  margin-right: 1px;
  display: inline-block;
}

.menu-account {
  margin-top: 50px;
}

@media screen and (min-width: 992px) {
  .node--type-ada-midi-de-la-microfinance .thumbnail-box {
    height: 350px;
  }
}

@media screen and (max-width: 991px) {
  .view-ada-events .views-col {
    width: 100% !important;
  }

  .view-ada-events .views-col .event-box {
    width: 100%;
    margin: 0;
    margin-bottom: 10px;
  }
}

.summary_links {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.summary_links__item {
  display: block;
  margin-right: 10px;
  margin-bottom: 10px;
  width: calc(50% - 5px);
  color: white !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 2rem;
}

.summary_links__item>div {
  padding-bottom: 100%;
  position: relative;
}

.summary_links__item>div>div {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  text-align: center;
}

.summary_links__item:nth-child(2n + 2) {
  margin-right: 0;
}

@media screen and (min-width: 768px) {
  .summary_links__item {
    width: calc(33% - 10px);
  }

  .summary_links__item:nth-child(2n + 2) {
    margin-right: 10px;
  }

  .summary_links__item:nth-child(3n + 3) {
    margin-right: 0;
  }
}

@media screen and (min-width: 992px) {
  .summary_links__item {
    width: calc(25% - 15px);
  }

  .summary_links__item:nth-child(3n + 3) {
    margin-right: 10px;
  }

  .summary_links__item:nth-child(4n + 4) {
    margin-right: 0;
  }
}

@media screen and (min-width: 1244px) {
  .summary_links__item {
    width: calc(20% - 20px);
  }

  .summary_links__item:nth-child(4n + 4) {
    margin-right: 10px;
  }

  .summary_links__item:nth-child(5n + 5) {
    margin-right: 0;
  }
}

.navigation.menu--navigation-fit ul.menu,
.navigation.menu--navigationssnup ul.menu {
  margin: 13px 0 15px;
  display: flex;
  overflow-x: scroll;
  overflow-y: hidden;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.navigation.menu--navigation-fit ul.menu::-webkit-scrollbar,
.navigation.menu--navigationssnup ul.menu::-webkit-scrollbar {
  display: none;
}


.navigation.menu--navigation-fit ul.menu::before {
  content: "";
  width: 95px;
  height: 27px;
  background: url(/themes/porto_sub/img/fit.svg);
  background-size: 95px 27px;
  position: relative;
  top: 4px;
  margin-right: 20px;
  flex-shrink: 0;
}

@media screen and (min-width: 768px) {
  .navigation.menu--navigationssnup ul.menu,
  .navigation.menu--navigation-fit ul.menu {
    margin: 5px 0 8px;
    display: flex;
    overflow-x: scroll;
  }
}

.navigation.menu--navigationssnup .menu-item a,
.navigation.menu--navigation-fit .menu-item a  {
  text-transform: uppercase;
  border-radius: 4px;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  color: white;
  line-height: 20px;
  padding: 8px 8px;
  text-decoration: none;
  margin-right: 8px;
}

.navigation.menu--navigation-fit .menu-item,
.navigation.menu--navigationssnup .menu-item  {
  flex-shrink: 0;
  padding-bottom: 0.2em;
}

@media screen and (min-width: 768px) {
  .navigation.menu--navigationssnup .menu-item,
  .navigation.menu--navigation-fit .menu-item {
    margin-bottom: 0;
  }
}

.navigation.menu--navigationssnup .menu-item a:hover,
.navigation.menu--navigationssnup .menu-item a.is-active {
  background: #fff;
  color: #184c39 !important;
  text-decoration: none;
}

.navigation.menu--navigation-fit .menu-item a:hover,
.navigation.menu--navigation-fit .menu-item a.is-active  {
  background: #fff;
  color: #57BEEC !important;
  text-decoration: none;
}

.page-node-type-ssnup-page .page-header,
.page-node-type-ssnup-page section.page-header.page-header-color.page-header-secondary, {
  margin-bottom: 0 !important;
}

.page-node-type-ssnup-blog .page-header-color.page-header-secondary,
.page-node-type-ssnup-page .page-header-color.page-header-secondary {
  background-color: #184c39 !important;
}

.page-node-type-sam-blog .page-header-color.page-header-secondary {
  background-color: #e94c1f !important;
}

.page-node-type-fit-blog .page-header-color.page-header-secondary,
.page-node-type-fit-page .page-header-color.page-header-secondary  {
  background-color: #57BEEC !important;
}

.page-node-type-ssnup-blog #footer,
.page-node-type-ssnup-page #footer {
  background-color: #184c39 !important;
  border-top-color: #184c39 !important;
}

.page-node-type-ssnup-page.context-convocatoria-para-proveedores-de-servicios-financieros-psf-para-hacer-parte-de-la-iniciativa-de #footer {
  background: #aa0f37 !important;
  border-top-color: #aa0f37 !important;
}

.page-node-type-fit-blog #footer,
.page-node-type-fit-page #footer {
  background-color: #57BEEC !important;
  border-top-color: #57BEEC !important;
}

.page-node-type-sam-blog #footer {
  background-color: #e94c1f !important;
  border-top-color: #e94c1f !important;
}

.page-node-type-ssnup-blog #footer.color-secondary .footer-copyright,
.page-node-type-ssnup-page #footer.color-secondary .footer-copyright {
  background-color: #184c39 !important;
  border-top-color: #184c39 !important;
}

.page-node-type-ssnup-page.context-convocatoria-para-proveedores-de-servicios-financieros-psf-para-hacer-parte-de-la-iniciativa-de #footer.color-secondary .footer-copyright {
  background: #aa0f37 !important;
  border-top-color: #aa0f37 !important;
}

.page-node-type-sam-blog #footer.color-secondary .footer-copyright {
  background-color: #e94c1f !important;
  border-top-color: #e94c1f !important;
}

.page-node-type-fit-blog #footer.color-secondary .footer-copyright,
.page-node-type-fit-page #footer.color-secondary .footer-copyright  {
  background-color: #57BEEC !important;
  border-top-color: #57BEEC !important;
}

.page-node-type-ssnup-blog .main a,
.page-node-type-ssnup-page:not(.context-convocatoria-para-proveedores-de-servicios-financieros-psf-para-hacer-parte-de-la-iniciativa-de) .main a {
  color: #184c39;
}

.page-node-type-sam-blog .main a {
  color: #e94c1f;
}

.page-node-type-fit-blog .main a,
.page-node-type-fit-page .main h2
.page-node-type-fit-page .main a {
  color: #57BEEC;
}

.page-node-type-fit-page .main h2 {
  font-size: 5rem;
  line-height: 1.1;
  font-weight: 700;
  color: black;
  margin-bottom: 3rem;
}

.fullwidth {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.fit-lateral-menu .fullwidth {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
/*   padding-top: 58px;
  padding-bottom: 57px; */
  margin: 51px calc(-50vw - 25%) 32px calc(-50vw - 25% + 50px);
}

.fit-lateral-menu .fullwidth > div {
  display: flex;
  flex: 1 1 0;
  max-width: 824px;
  margin: 0 auto;
  transform: translateX(156px);
}

.page-node-type-ssnup-blog h1,
.page-node-type-ssnup-blog h2,
.page-node-type-ssnup-page:not(.context-convocatoria-para-proveedores-de-servicios-financieros-psf-para-hacer-parte-de-la-iniciativa-de) h1,
.page-node-type-ssnup-page:not(.context-convocatoria-para-proveedores-de-servicios-financieros-psf-para-hacer-parte-de-la-iniciativa-de) h2,
.page-node-type-ssnup-blog h2 a,
.page-node-type-ssnup-page:not(.context-convocatoria-para-proveedores-de-servicios-financieros-psf-para-hacer-parte-de-la-iniciativa-de) h2 a {
  color: #174c38 !important;
}

.page-node-type-sam-blog h2 a,
.page-node-type-sam-blog h2 {
  color: #e94c1f !important;
}

.page-node-type-fit-blog h1,
.page-node-type-fit-blog h2,
.page-node-type-fit-blog h2 a {
  color: #57BEEC !important;
}

.paragraph--type--ssnup-icone-titre-texte {
  background-image: url("../images/dirt_bg.png");
  background-repeat: repeat;
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  padding-top: 58px;
  padding-bottom: 57px;
  margin: 51px calc(-50vw - 25%) 32px calc(-50vw - 25% + 50px);
}

.context-ssnup-chiffres-cles,
.context-ssnup-key-figures,
.context-ssnup-cifras-clave {
  background-image: url("../images/dirt_bg.png");
  background-repeat: repeat;
}

.paragraph--type--ssnup-icone-titre-texte>div {
  display: flex;
  flex: 1 1 0;
  max-width: 824px;
  margin: 0 auto;
  transform: translateX(156px);
}

.paragraph--type--ssnup-icone-titre-texte>div>div {
  padding-left: 20px;
  padding-right: 20px;
  flex: 1 1 0;
}

.paragraph--type--ssnup-icone-titre-texte>div>div:first-child {
  padding-left: 0;
}

.paragraph--type--ssnup-icone-titre-texte>div>div:last-child {
  padding-right: 0;
}

.paragraph--type--ssnup-icone-titre-texte .field.field--name-field-texte {
  text-align: center;
  margin-bottom: 20px;
  font-size: 22px;
  line-height: 1.4;
}

.paragraph--type--ssnup-icone-titre-texte .field--name-field-red-button-link a {
  font-size: 14px;
  line-height: 1.3;
  width: 100%;
}

.ssnup-lateral-menu,
.fit-lateral-menu {
  display: flex;
  padding-top: 50px;
}

.ssnup-lateral-navigation,
.fit-lateral-navigation {
  position: sticky;
  top: 180px;
  padding-right: 20px;
  z-index: 10;
}

.fit-lateral-navigation {
  width: 25%;
}

.view-ssnup-view-map .project-leaflet .field {
  display: flex;
}

.view-ssnup-view-map .project-leaflet .field .field__label {
  width: 50%;
  text-align: right;
}

.view-ssnup-view-map .project-leaflet .field>.field__item {
  width: 50%;
}

.view-ssnup-view-map .project-leaflet .field .field__items {
  width: 50%;
}

#edit-submit-ssnup-view-map,
#edit-submit-ssnup-view-map--2,
#edit-reset,
#edit-reset--2 {
  text-transform: none;
  display: inline-block;
}

#edit-reset,
#edit-reset--2 {
  margin: 0;
}

nav.ssnup-lateral-navigation ul,
nav.fit-lateral-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Only stick if you can fit */
@media (min-height: 300px) {
  nav.ssnup-lateral-navigation ul,
  nav.fit-lateral-navigation ul {
    position: sticky;
    top: 0 !important;
  }

  .sticky-header-active .ssnup-lateral-navigation ul, 
  .sticky-header-active .fit-lateral-navigation ul{
    top: 173px !important;
  }
}

nav.ssnup-lateral-navigation ul li a {
  display: block;
  color: #174c38;
  text-decoration: none;
  font-size: 18px;
  border-top: 1px solid #174c38;
  padding-top: 10px;
  margin-bottom: 25px;
}

.context-convocatoria-para-proveedores-de-servicios-financieros-psf-para-hacer-parte-de-la-iniciativa-de nav.ssnup-lateral-navigation ul li a {
  color: #000000;
  border-top: 1px solid #000000;
}

.context-convocatoria-para-proveedores-de-servicios-financieros-psf-para-hacer-parte-de-la-iniciativa-de .ssnup-lateral-loader {
  border: 2px solid #aa0f37 !important;
  background: #000000 !important;
}

nav.fit-lateral-navigation ul li a {
  display: block;
  color: #57BEEC;
  text-decoration: none;
  font-size: 18px;
  border-top: 1px solid #57BEEC;
  padding-top: 10px;
  margin-bottom: 25px;
}

nav.ssnup-lateral-navigation ul li a.current {
  font-weight: 700;
  border-top: 1px solid #174c38;
}

.context-convocatoria-para-proveedores-de-servicios-financieros-psf-para-hacer-parte-de-la-iniciativa-de nav.ssnup-lateral-navigation ul li a.current {
  border-top: 1px solid #000000;
}

nav.fit-lateral-navigation ul li a.current {
  font-weight: 700;
  border-top: 1px solid #57BEEC;
}

.ssnup-lateral-menu .ssnup-paragraphs-content,
.fit-lateral-menu .fit-paragraphs-content {
  max-width: 75%;
  padding-left: 20px;
}

.ssnup-paragraphs-content .paragraph--type--texte-elabore,
.fit-paragraphs-content .paragraph--type--texte-elabor {
  font-size: 16px;
}

.context-ssnup-partenaires {
  font-size: 16px;
}

.context-ssnup-partenaires h2 {
  color: #174c38 !important;
}

.ssnup-paragraphs-content .paragraph--type--ssnup-titre-menu-lateral-fixe {
  color: #174c38;
  font-size: 32px;
  line-height: 38px;
  margin-bottom: 32px;
  font-weight: 700;
}

.context-convocatoria-para-proveedores-de-servicios-financieros-psf-para-hacer-parte-de-la-iniciativa-de .ssnup-paragraphs-content .paragraph--type--ssnup-titre-menu-lateral-fixe {
  color: #000000;
}

.fit-paragraphs-content .paragraph--type--ssnup-titre-menu-lateral-fixe {
  color: #57BEEC;
  font-size: 32px;
  line-height: 38px;
  margin-bottom: 32px;
  font-weight: 700;
}

.sticky-header-active .page-node-type-ssnup-page .page-header-secondary,
.sticky-header-active .page-node-type-fit-page .page-header-secondary {
  position: fixed;
  width: 100%;
  top: 104px;
  z-index: 11;
}

@media screen and (min-width: 455px) {
  .sticky-header-active .page-node-type-ssnup-page .page-header-secondary,
  .sticky-header-active .page-node-type-fit-page .page-header-secondary {
    top: 104px;
  }
}

@media screen and (min-width: 992px) {
  .sticky-header-active .page-node-type-ssnup-page .page-header-secondary,
  .sticky-header-active .page-node-type-fit-page .page-header-secondary {
    top: 108px;
  }
}

.view-ssnup-view-map .views-field.views-field-title {
  color: #174c38;
  font-size: 22px;
  line-height: 26px;
}

.views-block-map-item {
  border-top: 1px solid #174c38;
}

.views-block-map-item:last-child {
  border-bottom: 1px solid #174c38;
}

.view-ssnup-view-map .view-filters {
  position: absolute;
  z-index: 9;
  background: #174c38;
  height: 100%;
  color: white;
  padding: 10px 20px;
}

.view-ssnup-view-map .view-filters .form-select {
  height: 34px;
  background: #174c38;
  border-radius: 4px;
  min-width: 100%;
}

.view-ssnup-view-map .view-filters .form--inline {
  display: flex;
  flex-wrap: wrap;
}

.view-ssnup-view-map .view-filters .form--inline>* {
  width: 32%;
}

.view-ssnup-view-map .view-filters .form--inline > .form-item-impact-investors {
  width: 100%;
}

.view-ssnup-view-map .view-filters .form--inline legend {
  color: white;
  border: none;
  margin-bottom: 15px;
}

.view-ssnup-view-map .view-filters .form--inline label {
  margin-right: 0.5em;
  display: block;
  font-size: 15px;
}

.view-ssnup-view-map .view-filters .js-form-type-radio {
  display: flex;
}

.view-ssnup-view-map .view-filters .js-form-type-radio input {
  margin-right: 0.3em;
}

.form-checkboxes .form-item,
.form-radios .form-item {
  margin-top: 0.4em;
  margin-bottom: 0.4em;
  display: flex;
}

.form-checkboxes .form-item input,
.form-radios .form-item input {
  margin-right: 6px;
  width: 1em;
  height: 1em;
  background-color: #174c38;
  vertical-align: middle;
  border: 1px solid #ddd;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  cursor: pointer;
  border-radius: 100%;
  margin-top: 3px;
}

.form-checkboxes .form-item input:checked,
.form-radios .form-item input:checked {
  background-color: #fff;
}

.view-ssnup-view-map .view-filters {
  width: 100%;
  height: max-content;
  bottom: 0;
}

.form-item-field-location-value label,
.form-item-impact-investors label,
.form-item-field-annee-de-lancement-value label,
.form-item-field-categories-target-id label {
  font-weight: bold;
}

.view-ssnup-view-map .view-filters .fieldgroup,
.form-item-field-location-value,
.form-item-field-annee-de-lancement-value,
.form-item-field-status-value,
.form-item-impact-investors,
.form-item-field-categories-target-id {
  padding-right: 60px;
  display: none;
}

.view-ssnup-view-map .view-filters .fieldgroup.advanced,
form.advanced .form-item-field-location-value,
form.advanced .form-item-impact-investors,
form.advanced .form-item-field-annee-de-lancement-value,
form.advanced .form-item-field-categories-target-id,
form.advanced .form-item-field-status-value {
  display: block !important;
}

#edit-field-mots-cles-value {
  display: block;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  border-bottom: 1px solid white;
  color: white;
  padding: 5px 0;
}

#edit-submit-ssnup-view-map,
#edit-submit-ssnup-view-map--2,
#edit-reset,
#edit-reset--2,
#advanced-search-submit-ssnup-view-map {
  border-radius: 4px;
  background: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
  transition: all 0.5s;
}

#edit-submit-ssnup-view-map:hover,
#edit-submit-ssnup-view-map--2:hover,
#edit-reset:hover,
#edit-reset--2:hover,
#advanced-search-submit-ssnup-view-map:hover {
  border-radius: 4px;
  background: white;
  color: #174c38;
}

#edit-field-mots-cles-value::placeholder {
  color: white;
}

#edit-field-mots-cles-value:focus {
  outline: 0;
  box-shadow: none;
}

.view-ssnup-view-map #edit-actions {
  display: block;
}

.ssnup-header-image>div {
  text-align: center;
}

.block-views-blockssnup-view-map-block-2 .view-filters,
.block-views-blockssnup-view-map-block-3 .view-filters {
  display: none;
}

.block-views-blockssnup-view-map-block-2 .project-title,
.block-views-blockssnup-view-map-block-3 .project-title {
  color: #174c38;
  font-size: 18px;
  line-height: 26px;
  font-weight: bold;
}

.block-views-blockssnup-view-map-block-2 .views-row {
  padding-top: 24px;
  padding-bottom: 24px;
  border-top: 1px solid #174c38;
}

.block-views-blockssnup-view-map-block-2 .project-info>div,
.block-views-blockssnup-view-map-block-3 .project-info>div {
  margin-bottom: 5px;
  display: flex;
}

.block-views-blockssnup-view-map-block-2 .views-row:last-child {
  border-bottom: 1px solid #174c38;
}

.block-views-blockssnup-view-map-block-2 .project-info,
.block-views-blockssnup-view-map-block-3 .project-info {
  color: #174c38;
  font-size: 15px;
  line-height: 22px;
}

.block-views-blockssnup-view-map-block-2 .project-download,
.block-views-blockssnup-view-map-block-3 .project-download {
  background-color: transparent;
  border: 1px solid #174c38;
  border-radius: 4px;
  padding: 5px 10px;
  color: #174c38;
  transition: all 0.5s;
  text-decoration: none;
}

.block-views-blockssnup-view-map-block-2 .project-download:hover,
.block-views-blockssnup-view-map-block-3 .project-download:hover {
  color: white;
  background-color: #174c38;
}

/* #edit-field-annee-de-lancement-value--wrapper {
  width: 66%;
} */

.view-ssnup-view-map #edit-actions {
  width: 66%;
}

@media screen and (max-width: 992px) {
  .view-ssnup-view-map .view-filters .form--inline>* {
    width: 100%;
  }
}

.block-views-blockssnup-view-map-block-3 .views-row {
  position: absolute;
  border: 5px solid #184c39;
  padding: 15px;
  display: none;
}

.project-leaflet .project-title {
  color: #174c38;
  font-size: 18px;
  line-height: 26px;
  font-weight: bold;
  margin-bottom: 20px;
}

.project-leaflet .project-info {
  color: #174c38;
  font-size: 15px;
  line-height: 20px;
}

#leaflet-map-view-ssnup-view-map-block-1 .leaflet-popup-content-wrapper,
#leaflet-map-view-ssnup-view-map-block-1--2 .leaflet-popup-content-wrapper {
  border-radius: 0;
  border: 5px solid #174c38;
  padding: 5px 15px;
}

#leaflet-map-view-ssnup-view-map-block-1 .project-download,
#leaflet-map-view-ssnup-view-map-block-1--2 .project-download {
  background-color: transparent;
  border: 1px solid #174c38;
  border-radius: 4px;
  padding: 5px 10px;
  color: #174c38;
  transition: all 0.5s;
  text-decoration: none;
}

#leaflet-map-view-ssnup-view-map-block-1 .leaflet-popup-tip-container,
#leaflet-map-view-ssnup-view-map-block-1--2 .leaflet-popup-tip-container {
  display: none;
}

/* #leaflet-map-view-ssnup-view-map-block-1 .leaflet-popup-content,
#leaflet-map-view-ssnup-view-map-block-1--2 .leaflet-popup-content {
  width: 500px !important;
  max-width: 100% !important;
} */

#leaflet-map-view-ssnup-view-map-block-1 .project-leaflet,
#leaflet-map-view-ssnup-view-map-block-1--2 .project-leaflet {
  width: 500px;
  max-width: 100% !important;
}

#leaflet-map-view-ssnup-view-map-block-1 .project-leaflet .field,
#leaflet-map-view-ssnup-view-map-block-1--2 .project-leaflet .field {
  display: flex;
}

#leaflet-map-view-ssnup-view-map-block-1 .project-leaflet .field .field__label,
#leaflet-map-view-ssnup-view-map-block-1--2 .project-leaflet .field .field__label {
  width: 50%;
  text-align: right;
}

#leaflet-map-view-ssnup-view-map-block-1 .project-leaflet .field .field__item,
#leaflet-map-view-ssnup-view-map-block-1--2 .project-leaflet .field .field__item {
  max-width: 50%;
}

#leaflet-map-view-ssnup-view-map-block-1 .project-leaflet .field .field__items,
#leaflet-map-view-ssnup-view-map-block-1--2 .project-leaflet .field .field__items {
  max-width: 50%;
}

#leaflet-map-view-ssnup-view-map-block-1 .project-leaflet .field .field__items .field__item,
#leaflet-map-view-ssnup-view-map-block-1--2 .project-leaflet .field .field__items .field__item {
  max-width: 100%;
}

#leaflet-map-view-ssnup-view-map-block-1 .project-leaflet.row>div,
#leaflet-map-view-ssnup-view-map-block-1--2 .project-leaflet.row>div {
  width: 100% !important;
}

.leaflet-map-divicon {
  color: #174C174C3838;
  font-size: 23px;
  line-height: 28px;
}

/* .leaflet-pane.leaflet-popup-pane {
  transform: unset !important;
  position: relative !important;
}

.leaflet-pane.leaflet-popup-pane .leaflet-popup {
  bottom: unset !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, 10px) !important;
  max-width: 100%;
} */

.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {}

.ssnup-paragraph {
  margin-top: 10px;
  margin-bottom: 10px;
}

.block-views-blockssnup-ressources-block-1 .field--name-title {
  color: white;
  font-weight: bold;
  font-size: 24px;
  line-height: 26px;
}

.ressource-bg:hover {
  opacity: 0.7 !important;
}

.ressource-dwn span {
  color: #174c38 !important;
  font-size: 19px !important;
  line-height: 23px !important;
  margin-top: 25px !important;
  text-align: center !important;
  display: block !important;
  margin-bottom: 15px !important;
}

.ressource-dwn span:hover {
  color: #174c38 !important;
}

.form-item-field-categorie-de-la-reference-target-id {
  display: none;
}

.paragraph--type--ssnup-chiffres .field--name-field-chiffre {
  font-size: 35px;
  padding-top: 5px;
  padding-bottom: 5px;
  font-weight: 700;
}

.paragraph--type--ssnup-chiffres .field--name-field-texte {
  font-size: 20px;
  font-weight: bold;
  padding-top: 5px;
  padding-bottom: 5px;
  max-width: 220px;
  min-height: 70px;
}

.paragraph--type--ssnup-chiffres .field--name-field-texte {
  font-size: 20px;
  font-weight: bold;
  padding-top: 5px;
  padding-bottom: 5px;
  max-width: 220px;
  min-height: 70px;
}

.paragraph--type--ssnup-chiffres .field--name-field-image {
  padding-top: 5px;
  padding-bottom: 5px;
}

.js-form-item-field-categorie-de-la-ressource-target-id {
  display: none;
}

.chiffre-items {
  justify-content: space-between;
}

.chiffre-item {
  padding-left: 50px;
  padding-right: 50px;
}

@media screen and (max-width: 992px) {
  .chiffre-item {
    width: 100%;
  }
}

.view-id-ssnup_blog .group-left,
.view-id-sam_blog .group-left {
  width: 20%;
  padding-right: 15px;
}

.view-id-ssnup_blog .group-right,
.view-id-sam_blog .group-right {
  width: 80%;
  padding-left: 15px;
}

@media screen and (max-width: 992px) {

  .view-id-ssnup_blog .group-left,
  .view-id-sam_blog .group-left {
    width: 100%;
    padding-right: 0;
  }

  .view-id-ssnup_blog .group-right,
  .view-id-sam_blog .group-right {
    width: 100%;
    padding-left: 0px;
  }
}

.view-id-ssnup_blog .content h2 {
  color: #174c38 !important;
  font-size: 24px;
}

.view-id-sam_blog .content h2 {
  color: #e94c1f !important;
  font-size: 24px;
}

.view-id-sam_blog .content h2 a {
  color: #e94c1f !important;
}

.view-id-ssnup_blog .readmore a,
.view-id-fit_blog .readmore a,
.view-id-sam_blog .readmore a {
  text-transform: uppercase;
  border-radius: 4px;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  color: white;
  line-height: 20px;
  padding: 8px 13px;
  text-decoration: none;
  margin-right: 10px;
  background: #174c38;
}

.view-id-sam_blog .readmore a {
  background: #e94c1f;
}

#form-newsletter-ssnup {
  border: 2px solid #174c38;
  padding: 20px;
}

#form-newsletter-ssnup ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
}

#form-newsletter-ssnup ul li {
  width: 50%;
  padding: 5px 20px;
}

#form-newsletter-ssnup input[type="text"] {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid #e6e8ed;
  border-radius: 4px;
  height: 32px;
}

#form-newsletter-ssnup #form-questions {
  padding: 0;
}

#views-exposed-form-ssnup-ressources-block-1,
#views-exposed-form-ssnup-ressources-block-2 {
  background-color: #174c38;
  padding: 14px 11px;
  margin-bottom: 33px;
  font-size: 16px;
}

#views-exposed-form-ssnup-ressources-block-2 label,
#views-exposed-form-ssnup-ressources-block-1 label {
  display: none;
}

#views-exposed-form-ssnup-ressources-block-2 #edit-submit-ssnup-ressources,
#views-exposed-form-ssnup-ressources-block-1 #edit-submit-ssnup-ressources {
  display: none;
}

#views-exposed-form-ssnup-ressources-block-2 .form-item-field-mots-cles-value,
#views-exposed-form-ssnup-ressources-block-1 .form-item-field-mots-cles-value {
  margin: 0;
  width: 33%;
}

.view-id-ssnup_ressources .view-content {
  margin-right: -15px;
  margin-left: -15px;
}

.search-submit {
  width: 25px;
  margin-left: -27px;
  cursor: pointer;
}

.tags-ressources {
  display: flex;
  flex-wrap: wrap;
}

.tag-ressources {
  border: 1px solid #174c38;
  color: #174c38;
  font-size: 10px;
  line-height: 12px;
  padding: 5px;
  margin-right: 5px;
  margin-bottom: 5px;
}

.paragraph--type--image-et-texte em {
  font-family: Arial;
}

.page-node-type-ssnup-page li {
  color: #000 !important;
}

.page-node-type-ssnup-page .field--name-field-red-button-link a {
  background-color: #174c38 !important;
}

.page-node-type-ssnup-blog .field--name-field-red-button-link a {
  background-color: #174c38 !important;
}

.page-node-type-sam-blog .field--name-field-red-button-link a {
  background-color: #e94c1f !important;
}

.paragraph--type--image-et-texte .field--type-image {
  width: 100%;
  margin-right: 25px;
}

.image-and-texte img {
  width: 100%;
  max-width: 150px !important;
}

.snupp-accordeon .accordion {
  background: none;
  border-top: 2px solid #174c38;
  border-bottom: 2px solid #174c38;
  color: #174c38;
  font-size: 32px;
  line-height: 38px;
  padding: 28px 0;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  text-align: left;
  outline: none;
  transition: 0.4s;
  border-left: 0;
  border-right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.snupp-accordeon.mini .accordion {
  padding: 15px 0;
  font-size: 18px;
  line-height: 23px;
}

.snupp-accordeon.mini .accordion span {
  font-size: 0.75em;
}

.snupp-accordeon .panel {
  padding: 0px 24px;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

.snupp-accordeon .accordion img {
  text-align: right;
  transition: all 0.3s;
}

.snupp-accordeon.mini .accordion img {
  width: 20px;
}

.snupp-accordeon .active.accordion img {
  transform: rotate(180deg);
}

.ssnup-paragraph-accordeon {
  margin-top: -24px;
}

.ssnup-paragraphs-content .ssnup-paragraph-accordeon:first-child {
  margin-top: 25px;
}

.snupp-accordeon .panel>div:first-child {
  padding-top: 15px;
}

.snupp-accordeon .panel>div:last-child {
  padding-top: 15px;
}

.simple-accordion .accordion {
  background: none;
  padding: 0 0 2rem 0;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  text-align: left;
  outline: none;
  transition: 0.4s;
  border-left: 0;
  border-right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.simple-accordion .accordion h3 {
  margin: 0 2rem 0 0;
}

.simple-accordion .accordion img {
  height: 9px;
  width: auto;
}

.simple-accordion .panel {
  padding: 0;
  margin-bottom: 0;
  background-color: transparent;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  box-shadow: none;
}

.simple-accordion .accordion img {
  text-align: right;
  transition: all 0.3s;
}

.simple-accordion .active.accordion img {
  transform: rotate(180deg);
}

.simple-accordeon .panel>div:first-child {
  padding-top: 33px;
}

.simple-accordeon .panel>div:last-child {
  padding-top: 33px;
}

.node--type-ssnup-blog.node--view-mode-full .field--name-node-title h2,
.node--type-fit-blog.node--view-mode-full .field--name-node-title h2,
.node--type-sam-blog.node--view-mode-full .field--name-node-title h2 {
  color: #2b292a;
  font-size: 30px;
  font-family: Arial;
  line-height: normal;
  font-weight: 700;
  letter-spacing: 0px;
}

.node--type-ssnup-blog.node--view-mode-full .date,
.node--type-sam-blog.node--view-mode-full .date,
.node--type-fit-blog.node--view-mode-full .date {
  background: #fff;
  color: #666;
  margin: 5px 0px;
  padding: 10px 5px 10px 0px;
  border-top: 1px solid #eee;
  border-top-width: 1px;
  border-top-style: solid;
  border-top-color: rgb(238, 238, 238);
}

.page-node-type-ssnup-blog .mini-ico-calendar,
.page-node-type-fit-blog .mini-ico-calendar,
.page-node-type-ssnup-page .mini-ico-calendar {
  background-position: -192px -120px;
  vertical-align: middle;
  display: inline-block;
  width: 14px;
  height: 14px;
  line-height: 14px;
  vertical-align: text-top;
  background-image: url("/themes/porto_sub/img/glyphicons-mini.png");
  background-repeat: no-repeat;
  opacity: 1;
  filter: hue-rotate(193deg);
  -webkit-filter: hue-rotate(193deg);
}

.page-node-type-fit-blog .mini-ico-calendar {
  filter: hue-rotate(218deg);
  -webkit-filter: hue-rotate(218deg);
}

.node--type-fit-blog .mini-ico-calendar {
  filter: hue-rotate(218deg);
  -webkit-filter: hue-rotate(218deg);
}

.node--type-sam-blog .mini-ico-calendar {
  background-position: -192px -120px;
  vertical-align: middle;
  display: inline-block;
  width: 14px;
  height: 14px;
  line-height: 14px;
  vertical-align: text-top;
  background-image: url("/themes/porto_sub/img/glyphicons-mini.png");
  background-repeat: no-repeat;
  opacity: 1;
  filter: hue-rotate(25deg) brightness(4);
  -webkit-filter: hue-rotate(25deg) brightness(4);
}

.page-node-type-ssnup-blog .post-content,
.page-node-type-fit-blog .post-content,
.node--type-sam-blog .post-content {
  border-bottom: 1px solid #eee;
  padding-bottom: 5px;
  margin-bottom: 10px;
}

.page-node-type-ssnup-blog .comment-wrapper,
.page-node-type-fit-blog .comment-wrapper,
.node--type-sam-blog .comment-wrapper {
  display: none;
}

.page-node-type-ssnup-blog .field--name-body,
.page-node-type-fit-blog .field--name-body,
.node--type-sam-blog .field--name-body {
  margin-top: 30px;
}

.ressources-categ {
  margin-bottom: 3rem;
}

.ressources-categ img {
  height: 256px !important;
  object-fit: cover;
}

@media screen and (max-width: 1020px) {
  .ssnup-lateral-navigation,
  .fit-lateral-navigation {
    display: none;
  }

  .ssnup-lateral-menu .ssnup-paragraphs-content,
  .fit-lateral-menu .fit-paragraphs-content {
    max-width: 100% !important;
    padding-left: 0 !important;
  }

  .paragraph--type--ssnup-icone-titre-texte>div {
    display: block;
    flex: unset;
    width: 100%;
    margin: 0 auto;
    transform: unset;
    flex-wrap: wrap;
    padding: 0 10px;
  }

  .paragraph--type--ssnup-icone-titre-texte {
    width: 100vw;
    left: unset;
    right: unset;
    padding-top: 58px;
    padding-bottom: 57px;
    margin: 0 0 0 -10px;
  }

  .paragraph--type--ssnup-icone-titre-texte>div>div {
    padding-left: 20px !important;
    padding-right: 20px !important;
    flex: unset;
    width: 100% !important;
    margin-bottom: 40px;
  }

  .paragraph--type--ssnup-icone-titre-texte>div>div:last-child {
    margin-bottom: 0px;
  }

  #advanced-search-submit-ssnup-view-map {
    margin-left: 0;
    margin-right: 0;
    margin-top: 10px;
  }

  .chiffre-items {
    flex-wrap: wrap;
  }

  .paragraph--type--ssnup-chiffres .field--name-field-texte {
    max-width: 100%;
  }

  .snupp-accordeon .panel {
    padding: 0;
  }

  #views-exposed-form-ssnup-ressources-block-2 .form-item-field-mots-cles-value,
  #views-exposed-form-ssnup-ressources-block-1 .form-item-field-mots-cles-value {
    margin: 0;
    width: 100%;
  }
}

.view.view-ssnup-view-map.view-id-ssnup_view_map {
  position: relative;
}

input[type="submit"] {
  text-transform: none !important;
}

.media--view-mode-normal {
  width: 100%;
  margin-bottom: 20px;
}

@media screen and (min-width: 1024px) {
  .media--view-mode-normal {
    max-width: 480px;
    margin-bottom: 0;
  }
}

.media--view-mode-normal img {
  width: 100%;
  height: auto;
}

.media--view-mode-icone {
  height: 100px;
  width: auto;
  display: inline-block;
  margin-bottom: 20px;
  margin-right: 20px;
}

.media--view-mode-icone img {
  height: 100px !important;
  width: auto !important;
}

.page-node-type-sam-blog blockquote {
  border-color: #e94c1f;
}

.page-node-type-ssnup-blog blockquote{
  border-color: #174c38;
}

.page-node-type-fit-blog blockquote{
  border-color: #57BEEC;
}

.node--type-ssnup-blog .group-left img,
.node--type-fit-blog .group-left img,
.node--type-sam-blog .group-left img {
  object-fit: contain;
  width: 90%;
  border: 5px solid #f5f1ec;
}

.node--type-ssnup-blog.node--view-mode-teaser .group-left, 
.node--type-fit-blog.node--view-mode-teaser .group-left, 
.node--type-sam-blog.node--view-mode-teaser .group-left {
  width: 25%;
  padding-right: 0;
}

.node--type-ssnup-blog.node--view-mode-teaser .group-right, 
.node--type-fit-blog.node--view-mode-teaser .group-right, 
.node--type-sam-blog.node--view-mode-teaser .group-right {
  width: 75%;
  padding-left: 0;
}

.node--type-ssnup-blog.node--view-mode-teaser .content h2,
.node--type-fit-blog.node--view-mode-teaser .content h2,
.node--type-sam-blog.node--view-mode-teaser .content h2 {
  line-height: 32px;
  font-size: 1.5em;
  margin: 0px 0px 10px 0px;
}

.node--type-sam-blog.node--view-mode-teaser .content h2 a {
  color: #e94c1f;
}

.node--type-ssnup-blog.node--view-mode-teaser .content h2 a {
  color: #174c38;
}

.node--type-fit-blog.node--view-mode-teaser .content h2 a {
  color: #57BEEC;
}

.node--type-ssnup-blog.node--view-mode-teaser .post-content,
.node--type-fit-blog.node--view-mode-teaser .post-content,
.node--type-sam-blog.node--view-mode-teaser .post-content {
  padding-bottom: 5px;
  margin-bottom: 5px;
  border-bottom: 1px solid #eee;
}

.node--type-ssnup-blog.node--view-mode-teaser .readmore, 
.node--type-fit-blog.node--view-mode-teaser .readmore, 
.node--type-sam-blog.node--view-mode-teaser .readmore {
  margin-top: 15px;
  padding: 0;
  background: none;
}

.node--type-ssnup-blog.node--view-mode-teaser .readmore a, 
.node--type-fit-blog.node--view-mode-teaser .readmore a, 
.node--type-sam-blog.node--view-mode-teaser  .readmore a {
  border-radius: 0;
  font-weight: 400;
  padding: 7px;
  padding-left: 15px;
  padding-right: 15px;
  font-size: 13px;
}

.node--type-sam-blog.node--view-mode-teaser .readmore a {
  background-color: #e94c1f;
}

.node--type-ssnup-blog.node--view-mode-teaser .readmore a {
  background-color: #174c38;
  color: white !important;
}

.node--type-fit-blog.node--view-mode-teaser .readmore a {
  background-color: #57BEEC;
}

.node--type-ssnup-blog.node--view-mode-teaser .mini-ico-calendar {
  background-position: -192px -120px;
  vertical-align: middle;
  display: inline-block;
  width: 14px;
  height: 14px;
  line-height: 14px;
  vertical-align: text-top;
  background-image: url("/themes/porto_sub/img/glyphicons-mini.png");
  background-repeat: no-repeat;
  opacity: 1;
  filter: hue-rotate(193deg);
  -webkit-filter: hue-rotate(193deg);
}

.text-formatted .media,
.text-formatted figure.caption {
  margin-top: 0;
  margin-bottom: 2rem;
  width: 100%;
}

.text-formatted figure.caption figcaption {
  margin-top: -2rem;
}

.text-formatted .media.align-left,
.text-formatted figure.caption.align-left {
  margin-right: 2rem;
}

.text-formatted .media.align-right,
.text-formatted figure.caption.align-right {
  margin-left: 2rem;
}

@media screen and (min-width: 1024px) {
  .text-formatted .media,
  .text-formatted figure.caption {
    width: auto;
  }
}
.node--type-ssnup-blog .content h2 a,
.node--type-sam-blog .content h2 a,
.node--type-fit-blog .content h2 a {
  font-size: 19.5px;
  line-height: 32px;
  margin: 0px 0px 10px 0px;
  color: #aa0f37;
  font-weight: bold;
  font-family: "Arial";
  letter-spacing: normal;
}

.node--type-article-de-blog .readmore a {
  border-radius: 0;
  font-weight: 400;
  padding: 7px;
  font-size: 13px;
}

.paragraph.paragraph--type--ssnup-icone-titre-texte-element.paragraph--view-mode--default {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: start;
}

.paragraph.paragraph--type--ssnup-icone-titre-texte-element.paragraph--view-mode--default > div:nth-child(3) {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.paragraph.paragraph--type--ssnup-icone-titre-texte-element.paragraph--view-mode--default > div:nth-child(3) .field--name-field-red-button-link {
}

@media screen and (min-width: 1024px) {
  .paragraph.paragraph--type--ssnup-icone-titre-texte-element.paragraph--view-mode--default > div:nth-child(3) .field--name-field-red-button-link {
    margin-top: auto;
  }
}

.page-node-type-fit-page .link-homepage .link-homepage__title {
  background: #57beec;
  color: white;
  font-size: 20px;
}

.page-node-type-fit-page .link-homepage .link-homepage__title .text-formatted {
  color: white !important;
  font-size: 14px;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.page-node-type-fit-page .link-homepage .link-homepage__title .text-formatted > * {
  color: white !important;
}

.page-node-type-fit-page .link-homepage .link-homepage__title .field--name-field-date-article {
  font-style: italic;
  font-size: 14px;
}

.flex-direction-nav a:before {
  color: white;
}
