﻿/*QUADRA CSS*/

html {
    display: flex;
    font:  62.5% Lucida Grande, Lucida Sans, Arial, sans-serif;
    min-height: 100%;
}

body {
    border-radius: .5rem;
    box-shadow: 0 .1rem .3rem rgba(0,0,0,0.12), 0 .1rem .2rem rgba(0,0,0,0.24);
    box-sizing: border-box;
    display: flex;
    flex: 1 1 10rem;
    flex-flow: column nowrap;
    margin: .8rem;
    min-width: 100rem;
}

button, input, select,
textarea {
    font: 1.1rem normal Lucida Grande, Lucida Sans, Arial, sans-serif;
}
h1 {
    font-size: 1.7rem;
    text-align: center;
}

label, input, select,
textarea { box-sizing: border-box; }

.containerForQuadra {
    margin-left: auto;
    margin-right: auto;
    width: 100rem;
}

.container-grid-flex {
    box-sizing: border-box;
    display: flex;
    flex: 1 1 10rem;
    flex-flow: column nowrap;
    min-height: 0;
}

.dialog-container-grid-flex {
    box-sizing: border-box;
    display: flex;
    flex-flow: column nowrap;
    min-height: 0;
}

.container-flex {
    display: flex;
    flex-flow: row nowrap;
    height: 100%;
    min-height: 0;
}

.jqgrid-flex-container{
    flex: 1 0 35rem;
}

.container-grid-flex.ui-tabs-panel {
    display: flex; /*Little bit of a hack to override some jquery ui stlying*/
    padding: 0;
}

.resize-fix-class{
    overflow-y: hidden;
}

.hidden-at-start {
    display: none;
}

.page-title {
    background: #0097e4/*#0088cd*/;
    color: #fff;
    padding: .2rem;
}
/*button {
    width: 13.5rem;
}*/

/*Needed because jqgrid can't be bothered to have a proper setup for wrapping header columns*/
.ui-jqgrid-labels th.ui-th-column div {
    white-space: normal !important;
    height: auto !important;
    padding: 2px;
}

[type="checkbox"],
[type="radio"] {
    margin: .4rem;
}

.input-standard {
    width: 15rem;
}

.text {
    height: 2.4rem;
    margin-bottom: .5rem;
    padding: .4rem;
}

.text:disabled {
    border: solid 0 black;
}

.text[readonly], .text[readonly=readonly], .text:disabled {
    background: #EEEEF9;
}

input.text[readonly],
select.text[readonly],
textarea.text[readonly] {
    background: #EEEEF9;
}


input[type="submit"],
input[type="button"],
.ui-dialog-buttonset button /*jQuery UI error dialog button fix*/,
.button {
  border: none;
  -webkit-border-radius: .5rem;
  border-radius: .5rem;
  cursor: pointer;
  font: bold 1.1rem Verdana, sans-serif;
  height: 3.2rem;
  margin: .5rem;
}

.button-large {
  width: 16.4rem;
}

.button-medium {
  width: 12.4rem;
}

.button-small {
  width: 6.4rem;
}

/*.ui-dialog-buttonset button {
  width: 124px;
}*/

.button-primary
/*.ui-dialog-buttonset button jQuery UI error dialog button fix*/{
  background-color: #3e96e1;
  -moz-box-shadow: 0 .2rem 0 #337fbe;
  -webkit-box-shadow: 0 .2rem 0 #337fbe;
  box-shadow: 0 .2rem 0 #337fbe;
  color: white;
}

.button-primary:hover
/*.ui-dialog-buttonset button:hover jQuery UI error dialog button fix*/{
  background-color: #3a6cb3;
  -moz-box-shadow: 0 .2rem 0 0 #354a64;
  -webkit-box-shadow: 0 .2rem 0 0 #354a64;
  box-shadow: 0 .2rem 0 0 #354a64;
  color: #e9e8e6;
}

.button-primary:disabled,
.button-secondary:disabled,
.button-primary-null {
  color: #a7a9ac;
  background-color: #bbbdbf;
  -moz-box-shadow: 0 .2rem 0 0 #a7a9ac;
  -webkit-box-shadow: 0 .2rem 0 0 #a7a9ac;
  box-shadow: 0 .2rem 0 0 #a7a9ac;
  cursor: default;
}

.button-primary-jqGrid {
	height: 1.8rem;
	margin: -.1rem 0 0 0;
}

.button-secondary {
  color: #3e96e1;
  background-color: #e9e8e6;
  -moz-box-shadow: 0 .2rem 0 #a7a9ac;
  -webkit-box-shadow: 0 .2rem 0 #a7a9ac;
  box-shadow: 0 .2rem 0 #a7a9ac;
}

.button-secondary:hover {
  color: #4277bb;
  background-color: #d0d2d3;
  -moz-box-shadow: 0 .2rem 0 #354960;
  -webkit-box-shadow: 0 .2rem 0 #354960;
  box-shadow: 0 .2rem 0 #354960;
}

.button-primary:active, .button-secondary:active {
  -webkit-transform: translateY(.2rem);
  -moz-transform: translateY(.2rem);
  -ms-transform: translateY(.2rem);
  -o-transform: translateY(.2rem);
  transform: translateY(.2rem);
}

.button-sort {
  color: #d0d2d3;
  background-color: #85868a;
  height: 3.5rem;
}

.button-sort-single {
  border-radius: .5rem;
}

.button-sort-left {
  border-radius: .5rem 0 0 .5rem;
  margin-right: -0.6rem;
}

.button-sort-right {
  border-radius: 0 .5rem .5rem 0;
  margin-left: -.6rem;
}

.button-sort-active {
  color: #fff;
  background-color: #3e96e1;
}

.small-button {
    height: 35px !important;
    width: 125px !important;
}
/*input[type="text"],
input[type="password"]/*,
select {
  border: solid #bbbdbf;
  border-radius: 1rem;
  border-width: 0 0 .2rem;
  color: #4277bb;
  font: 1.1rem Verdana,sans-serif;
  min-width: 10rem;
  padding: 0 1rem;
}*/
/* A class used by the jQuery UI CSS framework for their dialogs. */
.ui-front {
    z-index:1000000 !important; /* The default is 100. !important overrides the default. */
}

.refnum {
    bottom: .1rem;
    color: #005994;
    cursor: pointer;
    font-family: Verdana,sans-serif;
    font-size: 0.7em;
    font-weight: bold;
    left: .2rem;
    position: relative;
    text-decoration: underline;
}

.refbody {
    background-color: #FFFFFF;
    border: .1rem solid;
    bottom: .5rem;
    display: none;
    font-family: Verdana,sans-serif;
    font-size: 1em;
    left: 2.5rem;
    line-height: 1.1;
    max-width:20em;
    min-width: 20em;
    overflow: auto;
    padding: .5rem;
    position: absolute;
    word-wrap: break-word;
    z-index: 9999;
    /*display:none;*/
}

.refSpan {
    height:10px;
    width:10px;
    left:20px;
    background-image: url("../images/helptooltip.png");
    display: inline-block;
}

.jqgrow.ui-widget-content.ui-row-ltr.ui-state-error {
	border-right: .1rem solid #a6c9e2;
	border-bottom: .1rem solid #a6c9e2;
	background: #fef1ec url(images/ui-bg_glass_95_fef1ec_1x400.png) 50% 50% repeat-x;
	color: #cd0a0a;
}

/**********************************************************************************
 jMenu.ascx StyleSheet
***********************************************************************************/
.demoFormat {
    align-self: center;
    color: red;
    display: block;
    font-weight: bold;
    margin: 0;
}

.quadra-nav {
    display: flex;
    height: 4.7rem;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.quadra-nav a {
    align-items: center;
    background-color: transparent;
	box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: flex;
    flex: 1;
    font-size: 1.2rem;
    font-weight: bold;
    height: 100%;
    text-decoration: none;
}

.quadra-nav-job-id {
    padding: 0 5%;
    overflow: hidden;
    white-space: pre;
    text-overflow: ellipsis;
}

.quadra-nav-menu {
    box-shadow: 0 3px .6rem rgba(0,0,0,0.16), 0 3px .6rem rgba(0,0,0,0.23);
    list-style: none;
    min-width: 15rem;
    position: absolute;
    transition: visibility 0ms linear 750ms;
    visibility: hidden;
	z-index: 100000;
}

.quadra-nav-menu,
.menu-item {
    box-sizing: border-box;
    padding: 0;
}

.quadra-nav-image {
    align-items: center;
    display: flex;
    flex: 1 0 auto;
}

.menu-item-start-image {
    margin: 0 0 0 .5rem;
}

.menu-item-end-image {
    color: #fff;
    justify-content: flex-end;
    margin: 0 .5rem 0 0;
    vertical-align: text-top;
}

.menu-item {
    align-items: center;
    display: flex;
    flex: 0 1 11.5rem;
    position: relative;
    justify-content: center;
}

.quadra-nav-menu-item a{
    padding: 0 0 0 .5rem;
}

.menu-item-top > a {
    justify-content: center;
}

.menu-item-top:hover {
    background-color: #0097e4;
}

.quadra-nav-job-id-li {
    flex: 1;
    min-width: 18rem;
    max-width: 30rem;
}

.quadra-nav-text {
    margin: 0 0 0 1.5rem;
    width: 3.5rem;
}

.quadra-nav-menu-item {
    background: #0097e4 no-repeat;
    height: 2.9rem;
}

.quadra-nav-menu-item a {
    font-size: 1.1rem;
    text-transform: none;
    z-index: 5;
}

.has-sub-menu {
    position: relative;
}

.quadra-top-child-menu {
    left: 0;
    top: 100%;
    width: 100%;
}

.quadra-lower-child-menu {
    left: 100%;
    top: 0;
}

.quadra-nav-menu .has-sub-menu {
    background: url('../images/arrow_right.png') no-repeat right center #0097e4;
}

.has-sub-menu:hover > .quadra-nav-menu {
    transition: visibility 0ms linear 0ms;
    visibility: visible;
}

.quadra-nav:hover .has-sub-menu:not(:hover) .quadra-nav-menu {
    display: none;
    transition: visibility 0ms linear 0ms;
}

/*horizontal divider for menu*/
.quadra-nav-menu-item:not(.arrow):not(:last-child)::after {
    content: " ";
    bottom: 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
    left: 7.5%;
    position: absolute;
    width: 85%;
}

/*overlay for menu item*/
.quadra-nav-menu-item:hover:not(.arrow)::before {
    background-color: rgba(0, 0, 0, 0.1);
    content: " ";
    left: 0;
    height: 100%;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 3;
}

.arrow {
    background: url('../images/arrow_down.png') no-repeat center center #0097e4;
    height: .6rem;
}

.quadra-nav-erth-logo {
    height: 4rem;
    border: 0;
}

.menu-top {
  background-color: #0097e4;
  position: relative;
}

.menu-top-transparency {
  content: " ";
  background: linear-gradient(110deg, transparent 85px, rgba(0, 0, 0, 0.1) 85px);
  height: 100%;
  position: absolute;
  width: 100%;
}

.top-menu-accent {
  background-color: #D3D3D3;
  height: .8rem;
}

.quadra-nav-vertical-divider {
    align-self: center;
    border-right: 1px solid rgba(255,255,255,.12);
    height: 75%
}

.quadra-nav-erth-text {
    align-self: flex-start;
    font-size: 0.8rem;
    font-style: italic;
    font-weight: bold;
    margin: .4rem .4rem 0 0;
}

.quadra-nav-link-active::after {
    background-color: #74A63E;
    bottom: -.3rem;
    content: " ";
    height: .3rem;
    left: 0;
    position: absolute;
    width: 100%;
}

.ui-datepicker-current.ui-state-default.ui-priority-secondary.ui-corner-all {
    font-weight: bold;
    opacity: 1;
}

.ui-pg-div {
    align-items: center;
    display: flex;
}
/* Workaround to prevent showing unnecessary scrollbars when a dialog is opened (known issue on the current version of jquery-ui: 1.8.x) */
.ui-widget-overlay {
   position: fixed;
}

.sk-cube-grid {
    width: 48px;
    height: 48px;
    margin: 100px auto;
}

.sk-cube-grid .sk-cube {
    background-image: url("../images/quadra-Q-blue.svg");
    background-size: 48px 48px;
    width: 16px;
    height: 16px;
    
    float: left;
    -webkit-animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out;
            animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out; 
}
.sk-cube-grid .sk-cube1 {
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
    background-position: 0 0;
}
.sk-cube-grid .sk-cube2 {
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s;
    background-position: -16px 0;
}

.sk-cube-grid .sk-cube3 {
    -webkit-animation-delay: 0.4s;
    animation-delay: 0.4s;
    background-position: -32px 0;
}
.sk-cube-grid .sk-cube4 {
    -webkit-animation-delay: 0.1s;
    animation-delay: 0.1s;
    background-position: 0 -16px;
}
.sk-cube-grid .sk-cube5 {
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
    background-position: -16px -16px;
}
.sk-cube-grid .sk-cube6 {
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s;
    background-position: -32px -16px;
}
.sk-cube-grid .sk-cube7 {
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
    background-position: 0 -32px;
}
.sk-cube-grid .sk-cube8 {
    -webkit-animation-delay: 0.1s;
    animation-delay: 0.1s;
    background-position: -16px -32px;
}
.sk-cube-grid .sk-cube9 {
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
    background-position: -32px -32px;
}
#itemTypeFilterButtonContainer > .ui-state-active-alt {
    border: 1px solid #79b7e7;
    background: #f5f8f9 url(images/ui-bg_inset-hard_100_f5f8f9_1x100.png) 50% 50% repeat-x;
    font-weight: bold;
    color: #e17009;
}

@-webkit-keyframes sk-cubeGridScaleDelay {
  0%, 70%, 100% {
    -webkit-transform: scale3D(1, 1, 1);
            transform: scale3D(1, 1, 1);
  } 35% {
    -webkit-transform: scale3D(0, 0, 1);
            transform: scale3D(0, 0, 1); 
  }
}

@keyframes sk-cubeGridScaleDelay {
  0%, 70%, 100% {
    -webkit-transform: scale3D(1, 1, 1);
            transform: scale3D(1, 1, 1);
  } 35% {
    -webkit-transform: scale3D(0, 0, 1);
            transform: scale3D(0, 0, 1);
  } 
}

/*Checkbox CSS*/
/*input[type="checkbox"],
input[type="radio"] {
  display: none;
}

input[type="checkbox"] + label span,
input[type="radio"] + label span  {
  background: transparent -19px top no-repeat;
  cursor: pointer;
  display: inline-block;
  height: 8px;
  margin: -1px 4px 0 0;
  vertical-align: middle;
  width: 8px;
}

input[type="checkbox"] + label,
input[type="radio"] + label {
  cursor: pointer;
}

input[type="checkbox"]:checked + label span {
  background: #bbbdbf;
}

input[type="checkbox"] + label span ,
input[type="checkbox"]:checked + label span {
  border: 2px solid #bbbdbf;
  border-radius: 5px;
  padding: 2px;
}

input[type="radio"]:checked + label span {
  background: #337fbe;
}

input[type="radio"] + label span ,
input[type="radio"]:checked + label span {
  border: 2px solid #337fbe;
  border-radius: 10px;
  padding: 1px;
}

input[type="checkbox"] + label span ,
input[type="checkbox"]:checked + label span,
input[type="radio"] + label span ,
input[type="radio"]:checked + label span {
  -webkit-background-clip: content-box;
  -moz-background-clip: content-box;
  background-clip: content-box;
}*/

@media all and (-ms-high-contrast:none)
{         
    html {
        display: flex;
        font: 62.5% Lucida Grande, Lucida Sans, Arial, sans-serif;
        height: 100%; 
        min-height: 100%;
    }
}

.assembly-thumbnail-images-select {
    width: 190px;
    height: 430px;
}

.assembly-thumbnail-images-select option {
background-color: none;
width: 150px;
height: 150px;
border-color: black;
border-style: solid;
background-repeat: no-repeat;
background-position: center;
background-size: contain;
}

.assembly-thumbnail-images-select option:checked {
    border-color: red;
}

div.horizontalscroll {
    margin: 4px, 4px;
    padding-top:15px;
    width: 300px;
    height: 120px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
}

div.horizontalscroll img {
    width: 100px;
    height: 100px;
}

div.horizontalscroll img.selectedimg {
    border: medium solid black;
}

.sc-div-logout-content {
    align-content: space-around;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}

.sc-span-logout {
    flex: 1 0 100%;
}

.sc-button-logout {
    flex: 0 0 8rem;
    height: 1rem;
    margin: 0;
}