﻿@font-face {
  font-family: 'IcoMoon';
  font-style: normal;
  font-weight: normal;
  src: url('./metro/font/IcoMoon.eot');
  src: url('./metro/font/IcoMoon.svg#IcoMoon') format('svg'), url('./metro/font/IcoMoon.eot?#iefix') format('embedded-opentype'), url('./metro/font/IcoMoon.woff') format('woff'), url('./metro/font/IcoMoon.ttf') format('truetype');
}

#menu li { display:inline-block; width: auto; }
#menu li span { display:inline-block; position:relative;}
#menu li:hover {
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #dfdfdf), color-stop(1, #ededed) );
	background:-moz-linear-gradient( center top, #dfdfdf 5%, #ededed 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dfdfdf', endColorstr='#ededed');
	background-color:#dfdfdf;
}

.form-horizontal .controls {
    padding: 5px;
    margin-right: 10px;
}

.sidebar {
    position: absolute;
    top: 50px;
    height: 0px;
    width: 0px;
    overflow: hidden;
    left: 0px;
    padding: 0;
    z-index: 10;
}

.sidebar.on {
    width: 70%;
    -webkit-transition: all 1s ease 0s;
    -moz-transition: all 1s ease 0s;
    -o-transition: all 1s ease 0s;
    transition: all 1s ease 0s;
}

.leftFloat {
    float: left;
}
.rightFloat {
    float: right;
}

.textValues {
	margin: 0 4px 0 4px;
	color: rgb(47, 123, 163);
}

button .selectButton {
	width: 75px;
	display: block;
	margin: 2px auto;
}

button:hover {
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #dfdfdf), color-stop(1, #ededed) );
	background:-moz-linear-gradient( center top, #dfdfdf 5%, #ededed 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dfdfdf', endColorstr='#ededed');
	background-color:#dfdfdf;
}

button[disabled]:hover
{
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #bdbdbd), color-stop(1, #dfdfdf) );
	background:-moz-linear-gradient( center top, #bdbdbd 5%, #dfdfdf 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#dfdfdf');
	background-color:#bdbdbd;
}

.dialogTitleBorder
{
    background-color: #3399FF;
    border: 1px solid rgb(0, 0, 0);
    width: inherit;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    height: 30px;
    margin: 0 0 10px 0;
}

.borderTitleText 
{
    font-size: 120%;
    vertical-align: middle;    
    line-height: 30px;
    color: white;
    float: left;
}

.mediumProductSquares
{ 
    margin:10px;
    width: 98%;
    float: left;
    border: white solid 1px;
    -moz-border-radius: 10px; 
    -webkit-border-radius: 10px; 
    border-radius: 10px;
}

.mediumProductSquares:hover 
{
    border: #3399FF;     
    -moz-box-shadow:8px 8px 5px #655e5e;
    -webkit-box-shadow:8px 8px 5px #655e5e;
    box-shadow:8px 8px 5px #655e5e;
}

.cartItems
{
    padding: 4px;
    margin:10px;
    overflow-y: scroll;
    width: 98%;
    height: 280px;
    border: #3399FF solid 1px;     
    -moz-box-shadow:8px 8px 5px #655e5e;
    -webkit-box-shadow:8px 8px 5px #655e5e;    
    box-shadow:8px 8px 5px #655e5e;
    -moz-border-radius: 10px; 
    -webkit-border-radius: 10px; border-radius: 10px;
}

html {
  position: relative;
  min-height: 100%;
  margin-right: 5px;
  margin-left: 3px;
}
body {
  /* Margin bottom by footer height */
  margin-bottom: 30px;
}
footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 30px;
  background-color: #f5f5f5;
  opacity: 0.4;
}

/*
Command buttons.
*/

.win-command {
  display: inline-block;
  height: auto;
  margin: 0 5px;
  font-size: 9pt;
  font-weight: normal;
  line-height: 16px;
  letter-spacing: 0.02em;
  text-align: center;
  vertical-align: top;
  cursor: pointer;
  background: none;
  border: 0;
  background-clip: border-box;
}

/*
Command button icons.
*/

.win-commandicon {
  display: inline-block;
  width: 42px;
  height: 42px;
  min-width: 0;
  min-height: 0;
  padding: 0;
  font-size: 24px;
  line-height: 40px !important;
}

.win-commandimage {
  display: inline-block;
  width: 42px;
  height: 42px;
  letter-spacing: 0;
  vertical-align: middle;
}

/*
Command button "ring".
*/

.win-commandring {
  border-style: solid;
  border-width: 2px;
  -webkit-border-radius: 50%;
     -moz-border-radius: 50%;
          border-radius: 50%;
  background-clip: border-box;
}

a:hover:active .win-commandring,
a[aria-checked=true] .win-commandring,
a[aria-checked=true]:active .win-commandring,
a[aria-checked=true]:disabled .win-commandring,
a[aria-checked=true]:disabled:active .win-commandring,
button:hover:active .win-commandring,
button[aria-checked=true] .win-commandring,
button[aria-checked=true]:active .win-commandring,
button[aria-checked=true]:disabled .win-commandring,
button[aria-checked=true]:disabled:active .win-commandring {
  background-clip: border-box;
}

/*
Command button labels.
*/

a.win-command .win-label,
button.win-command .win-label {
  position: relative;
  display: block;
  width: 100%;
  padding-right: 4px;
  padding-left: 4px;
  margin-top: 3px;
  overflow: hidden;
  line-height: 15px;
  word-break: keep-all;
  word-wrap: break-word;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

a.win-command,
a.win-command:hover {
  text-decoration: none;
}

.win-command.win-command-large .win-commandicon {
  width: 60px;
  height: 60px;
  font-size: 40px;
  line-height: 60px !important;
  text-align: center;
}

.win-command.win-command-small .win-commandicon {
  width: 24px;
  height: 24px;
  font-size: 16px;
  line-height: 24px !important;
}

.my-container [class^="col-"] {
    padding-right: 1px;
}

.tableheader {
    background-color: #0077ff ;
    color: white;
}

.dataTables tbody tr {
    min-height: 25px; 
}


/*
.multiselect {
    width:20em;
    height:10em;
    border:solid 1px #c0c0c0;
    overflow:auto;
}
 
.multiselect label {
    display:block;
}
 
.multiselect-on {
    color:#ffffff;
    background-color:#000099;
}
*/

.blinking {
    -webkit-animation-name: blinker;
    -webkit-animation-duration: 1s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;

    -moz-animation-name: blinker;
    -moz-animation-duration: 1s;
    -moz-animation-timing-function: linear;
    -moz-animation-iteration-count: infinite;

    animation-name: blinker;
    animation-duration: 1s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@-moz-keyframes blinker {  
    0% { opacity: 1.0; }
    50% { opacity: 0.0; }
    100% { opacity: 1.0; }
}

@-webkit-keyframes blinker {  
    0% { opacity: 1.0; }
    50% { opacity: 0.0; }
    100% { opacity: 1.0; }
}

@keyframes blinker {  
    0% { opacity: 1.0; }
    50% { opacity: 0.0; }
    100% { opacity: 1.0; }
}

.dropdown-submenu {
    position:relative;
}
.dropdown-submenu>.dropdown-menu {
    top:0;
    left:100%;
    margin-top:-6px;
    margin-left:-1px;
    -webkit-border-radius:0 6px 6px 6px;
    -moz-border-radius:0 6px 6px 6px;
    border-radius:0 6px 6px 6px;
}
.dropdown-submenu:hover>.dropdown-menu {
    display:block;
}
.dropdown-submenu>a:after {
    display:block;
    content:" ";
    float:right;
    width:0;
    height:0;
    border-color:transparent;
    border-style:solid;
    border-width:5px 0 5px 5px;
    border-left-color:#cccccc;
    margin-top:5px;
    margin-right:-10px;
}
.dropdown-submenu:hover>a:after {
    border-left-color:#ffffff;
}
.dropdown-submenu.pull-left {
    float:none;
}
.dropdown-submenu.pull-left>.dropdown-menu {
    left:-100%;
    margin-left:10px;
    -webkit-border-radius:6px 0 6px 6px;
    -moz-border-radius:6px 0 6px 6px;
    border-radius:6px 0 6px 6px;
}

textarea {
    /*border: none;*/
    width: 100%;
    -webkit-box-sizing: border-box; /* <=iOS4, <= Android  2.3 */
       -moz-box-sizing: border-box; /* FF1+ */
            box-sizing: border-box; /* Chrome, IE8, Opera, Safari 5.1*/
}

.clsProblem {
    border: none;
    height: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.clsRecording {
    border: none;
    height: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.clsComment {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin-bottom: -4px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.tdRecording {
    vertical-align:top;
    text-align:left;
    padding:2px;
}

body .modal-dialog {
  width: 768px;
}

.table-responsive {
    width: 100%;
    margin-bottom: 15px;
    overflow-y: hidden;
    overflow-x: scroll;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    border: 1px solid #DDD;
    -webkit-overflow-scrolling: touch;
}

.table#works > tbody > tr
{
    min-height:30px;
}
.fixed-column 
{
    position: absolute;
    display: inline-block;
    height:100%;
    width: 150px;
}

/* Login */
.login-page {
    /* -ms-flex-align: center; */
    align-items: center;
    background-color: #e9ecef;
    /* display:-ms-flexbox; */
    display:flex;
    /* -ms-flex-direction:column; */
    flex-direction: column;
    height: 80vh;
    -ms-flex-pack: center;
    justify-content: center;
}

.login-box {
  width: 360px;
}

.login-card-body {
    background-color: #fff;
    border-top: 0;
    color: #666;
    padding: 20px;

}
    
.login-card-body .input-group .form-control {
    border-right: 0;
}
    
.login-card-body .input-group .form-control:focus {
    box-shadow: none;
}
    
.login-card-body .input-group .form-control:focus~.input-group-append .input-group-text,
.login-card-body .input-group .form-control:focus~.input-group-prepend .input-group-text {
    border-color: #80bdff;
}
    
.login-card-body .input-group .form-control.is-valid:focus {
    box-shadow: none;
}
    
.login-card-body .input-group .form-control.is-valid~.input-group-append .input-group-text,
.login-card-body .input-group .form-control.is-valid~.input-group-prepend .input-group-text {
    border-color: #28a745;
}
    
.login-card-body .input-group .form-control.is-invalid:focus {
    box-shadow: none;
}
    
.login-card-body .input-group .form-control.is-invalid~.input-group-append .input-group-text {
    border-color: #dc3545;
}
    
.login-card-body .input-group .input-group-text {
    background-color:transparent;
    border-bottom-right-radius:.25rem;
    border-left:0;
    border-top-right-radius:.25rem;
    color:#777;
    transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
    
.login-box-msg {
    margin: 0;
    padding: 0 20px 20px;
    text-align: center;
}
     
.login-card-body .profile-img {
width: 96px;
height: 130px;
margin: 0 auto 10px;
display: block;
-moz-border-radius: 50%;
-webkit-border-radius: 50%;
border-radius: 50%;
}

.login-card-body .btn-primary {
    margin-left: -12px;
}


/* Variables */
/* Mixins */
.animate {
  -moz-transition: all 0.1s ease-in;
  -webkit-transition: all 0.1s ease-in;
  -o-transition: all 0.1s ease-in;
  transition: all 0.1s ease-in;
}
/* Template */
#master-container {
  width: 800px;
  margin: 0 auto;
  border: 1px solid #cdcdcd;
  background-color: #fff;
}
#form-container {
  float: left;
  /* width: 100%; */
  overflow: hidden;
  clear: left;
}


#tabs-container {
  float: left;
  width: 100%;
  position: relative;
  /*border: 1px solid #cdcdcd;*/
  border-width: 0 1px 0 0;
  right: 60%;
}
.left-col {
  float: left;
  width: 40%;
  position: relative;
  left: 60%;
  overflow: hidden;
}
.right-col {
  float: left;
  width: 100%;
  position: relative;
  left: 60%;
  overflow: hidden;
}
/* Tabs */
.nav-tabs {
  margin: 0px;
  padding: 0px;
  border: 1px solid #cdcdcd;
  border-width: 0 0 1px 0;
  margin-top: 46px;
  position: relative;
}
.nav-tabs li:first-child {
  margin-left: 10px;
}
.nav-tabs li {
  list-style-type: none;
  display: inline-block;
  padding: 10px 15px;
  font-size: 14px;
  cursor: pointer;
  position: relative;
}
.nav-tabs li a {
  text-decoration: none;
}
.nav-tabs li.active {
  border: 1px solid #cdcdcd;
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-bottom-color: #f1f1f1;
  padding-bottom: 12px;
  top: 1px;
}
.required-star {
  color: red;
}
/* Form Container */
#form-container hr {
  border: 1px solid #cdcdcd;
  border-width: 1px 0 0 0;
}
#form-container h3 {
  margin-top: 0px;
  margin-bottom: 0px;
}
/* Form Fields */
.right-col {
  margin-bottom: 20px;
}
.right-col .loading {
  width: 100%;
  text-align: center;
  margin-top: 17%;
}
.right-col #form-elements,
.right-col #sortable-elements {
  padding: 0px;
  margin: 0px;
}
.right-col #form-elements li {
  list-style-type: none;
}
.right-col .form-element {
  position: relative;
  list-style-type: none;
  cursor: pointer;
  padding: 25px;
}
.right-col .form-element input,
.right-col .form-element texarea,
.right-col .form-element label {
  cursor: pointer;
}
.right-col .form-element h2,
.right-col .form-element h5 {
  margin: 0px;
  padding: 0px;
}
.right-col .form-element h2 {
  margin-bottom: 5px;
}
.right-col #form-settings-element {
  margin-bottom: 10px;
}
.right-col #form-settings-element:hover {
  border: none;
}
.right-col #form-settings-element.selected {
  background-color: #c3dbf8;
}
.right-col #sortable-elements {
  width: 100%;
  padding: 0px;
  margin: 0px;
  margin-top: 25px;
  
}
.right-col #sortable-elements .form-element {
  width: 60%;
  margin: 0 0 0 25px;
  list-style-type: none;
  cursor: pointer;
  padding: 15px;
  /* border: 1px solid #cdcdcd; */
}
.right-col #sortable-elements .form-element label {
  display: block;
  font-size: 14px;
  margin-bottom: 10px;
}
/*.right-col #sortable-elements .form-element.selected {
  background-color: #FFF7C0;
  border: 1px solid #7ED321; 
}*/
.right-col #sortable-elements .form-element:focus-within {
   background-color: #FFF7C0;
}
.right-col #sortable-elements .form-element:hover {
  /* border: 1px dashed #7ED321; */
}
.right-col #sortable-elements .section-break {
  margin: 25px !important;
  padding: 0px !important;
  border: none !important;
  width: 100%;
  left: 0px;
}
.right-col #sortable-elements .section-break label {
  font-size: 20px !important;
  padding: 10px;
  padding-bottom: 0px;
  margin-bottom: 0px !important;
}
.right-col #sortable-elements .section-break p {
  margin-top: 0px;
  padding: 10px;
  padding-top: 0px;
}
.right-col .button {
  margin: 20px 0 30px 25px;
}
/* Tabs toolbox */
.left-col .form-group label {
  font-weight: bold;
  font-size: 15px;
  margin-top: 10px;
  margin-bottom: 8px;
  display: block;
}
.left-col .col-sm-6 {
  width: 47%;
  float: left;
  margin-left: 7px;
}

.left-col .col-sm-5 {
  width: 36%;
  float: left;
  margin-left: 7px;
}

.left-col .section {
  padding: 20px;
  border: 1px solid #cdcdcd;
  margin: 0 0 15px 0;
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}
.left-col .new-element {
  margin-bottom: 3px;
}
.left-col .choice {
  margin-bottom: 5px;
}
.left-col textarea {
  width: 100%;
}
.left-col input[type='text'] {
  width: 100%;
}

td.details-control {
    background: url('./images/details_open.png') no-repeat center center;
    cursor: pointer;
}

tr.shown td.details-control {
    background: url('./images/details_close.png') no-repeat center center;
}

@media print {
   .pagebreak {page-break-after: always;}
}

.bg-main {
    background-color: #343A40 !important;
    color: white !important;
}
