body {
    background-color: #fbfbfb;
}
/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */
.wrapper {
    display: flex;
    width: 100%;
}
#sidebar {
    width: 250px;
    position: fixed;
    top: 0;
    left: 0;
    height: calc(100vh - 30px);
    z-index: 999;
    color: #212529;
    transition: all 0.3s;
    padding: 20px;
    margin: 10px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 2px 0 rgba(68, 68, 68,0.302), 0 1px 3px 1px rgba(68, 68, 68,0.149);
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    align-items: flex-start;
}
#sidebar.active {
    margin-left: -250px;
}
.sidebar-header {
    display: flex;
}
.navbar-nav {
    width: 100%;
}
#user-menu {
    height: calc(100vh - 30px);
    display: flex;
    align-content: flex-end;
    justify-content: flex-end;
}
#user-menu .nav-item { 
    border-top: 2px solid #48b1bf;
}
.navbar-brand {
    color: #212529;
}
.navbar-brand:hover, 
.navbar-brand:focus {
    color: #212529;
    opacity: 0.75;
}
.nav-link {
    margin: auto 10px;
    padding: 10px;
    color: #212529;
}
.nav-link:hover, 
.nav-link:focus {
    color: #212529;
    opacity: 0.75;
}
.nav-link.active {
    padding-left: 10px;
    background: #48b1bf;
    color: white;
    border-radius: 4px;
    margin: auto;
}
.menu-button {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 10px;
}
/* ---------------------------------------------------
    CONTENT AREA STYLE
----------------------------------------------------- */

#content {
    width: calc(100% - 250px);
    padding: 40px;
    min-height: 100vh;
    transition: all 0.3s;
    position: absolute;
    top: 0;
    right: 0;
}

#content.active {
    width: 100%;
}

#loginLink {
    cursor: pointer;
}
.btn-blue {
    color: #fff;
    background: #48b1bf;
    border-color: #48b1bf;
}
.btn-blue:hover {
    color: #fff;
}
.btn-outline-blue {
    color: #48b1bf;
    background: #fff;
    border-color: #48b1bf;
}
.btn-outline-blue:hover {
    color: #fff;
    background-color: #48b1bf;
    border-color: #48b1bf;
}
.menu-btn {
    margin-bottom: 10px;
    width: 100%;
    text-align: center;
}
hr.accent {
    width: 500px;
    height: 5px;
    color: #48b1bf;
    opacity: 1;
}
/* ---------------------------------------------------
    Pagination
----------------------------------------------------- */
.pagination {
    flex-wrap: wrap;
}
.page-link {
    color: #48b1bf;
}

.page-item.active .page-link {
    background-color: #48b1bf;
    border-color: #48b1bf;
}

/* ---------------------------------------------------
    FLIGHT ACTIVITY
----------------------------------------------------- */
.flight-activity-wrapper {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 10px;
    box-shadow: 0 1px 2px 0 rgba(68, 68, 68,0.302), 0 1px 3px 1px rgba(68, 68, 68,0.149);
    margin-bottom: 15px;
    transition-duration: .1s;
}
.flight-activity-wrapper:hover,
.flight-activity-wrapper:focus {
    transform: scale(.995);
    box-shadow: 0 1px 3px 0 rgba(60,64,67,0.302), 0 4px 8px 3px rgba(60,64,67,0.149);
}
.flight-activity-wrapper .route {
    color: white; 
    font-weight: 300;
    padding: 20px;
    border-radius: 10px;
    background: rgb(76,161,175);
    background: linear-gradient(0deg, rgba(6,190,182,1) 0%, rgba(72,177,191,1) 100%);
    box-shadow: 0 1px 2px 0 rgba(68, 68, 68,0.302), 0 1px 3px 1px rgba(68, 68, 68,0.149);
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: space-around;
    align-items: flex-start;
    position: relative;
}
.flight-activity-wrapper .route:hover {
    cursor: pointer;
}
.flight-activity-wrapper .route:after {
    transition-duration: .1s;
    
}
.flight-activity-wrapper .route:not(.collapsed):after {
    content: '';
    position: absolute;
    top: 99%;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid rgba(6,190,182,1);
    clear: both;
}
.flight-activity-wrapper .info {
    margin: 10px;
}
.flight-activity-wrapper .info .title {
    font-size: 1rem;
    opacity: .75;
    line-height: 1rem;
    display: block;
    margin-bottom: 0.5rem;
}
.flight-activity-wrapper .route .departure, 
.flight-activity-wrapper .route .destination {
    display: flex;
    font-size: 3rem;
    line-height: 3rem;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: flex-start;
    align-items: flex-start;
}
.flight-activity-wrapper .route .departure .title, 
.flight-activity-wrapper .route .destination .title, 
.flight-activity-wrapper .route .departure .date,
.flight-activity-wrapper .route .course .ete,
.flight-activity-wrapper .route .course .waypoints {
    font-size: 1rem;
    opacity: .75;
    line-height: 1rem;
}
.flight-activity-wrapper .route .course {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    align-content: center;
    flex-wrap: wrap;
}
.flight-activity-wrapper .route .course .arrow {
    font-size: 1.5rem;
    line-height: 3rem;
}   
/* ---------------------------------------------------
    AIRCRAFT LISTINGS
----------------------------------------------------- */
.aircraft-wrapper {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 10px;
    box-shadow: 0 1px 2px 0 rgba(68, 68, 68,0.302), 0 1px 3px 1px rgba(68, 68, 68,0.149);
    margin-bottom: 15px;
    transition-duration: .1s;
    overflow: hidden;
}
.aircraft-wrapper:hover,
.aircraft-wrapper:focus {
    transform: scale(.995);
    box-shadow: 0 1px 3px 0 rgba(60,64,67,0.302), 0 4px 8px 3px rgba(60,64,67,0.149);
}
.aircraft-wrapper .image {
    width: 100%;
    display: inline-block;
}
.aircraft-wrapper .image img {
    height: 100%;
    width: 100%;
    aspect-ratio: 3 / 2;
    max-width: 500px;
    max-height: 250px;
    object-fit: cover;
    display: block;
}
.single-aircraft-wrapper {

}
.single-aircraft-wrapper .info {
    margin-bottom: 10px;
}
.single-aircraft-wrapper .image {
    border-radius: 10px;
    overflow: hidden;
}
.single-aircraft-wrapper .image img{
    width: 100%;
    object-fit: cover;
    display: block;
}
.aircraft-wrapper .info {
    margin: 10px;
    color: #212529;
}
.aircraft-wrapper .info .title {
    font-size: 1rem;
    opacity: .75;
    line-height: 1rem;
    display: block;
    margin-bottom: 0.5rem;
}
.aircraft-wrapper .info p {
    text-decoration: none;
}
/* ---------------------------------------------------
    TOTALS
----------------------------------------------------- */
.card {
    box-shadow: 0 1px 2px 0 rgba(68, 68, 68,0.302), 0 1px 3px 1px rgba(68, 68, 68,0.149);
    border: none;
}
.card-header {
    background: linear-gradient(0deg, rgba(6,190,182,1) 0%, rgba(72,177,191,1) 100%);
    color: white;
    border: none;
}
.card .list-group {

}
.card .list-group-item {
    display: flex;
    justify-content: space-between;
}

/* ---------------------------------------------------
    CURRENCY
----------------------------------------------------- */
#vfrDayCurrency > p,
#vfrNightCurrency > p,
#ifrCurrency > p {
    margin: auto 5px 5px 5px;
}
.yes {
    color: green;
    font-weight: 300;
    font-size: 5rem;
    text-align: center;
    display: block;
    line-height: 5rem;
    margin: 10px auto;
}
.no {
    color: red;
    font-weight: 300;
    font-size: 5rem;
    text-align: center;
    display: block;
    line-height: 5rem;
    margin: 10px auto;
}
/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */

@media (max-width: 768px) {
    #sidebar {
        margin-left: -250px;
    }
    #sidebar.active {
        margin-left: 10px;
    }
    #content {
        width: 100%;
    }
    /*
    #content.active {
        width: calc(100% - 250px);
    }
    */
    #sidebarCollapse span {
        display: none;
    }
    .menu-button {
        justify-content: flex-end;
    }
    #user-menu {
        justify-content: unset;
        height: 100%;
        display: block;
    }
    .flight-activity-wrapper .route {
        justify-content: space-between;
    }
    .flight-activity-wrapper .route .departure, 
    .flight-activity-wrapper .route .destination {
        font-size: 2rem;
        max-width: 100px;
    }
    .aircraft-wrapper .image img {
        max-width: unset;
        max-height: unset;
    }
}