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

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

a {
    color: #666;
}

body{
    background: #cc3333;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #cc3333, #cc3333);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #cc3333, #cc3333); /* 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 #333;
}
#tabien_number {
    padding-top: 14px;
}
.color_black {
    color: #000;
}
.size15 {
    font-size: 30px;
    line-height: 34px;
}
.tabien-price{
    font-size: 18px;
    color: #333;
}
.tabien-number{
    padding: 1px 3px;
    margin: 3px;
    border-radius: 14px;
    font-weight: bold;
    font-size: 14px;
    color:#FFF;
    background-color: #fe679a;
    position: absolute;
    right: 0;
    top: 0;
    width: 22px;
    height: 22px;
    line-height: 22px;
}
.tabien-owner{
    padding: 1px 3px;
    margin: 3px;
    border-radius: 14px;
    font-weight: bold;
    font-size: 12px;
    color:#FFF;
    background-color: #a30e11;
    position: absolute;
    left: 0;
    bottom: 0;
    line-height: 22px;
}

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

@keyframes blinker {  
  50% { opacity: 0; }
}
/* ------------------------------ เส้นกรอบ ของทะเบียนแต่ละชุด และ แถบดำกรณีจอง ขาย ------------------------------ */
.fieldset_tabien{
    border: 1px solid #fe679a;
    border-radius: 5px;
}
.fieldset_tabien legend{
    padding: 0px 5px;
    border: 0px;
    border-left: 1px solid #fe679a;
    border-right: 1px solid #fe679a;
    width: auto;
    margin-left: 15px;
}

.fieldset_tabien legend .legend_title{
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 22px;
    font-weight: bold;
}
.fieldset_tabien .cover_status {
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.80);
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
    line-height: 23px;
    z-index: 101;
    font-size: 16px;
    padding: 0px 0;
}
.fieldset_tabien .cover_status .span1 {
    background: rgba(0,0,0,0.50);
    letter-spacing: 1px;
    display: block;
    width: 100%;
    padding: 3px 0 5px 0;
    color: #f00;
}
.fieldset_tabien .cover_status .span2 {
    background: rgba(0,0,0,0.50);
    letter-spacing: 1px;
    display: block;
    width: 100%;
    padding: 3px 0 5px 0;
    color: #fa0;
}
.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;
}

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

.bg-footer {
    background: #fe679a;
    color: #FFF;
    font-size: 17px;
}

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


.navbar-default {
    border: none;
    background-color: #fff;
    background-image: none;
}

.inner-box {
    padding: 11px 0;

}

.go > li > a:hover,
.nav > li > a:focus {
    text-decoration: none;
    color: #a2a0a0;
    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: #fefefe;
    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: #8e8e8e;
    font-size: 17px;
}

.cart-nav-tab .badge {
    position: absolute;
    top: -8px;
    right: 0;
    background: #96c93e;
}
.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: 20px;
    bottom: 80px;
    width: 40px;
    height: 40px;
    background: #fe679a;
    color: #fff;
    text-align: center;
    z-index: 999999;
}

.arrow_read_top a {
    display: block;
    color: #fff;
    line-height: 40px;
    font-size: 20px;
}
.arrow_read_top a:hover {
    color: #fff !important;
}
.arrow_read_top:hover, .arrow_read_bottom:hover {
    background: #ce577a;
    color: #FFF !important;

}

@media only screen and (max-device-width: 480px) {
    .arrow_read_top {
        position: fixed;
        right: 20px;
        bottom: 25px;
        width: 30px;
        height: 30px;
        background: #fe679a;
        color: #fff;
        text-align: center;
        z-index: 9999999;
    }

    .arrow_read_top a {
        display: block;
        color: #fff;
        line-height: 30px;
        font-size: 16px;
    }
    .arrow_read_top:hover, .arrow_read_bottom:hover {
        background: #fe679a;
    }
}


/* ------------------------------ 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: #777;
    color: #fff;
    line-height: 40px;
    font-size: 20px;
}
.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;
	}
}