/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,700|Prompt:300,400');

::selection {
  background: rgba(233,41,42,0.5); /* WebKit/Blink Browsers */
}
::-moz-selection {
  background: rgba(233,41,42,0.5); /* Gecko Browsers */
}

body {
  padding-top: 0rem;
  /*padding-bottom: 3rem;*/
  color: #5a5a5a;
  background-color: #fff;
  align: center;
  /*overflow-x:hidden;*/
}

/* add css for margin fix -- this will not be needed after beta */

.card-deck .card {
    margin-left: 15px;
    margin-right: 15px;
    color: #292b2c;
    background-color: transparent;
    border: 0;
    z-index: 2;
}

.card-deck a{
  color: #292b2c;
  transition: 0.3s;
}
.card-deck a:hover,
.card-deck a:focus {
  text-decoration: none;
  transition: 0.3s;
}

.card-deck .card:not(:last-child) {
    margin-right: 15px;
}

.card-deck .card:not(:first-child) {
    margin-left: 15px;
}

.bestsell:hover .new-label,
.bestsell:focus .new-label{
  opacity: 0.2;
  transition: 0.3s;
}

.new-label {
  position: absolute;
  top: 27px;
  right: 0px;
  z-index: 10;
  width: 35%;
  display: block;
  opacity: 1;
  transition: 0.3s;
}

.new-label a img {
  width: 100%;
}

.new-label a {
  -webkit-filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, .6));
}

.new-label:hover,
.new-label:focus {
  opacity: 0.2;
  transition: 0.3s;
}

.card-deck .card .card-img-top {
  border-radius: 10px 10px 0px 0px;
}

.card-deck .card .card-title {
  /*font-style: italic;*/
  height: 80px;
}

.card-deck .card .card-block {
  background: rgba(255,255,255,1);
  border-radius: 0px 0px 0px 0px;
}

.card-deck .card .card-in {
  color: #e9292a;
}

.card-deck .card .card-footer {
  border-radius: 0px 0px 10px 10px;
  margin-top: 0px;
  border: 0px;
  background: rgba(0,0,0,0.6);
}

.card-deck .card .card-footer h2 {
  font-family: 'Prompt' !important;
  color: #fff;
  font-size: 1.7em;
}

.card-deck .card .card-footer p {
  margin-bottom: 5px;
  color: #ffea00;
}

.card-deck .card .card-footer .card-code {
  color: #fff;
}

.card-deck .card .card-footer .btn {
  color: #fff;
  width: 100%;
}

.card-deck .card .card-footer .btn-group p {
    font-family: 'Prompt';
  }

.card-deck .card .card-footer .btn-danger {
    background-color: #e9292a;
    border: 1px solid #e9292a;
  }

.card-deck .card .card-footer .card-info {
    background-color: transparent;
  }

.card-deck .card .card-footer .btn-danger:hover {
    background-color: #e9292a;
  }

.bg-img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  /*margin: -10px -10px -10px -10px;*/
  /*transform: scale(1.03);*/
  /*-webkit-filter: blur(5px);
  -moz-filter: blur(5px);
  -o-filter: blur(5px);
  -ms-filter: blur(5px);
  filter: blur(5px);*/
  opacity: 0.9;
}

.head-pro {
  text-align: center;
  font-family: "Prompt";
  padding: 2rem 0rem;
  margin:0;
  color: #fff;
  /*text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.7);*/
  border:2px solid #fff;
  background:rgba(233,41,42,0.0);
  border-radius: 0px;
  font-size: 2em;
  z-index: 3;
}

.headline-pro {
  text-align: center;
  font-family: "Prompt";
  padding: 2rem 0rem 0rem 0rem;
  margin:0;
  color: #fff;
  background:rgba(233,41,42,0.0);
  width: 100%;
  text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.4);
  z-index: 3;
  position: relative;
}

.headline-pro h1 {
  text-align: center;
  display: inline-flex;
  margin:0;
}

.headline-pro2 {
  text-align: center;
  font-family: "Prompt";
  padding: 0rem 0rem;
  margin-bottom: 2rem;
  color: #fff;
  background:rgba(233,41,42,0.0);
  text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.4);
  z-index: 3;
  position: relative;
}

.headline-pro:before,
.headline-pro:after {
    background: rgba(255, 255, 255, 1);
    content: "";
    display: inline-block;
    height: 3px;
    position: relative;
    vertical-align: middle;
    width: 40%;
    border-bottom: 0px solid;
    border-color: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    margin-top:1.2rem;
    box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2);
}

.headline-pro:before {
    right: 3em;
    margin-left: -50%;
}

.headline-pro:after {
    left: 3em;
    margin-right: -50%;
}

.pro-bg {
  padding: 2.5rem 0rem 5rem 0rem;
  /*background-color: #000;*/
}
.tab-head1 {
  padding: 4.9rem 0rem 0rem 0rem;
  /*background:rgba(233,41,42,0);*/
  height: 0px;
  -webkit-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.0);
  -moz-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.0);
  box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.0);
}
.tab-head {
  padding: 1rem 0rem 1.5rem 0rem;
  /*background:rgba(233,41,42,0);*/
  height: 100px;
  -webkit-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.1);
  -moz-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.1);
  box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.1);
}
.tab-head3 {
  padding: 1rem 0rem 1.5rem 0rem;
  /*background:rgba(233,41,42,0);*/
  height: 60px;
  -webkit-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.1);
  -moz-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.1);
  box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.1);
}


.blurred {
  background:rgba(255,255,255,0.2);
}
.blurred2 {
  background:rgba(241,241,241,200);
}

.blurred1 {
  background:rgba(255,255,255,0.4);
}

.blurred5 {
  background:rgba(255,255,255,0.6);
}
@supports ((-webkit-backdrop-filter:blur(30px)) or (backdrop-filter:blur(30px))) {
  .blurred {
    -webkit-backdrop-filter:blur(30px);
    -moz-backdrop-filter:blur(30px);
    backdrop-filter:blur(30px);
    background: rgba(255,255,255,1);
  }
}

.slogan {
  position: absolute;
  display: flex;
  z-index: 1040;
  width: 100%;
  text-align: center;
  font-style: italic;
  font-weight: 900;
  margin-top: 10rem;
}

.slogan q {
  quotes: '"' '"';
}

.slogan h1,
.slogan h3 {
  color: #fff;
  font-family: 'Prompt';
  text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.4);
}

.slider1 {
  position: absolute;
  display: flex;
  z-index: 1040;
  width: 100%;
  text-align: center;
  font-style: italic;
  font-weight: 900;
  margin-top: 20rem;
}

.partner {
  padding: 5rem 0rem;
  color: #e9292a;
}

.partner h1 {
  font-family: 'Prompt';
  font-size: 2rem;
  text-align: center;
  margin:0;
}

.partner h3 {
  font-family: 'Prompt';
  text-align: center;
}

.partner hr {
  margin:2rem auto 2.5rem auto;
  width: 5rem;
  height: 3px;
  background-color: #e9292a;
  border:0;
}

.partner img {
  width: 100%;
  height: auto;
  max-width: 200px;
  max-height: 200px;
  margin-left: auto;
  margin-right: auto;
  display: inline-block;
}

.partner .col-md-12 {
  text-align: center;
}

.partner .btn {
  width: 10rem;
  border-radius: 50px;
}

.airline {
  padding: 5rem 0rem;
}

.airline .al-dt {
  z-index: 1070;
  position: relative;
}

/*.airline::before {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-image: url("../img/airline_bg.jpg");
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 1;
  content: "";
  z-index: -1;
}*/

.airline img {
  max-height: 200px;
  max-width: 200px;
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
}

.modal-content {
  border-radius: 15px;
  /*background:url(../img/login-bg.jpg) center center;*/\
  background: transparent;
  background-size: cover;
  margin-top: 0rem;
}

#Modal_1 .icon-head {
  border-radius: 50%;
  background-color: #fff;
  color: #e9292a;
  margin: 0rem auto 1rem auto;
  padding: 0rem; width: 96px;
}

#Modal_1 .head {
  font-size:1.4em;
  color: #e9292a;
  font-weight: 500;
  font-family: 'Prompt';
  letter-spacing: 0px;
  margin-bottom: 1.5rem;
}

#Modal_1 .btn {
  width: 100%;
  height: 4rem;
  border-radius: 50px;
  font-size: 1.05em;
  font-weight: 400;
  letter-spacing: 5px;
  text-align: center;
}

.fpw {
  color: #e9292a;
  text-decoration: none;
  position: relative;
  display: inline-block;
  margin: 0px 0px;
  outline: none;
  text-decoration: none;
  font-size: 1em;
  height: 1.5em !important;
}

.fpw span::before {
  position: absolute;
  text-align: left;
  width: 220px;
  top: 100%;
  content: attr(data-hover);
  -webkit-transform: translate3d(0,0,0);
  -moz-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
  padding: 0;
  text-shadow: 0 0 0px rgba(0,0,0,0.0) !important;
}

.fpw:hover,
.fpw:focus {
  color: #c9302c;
  text-decoration: none;
}

.fpw:active {
  color: #e9292a;
  text-decoration: none;
}


.input {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin: 1em;
  max-width: 350px;
  width: calc(100% - 0em);
  vertical-align: top;
}

.input__field {
  position: relative;
  display: block;
  float: right;
  padding: 0.8em;
  width: 60%;
  border: none;
  background: #f0f0f0;
  color: #aaa;
  font-weight: bold;
  font-family: "Open Sans";
  -webkit-appearance: none; /* for box shadows to show on iOS */
}

.input__field:focus {
  outline: none;
}

.input__label {
  display: inline-block;
  float: right;
  padding: 0 1.25em;
  width: 40%;
  color: #fff;
  font-weight: bold;
  font-size: 80.25%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  margin-bottom: 0;
  letter-spacing: 1px;
}

.input__label-content {
  position: relative;
  display: block;
  padding: 1.6em 0;
  width: 100%;
}

.graphic {
  position: absolute;
  top: 0;
  left: 0;
  fill: none;
}

.icon {
  color: #ddd;
  font-size: 150%;
}

/* Kaede */
.input--kaede {
  display: block;
  overflow: hidden;
  margin: 0em auto 0em;
  background: #fff;
  border: 1px solid #e9292a;
  border-radius: 10px;
}

.input__field--kaede {
  position: absolute;
  top: 0;
  right: 100%;
  width: 60%;
  height: 100%;
  background: #e9292a;
  color: #fff;
  -webkit-transition: -webkit-transform 0.5s;
  transition: transform 0.5s;
  -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
  transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
}

.input__label--kaede {
  z-index: 10;
  display: block;
  width: 100%;
  height: 100%;
  text-align: left;
  cursor: text;
  color: #e9292a;
  -webkit-transform-origin: 0% 50%;
  transform-origin: 0% 50%;
  -webkit-transition: -webkit-transform 0.5s;
  transition: transform 0.5s;
  -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
  transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
}

.input__label-content--kaede {
  padding: 1em 0;
}

.input__field--kaede:focus,
.input--filled .input__field--kaede {
  -webkit-transform: translate3d(100%, 0, 0);
  transform: translate3d(100%, 0, 0);
  -webkit-transition-delay: 0.06s;
  transition-delay: 0.06s;
}

.input__field--kaede:focus + .input__label--kaede,
.input--filled .input__label--kaede  {
  -webkit-transform: translate3d(60%, 0, 0);
  transform: translate3d(60%, 0, 0);
  pointer-events: none;
}

/* PROGRAM DETAIL */
.pg-dt {
  background-color: transparent;
}

.pg-dt .bg-img {
  opacity: 0.9;
}

.pg-d {
  z-index: 1080;
  padding: 2rem 0 2rem 0;
}

.pg-d .banner {
  border-radius: 1em;
  margin-bottom: 2rem;
  width: 100%;
}

.pg-d .content-detail {
  margin-bottom: 2rem;
  text-align: center;
  padding: 2rem;
  border-radius: 1.5em;
  -webkit-backdrop-filter:blur(45px);
  -moz-backdrop-filter:blur(45px);
  -ms-backdrop-filter:blur(45px);
  backdrop-filter:blur(45px);
  background-color: rgba(255,255,255,0.9);
}

.pg-d .content {
  padding: 0rem 0rem 2rem 0rem;
}

.pg-d .content-row {
  margin-bottom: 2rem;
  text-align: center;
}

.headline {
  text-align: center;
  margin: 0rem 0 2rem 0rem;
  color: #fff;
  font-size: 2em;
  background-color: rgba(233,41,42,1);
  padding: 20px;
  border-radius: 20px;
  -webkit-backdrop-filter:blur(45px);
  -moz-backdrop-filter:blur(45px);
  -ms-backdrop-filter:blur(45px);
  backdrop-filter:blur(45px);
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.1);
  font-family: 'Prompt';
}

.hl-h {
  margin: 0rem 0rem 0rem 0rem;
  text-align: left;
}

.hl-h h1 {
  color: #e9292a;
  overflow: hidden;
  text-align: center;
  margin-bottom: 30px;
  font-family: 'Prompt';
}

.hl-h h1:before,
.hl-h h1:after {
 background-color: #0275d8;
 content: "";
 display: inline-block;
 height: 6px;
 position: relative;
 vertical-align: middle;
 width: 40%;
 border-radius: 15px;
}
.hl-h h1:before {
 right: 0.5em;
 margin-left: -50%;
}
.hl-h h1:after {
 left: 0.5em;
 margin-right: -50%;
}

.hl-dt {
  text-align: left;
  color: #292b2c;
}

.hl-dt p {
  padding-left: 0px;
  font-family: 'Prompt';
  font-size: 1em;
}

.hl-dt p:before {
  font-family: FontAwesome;
  content: "\f105";
  display: inline-block;
  width: 14px;
  height: 24px;
  text-align: center;
  color: #0275d8;
  margin-right: 4px;
}

.rg-dt {
  text-align: right;
  color: #292b2c;
}

.dt {
  font-family: 'Prompt';
}

.dt h2 {
  font-family: 'Prompt';
  text-align: center;
  color: #fff;
  background-color: rgba(233,41,42,1);
  padding: 10px;
  border-radius: 10px;
  font-size: 1.2em;
}

.dt h5 {
  margin-top: 1rem;
  color: #e9292a;
  font-size: 1.5em;
}

.dt span {
  font-size: 1.3em;
  color: #292b2c;
  width: 100%;
}

.pg-detail {
  text-align: left;
  font-family: 'Prompt';
}

.pg-detail h3 {
  font-size: 1em;
  padding: 1rem;
  background-color: #e9292a;
  color: #fff !important;
  border-radius: 10px;
  margin-bottom: 15px;
  font-weight: bold;
}

.pg-detail hr {
  display: none;
}

.pg-detail h5 {
  font-size: 1em;
  padding-left: 10px;
  margin-bottom: 15px;
}

.pg-detail h5:before {
  font-family: FontAwesome;
  content: "\f105";
  display: inline-block;
  width: 14px;
  height: 24px;
  text-align: center;
  color: #0275d8;
  margin-right: 4px;
}

.pg-detail p {
  color: #e9292a;
  font-weight: bold;
}

.pg-detail p img {
  margin-right: 5px;
  border-radius: 10px;
}

.other-hide {
    display: none;
}

.sold {
  border: 1px solid #e9292a;
  padding:2px 15px;
  border-radius:20px;
  color:#e9292a;
}

.sold2 {
  border: 1px solid #0275d8;
  padding:2px 15px;
  border-radius:20px;
  color:#0275d8;
}

.blink_me {
  animation: blinker 0.8s linear infinite;
}

@keyframes blinker {  
  50% { opacity: 0; }
}

/* Booking */

.book-detail {
  z-index: 1090;
  padding: 2rem 0 2rem 0;
}

.bk {
  background-color: transparent;
  font-family: 'Prompt';
}

.bk .content-detail {
  /*
  padding: 2rem;
  background: rgba(255,255,255,0.6);
  border-radius: 20px;
  -webkit-backdrop-filter:blur(45px);
  -moz-backdrop-filter:blur(45px);
  -ms-backdrop-filter:blur(45px);
  backdrop-filter:blur(45px);
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.1);
  */
}

.bk-dt {
}

.bk-dt .left {
  text-align: right;
}

.bk-dt .right {
  text-align: left;
}

.bk .hd {
  margin-bottom: 20px;
  padding: 20px 20px;
  font-size: 1.2em;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.bk h5 {
  color: #e9292a;
}

.bk p {
  margin-bottom: 20px;
  color: #0275d8;
  font-size: 1.2em;
}

.bk-c .bg-img {
  opacity: 0.9;
}

.bk-c {
  z-index: 1080;
  padding: 2rem 0 2rem 0;
}

.bk-lb {
  margin-right: 0px;
  color: #e9292a;
}

.bk-ig {
  padding: 10px 15px;
  border: 1px solid #e9292a;
  border-radius: 15px;
  margin-bottom: 20px;
}


.bk-dt h3 {
  color: #e9292a;
  overflow: hidden;
  text-align: center;
  margin-bottom: 20px;
  font-family: 'Prompt';
}

.bk-dt h3:before,
.bk-dt h3:after {
 background-color: #0275d8;
 content: "";
 display: inline-block;
 height: 6px;
 position: relative;
 vertical-align: middle;
 width: 40%;
 border-radius: 15px;
}
.bk-dt h3:before {
 right: 0.5em;
 margin-left: -50%;
}
.bk-dt h3:after {
 left: 0.5em;
 margin-right: -50%;
}

.bk-dt .nice-select.form-control {
  padding: 0;
}

span.space {
  padding-left: 5px;
  padding-right: 5px;
}

.bk-dt h4 {
  padding: 1rem;
  border-radius: 10px;
  color: #0275d8;
  border: 2px solid #0275d8;
  font-size: 1.5rem;
}

.btn-book {
  font-family: 'Prompt';
  font-size: 1.3rem;
}

.bh .icon-head {
  width: 162px;
  height: 162px;
  margin-left: auto;
  margin-right: auto;
  padding: 6px;
  background-color: #e9292a;
  border-radius: 50%;
  margin-bottom: 1rem;
  margin-top:1rem;
}

.bh h1.head {
  font-family: 'Prompt';
  color: #e9292a;
  font-weight: bold;
  margin-bottom: 1rem;
}

.last-th {
  border-radius: 0px 0px 0px 0px;
}

.end-th {
  border-radius: 0px 50px 50px 0px;
}

.headline-search {
  text-align: center;
  margin: 0rem 0 2rem 0rem;
  color: #fff;
  font-size: 2em;
  background-color: rgba(233,41,42,1);
  padding: 20px;
  border-radius: 20px;
  -webkit-backdrop-filter:blur(45px);
  -moz-backdrop-filter:blur(45px);
  -ms-backdrop-filter:blur(45px);
  backdrop-filter:blur(45px);
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.1);
  font-family: 'Prompt';
  line-height: 2.65rem;
}

.fileinput-button {
  position: relative;
  overflow: hidden;
  display: inline-block;
  width: 100%;
  border-radius: 0.65rem;
  height: 114px;
  /*line-height: 102px;*/
  padding-top: 35px;
}
.fileinput-button input {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  opacity: 0;
  -ms-filter: 'alpha(opacity=0)';
  font-size: 200px !important;
  direction: ltr;
  cursor: pointer;
}

/* Fixes for IE < 8 */
@media screen\9 {
  .fileinput-button input {
    filter: alpha(opacity=0);
    font-size: 100%;
    height: 100%;
  }
}

.passimg,
.passimg:focus,
.passimg:active,
.passimg:visited {
  outline: none;
}

.passimg img {
  width: 100%;
  height: 114px;
  border-radius: 0.65rem;
  border:1px solid rgba(0, 0, 0, 0.15);
}

.passimg:hover img{
  border:1px solid #e9292a;
}

.popimg {
  max-width: 600px;
  max-height: 600px;
}

.passrow {
  padding: 15px 0px;
  background-color: rgba(0,0,0,0.05);
  border:0px solid rgba(0, 0, 0, 0.15);
  border-radius: 20px;
}

.passrow:hover,
#passno:active .passrow,
#passno:focus .passrow,
#passdesc:active .passrow,
#passdesc:focus .passrow,
#passroom:active .passrow,
#passroom:focus .passrow {
  border:0px solid rgba(233,41,42,1);
  background-color:  rgba(233, 41, 42, 0.2);
}

.passrule h5 {
  padding: 30px;
  border: 1px solid #0275d8;
  border-radius: 20px;
  color: #fff;
  background: #0275d8;
  font-size: 2rem;
  font-weight: bolder;
  margin-bottom: 2rem;
  text-align: left;
  line-height: 1.4em;
}

.payrow {
  padding: 15px 15px 15px 0px;
  background-color: rgba(0,0,0,0.05);
  border:0px solid rgba(0, 0, 0, 0.15);
  border-radius: 20px;
}

.payrow:hover,
#payno:active .payrow,
#payno:focus .payrow,
#paydesc:active .payrow,
#paydesc:focus .payrow,
#payroom:active .payrow,
#payroom:focus .payrow {
  border:0px solid rgba(233,41,42,1);
  background-color:  rgba(233, 41, 42, 0.2);
}

.rg-radio {
  display:none; 
  margin:10px;
}

.rg-radio + label {
  display: inline-block;
  margin: -2px;
  padding: 6px 12px;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  width: 33.33%;
  text-align: center;
  cursor: pointer;
}

.rg-radio:checked + label { 
  background-image: none;
  background-color: #e9292a;
  color: #fff;
}

.part_hide {
  display: none;
}

.agent-list:after {
  content: "";
  clear: both;
  display: block;
  visibility: hidden;
}

.agent-list .agent-child {
  padding: 8px 8px;
  margin: 10px 6px;
  cursor: pointer;
  -moz-transition: all 0.1s ease-in;
  -webkit-transition: all 0.1s ease-in;
  -o-transition: all 0.1s ease-in;
  transition: all 0.1s ease-in;
  border-radius: 15px;
  height: 180px;
  color: #fff;
}

.agent-list .agent-child:hover {
  /*background: rgba(255,172,2,0.8);*/
  background: rgba(242,38,19,0.2);
  border: 1px solid red;
  -moz-transition: all 0.1s ease-in;
  -webkit-transition: all 0.1s ease-in;
  -o-transition: all 0.1s ease-in;
  transition: all 0.1s ease-in;
}

.agent-list .agent-child:hover tr td {
  color: #fff;
  text-decoration: none;
}

.agent-list .agent-child a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.agent-list .agent-child table tr td {
  /*font-family: Cordia New;*/
  color: #fff;
  font-size: 11px;
  line-height: 15px;
  /*padding-left: 5px;*/
  text-align: center;
  text-shadow: 0px 0px 3px rgba(0, 0, 0, 1);
}

.agent-list .agent-child table tr td.agent-name {
  font-size: 1rem;
  font-weight: bold;
  line-height: 30px;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
   display: -webkit-box;
   line-height: 30px;     /* fallback */
   -webkit-line-clamp: 1; /* number of lines to show */
   -webkit-box-orient: vertical;
}

.agent-list .agent-child table tr td.agent-tel {
  font-size: 0.9rem;
}

.agent-list .agent-child table tr td.agent-location {
  font-size: 0.9rem;
}

.agent-list .agent-child table tr td.agent-license {
  font-size: 0.8rem;
}

.pro_ad {
  position: fixed;
  right: 0px;
  top: 348px;
  width: 33px;
  height: 120px;
  background-color: #e9292a;
  -webkit-transition-duration: 0.5s;
  transition-duration: 0.5s;
  padding: 10px 35px 10px 10px;
  -webkit-box-shadow: 0px 2px 7px 2px rgba(50, 50, 50, 0.3);
  -moz-box-shadow: 0px 2px 7px 2px rgba(50, 50, 50, 0.3);
  box-shadow: 0px 2px 7px 2px rgba(50, 50, 50, 0.3);
  z-index: 2011;
  border-radius: 20px 0px 0px 20px;
  opacity: 0.8;
}

.pro_ad:hover {
  opacity: 1;
}

.pro_ad:after {
  position: absolute;
  font-size: 1.2rem;
  font-family: 'FontAwesome',Prompt;
  content: '\f005  โปรโมชั่น';
  -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  transform: rotate(-90deg);
  color: #FFF;
  left: -26px;
  top: 43px;
  width: 100px;
}

/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  background-color: #000;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  z-index: 10;
  bottom: 3rem;
}

/* Declare heights because of positioning of img element */
.carousel-item {
  height: 70rem;
  background-size: cover !important;
}
.carousel-item > img {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, 0);
  min-width: 100%;
  height: auto;
}

.carousel-fade .carousel-item {
  -webkit-transition-property: opacity;
  -moz-transition-property: opacity;
  -o-transition-property: opacity;
  -ms-transition-property: opacity;
  transition-property: opacity;
}

.carousel-fade .carousel-item,
.carousel-fade .active.carousel-item-left,
.carousel-fade .active.carousel-item-right {
  opacity: 0;
}

.carousel-fade .active,
.carousel-fade .carousel-item-next.carousel-item-left,
.carousel-fade .carousel-item-prev.carousel-item-right {
  opacity: 0.8;
}

.carousel-fade .carousel-item-next,
.carousel-fade .carousel-item-prev,
.carousel-fade .active.carousel-item-left,
.carousel-fade .active.carousel-item-right {
  left: 0;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}


/* BODY CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.body .col-lg-4 {
  margin-bottom: 1.5rem;
  text-align: center;
}
.body h2 {
  font-weight: normal;
}
.body .col-lg-4 p {
  margin-right: .75rem;
  margin-left: .75rem;
}


/* Featurettes
------------------------- */

.featurette-divider {
  margin: 5rem 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the body headings */
.featurette-heading {
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.05rem;
}


/* Nav
------------------------- */

.nav-top {
  width: 100%;
  background: transparent;
  color: white;
  text-transform: uppercase;
  text-align: center;
  position: absolute;
  overflow: hidden;
  z-index: 1045;
  top: 0;
  height: 180px;
}
.nav-top a { color: white; transition: 0.5s; cursor: pointer;}
.nav-top a:hover { text-decoration: none; transition: 0.3s; cursor: pointer;}
.nav-top div.row { padding: 10px 0; }

.nav-top p {
  display: inline-block;
  text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.6);
  margin:0;
  font-size: 1em;
}

.nav-top .btn {
  padding: 0.5rem 1rem;
  font-size: 0.7rem;
}

.nav-top .text-left p {
  line-height: 56px;
  padding-left: 20px
}

.nav-top .amenu {
  padding: 0.3rem 0.3rem;
  font-size: 1rem;
  border-radius: 10px;
}

.nav-top .amenu span {
  padding: 4px;
  padding-left: 10px;
  line-height: 44px;
}

.nav-top .text-right .logout {
  border-radius: 0 0 15px 15px;
  padding-bottom: 5px;
}

.nav-item .amenu {
  padding: 0.3rem 0.3rem;
  font-size: 1rem;
  border-radius: 14px;
  width: 100%;
}

.nav-item .amenu:hover,
.nav-item .amenu:focus,
.nav-item .amenu:active {
  background-color: #e9292a;
}

.nav-item .amenu span {
  padding: 4px;
  line-height: 44px;
}

.nav-item .dropdown-item {
  text-align: center;
  border-radius: 10px;
  padding: 10px 0px;
}

.flex-grow {
    flex: 1;
}

.navbar-best .navbar-brand,
.navbar-best .navbar-toggler {
  color: rgba(233,41,42,1);
}

.navbar-best .navbar-brand:focus, .navbar-best .navbar-brand:hover,
.navbar-best .navbar-toggler:focus,
.navbar-best .navbar-toggler:hover {
  color: #fff;
  transition: 0.3s;
}

.navbar-best .navbar-nav .nav-link {
  color: rgba(233,41,42,1);
  transition: 0.3s;
}

.navbar-best .navbar-nav .nav-link:focus, .navbar-best .navbar-nav .nav-link:hover {
  color: #fff;
  background-color: rgba(233,41,42,1);
  transition: 0.3s;
  box-shadow: inset 0px 3px 0px rgba(0, 0, 0, 0.1), 0px 2px 0px rgba(233, 41, 42, 0.7);
}

.navbar-best .navbar-nav .nav-link.disabled {
  color: rgba(0, 0, 0, 0.3);
}

.navbar-best .navbar-nav .open > .nav-link,
.navbar-best .navbar-nav .active > .nav-link,
.navbar-best .navbar-nav .nav-link.open,
.navbar-best .navbar-nav .nav-link.active {
  color: rgba(0, 0, 0, 0.9);
}

.navbar-best .navbar-toggler {
  background: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E") center center no-repeat;
  background-size: 32px;
  background-color: rgba(233,41,42, 1);
}

.navbar-best .navbar-toggler:hover {
  background: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E") center center no-repeat;
  background-size: 32px;
  background-color: rgba(233,41,42, 1);
}

.navbar-best .navbar-toggler-icon {
  /*background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(233,41,42, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");*/
}

.navbar-best .navbar-toggler-icon:focus, .navbar-best .navbar-toggler-icon:hover {
  /*background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");*/
}

.navbar-best .navbar-text {
  color: rgba(0, 0, 0, 0.5);
}

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

footer {
  padding: 5rem 5rem;
  /*background-color: #ed9836;*/
  background-color: #e29032;
  color: #fff;
}

footer p {
  margin-bottom: .5rem;
  font-family: "Prompt";
}


footer img {
  margin-bottom: 1rem;
}

footer h5 {
  font-weight: bold;
  font-size: 1.1em;
}

footer a {
  margin: 0 2rem 0 2rem;
}

footer .footer-contact a{
  display: inline-block;
  width: 40px;
  height: 40px;
  background-size: 100% !important;
  text-decoration: none;
  transition: 0.3s;
  margin: 0 2rem 0 2rem;
}

footer .footer-contact a:hover {
  text-decoration: none;
  background-position-y: 100% !important;
  transition: 0.3s;
}

.footer-contact:hover .fb-bt {background-position-y: 100% !important; transition: 0.3s;}

footer .allright {
  margin: 1rem 0rem 0rem 0rem;
}

footer .right {
  text-align: right;
}

footer .right a {
  position: relative;
  display: inline-block;
  margin: 0px 0px;
  outline: none;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 0 1px rgba(255,255,255,0.7);
  font-size: 1.2em;
}

footer .right a:hover,
footer .right a:focus {
  outline: none;
} 

footer .right li {
   padding: .5rem 0rem .5rem 0rem;
}

footer .right h4 {
  font-size: 2em;
}

footer .fa {
  font-weight: bold;
}

/* Effect 5: same word slide in */
.cl-effect-5 a {
  overflow: hidden;
  padding: 0 4px;
  height: 1.2em;
}

.cl-effect-5 a span {
  position: relative;
  display: inline-block;
  -webkit-transition: -webkit-transform 0.3s;
  -moz-transition: -moz-transform 0.3s;
  transition: transform 0.3s;
}

.cl-effect-5 a span::before {
  position: absolute;
  text-align: left;
  width: 220px;
  top: 100%;
  content: attr(data-hover);
  -webkit-transform: translate3d(0,0,0);
  -moz-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
  padding: 0;
  text-shadow: 0 0 3px rgba(0,0,0,0.3);
}

.cl-effect-5 a:hover span,
.cl-effect-5 a:focus span {
  -webkit-transform: translateY(-100%);
  -moz-transform: translateY(-100%);
  transform: translateY(-100%);
}

/* Effect 10: reveal, push out */
.cl-effect-10  {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cl-effect-10 a {
  overflow: hidden;
  margin: 0 15px;
  position: relative;
  display: inline-block;
  margin: 15px 25px;
  outline: none;
  color: #000000;
    
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 400;
  text-shadow: 0 0 1px rgba(255,255,255,0.3);
  font-size: 1em;
  border: 1px solid #4CAF50;
  width: 120px;
  text-align: center;
  border-radius: 30px;
  z-index: 1;
}

.cl-effect-10 a span {
  display: block;
  padding: 10px 20px;
  background: rgba(0, 0, 0, 0.5);
  color: #f1f1f1;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  transition: 0.3s;
}

.cl-effect-10 a::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  padding: 10px 0px;
  width: 100%;
  height: 100%;
  background: #00d419;
  color: #000000;
  content: attr(data-hover);
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  transition: 0.3s;
  -webkit-transform: translateY(-100%);
}

.cl-effect-10 a:hover span,
.cl-effect-10 a:focus span {
  -webkit-transform: translateY(100%);
  -moz-transform: translateY(100%);
  transform: translateY(100%);
  outline: none;
}

.cl-effect-10 a:hover,
.cl-effect-10 a:focus {
  border: 1px solid #00d419;
}

.cl-effect-10 a:hover::before,
.cl-effect-10 a:focus::before {
  -webkit-transform: translateY(0%);
  -moz-transform: translateY(0%);
  transform: translateY(0%);
  background: #00d419;
}

.cl-effect-10 a.active span {
  -webkit-transform: translateY(100%);
  -moz-transform: translateY(100%);
  transform: translateY(100%);
  outline: none;
}

.cl-effect-10 a.active {
  border: 1px solid #00d419;
}

.cl-effect-10 a.active::before {
  -webkit-transform: translateY(0%);
  -moz-transform: translateY(0%);
  transform: translateY(0%);
  background: #ffffff;
}





.cl-effect-22  {
  position: relative;
  z-index: 1;

  
}

.cl-effect-22 a {
  overflow: hidden;
  margin: 0 15px;
  position: relative;
  display: inline-block;
  margin: 15px 25px;
  outline: none;

  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 350;

  font-size: 1em;
  border: 1px solid #00d419;
  width: 120px;
  text-align: center;
  border-radius: 30px;
  z-index: 1;
}

.cl-effect-22 a span {
  display: block;
  padding: 10px 20px;
  background: transparent;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  transition: 0.3s;
}

.cl-effect-22 a::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  padding: 10px 0px;
  width: 100%;
  height: 100%;


  content: attr(data-hover);
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  transition: 0.3s;
  -webkit-transform: translateY(-100%);
}

.cl-effect-22 a:hover span,
.cl-effect-22 a:focus span {
  -webkit-transform: translateY(100%);
  -moz-transform: translateY(100%);
  transform: translateY(100%);
  outline: none;
}

.cl-effect-22 a:hover,
.cl-effect-22 a:focus {

}



.cl-effect-22 a.active span {
  -webkit-transform: translateY(100%);
  -moz-transform: translateY(100%);
  transform: translateY(100%);
  outline: none;
}

.cl-effect-22 a.active {
  border: 1px solid #00d419;
}

.cl-effect-22 a.active::before {
  -webkit-transform: translateY(0%);
  -moz-transform: translateY(0%);
  transform: translateY(0%);

}




















.cl-effect-99  {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cl-effect-99 a {
  overflow: hidden;
  margin: 0 15px;
  position: relative;
  display: inline-block;
  margin: 15px 25px;
  outline: none;
  background: #e9292a;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 300;
  text-shadow: 0 0 1px rgba(255,255,255,0.3);
  font-size: 1em;
  border: 1px solid #e9292a;
  width: 70px;
  text-align: center;
  border-radius: 30px;
  z-index: 1;
}

.cl-effect-99 a span {
  display: block;
  padding: 10px 20px;
  background: transparent;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  transition: 0.3s;
}

.cl-effect-99 a::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;

  width: 100%;
  height: 100%;
  background: #fff;
  color: #fff;
  content: attr(data-hover);
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  transition: 0.3s;
  -webkit-transform: translateY(-100%);
}

.cl-effect-99 a:hover span,
.cl-effect-99 a:focus span {
  -webkit-transform: translateY(100%);
  -moz-transform: translateY(100%);
  transform: translateY(100%);
  outline: none;
}

.cl-effect-99 a:hover,
.cl-effect-99 a:focus {
  border: 1px solid #e9292a;
}

.cl-effect-99 a:hover::before,
.cl-effect-99 a:focus::before {
  -webkit-transform: translateY(0%);
  -moz-transform: translateY(0%);
  transform: translateY(0%);
  background: #e9292a;
}

.cl-effect-99 a.active span {
  -webkit-transform: translateY(100%);
  -moz-transform: translateY(100%);
  transform: translateY(100%);
  outline: none;
}

.cl-effect-99 a.active {
  border: 1px solid #e9292a;
}

.cl-effect-99 a.active::before {
  -webkit-transform: translateY(0%);
  -moz-transform: translateY(0%);
  transform: translateY(0%);
  background: #e9292a;
}







.cl-effect-77  {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cl-effect-77 a {
  overflow: hidden;
  margin: 0 15px;
  position: relative;
  display: inline-block;
  margin: 15px 25px;
  outline: none;
  background: #00771f;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 300;
  text-shadow: 0 0 1px rgba(255,255,255,0.3);
  font-size: 1em;
  border: 1px solid #00771f;
  width: 100px;
  text-align: center;
  border-radius: 30px;
  z-index: 1;
}

.cl-effect-77 a span {
  display: block;
  padding: 10px 20px;
  background: transparent;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  transition: 0.3s;
}

.cl-effect-77 a::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;

  width: 100%;
  height: 100%;
  background: #fff;
  color: #fff;
  content: attr(data-hover);
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  transition: 0.3s;
  -webkit-transform: translateY(-100%);
}

.cl-effect-77 a:hover span,
.cl-effect-77 a:focus span {
  -webkit-transform: translateY(100%);
  -moz-transform: translateY(100%);
  transform: translateY(100%);
  outline: none;
}

.cl-effect-77 a:hover,
.cl-effect-77 a:focus {
  border: 1px solid #e9292a;
}

.cl-effect-77 a:hover::before,
.cl-effect-77 a:focus::before {
  -webkit-transform: translateY(0%);
  -moz-transform: translateY(0%);
  transform: translateY(0%);
  background: #e9292a;
}

.cl-effect-77 a.active span {
  -webkit-transform: translateY(100%);
  -moz-transform: translateY(100%);
  transform: translateY(100%);
  outline: none;
}

.cl-effect-77 a.active {
  border: 1px solid #e9292a;
}

.cl-effect-77 a.active::before {
  -webkit-transform: translateY(0%);
  -moz-transform: translateY(0%);
  transform: translateY(0%);
  background: #e9292a;
}


.cl-effect-88  {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cl-effect-88 a {
  overflow: hidden;
  margin: 0 10px;
  position: relative;
  display: inline-block;
  margin: 0px 0px;
  outline: none;
  color: #5e54fa;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 80;
  text-shadow: 0 0 1px rgba(255,255,255,0.3);
  font-size: 1em;
  border: 1px solid #5e54fa;
  width: 100px;
  text-align: center;
  border-radius: 30px;
  z-index: 0;
  
  
}

.cl-effect-88 a span {
  display: block;
  padding: 10px 20px;
  background: transparent;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  transition: 0.3s;
}

.cl-effect-88 a::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  padding: 10px 0px;
  width: 100%;
  height: 100%;
  background: #5e54fa;
  color: #fff;
  content: attr(data-hover);
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  transition: 0.3s;
  -webkit-transform: translateY(-100%);
}

.cl-effect-88 a:hover span,
.cl-effect-88 a:focus span {
  -webkit-transform: translateY(100%);
  -moz-transform: translateY(100%);
  transform: translateY(100%);
  outline: none;
}

.cl-effect-88 a:hover,
.cl-effect-88 a:focus {
  border: 1px solid #5e54fa;
}

.cl-effect-88 a:hover::before,
.cl-effect-88 a:focus::before {
  -webkit-transform: translateY(0%);
  -moz-transform: translateY(0%);
  transform: translateY(0%);
  background: #5e54fa;
}

.cl-effect-88 a.active span {
  -webkit-transform: translateY(100%);
  -moz-transform: translateY(100%);
  transform: translateY(100%);
  outline: none;
}

.cl-effect-88 a.active {
  border: 1px solid #e9292a;
}

.cl-effect-88 a.active::before {
  -webkit-transform: translateY(0%);
  -moz-transform: translateY(0%);
  transform: translateY(0%);
  background: #5e54fa;
}





















#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 2011;
    width: 52px;
    height: 52px;
    text-align: center;
    line-height: 50px;
    background: rgba(255,255,255,0.6);
    color: #000;
    cursor: pointer;
    border: 0px solid #e9292a;
    border-radius: 50%;
    text-decoration: none;
    transition: opacity 0.2s ease-out;
    opacity: 0;
    display: none;
    font-size: 1.3em;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.1);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.1);
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.1);
}
#back-to-top:hover {
    background: rgba(255,255,255,0.2);
    color: #000;
}

#back-to-top:active {
    background: rgba(255,255,255,0.6);
    color: #000;
}

#back-to-top.show {
    opacity: 1;
    display: block;
}

.fixed {
    position: fixed;
    top: 0;
    z-index: 2010;
    width: 100%;
}
.fixed1 {
    position: fixed;
    top: -3;
    z-index: 2010;
	right: 13%;
    width: 0;
}
.fixed99 {
    position: fixed;
    top: -3;
    z-index: 2010;
	right: 22%;
    width: 0;
}
.fixed90 {
    position: fixed;
    top: -3;
    z-index: 2010;
	right: 31%;
    width: 0;
}


/* Timeline
-------------------------------------------------- */

.example-basic {
  text-align: left;
  font-family: 'Prompt';
}

/*==================================
    TIMELINE
==================================*/
/*-- GENERAL STYLES
------------------------------*/
.timeline {
  line-height: 1.4em;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}
.timeline h1, .timeline h2, .timeline h3, .timeline h4, .timeline h5, .timeline h6 {
  line-height: initial;
}

/*----- TIMELINE ITEM -----*/
.timeline-item {
  padding-left: 40px;
  position: relative;
  margin-bottom: -10px !important;
}
.timeline-item:last-child {
  padding-bottom: 0;
}

/*----- TIMELINE INFO -----*/
.timeline-info {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  /* margin: 0 0 .5em 0; */
  text-transform: uppercase;
  white-space: nowrap;
}

.timeline-info img {
  border-radius: 15px;
  width: 100%;
  height: auto;
}

/*----- TIMELINE MARKER -----*/
.timeline-marker {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 15px;
}
.timeline-marker:before {
  background: #e9292a;
  border: 3px solid transparent;
  border-radius: 100%;
  content: "";
  display: block;
  height: 15px;
  position: absolute;
  top: 15px;
  left: 0;
  width: 15px;
  transition: background 0.3s ease-in-out, border 0.3s ease-in-out;
}
.timeline-marker:after {
  content: "";
  width: 3px;
  background: #CCD5DB;
  display: block;
  position: absolute;
  top: 35px;
  bottom: 0;
  left: 6px;
}
.timeline-item:last-child .timeline-marker:after {
  content: none;
}

.timeline-item:not(.period):hover .timeline-marker:before {
  background: transparent;
  border: 3px solid #e9292a;
}

/*----- TIMELINE CONTENT -----*/
.timeline-content {
  padding-bottom: 40px;
}
.timeline-content p:last-child {
  margin-bottom: 0;
}
.timeline-content img {
  width: 100%;
  height: auto;
  border-radius: 15px;
}

.non {
  display: none !important;
}

.none {
  display: none;
}

/*----- TIMELINE PERIOD -----*/
.period {
  padding: 0;
}
.period .timeline-info {
  display: none;
}
.period .timeline-marker:before {
  background: transparent;
  content: "";
  width: 15px;
  height: auto;
  border: none;
  border-radius: 0;
  top: 10px;
  bottom: 30px;
  position: absolute;
  border-top: 3px solid #CCD5DB;
  border-bottom: 3px solid #CCD5DB;
}
.period .timeline-marker:after {
  content: "";
  height: 32px;
  top: auto;
}
.period .timeline-content {
  padding: 30px 0 50px;
}
.period .timeline-title {
  margin: 0;
  margin-bottom: 10px;
}

.period .timeline-content p {
  padding: 0px 10px;
}

/*----- TIMELINE PERIOD TOP -----*/
.period-t .timeline-marker:before {
  border-top: 0px solid #CCD5DB;
}

.head-p {
  padding: 10px 20px;
  background-color: #0275d8;
  color: #fff;
  border-radius: 15px;
  width: 100%;
  border: 2px solid #0275d8;
  font-size: 1.2em;
}

.t-border {
  padding: 0px 15px 15px 15px;
  border: 1px solid #CCD5DB;
  border-radius: 15px;
}

/*----------------------------------------------
    MOD: TIMELINE SPLIT
----------------------------------------------*/
@media (min-width: 768px) {
  .timeline-split .timeline, .timeline-centered .timeline {
    display: table;
  }
  .timeline-split .timeline-item, .timeline-centered .timeline-item {
    display: table-row;
    padding: 0;
  }
  .timeline-split .timeline-info, .timeline-centered .timeline-info,
  .timeline-split .timeline-marker,
  .timeline-centered .timeline-marker,
  .timeline-split .timeline-content,
  .timeline-centered .timeline-content,
  .timeline-split .period .timeline-info,
  .timeline-centered .period .timeline-info {
    display: table-cell;
    vertical-align: top;
  }
  .timeline-split .timeline-marker, .timeline-centered .timeline-marker {
    position: relative;
  }
  .timeline-split .timeline-content, .timeline-centered .timeline-content {
    padding-left: 30px;
  }
  .timeline-split .timeline-info, .timeline-centered .timeline-info {
    padding-right: 30px;
    padding-top: 10px !important;
  }
  .timeline-split .period .timeline-title, .timeline-centered .period .timeline-title {
    position: relative;
    left: -45px;
  }
  .timeline-split .period p, .timeline-centered .period p {
    position: relative;
    left: -40px !important;
  }
  .timeline-split .head-p {
    position: relative;
    left: -65px;
  }

  .period .timeline-marker:before {
    top:0px;
  }

  .timeline-marker:after {
    top: 45px;
  }

  .timeline-content img {
    width: 100%;
    height: auto;
  }
  .period .timeline-content {
    padding: 40px 0 60px;
  }

  .head-p {
    font-size: 1.35em;
  }

  .none {
    display: block;
  }
}

/*----------------------------------------------
    MOD: TIMELINE CENTERED
----------------------------------------------*/
@media (min-width: 992px) {
  .timeline-centered,
  .timeline-centered .timeline-item,
  .timeline-centered .timeline-info,
  .timeline-centered .timeline-marker,
  .timeline-centered .timeline-content {
    display: block;
    margin: 0;
    padding: 0;
  }
  .timeline-centered .timeline-item {
    padding-bottom: 40px;
    overflow: hidden;
    margin-bottom: -10px;
  }
  .timeline-centered .timeline-marker {
    position: absolute;
    left: 50%;
    margin-left: -7.5px;
  }
  .timeline-centered .timeline-info,
  .timeline-centered .timeline-content {
    width: 50%;
  }
  .timeline-centered > .timeline-item:nth-child(odd) .timeline-info {
    float: left;
    text-align: right;
    padding-right: 30px;
  }
  .timeline-centered > .timeline-item:nth-child(odd) .timeline-content {
    float: right;
    text-align: left;
    padding-left: 30px;
  }
  .timeline-centered > .timeline-item:nth-child(even) .timeline-info {
    float: right;
    text-align: left;
    padding-left: 30px;
  }
  .timeline-centered > .timeline-item:nth-child(even) .timeline-content {
    float: left;
    text-align: right;
    padding-right: 30px;
  }
  .timeline-centered > .timeline-item.period .timeline-content {
    float: none;
    padding: 0;
    width: 100%;
    text-align: center;
  }
  .timeline-centered .timeline-item.period {
    padding: 40px 70px;
    padding-bottom: 80px;
  }
  .timeline-centered .timeline-item.period-t {
    padding: 30px 0 40px !important;
    padding-bottom: 80px;
  }
  .timeline-centered .period .timeline-marker:after {
    height: 30px;
    bottom: 0;
    top: auto;
  }
  .timeline-centered .period .timeline-title {
    left: auto;
  }
  .timeline-info img {
    margin-bottom: 30px;
  }

  .head-p {
    width: 20%;
    margin-left: auto;
    margin-right: auto;
  }

  .timeline-marker:after {
    top: 35px;
  }

  .timeline-centered .period p {
    position: relative;
    left: 0px !important;
  }

  .period .timeline-info {
    display: none !important;
  }

  .period .timeline-marker:before {
    top:10px;
  }

  .none {
    display: none !important;
  }

}

/*----------------------------------------------
    MOD: MARKER OUTLINE
----------------------------------------------*/
.marker-outline .timeline-marker:before {
  background: transparent;
  border-color: #e9292a;
}
.marker-outline .timeline-item:hover .timeline-marker:before {
  background: #e9292a;
}


/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 40em) {
  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
}

@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 7rem;
  }
}

@media (min-width: 1200px) {
  .card-pro {
    width: 1350px !important;
    max-width: 100%;
  }
  .card-deck .card .card-footer .btn-group p {
    font-size: 0.9em;
  }
}

@media (min-width: 992px) {
 .nav-top {
  display: block;
 }

 .login-item {
  display: none;
 }

 .navbar-brand {
  position: absolute;
  width: 200px;
  left: 50%;
  top: -5rem;
  z-index: 20;
  margin: 0 -104px;
 }

 .main_logo {
  width: 200px;
 }

 .nav-link {
  font-size: 0.8em;
  /*border-right: 1px solid #e9292a;*/
  padding: 0.5em 1em !important;
  margin: 0em 0.4em !important;
  border-radius: 12px;
 }

 .nav-item {
  padding: 0.5em 0em;
 }

 .nav-left {
  background-color: #fff;
  border-radius: 50px;
  border-bottom: 4px solid #e9292a;
 }

 .li-left {
  padding-left: 10px;
 }

 .nav-right {
  background-color: #fff;
  border-radius: 50px;
  border-bottom: 4px solid #e9292a;
 }

 .li-right {
  padding-right: 10px;
 }

 .nav-noright {
  border:0px;
 }

 .nav-container {
  width:960px !important;
 }

 .carousel {
  margin-top: -20rem;
 }

 .card-deck .card {
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 30px;
}

.card-deck .card .card-block {
  padding: 0.5rem;
}

.card-pro {
  width: 1100px;
}

.c-width {
  width: 259px;
}

footer p {
  font-size: 1.1em;
}

footer h5 {
  font-size: 1.6em;
  font-style: bold;
}

footer .footer-logo {
    width: 200px;
    margin-bottom: 2rem;
}

.footer-contact .no {
    margin-left: 0px;
}

}

@media (min-width: 320px){
  .label-price {
    text-align: right;
    font-size: 1em;
    border-radius: 0.65rem;
    padding: 0.5rem 0.3rem;
    background-color: #fff;
  }

  .table th,
  .table td {
    font-size: 0.8em;
  }

}

@media (min-width: 414px){
  .table th,
  .table td {
    font-size: 1em;
  }
}

@media (min-width: 768px){
  .label-price {
    text-align: right;
    font-size: 1em;
  }
  .cust {
    padding-left: 0;
  }
  .cust_lb {
    text-align: right;
    padding-left: 0;
  }
}

@media (min-width:992px) and (max-width: 1199px){
  .last-th {
    border-radius: 0px 50px 50px 0px;
  }

  .end-th {
    border-radius: 0px 0px 0px 0px;
  }

}

@media (max-width:340px){
  .agent-list .agent-child table tr td.agent-name {
    font-size: 0.7rem !important;
  }

  .agent-list .agent-child table tr td.agent-tel {
    font-size: 0.6rem !important;
  }

  .agent-list .agent-child table tr td.agent-location {
    font-size: 0.6rem !important;
  }

  .agent-list .agent-child table tr td.agent-license {
    font-size: 0.5rem !important;
  }
}

@media (min-width:992px) and (max-width: 1287px) {
  .card-deck .card .card-footer .btn-group p {
    font-size: 0.7em;
    padding: 1rem 0.5rem;
  }

  .dg-wrapper{
    width: 60% !important;
  }

  .carousel-item {
    height: 60rem;
  }

  .dg-wrapper a {
    border-radius: 5px !important;
  }

  .dg-wrapper a img{
    border-radius: 5px !important;
  }

  .nav-top p {
    font-size: 0.7em;
  }

  footer p {
    font-size: 0.7em !important;
  }

  footer h5 {
    font-size: 1em !important;
  }

  .card-deck .card .card-title {
    height: 50px;
    font-size: 1rem;
  }
  .bk h5 {
    font-size: 0.9em;
  }

  .bk p {
    font-size: 0.9em;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .bk-lb {
    font-size: 0.8em;
  }

  .label-price {
    font-size: 0.9em;
  }
  
   .cl-effect-10 a {
  font-size: 0.7em;
  width: 100px;
  margin:3px 5px;
  }
  

  .cl-effect-10 a span,
  .cl-effect-10 a::before {
  padding: 5px 5px;
  }
    .cl-effect-88 a {
  font-size: 0.7em;
  width: 100%;
  margin:0px 0px;
  
  
  }
  

  .cl-effect-88 a span,
  .cl-effect-88 a::before {
  padding: 5px 5px;
  } 
  
  
  
  
}

@media (min-width:320px) and (max-width: 600px) {
  .card-deck .card .card-footer .btn-group p {
    font-size: 0.8em !important;
    padding: 1rem 0.5rem;
  }
  .slogan h1,
  .slogan h3 {
    font-size: 0.6em !important;
  }

  .container {
    width: 100%;
  }

  .dg-wrapper {
    width: 60% !important;
    height: 100px !important;
  }

  .carousel-item {
    height: 20rem !important;
  }
}

@media (max-width: 767px) {
  .carousel-item {
    height: 25rem ;
  }

  .dg-wrapper {
    width: 80%;
    height: 200px;
  }

  .dg-wrapper a {
    border-radius: 2px !important;
  }

  .dg-wrapper a img{
    border-radius: 2px !important;
  }

  footer p {
    font-size: 0.7em !important;
  }

  footer h5 {
    font-size: 1em !important;
  }

  footer .allright {
    font-size: 0.7em !important;
  }

  footer h5.thai-f {
    letter-spacing: 0.2px;
  }

  .passPic {
    padding-right: 0px;
  }

  #passport #passno,
  #passport #passdesc {
    margin-bottom: 15px;
  }

}

@media (max-width: 991px) {
  .carousel-item {
    height: 30rem;
  }

  .navbar-brand {
    height: 2.5rem;
  }
  .main_logo {
    width: 2rem;
  }

  .nav-item {
    width: 250px;
    margin-left: auto;
    margin-right: auto;
    margin-top:5px;
    margin-bottom:5px;
    border: 1px solid #e9292a;
    border-radius: 5px;
  }

  .nav-link {
    text-align: center;
    border-radius: 2px;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .card {
    margin-top: 15px;
    margin-bottom: 15px;
  }

  .card-deck .card .card-title {
  height: 95px;
  }

  .card-deck .card .card-footer p {
    font-size: 1.05em;
  }

  .slogan {
    margin-top: 5rem;
  }

  .slogan h1,
  .slogan h3 {
    font-size: 0.8em;
  }

  .slider {
    margin-top: 10rem;
  }

  .dg-wrapper a {
    border-radius: 5px !important;
  }

  .dg-wrapper a img{
    border-radius: 5px !important;
  }

  body {
  padding-top: 0rem;
  }

  .navbar-best {
    background-color: #fff;
  }

  .nav-top {
    display: none;
  }

  .login-item {
    display: flex;
  }

  footer {
    padding: 5rem 0rem;
  }

  footer .left {
    text-align: center;
  }

  footer p {
    font-size: 0.9em;
  }

  footer h5 {
    font-size: 1.4em;
  }

  footer .right {
    display: none;
  }

  .cl-effect-10 a {
  font-size: 0.7em;
  width: 100px;
  margin:3px 5px;
  }

  .cl-effect-10 a span,
  .cl-effect-10 a::before {
  padding: 5px 5px;
  }
  
    .cl-effect-88 a {
  font-size: 0.7em;
  width: 100%;
  margin:0px 0px;
  }

  .cl-effect-88 a span,
  .cl-effect-88 a::before {
  padding: 5px 5px;
  }

  .card-deck .card .card-block {
    display: none;
  }

  .hl-h h1 {
    font-size: 1.4em;
  }

  .hl-dt p {
  letter-spacing: -0.5px;
  font-size: 0.9em;
  }

  .headline {
    font-size: 1em;
  }

  .headline-search {
    font-size: 1em;
    line-height: 1.85rem;
  }

  .footable-filtering-search input.form-control {
    width: 70px;
    font-size: 1em;
  }

  .footable-filtering-search .input-group-addon {
    padding: 0.2rem 0.3rem;
    font-size: 0.7em;
  }

  .pg-d .content-detail {
    padding: 1rem;
  }

  .sold {
    font-size: 0.8em;
    padding: 2px 7px;
  }

  .sold2 {
    font-size: 0.8em;
    padding: 2px 7px;
  }

  .other-hide {
    display: block;
  }

  .pg-detail h3 {
    font-size: 0.9em;
  }

  .pg-detail h5 {
    font-size: 0.9em;
    margin-bottom: 30px;
  }

  .pg-detail p {
    text-align: center;
  }

  .pg-detail p img {
    margin-bottom: 5px;
  }

  .bk .hd {
    font-size: 0.9em;
    width: 100%;
  }

  .bk-dt .left,
  .bk-dt .right {
  text-align: center;
  }

  .bk h5 {
    font-size: 0.9em;
  }

  .bk p {
    font-size: 0.9em;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .bk-dt h4 {
    font-size: 1rem;
  }

  .bh h1.head {
    font-family: 'Prompt';
    font-size: 1.3em;
  }

  .last-th {
    border-radius: 0px 50px 50px 0px;
  }

  .end-th {
    border-radius: 0px 0px 0px 0px;
  }

  .footable {
    font-size: 0.8em;
  }

  .footable .pagination > li > a,
  .footable .pagination > li > span {
    padding: 6px 9px !important;
  }

  .history-body .btn {
    font-size: 0.8em;
  }

  .card-deck .card .card-footer .btn-group p {
    font-size: 0.8em;
  }

  .new-label {
    top: 10px;
    right: 5px;
  }

  #passport #passno {
    font-size: 1.3em !important;
  }

  .passrule h5 {
    font-size: 1rem;
  }

  .fileinput-button{
    font-size: 0.7rem;
  }

  .payin_h {
    font-size: 0.7rem !important;
  }

  .rg-dt {
    text-align: left;
  }

  .agent-list .agent-child {
    height: 205px;
  }

  .agent-list .agent-child table tr td.agent-name {
    font-size: 0.9rem;
  }

  .agent-list .agent-child table tr td.agent-tel {
    font-size: 0.8rem;
  }

  .agent-list .agent-child table tr td.agent-location {
    font-size: 0.8rem;
  }

  .agent-list .agent-child table tr td.agent-license {
    font-size: 0.7rem;
  }

  .pro_ad {
    top: 208px;
    width: 22px;
    height: 90px;
    padding: 10px 25px 10px 10px;
    border-radius: 10px 0px 0px 10px;
  }

  .pro_ad:after {
    font-size: 1rem;
    left: -22px;
    top: 32px;
    width: 80px;
  }

  /* Force table to not be like tables anymore */
  #no-more-tables table, 
  #no-more-tables thead, 
  #no-more-tables tbody, 
  #no-more-tables th, 
  #no-more-tables td, 
  #no-more-tables tr { 
    display: block;
  }
 
  /* Hide table headers (but not display: none;, for accessibility) */
  #no-more-tables thead tr { 
    position: absolute;
    top: -9999px;
    left: -9999px;
  }
 
  #no-more-tables tr { border-bottom: 1px solid #ccc; border-radius: 14px; margin-bottom: 10px;}
  
  #no-more-tables td { 
    /* Behave  like a "row" */
    border: none;
    border-bottom: 0px solid #eee; 
    position: relative;
    padding-left: 50%; 
    white-space: normal;
    text-align:right;
  }
 
  #no-more-tables td:first-child {
    border-radius: 14px 14px 0px 0px !important;
  }

  #no-more-tables td:last-child {
    border-radius: 0px 0px 14px 14px !important;
  }

  #no-more-tables td:before { 
    /* Now like a table header */
    position: absolute;
    /* Top/left values mimic padding */
    top: 15px;
    left: 6px;
    width: 40%; 
    padding-right: 0px; 
    white-space: nowrap;
    text-align:center;
    font-weight: bold;
    color: #fff;
    border-radius: 20px;
    font-size: 0.9em;
    background-color: rgba(233,41,42,1);
  }
 /*
  #no-more-tables tr:nth-child(even) td:before {
    background-color: #e29032;
  }

  #no-more-tables tr:nth-child(odd) td:before {
    background-color: rgba(233,41,42,1);
  }
  */

  /*
  Label the data
  */
  #no-more-tables td:before { content: attr(data-title); }

}

@media (max-width: 575px) {
  .new-label {
    top: 0px;
    right: 5px;
  }
}
