/** Author: George Huang **/
/** Date: 23/11/2017 **/
/** style specifically for online ordering **/

/* Defining colour  */
:root {
  --primarygreen: #81c44c;
  --secondarygreen: #a4cf60;
  --darkaccentgreen: #228848;
  --lightaccentgreen: #e2f0d8;
  --charcoal: #3d3935;
  --white: #ffffff;
  --error: #EA9591;
  --warning: #F4E459;
}

#layout {

    min-height: 58VH;

}

.center {
    text-align: center;
}

div.hidden_text {
    visibility: hidden;
}

#footerwrap {
    min-height: 10VH;
}

.pagewidth, .full_width .themify_builder_row .row_inne {
  width: 89VW;
}

#body.clearfix {
    margin-top: 100px;
    margin-bottom:40px;
}

#action-bar {
    padding-bottom: 10px;
}

#action-bar ul {
    margin: 0;
}

#content, #sidebar {
    padding: 0% 0 8%;
}

#action-bar ul li {
    display: inline-block;
    margin: 0 0 10px 0;

}

div.col4-1, div.col4-3 {
    margin-top: 5px;
}

#action-bar ul li a {
  background: #F1F0F2;
  border-radius: 12px;
  padding: 12px 20px;
  color: #3D3935;
  display: flex;
}

#action-bar ul li a:hover {
    background-color: black;
    color: white;
}

/**
input[type="reset"], input[type="submit"], input[type="button"], button {
    margin-top: 1%;
}
**/

input[type=reset], input[type=submit], input[type=button], button {
    background-color: #81C44C;
    /* border-radius: 0; */
    /* margin-bottom: 5px; */
    border-radius: 12px;
    padding: 10px 25px;
    border: 2px solid #81C44C;
}

input[type="button"]:hover {
  background-color: var(--darkaccentgreen);
  border: 2px solid var(--darkaccentgreen);
  color: var(--white);
}

[data-title]:hover:after {
  opacity: 1;
  transition: all 0.1s ease 0.5s;
  visibility: visible;
}

[data-title]:after {
  content: attr(data-title);
  background-color: var(--white);
  color: #111;
  position: absolute;
  padding: 20px;
  bottom: -2em;
  left: 105%;
  white-space: pre-line;
  visibility: hidden;
  border-radius: 8px;
  box-shadow: 0px 0px 10px 5px #e4e1e5;
  right: -60%;
}

[data-title] {
  position: relative;
}

[title]:hover:after {
  opacity: 1;
  transition: all 0.1s ease 0.5s;
  visibility: visible;
}

[title] {
  position: relative;
}


textarea, input[type="text"], input[type="password"], input[type="search"], input[type="email"], input[type="url"], input[type="number"], input[type="tel"], input[type="date"], input[type="datetime"], input[type="datetime-local"], input[type="month"], input[type="time"], input[type="week"] {
  margin: 0;
  background: rgba(228, 225, 229, 0.2);
  border: 2.5px solid #E4E1E5;
  border-radius: 8px;
}

/* [title]:hover::after {
  content: attr(title);
  border-radius: 8px;
  box-shadow: 0px 0px 10px 5px #e4e1e5;
  padding: 20px;
  color: #2e6da4;
} */

select {
  background: rgba(228, 225, 229, 0.2);
  border: 2.5px solid #E4E1E5;
  border-radius: 8px;
}

.inputpicker-div input {
  background: rgba(228, 225, 229, 0.2);
  border: 2.5px solid #E4E1E5;
  border-radius: 8px;
}

@media screen and (max-width: 800px) {
  #action-bar ul li {
    padding-top:10px;

  }
}


#action-bar ul li:after {
    /** content: ' \007c'; **/
}

#action-bar ul li:last-child:after {
    content: '' !important;
}




#footerwrap {
    background-color: #F7F7FA;
    color: #3D3935;
}

.logo-wrap.footer {
    text-align: center;
    float: inherit;
}

label {
    font-weight: 700;
}

.row.button {
    text-align: right;
  clear: left !important;
}
.row.button button {
  width: 33.33%;
}

.oo-form input[type="submit"], .oo-form input[type="button"], .oo-form input[type="password"] {
    min-width: 300px;
    margin-top: 5px;
}

.oo-form input[type=text],  .oo-form input[type="password"], .oo-form select, .inputpicker-div input{
    min-width: 70%;
}

.oo-form.table select, .oo-form.table input[type="text"], .oo-form.table input[type="password"] {
    min-width: 100%;
}

.oo-form h3, h3.confirm-form {
  color: #3D3935;
  font-weight: 600;
}

#main-nav a {
  font-weight: normal;
  font-size: 1.1428571428571rem;
  color: #3d3935;
}

#main-nav .back_main a {
 background-color: #8cc641;
 color: white;
 /* font-weight: 600; */
 border-radius : 12px;
 border: 2px solid var(--primarygreen);
}

#main-nav .back_main a:hover, .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: var(--darkaccentgreen);
  color: var(--white) !important;
  border: 2px solid var(--darkaccentgreen);
}

#main-nav #clearfix #menu-name-menu-v7{
  color: black;
}

table.new.order-details tr:last-child th {
    border-radius: 0 0 0 10px;
}

table.new.order-details tr:first-child th {
    border-radius: 10px 0 0 0;
}

table.new.order-details tr:nth-child(2) th {
    border-radius: 0 0 0 0;
}

table.new.order-details tr:nth-child(3) th {
    border-radius: 0 0 0 0;
}

table th:first-child{
  border-radius:10px 0 0 0;
}

table th:last-child{
  border-radius:0 10px 0 0;
}

table th {
  background-color: #81C44C;
}

tr.order_header {
    color: white;
}

table.dataTable thead th, table.dataTable thead td {
  padding: 5px 9px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
  background: #F1F0F2;
  border: 2px solid #E4E1E5;
  border-radius: 8px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  background: #A4CF60;
  border: 2px solid #81C44C;
  border-radius: 8px;
}



td.Accepted {
  color: #81C44C;
}

td.Arrived {
  color: #3D3935;
  font-weight: 700;
}

td.ordered {
  color: #FCB333;
  font-weight: 700;
}

td.Completed {
  color: #228848;
  font-weight: 700;
}

a.table {
    color: black;
}

.table.btn-action {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}
.btn-primary {
    color: black;
    background-color: #337ab7;
    border-color: #2e6da4;
}

.btn-xs {
    padding: 1px 5px;
    font-size: 12px;
    line-height: 1.5;
}

.btn-xs {
    padding: 1px 5px;
    font-size: 12px;
    line-height: 1.5;
}
/*
input[type="button"]:hover {
  background-color: white;
  border: 1px solid #81C44C;
  color: #81C44C;
} */

a.button {
    color: black;
    border: none;
    padding: 7px 20px;
    cursor: pointer;
    border-radius: 5px;
    -webkit-appearance: none;
    background-color: #389cb5;
    margin-bottom: 5px;
}

.btn.btn-info.btn-xs, .ui-widget-content a.btn-action {
    color: #fff;
}

.btn-info {
    color: #fff;
    background-color: #337ab7;
    border-color: #2e6da4;
}

.btn-download {
    color: #fff;
    background: #4aaa2c;
    border: 1px solid #4aaa2c;
}

.btn-terminate {
    color: #fff;
    background: red;
    border: 1px solid #4aaa2c;
}

.btn-access {
   color: #fff;
   background: #4aaa2c;
   border: 1px solid #4aaa2c;
}

.btn-check {
  color: #fff;
  background: #ef9e12;
  border: 1px solid #ef9e12;
}

a.btn-action:hover {
  color: black;
}

.defintions em {
  font-size: 0.87em;
}

td.cancelled, span.cancelled {
    color: red;
}

td.completed {
    color: green;
}

/** single order **/

.col3-1.first.orderdetails {
    border-right-style: dotted;
    padding-right: 10px;
    border-right-color: #06495c;
}

.order-details {
  width: 100%;
}

.order-details th {
    background-color: #dadbdb;
    text-align: left;
    width: 40%;
    padding: 2%;
    vertical-align: top;
    border-radius: 10px !important;
}
.order-details td {
    background-color: #fbfbfb;
    text-align: left;
    width: 60%;
    padding: 2%;
    vertical-align: top;
}

.order-details h4 {
  color: #333;
}


ul.order-single li {
    list-style: none;
    padding: 5px 10px;
    border: 1px solid #eee;
}

/** using > ensures only column oriented tables are made responsive **/
@media screen and (max-width: 600px) {
.order-details {width:100%;  }
.order-details > tbody > tr > th { width: 100%; display: block;}
.order-details > tbody > tr:nth-of-type(2n) {background: none;}
.order-details > tbodu > tr:nth-of-type(2n) {background-color: inherit;}
.order-details tbodu > tr > td:first-child {background: #f0f0f0; font-weight:bold;font-size:1.3em;}
.order-details > tbody > tr > td {display: block; min-height: 5VH; width: 100%; }
.order-details > tbody > tr > td:before {
    content: attr(data-th);
    display: block;
    text-align:center;
  }

  .tab-order-details {
    padding: 0 !important;
  }
  .col3-1.first.orderdetails {
    border-right:none;
  }
  .col4-1.first.strong {
      font-weight: 600;
  }

}

@media screen and (max-width: 800px) {
    .sidebar {
    margin-top: 3%;
    }
}

.new.order-details {
    width: 100%;
}

.plate-details {
  width: 100%;
  border-spacing: 0;
}

.plate-details th {
  background-color: #81C44C;
}

.plate-details tr.odd {
  background-color: #f9f9f9;
}

.plate-details tr.even {
  background-color: #ffffff;
}

.info-box {
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 4px;
}

.info_center {
  padding: 22px 0 22px 0;
  border-bottom: 2px solid #E4E1E5;
  margin-bottom: 22px;

}

.info-box.confirm {
  color: #fff;
background-color: rgba(38,185,154,.88);
border-color: rgba(38,185,154,.88);
}

.alertTitle{
  color: var(--charcoal);
  font-weight: 600;
}

input[type="checkbox"]
{
  /* Double-sized Checkboxes */
  transform: scale(2);
  margin-right: 1.5em;
  margin-bottom: 1em;
}

.confirmCheckbox {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.confirmBox{
  padding: 4px;
  flex-shrink: 20;
}

.confirmText{
  padding: 4px;
  flex-grow: 1;
}

table.help-table {
  width: 100%;
  border: solid 1px #84686a;
}

table.help-table tr {
  padding: 5px 10px;
}

.help-table thead tr {
    background-color: #e6b6b9;
}
.help-table tbody tr {
  background-color: #ead8d9;
}

.help-table td, .help-table th {
    padding: 5px 10px;
}

.help-table a {
  color: #593232;
}

.help-table h4, .help-table h3, .help-table h2, .help-table h1 {
  color: #5C0606;
}

.login-box  {
    background-color: var(--white);
    margin-bottom: 1%;
    border-radius: 18px;
    box-shadow: 0px 0px 10px 5px #e4e1e5;
}
.login-box .login-box-int, .login-box .login-box-header  {
    padding: 10px 40px;
    border-radius: 18px 18px 0 0;
}

.login-box .login-box-int {
  background-color: #FFFFFF;
  /* box-shadow: 0px 0px 12px 0px #e4e1e5; */
  border-radius: 0 0 18px 18px;
}

.login-box-header {
  /* border-bottom: solid 1px #81C44C; */
  background-color: #81C44C;
  color: white;
}

.login-box-header h1, .login-box-header h2, .login-box-header h3 {
  margin: 0;
  padding: 0;
  color: white;
}


.error {
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  color: #3D3935;
  margin-top: 1% !important;
  padding: 2%;
  background-color: #F6DAD9;
  border: 3px solid var(--error);
  border-radius: 12px;
  padding-left: 10%;
}

.errorSample {
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  color: #3D3935;
  margin-top: 1% !important;
  padding: 2%;
  background-color: #F6DAD9;
  border: 3px solid var(--error);
  border-radius: 12px;
  padding-left: 10%;
  /* margin: 10px 0; */
}

.errorSample:empty {
  display: none;
}

.error:empty {
  display:none;
}

@font-face {
  font-family: 'FontAwesome';
  src: url('../fonts/fontawesome-webfont.eot?v=4.7.0');
  src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'), url('../fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'), url('../fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'), url('../fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'), url('../fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');
  font-weight: normal;
  font-style: normal;
}

.error:before{
        content: "\26A0";
        font-size: 2.25em;
        position: absolute;
        color: var(--error);
        vertical-align: middle;
        /* margin:0 -60px 5px; */
        margin-left: -4%;
}


.errorSample:before{
        content: "\26A0";
        font-size: 1.5em;
        color: var(--error);
        vertical-align: middle;
        /* margin:0 -60px 5px; */
        margin-left: -4%;
        margin-right: 4%;
}

.login-box table, .login-box table td, .login-box table th {
    bordeR: solid 1px #c1d6db;
    border-collapse: collapse;
    padding: 4px;
}

/* .login-box table th {
  background-color:
} */

form_wizard .stepContainer {
	display:block;
	position:relative;
	margin:0;
	padding:0;
	border:0 solid #CCC;
	overflow-x:hidden
}
.wizard_horizontal ul.wizard_steps {
	display:table;
	list-style:none;
	position:relative;
	width:100%;
	margin:0 0 20px
}
.wizard_horizontal ul.wizard_steps li {
	display:table-cell;
	text-align:center
}
.wizard_horizontal ul.wizard_steps li a{
	display:block;
	position:relative;
	-moz-opacity:1;
	filter:alpha(opacity=100);
	opacity:1;
	color: black;
}
.wizard_horizontal ul.wizard_steps li a:before {
	content:"";
	position:absolute;
	height:4px;
	background:#ccc;
	top:20px;
	width:100%;
	z-index:4;
	left:0
}
.wizard_horizontal ul.wizard_steps li a.disabled .step_no {
	background:#ccc
}
.wizard_horizontal ul.wizard_steps li a .step_no {
	width:40px;
	height:40px;
	line-height:40px;
	border-radius:100px;
	display:block;
	margin:0 auto 5px;
	font-size:16px;
	text-align:center;
	position:relative;
	z-index:5
}

.step_no {
	background:#228848;
	color:#fff
}

.wizard_horizontal ul.wizard_steps li a.done:before,.wizard_horizontal ul.wizard_steps li a.done .step_no {
	background:#228848;
	color:#fff
}



.wizard_horizontal ul.wizard_steps li a.selected .step_no, .wizard_horizontal ul.wizard_steps li a.selected::before {
  background: #8cc641;
}
.wizard_horizontal ul.wizard_steps li:first-child a:before {
	left:50%
}
.wizard_horizontal ul.wizard_steps li:last-child a:before {
	right:50%;
	width:50%;
	left:auto
}
.wizard_verticle .stepContainer {
	width:80%;
	float:left;
	padding:0 10px
}

.wizard_steps.anchor li {
    width: 25%;
}

span.step-title {
    font-weight: 700;
}

/** new order **/

.info_text {
    color: var(--charcoal);
}

.normal_text {
    font-weight: bold;
}

.warning h3 .info_center{
  border-bottom: 0;
}

div.info_text_blue {
  visibility: visible;
  color: #389cb5;
  font-weight:bold;
}

input.inputfile {
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}

label.inputfile {
    min-width: 300px;
    font-weight: 400;
    font-style: normal;
    color: #228848;
    border: 3px solid #228848;
    padding: 6px 18px;
    cursor: pointer;
    -webkit-appearance: none;
    background: #FFFFFF;
    border-radius: 12px;
}
label.inputfile.hasfile {
  background-color: #228848;
  color:white;
}


label.inputfile:hover {
  background-color: #228848;
  color: white;
}

label.inputfile {
	cursor: pointer; /* "hand" cursor */
}

label.inputfile:focus  {
	outline: 1px dotted #000;
	outline: -webkit-focus-ring-color auto 5px;
}

label.inputfile * {
	pointer-events: none;
}

label.inputfile:focus ,
label.inputfile.has-focus  {
    outline: 1px dotted #000;
    outline: -webkit-focus-ring-color auto 5px;
}

/** order page **/

.inputpicker-div input {
    background-color: #eaf3f7;
    border: none;
    padding: .44em;
    margin: .4em 0;
    max-width: 100%;
    /* -webkit-appearance: none; */
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: rgba(228, 225, 229, 0.2);
    border: 2.5px solid #E4E1E5;
    border-radius: 8px;

}

.inputpicker-arrow {
    top: 10px;
    right: 4px;
}

.inputpicker-arrow b {
  border-color: #000 transparent transparent;
}

.inputpicker-wrapped-list .inputpicker-active {
    background-color: #248cb540 !important;
    cursor: default;
}


ul.order-single {
  list-style: none;
}

.ui-widget-content.ui-tabs-panel {
  background: none;
}

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
    border: 1px solid #c5c5c5;;
    background: #FFF;
    font-weight: normal;
    color: #0b0a0a;
}

.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited {
    color: #000;
    text-decoration: none;
}

a.isDisabled          { cursor: defult; pointer-events: none !important; }

.sample-submission-select {

    width: 500px;
}

div.error_center                        { color: red; text-align: center; }
div.imp_center                          { color: red; text-align: center; }
div.notice {
    text-align: center;
    position: relative;
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .14px;
}

.alert {

    position: relative;
    border: 3px solid transparent;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-left-color: transparent;
    border-radius: 14px;
    /* padding: 2% 2% 2% 0; */

}

.alert.primary {
  background: var(--lightaccentgreen);
  border: 3px solid var(--primarygreen);
  border-radius: 14px;
  color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.alert:empty {
  display: none !important;
}

.primaryIcon {
  margin: 2em;
  flex-shrink: 20;
  color: var(--primarygreen);
  transform: scale(1.5);

}

.primaryText {
  flex-grow: 1;
  margin-right: 2em;
}

div.primary.alert div.primaryText p {
  text-align: center;
}

.alert.danger {
  color: #721c24;
  background-color: #F6DAD9;
  border-color: #f5c6cb;

}
.alert.reminder{
  color: #721c24;
  background-color: #F6DAD9;
  border-color: #f5c6cb;

}

.alert.warning {
  color: #3D3935;
  background-color: #F9F5BD;
  border-color: #F4E459;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.warningIcon{
  margin: 2em;
  flex-shrink: 20;
  color: var(--warning);
  transform: scale(1.5);

}

.warningText {
  flex-grow: 1;
  font-size: 14px;
}

/* .alert.warning:before{
        content: "\2139";
        font-size: 2.25em;
        position: absolute;
        color: var(--warning);
        margin-left: -5%;
} */

/* .alert-success {

    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;

} */

input.shorttextinput.readonly {
    background-color: transparent;
    font-style: italic;
}


#order-tabs {
    overflow: auto;
}
/** side bar links **/
ul.sidebar.links {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    padding-left: 0;
    margin: 0;
    text-align: center;
    /* box-shadow: 0px 4px 15px 4px rgba(0, 0, 0, 0.05); */
    border-radius: 18px;
    box-shadow: 0px 0px 10px 5px #e4e1e5;
}

.sidebar-header {
  padding: 16px;
}

.sidebar-header h3 {
  margin: 0;
  padding: 0;
  color: white;
}

.sidebar.links li, .downloads li {
    position: relative;
    display: block;
    padding: .75rem 1.25rem;
    margin-bottom: -1px;
    background-color: #fff;
    border: 1px solid rgba(0,0,0,.125);

}


.sidebar .links .li .strong{
  color: white;
  font-size: 1.6em;
  font-weight: 600;

}

.sidebar.links li a, .downloads li a {
  color: #3D3935;
  font-weight: bold;
}

.sidebar.links li:last-child {
    margin-bottom: 0;
    border-radius: 0 0 18px 18px;
}

.sidebar.links li:first-child {
    border-radius: 18px 18px 0 0;
    background-color: var(--darkaccentgreen);
    padding: 10px;

}



/** making things print friendlt **/

@media print {
  div#headerwrap, div#footerwrap {
    		display: none;
	}

	#body.clearfix {
		margin-top: 0px;
	}

	h1.page-title {
 	   font-size: 2em;
	}

	#breadcrumbs, .grecaptcha-badge {
	   display:none;
	}

	.alert, .warning  {
		color:black;
	}

  #doos_right_content {
    width: 100%;
  }

  .page-title {
    font-size: 1.2em;
  }
  h2 {
    font-size: 1.2em;
  }

  .order-details th {
    background-color: #dadbdb;
    text-align: left;
    width: 40%;
    padding: 2%;
    vertical-align: top;
  }
  .order-details td {
    background-color: #fbfbfb;
    text-align: left;
    width: 60%;
    padding: 2%;
    vertical-align: top;
  }
  .no-print {
    display:none;
  }

}
