@font-face {
    font-family: "Prompt";
    src: url(../../public/font/prompt/Prompt-Light.ttf) format("truetype");
    font-weight: 100;
    font-style: normal; 
}
:root {
    --color_main: #345DB7; 
}

body,th,td {
    height: 100%;
    margin: 0;
    font-family: "Prompt";
    font-size: 16px !important;
}
.bg_product_new {
    background: #303171;
}
.bg_product_advt {
    background: #ee8b77;
}
.bg_product_detail {
    background: #def4ff;;
}

body {
    background: rgb(132,216,254);
    background: linear-gradient(320deg, rgba(132,216,254,1) 0%, rgba(219,244,255,1) 28%, rgba(255,255,255,1) 76%, rgba(255,255,255,1) 100%);
    background-repeat: no-repeat;
    background-size: auto;
    background-attachment: fixed;
}

.tx_sm {
    font-size: 80%;
}
.tx_md {
    font-size: 90%;
}

#loader {
    top: 0;
    z-index: 99;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: #000000d0;
    color: #fff;
    text-align: center;
    padding-top: 38vh;
    box-sizing: border-box;
}

/* Banner */
#banner_slideshow{
    /* margin-top: 80px; */
    margin-bottom: 20px;
}


/* Photo */
.img_banner {
	position: relative;
	padding-bottom: 31.25%;
	height: 0;
}
.img_banner div {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
    background-color: #666;
	overflow: hidden;
}

.img_product {
	position: relative;
	/* padding-bottom: 56.25%; */
    padding-bottom: 65%;
	height: 0;
    background-color: rgb(183, 183, 183);
}
.img_product div.imgcut {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}
.img_article {
	position: relative;
	/* padding-bottom: 56.25%; */
    padding-bottom: 65%;
	height: 0;
    background-color: rgb(183, 183, 183);
}
.img_article div {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.img_TB {
	position: relative;
	padding-bottom: 35%;
	height: 0;
    border: 1px solid #ccc;
}
.img_TB div {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
    background-color: #303171;
	overflow: hidden;
}
.img_TB div:hover {
    background-color: #ff0000;
}

.img_TT {
	position: relative;
	padding-bottom: 51%;
	height: 0;
    border: 1px solid #ccc;
}
.img_TT div {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
    background-color: #303171;
	overflow: hidden;
}
.img_TT div:hover {
    background-color: #ff0000;
}

.p_icon_new{
    z-index: 11;
    position: absolute;
    top: 8;
    right: 8;
    width: 48px;
    height: auto;
    overflow: auto;
}
.p_icon_new img {
    position: relative;
    width: 100%;
    height: auto;
}

.watermark{
    z-index: 10;
    background: rgba(255, 0, 0, 0.316);
    position: absolute;
    color: #ffffffd7;
    font-size: 25px;
    padding-top: calc(25%);
    top: 0;
    text-align: center;
    font-weight: bold;    
    width: 100%;  
    height: 100%;    
}  

.youtube {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}
.youtube iframe,
.youtube object,
.youtube embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}


.btn_cursor{
    cursor: pointer;
}


/* Button */
#btn_top{
    position: fixed;
    width: 50px;
    height: 50px;
    padding-top: 15px;
    text-align: center;
    cursor: pointer;
    bottom: 95;
    right: 30;
    background-color: var(--color_main);
    color: #ffffff;
    border-radius: 50%;
    transition: 0.2s;
    z-index: 100;
    -webkit-box-shadow: 4px 2px 9px -3px rgba(0,0,0,0.54); 
    box-shadow: 4px 2px 9px -3px rgba(0,0,0,0.54);
}
#btn_top:hover{
    background-color: var(--color_main_light)
}
#btn_top i{
    color: #fff;
}


label.error {
    margin-top: 3px;
    color: #ff0000;
    font-size: 1em;}

input[type="checkbox"].error, 
input[type="text"].error, 
input[type="text"]:read-only.error, 
input[type="password"].error, 
input[type="radio"].error,
input[type="time"].error, 
input[type="file"].error, 
input[type="search"].error, 
textarea.error, 
select.error, 
select:disabled.error {
    background-color: #eafbff !important;
    color: #335ab6 !important;
    outline: #335ab6 auto 5px !important;
}

input[type="checkbox"]:focus.error, 
input[type="text"]:focus.error, 
input[type="text"]:focus:read-only.error, 
input[type="radio"]:focus.error,  
input[type="password"]:focus.error, 
input[type="time"]:focus.error, 
input[type="file"]:focus.error, 
input[type="search"]:focus.error, 
textarea:focus.error, 
select:focus.error, 
select:focus:disabled.error {
    background-color: #eafbff !important;
    color: #335ab6 !important;
    outline: #335ab6 auto 5px !important;
}

.pagination {
    float:right;
    list-style-type: none;
    margin: 0px;
    padding: 0px;
    padding-right: 3px;
}

.pagination li {
    float:left;
}
.pagination li a {
    padding:3px 8px;
    background-color:#ffffff;
    border:1px solid #7E8788;
    margin: 0;
    margin-right:2px;
    color:#000000;
    text-decoration: none;
}
.pagination li a:hover{
	text-decoration:none;
	background-color:#7E8788;
	color:#fff;
}
.pagination li a.current_page{
	background-color:#7E8788;
	color:#fff;
}

/* Bootstrap */
a.linknon{
    text-decoration: dashed;
    color: #000000;
}
input,  
textarea, 
select {
    font-size: 0.95em !important;
}
