.frontpage * {
  box-sizing: border-box;
}
header{ z-index: 10}
.frontpage .node__content p {
  text-align: justify;
  font-size: 1.5rem;
}

.frontpage .top-news-item-view {
  grid-area: news;
  color: white;
  width: 100%;
  height: auto;
}

.frontpage .top-news-item-view * {
  color: white;
}

.frontpage .top-news-item-view .top-news-item {
  position: relative;
}

.frontpage .top-news-item-view a {
  outline: 0;
  height: 100%;
}

.frontpage .top-news-item-view a:hover {
  text-decoration: none;
}

.frontpage .block-views-blockccrg-weekly-events-block-1 {
  z-index: 1;
  clear: left;
}
   
.frontpage .block-views-blockccrg-weekly-events-block-1  .views-row{
  width: 33%;
  float: left;
}
 
.frontpage .block-views-blockccrg-weekly-events-block-1 .contextual-region {
  padding: 10px 0;
}

.frontpage .block-views-blockccrg-weekly-events-block-1 .weekly-event-info {
  display: grid;
  width: 100%;
  height: 100%;
  grid-template-areas: "left"
			"right";
  grid-template-rows: 3fr 8fr;
  grid-gap: 0.5em;
  margin-left: auto;
  margin-right: auto;
  padding: 2px;
  margin-bottom: 5px;
}


.weekly-event-info .left {
  border-radius: 10px 0;  
  padding: 5px 0px;
  line-height: 40px;
  text-align: center;
  background: rgb(7, 141, 146,0.7);
}
.weekly-event-info .start-time,
.weekly-event-info .week-day {
  font-weight: 800;
  color: #fff
}
.weekly-event-info .week-day,
.weekly-event-info .start-time {
  font-size: 17px;
}

.weekly-event-info .weekly-event-title {
  font-size: 2rem;
  font-weight: 600;
  color: #000;
}

.weekly-event-info .weekly-event-title a{ 
  font-weight: 800;
  color: #000;
}

/*
 * .frontpage .top-news-item-view .top-news-title {
 *   position: absolute;
 *     top: 0px;
 *       left: 0px;
 *         padding: 1vh;
 *           background-color: rgba(0, 0, 0, 50%);
 *             width: 100%;
 *               text-align: left;
 *                 line-height: 1.25;
 *                   font-size: 4vmin;
 *                   }
 *                   */

.transparent {
	/* Required for IE 5, 6, 7 */
	/* ...or something to trigger hasLayout, like zoom: 1; */
	width: 100%; 
		
	/* Theoretically for IE 8 & 9 (more valid) */	
	/* ...but not required as filter works too */
	/* should come BEFORE filter */
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
	
	/* This works in IE 8 & 9 too */
	/* ... but also 5, 6, 7 */
	filter: alpha(opacity=50);
	
	/* Older than Firefox 0.9 */
	-moz-opacity:0.5;
	
	/* Safari 1.x (pre WebKit!) */
	-khtml-opacity: 0.5;
    
	/* Modern!
 *  * 	/* Firefox 0.9+, Safari 2?, Chrome any?
 *   * 		/* Opera 9+, IE 9+ */
	opacity: 0.5;
}


.frontpage .top-news-item-view .top-news-text {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translate(-50%, 0%);
  padding: 2vmin;
  width: 80%;
  line-height: 1.25;
  text-align: center;
  background-color: rgba(0, 0, 0, 50%);
  opacity: 0.5;
  font-size: 2rem;
}

.frontpage .top-news-item-view .top-news-description {
  font-style: italic;
}

/*
 * @media only screen and (max-width: 480px) {
 *   .frontpage .top-news-item-view .top-news-title {
 *       font-size: 1rem;
 *         }
 *           .frontpage .top-news-item-view .top-news-description {
 *               font-size: 1rem;
 *                   width: 95%;
 *                     }
 *                     }
 *
 *                     */


.frontpage .top-news-item-view img {
  width: 100%;
  height: 450px;
  display: block;
  object-fit: cover;
}

@media only screen and (max-width: 768px) and (orientation: portrait) {
  .frontpage .top-news-item-view img {
    height: 450px;
  }

  .frontpage .top-news-item-view .top-news-text {
    font-size: 2rem;
  }
}



.frontpage .upcoming-events-view {
  grid-area: events;
/*  border: medium solid lightgray; */
  height: 100%;
  width: auto;
}


/*.frontpage .upcoming-event-item {
 *   font-size: 2rem; 
 *     padding: 1rem 0.5rem;
 *     }*/


.frontpage .latest-publications-view {
  grid-area: events;
/*  border: medium solid lightgray; */
  height: 100%;
  width: auto;
}


/*.frontpage .latest-publication-item {
 *   padding: 1rem 0;
 *   }*/

.frontpage .latest-publication-title {
/*  font-size: 2rem; */
}

.frontpage .latest-publication-info {
/*  font-size: 1.5rem; */
 /* font-style: italic;*/
}


.frontpage .upcoming-event-item,.frontpage .latest-publication-item {
	overflow:hidden;
	zoom:1;	
}
.frontpage .upcoming-event-item >a,.frontpage .latest-publication-item >a{
  vertical-align: middle;
  display:table-cell;
  width: 170px;
  height: 150px;
  position: relative;
  left: 40px;
}

.frontpage .upcoming-event-item >a >img, .frontpage .latest-publication-item >a >img{
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;

  	
}

.frontpage .upcoming-event-item .upcoming-event-title, .frontpage .latest-publication-title {
 	margin: 0 0 20px 0;
	display: block;
	float:left;
	text-align: left;
	width: 60%;
}

.frontpage .upcoming-event-item .upcoming-event-type{
  display: block;
	float:left;
	text-align: left;
	width: 60%;
	color: #000;
}

.frontpage .upcoming-event-item .upcoming-event-title a, .frontpage .latest-publication-title a{
  font-size: 2rem;
	font-weight: 600;
	color: #000;
	text-align: left;
	line-height: 1.43;
}

.frontpage .upcoming-event-item .upcoming-event-info{
        font-weight: 600;
 	display: block;
        font-size: 1.5rem;
        float: left;
        color: #078D92;
  /*font-style: italic;*/
        width:60%;
        text-align: left;
        line-height: 1.5;	
}


.frontpage .latest-publication-info {
  display: block;
	font-size: 1.5rem;
	float: left;
	color: #888;
  /*font-style: italic;*/
	width:60%;
	text-align: left;
	line-height: 1.2;
}

.frontpage .views-element-container h2{
	color: #FE6F34;
	text-transform: uppercase;
	text-align:left;
	font-weight: 600;
}

/*.frontpage .latest-publication-item {
 *   padding: 1rem 0;
 *   }
 *
 *   .frontpage .latest-publication-item .latest-publication-title {
 *     font-size: 2rem;
 *     }
 *
 *     .frontpage .latest-publication-item .latest-publication-info {
 *       font-size: 1.5rem;
 *        	font-style: italic;
 *        	}
 *        	*/



/*
 * .frontpage div#block-views-block-latest-publications-block-1-2 {
 *   grid-area: publications;
 *     border: 2px solid black;
 *       height: 100%;
 *         width: auto;
 *         }
 *         */

.frontpage .more-link {
  font-size: 1.5rem;
  margin: 20px 0;
  text-align: center;
}

.frontpage .more-link a{

  background: #078D92;
  color: #fff;
  padding: 10px 20px;
  font-weight: 600;
  border-radius: 10px 0
}

.frontpage .more-link a:hover {
    color: #fff;
}

.news-gallery-view {
	overflow:hidden;
	zoom:1;
	display: block;	
}




.news-gallery-view .news-title a {
  font-size: 2rem;
	font-weight: 600;
	color: #000;
	text-align: left;
	line-height: 1.43;
}
/*.views_slideshow_cycle_slide {
 * 	width: 100%;
 * 		height: auto;
 * 		} */

.views_slideshow_cycle_teaser_section,
.views_slideshow_cycle_slide, 
.views_slideshow_cycle_slide .views-row, 
.views-field-field-video-embed, 
.views-field-field-video-embed .field-content{
 	position: relative;
	padding-bottom: 56.25%; 
	padding-top: 0; 
	height: 0; 
	overflow: hidden;
	width: 100% !important;
}

.video-embed-field-provider-youtube {
	position: relative;
	padding-bottom: 56.25%; 
	padding-top: 0; 
	height: 0; 
	overflow: hidden;
}

.video-embed-field-provider-youtube iframe{
	position: absolute;
	top:0; 
	left: 0; 
	width: 100%; 
	height: 100%;
}

.top-news-item-view {
  z-index: 0
}


.ccrg-body .slide-title-background{
  background: url(../images/background.png);
  background-size:100% 100%;
  background-repeat:no-repeat; 
  width: 70%;
  height: 0;
  padding-bottom: 38%;
  position: absolute;
  bottom: -0.5px;
  left: 0;
}

.highlited-contents .views-field-title{
  width:100%; 
  height:0;
  padding-bottom: 56.25%;  
  position: absolute;
  top: 0;
  pointer-events: none;
}

.highlited-contents .views-field-title a{
  line-height: 150%;
  color: white;
  font-size: 2vw;
  display:block;
  position: absolute;
  bottom: 5%;
  left: 5%;
  max-width: 70%;
}


.views_slideshow_cycle_teaser_section{
    z-index: 0;
}


.highlited-contents .views-field-title a:hover {
  color: white;
  text-decoration:none;
}


@media (max-width: 767px) {
  .frontpage .top-news-item-view img {
    height: 300px;
  }
  .frontpage .upcoming-event-item,.frontpage .latest-publication-item {
    padding: 1rem 0rem;
  }
  .block-views-blocknews-gallery-block-1 .views-row {
    width: 100%;
    min-height: 150px;
  }
  .frontpage .upcoming-event-item .upcoming-event-title, .frontpage .latest-publication-title {
    margin: 0 0 0 0;
    width: 60%;
  }
  .frontpage .upcoming-event-item img, .frontpage .latest-publication-item img {
    width: 40%;
    max-height: 150px;
    max-width: 150px;
  }

  .frontpage .upcoming-event-item .upcoming-event-info, .frontpage .latest-publication-info {
    width: 60%;
  }
}

@media (max-width: 480px) {
  .frontpage .upcoming-event-item >a, .frontpage .latest-publication-item >a {
    width: 100%;
    float:left;
    text-align: center;
    left: 0;
    height: 0;
  }
  .frontpage .upcoming-event-item img, .frontpage .latest-publication-item img {
    /*text-align: center;
    margin: 20px 20px;
    width: 67%;
    max-height: 320px;
    max-width: 320px;*/
    display: none;
  }

  .frontpage .upcoming-event-item .upcoming-event-title, .frontpage .latest-publication-title {
    width: 100%;
  }
  .frontpage .upcoming-event-item .upcoming-event-info, .frontpage .latest-publication-info {
    width: 100%;
  }
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .frontpage .upcoming-event-item,.frontpage .latest-publication-item {
    padding: 1rem 0rem;
  }
  .block-views-blocknews-gallery-block-1 .views-row {
    width: 100%;
    min-height: 100px;
    float: left;
    padding: 5px 40px 5px 10px;
    text-align: center;
  }
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .frontpage .upcoming-event-item,.frontpage .latest-publication-item {
    padding: 1rem 10rem;
  }
  .block-views-blocknews-gallery-block-1 .views-row {
    width: 33%;
    min-height: 200px;
    float: left;
    padding: 5px 40px 5px 10px;
    text-align: center;
  }
}

/* Large devices (desktops, 1200px and up) */
@media (min-width: 1200px) {
  .frontpage .upcoming-event-item,.frontpage .latest-publication-item {
    padding: 1rem 20rem;
  }
  .block-views-blocknews-gallery-block-1 .views-row {
    width: 33%;
    min-height: 200px;
    float: left;
    padding: 5px 40px 5px 10px;
    text-align: left;
  }
  .highlited-contents .views-field-title a{
    font-size: 36px;
  }

}

