
/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

.content-page h1.newsroom-title {
    border-bottom: 1px solid #000;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.content-page h2.newsroom-heading,
.content-page .newsroom-date,
.content-page .newsroom-text {
    margin-bottom: 10px;
}

.content-page .newsroom-date {
    font-weight: bold;
}

.content-page .newsroom-text {
    margin-bottom: 10px;
}

.newsroom-item {
    margin: 20px 0 40px 0;
}

.newsroom-item-wrappings {
    overflow: hidden;
}

.newsroom-image-wrapper {
    font-size: 1em;
    line-height: 1;
    float: right;
    width: 148px;
    width: 15ch;
    max-width: 100%;
    margin-left: 20px;
    margin-bottom: 20px;
}

.content-page .pageContent a.read-more-link {
  transition: color 0.2s, background-color 0.2s;
}

.content-page .pageContent a.read-more-link,
.content-page .pageContent a.read-more-link:link,
.content-page .pageContent a.read-more-link:visited,
.content-page .pageContent a.read-more-link:hover,
.content-page .pageContent a.read-more-link:focus,
.content-page .pageContent a.read-more-link:active {
  display: inline-block;
  padding: 0.5em 1em;
  color: #fff;
  background-color: #1533a0;
  text-decoration: none;
  font-weight: bold;
  margin: 0;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}

.content-page .pageContent a.read-more-link:hover,
.content-page .pageContent a.read-more-link:focus,
.content-page .pageContent a.read-more-link:active {
  color: #fff;
  background-color: #fbbd08;
}

.newsroom-image-wrapper img {
    vertical-align: bottom;
    max-width: 100%;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: 50% 50%;
}

@media (min-width: 700px) {
   .newsroom-news-content .newsroom-items {
        padding-right: 6%;
   }

   .newsroom-td {
        display: table-cell;
        vertical-align: top;
    } 

    .newsroom-news-content {
        width: 60%;
	width: 80ch;
	max-width: 100%;
    }

    .newsroom-event-content {
        width: 40%;
	width: 80ch;
	max-width: 100%;
    }
}
