﻿* {
   margin: 0px;
   padding: 0px;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
}

body {            
    background-image: url(../images/felt.jpg);
    background-size: cover; 
    overflow: hidden;  
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;   
}

.close-button {
    float: right;
    cursor: pointer;
}

.row {
    width: 100%;
}

.col-3 {
    width: 33.333%;
    float: left;
}

.divider {
    float: left;
    background-color: #ddd;
    width: 1px;
    margin-top: 7px;
    height: 24px;
}

#app-bar {
    background: #222222;
    position: fixed;
    border-bottom: 2px solid black;
    top: 0;
    width: 100%; 
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

#app-bar-buttons {
    display: inline-block;
    margin: 0 auto;
}

#app-bar-buttons button {
    background-color: #222222; /* Green */
    border: none;
    color: #ddd;
    padding: 10px 28px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    -webkit-transition-duration: 0.2s; /* Safari */
    transition-duration: 0.2s;
    cursor: pointer;
}

#app-bar-buttons button:hover {
    background-color: #333; /* Green */
    color: white;
}

#app-bar-buttons button:disabled {
    background-color: #222; /* Green */
    color: #888;
    cursor: auto;
}

#blueScoreDiv {
    color: #2572EB;
}

#greenScoreDiv {
    color: #AED136;
}

#redScoreDiv {
    color: #AD103C;
}

#help-flyout {
    /* display: none; */
    border-radius: 10px;
    overflow-y: scroll;
    position: fixed;
    padding: 20px;
    top: 60px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
    background-color: white;
}

.container {
    height: 100%;
    width: 100%;
    
}

.hidden {
    display: none;
}

#desktop-view {
    margin: 0 auto;    
    /* background:red; */
    display: block;
}

#mobile-view {
    width: 100%;
    background-color: #9C0501;
    display: none;
}

.noselect {
    outline:0;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none;
}


@media only screen and (max-width: 850px), (orientation: portrait), (max-height: 580px) {
    #help-flyout {
        border-radius: 0px;
        top: 40px;
        bottom: 0;
        right: 0;
        left: 0;
    }
    
    #mobile-view {
        display: block;
    }
    #desktop-view {
        display: none;
    }
    body {            
        background-image:none;
        overflow: visible; 
    }

    .score {
        margin-right: auto;
        margin-left: auto;
        margin-bottom: 10px;
        width: 110px;
        height: 110px;
        background-color: #fff;
        font-size: 40px;
        font-weight: bold;
        line-height: 110px;
        text-align: center;
    }

    .subtract {
        margin-right: auto;
        margin-left: auto;
        margin-bottom: 10px;
        width: 110px;
        height: 110px;
        background-color: #fff;
        font-size: 100px;
        font-family: "Times New Roman", Times, serif;
        line-height: 15px;
        text-align: center;
        color: #9C0501;
        cursor: pointer;
        overflow: hidden;
    }

    .add {
        margin-right: auto;
        margin-left: auto;
        margin-bottom: 10px;
        width: 110px;
        height: 110px;
        background-color: #fff;
        font-size: 100px;
        font-family: "Times New Roman", Times, serif;
        line-height: 110px;
        text-align: center;
        color: #9C0501;
        cursor: pointer;
    }
}

@media only screen and (max-width: 360px) {
    .score {
        width: 100px;
        height: 100px;
    }

    .subtract {
        width: 100px;
        height: 100px;
    }

    .add {
        width: 100px;
        height: 100px;
    }
}
