main > .container {
    padding: 70px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th,
.grid-view td:last-child {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}


.warp .container {
    padding: 0;
}
body{
    background-color: rgba(0, 0, 0, 1);
     font-family: 'Kittithada Medium 65';
     color: #fff;
}
main{
    min-height: 93vh;
    height: auto;
    margin: 0 auto 0;
    padding: 0 0 0;
    width: 100%;
}

.logo-kfc{
    position: absolute;
    left: 0;
}

.input-icon{
    position: relative;
}
.input-icon i {
    position: absolute;
    top: 11px;
    right: 11px;
}
.container{
    position: relative;
}


/* The remember */
    .remember {
        display: block;
        position: relative;
        padding-left: 35px;
        cursor: pointer;
        font-size: 22px;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        font-size: 1rem;
    }

    /* Hide the browser's default checkbox */
    .remember input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

    /* Create a custom checkbox */
    .checkmark {
        position: absolute;
        top: 0;
        left: 0;
        height: 25px;
        width: 25px;
        background-color: transparent;
        border: 1px solid #fff;
        border-radius: 5px;
    }

    /* On mouse-over, add a grey background color */
    .remember:hover input ~ .checkmark {
        background-color: rgba(255,255,255,.3);
    }

    /* When the checkbox is checked, add a blue background */
    .remember input:checked ~ .checkmark {
        /* background-color: rgba(255,255,255,.3); */
    }

    /* Create the checkmark/indicator (hidden when not checked) */
    .checkmark:after {
        content: "";
        position: absolute;
        display: none;
    }

    /* Show the checkmark when checked */
    .remember input:checked ~ .checkmark:after {
        display: block;
    }

    /* Style the checkmark/indicator */
    .remember .checkmark:after {
        left: 9px;
        top: 5px;
        width: 5px;
        height: 10px;
        border: solid white;
        border-width: 0 3px 3px 0;
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
    }

.w-95{
    max-width: 95%!important;
    width: 95%!important;
}
body img{
    max-width: 100%;
}
body h5{
    font-size: 32px;
}

.modal-dialog{
    color: #000;
}

/* Warning & Thankyou*/

.block-thankyou,
.block-warning{
    width: 470px;
    margin: auto;
}
.block-warning{
    padding-top: 150px;
}
.block-warning .icon-warning{
    background-color: #ffcf58;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin: auto;
}
.block-warning .title-warning{
    color: #ffcf58;
    margin: 10px 0 45px 0;
}
.block-warning .icon-warning .fa-info{
    font-size: 20px;
    padding: 10px 16px;
    color: #000;
}

.block-view-campaign{
    width: 75%;
    margin: auto;
}

.block-view-campaign .btn.btn-campaign{
    width: 100%;
    margin: auto;
}


.block-goto-kfc{
    width: 75%;
    margin: auto;
    margin-top: 20px;
}

.block-goto-kfc .btn.btn-goto-kfc{
    font-family: 'Kittithada Medium 65';
    background-color: transparent;
    color: #000;
    width: 100%;    
    font-size: 24px;
    width: 100%;
    background: linear-gradient(90deg, rgba(123,99,35,1) 0%, rgba(255,207,88,1) 50%, rgba(120,99,35,1) 100%);
  
}

.block-thankyou{
    padding-top: 100px;
}
.block-thankyou .title-warning h4{
    font-size: 30px;
    margin: 0px;
    color: #ffcf58;
}

.block-thankyou .icon-check{
    background: linear-gradient(90deg, rgba(198,160,65,1) 0%, rgba(255,207,88,1) 50%, rgba(198,160,65,1) 100%);
    border-radius: 50%;
    width: 75px;
    height: 75px;
    margin: 25px auto;
}

.block-thankyou .icon-check .fa-check{
    font-size: 32px;
    padding: 22px;
    color: #000;
}

.block-thankyou .icon-check .fa-times{
    font-size: 32px;
    padding: 22px 25px;
    color: #000;
}
.block-thankyou .title-warning p{
    font-size: 22px;
}
body .was-validated .form-control:invalid, .form-control.is-invalid{
    background-image:unset;
    border-color: #dc3545!important;
    box-shadow: 0 0 0 0.2rem rgb(220 53 69 / 25%);
}

.swal2-content{
    font-size: 1.6rem!important;
}
.swal2-actions button{
    font-size: 1.4rem!important;
    padding: 0.3rem 2rem;
}

.visible-link{
    display: block;
    width: 22%;
    height: 10%;
    max-width: 300px;
    max-height: 69px;
    position: absolute;
    bottom: 18%;
    left: 39%;
    cursor: pointer;
}


.visible-link-mobile-sec2{
    display: block;
    width: 50%;
    height: 10%;
    max-width: 300px;
    max-height: 69px;
    position: absolute;
    top: 10%;
    left: 25%;
    cursor: pointer;
}
.visible-link-mobile{
    display: block;
    width: 53%;
    height: 10%;
    max-width: 300px;
    max-height: 69px;
    position: absolute;
    bottom:  33.5%;
    left: 24%;
    cursor: pointer;
}


.visible-link-go-kfc{
    display: block;
    width: 22%;
    height: 10%;
    max-width: 300px;
    max-height: 69px;
    position: absolute;
    bottom: 7%;
    left: 39%;
    cursor: pointer;
    color: #fff;
    font-size: 1.5rem;
}
.visible-link-go-kfc:hover{
    color: #fff;
    text-decoration: none;
}


.visible-link-go-kfc-mobile{
    display: block;
    width: 200px;
    height: 10%;
    max-width: 300px;
    max-height: 50px;
    position: absolute;
    bottom: 23%;
    left: 41%;
    cursor: pointer;
    color: #fff;
    font-size: 1.1rem;
}
.visible-link-go-kfc-mobile:hover{
    color: #fff;
    text-decoration: none;
}



.visible-link.section-5{
    left: 7%;
    bottom: 26%;
}

.table-style thead th,
.table-style thead td{
    background-color: #E7191F;
    border:0;
    color: #fff;
    font-size: 24px;
    font-weight: normal;
    vertical-align: middle;
}
.table-style tbody th,
.table-style tbody td{
    background-color: #fff;
    border:1px solid #000;
    border-top: 0;
    color: #000;
    font-size: 22px;
    font-weight: normal;
}
.table-style{
    max-width: 1044px;
    margin: auto;
}
.ul-rule-events{
    max-width: 1044px;
    margin: auto;
    font-size: 22px;
    text-align: left;
}
.table-style tbody tr td:last-child{
    border-right: 0;
}
.table-style tbody tr th:first-child{
    border-left: 0;
}
.swal2-container .swal2-popup{
    border-radius: 0;
    /* border: 1px solid red; */
}
.swal2-container .swal2-title{
    font-weight: normal;
    color: #000;
    padding-top: 1em;
}

.bg-campaign .block-detail{
    text-align: left;
    max-width: 1200px;
    margin: auto;
    line-height: 15px;
    padding: 20px;
    word-break: break-word;
}
.bg-campaign .block-detail h4{
    margin-bottom: 0;
}
.bg-campaign .block-detail a,
.bg-campaign .block-detail a:hover{
    color: #fff;
    text-decoration: underline;
}

.responsive-warning{
    margin: auto;
    text-align: center;
    display: none;
    overflow: hidden;
    object-position: center;
}
.responsive-warning img{
    object-fit: contain;
    width: 767px;
    overflow: hidden;
    max-width: unset;
    object-position: center;
    margin-left: 50%;
    transform: translateX(-50%);
}

.site-error{
    background-image: url(../images/bg/goldenbucket.jpg);
    min-height: 505px;
    background-size: cover;
    background-position: center;
}

.table-announcemnt thead{
    background: linear-gradient( 90deg, rgba(123,99,35,1) 0%, rgba(255,207,88,1) 50%, rgba(120,99,35,1) 100%);
    border: 1px solid rgba(120,99,35,1);
}
.table-announcemnt thead tr td,
.table-announcemnt thead tr th
{
    border:0;
}

.table-announcemnt tbody tr td{
    border:0;
    color: #fff;
}
.box-announcemnt{
    
}
.box-announcemnt .head{
    display: flex;
    background: linear-gradient( 90deg, rgba(123,99,35,1) 0%, rgba(255,207,88,1) 50%, rgba(120,99,35,1) 100%);
    padding: 10px 0;
    margin-bottom: 1rem;
    color: #000;
}
.box-announcemnt .item:nth-child(1) {
    flex-grow: 1;
    width: 30%;
}
.box-announcemnt .item:nth-child(2) {
    flex-grow: 1;
    width: 30%;
}
.box-announcemnt .item:nth-child(3) {
    flex-grow: 1;
    width: 40%;
}

.box-announcemnt  .body .item{
    margin-bottom: 5px;
}

.box-announcemnt .body{
 
    display: flex;
  
}
.announcemnt-content{
    border: 2px solid #FFCF58;
    padding-top: 5px;
}
.ul-normal-list{
        overflow: auto;
    max-height: 330px;
}




/* width */
.ul-normal-list::-webkit-scrollbar {
  width: 10px;
}

/* Track */
.ul-normal-list::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
.ul-normal-list::-webkit-scrollbar-thumb {
  background: #888;
}

/* Handle on hover */
.ul-normal-list::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.swal2-styled.swal2-confirm{
    background: linear-gradient( 
90deg
 , rgba(123,99,35,1) 0%, rgba(255,207,88,1) 50%, rgba(120,99,35,1) 100%)!important;
    color: #000!important;
    min-width: 135px!important;
    border: 1px solid#fff!important;
}
.swal2-styled.swal2-cancel{
    border: 1px solid#000!important;
    color: #000!important;
    min-width: 135px!important;
    background-color: #fff!important;
}
.remember u{
    margin-left: 5px;
    margin-right: 5px;
}
.close{
    font-size: 3rem;
}
#loader-container {
    background: rgb(0, 0, 0);
    font-size: 1.3rem;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    z-index: 1;
    left: 0;
  }
  
  #loader {
    position: relative;
    
    width: 50px;
    height: 50px;
    border-radius: 50%;
  }


  .loadding-center{
    display: inline-block;
    position: relative;
    text-align: center;
    width: auto;
    left: 45%;
    top: 30%;
  }
  .lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 64px;
    height: 64px;
    margin: 8px;
    border: 8px solid rgba(120,99,35,1);
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: rgba(120,99,35,1) transparent transparent transparent;
  }
  .lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
  }
  .lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
  }
  .lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
  }
  @keyframes lds-ring {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  
  .search-reward{
      cursor: pointer;
  }


  .loading:after {
    overflow: hidden;
    display: inline-block;
    vertical-align: bottom;
    -webkit-animation: ellipsis steps(4,end) 900ms infinite;      
    animation: ellipsis steps(4,end) 900ms infinite;
    content: "\2026"; /* ascii code for the ellipsis character */
    width: 0px;
  }
  
  @keyframes ellipsis {
    to {
      width: 1.25em;    
    }
  }
  
  @-webkit-keyframes ellipsis {
    to {
      width: 1.25em;    
    }
  }
  .progress{
    margin: 0 10px;
  }

  .progress-bar{
    background-color: rgba(120,99,35,1);
  }
  
  .w-60{
      width: 60%;
  }
  .box-announcemnt .phone {
      color: #FFCF58;
  }

  .swiper {
    width: 100%;
    padding-top: 20px!important;;
    padding-bottom: 100px!important;
    background: #fff;
  }

  .swiper-slide {
    background-position: center;
    background-size: cover;
    width: 300px!important;
    height:300px!important;
    padding: 9px;
  }

  .swiper-slide img {
    display: block;
    width: 100%;
    border-radius: 20px;

  }

  .swiper-pagination-bullet-active{
      background: rgba(120,99,35,1)!important;
  }


  #button-to-top {
    display: inline-block;
    background: linear-gradient( 90deg, rgba(123,99,35,1) 0%, rgba(255,207,88,1) 50%, rgba(120,99,35,1) 100%);
    width: 135px;
    height: 50px;
    text-align: center;
    border-radius: 4px;
    position: fixed;
    bottom: 30px;
    right: 30px;
    transition: background-color .3s, 
      opacity .5s, visibility .5s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    padding-top: 14px;
    color: #000;
  }
 
  #button-to-top:hover {
    cursor: pointer;
    background-color: #333;
    text-decoration: none;
  }
  #button-to-top:active {
    background-color: #555;
  }
  #button-to-top.show {
    opacity: 1;
    visibility: visible;
  }
  
 .w-200px{
     width: 200px;
 }
 .table-seach-view {
    width: 400px;
    margin: 0 auto;
    margin-top: 30px;
 }
 .btn-outline-dark:hover,.btn-outline-dark:active{
     background: none;
     color: #000;
     background-color:transparent;
 }
 .btn-outline-dark:focus, .btn-outline-dark.focus{
     box-shadow: none;
 }
 .i-remove{
     cursor: pointer;
 }

 .visible-link-announce-1{
    width: 28%;
    position: absolute;
    bottom: 4%;
    left: 9%;
    height: 9%;
    cursor: pointer;
 }
 .visible-link-announce-2{
    width: 28%;
    position: absolute;
    bottom: 4%;
    left: 38%;
    height: 9%;
    cursor: pointer;
 }
 .visible-link-contact{
    width: 28%;
    position: absolute;
    bottom: 4%;
    right: 0;
    height: 9%;
    cursor: pointer;
 }
 .visible-link-announce-3{
    width: 28%;
    position: absolute;
    top: 6%;
    right: 6%;
    height: 9%;
    cursor: pointer;
}


 .visible-link-announce-m-1{
    width: 44%;
    position: absolute;
    bottom: 9%;
    left: 6%;
    height: 16%;
    cursor: pointer;
 }
 .visible-link-announce-m-2{
    width: 44%;
    position: absolute;
    bottom: 9%;
    left: 51%;
    height: 16%;
    cursor: pointer;
 }
.visible-link-announce-m-3{
    width: 28%;
    position: absolute;
    top: 6%;
    right: 6%;
    height: 9%;
    cursor: pointer;
}
.visible-link-contact-m{
    width: 34%;
    position: absolute;
    bottom: 25%;
    right: 4%;
    height: 6%;
    cursor: pointer;
}