
@font-face {
    font-family: 'FiraSans';
    font-style: normal;
    font-weight: normal;
    src: url('../fonts/FiraSans-Regular.woff') format('woff');
    font-display: swap;
}
@font-face {
    font-family: 'FiraSans';
    font-style: italic;
    font-weight: 600;
    src: url('../fonts/FiraSans-Italic.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'FiraSans';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/FiraSans-Bold.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'FiraSans';
    font-style: italic;
    font-weight: 600;
    src: url('../fonts/FiraSans-BoldItalic.woff') format('woff');
    font-display: swap;
}


@font-face {
    font-family: 'FiraSans';
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/FiraSans-Black.woff') format('woff');
    font-display: swap;
}


.has-ribbon {
    position: relative;
}

.has-ribbon:after {
    content:"";
    position:absolute;
    bottom:-5px;
    width:30%;
    height:10px;
    background-color:#ffd60d;
    right:0;
    border-radius: 50px 0 0 50px;
    animation-name: slide-in;
    animation-duration: 0.5s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;    
}

.has-ribbon:before {
    content:"";
    position:absolute;
    bottom:-25px;
    width:50px;
    height:50px;
    background-color:#e10493;
    right:calc(30% + 15px);
    border-radius: 50px;
    opacity:0;
    animation-name: rotate3d;
    animation-duration: 1s;
    animation-delay: 0.5s;
    animation-iteration-count: 1;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;    
    animation-direction: normal;
}


.mod-banners.bannergroup {
    display: flex;
    justify-content: center;
    flex-wrap:wrap;
    gap:6px;
    padding:10px;
    width:auto;
}


.mod-banners.bannergroup .banneritem {
    flex: 1 0 130px;
    margin:0 auto;
    text-align:center;
}


.uk-modal-full {
    width: 90%;
    margin: 5% auto;
    border-radius:20px;
}

html.uk-modal-page:before {
    content:"";
    background:rgba(0,0,0,0.7);
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    top:0;
    z-index:6;
}
#search-tm-5-modal.uk-open .uk-modal-dialog {
    background-image:url('../images/kid-question.png');
    background-position: bottom center;
    background-repeat:no-repeat;
    background-size: 280px;
}


@keyframes slide-in {
    0% {
      right: -30%;
    }
    70% {
        bottom:-5px;
        height:10px;
    }

    100% {
      right: 0;
      bottom:-25px;
      height:50px;
    }
  }


@keyframes rotate3d {
    0% {
        opacity:0;
      transform: rotate3d(0, 0, 0, 0);
    }
    100% {
        opacity:1;
      transform: rotate3d(1, 1, 0, 180deg);
    }
  }


