@font-face {
    font-family: "Bon Foyage";
    src: url(../asset/fonts/Bon-Foyage.otf);
}
*{margin:0;padding:0;}
body{
    font-size:14px;
    font-family: "Be Vietnam Pro", sans-serif;
    color:#000;
    font-weight: 400;
    background: #D6CBB5;
}
ol, ul {
    list-style: none;
}
a{ color:#e51e25;}
a, a:hover {text-decoration:none; color: #e51e25;}

.clear {
    clear: both;
    font-size: 0px;
    line-height: 0px;
    height: 0;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: 500;
    line-height: 1.1;
}

.hide {
    display: none !important;
}
.show {
    display: block !important;
}
.imgbox{
    position: relative;
    display: block;
    width: 100%;
    height: 100px; /* default*/
    overflow: hidden;
}
.imgbox img{
    max-height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.img-box {
    width: 100%;
    aspect-ratio: 1 / 1.2; /* default*/
    overflow: hidden;
}

.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.zoomImage {
    transition: transform 0.3s ease-in-out;
}

.zoomImage:hover {
    transform: scale(1.1);
}

.message_panel{
    width:500px;
    margin:15px auto;
    padding:20px;
    border:1px solid #ccc;
    border-radius: 15px;
}
.breadcrumb{
    margin:10px 0;
}

.validate-error{
    border:1px solid red !important;
}
.form-group .control-label{
    text-align:right;
    padding-right:2px;
}
.form-group.required .control-label:after{
    content:' *';
    color:red;
}

#pn_img_detail {
    min-height: 300px;
    margin-bottom: 0px;
}
#pn_img_detail #main_img_detail {
    margin-left: 0;
    min-height: 350px;
    overflow: hidden;
    text-align: center;
}
#pn_img_detail #main_img_detail .img_detail {
    max-width: 100%;
    min-height: 350px;
}
#subs_img_detail {
    margin-top: 10px;
}
#subs_img_detail a {
    border: 1px solid #eee;
    display: inline-block;
    height: 100px;
    /* Can be anything */
    width: 80px;
    /* Can be anything */
    position: relative;
    margin: 0 3px;
}
#subs_img_detail .active img {
    border: 1px solid #333 !important;
}
#subs_img_detail > a .img_detail_subs {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

#right_fixed {
    position: fixed;
    bottom: 20px;
    right: 10px;
}
#right_fixed > div{ margin-top: 20px; }
#right_fixed img{
    width: 50px;
}

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

    .message_panel{
        width:80%;
    }
}
