/*************************************************************************

TEMPLATE

*************************************************************************/

h1{font-size:24px;}
h2{font-size:19px;}
h3{font-size:16px;}
h4{font-size:14px;}
h5{font-size:12px;}
h6{font-size:11px;}

a
{
	text-decoration: none;
	color: crimson;
	cursor: pointer;
	-webkit-transition:  color 0.1s ease-in-out;
    -moz-transition:  color 0.1s ease-in-out;
    -ms-transition:  color 0.1s ease-in-out;
    -o-transition:  color 0.1s ease-in-out;
    transition:  color 0.1s ease-in-out;
}
a:hover
{
	color: #333333;
}
a.light
{
	color: whitesmoke;
}

header
{
	padding: 1em 0;
}

body
{
	font-family: Verdana, Arial, sans-serif;
	font-size: 13px;
	background: whitesmoke;
	padding: 0;
	margin: 0;
	overflow: auto;
}

footer
{
	text-align: center;
	vertical-align: middle;
}

#template_header, #template_container, #template_footer
{
	clear: both;
	float: left;
	width: 100%;
	background: whitesmoke;
	box-sizing: border-box;
    -moz-box-sizing: border-box;
}
#template_title
{
	float: left;
	font-size: 30px;
	font-weight: bold;
	margin: 1em;
}
#template_profile
{
	float: right;
	font-size: 30px;
	font-weight: bold;
	margin: 1em;
}
#template_container
{
    position: relative;
    height: 100%;
    width: 100%;
    left: 0;
    -webkit-transition:  left 0.2s ease-in-out;
    -moz-transition:  left 0.2s ease-in-out;
    -ms-transition:  left 0.2s ease-in-out;
    -o-transition:  left 0.2s ease-in-out;
    transition:  left 0.2s ease-in-out;
}
#template_container.open-sidebar
{
    left: 240px;
}
#sidebar-toggle {
    background: #333333;
    position: relative;
    display: block;
    padding: 1.5em;
    margin-bottom: 1em;
}
#sidebar-toggle .bars{
    display: block;
    width: 18px;
    height: 15px;
    background-color: #fff;
    border-radius: 1px;
    cursor: pointer;
}
#sidebar-toggle .bar{
    display: block;
    width: 18px;
    margin-bottom: 3px;
    height: 2px;
    background-color: #000;
    border-radius: 1px;
    cursor: pointer;
}
#template_nav {
    position: absolute;
    left: -240px;
    background: #333333;
    width: 240px;
    box-sizing: border-box;
}
#template_nav ul
{
    margin: 0;
    padding: 0;
    list-style: none;
}
#template_nav ul li
{
    margin: 0;
    -webkit-transition:  background 0.1s ease-in-out;
    -moz-transition:  background 0.1s ease-in-out;
    -ms-transition:  background 0.1s ease-in-out;
    -o-transition:  background 0.1s ease-in-out;
    transition:  background 0.1s ease-in-out;
}
#template_nav ul li a
{
    padding: 1em 1em;
    color: white;
    display: block;
    border-bottom: thin solid white;
    -webkit-transition:  background 0.1s ease-in-out;
    -moz-transition:  background 0.1s ease-in-out;
    -ms-transition:  background 0.1s ease-in-out;
    -o-transition:  background 0.1s ease-in-out;
    transition:  background 0.1s ease-in-out;
}
#template_nav ul li:hover
{
	background: crimson;
}
#template_nav ul li:hover > ul
{
	display: block;
}
#template_nav ul ul li
{
	background: crimson;
}
#template_nav ul ul li a:hover
{
	background: #333333;
}
#template_nav ul ul
{
	display: none;
	width: 240px;
	position: absolute; left: 100%; margin-top: -3.25em; z-index: 100;
}
#template_nav ul ul ul
{
	position: absolute; left: 100%; top:0; z-index: 100;
}
#template_main {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    position: relative;
}
main
{
	clear: both;
	float: left;
	width: 100%;
}
#main_content
{
	padding: 2em;
}
#template_blank
{
	white-space: nowrap;
}
#template_footer
{
	text-align: center;
}

.error
{
	color: red;
	padding: 1em 0;
}

.alert_header
{
	margin-top: 2em;
	padding: 1em;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	border: thin solid black;
	background: lightgrey;
}

.alert_content
{
	margin-bottom: 2em;
	padding: 1em;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	border: thin solid black;
}

#anchor
{
	display: table;
	background-color: whitesmoke;
	border: 3px double black;
	padding: 1em;
	font-size: 90%;
}
#anchor h4
{
	margin: 0 0 1em 0;
}
#anchor ol
{
	margin: 0 0 0 2em;
	padding: 0;
}
#anchor ol li:hover
{
	text-decoration: underline;
}

/*************************************************************************

FORM

*************************************************************************/

#login_form, #maintenance_form
{
	margin: 10em auto;
	text-align: center;
	width: 40em;
}

#commercial_form
{
	margin: 10em auto;
	text-align: center;
	width: 100%;
}

.home_alert, .branch_checklist
{
	float: left;
	border: 2px solid #333333;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	padding: 1%;
	margin: 1%;
}
.home_alert.width100
{
	width: 94.5%;
}
.home_alert.width50
{
	width: 45%;
}
.branch_checklist
{
	width: 20em;
	height: 10em;
	overflow-y: auto;
}

/*************************************************************************

TABLE

*************************************************************************/

.center
{
	clear: both;
	margin: 0 auto;
	padding: 0.5em 0;
	display: table;
}

.line
{
	clear: both;
	float: left;
	padding: 0.5em 0;
	display: table;
}

.box
{
	float: left;
	padding: 0 0.5em 0 0;
	display: table-cell;
	vertical-align: bottom;
}

.box.short
{
	width: 4em;
}

.box.medium
{
	width: 14em;
}

.box.long
{
	width: 20em;
}

table
{ 
    display: table;
    border-collapse: separate;
    border-spacing: 0;
    text-align: center;
    vertical-align: top;
    font-size: inherit;
}

:not(#content) > table tbody tr th
{
    font-weight: normal;
}

table.sortable thead tr th
{
	background-color: #333;
    color: white;
	cursor: pointer;
}
table.sortable th:not(.sorttable_sorted):not(.sorttable_sorted_reverse):not(.sorttable_nosort):after { 
    content: " \25B4\25BE" 
}

table thead tr th, table tbody tr th
{
	border-bottom: 1px solid black;
}

table thead tr th, table thead tr td, table tbody tr th, table tbody tr td
{
	padding: 0.4em;
	vertical-align: top;
}

table thead tr th.v-middle, table thead tr td.v-middle, table tbody tr th.v-middle, table tbody tr td.v-middle
{
	vertical-align: middle;
}

table thead tr td label, table tbody tr td label
{
	vertical-align: middle;
}

table thead tr .product, table thead tr .info, table tbody tr .product, table tbody tr .info, #product
{
	width: 25em;
}

table thead tr .number, table tbody tr .number
{
	width: 6em;
}

article.tableHead, article.tableContent, article.form
{
	clear: both;
	display: table;
}

article.tableContent
{
	margin-top: 1em;
}

article.tableHead .line
{
	clear: both;
	border-bottom: thin solid black;
	margin-bottom: 1em;
	display: table-row;
}

article.tableContent .line 
{
	clear: both;
	padding: 0;
	display: table-row;
}

article.tableContent .line.even, .even
{
	background: lightgrey;
}
.even td
{
	border-top: thin solid lightgrey;
	border-bottom: thin solid lightgrey;
}

article.tableContent .line.odd, .odd
{
	background: whitesmoke;
}
.odd td
{
	border-top: thin solid whitesmoke;
	border-bottom: thin solid whitesmoke;
}

article.tableContent .line.foot
{
	margin-top: 1em;
	font-weight: bold;
}

article.tableContent .line label.sum, .sum
{
	border-top: thin solid black;
}

article.tableHead .line label.right,
article.tableContent .line label.right,
article.tableContent .line.foot .right,
.right
{
	text-align: right;
}

article.tableHead .line label, article.tableHead .line a,
article.tableContent .line label, article.tableContent .line a,
article.tableContent .line input
{
	float: left;
	width: 6em;
	padding: 0.2em;
	word-wrap: break-word;
	display: table-cell;
	text-align: center;
	vertical-align: middle;
}

article.tableHead .line label.printQtySize, article.tableHead .line a.printQtySize,
article.tableContent .line label.printQtySize, article.tableContent .line a.printQtySize
{
	width: 1.7em;
}

article.tableHead .line label.printPriceSize, article.tableHead .line a.printPriceSize,
article.tableContent .line label.printPriceSize, article.tableContent .line a.printPriceSize
{
	width: 5.5em;
}

article.tableHead .line label.printProductSize, article.tableHead .line a.printProductSize,
article.tableContent .line label.printProductSize, article.tableContent .line a.printProductSize
{
	width: 6.5em;
}

article.tableHead .line label.printDoubleProductSize, article.tableHead .line a.printDoubleProductSize,
article.tableContent .line label.printDoubleProductSize, article.tableContent .line a.printDoubleProductSize
{
	width: 13em;
}

article.tableHead .line label.halfSize, article.tableHead .line a.halfSize,
article.tableContent .line label.halfSize, article.tableContent .line a.halfSize
{
	width: 4em;
}

article.tableHead .line label.doubleSize, article.tableHead .line a.doubleSize,
article.tableContent .line label.doubleSize, article.tableContent .line a.doubleSize
{
	width: 16em;
}

article.tableHead .line label.tripleSize, article.tableHead .line a.tripleSize,
article.tableContent .line label.tripleSize, article.tableContent .line a.tripleSize
{
	width: 24em;
}

article.tableContent .line label.left,
article.tableContent .line label.left input,
.left
{
	text-align: left;
}

article.tableContent .line label input
{
	display: block;
    margin : 0 auto;
    width: 100%;
    height: 100%;
}

article.form .line .box label
{
	float: right;
	text-align: right;
}

article.form .line .box input,
article.form .line .box textarea,
article.form .line .box select
{
	width: 100%;
}

article.form .line .box textarea
{
	height: 5em;
}

/*************************************************************************

TOTAL

**************************************************************************/

section.total
{
	float: right;
	margin : 2em 0;
}

section.total .line label
{
	text-align: right;
}

/*************************************************************************

INPUT

**************************************************************************/

label, input, select
{
    /* the following ensures they're all using the same box-model for rendering */
    -moz-box-sizing: content-box; /* or `border-box` */
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
	height: 1.5em;
	vertical-align: middle;
}

input.short
{
	width: 5em;
}

input.medium
{
	width: 10em;
}

input.product
{
	width: 25em;
}

input[type=button], input[type=submit]
{
	border-color: crimson;
	background-color: crimson;
	color: white;
}
input[type=button]:hover, input[type=submit]:hover
{
	background-color: #333333;
	cursor: pointer;
}

input[type=number]
{
    -moz-appearance: textfield;
}

input[type="checkbox"], input[type="radio"]
{
	text-align: center;
	vertical-align: middle;
	margin: 0 0.5em;
	padding: 0;
}

input[readonly], input[disabled], input[disabled]:hover
{
	color: #333333;
	border-color: #ebebe4;
	background-color: #ebebe4;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	margin: 0;
	cursor: default;
}

.submit
{
	float: right;
	margin: 1em;
}

.backButton
{
	float: right;
	cursor: pointer;
}

/*************************************************************************

FREEZE PANE

*************************************************************************/

.FreezePaneOff
{
	visibility: hidden;
	display: none;
	position: absolute;
	top: -100px;
	left: -100px;
}

.FreezePaneOn
{
	position: fixed;
	top: 0px;
	left: 0px;
	visibility: visible;
	display: block;
	width: 100%;
	height: 100%;
	z-index: 999;
	background: rgb(255, 255, 255); /* Fall-back for browsers that don't support rgba */
    background: rgba(0, 0, 0, 0.5);
	padding-top: 20%;
}

.InnerFreezePane
{
	text-align: center;
	width: 66%;
	background-color: crimson;
	color: White;
	font-size: large;
	padding: 9px;
}

/*************************************************************************

TABS

**************************************************************************/

/**
 * Tabs navigation
 */
.c-tabs-nav
{
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
}

.c-tabs-nav__link
{
	-webkit-box-flex: 1;
	-webkit-flex: 1;
	  -ms-flex: 1;
	      flex: 1;
	margin-right: 4px;
	padding: 12px;
	text-decoration: none;
	color: white;
	background-color: crimson;
	text-align: center;
	-webkit-transition:  background 0.1s ease-in-out;
	-moz-transition:  background 0.1s ease-in-out;
	-ms-transition:  background 0.1s ease-in-out;
	-o-transition:  background 0.1s ease-in-out;
	transition:  background 0.1s ease-in-out;
}

.c-tabs-nav__link:last-child
{
	margin-right: 0;
}

.c-tabs-nav__link:hover
{
	color: white;
	background-color: #333333;
}

.c-tabs-nav__link.is-active
{
	color: #333333;
	font-weight: bold;
	background-color: whitesmoke;
}

.c-tabs-nav__link i,
.c-tabs-nav__link span
{
	margin: 0;
	padding: 0;
	line-height: 1;
}

.c-tabs-nav__link i
{
	font-size: 19px;
}

.c-tabs-nav__link span
{
	display: none;
	font-size: 19px;
}

@media all and (min-width: 720px)
{
	.c-tabs-nav__link i
	{
		margin-bottom: 12px;
		font-size: 22px;
	}
	.c-tabs-nav__link span
	{
		display: block;
	}
}

/**
 * Tab
 */
.c-tab
{
	display: none;
	background-color: whitesmoke;
}

.c-tab.is-active
{
	display: block;
}

.c-tab__content
{
	padding: 1.5rem;
}

/**
 * Tabs no-js fallback
 */
.c-tabs.no-js .c-tabs-nav
{
	display: none;
}

.c-tabs.no-js .c-tab
{
	display: block;
	margin-bottom: 1.5rem;
}

.c-tabs.no-js .c-tab:last-child
{
	margin-bottom: 0;
}

/*************************************************************************

MODAL

**************************************************************************/

/* The Modal (background) */
.modal 
{
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content 
{
    position: relative;
    background-color: white;
    margin: auto;
    padding: 0;
    width: 80%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animatetop 
{
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

@keyframes animatetop 
{
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

/* The Close Button */
.modal-close 
{
    color: white;
    float: right;
    margin-right: 6px;
    font-size: 28px;
    font-weight: bold;
}

.modal-close:hover,
.modal-close:focus 
{
    color: crimson;
    text-decoration: none;
    cursor: pointer;
}

.modal-header 
{
    padding: 1.3em 16px;
    background-color: #333333;
    color: white;
    font-size: 16px;
}

.modal-body 
{
	padding: 1.3em 16px;
	max-height: 25em;
	overflow: auto;
}

.modal-footer 
{
	clear: both;
    padding: 10px 16px;
}

/*************************************************************************

POPUP

*************************************************************************/

.popup_container
{
	position: relative;
	display: inline-block;
}
.popup_container_left
{
	float: left;
}
.popup_container_right
{
	float: right;
}

.popup
{
	min-width: 20em;
	min-height: 20em;
	position: absolute;
	display: none;
	z-index: 1;
	box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
	padding: 1em;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	border: thick solid crimson;
	background-color: #333333;
	color: white;
}
.popup_left
{
	left: 0;
	border-top-left-radius: 0;
}
.popup_right
{
	right: 0;
	border-top-right-radius: 0;
}

/*************************************************************************

MULTISELECT

*************************************************************************/

.multiselect
{
    border: solid 1px black;
    overflow: auto;
}

.multiselect label
{
    display: block;
}

.multiselect-on
{
    color: white;
    background-color: #333333;
}

/*************************************************************************

IMAGES

*************************************************************************/

.icon
{
	font-size: 16px;
	background-repeat: no-repeat;
	margin: 0 auto;
}

.icon.logo_tulip
{
	background-image: url('images/logo_tulip.png');
    background-position: center;
    background-size: 12.5em 5.3125em;
	width: 12.5em;
	height: 5.3125em;
}
.icon.logo_tulip_big
{
	background-image: url('images/logo_tulip.png');
    background-position: center;
    background-size: 18.75em 7.96875em;
	width: 18.75em;
	height: 7.96875em;
}

.icon.maintenance
{
	background-image: url('images/maintenance.png');
	background-position: center;
    background-size: 10em 10em;
	width: 10em;
	height: 10em;
}

.icon.search
{
	background-image: url('images/icon_search.png');
	background-position: center;
    background-size: 2em 2em;
	width: 2em;
	height: 2em;
	cursor: pointer;
}

.icon.truefalse
{
    background-size: 1em 1em;
	width: 1em;
	height: 1em;
}
.icon.truefalse.true
{
	background-image: url('images/icon_round_green_check.png');
}

.icon.meter
{
	height: 1em;  /* Can be anything */
	position: relative;
	background: lightgrey;
	-moz-border-radius: 25px;
	-webkit-border-radius: 25px;
	border-radius: 25px;
	padding: 0.3em;
	box-shadow: inset 0 -1px 1px rgba(255,255,255,0.3);
}
.icon.meter > span
{
	display: block;
	height: 100%;
	border-top-right-radius: 8px;
	border-bottom-right-radius: 8px;
	border-top-left-radius: 20px;
	border-bottom-left-radius: 20px;
	background-color: #333333;
	background-image: linear-gradient(
		center bottom,
		rgb(43,194,83) 37%,
		rgb(84,240,84) 69%
	);
	box-shadow: 
		inset 0 2px 9px  rgba(255,255,255,0.3),
		inset 0 -2px 6px rgba(0,0,0,0.4);
	position: relative;
	overflow: hidden;
}
.icon.meter.stripes > span:after, .icon.meter.stripes.animate > span > span
{
	content: "";
	position: absolute;
	top: 0; left: 0; bottom: 0; right: 0;
	background-image: linear-gradient(
		-45deg, 
		rgba(255, 255, 255, .2) 25%, 
		transparent 25%, 
		transparent 50%, 
		rgba(255, 255, 255, .2) 50%, 
		rgba(255, 255, 255, .2) 75%, 
		transparent 75%, 
		transparent
	);
	z-index: 1;
	background-size: 50px 50px;
	border-top-right-radius: 8px;
	border-bottom-right-radius: 8px;
	border-top-left-radius: 20px;
	border-bottom-left-radius: 20px;
	overflow: hidden;
}
.icon.meter.stripes.animate > span:after {
	display: none;
}
.icon.meter.stripes.animate > span > span {
	animation: move 2s linear infinite;
}
@keyframes move {
	0% {
		background-position: 0 0;
	}
	100% {
		background-position: 50px 50px;
	}
}
@keyframes expandWidth {
	0% { width: 0; }
	100% { width: auto; }
}
.icon.meter.green > span {
	background-color: limegreen;
	background-image: linear-gradient(to bottom, white, limegreen, limegreen);
}
.icon.meter.orange > span {
	background-color: orange;
	background-image: linear-gradient(to bottom, white, orange, orange);
}
.icon.meter.red > span {
	background-color: red;
	background-image: linear-gradient(to bottom, white, red, red);
}

/*************************************************************************

PRINT

**************************************************************************/

.adjust_print#adjust_print_auto, .adjust_print#adjust_print_large
{
	margin: 0 auto;
	width: 99%;
}

.adjust_print#adjust_print_medium
{
	width: 60%;
}

.adjust_print#adjust_print_small
{
	width: 17em;
}

/*continue to print.css*/