/*** 

====================================================================
	Global Settings
====================================================================

***/

body {
    font-family: 'Kanit', sans-serif;
    background-color: #F2F6F8;
}

h1 {
    margin-bottom: 16px;
}

h1, h2, h3, h4, h5 {
    font-weight: 500;
}

p {
    font-weight: 300;
}

a {
    text-decoration: none;
}

.navbar {
    background-color: #0D2950; /***#11B68E; ***/
}

.btn-success {
    background-color: #5CB85C;
    border-color: #5CB85C;
}

.btn-secondary:disabled, .btn-secondary.disabled {
    background-color: #9B9B9B;
    border-color: #9B9B9B;
}

.content-wrapper {
    padding: 30px 0 60px;
}

.rounded-rect {
    width: 100%;
    height: 80px;
    border-bottom-left-radius: 48px;
    border-bottom-right-radius: 48px;
    background-color: #0D2950; /***#11B68E; ***/
    position: absolute;
    top: 120px;
    left: 0;
    z-index: -1;
}

.profile-section {
    background-color: #0D2950; /***#11B68E; ***/
    padding: 36px 0 28px;
}

.profile-section .dropdown a {
    font-weight: 300;
}

.profile-section .dropdown .dropdown-toggle::after {
    content: none;
}

.profile-section .dropdown .dropdown-menu {
    border: 1px solid #EBEBEB;
    box-shadow: 0px 11px 28px -12px rgb(0 0 0 / 25%);
    border-radius: 10px;
}

.profile-section .dropdown .dropdown-item.hover, 
.profile-section .dropdown .dropdown-item:hover {
    color: #0D2950; /***#11B68E; ***/
    background-color: #e7f8f4;
}

/*** 

====================================================================
	Homepage
====================================================================

***/

.page-wrapper .profile-section {
    position: relative;
    padding-bottom: 28px;
}

.page-wrapper .main-menu-section .item {
    background: #FFFFFF;
    border: 1px solid #EBEBEB;
    box-shadow: 0px 11px 28px -12px rgba(0, 0, 0, 0.25);
    border-radius: 20px;
    padding: 20px;
}

.page-wrapper .main-menu-section .item p {
    color: #000;
    font-weight: 500;
    font-size: 16px;
}

#langModal .modal-content {
    max-width: 230px;
    margin-top: 25%;
    border: 1px solid #EBEBEB;
    box-shadow: 0px 11px 28px -12px rgb(0 0 0 / 25%);
    border-radius: 10px;
}

#langModal .modal-content li {
    margin: 12px 0;
}

#langModal .modal-content li:last-child {
    margin-bottom: 0;
}

#langModal .modal-content li a {
    color: #000;
    font-weight: 300;
}

/*** 

====================================================================
	My Ticket
====================================================================

***/

.ticket-wrapper ul.timeline {
    position: relative;
}

.ticket-wrapper ul.timeline:before {
    content: ' ';
    border-left: 2px dashed #d4d9df;
    display: inline-block;
    position: absolute;
    top: 2px;
    left: 9px;
    height: calc(100% - 4px);
    z-index: 1;
}

.ticket-wrapper ul.timeline > li {
    padding-left: 36px;
}

.ticket-wrapper ul.timeline > li:before {
    content: ' ';
    display: inline-block;
    position: absolute;
    border-radius: 50%;
    left: 0;
    width: 20px;
    height: 20px;
    z-index: 1;
    margin-top: 2px;
}

.ticket-wrapper ul.timeline > li.origin p {
    font-weight: 500;
    margin-bottom: 20px;
}

.ticket-wrapper ul.timeline > li.destination p {
    font-weight: 500;
    margin-bottom: 0;
}

.ticket-wrapper ul.timeline > li.origin:before {
    background-color: #0275D8;
}

.ticket-wrapper ul.timeline > li.destination:before {
    background-color: #E43A3A;
}

.ticket-used ul.timeline > li.origin:before {
    background-color: #464646 !important;
}

.ticket-used ul.timeline > li.destination:before {
    background-color: #464646 !important;
}

.my-ticket-section {
    padding: 30px 0;
}

.my-ticket {
    display: block;
    width: 100%;
    background-color: #fff;
    margin-bottom: 10px;
    border-radius: 4px;
    position: relative
}

.my-ticket-comingsoon {
    background-color: #e88686 !important;
}

.my-ticket-history {
    background-color: #828282 !important;
}

.my-ticket p {
    font-weight: 500;
}

.my-ticket small  {
    color: #404040;
    font-size: 14px;
}

.my-ticket .btn {
    font-size: 12px;
    font-weight: 300;
}

.my-ticket .my-ticket-date {
    display: table-cell;
    width: 120px;
    position: relative;
    text-align: center;
    border-right: 2px dashed #d4d9df;
}

.my-ticket .my-ticket-date:before,
.my-ticket .my-ticket-date:after {
    content: "";
    display: block;
    width: 30px;
    height: 30px;
    background-color: #f0f0f0;
    position: absolute;
    top: -15px ;
    right: -15px;
    z-index: 1;
    border-radius: 50%
}

.my-ticket .my-ticket-date:after {
    top: auto;
    bottom: -15px
}

.my-ticket .my-ticket-date .date {
    display: block;
    position: absolute;
    top: 35%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.my-ticket .my-ticket-date .date div:first-child {
    color: #2b2b2b;
    font-weight: 600;
    font-size: 250%
}

.my-ticket .my-ticket-date .date div:last-child {
    text-transform: uppercase;
    font-weight: 600;
    margin-top: -10px;
}

.my-ticket .my-ticket-date .admission {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}

.my-ticket .my-ticket-info {
    display: table-cell;
    width: 60%;
    padding: 20px;
}

.my-ticket .my-ticket-info > div {
    display: block;
}

.my-ticket .my-ticket-info .btn-group-items {
    right: 10px;
}

.my-ticket .my-ticket-info .btn-group-items .btn.rounded-circle {
    padding: 4px 6px;
}

.coming-ticket-section {
    padding-bottom: 60px;
}

.coming-ticket-section .card {
    border: 1px solid #EBEBEB;
    box-shadow: 0px 11px 28px -12px rgba(0, 0, 0, 0.25);
    border-radius: 10px;
}

.coming-ticket-section .card-footer {
    border-top: 1px solid #D0D0D0;
}

.coming-ticket-section .card-footer,
.coming-ticket-section .list-group {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.coming-ticket-section .list-group-item {
    border: none;
    border-right: 1px solid #D0D0D0;
    padding: 5px 8px 10px;
}

.coming-ticket-section .list-group-item p {
    font-weight: 500;
}

.coming-ticket-section .list-group-item small {
    color: #A4A4A4;
    font-size: 12px;
}

.coming-ticket-section .list-group-item .btn-primary,
.coming-ticket-section .list-group-item .btn-secondary {
    font-size: 12px;
    font-weight: 300;
}

.coming-ticket-section .list-group-item .btn-primary {
    background-color: #0275D8;
    border-color: #0275D8;
}

.coming-ticket-section .list-group-horizontal > .list-group-item:first-child {
    border-bottom-left-radius: 10px;
}

.coming-ticket-section .list-group-horizontal > .list-group-item:last-child {
    border:none;
    border-bottom-right-radius: 10px;
}

/* New Ticket UI */
.my-card {
    width: 100%;
    height: auto;
    border-radius: 5px;
    position: relative;
    background-color: #fff;
}

.my-card p {
    font-size: 18px;
    color: #212529;
}

.my-card small {
    color: #A4A4A4;
}

.my-card::before {
    position: absolute;
    content: "";
    height: 30px;
    top: -15px;
    left: 50%;
    border-radius: 30px;
    z-index: 1;
    background-color: #F2F6F8;
    width: 30px;
    transform: translateX(-50%);
}

.my-card::after {
    position: absolute;
    content: "";
    height: 30px;
    top: auto;
    left: 50%;
    border-radius: 30px;
    z-index: 1;
    bottom: -15px;
    background-color: #F2F6F8;
    width: 30px;
    transform: translateX(-50%);
}

.my-card .trip-route p {
    font-size: 20px;
    color: #0275D8;
}

.my-card .trip-info {
    background-color: #0275D8;
}

.my-card .trip-id span {
    font-size: 14px;
    color: #bb482e  !important;
}

.my-card.style-1 {
    background-color: #F2D582;
}
.my-card.style-1 h2 {
    color: #36312E;
}

.my-card.style-1 span {
    color: #36312E;
}

.my-card .trip-info p {
    color: #F2D582 !important;
}

.my-card.style-1 .trip-info {
    background-color: #36312E;
}

.my-card.style-2 {
    background-color: #e7f8f4;
}
.my-card.style-2 .trip-route p {
    color: #11b68e;
}

.my-card.style-2 .trip-info {
    background-color: #11b68e;
}

.my-card.style-3 {
    background-color: #f0ac08;
}
.my-card.style-3 p {
    color: #fff;
}

.my-card.style-3 small {
    color: rgba(255, 255, 255, 0.8);
}

.my-card.style-3 .trip-info {
    background-color: rgba(0, 0, 0, 0.15);
}

.my-card.style-4 {
    background-color: #F2B59B;
}
.my-card.style-4 h2 {
    color: #36312E;
}

.my-card.style-4 span {
    color: #36312E;
}

.my-card .trip-info p {
    color: #F2B59B !important;
}

.my-card.style-4 .trip-info {
    background-color: #36312E;
}

.my-card.style-5 {
    background-color: #A1A1A1;
}
.my-card.style-5 h2 {
    color: #36312E;
}

.my-card.style-5 span {
    color: #36312E;
}

.my-card .trip-info p {
    color: #A1A1A1 !important;
}

.my-card.style-5 .trip-info {
    background-color: #36312E;
}

/* End New Ticket UI */

#qrCodeModal .modal-dialog {
    position:fixed;
    top:auto;
    right:auto;
    left:auto;
    bottom:0;
    width: 100vw;
    max-width: 100vw;
    margin: 0;
}

#qrCodeModal .modal-content {
    border: none;
    border-radius: 0;
}

/*** 

====================================================================
	My Profile
====================================================================

***/

.my-profile-wrapper .my-profile-section .header img {
    border: 4px solid #045b8d;
}

.my-profile-wrapper .my-profile-section .header p {
    font-size: 14px;
}

.my-profile-wrapper .my-profile-section .item {
    border-bottom: 1px solid #D0D0D0;
    padding: 20px 0;
}

.my-profile-wrapper .my-profile-section .item:last-child {
    border-bottom: none;
}

.my-profile-wrapper .my-profile-section .item p {
    margin-bottom: 0;
}

@media only screen and (max-width: 576px) {
    .my-profile-wrapper .my-profile-section .header {
        color: #fff;
        background: url(../images/curve.png) bottom center no-repeat;
        background-size: cover;
        height: 300px;
    }
}

/*** 

====================================================================
	Location
====================================================================

***/

.location-wrapper .location-section #map {
    border: 1px solid #4A4A4A;
    width: 100%;
    height: 700px;
    background-image: url('../images/map.png');
    background-size: cover;
}