/*package listing*/

.package .package.card {
    background: #fff;
    border: 1px solid #e8e9ed;
    border-radius: 10px !important;
    overflow: hidden;
    margin-bottom: 30px;
    transition: 0.5s;
}

.package .package.card:hover { box-shadow: 0 5px 10px #dcdcdc; }

.package .package.card .img-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.package .package.card .img-wrapper img { object-fit: cover; width: 100%; height: 100%; }
 
.package .package.card .card-body .card-title {
    margin: 15px;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 600;
    display: -webkit-box !important;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.package .package.card .card-body .card-info {
    margin: 15px;
    font-size: 14px;
    color: #666;
}

.package .package.card .card-body .card-info p.card-introduction {
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 48px;
}

.package .package.card .card-body .card-info p.card-price strong {
    color: #f48220;
    font-size: 20px;
    line-height: 1.3;
}

.package .package.card .card-body a.view-package-btn {
    overflow: hidden;
    background: #f48220;
    border-radius: 0px;
    color: #fff;
    transition: 0.5s ease;
    font-size: 12px;
    line-height: 1;
    padding: 8px 20px;
    display: block;
    text-align: center;
}

.package .package.card .card-body a.view-package-btn:hover,
.package .package.card .card-body a.view-package-btn:focus { background: #000; }

@media (max-width: 991px) {
    .package .package.card { margin-bottom: 15px; }
}

/*end of package listing*/





/*package detail*/

.view-package-detail .package-name {
    font-size: 20px;
    font-weight: 700;
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    color: #002b7f;
}

.view-package-detail .package-intro { margin-bottom: 25px; }

@media (max-width: 991px) {
    .view-package-detail .package-intro { border-bottom: 1px solid #ddd; padding-bottom: 5px; }
}

.view-package-detail .package-intro p.package-desc {
    font-size: 14px;
    color: #666;
}

.view-package-detail .package-intro .package-about {
    font-size: 18px;
    line-height: 1.5;
    font-weight: 600;
    margin: 15px 0 5px;
    color: #002b7f;
}

.view-package-detail .package-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
}

.view-package-detail .package-image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.package-image {
    height: 250px;
    margin-bottom: 20px;
}

.personal-info {
    border: 1px solid #ddd;
    padding: 0 15px 15px;
    margin-top: 30px;
    position: relative;
}

.personal-info h4.personal-info-title {
    background: #fff;
    color: #002b7f;
    margin: 0;
    padding: 0 10px 15px;
    font-size: 18px;
    font-weight: 600;
    margin-top: -10px;
    width: fit-content;
}

.personal-info table.table.personal-info-table {
    margin-bottom: 0;
}

.package-cover .package-image img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

@media (max-width: 767px) {
    .view-package-detail .package-image {margin-left: -15px;margin-right: -15px;width: auto;border-radius: 0;height: 200px;}
    .view-package-detail .package-name {font-size: 18px;margin-bottom: 0;border-bottom: none;text-align: center;}
    .view-package-detail .package-intro .package-about { font-size: 16px;}
}

.view-package-detail .journey-section {
    padding: 0 20px 15px;
    /* background: #e8eff9; */
    border: 1px solid #e8eff0;
    margin: 15px 0 30px;
    font-size: 14px;
    line-height: 1.5;
    border-radius: 10px;
    transition: 0.5s;
}

.view-package-detail .journey-section:hover {
    background: #e8eff9;
}

.view-package-detail .journey-section .journey-day {
    font-weight: 600;
    font-size: 15px;
    color: #fff;
    background: #002b7f;
    width: fit-content;
    border-radius: 5px;
    padding: 5px 15px;
    margin-top: -15px;
    margin-bottom: 10px;
}

.view-package-detail .journey-section .journey-place-select button {
    padding: 0;
    background: none !important;
    color: #ce1126;
    font-weight: 500;
    border-radius: 0;
    font-size: 14px;
    text-decoration: underline;
}

.view-package-detail .journey-section .journey-place-select button:hover { color: #002b7f; }
 
.view-package-detail .journey-section .journey-place-select label {
    margin: 0 !important;
    padding-right: 5px;
}

.view-package-detail .journey-section .journey-place-select {
    display: flex;
    align-items: flex-start;
    margin-bottom: 5px;
}

.view-package-detail .journey-section .journey-place-select input { margin-right: 5px; }

.view-package-detail .journey-section .package-journey a.btn {
    background: #f48220;
    color: #fff;
    padding: 8px 18px;
    transition: 0.5s ease;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
}

.view-package-detail .journey-section .package-journey a.btn:hover {
    background: #000;
}

.view-package-detail .package-journey a.btn {
    background: #f48220;
    padding: 8px 15px;
}

.view-package-detail .package-journey a.btn:hover {
    background: #000;
}


/*end of package detail*/


/*popup*/


.view-package-detail .modal-dialog {
    /* height: 550px; */
}

.view-package-detail .modal-dialog .modal-body {
    padding: 0 !important;
}

.view-package-detail .modal-dialog .modal-body .popUp-image {
    padding: 0 !important;
    height: 250px;
    /* overflow: hidden; */
    position: relative;
}

.view-package-detail .modal-dialog .modal-body .popUp-image:before {
    content: "";
    position: absolute;
    background: #fff;
    width: 100%;
    height: 15px;
    left: 0;
    bottom: -5px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}


.view-package-detail .modal-dialog .modal-header {
    border-bottom: 0;
    position: absolute;
    z-index: 1;
    padding: 3px 6px;
    background: rgb(255 255 255 / 80%);
    border-radius: 50px;
    top: 8px;
    right: 8px;
}

.view-package-detail .modal-dialog .modal-header .close {
    font-size: 16px;
    text-shadow: none;
}

.view-package-detail .modal-dialog .modal-body .popUp-image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.view-package-detail .modal-dialog .modal-body .popUp .popUp-desc {
    padding: 15px 30px 20px !important;
    background: #fff;
    text-align: left;
    max-height: 250px;
    overflow: scroll;
}

.view-package-detail .modal-dialog .modal-content {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: none;
    border: 0;
    background: transparent;
}

.view-package-detail .modal-dialog {
    box-shadow: none;
}

.view-package-detail .modal-dialog .popUp-desc .popUp-packagename {
    color: #002b7f;
    font-weight: 600;
    margin-top: 0;
    line-height: 1.3;
}

.view-package-detail .modal-dialog .popUp-desc .popUp-introduction p {
    line-height: 1.5;
    color: #666;
}


@media (max-width: 960px) {
    .view-package-detail div.modal.fade.in {
      top: 0 !important;
      left: 0 !important;
      padding: 0 !important;
      right: 0;
      margin: auto !important;
      width: auto !important;
      height: auto !important;
  }
	.view-package-detail .modal-dialog { width: 90% !important; }
}

/*end of popup*/


/*package inquiry form*/

.ezfunpackageinquiryform-edit h1 {
    font-size: 20px;
    font-weight: 700;
    padding-bottom: 10px;
    line-height: 1.5;
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    color: #002b7f;
}

@media (max-width: 991px) {
    .ezfunpackageinquiryform-edit h1 { font-size: 18px !important; }
}

.ezfunpackageinquiryform-edit .form-horizontal .controls input[type="text"] {
    width: 100%;
}

.ezfunpackageinquiryform-edit .form-horizontal .control-label {
    padding: 0;
    display: block;
    width: 100%;
    font-size: 14px;
    line-height: 1.3;
}

.ezfunpackageinquiryform-edit .form-horizontal .controls textarea {
    width: 100%;
}

.ezfunpackageinquiryform-edit .form-horizontal .controls .field-calendar button {
    padding: 0 7px 0 12px;
    background: #002b7f;
    color: #fff;
    font-size: 12px;
    height: 34px;
}

.ezfunpackageinquiryform-edit .form-horizontal .controls .field-calendar button:hover {
    color: #fff;
    background: #000;
}

.ezfunpackageinquiryform-edit .form-horizontal .control-group {
    position: relative;
}

.ezfunpackageinquiryform-edit .form-horizontal label#jform_flight_ticket_purchased-lbl {
    padding-left: 20px;
    margin: 0;
}

.ezfunpackageinquiryform-edit .form-horizontal input#jform_flight_ticket_purchased {
    position: absolute;
    top: 3px;
    left: 0;
    margin: 0;
    width: auto;
}

table.selected-package tr {
    vertical-align: text-top;
    /* border-bottom: 1px solid #ddd; */
    display: block;
    /* padding-bottom: 10px; */
    margin-bottom: 10px;
    line-height: 1.5;
    width: 100%;
}

table.selected-package {
    font-size: 14px;
    width: 100%;
}

table.selected-package th {
    padding-right: 15px;
    /* color: #002b7f; */
    width: 20%;
    display: inline-block;
}

table.selected-package tr:last-child {
    border-bottom: 0;
}

table.selected-package td {
    width: 80% !important;
    display: inline-block;
    color: #666;
}



/*end of package inquiry form*/



/*package inquiry & payment record table*/

table#ezfunpackageinquiryformList, table#ezfunpackagecomponentList {
    font-size: 14px;
}

table#ezfunpackageinquiryformList th, table#ezfunpackagecomponentList th { border: 0 !important; }

table#ezfunpackageinquiryformList td:nth-child(3) { width: 50%; } 

span.inquiry-pending-btn {
    padding: 5px 12px;
    border-radius: 5px;
    display: inline;
    text-align: center;
    font-size: 12px;
    background: #5ea3d8;
    color: #fff;
    transition: 0.5s;
}

span.payment-pending-btn {
    padding: 5px 12px;
    border-radius: 5px;
    display: inline;
    text-align: center;
    font-size: 12px;
    background: #f48220;
    color: #fff;
    transition: 0.5s;
}

span.payment-done-btn {
    padding: 5px 12px;
    border-radius: 5px;
    display: inline;
    text-align: center;
    font-size: 12px;
    background: #00cb33;
    color: #fff;
    transition: 0.5s;
}

a.detail-btn {
    padding: 5px 12px;
    border-radius: 5px;
    display: inline;
    text-align: center;
    font-size: 12px;
    background: #002b7f;
    color: #fff;
}

span.inquiry-pending-btn:hover,
span.payment-pending-btn:hover,
span.payment-done-btn:hover,
a.detail-btn:hover { background: #000; color: #fff; }

/*end of package inquiry table*/



/*package inquiry edit*/

.form-action-button .back-btn {
    background: #252525;
    color: #fff;
    border-radius: 0;
    padding: 8px 20px;
}

.form-action-button .btn.record-btn {
    background: #002b7f;
    color: #fff;
    border-radius: 0;
    padding: 8px 20px;
}

.form-action-button .back-btn:hover {
    background: #000;
}

.form-action-button { padding-bottom: 20px; }

body.view-ezfunpackageinquiryform h3.package-title {
    font-size: 20px !important;
    font-weight: 700;
    padding-bottom: 10px;
    padding-right: 10px;
    line-height: 1.5;
    margin: 0;
    color: #000000;
    width: 85%;
}

.package-header {
    display: inline-block;
    width: 100%;
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
}

.package-date:before {
    content: "\f073";
    font-family: 'Font Awesome 5 Free';
    position: absolute;
    left: 0;
    color: #002b7f;
}

.package-est-price:before {
    content: "\f3d1";
    font-family: 'Font Awesome 5 Free';
    position: absolute;
    left: 0;
    color: #002b7f;
}

.package-date, .package-est-price {
    padding-left: 30px;
    position: relative;
}

.package-date strong, .package-est-price strong {
    color: #002b7f;
}

.guidebook-info span {
    padding-right: 5px;
}

.guidebook-info {
    margin-top: 20px;
    margin-bottom: 10px;
}

.guidebook-info a {
    background: #002b7f;
    padding: 5px 15px;
    display: inline-block;
    color: #fff;
    border-radius: 5px;
    font-size: 14px;
}

.guidebook-info a:hover, .guidebook-info a:focus {
    background: #000;
}


@media (min-width: 768px) {
    .package-header span { float: right; }
    .package-header h3.package-title { float: left; }
}

@media (max-width: 767px) {
    body.view-ezfunpackageinquiryform h3.package-title { width: 100%; }
    .package-header span.payment-pending-btn { margin-bottom: 10px; display: inline-block; }
    
}

h4.travel-info-title, h4.additional-info-title, h4.payment-info-title {
    font-size: 18px;
    font-weight: 700;
    padding: 8px 12px;
    line-height: 1.5;
    margin-bottom: 10px;
    margin-top: 20px;
    background: #eef3fb;
    color: #002b7f;
}

body.view-ezfunpackageinquiryform table th,
body.view-ezfunpackageinquiryform table td {
    border: 0;
    font-size: 14px;
    padding: 5px 0;
    line-height: 1.3;
}


body.view-ezfunpackageinquiryform table th {
    width: 35%;
    padding-right: 10px;
}

body.view-ezfunpackageinquiryform .travel-info .journey-section {
    font-size: 14px;
    color: #666;
    padding-left: 30px;
    padding-bottom: 20px;
    position: relative;
}

body.view-ezfunpackageinquiryform .travel-info .journey-section:before {
    content: "";
    position: absolute;
    background: #fff;
    border: 3px solid #f48220;
    width: 15px;
    height: 15px;
    border-radius: 100%;
    left: 0;
    top: 8px;
}

body.view-ezfunpackageinquiryform .travel-info .journey-section:after {
    content: "";
    position: absolute;
    border: 1px dashed #ccc;
    height: 100%;
    left: 7px;
    top: 10px;
    z-index: -1;
}

body.view-ezfunpackageinquiryform .travel-info .journey-section .row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 20px;
    margin-right: 0;
}

body.view-ezfunpackageinquiryform .travel-info .journey-section .row:last-child {
    border-bottom: 2px dashed #ccc;
    padding-bottom: 30px;
}

body.view-ezfunpackageinquiryform .travel-info .journey-section .row .image {
    height: 220px;
}

body.view-ezfunpackageinquiryform .travel-info .journey-section .row .image img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

body.view-ezfunpackageinquiryform .travel-info .journey-section .journey-day {
    font-size: 20px !important;
    font-weight: 600;
    color: #f48220;
    line-height: 1.5;
}

body.view-ezfunpackageinquiryform .travel-info .journey-intro {
    color: #002b7f;
    font-weight: 600;
    font-size: 16px;
    margin: 0 0 10px;
}

@media (max-width: 1199px) {
    body.view-ezfunpackageinquiryform .travel-info .journey-section .row:last-child { padding-bottom: 20px; }
    body.view-ezfunpackageinquiryform .travel-info .journey-intro { margin-top: 10px; }
    body.view-ezfunpackageinquiryform .travel-info .journey-section .row .image { max-width: 300px; }
}

body.view-ezfunpackageinquiryform table a.btn.pay-now-btn {
    color: #fff;
    background: #002b7f;
    font-weight: 500;
    padding: 8px 12px;
    line-height: 1;
    font-size: 12px;
    margin-left: 5px;
}

body.view-ezfunpackageinquiryform table td.current-due-amount {
    color: #f00;
    font-weight: 600;
    font-size: 20px;
}

textarea#package_feedback {
    width: 100%;
    height: 100px;
}

body.view-ezfunpackageinquiryform table a.btn.submit-feedback-btn {
    background: #002b7f;
    color: #fff;
    line-height: 1;
    padding: 10px 15px;
    font-size: 12px;
}

body.view-ezfunpackageinquiryform table a.btn.pay-now-btn:hover,
body.view-ezfunpackageinquiryform table a.btn.submit-feedback-btn:hover { background: #000; }


body.view-ezfunpackageinquiryform .feedback-section h5 {
    font-size: 16px;
    font-weight: 700;
    margin-top: 20px;
}

body.view-ezfunpackageinquiryform .feedback-section .history-details {
    border-top: 1px solid #ddd;
    padding: 10px 0;
}

.additional-info, .payment-info {
    background: #fff;
    margin-top: 20px;
    padding: 15px;
    transition: 0.5s;
    border: 1px solid #ddd;
    /* border-left: 2px solid #f48220; */
}

.payment-info {
    background: #ebeef3;
}

.travel-info {
    padding-bottom: 5px;
}

table.table.additional-info-table,
table.table.payment-info-table {
    margin-bottom: 0;
}

h4.additional-info-title,
h4.payment-info-title {
    margin-top: 0;
    padding: 0 80px 10px 0;
    background: transparent;
    border-bottom: 1px solid #ddd;
}

.additional-info:hover,
.payment-info:hover {
    box-shadow: 0 0 5px #dee7f8;
}


.payment-info-header {
    position: relative;
}

.payment-info-header span {
    position: absolute;
    top: 0;
    right: 0;
}




/*end of package inquiry edit*/



/*payment record detail*/

h3.record-title {
    display: none;
}

table.table.payment-detail-table th,
table.table.payment-detail-table td {
    font-size: 14px;
    padding: 5px 0;
    line-height: 1.3;
    padding: 10px 10px 10px 0;
}

table.table.payment-detail-table th {
    width: 35%;
}

/*end of payment record detail*/




