:root {
    --cst-primary: #7c8b4d;
    --cst-green-sorft: #9DAC6E;
    --cst-brown: #c29e75;
    --cst-white: #fff;
    --cst-black: #151c2c;
    --cst-text: #71747a;
    --cst-bgfooter: #6f7d45;
    --cst-bgfooter-soft: #7c8b4d;
  }
  
.bg-primary{
    background-color: var(--cst-primary) !important;
}

.btn-primary,button.btn.btn-primary {
    background-color: var(--cst-primary);
    border-color: var(--cst-primary);
}

.btn-primary:hover,button.btn.btn-primary:hover{
    background-color: var(--cst-green-sorft);
    border-color: var(--cst-green-sorft);
}


.btn-grey,button.btn.btn-grey {
    background-color: #D184C7;
    border-color: #D184C7;
}

.btn-grey2,.btn-grey2:hover,button.btn.btn-grey2 {
    background-color: #d5d5d5;
    border-color: #d5d5d5;
    color: #71747a !important;
}

.btn-purple{
    background-color:rgb(236, 231, 252);
    color:rgb(125, 85, 246);
    text-decoration:none;
    padding: 8px 16px;
}
.btn-purple:hover{
    background-color:rgb(125, 85, 246);
    color:#fff;
}

.page-link,
a.text-primary{
    color: var(--cst-primary) !important;
}

.page-item.active .page-link {
    z-index: 3;
    color: var(--cst-white) !important;
    background-color: var(--cst-primary);
    border-color: var(--cst-primary);
  }
  
span.text-primary{
    color: var(--cst-primary) !important;
    font-weight: bold;
}

.text-bold{
    font-weight: bold !important;
}

span.text-yellow{
    color: #D18700 !important;
    font-weight: bold;
}

.text-green{
    color: var(--cst-primary) !important;
}

.text-green2{
    color:  #9db553 !important;
}
.text-green3{
    color:  #5d7319 !important;
}

.text-yellow{
    color: #D18700 !important;
}

.text-grey{
    color:#dadada !important;
}

.text-red{
    color: #D70040 !important;
}

.text-black{
    color: #212529;
}

.cst-leg {
    padding: 6px 2px;
    display: block;
    color: #ffffff;
}


.cst-leg.inline{
    /*display: inline-block !important;*/
    padding-left: 10px;
    padding-right: 10px;
    text-align: center;
}

.cst-leg.hil{
    text-align: center;
    font-size: 16px;
    display: inline-block;
    padding: 7px 15px;
    margin:10px;
}

.cst-leg.leg-yellow{
    background-color: #D18700;
}

.cst-leg.leg-green{
    background-color: #5d7319;
}

.cst-leg.leg-red{
    background-color: #D70040;
}

.cst-leg.leg-grey{
    background-color: #ccc;
}

/*  -webkit-animation: NAME-YOUR-ANIMATION 1s infinite;  /* Safari 4+ */
/*-moz-animation: NAME-YOUR-ANIMATION 1s infinite;  /* Fx 5+ */
/*-o-animation: NAME-YOUR-ANIMATION 1s infinite;  /* Opera 12+ */
/*animation: NAME-YOUR-ANIMATION 1s infinite;  /* IE 10+, Fx 29+ */

@-webkit-keyframes colorAnimate {
    0%, 49% {
      color:#D18700;
    }
    50%, 100% {
      color:#e50000;
    }
}

.cst-warning{
    -webkit-animation: colorAnimate 0.5s infinite;  /* Safari 4+ */
    -moz-animation: colorAnimate 0.5s infinite;  /* Fx 5+ */
    -o-animation: colorAnimate 0.5s infinite;  /* Opera 12+ */
    animation: colorAnimate 0.5s infinite;  /* IE 10+, Fx 29+ */
    line-height: 1;
    font-weight: bold;
}

.cst-warning span{
    font-size: 52%;
}

tr.booking-canceled > th,
tr.booking-canceled > td,
tr.booking-canceled > td.column-operation a,
tr.booking-canceled > td svg,
tr.booking-notsuccess > td.column-operation a{
    color:#ccc !important;
}
.cst-btn-cancel,
tr.booking-paylater > td.column-operation .cst-btn-cancel,
tr.booking-canceled > td.column-operation .cst-btn-cancel{
    font-size: 80%;
    color:#dadada;
}

tr.booking-notsuccess > td > p > span.cst-leg{
    background-color:#ccc !important;
}

tr.row-item-disable td,
tr.row-item-disable th,
tr.row-item-disable td .text-ap{
    color:#ccc !important;
}

#loading-stage{
    position: relative;
}
#loading-stage.active::before {
  display:block
}
#loading-stage:before {
  position:absolute;
  content:" ";
  top:0;
  left:0;
  width:100%;
  height:100%;
  background-image:url(https://www.theelephantsanctuarykrabi.com/wp-content/themes/wp-forge/images/icons/spinner.gif);
  background-position:center center;
  background-repeat:no-repeat;
  background-color: rgba(255,255,255,.9);
  z-index:8;
  display:none
}

#pk-no-avai{
    display: none;
}
#pk-no-avai.active{
    display: block;
}

/* TIMELINE CSS */
.timeline {
    border-left: 3px solid #7c8b4d;
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
    background: rgba(157, 172, 110, 0.08);
    margin: 0 auto;
    letter-spacing: 0.2px;
    position: relative;
    line-height: 1.4em;
    font-size: 1.03em;
    padding: 50px;
    list-style: none;
    text-align: left;
    max-width: 50%;
}

@media (max-width: 767px) {
    .timeline {
        max-width: 98%;
        padding: 25px;
    }
}

.timeline h1 {
    font-weight: 300;
    font-size: 1.4em;
}

.timeline h2,
.timeline h3 {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 10px;
}

.timeline .event {
    border-bottom: 1px dashed rgba(157, 172, 110, 0.5);
    padding-bottom: 25px;
    margin-bottom: 25px;
    position: relative;
}

.timeline .event p:last-child{
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .timeline .event {
        padding-top: 30px;
    }
}

.timeline .event:last-of-type {
    padding-bottom: 0;
    margin-bottom: 0;
    border: none;
}

.timeline .event:before,
.timeline .event:after {
    position: absolute;
    display: block;
    top: 0;
}

.timeline .event:before {
    left: -240px;
    content: attr(data-date);
    text-align: right;
    font-weight: 100;
    font-size: 0.9em;
    width: 150px;
    text-align: center;
    /* min-width: 120px; 
    left: -207px;*/

}

.timeline .event .title, .timeline .event .title a{
    font-weight: bold;
    color: #7c8b4d;
}


@media (max-width: 767px) {
    .timeline .event:before {
        left: 0px;
        text-align: left;
    }
}

.timeline .event:after {
    -webkit-box-shadow: 0 0 0 3px #7c8b4d;
    box-shadow: 0 0 0 3px #7c8b4d;
    left: -55.8px;
    background: #fff;
    border-radius: 50%;
    height: 9px;
    width: 9px;
    content: "";
    top: 5px;
}

@media (max-width: 767px) {
    .timeline .event:after {
        left: -31.8px;
    }
}

.rtl .timeline {
    border-left: 0;
    text-align: right;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
    border-right: 3px solid #7c8b4d;
}

.rtl .timeline .event::before {
    left: 0;
    right: -170px;
}

.rtl .timeline .event::after {
    left: 0;
    right: -55.8px;
}

/* END TIMELINE CSS */

@media (min-width:768px) {
    .navbar-expand-md .navbar-nav{
        padding-left: 1rem;
    }
    .navbar-expand-md .navbar-nav .nav-link {
        padding-right:1rem;
        padding-left:1rem;
        font-size: 1.1rem;
    }
}
.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight{
    background: none;
    border-color: none;
}
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover{
    background: #7c8b4d !important;
    border-color: #7c8b4d !important;
    color:#fff !important;

}

.skip-validate{
    border: 1px solid #ced4da !important;
    background-image:none !important;
}

#promocodesection{
    display: none;
}