















 
 


















































































































@media screen and (max-width: 762px) {
    .desktop-content:not(.error-IHP) {
        display: none !important;
    }
    body>div>div.lpl-15>div.x>div.hfl-s {
        padding: 0px !important;
    }
    .bs {
        background: #0F173B !important;
    }
    #search-composite {
        padding: 5px 15px;
        margin: 0 -10px;
    }
    #header-hero {
        position: fixed;
        width: 100%;
    }
}

@media screen and (min-width: 763px) {
    .mobile-content {
        display: none !important;
    }
}

.ampImg__Wrapper {
    object-fit: contain;
}

#tile-container{
    margin-top: 51px;
    min-height: 100vh;
    background-color: white
}

#tile-container #loader {
    top: 30vh;
    position: relative;
}

#items {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

/* Font style */

.bold-font {
    font-weight: bold;
}

/* Style for top section (image, content, etc...) */

.top-section {
    height: 375px;
}

.image-section {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom-color: #E5E4E9;
    border-bottom-width: 1px;
    border-bottom-style: solid;
}

.image-section #ws_tile {
    height: 100%;
}

.background-tile {
    height:100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
    overflow: hidden;
    position: absolute;
    mix-blend-mode: multiply;
}

.overlay-tint {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
}

.tile.wordlistaudioquiz .overlay-tint {
    background-color: #0580E8;
}

.tile.pronunciationentry .overlay-tint {
    background-color: #FF8029;
}

.tile.wordlistmcq .overlay-tint {
    background-color: #5D2FC1;
}

.tile.monoengentry .overlay-tint {
    background-color: #DFB000;
}

.tile.bilingualentry .overlay-tint {
    background-color: #3FBF48;
}

/* Style for content in top section */

.tile-content {
    z-index: 1;
    width: 80%;
    text-align: center;
    gap: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tile-content>span {
    line-height: 1.5em;
}

.tile-content>span, .tile-content .word-details, .tile-content .audio-section {
    padding: 4px 5px;
}

.tile-content>span, .tile-content .word-details {
    width: fit-content;
}

.tile.imagequiz .tile-content span {
    color: #1D2956;
    background-color: #5CE8FF;
}

.tile.wordlistmcq .tile-content span {
    color: #FBFBFB;
    background-color: #5D2FC1;
}

.tile.wordlistaudioquiz .tile-content span {
    color: #FBFBFB;
    background-color: #0580E8;
}

.tile.pronunciationentry .tile-content span, .tile-content .audio-section {
    color: #292929;
    background-color: #FF8029;
}

.audio-section .region {
    font-size: clamp(12px, 5vw, 15px);
}

.tile.pronunciationentry .headword {
    font-size: clamp(18px, 5vw, 32px);
}

.tile.pronunciationentry .pos {
    font-size: clamp(14px, 5vw, 18px);
}

.tile.monoengentry .pos, .tile.bilingualentry .pos,
.audio-section .ipa {
    font-size: clamp(14px, 5vw, 16px);
}

.horizontal-box,
.tile-content .headword,
.tile.bilingualentry .translation {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tile-content .horizontal-box span {
    padding: 0;
}

.tile.monoengentry .tile-content span, .tile.bilingualentry .tile-content span, .tile-content .word-details {
    color:#1D2956;
    background-color: #FFFFFF;
}

.word-details {
    flex-wrap: wrap;
}

.tile.monoengentry .headword, .tile.bilingualentry .headword {
    font-size: clamp(18px, 5vw, 24px);
}

.tile.monoengentry .gram, .tile.bilingualentry .gram {
    font-size: clamp(12px, 5vw, 14px);
}

.tile.bilingualentry .tile-content .translation {
    color: #3FBF48;
    line-height: normal;
    font-size: clamp(18px, 5vw, 24px);
    -webkit-line-clamp: 3 !important;
}

.audio-button {
    width: 25px;
    height: 25px;
    border: none;
    display: inline-block;
    vertical-align: middle;
    background: url(/external/images/new-home/audio.svg?version=6.0.59) 0 0 no-repeat;
    background-size: contain;
    background-position: center;
}

/* Style for definition section in split tiles (definition, level) */

.definition-section {
    position: absolute;
    padding: 10px 72px 10px 10px;
}

.tile-description {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-direction: column;
    gap: 4px;
}

.tile-description span{
    line-height: 20px;
}

.CEFR-level {
    color: #FFFFFF;
    background-color: #1D2956;
    padding: 1px 8px;
    border-radius: 20px;
}

/* Style for interactives button (share, wordlist) */

.tile-buttons {
    display: flex;
    flex-direction: column;
    justify-content: end;
    height: 29%;
    position: absolute;
    gap: 15px;
    bottom: 8px;
    right: 16px;
}

.tile-buttons .tool-button{
    height: 40px;
    width: 40px;
    border-radius: 50%;
    border: none;
    background-color: #323232;
}

.share-button {
    background: url(/external/images//new-home/share.svg?version=6.0.59) 0 0 no-repeat;
    background-position: center;
    background-size: contain;
}

.wordlist-button {
    background: url(/external/images//new-home/add.svg?version=6.0.59) 0 0 no-repeat;
    background-position: center;
    background-size: 75%;
}

.wordlist-button > a > i{
    content: "";
    width: 100%;
    height: 100%;
}

/* Style for share menu */

.share-menu {
    opacity: 0;
    color: #323232;
    position: absolute;
    bottom: 0;
    right: 53px;
    width: 96px;
    height: 40px;
    background-color: #ffffff;
    box-shadow: 7px 4pt 6pt 2px #00000029;
    border-radius: 5px;
    z-index: 1;
    padding: 5px;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    visibility: hidden;
    display: flex;
    transition: all 0.5s ease;
}

.share-menu::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -7px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 0 8px 8px;
    border-color: transparent transparent transparent #ffffff;
}

.share-item {
    text-decoration: none;
    border: none;
    background: transparent;
    display: block;
    width: 45%;
    text-align: center;
}

.share-menu.active {
    visibility: visible;
    opacity: 1;
    right: 60px;
    display: flex;
}

/* Style for type tile (one piece, split) */

.split-tile .image-section {
    height: 71%;
}

.one-piece-tile .image-section {
    height: 100%;
}

.one-piece-tile .tile-buttons {
    justify-content: end;
}

.one-piece-tile .definition-section, .one-piece-tile .wordlist-button {
    display: none;
}

/* Styles for bottom section (tile's icon, descriptive text) */

.bottom-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: white;
    height: 76px;
    padding: 11px 11px 27px 11px;
}

.tile.imagequiz .tile-icon {
    background-image: url(/external/images//new-home/image-quiz_icon.svg?version=6.0.59);
    background-color: #5CE8FF;
}

.tile.wordlistmcq .tile-icon {
    background-image: url(/external/images//new-home/multiple-choice-quiz_icon.svg?version=6.0.59);
    background-color: #5D2FC1;
    background-size: 65%;
}

.tile.wordlistaudioquiz .tile-icon {
    background-image: url(/external/images//new-home/audio-quiz_icon.svg?version=6.0.59);
    background-color: #0580E8;
    background-position-y: 30%;
}

.tile.pronunciationentry .tile-icon {
    background-image: url(/external/images//new-home/audio.svg?version=6.0.59);
    background-color: #FF8029;
}

.tile.monoengentry .tile-icon {
    background-image: url(/external/images//new-home/book.svg?version=6.0.59);
    background-color: #DFB000;
}

.tile.bilingualentry .tile-icon {
    background-image: url(/external/images//new-home/translate.svg?version=6.0.59);
    background-color: #3FBF48;
}

.tile.wordscramble .tile-icon {
    background-image: url(/external/images//new-home/word-scramble.svg?version=6.0.59);
    background-color: #FFC400;
    background-size: 70%;
}

.tile-icon {
    width: 40px;
    height: 40px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.20);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 75%;
}

.descriptive-text {
    height: 40px;
    width: calc(100% - 60px);
    line-height: 20px;
    align-items: center;
    display: flex;
}

#closeMyModal > i{
    color: #aaa;
    position: fixed;
    right: 10px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
}

#closeMyModal:hover > i{
    color: #000;
}
