/* Fixes on top of the original osap theme CSS (themes/osap/css/style.css stays untouched).
   Each rule fixes a bug that also exists on the live Drupal site. */

/* Mobile: the theme removes size limits on the footer partner badges (max-width: none),
   so large badge files (e.g. the 2460px Splunk badge) overflow the screen. */
#block-footerblock .content .main-container.certificates .cert-item .image-holder img {
  max-width: 100%;
  height: auto;
}

/* Article bodies: never let an inline image or embed be wider than the text column. */
.ckeditor img { max-width: 100%; height: auto; }
.ckeditor iframe { max-width: 100%; }

/* Footer "ISL podpora" link: white like on the live site (there it isn't styled by the theme CSS,
   so without this rule it falls back to the browser's default blue + underline). */
.site-footer .background .right .column > div > a { color: #fff; text-decoration: none; }
.site-footer .background .right .column > div > a:hover { color: #79a838; }
