/* 
* Default
 */
@import url('../step/css/step.css');

body {
    font-family: 'Open Sans', sans-serif;
}
*:focus, *:active {
    outline: 0 !important;
}

a {
    color: #000000;
}

body{
    background: #222222;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #000000, #000000);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #000000, #000000); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

}
/* ------------------------------ รูปแบบป้ายทะเบียน ------------------------------ */
.tabien-list {
    width: 100%;
    text-align: center;
    clear: both;
    float: left;
    margin: 0;
    padding: 0;
}
.tabien-list li {
    list-style: none;
    position: relative;
    margin-bottom: 15px;
    margin-right: 5px;
    display: inline-block;
    width: 160px;
    padding: 0 ;
}
.tabien-list .p {
    width: 100%;
}
.tabien-list .p .cover{
    height:77px; 
    text-align:center; 
    width:100%;
    border: 3px solid #cc5c76;
	border-radius:10px;
}

.tabien-list .p .cover1{
    height:65px; 
    text-align:center; 
    width:100%;
   border: 3px solid #cc5c76;
	border-radius: 5px;
}

#tabien_number {
    padding-top: 14px;
}
.color_black {
    color: #000;
}
.size15 {
    font-size: 30px;
    line-height: 34px;
}
.size10 {
    font-size: 18px;
    line-height: 18px;
}
.tabien-price{
    font-size: 18px;
    color: #333;
}
.tabien-number{
    padding: 1px 3px;
    margin: 3px;
    border-radius: 14px;
    font-weight: bold;
    font-size: 14px;
    color:#ffffff;
    background-color: #cc5c76;
    position: absolute;
    right: 2px;
    bottom: 2px;
    width: 22px;
    height: 22px;
    line-height: 22px;
}
.tabien-owner{
    padding: 1px 3px;
    margin: 3px;
    border-radius: 14px;
    font-weight: bold;
    font-size: 12px;
    color:#ffffff;
    background-color: #cc5c76;
    position: absolute;
    left: 0;
    bottom: 0;
    line-height: 22px;
}

/*ทำให้ข้อความกระพริบ*/
.blink_text {
  animation: blinker 1.0s linear infinite;
}

.blink_text2 {
  animation: blinker 7.0s linear infinite;
}

.blink_text3 {
  animation: blinker 2.0s linear infinite;
}

@keyframes blinker {  
  50% { opacity: 0; }
}
/* ------------------------------ เส้นกรอบ ของทะเบียนแต่ละชุด และ แถบดำกรณีจอง ขาย ------------------------------ */
.fieldset_tabien{
    /*border: 2px solid #cc5c76;*/
    border-radius:10px;
}

.container_search .legend_title {
    color: #000 !important;
}

.fieldset_tabien legend{
     display: block;
    width: 100%;

    margin: 0 0 18px 0;
    padding: 0;

    border: 0;

    text-align: center;
}

.fieldset_tabien legend .legend_title {
    position: relative;

    display: block;

    width: 100%;

    box-sizing: border-box;

    font-family: 'Bai Jamjuree', sans-serif;
    color: #ffffff;

    font-size: 22px;
    font-weight: bold;
    line-height: 1.4;

    text-align: center;

    margin: 0;
    padding: 0 0 10px 0;

    background: transparent;

    border: 0;
    border-radius: 0;

    box-shadow: none;
}

/* เส้นหลัก */
.fieldset_tabien legend .legend_title:after {
    content: "";

    position: absolute;

    left: 5%;
    right: 5%;
    bottom: 0;

    height: 4px;

    background: linear-gradient(
        90deg,
        #777777 0%,
        #3a3a3a 20%,
        #000000 50%,
        #3a3a3a 80%,
        #777777 100%
    );

    border-radius: 3px;

    box-shadow:
        0 1px 2px rgba(0,0,0,0.25);
}


/* เส้นไฮไลต์บาง ๆ */
.fieldset_tabien legend .legend_title:before {
    content: "";

    position: absolute;

    left: 5%;
    right: 5%;
    bottom: 4px;

    height: 1px;

    background: linear-gradient(
        90deg,
        transparent 0%,
        #eeeeee 25%,
        #ffffff 50%,
        #eeeeee 75%,
        transparent 100%
    );

    opacity: 0.8;
}

/*แก้หัวข้อจากการค้นหา*/
.yt-search-category-title {
    width: 90% !important;
    display: block !important;
    float: none !important;
    clear: both !important;

    position: relative;

    margin: 8px auto 15px auto !important;
    padding: 0 0 7px 0 !important;

    text-align: left;

    border: 0 !important;
    box-sizing: border-box;
}

.yt-search-category-title h3 {
    display: inline-block !important;

    margin: 0 !important;
    padding: 0 !important;

    font-family: 'Bai Jamjuree', sans-serif;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.4;

    color: #111111;

    vertical-align: middle;
}

.yt-search-category-title:before {
    content: "❯";

    display: inline-block;

    margin-right: 8px;

    color: #555555;

    font-family: Arial, sans-serif;
    font-size: 17px;
    font-weight: bold;

    vertical-align: middle;
}


#search .yt-search-category-title {
    display: block !important;
    float: none !important;
    clear: both !important;
    width: 90% !important;
    margin: 5px auto 15px !important;
}

@media (max-width: 420px) {

    #search {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: center;
    }

    #search li:not(.yt-search-category-title) {
        width: 50% !important;
        float: none !important;
        clear: none !important;
        box-sizing: border-box;
        padding: 0 3px !important;
        margin: 0 0 14px 0 !important;

        text-align: center;
    }

    /* ป้ายคู่แรก ชิดหัวข้อขึ้น */
    #search .yt-search-category-title + li,
    #search .yt-search-category-title + li + li {
        margin-top: 0 !important;
    }

}
/*จบแก้หัวข้อจากการค้นหา*/

.fieldset_tabien .cover_status {
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.50);
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
    line-height: 23px;
    z-index: 101;
    font-size: 25px;
    padding: 30px 0;
	border-radius:10px;
}
.fieldset_tabien .cover_status .span1 {
    font-family: 'Bai Jamjuree', sans-serif;
    background: rgba(47, 47, 47, 0.7);
    font-size:22px;
    font-weight: 600;
    letter-spacing: 5px;
    display: block;
    width: 100%;
    padding: 3px 0 5px 0;
    color: #f2f2f2;
	
}
.fieldset_tabien .cover_status .span2 {
    font-family: 'Bai Jamjuree', sans-serif;
    background: rgba(47, 47, 47, 0.7);
    font-size:22px;
    font-weight: 600;
    letter-spacing: 5px;
    display: block;
    width: 100%;
    padding: 3px 0 5px 0;
    color: #f2f2f2;
}
.container_search{
    height: 0px;
    overflow: hidden;
    transition: height 1s;
    -moz-transition: height 1s; /* Firefox 4 */
    -webkit-transition: height 1s; /* Safari and Chrome */
    -o-transition: height 1s; /* Opera */
}
.fieldset_tabien .tabien-list a:hover{
    text-decoration: none;
}

@media (max-width: 399px) {
    /* ปรับเฉพาะผลค้นหา */
    .container_search .tabien-list li{
        width:150px;
        /*margin-right:2%;*/
    }

    /* ปรับขนาดป้ายให้เล็กลง */
    .container_search .tabien-list .p .cover{
        height:72px;
    }

    /* ปรับ font */
    .container_search #tabien_number{
        padding-top:13px;
    }

    .container_search .size15{
        font-size:28px;
        line-height:31px;
    }

    .container_search .tabien-price{
        font-size:18px;
    }
}

/*------------------------------------------------------ Footer ---------------------------------------------------------*/

.bg-footer {
    background: #f2f2f2;
    color: #000000;
    font-size: 17px;
}

/*------------------------------------------------------- Header ---------------------------------------------------------------------*/
a:active, a:focus {
    text-decoration: none;
}


.navbar-default {
    border: none;
    background:#000000;
    background-image: none;
    border-style: none none solid none;
    border-color: #f2f2f2;

    box-shadow:
    inset 0 2px 4px rgba(0,0,0,0.06),
    0 2px 6px rgba(0,0,0,0.05);

}

.inner-box {
    padding: 11px 0;

}

.go > li > a:hover,
.nav > li > a:focus {
    text-decoration: none;
    color: #cc5c76;
    background: none;
}


.logo {
    float: Left;
    width: 100%;
}

.head-logo .logo img {
    width: 50%;
    margin: 0 auto;
}

.img-center {
    margin: 0 auto;
}

.navbar {
    min-height: auto;
}

@media (min-width: 768px) {
    .header .navbar-right {
        margin-right: 0;
    }
}

@media (max-width: 767px) {
    .inner-box {
        padding-top: 10px;
    }
    .table-left {
        text-align: left;
    }

    .bg-nav-header {
        display: none;
    }

    .logo {
        display: none;
    }

    .logo-mobile {
        display: block;
    }

    .logo-mobile img {
        height: 55px;
    }

    .nav-cart .badge {
        position: absolute;
        top: 0px;
        right: -14px;
    }

    .nav-cart {
        position: relative;
        display: inline-block;
    }

    .box-call {
        display: none;
    }

    .innerbox-video .title {
        font-size: 20px;
        line-height: 40px;
        margin: 0;
        padding-bottom: 13px;
        color: #fff;
    }
}

@media (min-width: 768px) {
    .logo-mobile {
        display: none;
    }

    .logo-cart {
        display: none;
    }

    .box-call {
        display: block;
    }
}
@media (max-width: 768px) {
    .mobile-nav-pad{
        padding-left: 0;
        padding-right: 0;
    }
    .mobile-nav-pad .hamberger{
        border:none;
        z-index: 9999;
    }
    .mobile-nav-pad .hamberger.navbar-toggle:hover, .mobile-nav-pad .hamberger.navbar-default .navbar-toggle:focus{
        background: none;
    }
    .mobile-nav-pad .currency{
        /*padding: 8px 15px;
        margin-left: 0;
        display: inline-block;
        margin: 8px 0 8px 15px;*/

    }
    .mobile-nav-pad .currency a img{
        margin-top: 4px;
        margin-right: 4px;
    }
    .mobile-nav-pad .mobile-logo{
        position: absolute;
        margin: 0 auto;
        left: 0;
        right: 0;
    }
}
@media (max-width: 480px) {
    .logo-mobile img {
        display: inline-block;

    }

    .logo-mobile {
        width: auto;
    }
}

@media (max-width: 320px) {
    .logo-mobile img {
        display: inline-block;
        height: 50px;
        margin-top: 0px;
    }

}

@media (min-width: 768px) {
    .navbar .navbar-collapse {
        text-align: center;
        justify-content: center;
        display: flex !important;
    }
}

.nav-ontop {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    padding-bottom: 0px;
    /*height: 50px;*/
    background: #ffa3c2;
    z-index: 101;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2), 0 1px 8px 0 rgba(0, 0, 0, 0.19);
    border-radius: 0;
    z-index: 999;

}

.navbar .navbar-nav.navbar-slider {
    display: block;
    float: left;
    margin-right: 15px;
}

#nav-top-menu .navbar-brand {
    float: left;
    height: auto;
    padding: 0;
    line-height: 20px;
    width: 130px;
    margin: 0 15px;
    height: 50px;
    padding: 6px 15px;

}

img.logo-tab {
    width: 35px;
    height: 30px;
    margin: 0 auto;
    display: inline-block;
}

.nav-ontop .navbar-nav.navbar-nav-tab li a {
    /*font-family: 'Kanit', sans-serif;*/
    font-size: 19px;
    letter-spacing: .4px;
    text-transform: capitalize;
    padding: 15px 15px;
    transition: all 0.5s ease-in;

}

.nav-ontop .navbar-nav.navbar-nav-tab li a img {
    max-width: none;
    display: inline-block;
    vertical-align: middle;
    margin-top: -3px;
}

.cart-nav-tab {
    position: relative;
    width: 50px;
}

.cart-nav-tab i {
    color: #cc5c76;
    font-size: 17px;
}

.cart-nav-tab .badge {
    position: absolute;
    top: -8px;
    right: 0;
    background: #cc5c76;
}
.navbar-nav.navbar-nav-tab > li > a {
    padding: 10px 15px;
    font-size: 20px;
    line-height: 20px;
    letter-spacing: 1px;
}

@media (max-width: 1199px) {
    .nav-ontop .navbar-nav.navbar-nav-tab li a {
        /*font-family: latoregular;*/
        font-size: 16px;
        padding: 10px 10px;
    }

    .navbar .navbar-nav.navbar-slider {
        margin: 0 15px;
    }

    .cart-nav-tab i {
        font-size: 23px;
    }
}

@media (max-width: 1023px) {
    .nav-ontop .navbar-nav.navbar-nav-tab li a {
        /*font-family: 'Kanit', sans-serif;*/
        font-size: 14px;
        padding: 19px 7px;
    }
    .navbar .navbar-nav.navbar-slider {
        margin: 0;
    }

    .cart-nav-tab i {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .nav-ontop .navbar-nav.navbar-nav-tab li a {
        font-size: 14px;
        padding: 12px 6px;
    }

    #nav-top-menu .navbar-brand {
        font-size: 18px;
        padding: 15px 0px;
        z-index: 10;
        width: auto;
        height: auto;
        margin: 0;
    }

    .navbar .navbar-nav.navbar-slider {
        margin: 0;
    }

    .cart-nav-tab i {
        font-size: 20px;
    }
    #nav-top-menu .navbar-brand a{
        padding: 15px;
    }
}


/*--------------------------------------------- footer --------------------------------------------------*/
.footer {
    padding: 25px 0;
}

@media (max-width: 768px) {
    .footer {
        padding: 20px 0;
    }

}

/* ------------------------------ ปุ่มกลับบนสุด ------------------------------ */
.arrow_read_top {
    position: fixed;
        right: 15px;
        bottom: 78px;

        width: 40px;
        height: 40px;

        background: linear-gradient(
            135deg,
            #666666 0%,
            #333333 55%,
            #1c1c1c 100%
        );

        color: #ffffff;

        text-align: center;

        z-index: 9999999;

        border-radius: 50%;

        border: 2px solid #ffffff;

        box-shadow:
            0 3px 8px rgba(0,0,0,0.45);
}

.arrow_read_top a {
        display: block;

        width: 100%;
        height: 100%;

        color: #ffffff !important;

        line-height: 34px;

        font-size: 26px;
        font-weight: bold;

        text-decoration: none !important;
    }

    .arrow_read_top:hover {
        background: linear-gradient(
            135deg,
            #777777 0%,
            #333333 100%
        );

        color: #ffffff !important;
    }

    .fb_read {
    position: fixed;
    right: 15px;
    bottom: 128px;

    width: 40px;
    height: 40px;

    z-index: 9999999;
    text-align: center;
}

.fb_read a {
    display: block;
    width: 100%;
    height: 100%;
}

.fb_read img {
    display: block;
    width: 40px;
    height: 40px;
    object-fit: contain;
}

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

    .arrow_read_top {
        position: fixed;
        right: 15px;
        bottom: 78px;

        width: 40px;
        height: 40px;

        background: linear-gradient(
            135deg,
            #666666 0%,
            #333333 55%,
            #1c1c1c 100%
        );

        color: #ffffff;

        text-align: center;

        z-index: 9999999;

        border-radius: 50%;

        border: 2px solid #ffffff;

        box-shadow:
            0 3px 8px rgba(0,0,0,0.45);
    }

    .arrow_read_top a {
        display: block;

        width: 100%;
        height: 100%;

        color: #ffffff !important;

        line-height: 34px;

        font-size: 26px;
        font-weight: bold;

        text-decoration: none !important;
    }

    .arrow_read_top:hover {
        background: linear-gradient(
            135deg,
            #777777 0%,
            #333333 100%
        );

        color: #ffffff !important;
    }

}


/* ------------------------------ Line icon + Phone icon ------------------------------ */
.mobile-btn {
    position: fixed;
    right: 20px;
    bottom: 140px;
    text-align: center;
    z-index: 999999;
}

.mobile-btn a.telephone {
    width: 40px;
    height: 40px;
    display: block;
    background: #cc5c76;
    color: #ffffff;
    line-height: 40px;
    font-size: 22px;
}
.mobile-btn a.line {
    width: 40px;
    height: 40px;
    display: block;
    /*background: white;*/
    color: #fff;
    line-height: 35px;
    font-size: 20px;
}
.mobile-btn a.line img {
    width: 40px;
    height: 40px;
}

@media only screen and (max-device-width: 480px) {
	.mobile-btn {
	    right: 20px;
	    bottom: 75px;
	}
	.mobile-btn a.telephone {
	    width: 30px;
	    height: 30px;
	    line-height: 30px;
	    font-size: 16px;
	}
	.mobile-btn a.line {
	    width: 30px;
	    height: 30px;
	    line-height: 30px;
	    font-size: 16px;
	}
	.mobile-btn a.line img {
	    width: 30px;
	    height: 30px;
	}
}

/*css ส่วนหน้า profile.php*/
.contact-luxury {
    background: linear-gradient(180deg,#fda8bb,#cc5c76);
    margin: 20px 15px;
    padding: 35px 25px;
    /*border-radius: 25px;*/
    border-radius:5px 30px 5px 30px;
    position: relative;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

/* เส้นทองบน */
/*.contact-luxury:before {
    content: "";
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 6px;
    background: linear-gradient(90deg,#e9c328,#b8860b,#e9c328);
    border-radius: 0 0 10px 10px;
}*/

.luxury-name {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #000000;
    /*margin-bottom: 25px;*/
    margin-top:-10px;
}

.luxury-phone {
    font-size: 24px;
    font-weight: 800;
    color: #000000;
    margin-top:5px;
    /*margin-bottom: 4px;*/
}

.luxury-phone i {
    color: #000000;
    margin-right: 8px;
}

.luxury-phone.second {
    font-size: 24px;
    color: #000000;
    font-weight: 700;
}

.luxury-divider {
    width: 60%;
    height: 2px;
    margin: 25px auto;
    background: linear-gradient(90deg,transparent,#caa52c,transparent);
}

.luxury-line {
    font-size: 24px;
    font-weight: 600;
    color: #000000;
    margin-top:-10px;
    margin-bottom: -10px;
}

.luxury-line span {
    color: #000000;
    font-weight: 800;
    letter-spacing: 1px;
}
/*css ส่วนหน้า profile.php*/

.document_links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    width: 100%;
    max-width: 900px;

    margin: 20px auto 0;
    gap: 14px;
}

.document_box {
    box-sizing: border-box;

    width: calc(50% - 7px);
    min-height: 62px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 12px 18px;

    background: #ffffff;
    color: #111111 !important;

    border-radius: 12px;

    text-align: center;
    text-decoration: none !important;

    font-size: 16px;
    font-weight: bold;

    box-shadow: 0 2px 6px rgba(0,0,0,0.25);

    transition: 0.2s;
}

.document_box:hover {
    background: #eeeeee;
    transform: translateY(-2px);
}