html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}
body {
    font-family: sans-serif;
    font-size: 1.25em;
}
button, .helpMimicButton {
    padding: 0.4em;
    width: 50px; 
    height: 40px;
    border: 1px solid rgba(0,0,0,0.4);
    border-radius: 5px;
    margin: 6px;
    background-color: white;
    box-shadow: -2px 2px 2px #222, 2px 2px 2px #222;
    cursor: pointer;
    outline: none;
}
label {
    cursor: pointer;
}
input[type=text], select {
    border-radius: 5px;
    padding: 10px;
    background: white;
}
select {
    padding: 10px;
    background: white;
}
input[type=text]:focus, select:focus {
    box-shadow: -2px 2px 2px lightblue, 2px 2px 2px lightblue;
}


/* ID Styles */
#backtoMySite {
    position: relative;
    bottom: 0;
    width: 100%;
    text-align: center;
    margin-top: 50px;
    padding: 10px 0;
    background-color: rgba(0,0,0,0.5);
}

#backtoMySite a {
    text-decoration: none;
    color: white;
}

#backtoMySite a:hover {
    color: limegreen;
}

#calcProg{
    width: 310px;
    padding: 20px;
    border: 1px solid #000;
    margin-bottom: 2.5%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
    box-shadow: -2px 2px 2px #222, 2px 2px 2px #222;
}
#clearallbut, #clearmembut {
    width: 120px;
    padding: 5px;
}
#clearHistory {
    width: 120px;
}

#divbut, #minusbut, #dotbut, #plusbut {
    font-weight: 700;
}
#equalsbut {
    width: 173px;
}
#noticeZone {
    font-family: fantasy;
    margin-top: 0.5%;
    margin-bottom: 1%;
    text-align: center;
    font-size: 1.5em;
    height: 2em;
}
#moreButtonsPanel, #optionsPanel, #helpPanel, #evalPanel {
    display: none;
    width: 40%;
    border: 1px solid #000;
    border-radius: 5px;
    margin: 0 auto;
    padding: 5px;
    text-align: center;
    background-color: rgb(152,201,250);
    color: #000;
    box-shadow: -2px 2px 2px #222, 2px 2px 2px #222;
}
#optionsPanel td {
    font-size: 0.9em;
    padding: 0.5em;
    width: 100%;
}
#moreButtonsSlideCont, #optionsSlideCont, #helpSlideCont, #evalCont {
    width: 25%;
    border: 1px solid #000;
    border-radius: 5px;
    margin: 0 auto;
    padding: 5px;
    text-align: center;
    background-color: rgb(152,201,250);
    cursor: pointer;
    box-shadow: -2px 2px 2px #222, 2px 2px 2px #222;
}
#optionsSlideCont, #helpSlideCont, #evalCont {
    margin-top: 1%;
}
#moreButtonsPanel, #helpPanel, #evalPanel {
    padding: 0 1%;
}  
#helpPanel table tr:nth-child(1) {
    vertical-align: bottom;
}
#result {
    display: block;
    padding: 10px;
    width: 280px;
    margin-bottom: 10px;
    margin-left: 2%;
    border-radius: 5px;
    border: 1px solid #aaa;
    box-shadow: -2px 2px 2px #222, 2px 2px 2px #222;
}
#roundStyle {
    width: 100%;
}


/* Class Styles */
.buttonrow {
    display: block;
    margin-left: auto;
    margin-right: auto;
}     

.helpMimicButton {
    display: inline-block;
    background: white;
    height: 20px;
}

.smallerTextBut {
    font-size: 0.55em;
}

/* Media Query */
@media screen and (max-width: 767px) {
    #calcProg {
        margin: 5% 0;
    }
    #noticeZone {
        font-size: 0.75em;
    }
    #moreButtonsCont, #optionsSlideCont, #helpSlideCont, #evalCont {
        font-size: 0.75em;
    }
    #moreButtonsPanel, #optionsPanel, #helpPanel, #evalPanel {
        font-size: 1em;
        width: 80%;
    }
    #factbut {
        font-size: 0.7em;
    }
}

@media screen and (min-width: 1367px) {
    button {
        width: 80px;
        height: 60px;
        margin: 5px 10px;
        font-size: 1em;
    }
    #clearallbut, #clearmembut {
        width: 200px;
    }
    #equalsbut {
        width: 279px;
    }
    #result {
        width: 455px;
        font-size: 1em;
    }
    #calcProg {
        width: 500px;
    }
    #log1pbut {
        font-size: 0.9em;
    }
    .smallerTextBut {
        font-size: 0.8em;
    }
}

.article {
    padding:1% 20% 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color:white;
}