
body {
    width: 100%;
    height: 100%;
    margin: 0;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    display: block;
}

header {
    padding-left: 10px; 
    padding-right: 10px;
    min-height: 50px;
    margin-top: 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid #CCC;
}

.header-row {
    display:flex;
    flex-direction: row;
    flex: 1;
    align-items: center;
}

.grey {
    color: rgb(135, 150, 150);
}

.blue {
    color: rgb(0, 132, 255);
}

.green {
    color: rgb(5, 122, 48);
}

.orange {
    color: rgb(255, 140, 0);
}

input[type="date"] {
    border: none;
}

input[type="date"]::-webkit-calendar-picker-indicator {
	filter: invert(.4);
    cursor: pointer;
}

.icon-button {
    cursor: pointer;
    width: 24px;
    height: 24px;
    border-radius: 5px;
    color: white;
    padding: 1px 1px 0 0;
    background-color: rgb(0, 132, 255);
    box-shadow: 0 1px 1px 0 rgba(0,0,0,.14), 0 1px 1px -2px rgba(0,0,0,.2), 0 1px 3px 0 rgba(0,0,0,.12);
}

.cell {
    padding: 5px;
}

.error {
	color: red;
}

/* items flex/expand vertically */
.vbox {
	display: flex;
	flex-direction: column;
}

.hbox {
	display: flex;
	flex-direction: row;
}

.v-center {
    align-items: center; 
}

.h-center {
    justify-content: center;
}

.hidden {
    display: none;
}

.page-error {
    color: red;
    text-align: center;
}

/* The Modal (background) */
.modal {
    position: fixed; /* Stay in place */
    z-index: 10; /* Sit on top */
    /*padding-top: 50%; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    max-width: 400px;
    position: relative;
    top: 35%;
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

.modal-wait {
    z-index: 10; 
    background-color: rgba(0,0,0,0.1); 
}

.modal-dim {
    background-color: rgba(0,0,0,0.1); 
}

.modal-title {
    margin-top: 10px;
	font-size: 1.4rem;
	color:  #42addf;
}

.button-icon {
    cursor: pointer;
    position: relative;
    background-color: rgb(215 215 215);
    border-radius: 50%;
    border: none;
    width: 36px;
    min-width: 36px;
    min-height: 36px;
    margin-bottom: 5px;
}

.button-selected {
    background-color: rgb(2, 168, 243);
}

.button-icon i {
    fill: rgb(70 70 70);
    opacity: .6;
    position: absolute;
    transform: translate(6px, 6px);
}

.button-selected i {
    opacity: 1;
    color: white;
    fill: white;
}

div.btnOne {
    line-height: 20px;
    margin: 13px 0;
    padding: 0.5em 2.5em;
    border: 1px solid #0D82DB;
    color: #0D82DB;
    border-radius: 3px;
    text-decoration: none;
    cursor: pointer;
}
div.btnOne:hover {
    color: #32A5FD;
    border: 1px solid #32A5FD;
}

#settings div {
    font-size: 24px;
}

.settings-item {
    margin: 5px;
    display: flex; 
    flex-direction: row
}

.settings-label {
    color: #414D57;
    width: 150px;
}

.settings-input {
    float: left;
}

.settings-detail {
    color: #414D57;
    margin-left: 10px;
    font-size: .8em !important;
}

#selectedDate {
    font-size: 24px; 
}

@media (max-width: 600px) {
    .form-button {
        padding: 0 2px;
        margin: 0 5px;
        font-size: .9em;
        font-weight: 500;
        min-width: 80px;
    }

    header {
        padding-left: 5px; 
        padding-right: 5px;
    }

    #selectedDate {
        font-size: 20px; 
    }

    .app-only {
        display: none;
    }

    .mobile-only {
        display: inherit;
    }

    .list-item-parts {
        flex-direction: column;
    }

    .item-header {
        flex-direction: row;
    }
}

@media (min-width: 601px) {
    .form-button {
        padding: 0 20px;
        margin: 0 20px;
        font-size: 1em;
        font-weight: 500;
    }

    .app-only {
        display: inherit;
    }

    .mobile-only {
        display: none;
    }

    .list-item-parts {
        flex-direction: row;
    }
    
    .item-header {
        flex-direction: column;
    }
}

@media (max-width: 800px) {
	.status-display {
        max-width: 300px;
        max-height: 400px;
    }
}

@media (min-width: 801px) {
    .status-display {
        max-width: inherit;
        max-height: inherit;
    }
}