@media print
{
    *
    {
        display: none !important;
    }
    .paintImage,
    .paintWrap canvas
    {
        display: block !important;
        background: none !important;
        border: none !important;
    }
}

.paintPrintShow
{
    display: inline-block;
    width: 100%;
}
.paintWrap .art-board
{
    position: relative;
    display: inline-block;
    float: left;
    max-width: 100%;
    width: 100%;
}
.paintWrap .palette-tools
{
    position: absolute;
    margin: 1em;
    z-index: 100;
    width: 4em;
}
.paintWrap .palette-tools img
{
    max-width: 100%;
}
.paintWrap .palette-full
{
    background: #ef8c14;
    display: block;
    overflow: hidden;
    padding: 1em;
    border-radius: 1em;
    border: solid 0.5em #fff;
    box-shadow: 0 0 2em rgba(0,0,0,0.2);
    position: absolute;
    margin: 1em;
    display: none;
}
.paintWrap .palette.is-active,
.paintWrap .medium-palette.is-active
{
    display: block;
}
.paintWrap .palette,
.paintWrap .medium-palette,
.paintWrap .eraser-wrapper
{
    list-style: none;
    padding: 1em;
    margin: 0 0.5em 0.5em 0;
    display: block;
    overflow: hidden;
    float: left;
}
.paintWrap .palette li
{
    float: left;
    list-style: none;
    margin: 0.15em;
    border: 0.2em solid #fff;
    border-radius: 100%;
}
.paintWrap .palette li a
{
    display: block;
    width: 2em;
    height: 2em;
    border-radius: 100%;
    background-color: #ccc;
    text-indent: -9999px;
    white-space: nowrap;
    background: -moz-linear-gradient(top, transparent 49%, rgba(0,0,0,0.05) 50%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(49%, transparent), color-stop(50%, rgba(0,0,0,0.05)));
    background: -webkit-linear-gradient(top, transparent 49%, rgba(0,0,0,0.05) 50%);
    background: -o-linear-gradient(top, transparent 49%, rgba(0,0,0,0.05) 50%);
    background: -ms-linear-gradient(top, transparent 49%, rgba(0,0,0,0.05) 50%);
    background: linear-gradient(to bottom, rgba(0,0,0,0) 49%,rgba(0,0,0,0.05) 50%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#0d000000',GradientType=0 );
}
.paintWrap .palette li:hover,
.paintWrap .medium-palette li:hover,
.paintWrap .palette li.is-active,
.paintWrap .medium-palette li.is-active
{
    -webkit-transform: scale(1.5);
    -moz-transform: scale(1.5);
    -o-transform: scale(1.5);
    transform: scale(1.5);
    -webkit-box-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    -moz-box-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    box-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}
.paintWrap .paintImage,
.paintWrap .paintCanvasOverlay
{
    position: absolute;
    left: 0;
    background-color: transparent;
    width: 100%;
}
.paintWrap .paintPrintBtn
{
    margin: 0 2px;
}

.paintCanvasPic {
    background-color: white;
}

a.btn.js-paintClearBtn.paintClearBtn {
    font-family: "Ubuntu" !important;
    display: flex;
    margin-left: auto;
    margin-right: auto;
    align-items: center;
    background-color: #BC3B4A;
    border-radius: 0.625rem;
    height: 55px;
    width: 200px;
    font-family: 'Ubuntu';
    text-align: center;
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 500;
    line-height: 130%; /* 1.625rem */
    letter-spacing: 0.25rem;
    text-transform: uppercase;
    color: white;
    border: none;
    letter-spacing: 0.2rem;
    cursor: pointer !important;
    position: relative;
    justify-content: center;
    text-decoration: none;
}

a.btn.js-paintClearBtn.paintClearBtn:hover {
    background-color: #d54253;
}

div.wp-block-acf-illustration-game {
    display: flex;
    flex: 1 100%;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

div.wp-block-acf-illustration-game__nav {
    background-color: #005777;
    width: 100%;
    display: flex;
    justify-content: space-between;
    box-shadow: 0px 0px 35px 0px #00000073;

    > p {
        display: flex;
        width: 100%;
        font-size: 20px;
        color: white;
        line-height: 26px;
        letter-spacing: 2px;
        align-items: center;
        text-transform: uppercase;
    }
    >:nth-child(1) {
        padding: 2rem;
        text-wrap: nowrap;
        ::before {
            content: "‹";
        }
    }
    >:nth-child(2) {
        justify-content: center;
    }
}

div.wp-block-acf-illustration-game__popup {
    position: fixed;
    bottom: 0%;
    right: 0%;
    font-size: 8rem;
    animation: bounce 2s infinite;
    color: white;
    cursor: pointer;
}

@keyframes bounce {
    0% {
        transform: translateY(0%);
    }

    25% {
        transform: translateY(5%);
    }

    50% {
        transform: translateY(0%);
    }

    100% {
        transform: translateY(10%);
    }
}

@media only screen and (max-width: 767px) {
    div.wp-block-acf-illustration-game {
        flex-direction: column;
    }

    div.palette-full.js-paintPaletteFull {
        position: relative;
    }
}

/* @media only screen and (min-width: 768px) {
    div.art-board.js-paintArtBoard.paintPrintShow {
        transform: scale(1.5);
        margin-top: 10rem;
        margin-bottom: 10rem;
    }
} */

.heading-paint {
    font-family: "Ubuntu" !important;
    /* font-size: 22px; */
    font-size: 1em;
    text-align: center;
    margin: 0 auto;
    color: white;
}

p.paintPrintShow {
    margin: 0 auto;
    max-width: 800px;
    padding: 1rem;
}