﻿h1 {
    text-transform: none;
}

h2 {
    font-size: 1.8em;
    padding-bottom: 30px;
    text-align: center;
}

.subPageContainer {
    text-align: center;
    padding-top: 40px;
}

    .subPageContainer > img {
        max-height: 50px;
    }

hr.grey {
    border: 1px solid #c0c1bf;
    margin: 40px auto;
}

.tabContainer {
    display: flex;
}

.tabItem {
    margin-right: 20px;
    margin-bottom: 20px;
    transition: background-color ease-in 0.25s;
}

.instantInputContainer{
    display: flex;
    justify-content: space-between;
}
.instantInputBox{
    flex: 1 1 0;
}
.instantInputLabel{
    font-size: 1.5em;
    margin-bottom: 10px;
}
.instantInputBox{
    margin-right: 20px;
}
.instantInputBox:last-of-type{
    margin-right: 0;
}
#instantHistoryList{
    display: flex;
}
.instantMeasureItemDelete {
    width: 40px;
    position: absolute;
    right: 5px;
    top: 5px;
    opacity: 0;
    transition: opacity 0.25s ease-in;
    cursor: pointer;
}
.instantMeasureItem {
    position: relative;
    min-width: 200px;
    padding: 10px;
    margin-right: 10px;
    border-radius: 10px;
}
.instantMeasureItem:nth-of-type(2n){
    background-color: #eee;
}
.instantMeasureItem:hover > .instantMeasureItemDelete{
    opacity: 1;
}
.selectedTab {
    background-color: #9cd3f7 !important;
}
.v360MeasureInputContainer{
    display: none;
}
p{
    margin: 0 0 10px 0;
}
.subText{
    
}
.subText ol{
    list-style-position: inside;
}
.subText li{

}
.generalViewContainer {
    overflow-x: auto;
}
#generalView {
    width: 1080px;
}
.helpItem {
    align-items: flex-start;
    flex: 1 1 0;
}
.helpItem > img{
    margin-right: 5px;
}

.errorInput {
    border: 2px dotted red;
}
.errorCol::after {
    color: red;
    content: attr(error-message);
}
.linkButtonNoMargin {
    background-color: #56a4d8;
    color: white;
    padding: 10px 60px;
    border-radius: 10px;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 1em;
    display: inline-block;
    text-decoration: none;
}
.v360buttonRow > .tabItem {
    background-color: #56a4d8;
    color: white;
    padding: 10px 60px;
    border-radius: 10px;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 1em;
    border: none;
    text-decoration: none;
    display: inline-block;
}
.v360buttonRow{
    text-align: center;
    padding-top: 20px;
}
.v360TabContainer {
    display: flex;
    flex-grow: 1;
}

.v360TabItem {
    flex: 1 1 0;
}

.v360tab {
    font-size: 12px;
    position: relative;
}

.v360tabDay > img {
    max-width: 100%;
}

.v360TabHeaderContainer {
    position: relative;
}

.v360tabHeader {
    background-color: #56a4d8;
    color: white;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 0;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border: 1px solid silver;
    text-align: center;
    cursor: pointer;
    position: relative;
}

.v360tabDay {
    cursor: pointer;
}
.v360row, .v360lingerRow {
    display: flex;
}
.v360lingerRow > .v360tabCol{
    padding: 0;
    display:flex;
    flex-direction: column;
    justify-content: space-evenly;
}
.v360lingerRow > .v360tabCol > div{
    border-bottom: 1px solid silver;
    width: 100%;
}
.v360lingerRow {
    position: absolute;
    width: 100%;
    top: 100%;
    left: 0;
    height: 330px;
    z-index: -1;
}
.v360tabCol, .v360tabDay {
    border: 1px solid silver;
}

.v360tabCol {
    flex: 1 1 0;
    text-align: center;
    padding: 15.8px 0;
}
    .v360tabCol:nth-of-type(2) {
        background-color: #e0e4af;
    }

    .v360tabCol:nth-of-type(4) {
        background-color: #c4d6e4;
    }

    .v360tabCol:nth-of-type(6) {
        background-color: #d0d1e0;
    }

.v360aspect {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
}

.v360vertMid {
    align-self: center;
}

.v360graphRow {
    position: relative;
    display: flex;
    height: 350px;
    margin-top: 10px;
}

.hiddenInput{
    display: none;
}

.v360graph {
}

.v360Biggraph {
    position: relative;
}

.canvasContainer {
    position: relative;
    width: 100%;
}

.v360MeasureInputContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: none;
}

.v360MeasureInputContent {
    background-color: white;
    margin: 5% auto auto;
    padding: 20px;
    width: 60%;
}

#foodRow {
    display: none;
}

.v360inputRow {
    margin: 10px 0;
}

.v360textPadding {
    padding: 15px 0;
}

.datepickerContainer > .ui-datepicker-inline {
    position: absolute;
    z-index: 10;
}

.unhealthyBloodSugar {
    font-weight: bold;
    color: red;
}
.v360ViewTabLeft, .v360ViewTabLeftMobile {
    font-size: 12px;
    text-align: right;
    display: inline-block;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.v360ViewTabLeftMobile {
    display: none;
    position: absolute;
}

.v360ViewTabs {

}

.absoluteButton {
    position: absolute;
    height: 70%;
    right: 5px;
    top: 0;
    bottom: 0;
    margin: auto;
    z-index: 100;
}

.unregisteredText{
    
}
.textCenter{
    text-align: center;
}

.v360ViewTabLeftItem {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    background-color: white;
    box-sizing: border-box;
    display: table;
    float: right;
    padding: 10px 5px;
    width: 55px;
}

    .v360ViewTabLeftItem > div{
        display: table-cell;
        vertical-align: middle;
    }
.graphLeft {
    font-size: 0.64em;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.graphHigh {
    padding-bottom: 95px;
}

.graphNormal {
    padding-bottom: 55px;
    font-weight: bold;
}

.graphLow {
    padding-bottom: 60px;
}

.v360GraphTextHigh, .v360GraphTextNormal, .v360GraphTextLow {
    font-size: 10px;
    position: absolute;
    left: 1.6%;
}

.v360GraphTextHigh {
    top: 25%;
}

.v360GraphTextNormal {
    bottom: 33%;
    font-weight: bold;
}

.v360GraphTextLow {
    bottom: 17%;
}

.v360MeasureInputHeader {
    font-size: 26px;
}

.greenLine {
    background-color: rgba(0, 203, 0, 0.2);
    bottom: 108px;
    height: 57px;
    position: absolute;
    width: 100%;
    display: none;
    z-index: -1;
}
.graphLabel {
    font-size: 0.6em;
    position: absolute;
    left: 33px;
    bottom: 0;
}
.vertLine, .vertLineSmall {
    height: 100%;
    position: absolute;
    z-index: -2;
    width: 47px;
    border-left: 2px solid silver;
    border-right: 2px solid silver;
}

    .vertLine:nth-of-type(2) {
        left: 83px;
        background-color: #e0e4af;
    }

    .vertLine:nth-of-type(3) {
        left: 180px;
        background-color: #c4d6e4;
    }

    .vertLine:nth-of-type(4) {
        left: 278px;
        width: 46px;
        background-color: #d0d1e0;
    }

    .vertLine:nth-of-type(5) {
        left: 424px;
        width: 46px;
        background-color: #e0e4af;
    }

    .vertLine:nth-of-type(6) {
        left: 521px;
        width: 46px;
        background-color: #c4d6e4;
    }

    .vertLine:nth-of-type(7) {
        left: 618px;
        width: 46px;
        background-color: #d0d1e0;
    }

    .vertLine:nth-of-type(8) {
        left: 764px;
        width: 46px;
        background-color: #e0e4af;
    }

    .vertLine:nth-of-type(9) {
        left: 861px;
        background-color: #c4d6e4;
    }

    .vertLine:nth-of-type(10) {
        left: 958px;
        background-color: #d0d1e0;
    }

.v360canvas {
    height: 100%;
    position:relative;
}
.borderedTable {
    display: grid;
    grid-template-columns: repeat(21, 1fr);
    position: absolute;
    left: 0;
    top: 0;
    width: 1020px;
    height: 335px;
    /*z-index: -3;*/
    padding-left: 36px;
}
    .borderedTable > div {
        background-color: red;
        border-top: 2px solid silver;
        border-left: 2px solid silver;
    }

.vertLineSmall {
    width: 13.7%;
    border-left: 2px solid silver;
    border-right: 2px solid silver;
}

    .vertLineSmall:nth-of-type(2) {
        left: 13.9%;
        background-color: #e0e4af;
    }

    .vertLineSmall:nth-of-type(3) {
        left: 42.5%;
        background-color: #c4d6e4;
    }

    .vertLineSmall:nth-of-type(4) {
        left: 71%;
        background-color: #d0d1e0;
    }

.p360Info {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 10px;
    margin-top: 5px;
}

.v360InfoImage {
    max-width: 100%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.helpContainer{
    padding: 20px 0;
}


@media only screen and (max-width: 850px) {
    .v360content{
        margin: 0 10px;
    }
    .instantCanvas{
        height: unset;
        overflow-x: auto;
    }
    .instantInputContainer{
        flex-direction: column;
    }
    .instantInputBox{
        margin: 0;
    }
    .instantMeasureItem{
        min-width: 220px;
    }
    .instantMeasureItemDelete{
        opacity: 0;
    }
    #instantHistoryList{
        flex-wrap: wrap;
    }
    .tabContainer{
        flex-direction: column;
    }
    .v360buttonRow > .tabItem{
        display: block;
        text-align: center;
    }
    .v360ViewTabLeft {
        width: 10%;
    }
    .helpContainer {
        flex-direction: column;
        padding: 0 20%;
        text-align: center;
        align-items: center;
    }
    .helpItem{
        padding-bottom: 40px;
    }
    .v360TabContainer {
    }
    .graphLeft {
        font-size: 7px;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding-left: 15px;
    }
    .graphLow {
        padding-bottom: 52px;
    }
}