﻿body {
    font-family: 'Prompt', Tahoma, Arial, sans-serif;
    font-size: 14px;
}

/* Apply Prompt font to all elements */
* {
    font-family: 'Prompt', Tahoma, Arial, sans-serif;
}

#loginPage {
    margin-top: 30vh;
    text-align: center;
}

a {
    cursor: pointer;
}

.atgrid__item__top img {
    height: 229px;
}


#loginPage .container {
    width: 400px;
    display: inline-table;
    margin: auto;
    text-align: left;
}

#loginPage .logo {
    width: 150px;
}

.row {
    padding: 10px 0;
    line-height: 20px;
    vertical-align: top;
}

.noPadd {
    padding: 0 !important;
}

.center {
    text-align: center;
}

.lineHeight20 {
    line-height: 20px !important;
}

.lineHeight25 {
    line-height: 25px !important;
}

.lineHeight30 {
    line-height: 30px !important;
}

.lineHeight35 {
    line-height: 35px !important;
}

.lineHeight40 {
    line-height: 40px !important;
}

.lineHeight60 {
    line-height: 60px !important;
}

/* BOOT Strap*/
.nav-md .navbar {
    margin-bottom: 30px;
}

.nav_title img {
    height: auto;
    width: 65%;
    margin: auto;
}

.site_title {
    text-align: left;
    height: 57px;
}

.profile_info {
    background-color: #182F46;
    padding-top: 0;
    color:#000 !important;
}

.profile, .profile_info {
    width: 100%;
}

.menu_section > ul {
    display: inline-table;
    width: 100%;
}

.left_col h1 {
    font-size: 20px;
    text-transform: uppercase;
}

.panel_toolbox > li {
    float: right;
}

.form-control,
button[type='button'] {
    height: 40px;
    margin: 0;
}

.input-group input[type='text'] {
    width: 80%;
}

.input-group .input-group-btn {
    width: auto;
}

.nav-pills > li a {
    padding: 10px;
    font-size: 14px;
}
.profile_info h2{
    color:#000;
}
.no-padding {
    padding: 0 !important;
}

.no-padding-bottom {
    padding-bottom: 0 !important;
}

.no-padding-left {
    padding-left: 0 !important;
}

.backendPage label {
    padding-top: 10px;
    display: inline-block;
}

.backendPage select {
    border: solid 1px #ddd;
    padding: 10px 5px;
}

.backendPage .titleRow {
    padding: 5px 0;
    background-color: #f3f3f3;
}

.backendPage input {
    margin-bottom: 0;
}

.backendPage .btn-primary {
    background-color: #337ab7 !important;
}

.backendPage span {
    position: relative;
    display: inline-block;
    width: 100%;
}

.backendPage i.fa-calendar {
    position: absolute;
    right: 10px;
    top: 12px;
    font-size: 20px;
    color: #888;
}

.backendPage .bgTitle {
    padding: 10px 0;
    background-color: #f1f1f1;
    font-size: 12px;
    font-weight: bold;
    border-bottom: solid 1px #ccc;
}

.backendPage .childCenter * {
    text-align: center;
}

.backendPage .childCentercol {
    margin-left: 30px;
}

.backendPage .searchResult {
    font-size: 12px;
}

    .backendPage .searchResult .row:hover {
        background-color: #fff5da !important;
    }

    .backendPage .searchResult .row:nth-child(even) {
        background-color: #f9f9f9;
    }

    .backendPage .searchResult .inputText {
        height: auto;
        padding: 2px 0;
        width: 45%;
        margin-bottom: 0;
        float: left;
    }

.alert {
    padding: 15px;
    margin-bottom: 20px;
    margin-top: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-danger {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}

.alert-success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

.fullWidth {
    width: 100%;
}

.row {
    padding: 10px 0;
}

.childLineHeight35 div {
    line-height: 35px;
}

.childLineHeight35 input[type='text'] {
    height: 35px;
    padding: 5px;
}

.childLineHeight35 button {
    height: 35px;
    vertical-align: top;
}

#approvedpaymenttab,
#historicaldatatab {
    display: none;
}

.tab-pane.active {
    display: block !important;
}

.no-margin {
    margin: 0 !important;
}

.no-margin-padding {
    margin: 0 !important;
    padding: 0 !important;
}

.padding-right-20 {
    padding-right: 20px;
}

.padding-right-40 {
    padding-right: 40px;
}

.popup {
    position: absolute;
    width: 90%;
    top: 5%;
    left: 5%;
    height: auto;
    border: solid 10px #ccc;
    box-shadow: 0 0 4px #ccc;
    background-color: #fff;
    z-index: 101;
    padding: 10px 10px 20px 10px;
    display: none;
}

.mask {
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: #fff;
    opacity: 0.7;
    top: 0;
    left: 0;
    display: none;
}

.childPadd > div {
    padding: 5px 0;
}

.popup h2 {
    text-indent: 15px;
}

a {
    cursor: pointer;
}

.type-A {
    background-color: #FECF00;
}

.type-B {
    background-color: #E63023;
}

.borderBottom {
    border-bottom: solid 1px #ccc;
}

.boxType {
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    display: inline-block;
    font-weight: bold;
    margin-top: 5px;
    border: solid 1px #ccc;
    margin-right: 15px;
    color: #fff;
}

.margin-top-20 {
    margin-top: 20px;
}

.invalid {
    border: solid 1px #ff0000 !important;
    background-color: #F3D0D0 !important;
}

.red {
    color: #ff0000;
}

.loginResult {
    display: none;
}

.mask {
    position: fixed;
    z-index: 100;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #fff;
    opacity: 0.9;
    display: none;
}

.loading {
    position: fixed;
    top: 45%;
    z-index: 2001;
    left: 0;
    margin-left: 0;
    display: none;
    text-align: center;
    width: 100%;
    background-color: transparent;
}

    .loading img {
        width: 150px;
    }

.hasDatepicker {
    cursor: pointer !important;
}

.left {
    text-align: left !important;
}

.bookingItemType {
    width: 17px !important;
    height: 17px !important;
    float: right;
    display: inline-block;
    position: absolute !important;
    line-height: 10px;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    padding-top: 2px;
    margin-top: 10px;
    color: #fff;
    margin-left: 5px;
}

.bookingInfo {
    /*position: fixed;
    top: 5%;*/
    position: absolute;
    top: 0;
    width: 1000px;
    margin-left: -500px;
    left: 50%;
}

/*.accountingPayment .type-A {
    background-color: #FFFAE6;
}

.accountingPayment .type-B {
    background-color: #FFF0EF;
}*/

.accountingPayment .boxType {
    cursor: pointer;
}

    .accountingPayment .boxType.active {
        box-shadow: inset 2px 2px 0 #666;
    }

.accountingPayment .tab-pane {
    display: none;
}

.rejectPopup {
    width: 400px;
    margin-left: -334px;
    position: absolute;
    margin-top: 10px;
    z-index: 100;
    padding: 20px;
    background-color: #fff;
    border: solid 1px #ccc;
    box-shadow: 0 0 4px #888;
}

    .rejectPopup textarea {
        width: 100%;
        font-size: 14px;
        padding: 2px;
    }

.bgRed {
    background-color: #F81A03;
}

.padd10 {
    padding: 10px 0;
}

.rejectRow {
    display: none;
}

.approvedList .pending {
    display: none !important;
}

.pendingList .approved {
    display: none !important;
}

.pinCode[code='A'] {
    display: none;
}

.bookingIcon {
    border-radius: 4px;
    width: 20px !important;
    height: 20px !important;
    display: inline-block;
    font-weight: bold;
    color: #fff;
    padding: 0;
    text-align: center;
    text-transform: uppercase;
    line-height: 20px;
}

.type_a {
    background-color: #e3ebf2;
}

.type_h {
    background-color: #fdffee;
}

.normal {
    font-weight: normal;
}

#partnerBooking .boxType {
    width: 100px;
    display: inline-block;
    border-radius: 4px;
    color: #337ab7;
    font-size: 12px;
}

.item {
    cursor: pointer;
}

    .item:hover {
        background-color: #fff;
    }

.bookingInfo {
    cursor: initial;
}

.bold {
    font-weight: bold;
}

.x_title h2 {
    line-height: 21px;
}

.tagRow {
    cursor: default;
}

.tag-shall {
    border: 1px solid #405f7d;
    border-radius: 5px;
    padding: 5px 10px;
    display: inline-block;
    color: #fff;
    background-color: #405f7d;
    font-weight: 700;
    line-height: 16px;
    margin: 2px 0;
}

.tag-shall.add:hover {
    border: 1px solid #4477a9;
    background-color: #4477a9;
}

.tag-shall.add {
    border: 1px solid #26b99a;
    background-color: #26b99a;
    cursor: pointer;
}

table thead {
    font-weight: 700;
    border-bottom: 3px solid #ddd;
}

.floatRight {
    float: right;
}

.bg-grey {
    background-color: #e9e9e9;
}

.relative {
    position: relative;
}

#dicPopup .modal-dialog {
    width: 70%;
}

#dicPopup textarea {
    resize: vertical;
    max-height: 150px;
    height: 80px;
}

/* check user page */
#checkUserPage {
    margin: 0px 20px;
}

#checkUserPage .container {
    margin: 50px auto;
        width: 100%;
}

#checkUserPage .tableUser {
    width: 100%;
    border-collapse: collapse;
    background-color: transparent;
    max-width: initial;
}

#checkUserPage .tableUser .headerUser th {
    background-color: #333;
    color: #fff;
            padding: 10px;
    text-align: center;
}

#checkUserPage .tableUser tbody th, #checkUserPage .tableUser tbody td {
    padding: 10px;
}

#checkUserPage .tableUser tbody td.activeUser {
   color: rgb(94, 186, 125);
   text-align: center;
}

#checkUserPage .tableUser tbody tr.noAccount {
    background-color: rgba(0,0,0,.05);
}

#checkUserPage button.generateUser {
    width: 80%;
}

#checkUserPage .tableUser tr .linkResetPassword { 
    width: 15em;
        word-break: break-all;
        table-layout: fixed;
}

#checkUserPage .tableUser tr .firstName, #checkUserPage .tableUser tr .emailUser {
    width: 20em;
    word-break: break-all;
    table-layout: fixed;
}

#checkUserPage .tableUser tbody input[type="checkbox"] {
    width: 17px;
    height: 17px;
}
#masterdatapage li{
    list-style: none;
}

.list-number {
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    margin: auto;
    border: solid 1px #ccc;
    border-radius: 4px;
    background-color: #fff;
}
.template {
    display: none !important;
}
.nav-sm #sidebar-menu .child_menu li a i.fa {
    width: 20% !important;
    font-size: 16px !important;
}

.nav.child_menu {
    display: none;
}

/* Start Activity Management */
.packageBox {
    background-color: #fff;
    border: solid 6px #eee;
    box-shadow: 0 0 2px #333;
    margin-bottom: 15px;
    padding: 15px;
}
.packageBox .packageName {
    font-size: 16px;
}
.packageBox .ageDropDown {
    background-color: #e9e9e9;
}
.packageBox a.fa {
    font-size: 16px;
    vertical-align: middle;
    margin-left: 2px;
}
.packageBox a.fa:hover, .packageBox a.fa:link {
    text-decoration: none;
}
.packageBox a.disabled {
    color: #ababab;
    pointer-events: none;
}
.packageBox .form-control {
    font-size: 12px;
    padding: 3px 6px;
}
.packageBox .label-control {
    font-size: 12px;
    vertical-align: middle;
    min-height: 40px;
    line-height: 20px;
}
.packageBox a {
    font-size: 12px;
}
.packageBox select option:first-child {
    font-weight: 600;
}
.packageBox .form-control[disabled], .packageBox .combinationTable .combinationRow.existCombination {
    background-color: #f8f8f8;
}
#dropDownPopup .radio {
    margin-top: 10px;
}
#dropDownPopup .radio label span {
    vertical-align: bottom;
    font-weight: 700;
}
#dropDownPopup .radio label .disabled + span {
    color: #c9c9c9;
}
/* End Activity Management */
.flag {
    background: url(/img/sprite-v1.0.1.png) 0 0 no-repeat;
    width: 38px;
    height: 23px;
    margin-right:5px;
    display: inline-block;
    background-size: 583%;
}
.flag.en-US {
    background-position: 0 -37px;
}

.flag.th-TH {
    background-position: 0 -61px;
}

.flag.zh-CN {
    background-position: 1px -85px;
}

.flag.zh-HK {
    background-position: 0 -107px;
}

.flag.ko-KR {
    background-position: 1px -129px;
}
.flagTabs label {
    line-height: 25px;
    vertical-align: top;
    font-weight: normal;
}
.contentBorder {
    border: 1px solid #E6E9ED;
    padding:10px;
    border-radius: 10px;
}
#editcontentpage li{
    list-style: none;
}
.collapseIcon{
    position:absolute;
    right:0px;
}
.tag:after {
    display: none;
}

body.nav-md .container.body .col-md-3.left_col {
    position: fixed;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: hidden; /* Remove scrolling */
    background-color: #4a5568; /* Dark gray background */
}

body.nav-md .container.body .col-md-3.left_col .left_col {
    overflow-y: hidden; /* Remove scrolling from inner div */
}

body.nav-md .container.body .col-md-3.left_col,
body.nav-md .container.body .col-md-3.left_col * {
    font-weight: normal !important; /* Normal font weight */
}

#sidebar-menu span.fa {
    margin-right: 10px;
}
#productTagPopup .bootstrap-tagsinput, #productFeaturePopup .bootstrap-tagsinput ,#productTypePopup .bootstrap-tagsinput, #editPromotionCodepage .bootstrap-tagsinput{
    width: 100%;
    height: 20vh;
    overflow-x: hidden;
    overflow-y: scroll;
}
#productTagPopup .tagPopupContent{
    max-height: 90vh;
}
#productTagPopup .tagInfoBox, #productFeaturePopup .featureInfoBox ,#productTypePopup .productTypeBox{
    height: 20vh;
    overflow-x: hidden;
    overflow-y: scroll;
}

#packageManagement li{
    list-style: none;
}
#cancellationPopup .cancellationPopupContent{
    max-height: 70vh;
}
#cancellationPopup #cancellationPicker{
    max-height : 25vh;
    width: 100%;
    overflow-x: hidden;
    overflow-y: scroll;
}
#cancellationPopup .cancellationInfoBox .cancellationValue {
    display: inline-block;
    text-align: center;
    width: 40px;
}

#mediaPopup .modal-dialog {
    width: 80%;
}

#mediaPopup .backMedia {
    font-size: 20px;
    margin: 0;
}

#mediaPopup .close {
    margin-top: 10px;
    margin-right: 10px;
    font-weight: 700;
}

.partnerFiles .mediaIconWrapper {
    width: 20%;
    float: left;
}

.mediaIcon {
    padding: 0;
    border: 2px solid;
    border-radius: 5px;
}

.mediaIcon .mediaIconTop {
    padding: 10px;
    text-align: center;
    cursor: pointer;
}

.mediaIcon .mediaIconTop .mediaThumb {
    font-size: 60px;
    height: 60px;
}

.mediaIcon .mediaIconTop .mediaName {
    line-height: 25px;
    height: 50px;
    overflow: hidden;
    vertical-align: middle;
    font-weight: bold;
    word-break: break-all;
}

.mediaIcon .mediaIconButton {
    background-color: #73879c;
    border-color: #73879c;
    color: #FFFFFF;
    border-radius: 0;
    width: 100%;
}

.mediaIcon .mediaIconButton:hover, .mediaIcon .mediaIconTop:hover {
   opacity: 0.8;
}

.mediaIconWrapper {
    padding: 0 5px 10px 5px;
}

/* product ranking */

#productRankingPage table.productRankingTable {
    width: 100%;
}

#productRankingPage table.productRankingTable thead tr th {
    padding: 10px;
    text-align: center;
}

#productRankingPage button#btnExport, #productRankingPage button.btnImport {
    width: 10%;
}

#productRankingPage input[type="file"] {
    display: none;
}

/* show description in Edit Content page */
#editcontentpage .showDescription, #productRankingPage .showDescription, #packageManagement .showDescription , #editPromotionCodepage .showDescription{
    font-size: 12px;
    font-style: italic;
}

/*tinymce charactercount*/
#editcontentpage .mce-charactercount {
    margin: 2px 0 2px 2px;
    padding: 8px;
}

#editcontentpage .mce-path {
    display: none !important;
}

/* duplicate English content to other languages */

.highlightText {
    color: #FF0000;
}

.galleryImageWrapper {
    position: relative;
    display: inline-block;
}
.galleryImageWrapper .galleryImage {
    width: 100%;
    padding: 10px 0;
    cursor: pointer;
}
.galleryImageWrapper .deleteGalleryImage {
    position: absolute;
    font-size: 20px;
    line-height: 20px;
    top: 10px;
    right: 0;
    color: white;
    text-shadow: 0 0 5px black;
    cursor: pointer;
}
.galleryImageWrapper .deleteGalleryImage:hover {
    color: red;
}

.ui-icon.ui-icon-circle-triangle-w {
    background-image: url('images/ui-icons_ffffff_256x240.png');
    background-position: -80px -192px;
}

.ui-icon.ui-icon-circle-triangle-e {
    background-image: url('images/ui-icons_ffffff_256x240.png');
    background-position: -48px -192px;
}


/* promotion code page */
#promotionCodePage .btn-edit-promotionCode {
    width: 50%;
    float: right;
}

/* promotion code management */
#editPromotionCodepage .blockCheckBox {
    float: left;
    border-bottom: 1px solid #eee;
    padding: 10px;
}

#editPromotionCodepage .container-content {
    position: relative;
    display: inline-block;
    background: #fff;
    border: 1px solid #E6E9ED;
    /*max-height: 50vh;*/
    width: 100%;
    overflow-x: hidden;
    overflow-y: scroll;
    height: 40vh;
}

#editPromotionCodepage .sectionLeft {
    padding-right: 20px;
}

#editPromotionCodepage .sectionRight {
    padding-left: 20px;
}

#editPromotionCodepage .notificationMessage {
    color: #ff0000;
    padding: 10px;
}

#editPromotionCodepage .groupApply {
    background-color: #f5f5f5;
    border: 1px solid #eee;
    padding: 20px;
    display: inline-block;
    width: 100%;
}
#editPromotionCodepage .blockDropdownApply {
    margin: 10px 0px;
}

#editPromotionCodepage .rowApply, #editPromotionCodepage #sectionSelectedDataApply {
    display: none;
}

#editPromotionCodepage .hasDatepicker {
    cursor: pointer;
    background-color: #fff;
}

#editPromotionCodepage [disabled] { 
    cursor: not-allowed;
    background-color: #eee;
    opacity: 1;
}

#editPromotionCodepage .disableBlock {
    background-color: #eee;
    cursor: not-allowed;
}

.autoCompleteBox #autoComplete {
    position: relative;
    height: 0;
    z-index: 100;
    display: inline-block;
    text-align: left;
    max-width: 100%;
    float: left;
    width:100%;
}

.autoCompleteBox #autoComplete .autoComplete-container {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e3e3e3;
    padding: 20px;
    width: auto;
}
.autoCompleteBox #autoComplete .autoComplete-container .autoComplete-column {
    list-style: none;
    padding: 0 10px;
    display: inline-block;
    width: 100%;
    vertical-align: top;
    float: none;
    margin: 0;
}

.autoCompleteBox #autoComplete .autoComplete-container .autoComplete-column li {
    overflow: hidden;
    cursor: pointer;
}
.autoCompleteBox #autoComplete .autoComplete-container .autoComplete-column .autoComplete-city {
    padding-left: 8px;
}

.autoCompleteBox #autoComplete .autoComplete-container .autoComplete-column li:hover, #autoComplete .autoComplete-container .autoComplete-column li.active {
    background: #006fe6;
    border-radius: 4px;
    color: #fff;
}

.autoCompleteBox #autoComplete .autoComplete-header-closeIcon {
    font-size: 16px;
    line-height: 20px;
    font-weight: 800;
    color: #666;
    cursor: pointer;
    float: right;
    text-align: right;
    width: 10%;
}

.autoCompleteBox #autoComplete .autoComplete-header-closeIcon:hover {
    color: #006fe6;
}

.autoCompleteBox #autoComplete .autoComplete-header {
    padding: 0 10px;
    font-weight: 700;
    font-size: 15px;
    border-bottom: 1px solid #e6e6e6;
    margin-bottom: 8px;
    display: inline-block;
    width: 100%;
}

.autoCompleteBox #autoComplete .autoComplete-header .autoComplete-header-title{
    width: 90%;
    float: left;
    overflow: hidden;
    white-space: nowrap;
}



.left_col, body .container.body .right_col, .nav_menu {
    background-color: #fff;
}

.profile_info, .nav_title {
    background-color: #fff;
}

.nav-md .navbar {
    margin-bottom:0;
    padding-block:0px;
}

.nav.side-menu > li > a, .nav.child_menu > li > a {
    color: #000000 !important;
}

    .nav.side-menu > li > a:hover {
        color:#ff0000 !important;
    }

    .toggle {
        padding-top:7px;
    }

    #pageSearch {
        line-height:0;
    }

.top_nav .navbar-right {
    display:none;
}

.nav.side-menu > li.current-page, .nav.side-menu > li.active {
    border-right: 5px solid #ff0000;
}

.nav.side-menu > li {
    border-bottom:solid 1px #e5e5e5;
    padding:6px 0;
}


.backendPage .bgTitle {
    background-color: #555;
    color: #fff;
}