﻿@import 'bs5-polyfill.css';


/* ++ Master Page */


* {
    font-family: Sarabun,Saysettha OT, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 2rem;
}

.custom_nav_logo {
    height: 90px;
}

.bottom-info {
    margin: 3rem auto;
    width: 100%;
    max-width: 350px;
}

img.registered_icons {
    height: 70px;
    display: block;
    margin: auto;
}
/* -- Master Page */





/* moving from shop-homepage.css*/
.strikethrough {
    position: relative;
}

    .strikethrough:before {
        position: absolute;
        content: "";
        left: 0;
        top: 50%;
        right: 0;
        border-top: 1px solid;
        border-color: Red;
        -webkit-transform: rotate(-5deg);
        -moz-transform: rotate(-5deg);
        -ms-transform: rotate(-5deg);
        -o-transform: rotate(-5deg);
        transform: rotate(-5deg);
    }

.slide-image {
    width: 100%;
}

.carousel-holder {
    margin-bottom: 30px;
}

.carousel-control,
.item {
    border-radius: 4px;
}

.caption {
    height: 170px;
}

    .caption h4 {
        white-space: nowrap;
    }

.thumbnail img {
    width: 100%
}

.ratings {
    padding: 0;
}

.listing_menu_top {
    background-color: #f8bf18;
    color: black !important;
    border: solid 1px;
    border-top: none;
    border-right: none;
    border-left: none;
}

.listing_menu {
    background-color: #f8bf18;
    color: black !important;
    border: solid 1px;
    border-bottom: none;
    border-right: none;
    border-left: none;
}

.listing_name {
    height:44px;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.thumbnail {
    padding: 0;
    min-width:185px
}

    .thumbnail .caption-full {
        padding: 9px;
        color: #333;
    }

footer {
    margin: 50px 0;
}

#myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

    #myImg:hover {
        opacity: 0.7;
    }

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0) rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 100%;
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

.modal-content, #caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {
        -webkit-transform: scale(0)
    }

    to {
        -webkit-transform: scale(1)
    }
}

@keyframes zoom {
    from {
        -webkit-transform: scale(0)
    }

    to {
        -webkit-transform: scale(1)
    }
}

.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .close:hover,
    .close:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
    }

@media only screen and (max-width:700px) {
    .modal-content {
        width: 100%;
    }
}

.file-preview {
    width: 100%;
    height: 100px;
    margin-bottom: 1rem;
}

    .file-preview.no-file {
        display: none;
    }

#previewSelected {
    width: 300px;
    height: 300px;
    object-fit: contain;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.inner-footer {
    margin: 0;
    padding: 0;
    background-color: #fafafa;
}

/*.text-center {
    text-align: center;
    color: #000;
    font-size: 13px;
}*/

.custom-nav {
    top: 45px;
}

.social-links-container {
    background-color: black;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

.social-links {
    display: flex;
    justify-content: center;
}

    .social-links a img {
        filter: invert(1);
    }

    .social-links ul {
        margin-bottom: 6px;
        margin-top: 0;
        display: flex;
        color: white;
        align-items: center;
        padding: 0px 0px 0px 0px;
    }

.social-items {
    list-style: none;
}

    .social-items a {
        padding: 10px 15px;
        font-size: 25px;
        color: white;
    }

.outer-footer {
    padding: 0 13px 18px 13px;
    text-align: center;
    color: #fff;
    text-transform: uppercase;
}

    .outer-footer > a {
        font-size: 1.5rem;
        font-weight: 600;
        color: #646464;
    }
    @media screen and (max-width: 500px) {
        .outer-footer > a {
        font-size: 1rem;
        }        
    }
    @media screen and (max-width: 400px) {
        .outer-footer > a {
        font-size: 0.7rem;
        }        
    }

.header.masthead {
    margin-bottom: 60px;
    position: relative;
    background-size: cover;
    text-align: center;
}

    .header.masthead.overlay {
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        background-color: #fff;
        opacity: 0.5;
    }

.container {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
}

.ml-auto, mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.col-lg-8 col-md-10 mx-auto {
    position: relative;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

.page-heading {
    padding: 25px 0 25px;
    color: #fff;
    text-align: center;
}

/* end moving from shop-homepage.css*/



/*html, body, form {
            height: auto;
        }*/
/*a,p,span {
             font-family:Saysettha OT;
            font-size:3rem;
        }*/

.asocial {
    margin: 0 !important;
    padding: 0 !important;
}

.imgsocial {
    width: 30px !important;
    height: 30px !important;
    margin-top: 10px !important;
    margin-left: 10px !important;
    padding: 3px !important;
}

.navbar-inverse {
    border-style: none;
}

    .navbar-inverse .navbar-nav > li > a {
        color: #000000;
    }

        .navbar-inverse .navbar-nav > li > a:hover, .navbar-inverse .navbar-nav > li > a:focus {
            color: #000000;
        }

.navbar-brand {
    height: auto;
}

#liSignOutPC {
    display: none;
}

#liSignOutMB {
    display: inline;
}

@media (min-width: 768px) {
    .navbar-nav {
        margin-top: 57px;
    }

    .navbar-brand {
        padding: 5px;
        margin-right: 3rem;
    }

    .li-float-xs-left {
        float: right;
    }

    #liSignOutPC {
        display: inline;
    }

    #liSignOutMB {
        display: none;
    }
}

.navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a:hover, .navbar-inverse .navbar-nav > .open > a:focus {
    color: #000000;
}

/* end master embeded style*/


.vertical-center {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}

@media (max-width: 576px) {
    .witd-btn {
        width: 60%;
    }
}

@media (min-width: 576px) {
    .witd-btn {
        width: 150px;
    }
}

.txt-lbSize-L {
    font-size: 3rem;
}

.txt-lbSize-M {
    font-size: 2.5rem;
}

.txt-lbSize-S {
    font-size: 2rem;
}

.txt-BoXsize {
    font-size: 2.3rem;
    width: 30%;
}

.txt-BoXsizelogin {
    font-size: 2.3rem;
    width: 60%;
    border-radius: 10px;
}

.txt-btnSize {
    font-size: 2.3rem;
}

.txt-center {
    text-align: center;
}

.txt-input {
    text-align: right;
    margin-bottom: 10px;
}

    .txt-input > input {
        text-align: center;
        width: 45%;
        height: 40px;
        margin-right: 5%;
        border-radius: 10px;
        font-size: 2.2rem;
    }

    .txt-input > select {
        text-align: center;
        width: 45%;
        height: 40px;
        margin-right: 5%;
        border-radius: 10px;
        font-size: 2.2rem;
    }

.txt-R {
    text-align: right;
}

.txt-L {
    text-align: left;
}

.ddl-3rem {
    height: 50px;
    font-size: 2.5rem;
    font-family: 'Saysettha OT';
}

.txt-size3rem {
    font-size: 2.5rem;
    font-family: 'Saysettha OT';
}

.btn-radius {
    border-radius: 10px;
}

.btn-radius-15px-txtsize3rem {
    border-radius: 10px;
    font-size: 2.5rem;
}

.btn-tel {
    background-color: #119447;
    border-style: none;
    font-weight: bold;
    width: 70%;
    color: white;
    font-size: 2.3rem;
    border-radius: 10px;
}

.iconphon {
    background-image: url(../assets/icSocial/tel.png);
}



.popup-ads {
    position: fixed;
    background-color: #00000045;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999999;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

    .popup-ads.hide {
        display: none;
    }

.popup-ads-content {
    max-width: 100%;
    max-height: 90%;
    background-color: white;
    padding: 2px;
}

    .popup-ads-content > img {
        width: 100%;
        height: 100%;
    }

.popup-ads-close {
    border: none;
    text-transform: uppercase;
    width: 120px;
    margin: 5px auto;
    font-weight: bold;
    background: #fe2700;
    color: #fff201
}
.popup-ads-input {
    width: 18px;
    height: 18px;
}
.popup-ads-check {
    font-weight: 300;
    font-size: 1.8rem;
    color: #000000
}


.fs__xs {
    font-size: 1rem !important;
}

.fs__sm {
    font-size: 1.25rem !important;
}

.fs__m {
    font-size: 2rem !important;
}

.fs__l {
    font-size: 2.5rem !important;
}

.fs__xl {
    font-size: 3rem !important;
}

.fs__2xl {
    font-size: 3.75rem !important;
}

.fs__3xl {
    font-size: 4.5rem !important;
}

.fs__4xl {
    font-size: 6rem !important;
}


.fw-bold {
    font-weight: bold;
}

.fw-bolder {
    font-weight: bolder;
}

.fw-100 {
    font-weight: 100;
}

.fw-200 {
    font-weight: 200;
}

.fw-300 {
    font-weight: 300;
}

.fw-400 {
    font-weight: 400;
}

.fw-500 {
    font-weight: 500;
}

.fw-600 {
    font-weight: 600;
}

.fw-700 {
    font-weight: 700;
}

.fw-800 {
    font-weight: 800;
}


.bg-black {
    background-color: black;
}


.custom-file-box {
    padding: 1rem;
    border: 2px dashed #808080;
    margin: 4.5rem 0;
}

    .custom-file-box .label-section {
        margin-bottom: 1rem;
    }

    .custom-file-box .input-section {
        margin-top: 1rem;
    }




main.content {
    margin-top: 180px;
}


.btn-red {
    color: #fff;
    background-color: #BF1F2E;
    border-color: #BF1F2E;
}

    .btn-red:hover {
        color: #fff;
        background-color: #d7525f;
        border-color: #BF1F2E;
    }

.btn-green {
    color: #fff;
    background-color: #119447;
    border-color: #119447;
}

    .btn-green:hover {
        color: #fff;
        background-color: #128743;
        border-color: #128743;
    }
.contract_i {
    font-size: 16px;
}

.navfont{
    color: #000 !important;
}
    .navfont:hover{
        color: #fd1129 !important;
    }

.adbanner {
    max-width: 800px;
    max-height: 450px;
    width: 100%;
    height: auto;
}

.contractHis {
    width: 100%;
    max-width: 470px !important;
    border: 2px solid #171717 !important;
}

.dateHis_input {
    width: 100%;
    margin-right: 10px;
    max-width: 470px !important;
}

@media (min-width: 768px) {
    .dateHis_input {
        margin-left: 35px;
    }
}