html {
    height: 100%;
}

body {
    /*height: 100%;*/
    min-width: 400px;
    margin: 0;

    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: gray;
}

.container {
    /*  position: absolute;*/
    left: 0;
    right: 0;
    text-align: center;
    /*width: 50%;*/
    /*  background-color: white;*/
    /* min-height: 100vh; */
}

body {
    background-color: #F2F2F2 !important;
}

.elementContent {
    margin-top: 15px;
}

.crosswordDisplay {
    /*    margin-top: 5rem;*/
    /* margin-bottom: 5rem;
   */
}




.clueBlock {
    position: relative;
    margin-bottom: 5em;
}

.clueDirection {
    text-align: left;
    margin: 1em 0 0.25em 122px;
    font-size: 1.5em;
    font-weight: bold;
    color: #000;
}

@media (max-width : 575px) {
    .clueDirection {
        margin: 0px;
    }

    .clueBlock {
        margin-bottom: 2rem;
    }
}

.line {}

.word,
.clue,
.lineNum {
    display: inline-block;
    height: 1.4em;
    padding: 0 5px;
}

.word {
    text-align: right;
    width: 100px;
    margin: 0 20px 0 0;
}

.clue {
    width: 500px;
    margin: 0 0 4px 0;
}

.lineNum {

    font: 1em calibri;
    line-height: 1.8em;

}

.clueReadOnly {
    border-color: rgba(0, 0, 0, 0);
    margin: 0;
    outline: 0;
    color: #303030;
    background: none;
}

.crossword {
    display: block;
    background-color: #ffffff;
}

.square {
    margin: 0 1px 1px 0;
    display: inline-block;
    position: relative;
    font: 26px Calibri;
    width: 1.50em;
    height: 1.40em;
    line-height: 1.25em;
    vertical-align: top;
}

.char:focus {
    -webkit-box-shadow: 0 0 0 2px rgb(0, 133, 180);
    -moz-box-shadow: 0 0 0 2px rgb(0, 133, 180);
    box-shadow: inset 0 0 0 2px rgb(0, 133, 180);
}

.char {
    font-family: sans-serif;
    font-size: 26px;
    text-transform: uppercase;
    outline: 0;
    border: 0;
    padding: 0;
    margin: 1px 0 0 -1px;
    width: 1.50em;
    height: 1.40em;
    text-align: center;
    background-color: rgb(255, 255, 255);
    border: 1px solid black;
}

.charReadOnly:focus {
    -webkit-box-shadow: 0 !important;
    -moz-box-shadow: 0 !important;
    box-shadow: 0 !important;

    border-color: rgba(0, 0, 0, 0);
    margin: 0;
    outline: 0;
    color: #303030;
}

.num {
    position: absolute;
    top: 0;
    left: 0;
    text-align: left;
    color: rgb(0, 0, 0);
    font-size: 0.6em;
    line-height: 1em;
    pointer-events: none;
    font-weight: bold;
}

.hide {
    visibility: hidden;
}

.disabled {
    display: none !important;
}

.btn:hover {
    cursor: pointer;
    background-color: rgb(150, 150, 150);
}

#btnCheck {
    position: absolute;
    right: 2rem;
    top: 1rem;
    cursor: pointer;
}

#btnReset {
    position: absolute;
    left: 2rem;
    top: 1rem;
    cursor: pointer;
}

button.btn-design,
a#btn-Convert-Html2Image {
    display: inline-block;
    float: none;
}

.btn-design {
    margin: 10px 10px 0 10px;
    background: transparent;
    color: #000000;
    /* padding: 10px 20px; */
    border: 2px solid #000000;
    border-radius: 25px !important;
    opacity: .5;
    transition: opacity .25s ease-in;

}

.container {
    /*position: absolute;*/
    /*bottom: 0; top: 0;*/
    left: 0;
    right: 0;
    text-align: center;
    /*width: 60%;*/
    /*    background-color: white;*/
}

#solve:hover,
.btn-design:hover,
#solve.gameSolved {
    opacity: 1;
}

@page {
    border: initial;
    border-radius: initial;
    width: initial;
    min-height: initial;
    box-shadow: initial;
    background: initial;
    page-break-after: always;
    bottom: 0px;
    top: 0px;
    size: 15in 9.25in;
    margin: 0;

    /* margin-top: 130px;*/
    /*
   margin: 27mm 16mm 27mm 16mm;*/
}



@media print {
    body {
        /*transform: scale(2.2);*/

        /*  */


    }

    a[href]:after {
        content: none !important;
    }

    .elementContent {
        display: none !important;
    }
}


@media print {
    #preview-img-canvas {
        display: block;
    }
}

@media screen {
    #preview-img-canvas {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .square {
        font: 13px Calibri;
        width: 16px;
        height: 16px;
    }

    .char {
        font-size: 13px;
        width: 19px;
        height: 19px;
    }
}
