.nav-tabs .nav-item {
	margin-bottom: 0; /*fix the tab bottom border*/
}

.btn-primary {
	background-color: #d53621;
	border-color: #d53621;
}

.btn-primary:hover {
	background-color: #000000;
	border-color: #000000;
}

.app-logo {
	max-width: 234px;
	margin: 0 auto;
}

.app-logo img {
	height: auto;
	width: 100%;
}

.navbar-red {
	background-color: #d53621;
}

.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: none;
    z-index: 999999;
}

.font-weight-600 {
	font-weight: 600 !important;
}

#loading_mask {
	background-color: rgba(255, 255, 255, 0.8);
	display: none;
	height: 100%;
	position: fixed;
	width: 100%;
	z-index: 2000;
}

#loading_mask .loader {
	display: table;
	position: relative;
	left: 50%;
	transform: translate(-50%, -50%);
	top: 50%;
}

#loading_mask .loader img {
	display: block;
	margin: 0 auto;
}

.form-group.row label {
	text-align: right;
}

.form-group label.col-form-label {
	font-weight: 600;
}

.form-group label.required {
	position: relative;
}

.form-group label.required:after {
	color: #d53621;
	content: "*";
	font-size: 16px;
	margin: 2px 0 0;
	position: absolute;
	right: 0;
}

.messages-container .message {
	margin: 5px 0;
}

.form-buttons > * {
	margin: 0 10px 0 0;
}

.form-buttons > *:last-child {
	margin-right: 0;
}

.form-group label.error {
	color: #c82333;
	font-weight: normal;
}

.fieldset-title {
    font-size: 18px;
    font-weight: 600;
}

.button-group > .btn:not(:first-child) {
	margin-left: .5rem;
}

.shore-menu .nav-item img.nav-icon {
	margin-right: .4rem;
	height: 22px;
	width: 22px;
}

.shore-form .form-control.small {
	max-width: 100px;
}

.shore-form .form-control.medium {
	max-width: 300px;
}

.shore-form .form-control.large {
	max-width: 500px;
}

.shore-form .form-control.full {
	max-width: 100%;
}

.shore-form .file-upload-preview {
	background-color: #eeeeee;
	display: block;
	margin: 10px 0 0;
	width: 100%;
}

.modal .shore-form .file-upload-preview {
	max-height: 360px;
	overflow: auto;
}

.shore-form .file-upload-preview .image-wrapper {
	border: 1px solid #d1d1d1;
	margin: 0 auto;
	overflow: hidden;
	padding: 10px 35px 10px 10px;
	position: relative;
	width: 180px;
}

.shore-form .file-upload-preview.multiple .image-wrapper {
	display: inline-block;
	margin: 10px 0 10px 10px;
}

.shore-form .file-upload-preview .tools {
	position: absolute;
	right: 10px;
	top: 6px;
	z-index: 5;
}

.shore-form .file-upload-preview .image-container {
	overflow: hidden;
}

.shore-form .file-upload-preview img {
	max-height: 80px;
	width: auto;
}

.shore-form .file-upload-preview.full-view img {
	cursor: pointer;
}

.shore-form .file-upload-preview .image-wrapper .roles {
	margin: 10px 0 0;
}

.shore-form .file-upload-preview .image-wrapper .roles label {
    font-weight: normal;
}

.shore-form .file-upload-button {
	border: 5px dashed #d1d1d1;
	height: 135px;
	position: relative;
	overflow: hidden;
	width: 100%;
}

.shore-form .file-upload-button.hide {
	position: absolute;
	left: -99999px;
	top: -99999px;
	visibility: hidden;
}

.shore-form .file-upload-button.no-label {
	height: 100px;
}

.shore-form .file-upload-button input[type="file"] {
	cursor: pointer;
	height: 100%;
	left: 0;
	position: absolute;
	opacity: 0;
	top: 0;
	width: 100%;
	z-index: 5;
}

.shore-form .file-upload-button .icon {
	color: #d1d1d1;
	display: block;
	font-size: 58px;
	left: 50%;
	padding: 0 10px;
	position: relative;
	text-align: center;
	transform: translate(-50%, -50%);
	top: 35%;
	width: 100%;
}

.shore-form .file-upload-button.no-label .icon {
	top: 50%;
}

.shore-form .file-upload-button .label {
	color: #008bdb;
	display: block;
	font-size: 16px;
	text-align: center;
	width: 100%;
}

.shore-form-gallery-modal .modal-body img,
#view_image_modal .modal-body img {
	display: block;
	height: auto;
	margin: 0 auto;
	max-width: 100%;
	max-height: 75vh;
}

.shore-form .dynamic-rows {
	display: block;
    overflow-x: auto;
    width: 100%;
}

.shore-form .dynamic-rows .file-upload-preview {
	background-color: transparent;
	margin: 0;
}

.shore-form .dynamic-rows .file-upload-preview img {
	cursor: pointer;
	display: block;
	margin: 0 auto;
}

.shore-form .dynamic-rows th.required {
	position: relative;
}

.shore-form .dynamic-rows th.required:after {
	color: #d53621;
	content: "*";
	font-size: 16px;
}

.shore-form .image-upload .file-upload-button {
	max-width: 250px;
}

.shore-form .image-upload .file-upload-preview {
	background-color: transparent;
	margin: 0;
	max-width: 250px;
}

.shore-form .image-upload .file-upload-preview .image-wrapper {
	margin: 0;
}

.shore-form .image-upload img {
	cursor: pointer;
}

.shore-form .multicheckbox-options > .form-group {
	float: left;
}

.shore-form-hidden {
	display: none !important;
}

.shore-form-buttons {
	background-color: #ffffff;
	border-bottom: 1px solid rgba(0,0,0,.125);
	border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;
	padding: .75rem 1.25rem;
}

#quick_edit_modal .shore-form-buttons {
	margin: 0 !important;
	padding: .75rem 1.25rem !important;
}

#quick_edit_modal .shore-form {
	height: 670px;
}

.login-page {
	background-color: #e9ecef;
}

.login-page #app {
	background-color: #d53621;
}

.shore-progress .progress-group:not([data-url=""]) {
	cursor: pointer;
}

.shore-progress .head-loader {
	margin-top: -2px;
}

.shore-button-list > .btn {
	margin: 0 10px 0 0;
}

#product_search {
	position: relative;
}

#product_search .results {
	background-color: #ffffff;
	border: 1px solid #eeeeee;
	border-radius: 3px;
	display: none;
	left: 0;
	position: absolute;
	top: 32px;
	width: 320px;
}

#product_search .results .item {
	border-bottom: 1px solid #eeeeee;
	display: table;
	padding: 10px;
	width: 100%;
}

#product_search .results .item:last-child {
	border-bottom: 0;
}

#product_search .results .item .name {
	font-weight: 600;
}

#product_search .results .item .image {
	float: left;
	width: 25%;
}

#product_search .results .item .details {
	float: left;
	width: 75%;
}

#product_search .results .view-all {
	background-color: #eeeeee;
	padding: 5px 10px;
	text-align: center;
}

.hide-calendar .ui-datepicker-calendar {
	display: none;
}

@media only screen and (max-width: 576px) {
	.form-group.row label {
		text-align: left;
		width: auto;
	}

	.login-box {
		width: 300px;
	}
}