html,
body {
    height: 100%;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
 /*   color: #c55;
    font-style: italic;
*/
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}


.subItemDiv {
	margin-left: 20px;
}

/* Custom classes */
.nopadding {
	padding: 0px;
}

.form-group {
	margin-bottom: 7px;
}
.input-group-addon {
	padding: 3px 12px;
}
table[role="presentation"] {
	display: none;
}
table.cke_dialog {
	display: block;
}
.progress {
	margin-bottom: 0px;
}

.progress-extended {
	display: none;
}

.apertureTable .form-group,.form-horizontal .form-group.field-job-stretchartworkcheck,.form-horizontal .form-group.field-job-mouldingdecorationcheck,.form-horizontal .form-group.field-job-mountdecorationcheck,.form-horizontal .form-group.field-job-coldmattingcheck,.form-horizontal .form-group.field-job-backingmaterialcheck,.form-horizontal .form-group.field-job-glasstypecheck,.form-horizontal .form-group.field-job-fixingscheck, .form-horizontal .customservice, .form-horizontal .jobservices, .form-group.field-job-mountspacercheck  {
	padding-left: 5px;
	padding-right: 5px;
	margin: 0px;
}
.coldmattingcheckbox[type="checkbox"] {
    float: left;
	margin-right: 5px;
}
.form-horizontal .jobservicesinshop   {
	padding-left: 25px;
	padding-right: 5px;
	margin: 0px;
}
.tab-pane input[type="checkbox"] {
	width: auto;
}

.apertureTable td {
	vertical-align: top;
}
.apertureTable th {
	text-align:center;
}
.apertureDecorationTable .ng-pristine, .apertureDecorationTable .ng-dirty {
	display: block;
}
.tab-pane {
	padding-top: 10px;
}
.decorationsDiv {
}

.decorationsDiv.active {
	display: block;
}
.ng-pristine, .ng-dirty {
	display: inline-block;
	width: 100%;
}
.fileupload-buttonbar .start, .fileupload-buttonbar .cancel, .fileupload-buttonbar .delete , .fileupload-buttonbar .toggle, table .files {
	display: none;
}
.field-aperture-matchall .ng-pristine {
	width: auto!important;
}
.mountDesign .ng-pristine,.mountDesign .ng-touched,.mountDesign .ng-untouched {
	width: 40px;
}
.mouldingTable img, .mountTable img, .MouldingTable img {
	width:55%;
}
.nomargin {
	margin: 0px;
	padding: 0px;
}
.jobstatus-update {
	margin: 20px;
}
.headerRow {
	font-size:larger;
	font-weight: bold;
}
.font-bold {
	font-weight: bold;
}
/*.navigateTopButton {
	position: fixed;
    top: 57px;
    right: 230px;
}*/
.previewSection {
	position: fixed;
    top: 105px;
    right: 230px;
}
.no-padding {
	padding: 0px;
}
.form-control {
	height: 25px;
	padding: 3px;
}
.btn {
	height: 25px;
	padding: 3px 12px;
	line-height: 1.32857143;
}
.mountDesign .form-group {
	margin: 0px!important;
}
.order-update h1 .btn, .paymentButtons .btn {
	margin-left: 3px;
}
.paymentButtons {
	float:right;
}
.wizardSelection .column {
	border: 1px solid #333;
//	border: 1px solid #0d87e9;
//	border-radius: 4px;
	margin: 1%;
	text-align: center;
	min-height: 330px;
	padding: 1%;
}
.wizardSelection .column img {
	width: 100%;
}

/* new CSS */
.navbar-inverse{
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    background-color: #ffffff;
    border:none;
 }
 .navbar-inverse .navbar-nav > li > a:hover, .navbar-inverse .navbar-nav > li > a:focus{
	color: #212121;
 }
 .navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:hover, .navbar-inverse .navbar-nav > .active > a:focus{
	background-color: #eeeeee;
    color: #212121;
 }
 .navbar-inverse .navbar-nav > li > a{
	color: #666666;
 }
.nav-tabs > li > a, .nav-tabs > li > a:focus{
	 margin-right: 0;
    background-color: transparent;
    border: none;
    color: #666666;
    -webkit-box-shadow: inset 0 -1px 0 #dddddd;
    box-shadow: inset 0 -1px 0 #dddddd;
    -webkit-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
 }
.nav-tabs > li.active > a, .nav-tabs > li.active > a:focus {
    border: none;
    -webkit-box-shadow: inset 0 -2px 0 #2196f3;
    box-shadow: inset 0 -2px 0 #2196f3;
    color: #2196f3;
}
.nav-tabs > li > a:hover, .nav-tabs > li > a:focus:hover {
    background-color: transparent;
    -webkit-box-shadow: inset 0 -2px 0 #2196f3;
    box-shadow: inset 0 -2px 0 #2196f3;
    color: #2196f3;
}
.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover{
	border: 0px;
    color: #2196f3;
}
.wizardTabs{
	margin-top: 20px;
}
/*.navigateTopButton{
	right: -33%;
    top: -14%;
    position: absolute;
}*/
.wizardSelection .column{
//	border: 0px;
	background-color: #f5f5f5;
	min-height: auto;
}
.wizardSelection .column .img_holder{
	min-height: 150px;
}
.wizardSelection .column .btn-primary, .navigateTopButton{
    border: none;
    -webkit-box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
    -webkit-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
    color: #ffffff;
    background-color: #2196f3;
}
.wizardSelection .column .btn-primary:hover, .wizardSelection .column .btn-primary:active:hover, .navigateTopButton:hover {
    background-color: #0d87e9;
}
.previewSection{
	position: relative;
	right: 0px;
	top:0px;
    margin-top: 1%;
}
.layoutData {
	text-align:center;
}
.layoutHeader {
	font-weight: bold;
	font-size: larger;
}
#wizardForm td {
	text-align: center;
    vertical-align: middle;
	margin: 0px;
	padding: 2px;
}
#wizardForm .attachmentTable td {
	text-align: left;
}
.showMaterialDataMoulding, .showMaterialData {
	text-align:left;
	margin-top: 1px;
}
.border-bottom {
	border-bottom: 1px solid #ddd;
}
.border-top {
	border-top: 1px solid #ddd;
}
.typeMoulding, .typeMount, .layOnSection {
	width: 15%;
}
.visual {
	width: 30%;
}
.deleteSection .btn {
	width: 100%;
	margin-top: 5px;
	margin-bottom: 5px;
}

#wizardForm label, #wizardForm input[type="text"], #wizardForm select {
//	text-align:center;
//	display: inline-block;
}
.decorationsDiv .form-group {
	padding-bottom: 7px;
}
.field-customersearch-searchcustomer {
//	width: 50%;
	float:left;
}
.CustomerSearchQuote {
	margin-top: 10px;
	display: none;
}
.attachmentDamageTable img, .attachmentOtherTable img {
	max-height: 200px;
}
.attachmentDamageTable, .attachmentOtherTable {
}
.attachmentDamageTable a {
}
a[ng-click]{
    cursor: pointer;
}
.pricingRow {
	font-size: 13px;
}
.pricingRow div {
	padding-right: 0px;
	padding-left: 5px;
}
.pricingRow div:first-child {
	padding-right: 0px;
	padding-left: 10px;
}
.popover {
	max-width: 45%;
}
.navbar-inverse .navbar-brand:hover, .navbar-inverse .navbar-brand:focus, .nav > li > form > button.logout:focus, .nav > li > form > button.logout:hover {
	color: #9d9d9d;
}
.nav > li > a {
	padding-right: 6px;
	padding-left: 6px;
}
.required > label:after {
    content: " *";
	color: red;
}

.customerError {
	display: none;
}


.editableFieldIcon {
 	padding-left: 10px;
}
.kv-editable-link {
	border-bottom: 0px transparent;
}
.nostockavailable {
	color: red;
}

//Typeahead
.tt-query, /* UPDATE: newer versions use tt-input instead of tt-query */
.tt-hint {
    width: 396px;
    height: 30px;
    padding: 8px 12px;
    font-size: 24px;
    line-height: 30px;
    border: 2px solid #ccc;
    border-radius: 8px;
    outline: none;
}

.tt-query { /* UPDATE: newer versions use tt-input instead of tt-query */
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.tt-hint {
    color: #999;
}

.tt-menu { /* UPDATE: newer versions use tt-menu instead of tt-dropdown-menu */
    width: 422px;
    margin-top: 12px;
    padding: 8px 0;
    background-color: #fff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    box-shadow: 0 5px 10px rgba(0,0,0,.2);
}

.tt-suggestion {
    padding: 3px 20px;
    font-size: 18px;
    line-height: 24px;
}

.tt-suggestion.tt-is-under-cursor { /* UPDATE: newer versions use .tt-suggestion.tt-cursor */
    color: #fff;
    background-color: #0097cf;

}

.tt-suggestion p {
    margin: 0;
}


.mount_visual {
}


.field-address-postcode .twitter-typeahead {
	width: 100%;
}
.modal-dialog {
	margin: 130px auto;
}
#crafty_postcode_lookup_result_option1 {
	width: 100%!important;
	margin-bottom: 10px;
}

.mount_moulding_preview {
	max-width: 100%;
}

.breadcrumb_jobReference {
 	float: right;
 	color: #666;
}
.breadcrumb_jobReference::before {
	display: none;
}
/*.draggable:before {
	content: " ";
  border: 5px solid #ffea00;
}
.draggable:after {
	content: " ";
}*/


/* Light borders */
.border-right {
	border-right: 1px solid #eee;
}
.border-left {
	border-left: 1px solid #eee;
}
.business-index h1 a, .businesslocation-index h1 a {
	font-size: 14px;
}
.previewimage {
	max-height: 200px;
}

.webshop-product-index .previewimage {
	width: 150px;
}

.field-webshopproduct-stock_location .select2-container--krajee .select2-selection--single .select2-selection__arrow {
    height: 27px;
}

.field-webshopproduct-stock_location .select2-container--krajee .select2-selection--single {
    padding-top: 4px;
    padding-left: 0px;
}

.dd-selected-text, .dd-option-text {
	line-height: 58px!important;
}
.dd-option-image, .dd-selected-image {
	width: 64px;
	max-height: 64px;
}
.priceComparison {
	margin-right: 10px;
}
.fileinput-button input {
	width: 100%;
}
.alignCenter, .alignCenter .form-group {
	text-align: center;
}
.searchSection {
	display: inline-block;
	width: 100%;
}

#checkout .crafty_postcode_result_display select, #adminCheckout .crafty_postcode_result_display select {
	width: 100%!important;
}

/* Production Dashboard */
.workstation{
    padding: 5px;
    height: 95px;
}

/* Statistics page */
.job-statistics .grid-view {
	overflow: hidden;
}

/* Optgroup styling effective in some browsers */
select optgroup{
	font-weight:bold;
	font-size: larger;
}
select optgroup option {
	font-weight:normal;
	font-size: normal;
}

/* Authorise modal */
#myModal-authorise .modal-footer {
    text-align: center;
}

#myModal-authorise .btn {
    height: auto;
}

#myModal-forcePriceUpdate textarea {
    width: 100%;
}

.restoreSelected, .deleteSelected {
    margin-left: 10px;
}



@media screen and (max-width: 1260px) {
	.product-table .product-table-discount {
		display: none;
	}
}
