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

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 24px;
    font-size: 1.6em;
}
*:focus, *:active {
    outline: 0 !important;
}

h1, h2, h3, h4, h5, h6 {
   font-family: 'Open Sans', sans-serif;
}

a.menu {
	/*Menu Bar*/
    color: #ffffff;
	background: #ae8626; 
}

.menu-color{
    background-color:#ae8626;
}

h1{
    text-decoration: underline;
    color: #000099;
    font-size : 1.9em;
}
 
h2{ 
    font-size : 1.3em;
    font-weight: bold;
    color: #555
}

h3{ 
    font-size : 1.2em;
    font-weight: bold;
    color: #555
}


img {
    max-width: 100%;
    height: auto;
    display: inline-block;
    vertical-align: middle;
}

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

}

.divpad{
    padding: 10px 0px;
}

.entry-content {
    padding-top: 1.5em;
    padding-bottom: 1.5em;
}

.blinking{
    animation:blinkingText 1.2s infinite;
}

@keyframes blinkingText{
    0%{     color: #FFFF;    }
    49%{    color: #FFFF; }
    60%{    color: transparent; }
    99%{    color:transparent;  }
    100%{   color: #FFFF;    }
}

.search_box{
    font-size: 18px;
    line-height: 18px;
    padding: 10px;
    border: 1px solid;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 15px; 
	background:#ae8625
}

.bd-callout {
    padding: 1.25rem;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    border: 1px solid #eee;
    border-left-width: .40rem;
    border-radius: .25rem;
}

.bd-callout-info h4 {
    color: #5bc0de;
}

.bd-callout-danger h4 {
    color: #DC3545;
}

.bd-callout-info {
    border-left-color: #5bc0de;
}


.bd-callout h4 {
    margin-top: 0;
    margin-bottom: .25rem;
}

.bd-callout p:last-child {
    margin-bottom: 0;
}

.bd-callout-danger {
    border-left-color: #DC3545;
}

.bd-callout+.bd-callout {
    margin-top: -.25rem;
}
 

/* ------------------------------ รูปแบบป้ายทะเบียน ------------------------------ */
.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_container{
	background-color: #FFF;
	padding-bottom: 30px;
}

.click-to-modal{
    cursor: pointer;    
}

/* modal tabien*/

.center {
    text-align: center;
}

.plat-modal-code{
    float: left;
    padding: 6px 12px;
    color: gray;
}

.bg-black{
    background-color: #000
}

.font-white{
    color: white !important;
}

.tabien-modal {
    width: 100%;
    text-align: center;
    clear: both;
    float: left;
    margin: 0;
    padding: 0;
}
.tabien-modal li{
    list-style: none;
    position: relative;
    margin-bottom: 15px;
    margin-right: 5px;
    display: inline-block;
    width: 160px;
    padding: 0 ;
}

.tabien-modal .p {
    width: 100%;
}
  
.tabien-modal .p .cover{
    height:77px;
    text-align:center; 
    width:100%;
    border: 3px solid #333;
}

.tabien-modal .tabien-modal-font{
    padding-top: 14px;
}

.tabien-modal-keng{ 
    background:url(../../uploads/bg_tabien/tabien-background-graphic.jpg);
    background-size: cover;
    background-position: center;
    border-color:#000000; 
}
 
.tabien-modal-gold{
    background:url(../../uploads/bg_tabien/tabien-background-gold.jpg);
    background-size: cover;
    background-position: center;
    border-color:#534e00;
}

.tabien-modal-blackwhite{
    background:url(../../uploads/bg_tabien/tabien-background-white.jpg);
    background-size: cover;
    background-position: center;
    border-color:#000000;
}

.tabien-modal-cap{
    background:url(../../uploads/bg_tabien/tabien-background-kraba.jpg);
    background-size: cover;
    background-position: center; 
    border-color:#005500;
}

.tabien-modal-cap .tabien-modal-font{
    color:#005500;
}

.tabien-modal-normal-cap{
    background-size: cover;
    background-position: center; 
    border-color:#005500;
}

.tabien-modal-normal-van{
    background-size: cover;
    background-position: center; 
    border-color:#000099;
}

.tabien-modal-van .tabien-modal-font{
    color:#000099;
}

.tabien-modal-van{
    background:url(../../uploads/bg_tabien/tabien-background-rodtoo.jpg);
    background-size: cover;
    background-position: center; 
    border-color:#000099;
}
 
/* end tabien modal*/

.content_container{
	background-color: #FFF;
	padding-bottom: 15px;
}

#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:#000;
    background-color: #f5e61b;
    position: absolute;
    right: 0;
    top: 0;
    width: 22px;
    height: 22px;
    line-height: 22px;
}

.tabien-promotion-tag{
    padding: 1px 3px;
    margin: 3px;
    border-radius: 14px;
    font-weight: bold;
    font-size: 14px;
    background-image: url(/Image/discount.png);
    position: absolute;
    right: 0;
    top: 0;
    width: 22px;
    height: 22px;
    line-height: 22px;
    background-size: cover;
    background-position: center;
}

.tabien-owner{
    padding: 1px 3px;
    margin: 3px;
    border-radius: 14px;
    font-weight: bold;
    font-size: 12px;
    color:#FFF;
    background-color: #34A30E;
    position: absolute;
    left: 0;
    bottom: 0;
    line-height: 22px;
}

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

.tabien_container{
	background-color: #FFF;
	padding-bottom: 30px;
}

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

.tab-conner {
    position: absolute;
    top: 0;
    left: 0;
    width: 38px;
}
 
.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.40);
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
    line-height: 23px;
    z-index: 101;
    font-size: 18px;
    padding: 0px 0;
}
.fieldset_tabien .cover_status .span1 {
    background: rgba(0,0,0,0.80);
    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.80);
    letter-spacing: 1px;
    display: block;
    width: 100%;
    padding: 3px 0 5px 0;
    color:  #ae8625;
}
.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: #202020;
    color: #FFF;
    font-size: 18px;
}

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


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

.inner-box {
    padding: 11px 0;

}

.go > li > a:hover,
.nav > li > a:focus {
    text-decoration: none;
    color: #E3F437;
    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: #cc6699;
    }
}

@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 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: #926f34;
    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: #fffdfd;
    font-size: 17px;
}

.cart-nav-tab .badge {
    position: absolute;
    top: -8px;
    right: 0;
    background: #212F3C;
}
.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: #cfcfcf;
    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: #cfcfcf;
        color: #fff;
        text-align: center;
        z-index: 999999;
    }

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


/* ------------------------------ 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: #ae8626;
    color: #fff;
    line-height: 40px;
    font-size: 20px;
}
.mobile-btn a.line {
    width: 40px;
    height: 40px;
    display: block;
    /*background: white;*/
    color: #ae8626;
    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;
	}
}

ul.breadcrumb {
  padding: 10px 16px;
  list-style: none; 
}

/* Display list items side by side */
ul.breadcrumb li {
  display: inline;
  font-size: 18px;
}

/* Add a slash symbol (/) before/behind each list item */
ul.breadcrumb li+li:before {
  padding: 8px;
  color: black;
  content: "/\00a0";
}

/* Add a color to all links inside the list */
ul.breadcrumb li a {
  color: #0275d8;
  text-decoration: none;
  background: inherit !important;
}

/* Add a color on mouse-over */
ul.breadcrumb li a:hover {
  color: #01447e;
  text-decoration: underline;
}


#more {display: none;}
 
.checked {
  color: orange !important;
}

.unchecked {
  color: #A6A7A9;
}


.tabien_keng {
    background:url(../../uploads/bg_tabien/tabien-background-graphic.jpg);
    background-size: cover;
    background-position: center;
    border-color:#000000;
}

.tabien_gold{
    background:url(../../uploads/bg_tabien/tabien-background-gold.jpg);
    background-size: cover;
    background-position: center;
    border-color:#534e00;
}

.tabien_blackwhite{
    background:url(../../uploads/bg_tabien/tabien-background-white.jpg);
    background-size: cover;
    background-position: center;
    border-color:#000000;
}

.tabien_cap{
    background:url(../../uploads/bg_tabien/tabien-background-kraba.jpg);
    background-size: cover;
    background-position: center; 
    border-color:#005500;
}

.tabien_normal_cap{
    background-size: cover;
    background-position: center; 
    border-color:#005500;
}

.tabien_normal_van{
    background-size: cover;
    background-position: center; 
    border-color:#000099;
}

.tabien_van{
    background:url(../../uploads/bg_tabien/tabien-background-rodtoo.jpg);
    background-size: cover;
    background-position: center; 
    border-color:#000099;
}

 .invalid-feedback{
    font-size: 12px;
    color: red;
 }

.tabien_cap_font {
    color:#005500;
    font-size: 29px;
}

.tabien_van_font {
    color:#000099;
}

.tabien_keng_font {
    color:#000000;
}

.close{
    color: #4a2c2c;
    opacity: 6.2;
    font-size: 30px;
}

.pad-bottom-4px{
    padding-bottom: 4px;
}

.augur-label{
     font-size: 18px;
     color: red;
}

.telescope-cycle{
    margin:0
    auto;
    width:300px; 
    height:300px; 
    padding:15px;  
    background-image:url(../../Image/thai_wheel2.png);
    background-size: contain; 
    text-align:center; 
    vertical-align:middle;  
    background-repeat:no-repeat;
}



.entry-image-float {
    position: relative
}


.relative {
  position: relative !important;
}

.banner h2.entry-title {
  font-size: 2em;
}

.is-xsmall {
    font-size: .7em;
}

.is-uppercase, .uppercase {
    line-height: 1.2;
    text-transform: uppercase;
}

.text-center>div, .text-center>div>div, .text-center .is-divider, .text-center .star-rating, .text-center .is-star-rating {
    margin-left: auto;
    margin-right: auto;
}

 

.entry-header-text {
    padding: 1.5em 0 1.5em;
}

.text-center {
    text-align: center
}

.is-divider {
    height: 3px;
    display: block;
    background-color: rgba(0,0,0,0.1);
    margin: 1em 0 1em;
    width: 100%;
    max-width: 30px;
}

@media (min-width: 850px) {
    .entry-image-float {
        max-width: 50%;
        float: left;
        margin-right: 2em
    }
    .entry-image-float+.entry-content {
        padding-top: 0
    }
}

.promotion-price{
    font-size: 18px;
    color: red;
}

.article-inner {
    transition: opacity .3s, box-shadow .5s, transform .3s;
}

.row, .gallery {
    width: 100%;
    -js-display: flex;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap; 
}

pre, blockquote, form, figure, p, dl, ul, ol {
    margin-bottom: 1.3em;
}

ol, ul {
    margin-top: 0;
    padding: 0;
}

ol {
    display: block;
    list-style-type: decimal;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 40px;
}

.updated:not(.published) {
    display: none
}

.spinner-border {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: text-bottom;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: spinner-border .75s linear infinite;
    animation: spinner-border .75s linear infinite;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.2em;
}

.arttcle-desc{
    font-size: 1.8rem;
}
 

.navbar-default .navbar-nav>li>a {
    color: #fff;
}

.dropdown-menu li{
    border-style: solid;  
    border-color: #CCC;
}

.dropdown-menu a{ 
    background-color:#FFF; 
    color: #212F3C;
}