/* MAIN WRAPPER */
body {
   min-height: 100vh;
   min-height: -webkit-fill-available;
}
html {
   min-height: -webkit-fill-available;
}
main {
   display: flex;
   flex-wrap: nowrap;
   height: 100vh;
   min-height: -webkit-fill-available;
   max-height: 100vh;
   overflow-x: auto;
   overflow-y: hidden;
}
#header-bar {
   grid-template-columns: 2fr 2fr;
}
.text-black {
   color: black;
}
.dropdown-toggle {
   outline: 0;
}
.material-icons {
   margin-top: -4px;
    position: relative;
    top: 6px;
}
.wrapper {
   padding: 30px;
   width: 100%;
   background-color: #EEF6FB;
   overflow: auto;
}
#btn-profile {
   background-color: white;
   padding: 7px 12px;
   border-radius: 18px;
}
#btn-profile .dropdown-toggle::after {
   display: none;
}
#btn-profile .dropdown-menu.show {
    inset: 9px auto auto -5px !important;
    background-color: #f1f1f1;
    border-radius: 15px;
    color: #086d94;
}

/*LOGIN*/
.login-form {
    background-color: white;
    border-radius: 18px;
    border: 6px solid #dcdcdcbf;
    padding: 20px;
    height: 100%;
}
.login-form .form-control {
   border-radius: 14px;
}
.login-form .btn-yellow {
   border-radius: 14px;
   padding: 8px 25px;
}
.login-form .trip-form-container {
   display: table;
}

.login-form .trip-form-container form {
   display: table-cell;
   vertical-align: middle;
}

/* SIDEBAR */
#sidebar {
   width: 280px;
   z-index: 1;
}
#sidebar .nav-pills .nav-link.active,
#sidebar .nav-pills .show>.nav-link {
   color: #fff;
   background-color: #398CB4;
   border-radius: 0;
   border-left: 6px solid #023b50;
}
#sidebar .nav-pills .nav-link {
    color: #1E5772;
    padding: 10px 20px;
    font-weight: 500;
    font-size: 14px;
}
#sidebar .nav-pills .nav-link .material-icons {
   margin-right: 10px;
   margin-left: 10px;
   font-size: 21px;
}
#fix-close-btn {
   display: none;
}

/*CARDS*/
.card.custom {
   border-radius: 18px;
   padding: 25px 0px;
}
.card.custom .card-header {
    background-color: white;
    margin: 0px 25px;
    margin-bottom: 15px;
}
.card.custom .card-body {
   margin: 0px 25px;
}
.card.custom .card-header > span {
    background-color: white;
    position: relative;
    top: 18px;
    left: -16px;
    padding: 0px 15px;
}
.card.custom .form-control {
   border-radius: 18px;
}
.card.custom label {
    font-size: 14px;
    margin-bottom: 3px;
    padding-left: 14px;
}
.card-payment {
   padding: 0 !important;
   overflow: hidden;
}
.card-payment .card-body {
   padding: 0 !important;
   margin: 0 !important;
}

/*ROWS*/
.download-row {
    background-color: #EEF6FB;
    padding: 15px 25px;
    color: #fff;
    font-weight: 500;
    border-radius: 18px;
    margin-bottom: 10px;
}
.download-row p {
    margin-bottom: 0;
    color: #086d94;
}
.download-row.bg-success {
   background-color: #c4e1c8 !important
}
.download-row.bg-error {
   /*background-color: #D5EBD8 !important*/
}
.download-row.row-title {
    background-color: transparent;
    border: 1px solid gainsboro;
    padding: 6px 25px;
    font-size: 13px;
    letter-spacing: 1px;
}
.download-row.payment-row {
    padding: 9px 9px;
    border-radius: 26px;
}

/*TICKETS*/
.ticket {
   overflow: hidden;
}
.ticket-airline img {
   width: 90%;
}
.ticket-left {
   background-color: #e5e5e5;
   border-radius: 18px 0 0 18px;
   min-height: 200px;
   position: relative;
   flex: 4;
   padding: 10px;
}
.ticket-right {
   background-color: #f3f3f3;
   border-radius: 0 18px 18px 0;
   min-height: 200px;
   position: relative;
   flex: 8;
   padding: 10px;
}
.ticket-left:after {
    content: '';
    border-radius: 50%;
    width: 30px;
    height: 30px;
    position: absolute;
    right: -15px;
    bottom: -14px;
    background-color: white;
    z-index: 1;
}
.ticket-left:before {
    content: '';
    border-radius: 50%;
    width: 30px;
    height: 30px;
    position: absolute;
    right: -15px;
    top: -14px;
    background-color: white;
    z-index: 1;
}

/* BADGES */
.badge {
    padding: 11px 18px;
    border-radius: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}
.badge-primary {
   background-color: #006290 !important;
   color: white;
   border: 1px solid #006290;
}
.badge.bg-success {
   background-color: #f2f5f2 !important;
   color: #62b93e;
   border: 1px solid #71c151cf;
}
.badge.bg-error {
   background-color: #f2f5f2 !important;
   color: #984343;
   border: 1px solid #984343;
}
.badge .material-icons {
   font-size: 14px;
   top: 2px;
   left: -3px;
}

/* GATEWAY */
.select-gateway {
   background-color: #f2f7f9;
   border-radius: 18px;
}
.select-gateway:hover {
   cursor: pointer;
}
.select-gateway.hide {
   display: none !important;
}
.gateway-wrapper {
   display: none;
}
.gateway-wrapper.show {
   display: block !important;
}

/*TRIP BADGE*/
.trip-badge {
    background-color: #eef6fb;
    padding: 10px;
    margin: 10px;
    flex: 1;
    border-radius: 20px;
    line-height: 25px;
    text-align: center;
    display: flex;
    align-items: center;
}
.trip-badge span {
    font-size: 16px;
    font-weight: 500;
    flex: 1;
    top: 2px;
}
.trip-badge .trip-icon {
    border-radius: 50%;
    border: 1px solid #006290;
    font-size: 30px;
    height: 45px;
    width: 45px;
    display: flex;
    align-items: center;
    text-align: center;
    margin: 0 auto;
}
.trip-upcoming {
   background-color: #f3f3f3;
   border-radius: 0 0 18px 18px;
   position: absolute;
   bottom: 0px;
}
.agreement-text {
   background-color: #eef6fb;
   border-radius: 18px;
   padding: 15px;
   font-size: 14px;
   margin-bottom: 20px;
}





/*MEDIA QUERY*/
@media(max-width: 768px){
   #sidebar {
      position: fixed;
      left: 0;
      top: 0;
      z-index: 9999;
      height: 100%;
      overflow-y: auto;
      transition: .5s ease all;
   }
   #sidebar.active {
      transform: translate(0);
      transition: .5s ease all;
   }
   #fix-close-btn {
      display: initial;
       background-color: #000000eb;
       position: fixed;
       right: 0;
       top: 0;
       z-index: 9998;
       height: 100%;
       width: 100%;
       transform: translate(-105%);
       transition: .5s ease all;
   }
   #fix-close-btn > a {
       position: absolute;
       top: 0;
       right: 0;
       background-color: white;
       padding: 15px 17px;
       text-align: right;
       width: 100%;
       text-decoration: none;
       font-size: 22px;
   }
   #fix-close-btn.active {
      transform: translate(0);
      transition: .5s ease all;
   }
   .wrapper {
       padding: 0;
       padding-bottom: 30px;
   }
   .wrapper.active {
       overflow: hidden;
   }
   .card.custom .card-body {
      margin: 0;
   }
   .card.custom .card-header {
      margin: 0;
      text-align: center;
      border: none;
      font-weight: 500;
   }
   .card.custom .card-header span {
      position: initial;
      padding: 0;
   }
   #btn-profile {
      background-color: transparent;
   }
   #header-bar {
      grid-template-columns: 1fr 2fr 1fr;
       background-color: #fbfbfb;
   }
   #btn-profile img {
      width: 40px !important;
      height: 40px !important;
   }
   #btn-profile .dropdown-menu.show {
      inset: 9px auto auto -76px !important;
   }

   .card.custom.scroll-x {
       overflow: overlay;
   }
   .card.custom.scroll-x .card-body {
      width: 720px;
   }
   .ticket-airline {
      text-align: center;
      margin-top: 15px;
   }
   .ticket-airline img {
      width: 40%;
   }
   .ticket-left:before {
      right: initial;
      left: -15px;
      top: initial;
      bottom: -14px;
   }
   .ticket-left {
      border-radius: 18px 18px 0 0 ;
   }
   .ticket-right {
      border-radius: 0 0 18px 18px ;
   }
   .payment-row .badge {
      display: block;
   }
   .trip-badge {
      text-align: left;
   }
   .trip-badge > span {
      text-align: center;
       display: block;
   }
   .trip-badge {
      display: initial;
       margin: 0px 4px 20px 4px;
   }
   .trip-upcoming {
      position: initial;
      bottom: initial;
       border-radius: 0 0 45px 45px;
   }
   .list-item-package.dashboard .list-item-image {
      height: 200px;
   }
}