/* css reset */

html {
    box-sizing: border-box;
    font-size: 16px;

    font-family: ubuntu mono, consolas, monaco, monospace;
}

*, *:before, *:after {
    box-sizing: inherit;
}

body, h1, h2, h3, h4, h5, h6, p, ol, ul {
    margin: 0;
    padding: 0;
    font-weight: normal;
}

ol, ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

select {
    background-color: white;
    color: black;
}


/* end css reset */

body {
    overflow: hidden;
}

#main {
    position: absolute;
    width: 100%;
    height: 100%;
    margin:0;
    padding:0;
    top:0;
    left:0;
    background-color: black;

    font-family: Arial,Helvetica Neue,Helvetica,sans-serif;
}

#content {
    position: absolute;
    top: 1vw;
    left: 1vw;
    width: calc(100% - 2vw);
    height: calc(100% - 2vw);
    /*background-color: lightblue;*/
    background-color: whitesmoke;

    border-radius: 0.5vw;

    background-image: url("backgroundSmokeGray.jpg");

    background-position: 50% 70%;

    background-repeat: no-repeat;

    background-size: 25%;
}

#divLogo {
    font-family: Courier New,Courier,Lucida Sans Typewriter,Lucida Typewriter,monospace;
    text-align: center;

    width: 30vw;
    height: auto;

    position: relative;
    background-color: whitesmoke;


    left: calc(50% - 15vw);
}

#divLogoTitle {
    font-size: 3vw;
    background-color: inherit;
}

#divLogoSubtitle {
    font-size: 1vw;
    text-align: left;
    background-color: inherit;
}

#divInput {
    /*text-align: center;*/
    padding-top: 2vw;
    width: 60vw;
    left: calc(50% - 30vw);

    position: relative;
    font-size: 0;
    background-color: whitesmoke;
}

.defaultText {
    font-size: 1.5vw;
}

#divInput input[type="text"]::placeholder {

    /* Firefox, Chrome, Opera */
    text-align: center;
}

#txtCardInput {

    width: 32vw;
    font-size: 1.5vw;
}

#txtCardInput::placeholder {
    font-size: 1vw;
}

#divLegalityAutocomplete {
    /*background: red;*/

    width: 32vw;

    position: relative;
    left: calc(50% - 30vw);
    font-size: 0;

    max-height: calc(100% - 17vw);

    overflow-y: auto;
}

/*
#divLegalityAutocomplete::-webkit-scrollbar {
    display: none;
}


#divLegalityAutocomplete {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
*/

.legalityRow {
    font-size: 0;
    height: 2vw;

}

.legalityRow:nth-of-type(even) {background: #CCC}
.legalityRow:nth-of-type(odd) {background: #FFF}

.legalityCardname {
    /*background-color: lawngreen;*/
    display: inline-block;
    width: calc(100% - 3vw);
    white-space: nowrap;
    font-size: 1.5vw;
    overflow-x: clip;

    line-height: 2vw;

    padding-left: 1vw;
}


.legalityResult {
    /*background-color: gold;*/
    display: inline-block;

    width: 3vw;
    height: 2vw;
    text-align: center;

    font-size: 1.5vw;

    /* allowing room for scroll bar */
    padding-right: 0.25vw;

    line-height: 2vw;
}


.illegalResult {
    background-color: red;
    color: white;
}

.legalResult {
    background-color: green;
    color: white;
}

.unknownResult {
    background-color: lightgray;
    color: black;
}



#btnDeckInput {
    font-size: 1.5vw;
    text-align: center;
    width: 24.5vw;
}

#divInputDecklist {
    width: 60vw;

    background-color: slategray;

    position: relative;

    left: calc(50% - 30vw);

    margin-top: 1vw;

    height: 24vw;

    z-index: 5;


    border-radius: 1vw;

    display: none;
}

#divDecklistEntryHeader {
    width: 32vw;

    text-align: center;

    border-width: thin;




    border-bottom-style: solid;

    border-top-style: none;

    border-left-style: none;

    border-right-style: solid;

    line-height: 2vw;

    font-size: 1.5vw;
    height: 2vw;
}

#textareaPasteDecklist {
    width: 32vw;
    height: 18vw;

    font-size: 1vw;
    resize: none;

    /*top: 2vw;*/

    position: relative;

    height: 18vw;
}

#divUploadDecklist {
    text-align: center;
    width: 32vw;
    height: 3vw;
    line-height: 3vw;

    position: absolute;

    top: 21vw;
}

#btnUploadDecklist {
    font-size: 1.5vw;
    width: 24.5vw;
}

#divInputDecklistResults {
    position: absolute;

    top: 0;

    left: 32vw;

    /*background-color: teal;*/

    border-left-style: solid;

    border-width: thin;

    width: 28vw;

    height: 100%;

    overflow-y: hidden;
    overflow-x: hidden;

}



#divLegalityResultsHeader {
    width: 100%;

    text-align: center;

    border-width: thin;


    border-style: none;



    border-bottom-style: solid;

    line-height: 2vw;

    font-size: 1.5vw;
    height: 2vw;
}

#divDecklistLegalityResultsBody {
    /*background-color: fuchsia;*/

    width: 100%;

    height: calc(100% - 2vw);

    overflow-y: auto;
    border-bottom-right-radius: 1vw;
}

/*
#divDecklistLegalityResultsBody div:nth-child(even) {background: #CCC}
#divDecklistLegalityResultsBody div:nth-child(odd) {background: #FFF}
*/


.divDecklistLegalityResultsRow:nth-of-type(even) {background: #CCC}
.divDecklistLegalityResultsRow:nth-of-type(odd) {background: #FFF}

/*
uncomment these to hide the scroll bar on legality results. I'm not sure whether it looks better or not yet. ;)
apparently necessary if rounded corners are desire...
*/

/*
#divDecklistLegalityResultsBody::-webkit-scrollbar {
    display: none;
}


#divDecklistLegalityResultsBody {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
*/

.divDecklistLegalityResultsRow {
    font-size: 0;
    height: 2vw;
}

#footer {
    position: absolute;

    background-color: black;
    color:white;

    border-top-right-radius: 1vw;
    border-top-left-radius: 1vw;

    bottom: 0;

    height: 1.2vw;
    width: 30vw;

    text-align: center;

    margin-left: calc(50% - 15vw);

    font-size: 1.2vw;
}

.infoPanel {
    width: 40vw;

    left: calc(50% - 20vw);

    position: relative;

    background-color: #F5F5F5EE;

    font-size: 1vw;

    top: 2vw;

    height: auto;

    max-height: calc(100% - 12vw);

    overflow-y: auto;

    padding: 1vw;

    border-style: solid;

    border-width: thin;

    border-radius: 1vw;
}

.infoPanel ul {
    list-style-type: disc;
    list-style-position: inside;
    padding: 1vw;

}

#banlistPanel ul {
    padding-top: 0.5vw;

    padding-bottom: 0.5vw;
}

#banlistPanel li {
    font-size: 0.9vw;
}

#banlistPanel p {
    padding-bottom: 1vw;
}

#banlistPanel p::last-of-type {
    padding-bottom: 0vw;
}

#banlistPanel::-webkit-scrollbar {
    display: none;
}


#banlistPanel {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

#supportPanel li {
    padding-bottom: 0.5vw;
}
