html, body {
	height: 100%;
	font-size: 14px;
}

h1 {
	font-size: 24px
}

h2 {
	font-size: 18px;
	border-bottom: solid 1px #eee;
	padding: 4px
}

#login {
	background-color: #FFF;
	border-radius: 5px;
}

[data-bs-toggle="tooltip"]:hover, [data-bs-toggle="popover"]:hover, [data-bs-toggle="collapse"]:hover  {
	cursor: pointer;
}

.tooltip-inner {
	max-width: 600px;
}

/* a:hover:not(.dropdown-item):not(.dropdown-toggle):not(.btn):not(.navbar-brand):not(.badge) {
	text-decoration: underline;
} */

.bootstrap-select.is-invalid .dropdown-toggle, .error .bootstrap-select .dropdown-toggle, .has-error .bootstrap-select .dropdown-toggle, .was-validated .bootstrap-select select:invalid + .dropdown-toggle {
	border-color: #dc3545!important;
}

.bootstrap-select > .dropdown-toggle {
	background-color: #fff;
	border: 1px solid #ced4da;
}

a.badge:hover {
	color: white!important;
}

a.badge.bg-danger:hover, a > .badge.bg-danger:hover {
	background-color: #9f232f!important;
}

a.badge.bg-success:hover, a > .badge.bg-success:hover {
	background-color: #0c5131!important;
}

a.badge.bg-secondary:hover, a > .badge.bg-secondary:hover {
	background-color: #444a4f!important;
}

.bg-light {
	background-color: #f8f8f8!important;
	border: 1px solid #e7e7e7;
}

.bg-salmon {
	color: #ffffff;
	background-color: #ff4ca8;
 }

.col-form-label {
	font-weight: bold;
}

.scrollable-menu {
    height: auto;
    max-height: 400px;
    overflow-x: hidden;
}

.gutter {
    background-color: #eee;
    background-repeat: no-repeat;
    background-position: 50%;
}

.gutter.gutter-horizontal {
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==');
    cursor: col-resize;
}

#header {
	padding: 20px;
	background: #000;
}

	#logo {
		margin: 0 25px 0 0;
		display: block;
		width: 100%;
		height: 100%;
		background-repeat: no-repeat;
		background-size: contain;

	}

	#header .title {
		color: #fff;
		display: inline-block;
		font-weight: bold;
		font-size: 18px
	}

	#dropdownLanguage {
		color: #fff;
	}

	#btn-account {
		color: #fff!important;
		background-color: #333;
		padding-left: 25px;
		padding-right: 25px;
		border-radius: 3px;
	}

	#btn-account:hover {
		text-decoration: none;
		background-color: #1e1e1e;
	}

	#btn-account i{
		font-size: 18px;
	}

	#quick-search input {
		font-size: 11px;
	}

	#loc {
		background: none;
		padding-left: 0;
		margin-bottom: 0
	}
		#loc li {
			color: #eee
		}

		#loc a {
			color: #d9534f
		}

#content-wrapper {
	margin-top: 20px;
	margin-bottom: 20px;
	height: 100%;
}

#footer {
	background: #000;
	color: #999;
	padding-top: 20px;
	margin-top: 20px;
}

	#payment-icons {
		margin-right: 10px;
		background: transparent url(/payment_method_icons.png) left center no-repeat;
		height: 23px;
		width: 151px
	}

	#footer .time {
		font-weight: bold;
		font-size: 100%;
		color: #fff
	}


.container {
	max-width: 100%;
}

.disclaimer ul {
	overflow: hidden;
	list-style-type: none;
}

	.disclaimer li {
		float: left;
		border-left: solid 1px #fff
	}

	.disclaimer li:first-child {
		border-left: none
	}

	.disclaimer a {
		color: #fff;
		display: block;
		padding: 0 10px
	}

.navbar-brand {
	visibility: visible!important;
}

.navbar-light .navbar-brand {
	color: #777;
}
/**
 * Basket related
 */

 #basket:hover {
	 cursor: pointer;
 }

#customer {
	color: #bbb;
}

.modal-xl {
	width: 90%;
}

	#basket-price, #basket-product-count {
		color: #999;
		font-size: 15pt;
	}

	#claim-product-count{
		text-decoration: none !important;
		color: #999;
		font-size: 15pt;
		margin-left: 15px;
	}

	#message-count .badge, #basket-price .badge, #basket-product-count .badge, #claim-product-count .badge, #notification-badge{
		background-color: #a00;
		color: #fff;
	}

	#basket-content {
		max-width: 90vw;
		position: absolute;
		width: 500px;
		right: 10px;
		margin-top: 35px;
		z-index: 1020;
		background: #fff;
		padding: 5px;
		border: 1px solid #cccccc;
		border: 1px solid rgba(0, 0, 0, 0.2);
		border-radius: 6px;
		-webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
		box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
		background-clip: padding-box;
		padding-bottom: 10px
	}

		#basket-content td {
			padding: 2px;
			font-size: 90%
		}

		#basket-content th {
			font-size: 90%
		}

		#basket-content .btn {
			padding: 5px;
			font-size: 85%
		}

		.basket-row-actions {
			overflow: hidden;
			width: 80px
		}

			.basket-row-actions input {
				margin: 0 2px
			}

			.basket-row-actions span {
				font-size: 11px;
				margin-top: 4px
			}

			.basket-row-actions span:hover {
				color: #a00
			}


#product_add_msg {
	position: fixed;
	left: calc(50% - 228px / 2);
	top: 0px;
	background-color: #fff;
	border: 1px solid #ED1C24;
	padding: 10px 25px;
	border: medium none;
	-webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
	background-clip: padding-box;
	display: none;
	z-index: 10
}


/**
 * Product page
 */

.product_grid_element {
	background-color: #F0F0F0;
	border:2px solid #F0F0F0;
	text-align: center;
	vertical-align: middle;
	overflow: hidden
}

	.product_grid_element.hover {
		background-color: #c0c0c0;
		border-color: #c0c0c0;
		cursor: pointer
	}

	.product_grid_element.hover picture {
		cursor: pointer
	}

	.product_grid_element img {
		max-height: 140px;
		display: block
	}

	.product_grid_element .picture {
		background: #fff;
		padding: 5px;
		max-height: 150px;
		min-height: 150px;
		display: block;
	}

	.product_grid_element .name  {
		float: none;
		font-weight: bold;
		font-size: .8em
	}


#accessories-wrapper {
	border-radius: 4px;
	border: solid 1px #fff;
	padding: 10px;
	background-color: #FFF;
}

.accessories .container {
	height: 175px;
	background-color: #f9f9f9;
	margin-bottom: 15px;
	padding: 10px;
	position: relative
}

	.accessories .height-170 {
		height: 170px;
	}

	.height-100 {
		height: 170px;
	}


button.fancybox-button {
	width: 75px;
	height: 75px;
}

.fancybox-infobar {
	font-size: 20px!important;
}

.fancybox-navigation .fancybox-button {
	padding: 20px 6px 20px 16px!important;
}

.product_accessories_info .dl-horizontal dt {
	text-align: left
}

.product_accessories_info {
	overflow: hidden
}

.product_accessories_info .close {
	position: absolute;
	top: 10px;
	right: 10px
}

input.count, .basket-row-actions input {
	width: 35px;
}

#confirm-table {
	min-width: 780px;
}

/**
 * Product split view
 */

#split-view {
	/*background: #fff;*/
}

#footnote {
	padding-top: 10px
}

#listing {
	background-color: #fff;
	padding: 10px
}

	#listing h4, #footnote h4 {
		margin-top: 0
	}

	#listing .head thead th {
		background-color: #fff;
		padding-left: 5px;
		padding-right: 5px;
		word-wrap: normal
	}

	#listing .table-responsive {
		/* overflow: hidden; */
		overflow-y: scroll;
		overflow-x: unset;
		height: 62vh;
	}

	#listing .table-responsive thead {
		visibility: collapse
	}

#drawing-wrapper {
	background: #fff;
}

#drawing {
	height: 100%;
	overflow: hidden;
	position: relative;
}

#drawing-exploded-view {
	position: relative;
	/*smargin: 0 auto;
	z-index: 1 */
}

	#drawing-exploded-view a {
		position: absolute;
		left: 0;
		top: 0;
		display: block;
		font-weight: bold;
		text-decoration: none;
		font-size: 10px;
		padding: 2px 4px;
		background-color: #fff;
		z-index: 2000;
		text-align: center
	}

	#drawing-exploded-view a:hover, #drawing-exploded-view a.hover, #listing tr.hover td {
		background-color: #ffff5e;
	}

	#drawing-exploded-view .ppgi_mask {
		display: block;
		background: #fff;
		position: absolute
	}

#product_group_nav .dropdown-menu a:hover {
	background-color: #d9534f;
	color: #fff
}

#pan-zoom-tools {
	/* right: 5px;
	z-index: 3;
	background: #fff;
	float: right;
	position: relative; */
	position: absolute;
	right: 5px;
	z-index: 3;
	background: #fff;
	width: 55px;
}

	#pan-zoom-tools button {
		display: block;
		background: none;
		border: none;
		margin: 0 auto;
		margin-bottom: 5px;
	}

		#pan-zoom-tools button:hover .glyphicon {
			color: #a00
		}

		#pan-zoom-tools .glyphicon {
			font-size: 10pt
		}

		#pan-zoom-tools .arrows button {
			display: inline-block
		}


#product_group_drawing_large {
	display: none;
	position: absolute;
	color: #FFFFFF;
	background: #333333;
	padding: 5px;
}

.ui-layout-pane {
	border: none !important
}

.ui-layout-resizer-hover {
	background-color: #f2dede !important
}

.ui-layout-toggler-hover {
	background-color: #a00 !important;
}

	.ui-layout-toggler-hover .glyphicon {
		color: #fff
	}

.ui-layout-toggler .content-open .glyphicon {
	font-size: 8px
}

.ui-layout-toggler .content-closed .glyphicon {
	font-size: 12px
}

/* .popover-header { display: none; } */

.popover {
	max-width: 600px;
}

.close:hover {
	cursor: pointer;
}

.tab-content {
    padding: 30px;
    border: solid 1px #ddd;
    border-top: 0;
}

.form-condensed .form-group {
    margin-top: 0;
    margin-bottom: 5px;
}

.has-error input {
	border-color: #a00
}

.dropdown-toggle:hover {
	text-decoration: underline;
	cursor: pointer;
}

.dropdown-toggle:hover .glyphicon {
	text-decoration: underline;
	cursor: pointer;
}

.dropdown-menu a {
	color:#000!important;
}

.dropdown-menu .dropdown-item.active {
	color: #fff!important;
}

.bold {
	font-weight: bold;
}

.dropzone {
	border: 2px dashed #ccc!important;
    border-radius: 5px!important;
	background: white!important;
	min-height: 92px !important;
}

.dropzone.is-invalid {
	border: 1px solid rgb(199,81,80);
}

/*================================== CHAT CSS ==========================================*/
* {
	box-sizing: border-box;
}


.messages {
	position: relative;
	list-style: none;
	padding: 20px 10px 0 10px;
	margin: 0;
}
.messages .message {
	clear: both;
	overflow: hidden;
	margin-bottom: 20px;
}
.messages .message.left .avatar {
	float: left;
}
.messages .message.left .text-wrapper {
	background-color: #F3F5F8;
/* margin-left: 20px; */
}
.messages .message.left .text-wrapper::after, .messages .message.left .text-wrapper::before {
	right: 100%;
	border-right-color: #F3F5F8;
}
.messages .message.left .text {
	color: #45829b;
}
.messages .message.right .avatar {
	float: right;
}
.messages .message.right .text-wrapper {
	background-color: #434343;
	margin-right: 20px;
	float: right;
	color:white;

}
.messages .message.right .text-wrapper::after, .messages .message.right .text-wrapper::before {
	left: 100%;
	border-left-color: #434343;
}
.messages .message.right .text {
	color: white;

}
.messages .message.appeared {
	opacity: 1;
}
.messages .message .avatar .fa-user {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	display: inline-block;
}
.messages .message .text-wrapper {
	display: inline-block;
	padding: 20px;
	border-radius: 6px;
  /* width: calc(100% - 85px); */
	min-width: 100px;
	position: relative;
}
.messages .message .text-wrapper::after, .messages .message .text-wrapper:before {
	top: 18px;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}
.messages .message .text-wrapper::after {
	border-width: 13px;
	margin-top: 0px;
}
.messages .message .text-wrapper::before {
	border-width: 15px;
	margin-top: -2px;
}
.messages .message .text-wrapper .text {
	font-weight: 300;
	min-height: 25px;
}

.child-message {
	background-color: #dfe6e9;
}

span[data-toggle="tooltip"]:hover {
	cursor: pointer;
}

.accordion-card-header {
	padding: 0;
    margin-bottom: 0;
}

.accordion-card-header .accordion-button {
	background-color: rgba(0,0,0,.03);
	padding: 0.5rem 1rem;
}

.accordion-button:focus{
	background-color: rgba(0,0,0,.03);
	box-shadow: none;
}

.accordion-button {
	background-color: rgba(0,0,0,.03);
}

.accordion-button:not(.collapsed) {
	color: #212529;
}

.accordion-button:not(.collapsed)::after {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

@media (max-width:767px) {

	.border-end {
	  border:0px solid !important
	}
}

@media screen and (max-width: 610px)  {

	#drawing, #footnote {
		margin-bottom: 20px
	}

	#footnote div {
		border: solid 1px #ccc;
		padding: 10px
	}

	.ellipsis {
		width: 100px;
	}
}

@media screen and (max-width: 420px)  {

	#basket {
		position: relative
	}
}

@media screen and (min-width: 460px)  {
	#split-view {
		display: flex;
		flex-direction: row;
		height: 99%
	}
}

.rotate-180 {
	transform: rotate(180deg);
}

.ellipsis {
	width: 250px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	display: block;
}

@media (min-width: 768px) {
    .img_big:hover {
        z-index: 1000;
        transform: perspective(2px) scale(2);
    }
}

@media (min-width: 768px) {
    @media (prefers-reduced-motion: no-preference) {
        .img_big:hover {
            -webkit-transition: .2s ease-in-out;
            transition: .2s ease-in-out;
        }
    }
}