@font-face {
    font-family: 'DefaultFont';
    src: url('../Fonts/open-sans/OpenSans-Regular.eot');
    src: url('../Fonts/open-sans/OpenSans-Regular.eot?#iefix') format('embedded-opentype'),
        url('../Fonts/open-sans/OpenSans-Regular.ttf') format('truetype'),
        url('../Fonts/open-sans/OpenSans-Regular.otf') format('opentype');
    font-weight: normal;
}

@font-face {
    font-family: 'BoldFont';
    src: url('../Fonts/open-sans/OpenSans-Bold.eot');
    src: url('../Fonts/open-sans/OpenSans-Bold.eot?#iefix') format('embedded-opentype'),
        url('../Fonts/open-sans/OpenSans-Bold.ttf') format('truetype'),
        url('../Fonts/open-sans/OpenSans-Bold.otf') format('opentype');
    font-weight: bold;
}

@font-face {
    font-family: 'MediumFont';
    src: url('../Fonts/open-sans/OpenSans-Semibold.eot');
    src: url('../Fonts/open-sans/OpenSans-Semibold.eot?#iefix') format('embedded-opentype'),
        url('../Fonts/open-sans/OpenSans-Semibold.ttf') format('truetype'),
        url('../Fonts/open-sans/OpenSans-Semibold.otf') format('opentype');
    font-weight: normal;
}

@font-face {
    font-family: 'LightFont';
    src: url('../Fonts/open-sans/OpenSans-Light.eot');
    src: url('../Fonts/open-sans/OpenSans-Light.eot?#iefix') format('embedded-opentype'),
        url('../Fonts/open-sans/OpenSans-Light.ttf') format('truetype'),
        url('../Fonts/open-sans/OpenSans-Light.otf') format('opentype');
    font-weight: normal;
}


/****************************************
* MISCELLANEOUS
****************************************/

html {
  height: 100%;
}

body {
  font-family: 'LightFont', sans-serif;
  min-height: 100%;
  position: relative;
}

a {
  color: #004694;
}

.h1, h1 {
  color: #004694;
  font-size: 2rem;
  font-family: 'MediumFont';
}

#slogan h1 {
  font-size: 3rem;
  font-family: 'BoldFont';
}

.articlelayout-featured h2 {
  color: #004694;
  font-size: 2rem;
  font-family: 'MediumFont';
}

.h2, h2 {
  color: #004694;
  font-size: 1.5rem;
  font-family: 'MediumFont';
}

.h3, h3 {
  color: #004694;
}

main {
  /*padding-top: 2rem;*/
  padding-bottom: 11rem;
}

.frame {
  margin-bottom: 1.5rem;
}

.frame.frame-space-after-none {
  margin-bottom: 0;
}

.frame-space-after-large {
  margin-bottom: 2.5rem;
}

.ce-headline-center {
  text-align: center;
}

.ce-headline-right {
  text-align: right;
}

.ce-headline-left {
  text-align: left;
}

.embed-responsive-16by5::before {
  padding-top: 31.35%;
}

.col-right {
  padding: 2.5rem;
  background-color: rgba(0, 70, 148, 0.03);
}

.col-right .list-group-item {
  background-color: transparent;
}

.col-right .frame > header h3 {
  font-family: 'MediumFont';
  text-transform: uppercase;
  font-size: 1.5rem;
}

.col-right .categories .list-group-item {
  border: 0px;
  padding: 0 0 0.3rem 0;
}

@media (max-width: 767px) {
  h1 {
    font-size: 6.0vw;
  }

.articlelayout-featured h2 {
  font-size: 5.5vw;
}
h2 {
    font-size: 5.5vw;
  }
  /*
.embed-responsive {
    width: 75%;
  }
*/
  .news article {
    margin-bottom: 3rem;
  }
}

@media (max-width: 575px) {
  h1 {
    font-size: 7.0vw;
  }

  #slogan h1 {
    font-size: 7.0vw;
  }

  .articlelayout-featured h2 {
    font-size: 6.5vw;
  }
  h2 {
    font-size: 6.5vw;
  }
  .embed-responsive {
    width: 100%;
  }
}

/****************************************
* CONTENT ELEMENTS
****************************************/

/* text & media */

.frame-type-textmedia .ce-column {
  margin: inherit;
  width: inherit;
  float: inherit;
  padding: 0 0 4px 0;
}

.frame-type-textmedia .ce-column figure.image {
  display: block;
  float: left;
  /*background: #fff;*/
}

.frame-type-textmedia .ce-column figure.image img {
  width: 100%;
  height: auto;
}

.frame-type-textmedia .ce-center.ce-above .ce-bodytext h1,
.frame-type-textmedia .ce-center.ce-above .ce-bodytext h2,
.frame-type-textmedia .ce-center.ce-above .ce-bodytext h3,
.frame-type-textmedia .ce-center.ce-above .ce-bodytext h4,
.frame-type-textmedia .ce-center.ce-above .ce-bodytext h5 {
  margin-top: 0.5rem;
}

/****************************************
* HEADER
****************************************/

#pageheader {
  background-color: #ffffff;
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

#pageheader .logo {
  /*display: flex;
  align-items: center;
  text-align: center;*/
}

#pageheader .logo img {
  max-height: 75px;
}

header.container a {
  max-width: 100%;
  width: 100%;
}

.navbar {
  padding: 0px;
}

.navbar-light .navbar-nav .nav-link {
  color: #004694;
  text-transform: lowercase;
  /*padding: 1rem 1rem !important;*/
  line-height: 1rem;
  font-family: 'MediumFont', sans-serif;
}

.navbar-light .navbar-nav .active > .nav-link,
.navbar-light .navbar-nav .nav-link:hover {
  text-decoration: underline;
  color: #004694;
}

.d-flex.justify-content-between.hidden-lg-up {
  padding: 8px;
}

.nav-item.divider {
  padding-top: .5rem;
  line-height: 1rem;
}

.navbar-nav .nav-link {
  padding-bottom: 0;
}

#slogan {
  text-align: center;
  font-family: 'BoldFont';
  text-transform: uppercase;
  min-height: 65px;
}

/*
#c387 {
  height: 100%;
  position: relative;
}

#c387 header {
  position: absolute;
  text-align: center;
  width: 100%;
}

#c387 header h1 {
  text-transform: uppercase;
  color: #fff;
  padding-top: 10%;
  font-family: 'BoldFont';
  font-size: 350%;
}


@media (max-width: 767px) {
#c387 header h1 {
  font-size: 5.5vw;
}
}

@media (max-width: 575px) {
#c387 header h1 {
  font-size: 6.5vw;
}
}
*/
@media (max-height: 420px) {
  main {
    padding-top: 1rem;
  }
  #pageheader.sticky-top {
    top: 0;
    position: relative;
  }
  /*
  #pageheader.sticky-top.scrolldown {
    top: -135px;
  }
*/
  #pageheader .logo .img-fluid {
    max-height: 60px;
  }
  header #logobar {
    padding-bottom: 0.5rem;
  }
}

@media (max-width: 767px) {
.navbar-light .navbar-nav .active > .nav-link,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .show > .nav-link {
  color: #fff;
  text-decoration: underline;
}

.navbar-light .navbar-nav .nav-link{
  background-color: #004694;
  color: #fff;
  padding: 1rem;
}

.navbar-light .navbar-nav .nav-link:hover {
  color: #fff;
}
}

/*
@media (max-width: 768px) {
    .navbar-header {
        float: none;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin: 7.5px -15px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
}
*/

/****************************************
* FOOTER
****************************************/

footer.footer {
  position: absolute;
  bottom: 0px;
}

footer .upper {
  padding-top: 2rem;
  background-color: #004694;
  padding-bottom: 2rem;
}

footer .lower{
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
}

footer .frame {
  margin: 0;
}

footer .menu {
  list-style: none;
  list-style-image: none;
  text-align: center;
  padding: 0;
  margin: 0;
}

footer .menu .item {
  display: inline-block;
  color: #fff;
}

footer .menu .separator {
  display: inline-block;
  color: #fff;
  padding: 0 0.25rem;
}

footer .menu .item a {
  font-family: 'MediumFont';
  font-size: 0.85rem;
  color: #004694;
}

footer .row.d-md-none > div {
  display: flex;
  align-items: center;
  text-align: center;
}

.footer .logo {
  max-height: 80px;
}

.footer .pmuhelperext_imagelink_hover {
  text-align: right;
}

.footer figure {
  margin: 0;
}

@media (max-width: 767px) {
  #footer_right {
    margin-top: 2rem;
  }
}

/****************************************
* NEWS
****************************************/

/* list view */

section.news article {
  margin-bottom: 2.5rem;
}

.news-list-view article .news-img-wrap {
  float: none;
  padding-bottom: 4px;
}

.news-list-view article .news-img-wrap a {
  float: none;
  /*padding: 4px;*/
  /*border: 1px solid #ddd;*/
  background-color: #fff;
}

.news-list-view article .news-img-wrap img {
  width: 100%;
  height: auto;
}

.news-list-view article header {
  margin: 1rem 0 0.5rem 0;
}

.news-list-view article header  h3 {
  margin: 0 0 0.5rem 0;
}

.news-list-view article header .news-list-date {
  font-size: 0.75rem;
  color: #888;
}

.news-list-view article header {
  margin: 1rem 0 0.5rem 0;
}

.news-list-view article footer {
  margin: 0px;
  text-align: right;
  border: 0;
  padding: 0;
}

.news-list-view figure {
  position: relative;
}

.news-list-view figcaption {
  position: absolute;
  top: 0px;
  left: 0px;
  background-color: #fff;
  color: #004694;
  z-index: 50;
  padding: 0.5rem;
  text-transform: uppercase;
  font-family: 'MediumFont';
}

@media (max-width: 575px) {
  .news-list-view figcaption {
    top: auto;
    left: auto;
    right: 0px;
    bottom: 0px;
  }
}

/* pagination */

.news-list-view .page-navigation {
  width: 100%;
}

.news-list-view .page-navigation p {
  display: inline-block;
  margin-right: 8px;
  float: left;
}

.news-list-view .page-navigation .f3-widget-paginator {
  padding: 0px;
  display: inline-block;
  list-style: none;
  list-style-image: none;
  float: right;
}

.news-list-view .page-navigation .pagination {
  padding-top: 1rem;
  display: block;
  text-align: right;
}

.news-list-view .page-navigation li {
  display: inline-block;
  padding-right: 8px;
  font-weight: bold;
}

.news-list-view .page-navigation li a {
  font-weight: normal;
}

/* ticker */

.news-list-view article.articlelayout-ticker header {
  margin: 0rem 0 0rem 0;
}

.news-list-view .articlelayout-ticker {
  width: 100%;
  margin-bottom: 0.5rem;
}

.news-list-view .articlelayout-ticker header .news-list-date {
  font-size: 0.75rem;
  margin-bottom: 0.25rem;
}

.news-list-view .articlelayout-ticker header h3 {
  font-size: 1rem;
  margin: 0;
  line-height: 1.5rem;
}

.news-list-view .articlelayout-ticker .teaser-text {
  font-size: 1rem;
  margin-top: 0.5rem;
}

/* single */

.news-single article .news-img-wrap {
  margin: inherit;
  width: inherit;
  float: inherit;
  padding: 0 0 4px 0;
}

.news-single article .news-header-image {
  display: block;
  float: left;
  /*padding: 4px;*/
  /*border: 1px solid #ddd;*/
  background: #fff;
}

.news-single header {
  margin: 1rem 0 0.5rem 0;
}

.news-single footer {
  border: 0;
}

.news-single .footer {
  margin-bottom: 1.5rem;
}

.news-single article .news-img-wrap img {
  width: 100%;
  height: auto;
}

.news-single article .teaser-text {
  color: #004694;
  font-family: 'MediumFont', sans-serif;
}

.news-single article .news-text-wrap {
  margin-bottom: 3rem;
}

.news-single article .news-backlink-wrap {
  margin-top: 2rem;
  margin-bottom: 3rem;
}

.news-single .shariff {
  margin-top: 2rem;
}

.news-single .news-list-tags {
  margin-top: 3rem;
}

.news-single .news-list-tags .tag-item {
  font-size: 0.85rem;
  display: inline-block;
  padding: 4px 8px;
  margin-right: 0.25rem;
  background-color: #004694;
  color: #fff;
  font-family: 'MediumFont';
}

.news-author {
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  /*border: 1px solid rgba(0, 70, 148, 0.03);*/
  background-color: rgba(0, 70, 148, 0.03);
}

.news-author figure {
  margin-bottom: 0;
  border-radius: 50% !important;
}

.news-author figure img {
  border: 1px solid rgba(0, 70, 148, 0);
  border-radius: 50% !important;
}

.news-author .contact-details {
  text-align: right;
  margin-bottom: 0;
}

.news-author .contact-details dd {
  display: inline-block;
  margin-left: 0.5rem;
  margin-bottom: 0.25rem;
  font-size: 1.5rem;
}

/* tags */
.news .news-tags {
  padding: 0px;
  margin: 0px;
  list-style: none;
  list-style-image: none;
}
.news .news-tags li {
  display: inline-block;
  margin: 0px 0.5rem 0 0;
  font-size: 0.75rem;
}

/****************************************
* NEWS AUTHOR
****************************************/

.newsauthor-detail #author-articles {
  margin-top: 2rem;
}

.newsauthor-detail .h1, .newsauthor-detail h1 {
  color: #004694;
  font-size: 2rem;
  font-family: 'MediumFont';
}

.newsauthor-detail .h2, .newsauthor-detail h2 {
  color: #004694;
  font-size: 2rem;
  font-family: 'MediumFont';
}

.newsauthor-detail .h3, .newsauthor-detail h3 {
  color: #004694;
  font-size: 1.5rem;
  font-family: 'MediumFont';
}

.newsauthor-detail article header {
  margin: 1rem 0 0.5rem 0;
}

.newsauthor-detail article header  h3 {
  margin: 0 0 0.5rem 0;
}

.newsauthor-detail article header .news-list-date {
  font-size: 0.75rem;
  color: #888;
}

.newsauthor-detail article header {
  margin: 1rem 0 0.5rem 0;
}

.newsauthor-detail article footer {
  margin: 0px;
  border: 0;
  padding: 0;
}

/****************************************
* CUSTOM ELEMENTS
****************************************/

/* Imagelink Hover */
.frame-type-pmuhelperext_imagelink_hover {
  display: inline-block;
}
.frame-type-pmuhelperext_imagelink_hover .ce-row .ce-column {
  display: none;
}
.frame-type-pmuhelperext_imagelink_hover .ce-row .ce-column:first-child {
  display: block;
}
.frame-type-pmuhelperext_imagelink_hover .ce-row:hover .ce-column {
  display: block;
}
.frame-type-pmuhelperext_imagelink_hover .ce-row:hover .ce-column:first-child {
  display: none;
}

/* Instagram Feed */
.frame-type-mwill_instagram_feed .container-fluid {
  background-color: #fff;
}
.frame-type-mwill_instagram_feed figure {
  margin-bottom: 0rem;
}
.frame-type-mwill_instagram_feed figcaption {
  margin-top: 4px;
  font-size: 66%;
}
.frame-type-mwill_instagram_feed figcaption i {
  margin-right: 4px;
}
.frame-type-mwill_instagram_feed .like-count {
  margin-right: 10px;
}
.frame-type-mwill_instagram_feed .created-time {
  display: block;
}
.frame-type-mwill_instagram_feed p {
  font-size: 75%;
}
.instagram-link {
    display: block;
    position: relative;
    color: #fff;
    cursor: pointer;
}
.instagram-link .video-icon {
    position: absolute;
    top: 0rem;
    right: .5rem;
    font-size: 0.75rem;
    text-shadow: 0.2rem 0.2rem 0.2rem rgba(0, 0, 0, 0.1);
}
