@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400&display=swap');

@font-face {
    font-family: SaranPlate;
    src: url('saran.ttf');
}

h1 {
    font-size: 50px;
}

h2 {
    font-size: 40px;
}

h3 {
    font-size: 30px;
}

h4 {
    font-size: 20px;
}

h5 {
    font-size: 15px;
}

tr, td {
    vertical-align: middle !important;
}

p,
.contact li,
b,
footer a,
.phone a,
p.new-text > b,
li, 
address {
    font-size: 22px;
}

p.new-text, p.new-text > b.new-sub-text {
    font-size: 1rem;
}

a:hover {
    text-decoration: none;
}

* {
    font-family: 'Kanit', sans-serif;
}

.main-bg {
    background-color: #EFEEEE;
}

.bg-chokdee {
    background-color: #338AFF;
}

.btn-chokdee {
    background-color: #338AFF;
    color: white;
}

.btn-chokdee:hover {
    background-color: #fcd605;
    color: black;
}

.btn-horo {
    width: 50%;
}

.bg-frame {
    background-image:
        url('top-left-corner.png'),
        url('top-right-corner.png'),
        url('bot-left-corner.png'),
        url('bot-right-corner.png'),
        url('cate-line-h.png'),
        url('cate-line-h.png');
    background-repeat: no-repeat;
    background-size:
        7%,
        7%,
        7%,
        7%,
        82.5% 0.4%,
        82.5% 0.4%;
    background-position:
        1% 1%,
        99% 1%,
        1% 99%,
        99% 99%,
        center 1%,
        center 99%;
}

.bottom-strip {
    background-color: #338AFF;
    background-image:
        url('header-art.png'),
        linear-gradient(to left,
            #D49B41 0%,
            #F7EFA4 50%,
            #D49B41 100%);
    background-size: auto 80%, 100% 12px;
    background-repeat: repeat-x, no-repeat;
    background-position: center, bottom;
    padding-bottom: 12px;
}

.btn-warning {
    background:
        linear-gradient(to right,
            #D49B41 0%,
            #F7EFA4 50%,
            #D49B41 100%);
}

.BerSuayBtn .btn-primary:hover {
    background-color: #FCD605;
    border-color: #d4b500;
    color: black;
}

.f-shadow {
    text-shadow: 2px 2px 4px #000000;
}

.navbar-brand img {
    height: 90px;
}

.text-overflow {
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.overflow-2 {
    -webkit-line-clamp: 2;
}

.overflow-3 {
    -webkit-line-clamp: 3;
}

.overflow-4 {
    -webkit-line-clamp: 4;
}

.overflow-5 {
    -webkit-line-clamp: 5;
}

.overflow-8 {
    -webkit-line-clamp: 8;
}

.text-chokdee {
    color: #338AFF;
}

.navbar-light .navbar-nav .nav-link {
    color: white;
}

.navbar-light .navbar-nav .active>.nav-link,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .show>.nav-link {
    color: white;
    border-bottom: solid white 4px;
}

.dropdown-item {
    color: white;
}

.dropdown-item:hover {
    color: black;
}

section {
    padding: 50px 0px;
}

footer {
    background-color: #338AFF;
    background-image:
        url('header-art.png'),
        linear-gradient(to left,
            #D49B41 0%,
            #F7EFA4 50%,
            #D49B41 100%);
    background-size: auto 70%, 100% 12px;
    background-repeat: repeat-x, no-repeat;
    background-position: center, top;
    padding: 50px 0px;
}

footer a {
    color: #fff;
}

ul {
    list-style-image: url('images/list.svg');
    padding-left: 20px;
}

ul li::before {
    font-size: 1.25em;
}

ul.contact {
    list-style: none;
    padding: 0px;
}

ul.contact li::before {
    content: attr(data-icon);
    font-size: 1.25em;
}

section.half-form {
    margin-top: -200px;
}

section.youtube {
    background-color: #404041;
}

section.intro {
    background-size: cover;
    height: 600px;
}

section.intro .container,
section.intro .container-fluid,
section.intro .container .row,
section.intro .container-fluid .row {
    height: 100%;
}

section.intro .container .row,
section.intro .container-fluid .row {
    align-content: center;
}

section.intro h1 {
    font-size: 36px;
}

section.intro h2 {
    font-size: 30px;
}

section.intro .btn {
    width: 40%;
    margin: 15px;
    border-radius: 25px;
}

section.intro .btn-warning {
    width: 45%;
    margin: 15px 5px;
}

section.intro .btn-about-intro {
    width: 250px;
}

section.lead-form {
    background-image: url('images/bg-lead-form-50.jpg');
    background-size: cover;
}

section.chokdee-number {
    background-color: #06ADF7;
}

section.service-3 {
    background-image: url('images/service-3-intro.png');
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: right center;
    background-color: #06ADF7;
}

.phone-no-icon img {
    height: 220px;
    object-fit: contain;
    object-position: center;
}

section.service-6-services img {
    padding: 25px;
    height: 150px;
    object-fit: contain;
    object-position: center;
}

section.vip-intro img {
    width: 100%;
    height: 350px;
    object-fit: contain;
    object-position: center;
}

.btn-car-gallery {
    width: 150px;
}

.dropdown-menu {
    right: 0;
    left: auto;
}

p.plate {
    font-family: SaranPlate;
    border-radius: 5px;
    border: solid black 5px;
    font-size: 45px;
    line-height: 50px;
    width: 250px;
    padding-bottom: 15px;
    margin: auto;
    height: 215px;
    background-size: cover;
    background-position: center;
}

p.bike-plate {
    font-family: SaranPlate;
    text-align: center;
    margin-top: 125px;
    width: fit-content;
    padding: 50px 85px 90px 90px;
    font-size: 30px;
    line-height: 30px;
    background-image: url('images/frame-logo.png'), url('images/white-bg.jpg'), url('images/chokdee-bg.jpg'), url('images/white-bg.jpg'), url('images/chokdee-bg.jpg');
    background-size: 40%, 57% 49%, 65% 60%, 67% 63%, 75% 75%;
    background-position: top center, center 37%, center 37%, center 36%, center 30%;
    background-repeat: no-repeat;
}

p.bike-plate-horo {
    font-family: SaranPlate;
    text-align: center;
    margin-top: 125px;
    width: fit-content;
    padding: 40px 85px 70px 90px;
    font-size: 30px;
    line-height: 30px;
    background-image: url('images/frame-logo.png'), url('images/white-bg.jpg'), url('images/chokdee-bg.jpg'), url('images/white-bg.jpg'), url('images/chokdee-bg.jpg');
    background-size: 40%, 55% 54%, 64% 64%, 67% 68%, 75% 75%;
    background-position: top center, center 36%, center 36%, center 35%, center 30%;
    background-repeat: no-repeat;
}

p.bike-plate-2 {
    font-family: SaranPlate;
    border-radius: 5px;
    border: solid gray 1px;
    background-color: white;
    text-align: center;
    width: fit-content;
    padding: 20px 30px;
    padding-top: 0px;
    font-size: 60px;
}

p.car-plate {
    font-family: SaranPlate;
    text-align: center;
    margin-top: 200px;
    width: fit-content;
    padding: 50px 80px 60px 80px;
    font-size: 40px;
    line-height: 35px;
    background-image: url('logo.png'), url('images/white-bg.jpg'), url('images/chokdee-bg.jpg'), url('images/white-bg.jpg'), url('images/chokdee-bg.jpg');
    background-size: 20%, 59% 50%, 66% 61%, 68% 65%, 75% 75%;
    background-position: top center, center 55%, center 55%, center 55%, center 55%;
    background-repeat: no-repeat;
}

p.plate>b {
    font-size: 80px;
    font-family: SaranPlate;
    line-height: 55px;
}

p.price {
    font-size: 30px;
    color: #338AFF;
}

p.plate-sum {
    font-size: 30px;
    color: #338AFF;
}

#BerSuayCategory {
    position: fixed;
    right: 10px;
    top: 45%;
}

.owl-carousel .owl-item img, .owl-carousel .item img {
    height: 350px;
    object-fit: cover;
    width: 350px !important;
    padding: 18px;
    background-image: url('images/luis-frame.png');
    background-size: 100% 100%;
}

.bg-bike-plate {
    background-image: url("bike-plate.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    height: 480px;
}

.bg-car-plate {
    background-image: url("car-plate-back.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    height: 480px;
}

.vip-page .img-vip {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.vip-page .img-vip-2 {
    width: 100%;
    height: 350px;
    object-fit: contain;
    object-position: center;
}

.new-car .card-img {
    width: 100%;
    height: 150px;
    padding: 15px;
    object-fit: contain;
    object-position: center;
}

.horo-form {
    padding: 25px;
    background-color: white;
}

.bg-form {
    background-image: url("bg-form.svg");
    background-size: cover;
    border-radius: 25px;
    padding: 10px;
}

.horo-form .row {
    padding: 25px;
}

.horo-btn .btn {
    width: 100%;
    margin-bottom: 1rem;
}

img.insurance-logo {
    object-fit: cover;
    width: 100%;
    margin-bottom: 15px;
}

.luxury-cars-gallery {
    background-image: url('images/person-bg.png'), url('images/parking-bg.jpg');
    background-position: left bottom, center;
    background-size: auto 80%, cover;
    background-repeat: no-repeat;
}

.category-art {
    width: 50%;
}

a.btn-header-call {
    font-size: 20px;
    white-space: nowrap;
}

.img-contact-branch {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.header-columns {
    margin-bottom: 0;
}

.header-columns-1st {
    width: 500px;
}

.show-mobile-bottom {
    display: none;
}

.hidden-mobile-bottom {
    display: flex;
}

.car-brand {
    height: 150px;
}

.carouselHQ .carousel-indicators li {
    width: 70px;
    height: 50px;
}

.owl-carousel.featured-articles .owl-item .item img.card-img-top {
    width: 100% !important;
    height: auto;
}

.owl-carousel.featured-articles h2 {
    font-size: 20px;
}

section.articles img {
    height: 100%;
    object-fit: cover;
    object-position: center;
}

section.articles small {
    font-size: 12px;
}

.btn-article-category {
    border: solid #338AFF 1px;
    color: #338AFF;
}

.btn-article-category:hover, .btn-article-category.active {
    background-color: #338AFF;
    color: white;
}

#carouselFeaturedArticleIndicators .carousel-indicators {
    position: static;
}

#carouselFeaturedArticleIndicators .carousel-indicators li {
    width: 8px;
    height: 8px;
    background-color: #338AFF;
    border: none;
    border-radius: 50%;
}

#carouselFeaturedArticleIndicators .carousel-indicators li.active {
    width: 25px;
    border-radius: 10rem;
}

.social-icon-widget {
    border-radius: 50%;
    position: fixed;
    bottom: 50px;
    right: 30px;
    transition: ease 0.3s !important;
}

.social-icon-widget:hover {
    transform: scale(1.3);
}

.social-icon-widget#CTAWidgetToggle {
    z-index: 2020;
}

.social-icon-widget.widget-list {
    opacity: 0;
    z-index: 2010;
}

.social-icon-widget.widget-list.active {
    opacity: 1;
}

.social-icon-widget.widget-list.active.list-1 {
    bottom: 110px;
}

.social-icon-widget.widget-list.active.list-2 {
    bottom: 170px;
}

.social-icon-widget.widget-list.active.list-3 {
    bottom: 230px;
}

.social-icon-widget.widget-list.active.list-4 {
    bottom: 290px;
}

.social-icon-widget.widget-list.active.list-5 {
    bottom: 350px;
}

.social-icon-widget.widget-list.active.list-6 {
    bottom: 410px;
}

.social-icon-widget>img {
    padding: 10px;
    height: 50px;
    width: 50px;
    object-fit: contain;
    object-position: center;
}

.social-icon-widget.instagram {
    background: #f09433;
    background: -moz-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    background: -webkit-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f09433', endColorstr='#bc1888', GradientType=1);
}

.card-car-plate > .card-body {
    position: relative;
}

.card-car-plate > .card-body > .car-plate-text {
    position: absolute;
    top: 25%;
    left: 0;
    width: 100%;
}

.card-car-plate > .card-badge, 
.card-car-plate > .card-trophy {
    position: absolute;
    bottom: 75px;
    height: 40px;
    z-index: 10;
}

.card-car-plate > .card-badge {
    left: 8px;
}

.card-car-plate > .card-trophy {
    right: 8px;
}

@media screen and (max-width: 1500px) {
    a.btn-header-call {
        font-size: 12px;
        white-space: nowrap;
        padding: 5px 7px;
    }

    .header-columns p, .contact li, footer a, .phone a, p.new-text > b, address {
        font-size: 14px;
    }

    .navbar-light .navbar-nav .nav-link {
        color: white;
        font-size: 14px;
    }
}

@media screen and (max-width: 1340px) {
    a.btn-header-call {
        font-size: 8px;
        white-space: nowrap;
        padding: 5px 7px;
    }

    .header-columns p, .contact li, footer a, .phone a, p.new-text > b, address {
        font-size: 10px;
    }

    .navbar-light .navbar-nav .nav-link {
        color: white;
        font-size: 10px;
    }
}

@media screen and (max-width: 768px) {
    .btn {
        font-size: 8px;
    }

    .card-car-plate > .card-body > .car-plate-text {
        top: 18%;
    }

    .card-car-plate > .card-badge, .card-car-plate > .card-trophy {
        bottom: 70px;
        height: 25px;
    }

    .card-car-plate > .card-badge {
        left: 20px;
    }

    .card-car-plate > .card-trophy {
        right: 10px;
    }

    .navbar-brand img {
        height: 40px;
    }

    a.btn-header-call {
        font-size: 18px;
    }
    
    section.intro {
        background-size: auto 100%;
        background-position: bottom center;
        padding: 50px 0px;
    }

    section.half-form {
        margin-top: -50px;
    }

    .phone-no-icon img {
        height: 120px;
        object-fit: contain;
        object-position: center;
    }

    section.service-3 {
        background-image: url('images/service-3-intro.png');
        background-size: 140% auto !important;
        background-repeat: no-repeat;
        background-position: right bottom !important;
        background-color: #06ADF7;
        padding-bottom: 350px !important;
    }

    #BerSuayCategory {
        position: fixed;
        right: 0;
        bottom: 0;
        top: auto;
        width: 100%;
    }

    section.bg-frame {
        padding: 1px 0px;
    }

    section.intro .btn {
        width: 90%;
    }

    .btn-horo {
        width: 100%;
    }

    .category-art {
        width: 80%;
    }

    a.btn-header-call {
        font-size: 15px;
    }

    .col-xs-6 {
        width: 50%;
    }

    .img-insurance {
        width: 50%;
    }

    .horo-form {
        padding: 0;
    }

    p.plate {
        font-size: 25px;
        line-height: 30px;
        width: 100%;
        height: auto;
    }

    p.plate>b {
        font-size: 35px;
        line-height: 30px;
        padding-bottom: 6px;
    }

    p.plate-sum,
    p.plate-sum b {
        font-size: 20px;
    }

    p.price,
    p.plate-sum {
        margin: 0;
    }

    .bg-car-plate {
        background-size: 150%;
    }

    p.car-plate {
        margin-top: 200px;
        background-size: 40%, 70% 30%, 77% 40%, 82% 43%, 90% 52%;
        background-position: top center, center 33%, center 30%, center 29%, center 26%;
        padding: 40px 0px 85px 0px;
        font-size: 22px;
        line-height: 25px;
    }

    p.price {
        font-size: 25px;
    }

    .header-columns {
        margin-bottom: 1rem;
    }

    .header-columns-1st {
        margin-top: 1rem;
        margin-bottom: 0;
    }

    .show-mobile-bottom {
        display: flex;
    }

    .hidden-mobile-bottom {
        display: none;
    }

    .col-sm-6,
    .col-xs-6 {
        width: 50%;
    }

    .paginate-prev {
        order: 2;
    }

    .paginate-number {
        order: 1;
    }

    .paginate-next {
        order: 3;
    }

    .dropdown-item {
        white-space: normal;
    }

    .social-icon-widget {
        bottom: 20px;
        right: 20px;
    }

    .social-icon-widget.widget-list.active.list-1 {
        bottom: 80px;
    }
    
    .social-icon-widget.widget-list.active.list-2 {
        bottom: 140px;
    }
    
    .social-icon-widget.widget-list.active.list-3 {
        bottom: 200px;
    }
    
    .social-icon-widget.widget-list.active.list-4 {
        bottom: 260px;
    }
    
    .social-icon-widget.widget-list.active.list-5 {
        bottom: 320px;
    }
    
    .social-icon-widget.widget-list.active.list-6 {
        bottom: 380px;
    }
}