.region-footer, 
.region-content{
	padding: 0;
}
.region-sidebar-first, 
.region-sidebar-second {
  padding: 0 0 0 1rem;
}


.path-frontpage #block-mainpagecontent > h1{

}
.latest-news-home{

}
.latest-news-home > h2{

}

.latest-news-wrapper{

}
.latest-news-wrapper .latest-news-rows{
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
}
.latest-news-wrapper .latest-news-rows .latest-news-item {
  position: relative;
  overflow: hidden;
  width: calc(16.66% - 0.5rem);
  min-height: 250px;
  cursor: pointer;
  padding:0;
  margin: 0 1rem 1rem 0;
    -webkit-transition: all 1.5s;
  transition: all 1.5s; 
}
.latest-news-wrapper .latest-news-rows .latest-news-item:nth-child(2n) {
  margin: 0 0rem 1rem 0;
}
.latest-news-wrapper .latest-news-rows .latest-news-item:hover {
  -webkit-box-shadow: 0px 0px 36px 0px rgba(255,255,255,0.2);
  -moz-box-shadow: 0px 0px 36px 0px rgba(255,255,255,0.2);
  box-shadow: 0px 0px 36px 0px rgba(255,255,255,0.2); 
  -webkit-transform:scale(1.02);transform:scale(1.02);
  z-index:3 ;
  -webkit-transition: all 1.5s;
  transition: all 1.5s; 
}


/* Common style */
.gridnews figure {
  position: relative;
  overflow: hidden;
  min-width: 320px;
  max-width: 520px;
  height: 100%;
  width: 100%;
  margin: 0;
  background: var(--background-blue);
  cursor: pointer;
}
.gridnews figure img {
  width: 100%;
  position: relative;
  display: block;
  height: auto;
  border: none !important;
}

/* Individual effects */

.latest-news-wrapper figure.effect-news img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1, 1);
  opacity: 1;
  -webkit-transition: all 1s;
  transition: all 1s;
}
figure.effect-news:hover img {
  transform: scale(1.02, 1.02);
  opacity: 0.4;
  -webkit-transition: all 1s;
  transition: all 1s;
}


figure.effect-news figcaption {

}
figure.effect-news figcaption > div {
  position: absolute;
  top: 60%;
  left: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background: var(--background-blue-alpha);
  -webkit-transition: all 1s;
  transition: all 1s;
}
figure.effect-news:hover figcaption > div {
  top: 0;
  cursor: pointer;  
  -webkit-transition: all 1s ease-out;
  transition: all 1s ease-out;
}
figure.effect-news figcaption > div h2 {
  padding: 1rem 1rem 0.8rem;
  margin: 0 !important;
  min-height: 41%;
  border: none !important;
}
figure.effect-news figcaption > div h2:before {
  content: '';
  width: 6rem;
  height: 4px;
  background: var(--whiteLight);
  display: block;
  margin-bottom: 0.5rem;
}
figure.effect-news figcaption > div h2:after {
  content: '';
  width: 0rem;
  height: 4px;
  background: var(--aquamarine);
  display: block;
  position: absolute;
  top: 1rem;
  transition: all 1s ease-out;
}
figure.effect-news:hover figcaption > div h2:after {
  width: 6rem;
  transition: all 1s ease-out;

}
figure.effect-news figcaption > div h2 a {
  display: block;
  font-size: 18px;
  font-family: 'notesesabold';
  color: var(--whiteLight);
}
figure.effect-news figcaption > div .teaser {
  min-height: 59%;
  background: var(--background-blue-alpha);
  padding:0 1rem 1rem;  
  opacity: 0;
  transition: all 1s ease-out;
}
figure.effect-news:hover figcaption > div .teaser {
  opacity: 1;
  transition: all 1s ease-out;
}
figure.effect-news figcaption > div .teaser p {
  color: var(--whiteLight);
  font-size: 0.889rem;
}


.more-link {
  text-align: center;
}

.more-link > a {
  border-radius: 16px;
  border: 1px solid var(--aquamarine);
  background-color: rgba(25, 217, 208, 0.28);
  color: var(--white);
  font-family: "notesesabold";
  letter-spacing: 0.05rem;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  font-size: 1rem;
  padding: 0.8rem 1.1rem;
  margin: 16px 0;
  width: auto;
  min-width: 250px;
  display: inline-block;
}
.more-link > a:hover {
  background: var(--aquamarine);
  text-decoration: none;
}
.more-link > a svg{
    display: none;
}


.more-link.registration {
  text-align: left;
}
.more-link.registration > a {
  display: inline-flex;
  justify-content: space-between;
}
.more-link.registration > a:after {
  content: '';
  background: url(../img/registration-link-icon.svg) no-repeat;
  background-size: cover;
  width: 22px;
  height: 22px;
  display: inline-block;
  background-position: right;
  margin: 0 0rem 0 0.4rem;
}




.block-access-events {
  margin: 0rem 0 2rem;
  padding: 0 1rem;
}
.block-access-events h2 {
  font-size: 1.75rem !important;
}
.block-access-events .field--name-body a {
  border-radius: 16px;
  border: 1px solid var(--aquamarine);
  background-color: rgba(25, 217, 208, 0.28);
  color: var(--white);
  font-family: "notesesabold";
  letter-spacing: 0.05rem;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  font-size: 1rem;
  padding: 0.8rem 1.1rem;
  margin: 16px 0;
  width: auto;
  min-width: 100%;
  display: inline-block;
}
.block-access-events  .field--name-body a:hover {
  background: var(--aquamarine);
  text-decoration: none;
}
.block-access-events .field--name-body a svg{
    display: none;
}


/****** NEWS EVENTS VIEW *****/

.path-events h1{
  /*border: none;*/
}
.title-news-events{
  padding: 20px 0 10px;
  font-family: 'notesesabold';
  font-size: 22px;
}
.view-news-and-events .view-header, 
.view-events .view-header {
  text-align: left;
}

.content-wrapper-news-events{
  display: flex;
  margin: 2rem 0;
  padding: 2rem 0;
  border-bottom: 1px dotted var(--linkhover);
  clear: both;
  overflow: auto;
}
.content-wrapper-news-events .image-news-events{
  min-width: 220px;
  max-width: 220px;
  height: auto;
  padding-right: 1rem;
}
.content-wrapper-news-events .image-news-events img {
  border-radius: 0.6rem 0.6rem 0 0;
  font-size: 1rem;
}

.content-wrapper-news-events .content-news-events .news-date {
  font-family: 'notesesareg';
  color: var(--whiteTag);
  text-transform: uppercase;
  margin: 0;
}



.content-wrapper-news-events .image-tax-terms {
  min-width: 220px;
  max-width: 220px;
  height: auto;
  padding-right: 1rem;
}
.content-wrapper-news-events .image-tax-terms img {
  border-radius: 0.6rem 0.6rem 0 0;
}
.content-wrapper-news-events .content-tax-events h2 {  
  font-size: 1.75rem !important;
  font-weight: 300;
  font-family: 'notesesareg' !important;
  padding: 0;
  margin: 0 0 0.8rem 0 !important;
  text-transform: uppercase;
}
.content-wrapper-news-events .content-tax-events h2 > a {  
  text-decoration: none;
}
.content-wrapper-news-events .content-tax-events p {
  margin: 0;
}
.content-wrapper-news-events .companies {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
}
.content-wrapper-news-events .companies li {
  list-style: none;
  margin: 0rem 1rem 1rem 0;
  display: flex;
  flex-wrap: nowrap;
}
.content-wrapper-news-events .companies li:after {
  content: '|';
  display: block;
  padding: 0 0.5rem;
  margin-left: 1rem;
}
.content-wrapper-news-events .companies li:last-child:after {
  display: none;
}
.content-wrapper-news-events .categories {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
}
.content-wrapper-news-events .category {
  list-style: none;
}
.content-wrapper-news-events .category a {
    display: inline-block;
    font-size: 0.85rem;
    padding: 3px 10px;
    margin: 4px 8px 4px 0;
    color: var(--aquamarine);
    border: 1px solid;
    border-radius: 0.6rem;
}
.content-wrapper-news-events .category a:hover {
    background-color: var(--aquamarine);
    text-decoration: none;
    color: var(--white);
    border-color: var(--aquamarine);
}
.content-wrapper-news-events .content-news-events .status{
  color: var(--whiteTag);
}





@media (max-width: 767px) {
    /******* LATEST NEWS  *****/
    .latest-news-wrapper .latest-news-rows {
        flex-direction: column;
    }

    div.latest-news-wrapper .latest-news-rows .latest-news-item {
      max-width: 100%!important;
      width: 100%;
      height: 240px;
      min-height: fit-content;
      margin: 1.6rem 0;
    }

    div.latest-news-home > h2 {
      font-size: 28px;
      line-height: 24px;
    }

    li.latest-news-item.gridnews figure {
        max-width: 100%;
        min-width: 100%;
    }
}

@media (max-width: 400px) {
  div.content-main-txt-header {
    margin: 0;
    padding: 0;
    height: 70vh;
  }
  .content-main-txt-header > p {
    width: 100%;
    text-align: center;
  }
  .content-main-txt-header > p .first-title {
    font-size: 30px;
  }
  .content-main-txt-header > p .second-title {
    font-size: 25px;
  }
  div.latest-news-wrapper .latest-news-rows .latest-news-item {
    min-height: 400px;
  }
}