div.container {
	width: 100% !important;
}

.d-flex {
    display: flex;
} 

.justify-content-between {
    justify-content: space-between;
}

.justify-content-center {
    justify-content: center;
}

.align-items-center {
    align-items: center;
}

.flex-column {
    flex-direction: column;
}

.mr-2 {
    margin-right: 0.5em;
}

.mr-1 {
    margin-right: 0.25em;
}

p {
    margin-bottom: 0px;
}

.p-2 {
    padding: 0.5em;
}

.breadcrumbs ul {
	padding-left: 0;
	display: inline-flex;
	width: 100%;
	list-style-type: none;
}

.breadcrumbs ul li {
	font-size: 14px;
	line-height: 20px;
	color: #16151B;
	font-style: normal;
	font-weight: normal;
	font-family: "SFP-Regular";
	padding-right: 20px;
	margin-right: 0 !important;
	position: relative;
}

.breadcrumbs ul li:last-child:after {
	content: unset;
}

.breadcrumbs ul li:after {
	content: "/";
	position: absolute;
	right: 10px;
	color: #7A7981;
}

.breadcrumbs ul li a {
	color: #7A7981;
	text-decoration: none;
	transition: 0.3s;
}

.breadcrumbs ul li a:hover {
	color: #16151B;
}

.page-container {
	padding: 25px 0px 0 !important;
	
}

.portlet.light.portlet-fit > .portlet-body {
    padding: 10px 2px 20px;
    padding-bottom: 0px;
}
.portlet.light.portlet-fit > .portlet-title {
    padding: 15px 2px 10px;
}

div.instructions[type-id="1"] > .foreign {
	display: none;
}

div.instructions[type-id="2"] > .domestic {
	display: none;
}

div.instructions[type-id="1"] > .mail, div.instructions[type-id="2"] > .mail {
	display: none;
}

div.instructions[type-id="3"] > .form-group:not(.mail) {
	display: none;
}

.order-view {
    padding: 0 !important;
    margin: 0 !important;
}

.table-info, .table-info > td, .table-info > th {
    background-color: #bee5eb;
}

#chatlist #buyer-chat,
#chatlist #room-tab {
    border-right: 3px solid #7A0017;
    min-height: calc(100vh - 200px);
}

#chatlist #buyer-chat hr,
#chatlist #seller-chat hr{
    margin: 10px 0px;
}

#chatlist #no-message {
    min-height: 400px;
}

#chatlist #room-tab .room {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px;
    border-top: 1px solid #7A0017;
    border-bottom: 1px solid #7A0017;
    cursor:pointer;
}

#chatlist #room-tab .room:first-child {
    border-top: 2px solid #7A0017;
}

#chatlist #room-tab .room:nth-last-child(2) {
    border-bottom: 2px solid #7A0017;
}

#chatlist #room-tab .room.active {
    background-color: #ECECEC;
}

#chatlist #room-tab .room .img-part img{
    width: 60px;
    height: 60px;
}

#chatlist .message-footer form {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    padding: 5px 0px;
}

#chatlist form textarea {
    width: 100%;
    border: 0px;
    resize: none;
    padding: 5px;
    overflow: hidden;
    max-height: 106px;
}

#chatlist form a {
    color: #7A0017;
    font-size: 24px;
    margin: 0px 5px;
}

#chatlist #message-tab {
    min-height: calc(100vh - 200px);
}

#chatlist #message-tab .message-body #messages-tab{
    min-height: 400px;
    max-height: calc(100vh - 400px);
    overflow-y: auto;
}

#product-tab {
    display: flex;
    align-items: center;
    margin: 5px 0px;
}

#product-tab img {
    max-width: 100px;
    margin-right: 20px;
}

#chatlist #messages-tab {
    padding: 10px;
    height: 100%;
    max-height: 100%;
    overflow-y: auto;
}


#chatlist #messages-tab::-webkit-scrollbar {
    width: 5px;
    height: 5px;
    background-color: transparent;
}

#chatlist #messages-tab::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
    border-radius: 10px;
}

#chatlist #messages-tab::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px #7A0017; 
}

#messages-tab div.message {
    border-radius: 10px !important;
    padding: 5px 15px;
    margin: 5px;
    color: grey;
    min-width: 100px;
}

#chatlist #messages-tab > div.mymsg {
    display: flex;
    justify-content: end;
    position: relative;
}

#chatlist #messages-tab > div.mymsg div.message {
    background-color: #B4DEEB;
}

#chatlist #messages-tab > div.mymsg div.message *{
    background-color: #B4DEEB;
}

#chatlist #messages-tab > div.receivemsg {
    display: flex !important;
    position: relative;	
}

#chatlist #messages-tab > div.receivemsg div.message {
    background-color: lightgrey;
}

#chatlist #messages-tab > div.receivemsg div.message * {
    background-color: lightgrey;
}

#chatlist #messages-tab div.mymsg div.time {
    color: grey;
    text-align: right;
    font-size: 12px;
}

#chatlist #messages-tab div.mymsg span.arrow {
    background-color: #B4DEEB;
    clip-path: polygon(0 0, 0% 80%, 100% 100%);
    position: absolute;
    bottom: 20px;
    width: 20px;
    right: -5px;
}

#chatlist #messages-tab div.receivemsg div.time {
    color: grey;
    text-align: left;
    font-size: 12px;
}

#chatlist #messages-tab div.receivemsg span.arrow {
    background-color: lightgrey;
    clip-path: polygon(100% 0, 0 100%, 100% 80%);
    position: absolute;
    bottom: 20px;
    width: 20px;
    left: -5px;
}

#mymessages-tab #product-tab {
    display: flex;
    align-items: center;
    margin: 5px 0px
}

#mymessages-tab #product-tab img {
    max-width: 100px;
    margin-right: 20px;
}
#mymessages-tab #product-tab div * {
    margin-bottom: 0px;
}
#mymessages-tab #product-tab .name {
    color: #16151B;
    font-size: 18px;
}

#mymessages-tab #product-tab .price{
    color: #7A0017;
    font-size: 24px;
    font-weight: 500;
}

#chatlist #messages-tab img {
    width: 100px;
}

.online-badge {
    color: grey;
	font-size: 8px;
}

.online-badge.active {
	color: #0AAD11;
}

.users__table {
	width: 100% !important;
	display: block;
	margin: 0 0 20px !important;
}
.users__table .dataTables_wrapper.no-footer .dataTables_scrollBody {
	border-bottom: none;
}
.users__table .btn-view {
	color: #ffffff !important;
	font-weight: 500 !important;
	background: #1400ff !important;
}
.users__table.hide {
	display: none;
}
.users__table table {
	width: 100% !important;
	font-family: "SFP-Regular" !important;
	border-collapse: collapse !important;
}
.users__table table thead {
	white-space: nowrap !important;
	color: #7a0017 !important;
	border: 1px solid #e8eff4 !important;
}
.users__table table thead tr th {
	border-bottom: none;
	background: none !important;
	color: #7a0017 !important;
	/* font-weight: 600 !important; */
	font-size: 14px !important;
}
.users__table table thead tr th a {
	color: #7a0017 !important;
}
.users__table .dataTable thead .sorting_asc{
	background: none !important;
}
.users__table table thead tr th {
	border: 1px solid #e8eff4 !important;
}
.users__table table tbody {
	border: 1px solid #e8eff4 !important;
}
.users__table table tbody tr td:first-child > * {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}
.users__table table tbody tr td:first-child {
	border-right: 1px solid #e8eff4 !important;
}
.users__table table tbody tr {
	border: 1px solid #e8eff4 !important;
}
.users__table table tbody tr td {
	font-size: 14px !important;
	color: #000000 !important;
}
.users__table table tbody tr td:first-child > * {
	padding: 6px !important;
}

.my-1 {
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
}

.my-2 {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.my-3 {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.page-header.navbar {
    display: block;
    height: auto !important;
}

.page-header .page-top {
    height: auto !important;
}

.page-header .page-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.modal {
    background: rgba(0,0,0,0.3);
}

.form-check-label {
    width: 100%;
}

.special-switch .switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    margin: 0px;
}

.special-switch .switch-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: grey;
}

/* Hide default HTML checkbox */
.special-switch .switch input {
    display: none;
}


.special-switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
    margin: auto !important;
}

.special-switch .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

.special-switch input.default:checked+.slider {
    background-color: #7A0017;
}

.special-switch .slider i {
    display: none;
}

.special-switch input.default:checked+.slider i {
    display: block;
    color: white;
    margin-top: 10px;
    margin-left: 10px;
}

.special-switch input:focus+.slider {
    box-shadow: 0 0 1px #7A0017;
}

.special-switch input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.special-switch .slider.round {
    border-radius: 34px !important;
}

.special-switch .slider.round:before {
    border-radius: 50%;
}