.dlg {
	position: fixed;
	z-index: 99;
	background: rgba(0, 0, 0, 0.2);
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	display: none;
}

#dlg_confirm,
#dlg_error,
.dlg {
	background: rgba(0, 0, 0, 0.3);
	backdrop-filter: blur(5px);
}

#dlg_confirm .dlg_cont,
#dlg_error .dlg_cont {
	max-width: 400px;
	min-width: 320px;
	position: relative;
	border-radius: 12px;
	padding: 15px;
}

/*========= arview styles ==========*/
.arview_loading,
.arview_loading_spinner {
	position: fixed;
    left: 0px;
    top: 0px;
    width: 100% !important;
    height: 100% !important;
    z-index: 99;
    background: #fff;
    display: none;
}
.arview_loading_spinner {
	justify-content: center;
	align-items: center;
}
.arview_loading_spinner img {
	width: 160px;
	height: 120px;
}
.arview_loading_close {
	position: absolute;
	right: 0px;
    top: 0px;
    font-size: 16px;
    font-weight: 600;
    padding: 10px 12px;
}
.arview_loading img {
	max-width: 315px;
	display: block;
	margin: 30px auto;
}
.arview_loading h1 {
	color: #008ffa;
	text-align: center;
	padding-top: 40px;
    font-size: 48px;
    font-weight: 600;
}
.arview_loading_row {
	display: flex;
	padding: 6px;
    max-width: 250px;
    margin: 0 auto;
    font-weight: 500;
}
.arview_loading_row span {
	color: #008ffa;
	width: 14px;
}
.bt_arview_begin {
	padding: 12px 32px;
	max-height: 44px;
    border-radius: 40px;
    margin-top: 20px;
}
img.arview_arrow {
	position: absolute;
	width: 155px;
	height: auto;
	right: 36px;
    bottom: 42px;
    display: none;
}
.arview_cube {
	position: absolute;
	font-size: 94px;
	width: 100%;
	text-align: center;
	top: 66px;
	color: #d34446;
}

.draggable.dragging, .draggable .dragging {
    opacity: 1;
}
.filter_close,
.dlg_close,
.arview_fullscreen,
.arview_slider,
.arview_slider_h,
.msg_close,
.request_close {
	position: absolute;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 20px;
	height: 20px;
	background: rgba(0,0,0,.65);
	color: #fff;
	right: 5px;
	top: 13px;
	border-radius: 20px;
	font-size: 10px;
    line-height: 12px;
	cursor: pointer;
	display: none;
	z-index: 6;
}
.dlg_close:hover, .dlg_close:active,
.filter_close:hover,.filter_close:active,
.arview_fullscreen:active,
.msg_close:hover,.msg_close:active,
.request_close:hover,.request_close:active {
	background: var(--primary-color);
	opacity: 0.85;
}
.dlg_close,
.arview_close,
.arview_fullscreen,
.msg_close,
.arview_reload,
.arview_slider,
.arview_slider_h,
.arview_help,
.request_close {
	display: flex;
}
.arview_reload,
.arview_fullscreen,
.arview_help {
	right: auto;
	left: 1px;
    top: 1px;
    padding: 10px;
    width: 40px;
    height: 40px;
    background: transparent;
    font-size: 20px;
    background: rgba(211,68,70,0.2);
}
.arview_slider {
    height: 240px;
    right: 3px;
    top: calc(50% - 120px);
    margin-top: 8px;
    padding-left: 12px;
    width: 32px;
    background: transparent;
    display: none;
}
.arview_slider_h {
	width: 240px;
	top: auto;
    bottom: 3px;
    left: calc(50% - 120px);
    margin-left: 8px;
    padding-top: 12px;
    height: 32px;
    background: transparent;
    display: none;	
}
.arview_slider label,
.arview_slider_h label {
	position: absolute;
	top: -20px;
	left: 0px;
	font-size: 12px;
	color: #fff;
	width: 100%;
	text-align: center;
	ont-weight: 400;
    margin-bottom: 0px;
    display: none;
}
.arview_slider div {
	position: absolute;
	top: 0px;
	height: 100%;
    background: rgba(255,255,255,0.7);
    width: 5px;
    border-radius: 6px;
}
.arview_slider_h div {
	position: absolute;
	left: 0px;
	width: 100%;
    background: rgba(255,255,255,0.7);
    height: 5px;
    border-radius: 6px;
}
.arview_slider span {
	position: absolute;
	left: -9px;
	width: 23px;
	height: 23px;
	top: 112px;
	border-radius: 16px;
	background: rgba(255,255,255,1);
	box-shadow: rgba(0,0,0,0.3) 1px 1px 8px 0px;
	background: #0079ff;
/*	transition: all 0.3s;*/
}
.arview_slider_h span {
	position: absolute;
	top: -9px;
	width: 23px;
	height: 23px;
	left: 112px;
	border-radius: 16px;
	background: rgba(255,255,255,1);
	box-shadow: rgba(0,0,0,0.3) 1px 1px 8px 0px;
	background: #0079ff;
}
.arview_slider span:active,
.arview_slider span:hover,
.arview_slider_h span:active,
.arview_slider_h span:hover {
/*	background: rgba(211,68,70,0.9);*/
	transform: scale(1.2);
}
.arview_fullscreen {
	right: 1px;
	left: auto;
	display: none;
}
.arview_fullscreen img {
	width: 100%;
	height: 100%;
}
body.arfullscreen .top_menu {
/*	display: none;*/
}
body.arfullscreen .arview {
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100% !important;
	height: 100% !important;
	z-index: 99;
}
body.arfullscreen .arview .img_shrink {
	display: inline-block;
}
body.arfullscreen .arview .img_expand {
	display: none;
}
.arview {
	position: absolute;
	z-index: 6;
	width: 100%;
	height: 100%;
	background: #222;
	display: none;
}
.arview iframe {
	width: 100%;
	height: 100%;
}
.arview_wheel {
	position: absolute;
	background: rgba(0,0,0,0.8);
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #fff;
	z-index: 5;
    display: none;
}
.arview_wheel_cont {
	text-align: center;
}
.arview_reload, 
.arview_close, 
.arview_fullscreen,
.arview_help {
	width: auto;
	height: auto;
	padding: 0;
	background: transparent;
	left: 5px;
	top: 5px;
}
.arview_fullscreen img {
    width: 18.5px;
    height: 19px;
}
.arview_reload {
	top: 42px;
	bottom: auto;
}
.arview_fullscreen {
	left: auto;
	top: auto;
	bottom: 10px;
	right: 10px;
}
.arview_place0,
.arview_place,
.arview_place1,
.arview_place2_1,
.arview_place2_2 {
/*	font-family: "SecondaSoft";*/
	position: absolute;
    z-index: 6;
    width: 100%;
    bottom: 20px;
    left: 0px;
    text-align: center;
    font-size: 18px;
    letter-spacing: 0.05px;
    font-weight: 600;
    text-shadow: 0 0 2px rgba(0,0,0,0.7);
    text-shadow: none;
    color: #fff;
    display: none;
}
.arview_bt_place,
.arview_bt_place1,
.arview_bt_place2_1,
.arview_bt_place2_2 {
	padding: 3px 24px;
	background: #00ba6a;
	border-radius: 8px;
	margin-top: 10px;
	display: inline-block;
    font-size: 16px;
}
.arview_help {
	left: 5px;
	top: 80px;
}
.arview_show_wheel {
	background: #fff;
    position: absolute;
    width: 100%;
    z-index: 10;
    bottom: 0px;
    left: 0px;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    padding: 2px 0px;
    cursor: pointer;
    user-select: none;
}
.ar_help {
	position: absolute;
	background: rgba(0,0,0,0.85);
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 12;
	color: #fff;
	display: none;
}
.ar_help_close {
	position: absolute;
	left: 5px;
	top: 5px;
	z-index: 8;
}
.ar_help_title {
	font-weight: 600;
	font-size: 26px;
	line-height: 36px;
	padding-bottom: 5px;
}
.ar_help .img_center {
	padding: 40px 0px;
	text-align: center;
}
.ar_help .img_center > img {
	width: 141px;
	height: auto;
	display: inline-block;
}
.ar_help .help_3 .img_center {

}
.ar_help .help_3 .img_center > img {
	width: 219px;
}
.ar_help .img_center > img.img_xy {
	position: absolute;
    margin-left: -82px;
    margin-top: 58px;
    width: 111px;
}
.ar_help .img_center > img.help_slider {
	position: absolute;
	width: 53px;
	right: 0px;
	margin-top: -16px;
}
.ar_help .img_center > img.img_tap {
	width: 86px;
	display: none;
}
.ar_help .img_center > img.img_tap1 {
	width: 145.5px;
	display: none;
}
.ar_help .help_21 .img_center > img {
	width: 114px;
}
.ar_help .help_21 .img_center > img.img_xy {
	position: absolute;
	width: 180px;
    margin: auto;
    left: calc(50% - 90px);
    top: calc(50% + 48px);
}
.ar_help .help_21 .div_help {
	padding-top: 0px;
}
.div_help {
	padding: 16px 24px;
	border-top-left-radius: 24px;
	border-top-right-radius: 24px;
}
.ar_help .ar_help_next,
.ar_help .ar_help_continue {
	margin-left: auto;
	position: absolute;
	bottom: 20px;
	right: 24px;
	z-index: 8;
}
.ar_help .ar_help_continue {
	background: #fff;
	color: #000;
	display: flex;
	align-items: center;
	padding-left: 16px;
	border-radius: 20px;
	display: none;
	font-weight: 500;
}
.ar_help .ar_help_continue img,
.ar_help .ar_help_next img {
	width: 37px;
	height: auto;
}
.ar_help .img_black {
	display: none;
}
.help_3 .div_help {
	padding-top: 0;
}
.help_3 .ar_help_desc,
.help_21 .ar_help_desc {
	display: none;
}
.ar_help .owl-carousel {
	height: 100%;
}
.ar_help .owl-dots {
	position: absolute;
	bottom: 28px;
	left: 24px;
}
.ar_help .owl-dots button {
	width: 8px;
	height: 8px;
	background: #fff;
	border-radius: 8px;
    margin: 0px 5px;
    opacity: 0.5;
}
.ar_help .owl-dots button.active {
	opacity: 1;
}
.arview.mini .ar_help, .arview.mini_tiny .ar_help {
	display: none !important;
}
.arfullscreen .ar_help .img_center {
	padding: 100px 0px;
}
.arfullscreen .ar_help .help_3 .img_center {
	padding: 89px 0px;
}
.arfullscreen .ar_help .help_21 .div_help {
	padding-top: 40px;
	margin-top: 20px;
}
.arfullscreen .ar_help .help_21 .img_center {
	padding-bottom: 47px;
}
.arfullscreen .ar_help .help_21 .img_center1 {
	margin-top: 20px;
}
.arfullscreen .ar_help .help_21 .img_center > img {
	width: 141px;
}
.arfullscreen .ar_help .help_21 .img_center > img.img_xy {
    width: 210px;
    left: calc(50% - 105px);
    top: calc(50% + 83px);
}
.arfullscreen .div_help {
	background: #fff;
	color: #000;
	height: calc(100% - 160px);
	margin-top: 160px;
	padding-top: 40px;
}
.ar_help .owl-carousel .owl-stage-outer,
.ar_help .owl-carousel .owl-stage,
.ar_help .owl-carousel .owl-item,
.ar_help .help_cont {
	height: 100%;
}
.ar_help .ar_help_desc1 img {
	display: inline-block;
}
.ar_help_desc1 {
	width: 30px;
	margin-right: 20px;
}
.ar_help_desc2 {
	width: calc(100% - 50px);
}
.help_2 .ar_help_desc1 {
	width: 55px;
	margin-right: 20px;
}
.help_2 .ar_help_desc2 {
	width: calc(100% - 75px);
}
.arfullscreen .ar_help .img_black {
	display: block;
}
.arfullscreen .ar_help .img_white {
	display: none;
}
.arfullscreen .ar_help .owl-dots button {
	background: #000;
}
.arfullscreen .ar_help .owl-dots button.owl-dot.active {
	background: #000;
}
.arfullscreen .ar_help_title {
	font-size: 32px;
	line-height: 42px;
	padding: 24px 0px;
	padding-bottom: 40px;
}
.arfullscreen .help_3 .ar_help_desc,
.arfullscreen .help_21 .ar_help_desc {
	display: block;
}
.arfullscreen .ar_help .ar_help_next,
.arfullscreen .ar_help .ar_help_continue {
	bottom: 32px;
}
.arfullscreen .ar_help .owl-dots {
	bottom: 40px;
	text-align: left;
}
.arfullscreen .ar_help .ar_help_continue {
	background: #000;
	color: #fff;
}
.arfullscreen .ar_help .img_center > img.img_tap {
	position: absolute;
	display: block;
	left: calc(50% - 65px);
    margin-top: 16px;
}
.arfullscreen .ar_help .img_center > img.img_tap1 {
	position: absolute;
	display: block;
	right: 27px;
    margin-top: 70px;
}
.arfullscreen .arview_place0,
.arfullscreen .arview_place,
.arfullscreen .arview_place1,
.arfullscreen .arview_place2 {
	bottom: calc(50% - 220px);
}
.arview_place {
	bottom: calc(50% - 86px);
}
.bt_arview_gotit {
	background: #fff;
    color: #008ffa;
}
.arview {
	transition: all 0.2s;
	display: none;
	position: fixed;
	overflow: hidden;
	left: 0px;
    top: 61px;
}
.arview_top_left .arview_close {
	display: none;
}
.noscroll {
	height: 100vh !important;
	overflow: hidden !important;
}
body .arview.mini {
	top: auto;
	left: 0px;
	bottom: 0px;
	width: 160px!important;
	height: 240px!important;
	border-radius: 12px;
}
body .arview.mini_tiny {
	left: -130px;
	top: auto;
	bottom: 8px;
	width: 160px!important;
	height: 160px!important;
	border-radius: 12px;
}
.arview.mini .arview_shrink, .arview.mini_tiny .arview_shrink,
.arview.mini .arview_help, .arview.mini_tiny .arview_help,
.arview.mini .arview_reload, .arview.mini_tiny .arview_reload,
.arview.mini .arview_camera, .arview.mini_tiny .arview_camera,
.arview.mini .arview_add, .arview.mini_tiny .arview_camera,
.arview.mini .arview_top_right .arview_close, .arview.mini_tiny .arview_top_right .arview_close,
.arview.mini .arview_bottom, .arview.mini_tiny .arview_bottom,
.arview.mini .arview_bottom_edit, .arview.mini_tiny .arview_bottom_edit,
.arview.mini_tiny .arview_top_right,
.arview.mini .arview_reposition, .arview.mini_tiny .arview_reposition,
.arview.mini .arview_camera_close, .arview.mini_tiny .arview_camera_close {
	display: none !important;
}
.arview.mini .arview_top_left .arview_close, .arview.mini_tiny .arview_top_left .arview_close {
	display: block;
}
.arview.mini_tiny .arview_close {
	display: none;
}
.arview_close {
	z-index: 11;
}
.arview_overlay {
	position: absolute;
	z-index: 10;
	background: rgba(0,0,0,0.15);
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	display: none;
}
.arview.mini .arview_overlay, .arview.mini_tiny .arview_overlay {
	display: block;
}
.arview_full {
	display: none;
}
.arview_mini, 
.arview_mini_tiny {
	font-size: 30px;
	color: #fff;
	position: absolute;
	right: 10px;
	bottom: 0px;
    z-index: 11;
	display: none;
}
.arview_mini, 
.arview_mini_tiny {
	padding: 0px 10px;
    right: 0px;
}
.arview_full {
	bottom: auto;
	top: 0px;
}
.arview.mini .arview_mini, 
.arview.mini .arview_full {
	display: block;
}
.arview.mini_tiny .arview_mini_tiny {
	display: block;
}
.img28 {
    width: 28px;
    height: 28px;
}
.arview_top_left,
.arview_top_right {
	background: rgba(0,0,0,0.26);
	background: rgba(0,0,0,0.26);
	border-radius: 40px;
	padding: 6px 5px;
	position: absolute;
	left: 8px;
	top: 10px;
    z-index: 11;
    display: none;
}
.arview_top_right {
	display: block;
}
.arview_top_left img,
.arview_top_right img {
	padding: 3px;
}
.arview_top_right {
	right: 8px;
	left: auto;
	z-index: 12;
}
.arview_camera,
.arview_reload {
	margin: 16px 0px;
}
.arview_bottom,
.arview_bottom_edit {
	background: rgba(242,242,242,0.8);
	border-radius: 16px;
	position: absolute;
	z-index: 11;
	padding: 10px;
    width: calc(100% - 20px);
    left: 10px;
    bottom: 10px;
    display: none;
}
.arview_pos_top{
	margin-left: auto;
	margin-right: auto;
}
.arview_pos_bottom{
	margin-left: auto;
	margin-right: auto;
}
.arview_bottom .owl-carousel .owl-item {
	transition: all 0.2s;
}
.arview_bottom .owl-carousel .owl-item.active.active_cur {
	transform: scale(1.1);
}
.arview_bottom .owl-carousel .owl-item:not(.active_cur) {
    transform: scale(0.8);
    margin-top: 5px;
}
.arview_wheel_info .brand_img {
	width: 40px;
	height: 40px;
	object-fit: contain;
	background: #fff;
	border-radius: 6px;
	margin-right: 6px;
}
.arview_wheel_info .size {
	width: 94px;
	margin-top: 0;
    margin-bottom: auto;
}
.size {
	background: #fff;
    border: 1px solid #dee2e6;
    color: var(--primary-color);
    font-weight: 500;
    padding: 8px;
    border-radius: 4px;
    margin-top: auto;
    width: 100%;
    width: 110px;
    position: relative;
}
.size i {
	position: absolute;
	right: 5px;
	color: #888;
	top: 10px;
	font-size: 14px;
    line-height: 14px;
}
.size .fa-angle-down {
	display: none;
}
.size.sel .fa-angle-down {
	display: inline-block;
}
.size.sel .fa-angle-up {
	display: none;
}
.size.sel + .size_selection {
	display: block;
}
.size_selection {
    position: absolute;
    background: #fff;
    width: 110px;
    bottom: 38px;
    left: 0px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    max-height: 150px;
    overflow-y: auto;
	display: none;
}
.size_item {
	padding: 8px;
	transition: all 0.3s;
    border-bottom: 1px solid #eee;
    opacity: 0.6;
}
.size_item:last-child {
	border-bottom: 0;
}
.size_item:hover {
	background: #f5f5f5;
	opacity: 1;
}
.arview_wheel_info .size_selection {
	bottom: 131px;
    left: auto;
    right: 13px;
    width: 94px;
}
.arview_bottom_edit {
	display: flex;
	justify-content: space-between;
	padding: 13px 16px;
	display: none;
}
.arview_bottom_edit img.arview_bottom_edit_close {
	position: absolute;
	right: 0px;
	top: -32px;
	width: 28px;
	height: 28px;
}
.arview_positions {
	text-align: center;
}
.arview_bottom_edit img {
	width: 40px;
	height: 40px;
	user-select: none;
	-webkit-user-select: none;
	-webkit-touch-callout: none;
}
.arview_pos_left {
	margin-right: 40px;
}
.arview_height_lb {
	height: 40px;
	line-height: 40px;
	text-align: center;
	font-size: 10px;
}
.arview_hole {
	width: 344px;
	height: 344px;
}
.arview_hole_bg {
	width: 100%;
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
}
.arview_hg_top {
	position: absolute;
	width: 100%;
	left: 0;
	top: 0;
	height: calc(50% - 172px);
	background: rgba(0,0,0,0.5);
}
.arview_hg_bottom {
	position: absolute;
	width: 100%;
	left: 0;
	bottom: 0;
	height: calc(50% - 172px);
	background: rgba(0,0,0,0.5);
}
.arview_hg_left {
	position: absolute;
	left: 0;
	top: calc(50% - 172px);
	height: 344px;
	width: calc(50% - 172px);
	background: rgba(0,0,0,0.5);
}
.arview_hg_right {
	position: absolute;
	right: 0;
	top: calc(50% - 172px);
	height: 344px;
	width: calc(50% - 172px);
	background: rgba(0,0,0,0.5);
}
.arview_repos {
	position: absolute;
	left: 0;
	top: 0px;
	height: 100%;
	width: 100%;
	z-index: 11;
	display: none;
}
.sq_help {
	border-radius: 2px;
	border: 2px solid #fff;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
}
.arview_camera_close {
	position: absolute;
	z-index: 11;
	left: 10px;
	top: 15px;
	display: none;
}
.arview_camera_close img {
	padding: 3px;
}
.arview_hg_btn {
	position: absolute;
	width: 100%;
	top: calc(50% + 172px);
	padding-top: 30px;
}
.arview_repos .bt,
.div_arview_places .bt {
	display: inline-block;
	padding: 8px 12px;
	border-radius: 40px;
}

.arview_repos .bt_outline {
	background: transparent;
}
.arview_reposition {
	position: absolute;
	width: 128px;
	left: calc(50% - 64px);
	top: 12px;
	z-index: 11;
	display: none;
}
.div_arview_places {
	position: absolute;
    width: 100%;
    height: 100%;
    z-index: 11;
    left: 0px;
    top: 0px;
    background: rgba(0,0,0,0.5);
    display: none;
}
.arview_repos_1 {
    background: rgba(0,0,0,0.5);
    color: #fff;
}
.div_arview_places.noopacity {
	background: transparent;
}
#arview_bottom {
	white-space: nowrap;
	overflow-x: auto;
	text-align: center;
}
#arview_bottom img {
	width: 20%;
    padding: 8px;
    padding-bottom: 0;
    opacity: 0.5;
	display: inline;
}
#arview_bottom img.sel {
	padding: 0;
	opacity: 1;
}
.arview_add.disabled {
	opacity: 0.5;
}
.arview_dlg {
	position: fixed;
	z-index: 99;
	background: rgba(0, 0, 0, 0.2);
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	display: none;
}
.arview_dlg_cont {
	background: rgba(255,255,255,0.9);
	padding: 24px;
	border-radius: 8px;
	position: relative;
	max-width: 99%;
	width: 320px;
	color: #000;
	font-size: 18px;
}
.arview_dlg_message {
	padding: 20px 0px;
	font-weight: 500;
	text-align: center;
}
.arview_dlg .bt_outline {
	background: transparent;
    border: 1px solid #008ffa;
    color: #008ffa;
}
.model_view,
.model_3d_view {
	position: fixed;
	z-index: 9;
	background: rgba(0,0,0,0.15);
	left: 0;
	top: 0;
	height: 100vh;
	right: 0;
	display: none;
	font-weight: 500;
	color: #000;
}
.model_overlay {
	position: absolute;
	z-index: 9;
	background: #fff;
	left: 0;
	top: 0;
	height: 100%;
	right: 0;
	display: none;
	align-items: center;
	justify-content: center;
}
.model_view_cont,
.model_3d_view_cont {
	position: absolute;
	left: 0px;
	top: 0px;
	right: 0px;
	height: 100%;
	background: #fff;
	padding: 0px 8px;
}
.div_model_view {
	position: relative;
	padding-left: 10px;
}
.div_mv {
	padding: 0px;
	padding-top: 10px;
	padding-bottom: 0px;
	height: calc(100vh - 166px);
}
.div_mv_embed {
	height: calc(100vh - 133px);
}
.model_3d_view_cont .div_mv {
	height: calc(100vh - 72px);
}
model-viewer {
	display: block;
    position: relative;
    contain: strict;
}


.model_view_cont model-viewer,
.model_3d_view_cont model-viewer,
.model_view_cont .div_my_model {
	width: 100%;
	height: 100%;
}

.model_view_cont model-viewer,
.model_3d_view_cont model-viewer,
.model_view_cont .div_my_model {
	width: 100%;
	height: 100%;
}
.d_input select.f_input {
	padding: 9px 10px;
    padding-left: 5px;
}
.ms_bg {
	background: #f5f5f5;
	border-radius: 8px;
	padding: 10px 12px;
	position: relative;
	user-select: none;
}
.ms_bg1 {
	background: #E8E6E4;
	padding: 10px 8px;
	margin: 0px -4px;
    margin-top: 10px;
    border-radius: 10px;
}
.img28 {
	width: 28px;
	height: auto;
}
.h_scroll {
	margin-top: 10px;
	white-space: nowrap;
	overflow-x: scroll;
	-webkit-overflow-scrolling: touch;
	scroll-behavior: smooth;
    margin-left: -5px;
    margin-right: -5px;
}
.h_scroll > div {
	display: inline-block;
}
.ms_item {
	padding: 6px 10px;
	border-radius: 40px;
	border: 1px solid #ccc;
	margin: 5px 5px;
	margin-left: 0;
	cursor: pointer;
	position: relative;
	user-select: none;
	font-size: 13px;
    line-height: 1.4;
}
.ms_item i {
	font-size: 17px;
}
.ms_item.sel {
	background: #fff;
	border-color: #aaa;
}
.ms_part .ms_item {
	margin-right: 8px;
}
.ms_item_color {
	width: 36px;
	height: 36px;
	border-radius: 40px;
	margin: 5px 3px;
	padding: 2px;
	border: 3px solid #E8E6E4;
	cursor: pointer;
	position: relative;
}
.ms_item_color.sel {
	border: 3px solid #fff;
	box-shadow: #555 0px 0px 1px 1px;
}
.ms_item_color_plus.hline {
	margin-right: 10px;
}
.ms_item_color_plus.hline::after {
	content: '';
	position: absolute;
    border-right: 1px solid #888;
    height: 30px;
    top: 0px;
    right: -10px;
}
.ms_close {
	cursor: pointer;
}
.ms_c_black {
	background: #000;
}
.ms_c_gray {
	background: #555;
}
.ms_c_mi_gray {
	background: #9F9F9F;
}
.ms_c_li_gray {
	background: #D3D3D3;
}
.ms_c_white {
	background: #fff;
}
.ms_c_chrome {
	background: url('../images/chrome.png');
	background-size: 100% 100%;
}
.flex_grow {
	flex: 1;
}
.model_setting {
	width: 360px;
	padding-top: 40px;
}
.model_top_controls img {
	width: 30px;
	height: 30px;
}
.ms_tabs {
	display: flex;
	border-radius: 30px;
	border: 1px solid #ccc;
	background: #eee;
	padding: 2px;
}
.ms_tab {
	font-size: 13px;
	padding: 3px 15px;
    line-height: 18px;
	font-weight: 500;
}
.ms_tab.sel {
	background: #fff;
	border-radius: 30px;
}
.p20 {
	padding: 20px;
}
.ms_c_chrome .sp-replacer {
	position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
}
.model_footer {
    background: #D6E3E2;
    padding: 10px 10px;
    padding-bottom: 12px;
    margin-top: 5px;
}
.model_footer .btd {
	margin-top: 0;
	margin-bottom: 0;
}
.model_view .bt_customize,
.model_view .bt_see_3d {
	display: none !important;
}
input.ms_auto_play {
	margin: 0;
	margin-right: 5px;
	width: 16px;
	height: 16px;
	margin-left: 16px;
}
.ms_color {
	position: relative;
}
.ms_color.disabled::after {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	background: rgba(255,255,255,0.5);
}
.model_3d_info {
	position: absolute;
	background: #f5f5f5;
	padding: 16px 20px;
	border-radius: 8px;
	left: 10px;
	top: 10px;
}
.model_view .owl-carousel .owl-item,
.model_view .owl-carousel .owl-item.active,
.model_view .owl-carousel .owl-item:not(.active) {
	transform: scale(1.0);
	opacity: 1;
	width: auto !important;
}
.model_view .ms_owl {
	overflow: hidden;
	margin-top: 10px;
}
.model_view ::-webkit-scrollbar-thumb {
    background: #d5d5d5;
}
.model_view ::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}
#eyedrop {
	cursor: pointer;
}


.model_setting_mb,
.auto_play_mb,
.ms_arrow_mb,
.model_view_top_mb {
	display: none;
}
@media only screen and (max-width: 767px) {

	.model_view_cont model-viewer,
.model_3d_view_cont model-viewer,
.model_view_cont .div_my_model {
	width: 100%;
	height: 100%;
}
	
	.model_3d_info {
		display: none;
	}
	.model_setting {
		display: none;
	}
	.model_view_top_mb {
		display: block;
		position: absolute;
    	top: 100px;
    	left: 10px;
	}
	.model_setting_mb {
		display: block;
		background: #eee;
		padding: 8px;
		font-size: 12px;
		line-height: 15px;
		color: #000;
		height: calc(100vh - 490px);
    	overflow-y: auto;
    	position: relative;
	}
	.div_mv {
		padding-top: 0px;
		padding-bottom: 0px;
		height: 390px;
		margin-top: 5px;
	}
	.div_mv_full {
		height: calc(100vh - 100px);
	}
	.auto_play_mb {
		position: absolute;
	    bottom: 3px;
	    left: -10px;
	    font-size: 12px;
	    display: flex;
	}
	.flex_model {
		flex-direction: column;
		padding-top: 0px !important;
	}
	.div_model_view {
		padding: 0px;
	}
	.div_model_view .ms_refresh,
	.div_model_view .ms_camera,
	.div_model_view .ms_close {
		width: 30px;
	}
	.ms_tab {
		font-size: 12px;
    	padding: 3px 12px;
    	font-weight: 500;
	}
	.model_setting_mb .d_input .f_input {
		padding: 7px 5px;
		font-size: 13px;
		border-radius: 4px;
	}
	.model_view_cont {
		padding: 0;
	}
	.ms_bg {
		background: #fff;
		padding: 8px;
		border-radius: 6px;
	}
	.h_scroll {
		margin-top: 0;
	}
	.ms_item {
		padding: 5px 8px;
		margin: 0px 5px;
		margin-bottom: 5px;
	}
	.ms_item.sel {
		border-color: #000;
	}
	.ms_item_color {
	    width: 34px;
	    height: 34px;
	    border-color: #f5f5f5;
	}
	.ms_part .h_scroll {
		text-align: center;
		position: relative;
		overflow: auto;
	}
	.ms_part_prev,
	.ms_part_next {
		border:1px solid #959595;
		border-radius: 4px;
		background-color: #e2e2e2;
		font-size: 18px;
    	padding: 6px 10px;
    	position: absolute;
    	top: 7px;
    	z-index: 1;
			cursor: pointer;
	}

	.ms_part_next {
		right: 10px;
	}

	.ms_part_prev {
		left: 10px;
	}
	.ms_part .ms_item {	
		display: none;
		font-size: 14px;
		font-weight: 500;
		border-color: transparent;
	}
	.ms_part .ms_item.sel {
		display: inline-block;
	}
	.model_footer {
		display: none;
	}
	#dlg_confirm .dlg_cont, 
	#dlg_error .dlg_cont {
		max-width: calc(100vw - 20px);
	}
	.ms_arrow_mb {
		font-size: 18px;
		width: 24px;
		height: 24px;
		color: #888;
		border: 1px solid #888;
		border-radius: 30px;
		position: absolute;
		z-index: 1;
		right: 5px;
		bottom: 3px;
		transition: all 0.3s;
		display: flex;
	    align-items: center;
	    justify-content: center;
	}
	.ms_arrow_mb i {
		transform: rotate(-90deg);
	}
	.ms_arrow_mb.open i {
		transform: rotate(90deg);
	}
	.btd.bt_send_request {
		padding: 7px 16px;
		font-size: 14px;
	    margin-left: auto;
    	margin-right: 0;
	}
}
@media only screen and (max-width: 380px) {
	.model_setting_mb {
		height: calc(100vh - 460px);
	}
	.div_mv {
		height: 360px;
	}
}