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

.path-frontpage #block-mainpagecontent > h1{
	display: none;
}
.latest-news-home{
    background-color: #eee;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: 0px;
    margin-right: 0px;
    font-weight: bold;
}
.latest-news-home > h2{
	font-family: 'notesesabold';
	font-size: 28px !important;
	/*text-transform: uppercase;*/
	padding: 20px 0 0;
}

.latest-news-wrapper{

}
.latest-news-wrapper .latest-news-rows{
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}
.latest-news-wrapper .latest-news-rows .latest-news-item{
    position: relative;
    overflow: hidden;
    min-width: 50%;
    max-width: 49%;
    max-height: 240px;
    width: auto;
    text-align: center;
    cursor: pointer;
    padding: 15px 15px 0 0;
}

/* Common style */
.gridnews figure {
  position: relative;
  overflow: hidden;
  min-width: 320px;
  max-width: 520px;
  max-height: 240px;
  width: 100%;
  background: #3085a3;
  text-align: center;
  cursor: pointer;
}
.gridnews figure img {
    width: 100%;
    position: relative;
    display: block;
    height: auto;
    opacity: 0.8;
    border: none !important;
}
.gridnews figure figcaption {
  padding: 0em;
  color: #fff;
  /*font-size: 1.25em;*/
}
.gridnews figure figcaption::before,
.gridnews figure figcaption::after {
  pointer-events: none;
}
.gridnews figure figcaption,
.gridnews figure figcaption > a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.gridnews figure figcaption > a {
  z-index: 1000;
  text-indent: 200%;
  white-space: nowrap;
  /*font-size: 0;*/
  opacity: 0;
}
.gridnews figure h2 a {
  color: white !important;
}
.gridnews figure h2 a:hover {
  text-decoration: none;
  opacity: 0.8;
}
.gridnews figure h2 {
  background: #003247;
  border: none !important;
  padding: 10px;
}
.gridnews figure h2,
.gridnews figure p {
  margin: 0;
  padding: 0 30px;
}
.gridnews figure p {
  /*letter-spacing: 1px;*/
  /*font-size: 68.5%;*/
  border: 0px solid #cccccc;
  background-color: rgba(25, 70, 89, 0.8);
  padding: 20px;
}
/* Individual effects */
figure.effect-news img {
  max-width: none;
  width: -webkit-calc(100%);
  width: calc(100%);
  opacity: 1;
}
figure.effect-news figcaption {
  text-align: left;
}
figure.effect-news figcaption > div {
  position: absolute;
  top: 140px;
  left: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  -webkit-transition: all 1s;
  transition: all 1s;
}
figure.effect-news h2 {
    padding: 15px !important;
    font-size: 18px;
    font-family: 'notesesabold';
}
figure.effect-news .teaser p {
  color: rgba(255, 255, 255, 0.9);
  opacity: 0;
  font-size: 12px;
  min-height: 11rem;
  font-weight: normal;
}
figure.effect-news:hover .teaser p {
  opacity: 1;
  top: 0px;
}
figure.effect-news img {
  transform: scale(1, 1);
  opacity: 1;
  -webkit-transition: all 1s;
  transition: all 1s;
}
figure.effect-news:hover img {
  transform: scale(2, 2);
  opacity: 0.5;
  -webkit-transition: all 2s;
  transition: all 2s;
}
figure.effect-news:hover figcaption > div {
  top: 0;
  cursor: pointer;
  -webkit-transition: all 1s ease-out;
  transition: all 1s ease-out;
}
figure.effect-news:hover p {
  top: 100%;
  width: 100%;
  height: 100%;
}
.more-link > a {
    font-family: 'notesesareg', "Trebuchet MS", Tahoma, Arial;
    border: none;
    border-radius: 0;
    background: #0097d6;
    color: white;
    font-weight: normal;
    font-size: 18px;
    padding: 3px 20px 0;
    margin: 20px 15px 20px 0;
    display: inline-block;
    height: 32px;
}
.more-link > a:hover {
    opacity: 0.8;
    text-decoration: none;
    background: #337ab7;
    color: #FFF;
}
.more-link > 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;
}
.content-wrapper-news-events{
  display: flex;
}
.content-wrapper-news-events .image-news-events{
  min-width: 140px;
  max-width: 140px;
  height: auto;
  padding-right: 16px;
}
.content-wrapper-news-events .content-news-events{

}


.region-sidebar-second .block-views .views-field-created span:before {
    content: '\f017';
    font-family: 'Font Awesome 5 Free';
    font-style: normal;
}




@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%;
    }

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

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