/* Overwrite Styles here */

article div.rte div.field span.name {
  font-weight: bold;
}

.footer .popup .cloud {
  display: inline-block;
  vertical-align: top;
  width: 105px;
  height: 30px;
  margin-right: 15px;
  margin-top: 0
}

main > article div.widget img {
  display: inline-block;
}

/* NOT OVERWRITES >> CMS backend (im frontend) */
/* VIEW */
article div.itempreview {
  padding: 10px;
  border: 2px solid #006cb7;
  margin: 0 0 20px 0;
}

/* WIDGETS */
div.widget {
}

div.widget h4 {
  font-weight: bold;
}

div.widget.cms_editor h4.title {
  font-size: 14px;
  margin: 10px 0;
}

/* WIDGET CMS */
div.widget div.content {
  margin: 0 0 10px 0;
  padding: 0 0 10px 0;
  border-bottom: 1px solid #ccc;
}

div.widget div.content h4 {
  margin: 3px 0;
}

div.widget div.content div.element {
  margin: 5px 0;
}

div.widget.cms_socialweb div.content a.share {
  display: block;
  margin: 5px 0;
}

div.cms_editor div.itemmeta div.row span.label {
  font-weight: bold;
  font-size: 10px;
  line-height: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ORGANISATION/PARNTER LOGO */
div.sb div.logo {
  margin: 20px 0;
  text-align: center;
}

div.sb div.logo img {
  max-height: 180px;
}

/* FOOTER */
footer a.flag:hover {
  border: 0;
}

#field_ua_partners.field {
  margin-top: 21px;
}

/* * * * */

/* loggedin links - footer */
ul li.admin a,
ul li.admin a:hover {
  color: #ffe700;
}

/* STARTPAGE COOParnters */
.js main > section.slide.cooperation {
  margin: 40px 0 0 0;
}

section.slide.cooperation h2 {
  padding: 0 9px;
  font-size: 14px;
  line-height: 19px
}

section.slide.cooperation h2:before {
  top: 9px;
  left: 20px;
  right: 20px;
}

.collaboration-partners {
  display: flex;
  flex-wrap: wrap;
  width: 1060px;
  max-width: 620px;
  margin: 30px auto;
  padding: 0 0;
}

.collaboration-partners div {
  margin: 10px auto;
  text-align: center;
}

.collaboration-partners img {
  height: 82px;
  padding: 10px;
}

article#coordinator {
  text-align: center;
}

article#coordinator img {
  display: block;
  margin-left: auto;
  margin-right: auto
}

#twitter-widget-0 {
  min-height: 326px !important;
}

.LI-profile-badge footer {
  background: #fff;
}

nav > div > div p {
  line-height: 9px;
}

nav > div > div {
  display: flex;
  justify-content: space-between;
  align-content: center;
  align-items: center;
}

nav > div > div a:hover {
  transform: unset;
}

#newsletter_anchor {
  color: #65a2c1;
  margin-right: .5em;
}

.social_icon {
  transform: scale(1.5);
  display: block;
}

nav > div > div .social_icon:hover {
  transform: scale(1.8);
}

#newsletter_anchor:hover {
  transform: scale(1.1);
}

/* partners section */
#strtbttm section:first-of-type div > div {
  margin-top: 1em;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: space-evenly;
  align-items: center;
}

#strtbttm section:first-of-type div > div a {
  display: inline-block;
  margin: 1.4em;
}

#strtbttm section:first-of-type div > div a figure {
  display: inline-block;
}

#strtbttm section:first-of-type div > div a figure img {
  width: 7em;
}

#strtbttm section:first-of-type div > div a figcaption {
  margin-top: .5em;
  font-size: .9em;
  line-height: .9em;
  color: #0081bb;
}

#twitter_as_news div > div:first-child {
  display: none;
}

#twitter-widget-0 {
  height: 2em;
}

#twitter_slide {
  display: none;
}

#twitter_slide .list {
  margin-top: 2em;
}

#twitter_slide > .list article {
  margin-bottom: 3em;
  width: 70%;
}

#share {
  transform: scale(1.2);
}

em {
  font-style: italic !important;
  font-weight: normal;
}

/* fix user name / password hint getting cut off on top */
footer {
 padding-top: 60px;
}

footer .popup-int {
  padding: 14px 16px 16px;
}

@media only screen and (max-width: 900px) {
  main {
    padding: 6em 0 2em;
  }

  #strtbttm section:first-of-type div > div {
    justify-content: center;
    align-content: space-evenly;
    align-items: center;
    margin: 1em 1em 0;
  }

  .collaboration-partners {
    margin: auto;
    flex-direction: column;
    max-width: 50%;
  }

  .collaboration-partners img {
    width: 100%;
    height: unset;
  }
}

@media only screen and (max-width: 639px) {
  .social_icon {
    transform: scale(1);
    display: block;
    padding-bottom: .1em;
  }

  nav > div > div .social_icon:hover {
    transform: unset;
  }

  #newsletter_anchor {
    display: inline-block;
    padding-bottom: .1em;
  }

  #newsletter_anchor:hover {
    transform: unset;
  }

  /* social media buttons sidebar */
  #share {
    display: none;
  }

  /* shift around Twitter feed on mobile */
  #twitter_as_news {
    display: none;
  }
  .js main > section.slide article#twitter_as_news + article {
    display: inline-block;
  }
  #twitter_slide {
    display: block;
  }
}
