:root{
	--color-primary: #6438c9;
	--color-secondary: #28a745;
	--color-text-primary: #444;
	--color-text-secondary: #292929ff;
	--color-text-bold: #000000;
	--header-footer-size: 118px;
}

html{
	
}

body{
	padding-top: 56px;
	padding-bottom: 62px;
	color: var(--color-text-primary);
}

a{
	cursor: pointer;
	color: var(--color-primary);
	text-decoration: none;
	transition: 200ms ease-in-out;
}

a:hover,
a:active,
a:focus{
	color:  var(--color-secondary);
	text-decoration: none;
}

button,
input[type=button],
input[type=submit],
.button,
.submit{
	cursor: pointer;
	border: none;
    border-radius: 4px;
    background-color:  var(--color-primary);
    color: #fff;
    transition: 200ms ease-in-out;
}

button:hover,
input[type=button]:hover,
input[type=submit]:hover,
.button:hover,
.submit:hover{
    background-color:  var(--color-secondary);
}

.header{
    /*position: fixed;
    top: 0;
    left: 0;
    right: 0;*/
    z-index: 999;
}
.top-nav{
	padding: 0;
	border-bottom: 1px solid #ccc;
	box-shadow: 0 0 3px #ccc;
}
.logo-image{
	height: 40px;
}

.orders-col{
	
}

.ta-block{
	box-shadow: 0 0 5px #949494;
	padding: 8px;
	border-radius: 4px;
	background-color: #fff;
}
.ta-block-header{
	position: relative;
	border-bottom: 1px solid #eaeaea;
	display: flex;
}

.ta-block-header:after{
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 90px;
	border-bottom: 2px solid var(--color-primary);
	clear: both;
}
.ta-block-title{
	display: flex;
    flex: auto;
	color: var(--color-text-bold);
}

.ta-block-title .fa{
	margin-right: 8px;
}

.ta-block-subtitle{
	float: right;
	color: var(--color-text-secondary);
}

code,
pre,
.code,
.pre{
    font-size: 14px;
    /*height: 150px;*/
    width: 100%;
    font-family: monospace;
    white-space: pre;
    background-image: url(../images/code-bg.png);
    background-repeat: repeat;
    background-size: 1px 42px;
    line-height: 21px;
    color: #673AB7;
    overflow: auto;
    padding: 0;
    padding-left: 5px;
    padding-right: 5px;
}
.order-item{
	margin-top: 8px;
    padding: 8px;
    font-size: 14px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.order-item:not(.order-item-NEW_ORDER){
	animation: scaleDown .3s ease-in-out;
}
.order-item.order-item-NEW_ORDER{
	/*animation: highlight 1s infinite ease-in-out;*/
	animation-name: highlight;
  animation-duration: 0.75s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}
.order-item-id{
	text-align: left;	
}
.order-item-date{
	text-align: right;	
}
.order-item-code-container{
	background-color: #444;
	color: #fff;
    padding: 5px;
    border-radius: 4px;
    text-align: center;
}
.order-item-code-container .row{

}
.order-table{
	border: 1px solid #eaeaea;
	border-collapse: collapse;
}

.order-table th,
.order-table td{
	border: 1px solid #eaeaea;
}

.item-product {
    
}

.item-product-quantity{
	font-weight: bold;
    padding-left: 5px;
    padding-right: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-right: 5px;
    text-align: center;
}
.item-product-name{
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.item-product-total{
	font-weight: bold;
}
.strip{
	border-bottom: 1px solid #CCC;
    margin-top: 4px;
}

.order-item-options{
	font-size: 12px;
	margin-top: 5px;
	font-weight: bold;
	display: none;
}

.administrator .order-item-options{
	display: block;
}
.order-item-option{
	color: var(--color-primary);
	cursor: pointer;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	text-decoration: none;
}
.order-item-option:hover{
	color: #333;
	text-decoration: none;
}
/*.col-NEW_ORDER .order-item-option[data-status=NEW_ORDER]{
	display: none;
}*/
.ta-block-login{

}
.ta-block-login #loginform{
    margin: 15px;
}
.ta-block-login #loginform p{
    display: block;
    position: relative;
}
.ta-block-login #loginform p label{
    display: block;
}

.ta-block-login #loginform p input[type=text],
.ta-block-login #loginform p input[type=password]{
    display: block;
    width: 96%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: 200ms ease-in-out;
}
.ta-block-login #loginform p input[type=text]:focus,
.ta-block-login #loginform p input[type=text]:active,
.ta-block-login #loginform p input[type=password]:focus,
.ta-block-login #loginform p input[type=password]:active{
    border-color: var(--color-primary);
}
.ta-block-login #loginform p input[type=submit]{
    display: block;
    width: 100%;
    padding: 8px;
    border: none;
    border-radius: 4px;
    background-color:  var(--color-primary);
    color: #fff;
    transition: 200ms ease-in-out;
}
.ta-block-login #loginform p input[type=submit]:hover{
    background-color: var(--color-secondary);
}

.copyrights,
.developer{
	white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media(min-width: 768px){
.main{
	height: calc(100vh - var(--header-footer-size));
    /*overflow: hidden;*/
    position: relative;
}
.lists-container{
	height: 100%;
    overflow: hidden;
    position: relative;
}

.orders-col{
	height: 100%;
	overflow: hidden;
}

.orders-col .ta-block {
    position: relative;
    height: 100%;
	overflow: auto;
	box-shadow: none;
	border: 1px solid #ccc;
	-ms-overflow-style: none;
  scrollbar-width: none;
}

.orders-col .ta-block::-webkit-scrollbar {
  display: none;
}

.orders-col .ta-block-header{
	position: absolute;
	top: 0;
    left: 0;
    right: 0;
    padding: 8px;
}

.orders-col-content{
	position: absolute;
    top: 45px;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: auto;
    padding-left: 5px;
    padding-right: 5px;
}
}

.order-item-REJECTED .item-id-row,
.order-item-REJECTED .products,
.order-item-REJECTED .strip,
.order-item-REJECTED .item-total-row{
	display: none;
}


.footer{
	border-top: 1px solid #ccc;
}

.footer-developer-image{
	height: 21px;
}

.order-details-item .order-code{
	padding: 8px;
	color: #fff;
	border-radius: 4px;
}

.main-nav-toggle{
	margin-left: 5px;
}
.fs-10px{
    font-size: 10px;
}
.fs-12px{
    font-size: 12px;
}
.panel-end{
    -webkit-transform: translate3d(100%, 0, 0);
    -moz-transform: translate3d(100%, 0, 0);
    -ms-transform: translate3d(100%, 0, 0);
    -o-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: -webkit-transform 500ms ease, opacity 500ms ease;
    -moz-transition: -moz-transform 500ms ease, opacity 500ms ease;
    -o-transition: -o-transform 500ms ease, opacity 500ms ease;
    transition: transform 500ms ease, opacity 500ms ease;
}
.js-panel-end .panel-end{
    -webkit-transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
    -moz-transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
    -ms-transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
    -o-transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
    transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
}
@keyframes highlight {
  0% {
    background-color: yellow;
  }
  /*50%{
  	background-color: yellow;
  }*/
  50% {
    background-color: white;
  }
}

@keyframes scaleDown {
  0% {
    transform: scaleY(0);
  }
  100% {
    transform: scaleY(1);
  }
}
