/* Styles for the package show on framed pages */
.itb-framed-page #content {
    position: relative;
}

.itb-framed-page .itblm-callout {
    position: absolute;
    top: -10px;
    right: -10px;
    transition: all 0.5s ease;
    transform: rotate(-35deg);
}

.itb-framed-page .itblm-callout:hover {
    transform: rotate(-40deg) scale(1.1);
}

.itb-framed-page .itblm-callout,
.itb-framed-page .itblm-callout:before,
.itb-framed-page .itblm-callout:after,
.itb-framed-page .itblm-callout > div,
.itb-framed-page .itblm-callout > div:before,
.itb-framed-page .itblm-callout > div:after {
    height: 8.5em;
    width: 8.5em;
    background: #fb5c60;
    text-shadow: 0 .05em .05em rgba(0,0,0,.5);
    background-size: 8.5em;
}

.itb-framed-page .itblm-callout:before,
.itb-framed-page .itblm-callout:after,
.itb-framed-page .itblm-callout > div:before,
.itb-framed-page .itblm-callout > div:after {
    content: "";
    position: absolute;
}

.itb-framed-page .itblm-callout:before {
    top: 0;
    left: 0;
    transform: rotate(-30deg);
}

.itb-framed-page .itblm-callout:after {
    top: 0;
    left: 0;
    transform: rotate(-15deg);
}

.itb-framed-page .itblm-callout > div {
    height: 8.5em;
    position: absolute;
    bottom: 0;
    right: 0;
    transform: rotate(45deg);
    z-index: 1; /* important so the text shows up */
}

.itb-framed-page .itblm-callout > div:before {
    top: 0;
    left: 0;
    transform: rotate(60deg);
}

.itb-framed-page .itblm-callout > div:after {
    top: 0;
    left: 0;
    transform: rotate(75deg);
}

.itb-framed-page #content  .itblm-callout a {
    position: absolute;
    top: 5px;
    left: 5px;
    bottom: 5px;
    right: 5px;
    text-align: center;
    text-decoration: none;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.itb-framed-page .itblm-callout a span {
    color: #fff;
    display: block;
    text-transform: uppercase;
    font-weight: bold;
    text-shadow: 1px 1px #222;
    font-size: 110%;
}