@import url('https://use.typekit.net/jgo1fcr.css');
@import url('https://fonts.googleapis.com/css?family=Itim');
  
@font-face {
    font-family: 'Victory Speech';
    src: url('../../../fonts/ccvictoryspeechlower-regular-webfont.woff2') format('woff2'),
        url('../../../fonts/ccvictoryspeechlower-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

html, body {
     /* height: 100%;  */
    touch-action: manipulation;
}

.navbar {
    margin-bottom: 0;
    display: flex;
    flex-wrap: wrap;
    position: relative;
}

.navbar-row {
    flex: 1 0 100%;
    display: flex;
    justify-content: space-between;
}

.navbar-row--secondary ul {
    display: flex;
    flex-wrap: wrap;
}

@media screen and (min-width: 600px) {
    .navbar-row--secondary ul {
        align-items: center;
    }
}

.navbar-row--secondary ul li {
    white-space: nowrap;
}

.navbar-row--secondary ul li .navbar-text {
    display: flex;
    align-items: center;
}

@media screen and (max-width: 600px) {
    .navbar-row--secondary ul {
        display: flex;
        flex-wrap: wrap;
        align-items: none;
    }
    
    .navbar-row--secondary ul li {
        float: none !important;
        font-size: .9em;
        flex: 1 1 auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .navbar-row--secondary ul li {
        border-right: 1px solid #e7e7e7;
        border-bottom: 1px solid #e7e7e7;
    }
}

.navbar-row:not(:last-child) {
    border-bottom: solid 1px #e7e7e7;
}

.navbar .dropdown ul li {
    font-size: 13px;
}

.navbar .glyphicon:before {
    font-size: 1.3em;
}

.navbar .glyphicon:empty {
    width: auto;
}

.navbar .caret {
    margin-left: 5px !important;
    border-top-color: #000 !important;
    border-bottom-color: #000 !important;
}

.navbar .menu-button {
    border: none;
    background-color: #3c8dbb;
    color: #ffffff;
    line-height: 1;
    padding: 10px;
    margin-top: 6px;
    margin-right: 5px;
    border-radius: 3px;
}

.navbar .menu-button--text {
    background-color: transparent;
    border: none;
}

.navbar .menu-button--text p {
    display: flex;
    align-items: center;
    text-align: left;
}

.navbar .menu-button--text[disabled="disabled"] {
    cursor: not-allowed;
}

.navbar .menu-button--text[disabled="disabled"] p, .navbar .menu-button--text.disable p {
    opacity: 0.3;
}

.navbar .menu-button--text .glyphicon {
    margin-right: 5px;
}

.navbar .menu-button:hover {
    background-color: #4ba1d3;
}

.navbar .menu-button.hintmodal.disable {
    cursor: not-allowed;
    opacity: 0.3;
}

.navbar-nav.navbar-right:last-child {
    margin-right: 0 !important;
}

@media (max-width: 768px) {
    .nav {
        margin-top: 0;
        margin-bottom: 0;
    }

    .navbar-collapse.collapse {
        display: block!important;
    }
    
    .navbar-nav>li, .navbar-nav {
        float: left !important;
    }
    
    .navbar-nav.navbar-left:first-child {
        margin-left: 10px !important;
    }
    
    .navbar-nav.navbar-right:last-child {
        margin-right: 0 !important;
    }
    
    .navbar-right {
        float: right!important;
    }
    
    .navbar-text {
        margin-left: 10px;
        margin-right: 10px;
    }

    .navbar .menu-button span {
        display: none;
    }

    .navbar-nav > li > a {
        padding-left: 5px;
        padding-right: 5px;
    }

    .navbar-nav.navbar-right .dropdown-menu {
        position: absolute !important;
        background-color: #fff !important;
        z-index: 1000 !important;
        float: left !important;
        min-width: 160px !important;
        margin: 2px 0 0 !important;
        right: 0 !important;
        left: auto !important;
        box-shadow: 0 6px 12px rgba(0,0,0,0.175) !important;
    }

    .navbar-nav.navbar-left .dropdown-menu {
        position: absolute !important;
        background-color: #fff !important;
        z-index: 1000 !important;
        float: left !important;
        min-width: 160px !important;
        margin: 2px 0 0 !important;
        left: 0 !important;
        left: auto !important;
        box-shadow: 0 6px 12px rgba(0,0,0,0.175) !important;
    }

    .navbar .menu-button {
        border: none;
        background-color: #3c8dbb;
        color: #ffffff;
        line-height: 1;
        padding: 8px 5px;
        margin-top: 7px;
    }
}

.navbar-nav .menu-button.finish.highlight {
    animation: menu-color-pulse 2s infinite;
}

.xmlArticleContainer {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.puzzle-page-wrapper {
    margin: 0 25px 25px;
    position: relative;
    overflow: auto;
    padding-bottom: 20px;
}

.puzzleClueWrapper {
    display: flex;
}

.puzzlewrapper {
    flex: none;
    transform-origin: top left;
    position: relative;
}

/* .puzzlewrapper.overflow--right:after {
    content: '';
    display: block;
    box-shadow: inset -30px 0px 10px -20px #fff;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    height: 100%;
    width: 30px;
    z-index: 200;
}

.puzzlewrapper.overflow--left:before {
    content: '';
    display: block;
    box-shadow: inset 30px 0px 10px -20px #fff;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    height: 100%;
    width: 30px;
    z-index: 200;
} */

.sudoku .puzzlewrapper,
.didoku .puzzlewrapper,
.tetradoku .puzzlewrapper,
.pentadoku .puzzlewrapper,
.heptadoku .puzzlewrapper,
.wordoku .puzzlewrapper,
.kdoku .puzzlewrapper,
.kakuro .puzzlewrapper {
    flex: 1;
}

.codebreaker .puzzlewrapper {
    flex: 1;
    overflow: auto;
}

.xmlCluesCol {
    position: relative;
    flex: 1;
    min-width: 150px;
    max-width: 250px;
}

.xmlClues {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    margin-left: 20px;
}

.xmlCluesCol h4 {
    font-weight: bold;
}

.xmlClues.compact {
    flex-direction: column;
}

.xmlClues.compact .xmlCluesCol {
    height: 50%;
    overflow-y: auto;
    padding: 0 !important;
}

.xmlClues.compact .xmlCluesCol h4 {
    padding: 10px !important;
    box-shadow: inset 0 10px 10px -10px rgba(0,0,0,.2);
    position: sticky;
}

.xmlArticleContainer .xmlClues .xmlAcross,
.xmlArticleContainer .xmlClues .xmlDown {
    padding: 10px;
    /* min-width: 250px; */
}


.xmlArticleContainer .xmlClues .clue {
    padding: 1px 3px;
    display: flex;
}

.xmlArticleContainer .xmlClues .clue .clue__number {
    flex-basis: 22px;
    text-align: right;
    margin-right: 5px;
}

.xmlArticleContainer {
    font-family: "HelveticaNeue","Helvetica Neue Light","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;
    background-color: #FFFFFF;
    transition: opacity 500ms ease;
}

.xmlArticleContainer .xmlPuzzle, .xmlArticleContainer .xmlPuzzleSolution {
    font-family: Courier,serif;
    transition: opacity 500ms ease;
    position: relative;
}

.xmlArticleContainer .xmlPuzzle.init {
    opacity: 0;
}

.puzzle-row {
    display: flex;
}

@media screen and (max-width: 800px) {
    .skeletonCoords {
        display: none
    }
}

.skeletonCoords--across .skeletonElement {
    float: left;
}

.skeletonElement {
    border: 0 !important;
}

.puzzle-row:first-child .cell {
    border-top: 1px solid rgba(0,0,0,0.4);
}

.puzzle-row .cell:first-child {
    border-left: 1px solid rgba(0,0,0,0.4);
}

.xmlArticleContainer .cell, .xmlArticleContainer .skeletonElement {
    min-width: 20px;
    flex: 1;
    text-align: center;
    position: relative;
    border-bottom: 1px solid rgba(0,0,0,0.4);
    border-right: 1px solid rgba(0,0,0,0.4);
    font-kerning: normal;
    aspect-ratio: 1;
}

.xmlArticleContainer .cell.enabled {
    cursor: pointer !important;
}

.xmlArticleContainer .cell.disabled {
    cursor: initial;
}

.xmlArticleContainer .cell.blockCell.no-borders {
    border-top-color: transparent !important;
    border-left-color: transparent !important;
}

.xmlArticleContainer .cell.blockCell.no-right-border {
    border-right-color: transparent !important;
}

.xmlArticleContainer .cell.blockCell.no-bottom-border {
    border-bottom-color: transparent !important;
}

.xmlArticleContainer .cell .copyrightCell {
    pointer-events: none;
    color: #000;
    position: absolute;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transform: rotate(-90deg);
    line-height: 1;
    white-space: nowrap;
    padding: 2% 5%;
}

.xmlArticleContainer .cell.empty-cell {
    border-color: #ffffff !important;
    /* background-color: transparent; */
    /* border-left: none !important;
    border-top: none !important;
    border-right: none !important;
    border-bottom: none !important; */
}

.xmlArticleContainer .cell .copyrightCell.copyrightCell--position-top {
    justify-content: flex-end;
}

.xmlArticleContainer .directionArrow {
    pointer-events: none;
}

/* Make grid for sudoku */
.xmlArticleContainer.sudoku .cell,
.xmlArticleContainer.didoku .cell,
.xmlArticleContainer.tetradoku .cell,
.xmlArticleContainer.pentadoku .cell,
.xmlArticleContainer.heptadoku .cell,
.xmlArticleContainer.kakuro .cell,
.xmlArticleContainer.wordoku .cell {
    border-bottom: 2px solid rgba(0,0,0,0.8);
    border-right: 2px solid rgba(0,0,0,0.8);
}

.xmlArticleContainer.sudoku .cell[data-x="3"],
.xmlArticleContainer.didoku .cell[data-x="3"],
.xmlArticleContainer.sudoku .cell[data-x="6"],
.xmlArticleContainer.didoku .cell[data-x="6"],
.xmlArticleContainer.tetradoku .cell[data-x="3"],
.xmlArticleContainer.tetradoku .cell[data-x="6"],
.xmlArticleContainer.tetradoku .cell[data-x="9"],
.xmlArticleContainer.tetradoku .cell[data-x="12"],
.xmlArticleContainer.tetradoku .cell[data-x="15"],
.xmlArticleContainer.tetradoku .cell[data-x="18"],
.xmlArticleContainer.pentadoku .cell[data-x="3"],
.xmlArticleContainer.pentadoku .cell[data-x="6"],
.xmlArticleContainer.pentadoku .cell[data-x="9"],
.xmlArticleContainer.pentadoku .cell[data-x="12"],
.xmlArticleContainer.pentadoku .cell[data-x="15"],
.xmlArticleContainer.pentadoku .cell[data-x="18"],
.xmlArticleContainer.heptadoku .cell[data-x="3"],
.xmlArticleContainer.heptadoku .cell[data-x="6"],
.xmlArticleContainer.heptadoku .cell[data-x="9"],
.xmlArticleContainer.heptadoku .cell[data-x="12"],
.xmlArticleContainer.heptadoku .cell[data-x="15"],
.xmlArticleContainer.heptadoku .cell[data-x="18"],
.xmlArticleContainer.heptadoku .cell[data-x="21"],
.xmlArticleContainer.heptadoku .cell[data-x="24"],
.xmlArticleContainer.heptadoku .cell[data-x="27"],
.xmlArticleContainer.heptadoku .cell[data-x="30"],
.xmlArticleContainer.wordoku .cell[data-x="3"],
.xmlArticleContainer.wordoku .cell[data-x="6"] {
    border-right: 4px solid rgba(0,0,0,1);
}

.xmlArticleContainer .cell.last-cell-x {
    border-right: 4px solid rgba(0,0,0,1) !important;
}

.xmlArticleContainer .cell.last-cell-y {
    border-bottom: 4px solid rgba(0,0,0,1) !important;
}

.xmlArticleContainer.sudoku .cell[data-y="3"],
.xmlArticleContainer.sudoku .cell[data-y="6"],
.xmlArticleContainer.didoku .cell[data-y="3"],
.xmlArticleContainer.didoku .cell[data-y="6"],
.xmlArticleContainer.didoku .cell[data-y="9"],
.xmlArticleContainer.didoku .cell[data-y="12"],
.xmlArticleContainer.tetradoku .cell[data-y="3"],
.xmlArticleContainer.tetradoku .cell[data-y="6"],
.xmlArticleContainer.tetradoku .cell[data-y="9"],
.xmlArticleContainer.tetradoku .cell[data-y="12"],
.xmlArticleContainer.tetradoku .cell[data-y="15"],
.xmlArticleContainer.tetradoku .cell[data-y="18"],
.xmlArticleContainer.pentadoku .cell[data-y="3"],
.xmlArticleContainer.pentadoku .cell[data-y="6"],
.xmlArticleContainer.pentadoku .cell[data-y="9"],
.xmlArticleContainer.pentadoku .cell[data-y="12"],
.xmlArticleContainer.pentadoku .cell[data-y="15"],
.xmlArticleContainer.pentadoku .cell[data-y="18"],
.xmlArticleContainer.heptadoku .cell[data-y="3"],
.xmlArticleContainer.heptadoku .cell[data-y="6"],
.xmlArticleContainer.heptadoku .cell[data-y="9"],
.xmlArticleContainer.heptadoku .cell[data-y="12"],
.xmlArticleContainer.heptadoku .cell[data-y="15"],
.xmlArticleContainer.heptadoku .cell[data-y="18"],
.xmlArticleContainer.wordoku .cell[data-y="3"],
.xmlArticleContainer.wordoku .cell[data-y="6"] {
    border-bottom: 4px solid rgba(0,0,0,1);
}

.xmlArticleContainer.sudoku .cell[data-x="1"],
.xmlArticleContainer.didoku .cell[data-x="1"],
.xmlArticleContainer.tetradoku .cell[data-x="1"],
.xmlArticleContainer.pentadoku .cell[data-x="1"],
.xmlArticleContainer.heptadoku .cell[data-x="1"],
.xmlArticleContainer.wordoku .cell[data-x="1"] {
    border-left: 4px solid rgba(0,0,0,1);
}

.xmlArticleContainer.sudoku .cell[data-x="9"],
.xmlArticleContainer.didoku .cell[data-x="9"],
.xmlArticleContainer.tetradoku .cell[data-x="21"],
.xmlArticleContainer.pentadoku .cell[data-x="21"],
.xmlArticleContainer.heptadoku .cell[data-x="33"],
.xmlArticleContainer.wordoku .cell[data-x="9"],
.xmlArticleContainer .cell.last-cell-x {
    border-right: 4px solid rgba(0,0,0,1);
}

.xmlArticleContainer.sudoku .cell[data-y="1"],
.xmlArticleContainer.didoku .cell[data-y="1"],
.xmlArticleContainer.tetradoku .cell[data-y="1"],
.xmlArticleContainer.pentadoku .cell[data-y="1"],
.xmlArticleContainer.heptadoku .cell[data-y="1"],
.xmlArticleContainer.wordoku .cell[data-y="1"] {
    border-top: 4px solid rgba(0,0,0,1);
}

.xmlArticleContainer.sudoku .cell[data-y="9"],
.xmlArticleContainer.didoku .cell[data-y="15"],
.xmlArticleContainer.tetradoku .cell[data-y="21"],
.xmlArticleContainer.pentadoku .cell[data-y="21"],
.xmlArticleContainer.heptadoku .cell[data-y="21"],
.xmlArticleContainer.wordoku .cell[data-y="9"] {
    border-bottom: 4px solid rgba(0,0,0,1);
}

.xmlArticleContainer .cell:after {
    content: '';
    display: block;
    width: 100%;
    padding-bottom: 100%;
}

.xmlArticleContainer .cell .letter, .skeletonElement .skeletonLetter {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 50px;
    text-align: center;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none;   /* Chrome/Safari/Opera */
    -khtml-user-select: none;    /* Konqueror */
    -moz-user-select: none;      /* Firefox */
    -ms-user-select: none;       /* Internet Explorer/Edge */
    user-select: none; 
}

.xmlArticleContainer .cell .number {
    position: absolute;
    line-height: 1;
    display: block;
    left: 5%;
    top: 5%;
}

.xmlArticleContainer .cell .number.number--bottom-right {
    left: auto;
    top: auto;
    bottom: 5%;
    right: 5%;
}

.xmlArticleContainer.sudoku .cell .number,
.xmlArticleContainer.didoku .cell .number,
.xmlArticleContainer.tetradoku .cell .number,
.xmlArticleContainer.pentadoku .cell .number,
.xmlArticleContainer.heptadoku .cell .number,
.xmlArticleContainer.kdoku .cell .number,
.xmlArticleContainer.kakuro .cell .number,
.xmlArticleContainer.wordoku .cell .number,
.xmlArticleContainer.bainari .cell .number {
    left: 50%;
    top: 50%;
    line-height: inherit;
    text-align: center;
    transform: translate(-50%, -50%);
}

.xmlArticleContainer .skeleton-input-mode-switch {
    width: 40px;
    height: 40px;
}

.xmlArticleContainer.skeleton_crossword .clueTop {
    padding: 13px;
}

.xmlArticleContainer .clueTop {
    font-size: 18px;
    padding: 5px;
}


.xmlArticleContainer .xmlClues h4 {
    text-transform: uppercase;
    border-bottom: 1px solid #e8e7e3;
    margin: 0 0 3px;
    padding: 0;
    top: 0;
    background-color: #fff;
}

.xmlArticleContainer .xmlClues .clue {
    border-left: solid 2px transparent;
} 

.xmlArticleContainer .xmlClues .activeClue {
    background-color: #f7bb66;
}

.xmlArticleContainer .xmlClues .activeSecondaryClue {
    border-left-color: #3c8dbc;
}

.xmlArticleContainer .xmlClues .clueFinished {
    color: #c3c3c3;
}

.xmlArticleContainer .xmlClues .activeClue.clueFinished {
    color: #000000;
}

.xmlArticleContainer .enabled, 
.xmlArticleContainer.sudoku .disabled,
.xmlArticleContainer.didoku .disabled,
.xmlArticleContainer.tetradoku .disabled,
.xmlArticleContainer.pentadoku .disabled,
.xmlArticleContainer.heptadoku .disabled,
.xmlArticleContainer.kdoku .disabled,
.xmlArticleContainer.kakuro .disabled,
.xmlArticleContainer.wordoku .disabled,
.xmlArticleContainer.bainari .disabled {
    background-color: #FFFFFF;
}

.xmlArticleContainer .disabled {
    background-color: #888888
}

.xmlArticleContainer .disabled.imageCell {
    background-color: #AA2020;
}

.xmlArticleContainer .disabled.textBlockCell {
    background-color: #20AA20;
}

.xmlArticleContainer.skeleton_crossword .blockCell.active {
    opacity: 0.5
}

.xmlArticleContainer .highlighted {
    /* background-color: #3c8dbc; */
    color: #000;
}

/* 
.xmlArticleContainer .answerCell.highlighted {
    color: #000;
} */

.xmlArticleContainer.sudoku .highlighted,
.xmlArticleContainer.didoku .highlighted,
.xmlArticleContainer.tetradoku .highlighted,
.xmlArticleContainer.pentadoku .highlighted,
.xmlArticleContainer.heptadoku .highlighted,
.xmlArticleContainer.kdoku .highlighted,
.xmlArticleContainer.kakuro .highlighted,
.xmlArticleContainer.wordoku .highlighted {
    color: #222222;
}

/* .xmlArticleContainer.sudoku .cell.position--block-highlight:not(.active),
.xmlArticleContainer.kdoku .cell.position--block-highlight:not(.active),
.xmlArticleContainer.kakuro .cell.position--block-highlight:not(.active),
.xmlArticleContainer.wordoku .cell.position--block-highlight:not(.active) {
    background-color: #e6e3df;
}

.xmlArticleContainer.sudoku .cell.position--row-highlight:not(.active),
.xmlArticleContainer.kdoku .cell.position--row-highlight:not(.active),
.xmlArticleContainer.kakuro .cell.position--row-highlight:not(.active),
.xmlArticleContainer.wordoku .cell.position--row-highlight:not(.active) {
    background-color: #e6e3df;
}

.xmlArticleContainer.sudoku .cell.position--column-highlight:not(.active),
.xmlArticleContainer.kdoku .cell.position--column-highlight:not(.active),
.xmlArticleContainer.kakuro .cell.position--column-highlight:not(.active),
.xmlArticleContainer.wordoku .cell.position--column-highlight:not(.active) {
    background-color: #e6e3df;
} */

/* .xmlArticleContainer.sudoku .cell.position--block-highlight:not(.active), 
.xmlArticleContainer.sudoku .cell.position--row-highlight:not(.active), 
.xmlArticleContainer.sudoku .cell.position--column-highlight:not(.active),
.xmlArticleContainer.wordoku .cell.position--block-highlight:not(.active),
.xmlArticleContainer.wordoku .cell.position--row-highlight:not(.active),
.xmlArticleContainer.wordoku .cell.position--column-highlight:not(.active)
 {
    background-color: #cccac6 !important;
} */

.xmlArticleContainer .active {
    background-color: #f7bb66;
    color: #000;
}

.xmlArticleContainer .cell .number,
.xmlArticleContainer .cell .numberCell {
    font-family: "HelveticaNeue","Helvetica Neue Light","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;
}

.xmlArticleContainer .letter.wrongLetter {
    color: #ff0000;
}

.xmlArticleContainer .wrapper .puzzle-page-wrapper .cell.blockCell.wrongBlock,
.xmlArticleContainer .wrapper .puzzle-page-wrapper .cell.blockCellGuess.wrongBlock,
.xmlArticleContainer .wrapper .puzzle-page-wrapper .cell.skeletonCell.wrongBlock {
    background-color: #ff0000 !important;
}

.xmlArticleContainer.finished .letter.hintedLetter {
    color: #a36205;
}

.xmlArticleContainer.finished .letter.wrongHintedLetter {
    color: #ff0000;
}

.xmlArticleContainer nav {
    background: #fcfcfc;
    border: 1px solid #e7e7e7;
    font-size: 16px;
}

@media screen and (max-width: 600px) {
    .xmlArticleContainer nav {
        border: none;
    }
}

.xmlArticleContainer nav p {
    padding: 0;
}

.xmlArticleContainer nav.navbar .navbar-text {
    color: #000;
    fill: #000;
    float: none;
}

.xmlArticleContainer nav.navbar button.sweepstakes-form,
.game-result__sweepstakes button.sweepstakes-cta-button
{
    display: inline-block;
    padding: 10px 40px !important;
    margin: 5px 15px;
    border-radius: 100px;
    border: none;
}

.xmlArticleContainer nav.navbar .navbar-text.score {
    color: rgb(102, 102, 102);
    display: inline-block;
}

@media screen and (max-width: 600px) {
    .xmlArticleContainer nav.navbar .navbar-text {
        line-height: 1;
        margin: 8px;
    }
}

.xmlArticleContainer nav.navbar a {
    color: #3c8dbc;
}

.navbar-text.navbar-text--note {
    font-style: italic !important;
    color: #929292 !important;
    font-weight: 400;
}

.navbar-text[data-disabled="true"] {
    color: #929292 !important;
    font-weight: 400;
    cursor: not-allowed;
}

/* MODAL-boxes */
.xmlArticleContainer .modal .modal-header h4 {
    text-align: center;
    font-size: 18px;
    font-weight: normal;
}

.xmlArticleContainer .modal.articleError .modal-header .close {
    line-height: 18px;
    margin-top: -10px;
}

.xmlArticleContainer .modal .modal-header {
    color: #fff;
}


/* Modal error */
.xmlArticleContainer .modal.articleError .modal-header {
    background-color: #e96656;
}

.xmlArticleContainer .modal.articleError .modal-body {
    color: #666;
    font-size: 15px;
}

.xmlArticleContainer .modal.articleError .modal-body img {
    margin-right: 8px;
    width: 32px;
    height: auto;
}




/* Modal confirm */
.xmlArticleContainer .modal.articleConfirm .modal-header, .xmlArticleContainer .modal.articleOkDialog .modal-header, .xmlArticleContainer #splash .modal-header {
    background-color: #3c8dbc;
}
 
/* Modal Finish */
.xmlArticleContainer .modal.articleFinished .modal-header {
    background-color: #20aa73;
}

/* Modal Settings */
.xmlArticleContainer .modal .settings .setting {
    display: flex;
    justify-content: space-between;
    /* border-bottom: solid 1px rgba(0, 0, 0, 0.1); */
    padding: 5px;
}

.xmlArticleContainer .modal .settings .setting:not(:last-child) {
    margin-bottom: 5px;
}

.xmlArticleContainer .modal .modal-body, .xmlArticleContainer .modal .modal-body table th {
    font-size: 14px;
    color: #999;
    font-weight: 400;
}

.xmlArticleContainer .modal .modal-body {
    max-height: 600px;
    overflow-y: auto;
}

.xmlArticleContainer .modal .modal-body table td {
    font-size: 16px;
    font-weight: 400;
}

.xmlArticleContainer .modal.articleFinished img, .xmlArticleContainer .modal#hintmodal img {
    width: 36px;
    height: auto;
    display: inline-block;
    margin-right: 10px;
}

.xmlArticleContainer .modal.articleFinished .errortext {
    max-width: 450px;
    display: inline-block;
    vertical-align: middle;
}

.xmlArticleContainer .modal.articleFinished .final-score-board table {
    color: #3c8dbc;
    text-transform: uppercase;
    font-size: 16px;
}

.xmlArticleContainer .modal .completion-message,
.xmlArticleContainer .modal .incorrect-message {
    font-family: 'Roboto',sans-serif;
    color: #666;
    font-weight: 200;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: 5px;
}

.xmlArticleContainer .modal-custom-logo {
    display: flex;
    justify-content: center;
}

.xmlArticleContainer .modal-custom-logo__image {
    max-width: 200px;
    max-height: 200px;
    width: 100% !important;
}

.xmlArticleContainer .xmlArticleSplash {
    color: #000;
}

.xmlArticleContainer .xmlArticleSplash .splash-section__title {
    margin-bottom: 10px;
    font-weight: bold;
}

.xmlArticleContainer .xmlArticleHelp {
    color: #000;
}

.xmlArticleContainer .xmlArticleSplash + .xmlArticleHelp {
    margin-top: 20px;
}

.xmlArticleContainer .modal-body .helpBlock {
    margin-bottom: 5px;
}

.xmlArticleContainer .modal-body {
    padding: 20px 20px 20px;
}

.xmlArticleContainer .modal-body p {
    margin: 0;
}

.xmlArticleContainer .modal-body p:not(:last-child) {
    margin-bottom: 5px;
}

.xmlArticleContainer .modal-footer {
    margin-top: 0;
    padding: 10px;
}

.xmlArticleContainer .xmlArticleHelp .helpBlock .helpBlockHeadline {
    font-weight: bold;
}

/* ARCHIVE */
.archiveArticle .list-group-item {
    display: flex;
    align-items: center;
    padding: 15px;
    gap: 20px;
}

.archiveArticle .article-status {
    display: flex;
    align-items: center;
}

.archiveArticle .article-status .article-status__icon--finished {
    display: none;
    font-size: 1.2em;
    color: #148600;
    margin-right: 10px;
}

.archiveArticle .article-status .article-status__icon--sweepstakes {
    fill: #d98700;
    margin-right: 10px;
}

.archiveArticle .archiveText {
    display: block;
    font-size: 16px;
    position: relative;
    color: #000;
    line-height: 1.4em;
    cursor: pointer;
}

.archiveArticle .archiveText strong {
    font-size: 22px;
}
.archiveArticle .archiveIcon {
    background: url(../../../images/crossword_thumb_black.svg);
    width: 40px;
    height: 40px;
    display: inline-block;
    background-size: cover;
    margin: 0;
}

.noScroll {
    overflow: hidden;
}

@media screen and (max-width: 600px) {
    .xmlClues, .mobileCluesMsg {
        display: none;
    }

    .puzzle-page-wrapper {
        margin: 0 10px 10px;
    }

    .xmlArticleContainer .xmlClues .xmlAcross,
    .xmlArticleContainer .xmlClues .xmlDown {
        padding: 20px 20px 20px 0;
    }

    .puzzleClueWrapper {
        /* flex-direction: column; */
        display: block;
    }
}

@media screen and (max-width: 860px) {
    .xmlArticleContainer:not(.wordsearch) .cell .letter, .xmlArticleContainer:not(.wordsearch) .skeletonElement .skeletonLetter {
        font-size: 40px;
    }
}

@media screen and (max-width: 740px) {
    .xmlArticleContainer:not(.wordsearch) .cell .letter, .xmlArticleContainer:not(.wordsearch) .skeletonElement .skeletonLetter {
        font-size: 30px;
    }
}

@media screen and (max-width: 700px) {
    .xmlArticleContainer:not(.wordsearch) .cell .letter, .xmlArticleContainer:not(.wordsearch) .skeletonElement .skeletonLetter {
        font-size: 28px;
    }
}

@media screen and (max-width: 600px) {
    .xmlArticleContainer .cell .letter, .xmlArticleContainer .skeletonElement .skeletonLetter {
        font-size: 8vw;
    }
}

.mobileCluesMsg {
    background-color: #3c8dbc;
    color: #fff;
    padding: 15px;
}

.mobileCluesMsg .closeMobileCluesMsg.close {
    font-size: 33px;
    position: relative;
    top: -12px;
}

.pointer {
    cursor: pointer;
}

.lp-panel__back-button {
    display: flex;
    padding: 5px;
    line-height: 1;
    text-decoration: none;
}

.lp-panel__back-button:hover {
    text-decoration: none;
}

.lp-panel__back-button:hover .button-icon {
    transform: translateX(-3px);
}

.lp-panel__back-button .button-icon {
    transition: transform 200ms ease;

}

.lp-panel__back-button .button-icon .fill {
    fill: #333;
    transform: translateX(-10%);
}

.lp-panel__back-button .button-label {
    margin-left: 5px;
    color: #333;
}

@media (max-width: 375px) {
    .lp-panel__back-button .button-label {
        display: none;
    }
}

.directionArrow, .wordBreakArrow {
    position: absolute;
    width: 100%;
    height:100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.directionArrow div {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 10;
    background-repeat: no-repeat;
}

.wordBreakArrow svg {
    width: 100%;
    height: 100%;
    z-index: 10;
}

.imageArea, .textArea {
    display: none;
    position: absolute;
    background-size: cover;
    text-align: center;
    align-items: center;
    z-index: 100;
    font-feature-settings: "pnum";
}

.print-image {
    display: none;
}

.xmlArticleContainer.codebreaker .numberCell {
    color: #000;
    position: absolute;
    top: 5%;
    right: 5%;
    line-height: 1;
}

.textArea span {
    min-width: 100%;
    padding: 4px;
}

#highscore table {

    width: 100%;
    font-size: 20px;
}

#highscore-modaltext {
    margin-bottom: 20px;
}

#highscore .highscore-list__rank {
    width: 10%;
}

#highscore .highscore-list__handle {
    width: 50%;
    font-weight: bold;
}

#highscore .highscore-list__points {
    width: 40%;
    text-align: right;
}

#highscore .message-box__back {
    border: none;
    padding: 0 10px;
    margin: 10px 0 0 10px;
    height: 30px;
    align-items: center;
    font-weight: 700;
    border-radius: 100px;
    cursor: pointer;
    outline: none;
}

.game-result__highscore {
    display: -ms-flexbox;
    display: flex;
    border-radius: 3px;
    overflow: hidden;
    margin: .5rem 0;
}

.articleFinished .game-result__highscore {
    background-color: #ffffff;
    border: solid 1px #006e92;
    box-shadow: inset 2px 2px rgba(0, 0, 0, 0.1);
}


.articleFinished .game-result__highscore .highscore-handle {
    -ms-flex: 1;
    flex: 1;
    font-size: 1.6rem;
    border: none;
    background-color: transparent;
}

.articleFinished #highscore-wrapper .game-result__highscore #game-save-highscore {
    display: none;
    padding: 0 10px;
    width: auto;
    border-radius: 0;
    margin: 0 auto;
}

.articleFinished .game-result__sweepstakes {
    margin: 1rem;
    display: flex;
    justify-content: center;
}

.articleFinished .game-result__sweepstakes .sweepstakes-cta-button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 2rem;
}

#sharing-buttons .btn img {
    max-width: 50px;
}

#highscore-wrapper .btn, .game-result__challenge .btn, .game-result__challenge .btn, .restart-button .btn {
    width: 100%;
    max-width: 300px;
    display: -ms-flexbox;
    display: flex;
    margin: 13px auto;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    border: none;
    border-radius: 100px;
    background-color: #0272bc;
}


.game-challenge-participants {
    position: relative;
    display: none;
    border-radius: 3px;
    margin: 2rem 0;
    border: 1px solid #006e92;
    box-shadow: inset 2px 2px rgba(0, 0, 0, .1);
    background-color: #fff;
}

#start-challenge {
    display: none;
}

.game-challenge__sent {
    display: none;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
}


.game-challenge__input#game-challenge--reciever {
    text-align: right;
}

.game-challenge-participants .game-challenge__input {
    -ms-flex: 1;
    flex: 1;
    font-size: 1.6rem;
    border: none;
    background-color: transparent;
}

.game-challenge-participants.game-challenge--init:before {
    opacity: 1;
    transform: translate(-50%,-50%);
}

@media (max-width: 600px) {
    .game-challenge-participants {
        flex-direction: column;
    }
    
    .game-challenge-participants:before {
        right: 0;
        left: auto !important;
        transform: translate(20%,-50%) !important;
    }
    
    .game-challenge__input {
        text-align: left !important;
    }
    
    #game-challenge--challenger {
        border-bottom: solid 1px #ccc;
    }
}

@media (min-width: 600px) {
    .game-result__challenge .game-challenge-participants:before {
        transition: transform .5s ease;
    }
}
.game-challenge-participants:before {
    content: "VS";
    position: absolute;
    left: 50%;
    top: 50%;
    opacity: 0;
    transform: translate(-50%,-100%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 1.3rem;
    line-height: 1;
    font-weight: 700;
}
@media (min-width: 600px) {
    .game-challenge-participants:before {
        box-shadow: 1px 1px 1px rgba(0, 114, 188, .75);
    }
}
.game-challenge-participants:before {
    background-color: #8bc63f;
    color: #ffffff;
}

#challenge .game-result__status, #startChallenge .game-result__status{
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
}

#challenge .game-final-score, #startChallenge .game-final-score {
    display: -ms-flexbox;
    display: flex;
    margin: 1rem auto;
}

#challenge .game-final-score-part:first-child, #startChallenge .game-final-score-part:first-child {
    border-top-left-radius: 100px;
    border-bottom-left-radius: 100px;
}

#challenge .game-final-score-part.game-final-score-part--yours, #startChallenge .game-final-score-part.game-final-score-part--yours {
    position: relative;
}

#challenge .game-final-score-part, #startChallenge .game-final-score-part {
    font-weight: 700;
    font-size: 2rem;
    white-space: nowrap;
    display: -ms-flexbox;
    display: flex;
    line-height: 1;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 1rem 5rem;
    margin: 1rem auto;
}

.game-final-score-part.game-final-score-part--yours {
    background-color: #8bc63f;
}
.game-final-score-part {
    color: #fff;
}

#challenge .modal-body, #startChallenge .modal-body {
    text-align: center;
}

#challenge .game-final-score .game-final-score-part:last-child, #startChallenge .game-final-score .game-final-score-part:last-child {
    border-top-right-radius: 100px;
    border-bottom-right-radius: 100px;
}

.game-final-score-part.game-final-score-part--theirs {
    background-color: #7DA7D9;
}

#challenge .game-final-score-part.game-final-score-part--yours:not(:only-child):after, #startChallenge .game-final-score-part.game-final-score-part--yours:not(:only-child):after {
    content: "VS";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(50%,-50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 2rem;
    line-height: 1;
    font-weight: 700;
    transition: transform .5s ease;
}

.game-final-score-part.game-final-score-part--yours:not(:only-child):after {
    background-color: #ffffff;
    color: #000000;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .85), 3px 3px 5px rgba(0, 0, 0, .75);
    border-left: 4px solid #0d7ec2;
    border-right: 4px solid #8cc63f;
    border-top: 4px solid #0d7ec2;
    border-bottom: 4px solid #8cc63f;
}

.modal-title {
    padding: 0;
}

/* Windows not in focus */
/* ---------------------------------------- */
.xmlArticleContainer {
    filter: none;
    transition: filter 500ms ease;
}

body.blur:before {
    content: '';
    display: block;
    position: fixed;
    top: 0;
    bottom: 0;
    height: 100vh;
    width: 100vw;
    z-index: 998;
    background-color: rgba(0, 0, 0, 0.5);
}

body.blur .xmlArticleContainer {
    filter: blur(10px);
}

.pause {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 10vw;
    height: 10vw;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.pause img {
    max-width: 100%;
}

/* ---------------------------------------- */



/* Toggle */
/* ---------------------------------------- */

.checkbox-toggle {
    max-height: 0;
    max-width: 0;
    opacity: 0;
    position: absolute;
}

input.checkbox-toggle+label {
    display: block;
    position: relative;
    box-shadow: inset 0 0 0 1px #d5d5d5;
    height: 30px;
    width: 50px;
    border-radius: 15px;
    margin-bottom: 0;
}

input.checkbox-toggle+label:before {
    content: "";
    position: absolute;
    display: block;
    height: 30px;
    width: 30px;
    top: 0;
    left: 0;
    border-radius: 15px;
    background: rgba(19, 191, 17, 0);
    transition: 150ms ease;
}

input.checkbox-toggle+label:after {
    content: attr(data-label);
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 30px;
    width: 30px;
    top: 0;
    left: 0;
    border-radius: 15px;
    background: white;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2), 0 2px 4px rgba(0, 0, 0, .2);
    font-family: 'Open Sans';
    font-weight: bold;
    transition: 150ms ease;
}

input.checkbox-toggle:checked+label:before {
    width: 50px;
    background: rgba(19, 191, 17, 1);
    content: "";
}

input.checkbox-toggle:checked+label:after {
    left: 20px;
    box-shadow: inset 0 0 0 1px rgba(19, 191, 17, 1), 0 2px 4px rgba(0, 0, 0, .2);
}

input.checkbox-toggle:disabled+label {
    opacity: .5
}

input.checkbox-toggle.blue:checked+label:before {
    background: rgb(65, 183, 241);
}

input.checkbox-toggle.blue:checked+label:after {
    box-shadow: inset 0 0 0 1px rgb(65, 183, 241), 0 2px 4px rgba(65, 183, 241, .2);
}

input.checkbox-toggle.red:checked+label:before {
    background: #c9302c;
}

input.checkbox-toggle.red:checked+label:after {
    box-shadow: inset 0 0 0 1px rgb(201, 48, 44), 0 2px 4px rgba(201, 48, 44, .2);
}

/* ---------------------------------------- */



/* Ads */
/* ---------------------------------------- */

.ad-wall {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.ad-wall .ad-container {
    display: flex;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 480px;
    height: 320px;
    max-width: 100%;
    max-height: 100%;
    background-color: #000;
    color: #fff;
    justify-content: center;
    align-items: flex-start;
    z-index: 101;
}

.ad-wall .ad-container .ad-close {
    position: absolute;
    top: -30px;
    right: -30px;
    z-index: 1;
    border: solid 2px #fff;
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
    color: #fff;
    border-radius: 50%;
    font-size: 18px;
    letter-spacing: -1px;
    line-height: 1;
    font-weight: bold;
}

.ad-wall .ad-container .ad-close:hover {
    background-color: #fff;
    color: #000;
}

/* ---------------------------------------- */

/* Sweepstakes */
/* ---------------------------------------- */
.sweepstakes-form-wrapper {
    background-color: #ffffff;
    color: #000000;
}

.sweepstakes-form-wrapper .sweepstakes-form input {
    border: solid 1px #666;
}
/* ---------------------------------------- */

.article-progress-wrapper {
    width: 100%;
}

.article-progress-bar {
    height: 2px;
    width: 0;
    min-width: 0%;
    transition: min-width 200ms ease;
}

/* Helper-buttons */
.tools-wrapper {
    display: flex;
    margin: 25px 25px 15px;
}

@media screen and (max-width: 1200px) {
    .tools-wrapper {
        min-width: calc(100% - 20px);
        width: initial !important;
    }
}

@media screen and (max-width: 600px) {
    .tools-wrapper {
        margin: 10px;
    }
}

.tools-wrapper .tools-group {
    display: flex;
}
    
.tools-wrapper .tools-group.tools-group--left {
    flex: 1;
    justify-items: flex-start;
}

.tools-wrapper .tools-group.tools-group--center {
    flex: 1;
    justify-content: center;
}

.tools-wrapper .tools-group.tools-group--right {
    flex: 1;
    justify-content: flex-end;
}

.tools-wrapper .tool:not(:last-child) {
    margin-right: 10px;
}

.tools-wrapper .zoom-wrapper {
    display: inline-flex;
    border: 1px solid #222;
    border-radius: 3px;
    box-shadow: 1px 1px 0 rgba(0,0,0,0.1);
}

.tools-wrapper .zoom-wrapper .tool {
    margin: 0;
    max-width: 42px;
    border: none;
    background-color: #ffffff;
}

.tools-wrapper .zoom-wrapper .zoom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
}

.tools-wrapper .zoom-wrapper .zoom svg {
    width: 20px;
}

.tools-wrapper .zoom-wrapper .tool.disabled {
    color: #9f9f9f;
    background-color: #e5e5e5;
    cursor: not-allowed;
}

.tools-wrapper .zoom-wrapper .tool.disabled svg .fill {
    fill: #9f9f9f;
}

.tools-wrapper .zoom-wrapper .tool:not(:last-child) {
    border-right: solid 1px rgba(0, 0, 0, .1);
}

.sudoku-input-mode-switch, .skeleton-input-mode-switch {
    display: inline-flex;
    border: 1px solid #222;
    border-radius: 3px;
    box-shadow: 1px 1px 0 rgba(0,0,0,0.1);
}

.skeleton-button-container {
    padding: 5px;
    float: left;
}

.sudoku-input-mode-switch .sudoku-input-mode, .skeleton-input-mode-switch .skeleton-input-mode {
    border: none;
    background-color: #fff;
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}       
.sudoku-input-mode-switch .sudoku-input-mode:focus, .skeleton-input-mode-switch .skeleton-input-mode:focus {
    outline: none;
}

.sudoku-input-mode-switch .sudoku-input-mode svg, .skeleton-input-mode-switch .skeleton-input-mode svg {
    width: 30px;
}

@media screen and (max-width: 600px) {
    .sudoku-input-mode-switch .sudoku-input-mode, .skeleton-input-mode-switch .skeleton-input-mode {
        padding: 3px;
    }
    
    .sudoku-input-mode-switch .sudoku-input-mode svg, .skeleton-input-mode-switch .skeleton-input-mode svg {
        width: 25px;
    }
}

.help-button, .open-settings {
    background-color: #fff;
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #222;
    border-radius: 3px;
    box-shadow: 1px 1px 0 rgba(0,0,0,0.1);
}

.help-button  .glyphicon, .open-settings .glyphicon {
    width: 30px;
    font-size: 30px;
}

@media screen and (max-width: 600px) {
    .help-button, .open-settings {
        padding: 3px;
    }
    
    .help-button .glyphicon, .open-settings .glyphicon {
        width: 25px;
        font-size: 16px;
    }
}
/* ---------------------------------------- */

/* Settings-modal */
#settingsModal .modal-body {
    padding-left: 126px;
    margin-bottom: 0;
}

#settingsModal .settingsFields label {
    position: relative;
    bottom: 1px;
    font-size: 14px;
    color: #000;
    padding-left: 17px;

}
/* ---------------------------------------- */


/* Competitionword */
.articleConfirmFinish .competition-word,
.articleFinished .competition-word,
.sweepstakes-form-wrapper .competition-word
{
    display: none;
}

.articleConfirmFinish .competition-word,
.articleFinished .competition-word
{
    margin: 10px 0;
}

.sweepstakes-form-wrapper .competition-word
{
    padding: 20px;
    text-align: center;
}

.sync--disabled .loading-indicator-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
}

.sync--disabled .loading-indicator-bg .loading-indicator-wrapper {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: #ffffff;
    border-radius: 100%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15), 2px 2px 3px rgba(0, 0, 0, 0.25);
}

.sync--disabled .loading-indicator-bg .loading-indicator {
    width: 72px;
    height: 72px;
    margin: 10px;
    border-radius: 50%;
    border: 6px solid #2488DB;
    animation: spinner-anim-1 0.96s infinite linear alternate,
            spinner-anim-2 1.92s infinite linear;
}

@keyframes spinner-anim-1 {
    0% {
        clip-path: polygon(50% 50%, 0 0, 50% 0%, 50% 0%, 50% 0%, 50% 0%, 50% 0%);
    }
    
    12.5% {
        clip-path: polygon(50% 50%, 0 0, 50% 0%, 100% 0%, 100% 0%, 100% 0%, 100% 0%);
    }
    
    25% {
        clip-path: polygon(50% 50%, 0 0, 50% 0%, 100% 0%, 100% 100%, 100% 100%, 100% 100%);
    }
    
    50% {
        clip-path: polygon(50% 50%, 0 0, 50% 0%, 100% 0%, 100% 100%, 50% 100%, 0% 100%);
    }
    
    62.5% {
        clip-path: polygon(50% 50%, 100% 0, 100% 0%, 100% 0%, 100% 100%, 50% 100%, 0% 100%);
    }
    
    75% {
        clip-path: polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 50% 100%, 0% 100%);
    }
    
    100% {
        clip-path: polygon(50% 50%, 50% 100%, 50% 100%, 50% 100%, 50% 100%, 50% 100%, 0% 100%);
    }
}

@keyframes spinner-anim-2 {
    0% {
        transform: scaleY(1) rotate(0deg);
    }
    
    49.99% {
        transform: scaleY(1) rotate(135deg);
    }
    
    50% {
        transform: scaleY(-1) rotate(0deg);
    }
    
    100% {
        transform: scaleY(-1) rotate(-135deg);
    }
}

.sync--disabled .loading-indicator-wrapper .loading-indicator div:nth-child(1) { animation-delay: -0.24s; }
.sync--disabled .loading-indicator-wrapper .loading-indicator div:nth-child(2) { animation-delay: -0.12s; }
.sync--disabled .loading-indicator-wrapper .loading-indicator div:nth-child(3) { animation-delay: 0; }

@keyframes loading-indicator {
    0% {
        height: 80%;
    }
    50%, 100% {
        height: 20%;
    }
}

.xmlArticleContainer.sync--disabled .wrapper {
    opacity: 0.1;
    pointer-events: none !important;
    user-select: none !important;
    
    transition: opacity 500ms ease;
}

.cell div.borders {
    position: absolute;
    z-index: 1;
    top: -1px;
    right: -1px;
    bottom: -1px;
    left: -1px;
}
/* BASE */

.keyboard-container {
  z-index: 100;
}

/* #jq-keyboard.ui-draggable-dragging {
  opacity: .95;
} */

#jq-keyboard {
  position: absolute;
  background: #FFF;
  width: auto;
  max-height: 0;
  bottom: 20px;
  right: 0;
  border-radius: 3px;
  border-bottom: 0 solid #CCC;
  padding-left: 10px;
  padding-right: 10px;
  overflow: hidden;
  /* transition: max-height 0.5s ease, padding 0.3s linear, border 0.3s ease, box-shadow 0.3s ease; */
  z-index: 999;
  background-color: #fcfcfc;
}

/* @media screen and (min-width: 600px) {
  #jq-keyboard {
      max-width: 100% !important;
  }
} */

#jq-keyboard.attached-to-grid {
  position: absolute !important;
  bottom: unset !important;
  max-width: 200px !important;
  margin: 0 10px !important;
}

#jq-keyboard.hide {
  border: none;
  box-shadow: none;
}

#jq-keyboard.show {
  border-bottom-width: 3px;
  max-height: 193px;
  border: solid 1px #ccc;
  box-shadow: 0 2px 7px 0 rgba(0, 0, 0, 0.5);
}

/* #jq-keyboard.sudoku,
#jq-keyboard.wordoku {
  padding-top: 5px;
} */

#jq-keyboard.sudoku .btn-row,
#jq-keyboard.wordoku .btn-row {
  display: flex;
}

#jq-keyboard.wordoku .btn-row .jqk-btn,
#jq-keyboard.sudoku .btn-row .jqk-btn {
  flex: 1;
}


/* CONTAINERS */


/* Language container / Window bar */

#jqk-lang-cont {
  overflow: hidden;
  border-bottom: solid 1px #ccc;
}

/* Button row */

#jq-keyboard .btn-row {
  display: flex;
  justify-content: center;
  padding-bottom: 1px;
  background-color: #cccccc;
}

/* BUTTONS */


/* Language selector button */

#jqk-lang-cont button.jqk-lang-btn {
  background: #EEE;
  font-size: 10px;
  border: none;
  margin-left: 0;
  color: #666;
  cursor: pointer;
}

#jqk-lang-cont button.jqk-lang-btn:hover {
  color: #222;
}


/* - when selected */

#jqk-lang-cont button.jqk-lang-btn.selected {
  background: #1c94c4;
  color: #FFF;
}


/* Corner rounding depending on count */

#jqk-lang-cont > button.jqk-lang-btn:first-of-type {
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
}

#jqk-lang-cont > button.jqk-lang-btn:last-child {
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}

#jqk-lang-cont > button.jqk-lang-btn:only-child {
  border-radius: 3px;
}

/* jqk language container */

#jqk-lang-cont {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  overflow: initial;
}

/* jqk keyboard clue */

#jqk-lang-cont .clueKeyboard {
  line-height: 1;
  flex: 1;
  text-align: center;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#jqk-lang-cont .clueKeyboard .clue-content {
  flex: 1;
  padding: 2px 10px;
  overflow-x: auto;
}  

#jqk-lang-cont .clueKeyboard .clue-content img {
  width: auto;
  height: 34px;
}

@media (max-width: 600px) {
  #jqk-lang-cont .clueKeyboard {
    font-size: .9em;
  }
}

/* Minimize button */

#jqk-lang-cont > .minimize-btn {
  box-sizing: content-box;
  width: 28px;
  height: 28px;
  padding: 5px;
  transition: 0.3s ease;
  cursor: pointer;
  background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbDpzcGFjZT0icHJlc2VydmUiIHdpZHRoPSIxOHB4IiBoZWlnaHQ9IjE4cHgiIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDczIDczIiBzdHlsZT0iY2xpcC1ydWxlOmV2ZW5vZGQ7ZmlsbC1ydWxlOmV2ZW5vZGQ7aW1hZ2UtcmVuZGVyaW5nOm9wdGltaXplUXVhbGl0eTtzaGFwZS1yZW5kZXJpbmc6Z2VvbWV0cmljUHJlY2lzaW9uO3RleHQtcmVuZGVyaW5nOmdlb21ldHJpY1ByZWNpc2lvbiI+PGRlZnM+PHN0eWxlIHR5cGU9InRleHQvY3NzIj4uZmlsMCB7ZmlsbDojQ0NDQ0NDfTwvc3R5bGU+PC9kZWZzPjxnPjxtZXRhZGF0YS8+PHBhdGggY2xhc3M9ImZpbDAiIGQ9Ik0yOSA0OGwtMjgtMjljLTEgMC0xLTIgMC0zbDE1LTE1YzEtMSAzLTEgMyAwbDI5IDI4IDktOWMxLTEgMi0xIDMgMCAwIDAgMSAxIDEgMWwwIDM3YzAgMi0xIDMtMyAzbC0zNyAwYy0xIDAtMi0xLTItMyAwIDAgMC0xIDEtMWwwIDAgOS05em0tMjItN2MwLTIgMi0zIDQtMyAyIDAgNCAxIDQgM2wwIDI0IDUwIDAgMC01MC0yNCAwYy0yIDAtNC0yLTQtNCAwLTIgMi00IDQtNGwyOCAwYzIgMCA0IDIgNCA0bDAgNThjMCAyLTIgNC00IDRsLTU4IDBjLTIgMC00LTItNC00bDAtMjh6Ii8+PC9nPjwvc3ZnPg==) no-repeat;
  background-position: center;
}

@media (hover: none) {
  #jqk-lang-cont > .minimize-btn {
    display: none
  }
}

#jqk-lang-cont > .move-btn {
  box-sizing: content-box;
  width: 28px;
  height: 28px;
  padding: 5px;
  transition: 0.3s ease;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

#jqk-lang-cont > .move-btn[data-direction=up] {
  margin-left: 10px;
}

#jqk-lang-cont > .move-btn.move-btn--disabled {
  opacity: .25;
  cursor: not-allowed;
}

#jqk-lang-cont > .move-btn svg {
  width: 20px;
  height: 20px;
}

#jqk-lang-cont > .minimize-btn:hover {
  background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbDpzcGFjZT0icHJlc2VydmUiIHdpZHRoPSIxOHB4IiBoZWlnaHQ9IjE4cHgiIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDczIDczIiBzdHlsZT0iY2xpcC1ydWxlOmV2ZW5vZGQ7ZmlsbC1ydWxlOmV2ZW5vZGQ7aW1hZ2UtcmVuZGVyaW5nOm9wdGltaXplUXVhbGl0eTtzaGFwZS1yZW5kZXJpbmc6Z2VvbWV0cmljUHJlY2lzaW9uO3RleHQtcmVuZGVyaW5nOmdlb21ldHJpY1ByZWNpc2lvbiI+PGRlZnM+PHN0eWxlIHR5cGU9InRleHQvY3NzIj4uZmlsMCB7ZmlsbDojMUM5NEM0fTwvc3R5bGU+PC9kZWZzPjxnPjxtZXRhZGF0YS8+PHBhdGggY2xhc3M9ImZpbDAiIGQ9Ik0yOSA0OGwtMjgtMjljLTEgMC0xLTIgMC0zbDE1LTE1YzEtMSAzLTEgMyAwbDI5IDI4IDktOWMxLTEgMi0xIDMgMCAwIDAgMSAxIDEgMWwwIDM3YzAgMi0xIDMtMyAzbC0zNyAwYy0xIDAtMi0xLTItMyAwIDAgMC0xIDEtMWwwIDAgOS05em0tMjItN2MwLTIgMi0zIDQtMyAyIDAgNCAxIDQgM2wwIDI0IDUwIDAgMC01MC0yNCAwYy0yIDAtNC0yLTQtNCAwLTIgMi00IDQtNGwyOCAwYzIgMCA0IDIgNCA0bDAgNThjMCAyLTIgNC00IDRsLTU4IDBjLTIgMC00LTItNC00bDAtMjh6Ii8+PC9nPjwvc3ZnPg==);
}

#jqk-lang-cont .clueKeyboard .keyboard-clue-navigation {
  padding: 10px 15px;
  margin: 0 auto;
  border: none;
  background-color: transparent;
  color: #000000;
}

#jqk-lang-cont .clueKeyboard .keyboard-clue-navigation .glyphicon {
  color: #000000;
}

@media (max-width: 600px) {
  #jqk-lang-cont .clueKeyboard .keyboard-clue-navigation {
    padding: 10px;
  }
}

.key-lock-button {
  font-weight: bold;
  padding: 0.8rem 1.2rem;
  color: #cccccc;
  cursor: pointer;
}

.key-lock-button.key-lock-button--active {
}

/* Keyboard button */

#jq-keyboard button.jqk-btn {
  position: relative;
  background: #ffffff;
  border-radius: 0;
  border: none;
  margin: 0;
  padding: 2px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 22px;
  font-weight: normal;
  color: #000000;
  overflow: hidden;
  cursor: pointer;
  height: 50px;
  flex: 0 1 50px;
  transition: padding 80ms ease, box-shadow 80ms ease;
}

#jq-keyboard button.jqk-btn.special {
  /* flex-basis: 101px; */
}

#jq-keyboard button.jqk-btn:not(:last-child) {
  margin-right: 1px;
}

#jq-keyboard button.jqk-btn:hover {
  background-color: #f5f5f5;
}

/* - when clicked
 * - when selected
 */

#jq-keyboard button.jqk-btn.clicked:not(.locked),
#jq-keyboard button.jqk-btn.selected:not(.locked) {
  padding: 4px 0 0 4px;
  box-shadow: inset 2px 2px 0 #cccccc;
}

/* - when selected */

#jq-keyboard button.jqk-btn.selected::after {
  content: "";
  position: absolute;
  background: #4eb305;
  width: 7px;
  height: 7px;
  top: 5px;
  left: 5px;
  border-radius: 7px;
}


/* Firefox tweak: remove dotted outline */

#jq-keyboard button.jqk-btn::-moz-focus-inner {
  border: 0;
}


/* Chrome tweak: remove yellow outline */

#jq-keyboard button.jqk-btn:focus {
  outline: none;
}


/* Keyboard button types */


/* << special >> */

#jq-keyboard button.jqk-btn.special {
  background-repeat: no-repeat;
}


/* << normal >> */


/*#jq-keyboard button.jqk-btn.normal {}*/


/* << shift-active >> */


/*#jq-keyboard button.jqk-btn.shift-b {}*/


/* Special buttons specific settings */

#jq-keyboard button.jqk-btn.special.space {
  width: 230px;
}

#jq-keyboard button.jqk-btn.special.backspace {
  background-position: 16px 8px;
  background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbDpzcGFjZT0icHJlc2VydmUiIHdpZHRoPSIyNXB4IiBoZWlnaHQ9IjE2cHgiIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDEwNCA2NSIgc3R5bGU9ImNsaXAtcnVsZTpldmVub2RkO2ZpbGwtcnVsZTpldmVub2RkO2ltYWdlLXJlbmRlcmluZzpvcHRpbWl6ZVF1YWxpdHk7c2hhcGUtcmVuZGVyaW5nOmdlb21ldHJpY1ByZWNpc2lvbjt0ZXh0LXJlbmRlcmluZzpnZW9tZXRyaWNQcmVjaXNpb24iPjxkZWZzPjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+LmZpbDAge2ZpbGw6I0IzQjNCM308L3N0eWxlPjwvZGVmcz48Zz48bWV0YWRhdGEvPjxwYXRoIGNsYXNzPSJmaWwwIiBkPSJNMzYgMGw2MSAwYzQgMCA3IDMgNyA3bDAgNTFjMCA0LTMgNy03IDdsLTYxIDBjLTIgMC0zLTEtNS0ybC0yOS0yNWMtMi0zLTMtNyAwLTEwIDAgMCAwLTEgMC0xbDMwLTI1YzEtMSAzLTIgNC0ybDAgMHptNDggMTJjMS0yIDQtMiA2IDAgMiAyIDIgNSAwIDdsLTEzIDEzIDEzIDEzYzIgMiAyIDUgMCA2LTIgMi01IDItNiAwbC0xNC0xMy0xMyAxM2MtMiAyLTQgMi02IDAtMi0xLTItNCAwLTZsMTMtMTMtMTMtMTNjLTItMi0yLTUgMC03IDItMiA0LTIgNiAwbDEzIDEzIDE0LTEzeiIvPjwvZz48L3N2Zz4=);
}

#jq-keyboard button.jqk-btn.special.enter {
  width: 70px;
  background-position: 23px 8px;
  background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbD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xhc3M9ImZpbDAiIGQ9Ik03MCA1NmwwIDEwIDEwIDBjMiAwIDQgMiA0IDRsMCAxMGMwIDItMiA0LTQgNC0yNCAwLTQ5IDAtNzMgMC0yIDAtNC0yLTQtNGwwLTEwYzAtMiAyLTQgNC00bDEwIDAgMC0xMC0xMyAwYy0zIDAtNS00LTMtN2wzOS00OGMyLTIgNS0xIDcgMWwzOSA0N2MyIDIgMSA0LTEgNiAwIDEtMSAxLTIgMWwwIDAtMTMgMHptLTE2IDEwYzAgMiAyIDMgNCAzIDEtMSAyLTMgMi00bC0xMy00MGMtMS0yLTItMi0zLTJsLTEgMGMtMSAwLTIgMC0zIDJsLTEzIDQwYzAgMSAwIDMgMiA0IDIgMCA0LTEgNC0zbDQtMTAgMTMgMCA0IDEwem0tNS0xNmwtMTEgMGMyLTYgNC0xMSA1LTE3bDAgMGMyIDYgNCAxMiA2IDE3eiIvPjwvZz48L3N2Zz4=);
}


/* Maximize button */

#jqk-toggle-btn {
  position: fixed;
  width: 34px;
  height: 18px;
  bottom: 20px;
  right: 20px;
  cursor: pointer;
  opacity: 0.3;
  transition: 0.3s ease;
  background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbDpzcGFjZT0icHJlc2VydmUiIHdpZHRoPSIzNHB4IiBoZWlnaHQ9IjE4cHgiIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDc1IDQwIiBzdHlsZT0iY2xpcC1ydWxlOmV2ZW5vZGQ7ZmlsbC1ydWxlOmV2ZW5vZGQ7aW1hZ2UtcmVuZGVyaW5nOm9wdGltaXplUXVhbGl0eTtzaGFwZS1yZW5kZXJpbmc6Z2VvbWV0cmljUHJlY2lzaW9uO3RleHQtcmVuZGVyaW5nOmdlb21ldHJpY1ByZWNpc2lvbiI+PGRlZnM+PHN0eWxlIHR5cGU9InRleHQvY3NzIj4uanFra2ItaW5wYnRuLWZpbGwge2ZpbGw6IzAwMDAwMH08L3N0eWxlPjwvZGVmcz48Zz48bWV0YWRhdGEvPjxwYXRoIGNsYXNzPSJqcWtrYi1pbnBidG4tZmlsbCIgZD0iTTMgMGw2OSAwYzIgMCAzIDEgMyAzbDAgMzRjMCAyLTEgMy0zIDNsLTY5IDBjLTIgMC0zLTEtMy0zbDAtMzRjMC0yIDEtMyAzLTN6bTE2IDI3bDM3IDAgMCA2LTM3IDAgMC02em0tNy0yMWwwIDYtNSAwIDAtNiA1IDB6bTU2IDBsMCA2LTYgMCAwLTYgNiAwem0tMTEgMGwwIDYtNiAwIDAtNiA2IDB6bS0xMSAwbDAgNi02IDAgMC02IDYgMHptLTEyIDBsMCA2LTUgMCAwLTYgNSAwem0tMTEgMGwwIDYtNSAwIDAtNiA1IDB6bS02IDExbDAgNS02IDAgMC01IDYgMHptNDQgMGwwIDUtNSAwIDAtNSA1IDB6bS0xMSAwbDAgNS02IDAgMC01IDYgMHptLTExIDBsMCA1LTYgMCAwLTUgNiAwem0tMTEgMGwwIDUtNiAwIDAtNSA2IDB6Ii8+PC9nPjwvc3ZnPg==);
}

#jqk-toggle-btn:hover {
  right: 27px;
  opacity: 0.8;
}


/* For dark layouts */

#jqk-toggle-btn.dark {
  background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbDpzcGFjZT0icHJlc2VydmUiIHdpZHRoPSIzNHB4IiBoZWlnaHQ9IjE4cHgiIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDc1IDQwIiBzdHlsZT0iY2xpcC1ydWxlOmV2ZW5vZGQ7ZmlsbC1ydWxlOmV2ZW5vZGQ7aW1hZ2UtcmVuZGVyaW5nOm9wdGltaXplUXVhbGl0eTtzaGFwZS1yZW5kZXJpbmc6Z2VvbWV0cmljUHJlY2lzaW9uO3RleHQtcmVuZGVyaW5nOmdlb21ldHJpY1ByZWNpc2lvbiI+PGRlZnM+PHN0eWxlIHR5cGU9InRleHQvY3NzIj4uanFra2ItaW5wYnRuLWZpbGwge2ZpbGw6I0ZGRkZGRn08L3N0eWxlPjwvZGVmcz48Zz48bWV0YWRhdGEvPjxwYXRoIGNsYXNzPSJqcWtrYi1pbnBidG4tZmlsbCIgZD0iTTMgMGw2OSAwYzIgMCAzIDEgMyAzbDAgMzRjMCAyLTEgMy0zIDNsLTY5IDBjLTIgMC0zLTEtMy0zbDAtMzRjMC0yIDEtMyAzLTN6bTE2IDI3bDM3IDAgMCA2LTM3IDAgMC02em0tNy0yMWwwIDYtNSAwIDAtNiA1IDB6bTU2IDBsMCA2LTYgMCAwLTYgNiAwem0tMTEgMGwwIDYtNiAwIDAtNiA2IDB6bS0xMSAwbDAgNi02IDAgMC02IDYgMHptLTEyIDBsMCA2LTUgMCAwLTYgNSAwem0tMTEgMGwwIDYtNSAwIDAtNiA1IDB6bS02IDExbDAgNS02IDAgMC01IDYgMHptNDQgMGwwIDUtNSAwIDAtNSA1IDB6bS0xMSAwbDAgNS02IDAgMC01IDYgMHptLTExIDBsMCA1LTYgMCAwLTUgNiAwem0tMTEgMGwwIDUtNiAwIDAtNSA2IDB6Ii8+PC9nPjwvc3ZnPg==);
}


/* MISC */


/* Hide class */

/* .jqk-hide {
  display: none;
} */

.jqk-toggle-wrapper {
  position: relative;
}

/* Keyboard notification */
.jqk-toggle-btn-notification {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  padding: 10px;
  box-sizing: border-box;
  position: fixed;
  bottom: 50px;
  right: 10px;
  background-color: #dd0000;
  color: #fff;
  box-shadow: 2px 2px 10px rgb(0, 0, 0, .5);
  line-height: 1;
  border-radius: 50px;
  cursor: pointer;
  transform-origin: right bottom;
  animation-name: wiggle;
  animation-duration: 3000ms;
  animation-iteration-count: infinite;
  animation-delay: 500ms;
  animation-timing-function: ease-in-out;
  z-index: 1;
}

.jqk-toggle-btn-notification .glyphicon {
  font-size: 1.6em;
  animation-name: pointdown;
  animation-duration: 3000ms;
  animation-iteration-count: infinite;
  animation-delay: 500ms;
  animation-timing-function: ease-in-out;
}

@keyframes wiggle {
  0% {transform: rotate(0deg);}
  20% {transform: rotate(-2deg);}
  30% {transform: rotate(4deg);}
  40% {transform: rotate(-1deg);}
  50% {transform: rotate(0deg);}
}

@keyframes pointdown {
  0% { transform: translateY(0);  }
  20% { transform: translateY(40%);  }
  30% { transform: translateY(20%);  }
  40% { transform: translateY(40%);  }
  50% { transform: translateY(0);  }
}