html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 45px;
}

/* Register/Login pages */
.user-validation-field {
    display: inline-block;
    font-size:small;
}
.RegTextbox {
    width: 85%;
    max-height: 19px;
    padding-top: 1px;
    padding-bottom: 1px;
    font-size: 0.84rem;
}
.RegSelect{
    width: 85%;
}
.RequiredField{
    color: red;
}

/* Telerik styles */
/* Tabstrip */
/* Override non-active item color from red to dark gray */
.k-tabstrip-items-wrapper .k-item {
    color: black;
}
.k-tabstrip-items-wrapper .k-item:hover, .k-tabstrip-items-wrapper .k-item.k-hover {
    color: black;
}
.k-tabstrip-items .k-item.k-active {
    border-color: #808080 !important;
    border-width: 2px;
}

/* Kendo grid */
.k-grid td.k-selected,
.k-grid .k-table-row.k-selected > td,
.k-grid .k-table-td.k-selected,
.k-grid .k-table-row.k-selected > .k-table-td {
    background-color: lightblue !important;
}
.k-grid .k-pager {
    background-color: white !important;
}
.k-grid .k-pager-numbers .k-button {   
    color: black;
}
/* Kendo popups */
.k-dialog-actions .k-button {
    margin: 0 auto;
    width: 100px;
    max-width: 100px;
}

.k-dialog-title {
    font-weight: bold;
}

/* Boostrap styles */
.nav-link {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}
.nav-item .active {
    color: #fff !important;
    background-color: #0d6efd;
    border-color: #0d6efd;
    border-radius: 4px;
}
.nav-link:hover {
    color: #000;    
}

/* Top section */
#SiteHeader{
    max-height: 7vh;
}
#JobName {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
.HeaderButton {
    margin-top:0.1vh;
    margin-bottom:0.2vh;
    padding:2px 4px;
}

/* Index page */
.ModelSample {
    max-width: 300px;
    width: 100%;
}
/* Job Edit page */
.DisabledCheckbox {
    pointer-events: none;
    opacity: 0.5;
    accent-color: gray;
}

/* Select page */
.OptionLabel {
    line-height: 23px;
    font-size: 14px;
}
.OptionDropdown {
    min-width: 150px;
    padding-top: 0.12rem;
    padding-bottom: 0.12rem;
}
.OptionDropdown-md {
    max-width: 100px;
    padding-top: 0.12rem;
    padding-bottom: 0.12rem;
}
.OptionDropdown-flexible {
    min-width: 50px;
    padding-top: 0.12rem;
    padding-bottom: 0.12rem;
}
.NumberInput{
    width: 100px;
    max-width: 100px;
    max-height: 19px;
    padding-top: 1px;
    padding-bottom: 1px;
    font-size: 0.84rem;
}
#SelectOptionsTab{
    max-height: 68vh;
    height:auto;
}
.OptionTab {
    max-height: 68vh;
    min-height: 68vh;
}
.ResultCell{
    padding-left: 8px;
}
.HideResult {
    display: none;
}
.accordion-button{
    max-height:8px;
}
#OutputTopDiv {
    height: 30vh;
    max-height: 30vh;
    overflow-y: auto;
    border: 1px solid gray;
    border-radius: 5px;
}
#OutputBottomDiv {
    height: 33vh;
    max-height: 33vh;
    margin-top: 5px;
    max-width: 98vw;
    overflow-x: auto;
    overflow-y: auto;
    border: 1px solid gray;
    border-radius: 5px;
}
#ItemsGrid .k-grid-table td {
    white-space: nowrap;
}
#model-image {
    max-width: 38vw;
    width: 100%;
}
.HeatingColumns {
    background-color: #FF8488;
}
.CoolingColumns {
    background-color: lightblue;
}

.ProductDropdown {
    width: 200px;
    display: inline;
    padding-top: 0.12rem;
    padding-bottom: 0.12rem;
}
/* Model dropdown*/
/*     .dropdown-header {
        border-width: 0 0 1px 0;
        text-transform: uppercase;
    }
    .dropdown-header > span {
        display: inline-block;
        padding: 10px;
        margin-right: 30px;
    }
    .dropdown-header > span:first-child {
        width: 50px;
    } */
.selected-value {
    display: inline-block;
    vertical-align: middle;
    width: 22px;
    height: 22px;
    background-size: 100%;
    margin-right: 5px;
    border-radius: 10%;
    background-repeat: no-repeat;
    background-position: center;
}
#ModelList-list .k-list-item-text {
    line-height: 1em;
    min-width: 300px;
}
/* Material Theme padding adjustment*/
.k-material #ModelList-list .k-list-item-text,
.k-material #ModelList-list .k-list-item-text.k-hover,
.k-materialblack ModelList-list .k-list-item-text,
.k-materialblack ModelList-list .k-list-item-text.k-hover {
    padding-left: 5px;
    border-left: 0;
}
#ModelList-list .k-list-item-text > span {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: inline-block;
    vertical-align: top;
    margin: 10px 10px 10px 5px;
}
#ModelList-list .k-list-item-text > span:first-child {
    -moz-box-shadow: inset 0 0 30px rgba(0,0,0,.3);
    -webkit-box-shadow: inset 0 0 30px rgba(0,0,0,.3);
    box-shadow: inset 0 0 30px rgba(0,0,0,.3);
    margin: 5px;
    width: 135px;
    height: 135px;
    border-radius: 10%;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
}
#ModelList-list h3 {
    font-size: 1.0em;
    font-weight: normal;
    margin: 0 0 1px 0;
    padding: 0;
}
#ModelList-list p {
    margin: 0;
    padding: 0;
    font-size: .8em;
}
#ModelSelectDiv .k-picker-solid, #ModelSelectDiv .k-picker-solid.k-hover {
    background-color: white;
    border: 1px solid lightgray;
}
#ModelList-list .k-selected {
    background-color: #70abe6 !important;
}

/* Submittal page */
.TreeViewContainer {
   /* color: white;*/
    overflow: auto;
}
.SubmittalDocumentsDisplay {
    height: 348px;
    overflow: auto;
   /* color: white;*/
}
.SubmitOptionCell {
    padding-left: 15px;
    padding-right: 15px;
}

/* Email window */
#SubmittalEmailWindow {
    max-width: 700px;
}
.emailLabels {
    padding-bottom: 10px;
}
.emailLeft {
    padding-left: 10px;
    width: 58px;
    padding-right: 15px;
    float: left;
}
.emailRight {
    margin-left: 83px;
    margin-top: -2px;
}

/* Cross-reference page */
.XRefPanel {
    border: 1px solid gray;
    border-radius: 10px;
    padding-top: 5px;
}

/* Parts page */
.PartThumbnail {
    max-width: 20px;
    position: relative;    
    left: 20%;
}
.PartThumbnailCentered {
    max-width: 20px;
    position: relative;
}