@import url(https://fonts.googleapis.com/css?family=Roboto+Slab);

.cw-aa {
    font-family: sans-serif;
    box-sizing: content-box;
    display: flex;
    flex-direction: column;
    background: transparent;
    max-width: 750px;
}

.cw-aa .cw-aa-row {
    display: flex;
    flex: 1;
    flex-direction: row;
}

.cw-aa .cw-aa-row .cw-aa-cell {
    position: relative;
    flex: 1;
    overflow: hidden;
    border: 1px solid transparent;
}

.cw-aa .cw-aa-row .cw-aa-cell.cw-aa-cell-light {
    border: 1px solid transparent;
    border-radius: 4px;
}

.cw-aa .cw-aa-row .cw-aa-cell input {
    font-family: sans-serif;
    text-transform: uppercase;
    font-size: 1em;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
    border: none;
    height: 100%;
    width: 100%;
    padding: 0;
    background: #ffe770;
}

.cw-aa .cw-aa-row .cw-aa-cell input:focus {
    outline: none;
}

.cw-aa .cw-aa-row .cw-aa-cell .clue-label {
    position: absolute;
    font-size: 0.65em;
    font-family: sans-serif;
    left: 3px;
    top: 2px;
    z-index: 1;
}

.clue-label.marked-spot {
    color: red;
}

input.done {

}

input.cw-correct-cell {
    font-weight: bold;
    color: green !important;
}

li.cw-correct-clue {
    color: green !important;
}

.cw-aa:not(.preview) .cw-active-cell,
#aa-crossword-clues:not(.preview) .cw-active-clue {
    background-color: #d3f1f8 !important;
    transition: background-color .3s ease;
}
#aa-crossword-clues:not(.preview) .cw-active-clue {
    border-radius: 4px;
}

#aa-crossword-anwser {
    display: flex;
    flex: 1;
    flex-direction: row;
}

#aa-crossword-anwser .letter-position {
    text-transform: uppercase;
    font-weight: bold;
    position: relative;
    width: 40px;
    height: 40px;
    background: #ffe770;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    margin-right: 3px;
    /*border-top: 1px solid black;*/
    /*border-right: 1px solid black;*/
    /*border-bottom: 1px solid black;*/
}

#aa-crossword-anwser .letter-position:first-of-type {
    /*border-left: 1px solid black;*/
}

#aa-crossword-anwser .letter-position.free {
    background: #dddc61;
}

#aa-crossword-anwser .letter-position .clue-label {
    position: absolute;
    font-size: 0.65em;
    font-family: sans-serif;
    left: 3px;
    top: 2px;
    z-index: 1;
}

#aa-crossword-clues {
    display: flex;
    flex: 1;
    flex-direction: row;
    width: 100%;
}

#aa-crossword-clues .aa-clue-block {
    width: 50%;
    display: block;
}

#aa-crossword-clues .aa-clue-block ol {
    padding-left: 0;
}

@media (max-width: 768px) {
    #aa-crossword-clues {
        display: block;
    }

    #aa-crossword-clues .aa-clue-block {
        width: 100%;
        display: block;
    }
}

li.nonumber {
    list-style-type: none;
    cursor: pointer;
    padding: 3px 3px 3px 3px;
}

#aa-crossword-congrats {
    color: green;
}

#aa-pdf-download {
    margin-top: 10px;
}

.aa-cw-btn {
    background-color: #ffe770;
    border: none;
    color: #0688a2;
    padding: 15px 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
}

.aa-li-anwser {
    font-style: italic;
    color: red;
}

.cw-clear{
    clear: both;
}