﻿/*
    COLOURS:
        RED: HEX: #B00400; RGB: (176, 4, 0)

*/
html {
    background-color: #fff;
    font-family: sans-serif;
}

.ame-content-container {
    height: 100%;
}

.ame-content {
    margin-left: 270px;
    margin-right: 1rem;
    padding-bottom: 350px;
}

.ame-form-container {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.ame-padding-top {
    padding-top: 1rem;
}

.ame-padding-bottom {
    padding-bottom: 1rem;
}

.ame-login {
    margin-left: 1rem;
    margin-right: 1rem;
}

.ame-align-right {
    /*float: right;*/
    text-align: right;
}

.ame-align-center {
    text-align: center;
}

.ame-text-bold{
    font-weight: bold;
}

.ame-logo-container {
    display: flex;
    justify-content: space-between;
}

.ame-logo {
    display: block;
    background-image: url('../images/Airports_Made_Easy_Logo.png');
    background-repeat: no-repeat;
    width: 324px;
    height: 100px;
    margin-bottom: 1rem;
}

.ame-partner-logo-container {
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    width: 159px;
    height: 100px;
    margin-bottom: 1rem;
    right: 0;
}

.ame-partner-logo {
    display: block;
    background-image: url('../images/vasco_logo.png');
    background-repeat: no-repeat;
    width: 136px;
    height: 65px;
    margin: auto;
}

.ame-title {
    color: rgb(176, 4, 0);
}

.ame-small-text {
    font-size: small;
}

.ame-small-link {
    font-size: x-small;
    cursor: pointer;
    color: rgb(176, 4, 0);
}

.ame-small-text {
    font-size: x-small;
    color: rgb(176, 4, 0);
}

.ame-form-field-error, .ame-field-alert {
    font-size: small;
    color: #F44336;
}

.ame-form-field-label-error {
    color: #F44336;
}

/*
    NAV
*/
.ame-nav-container {
    height: 100%;
}

.ame-nav-header {
    display: none;
    position: fixed;
    width: 100%;
    z-index: 997;
}

.ame-toolbar {
    background-color: rgb(176, 4, 0) !important;
}

.ame-side-nav-logo-container {
    padding-top: 2rem;
    background-color: #fff;
    padding-bottom: 2rem;
}

.ame-side-nav-logo {
    display: block;
    background-image: url('../images/Airports_Made_Easy_Logo_Nav.png');
    background-repeat: no-repeat;
    width: 250px;
    height: 77px;
    margin-left: auto;
    margin-right: auto;
}

.ame-side-nav-logo-container {
    padding-top: 2rem;
    background-color: #fff;
    padding-bottom: 2rem;
}

.ame-side-nav-partner-logo {
    display: block;
    background-image: url('../images/vasco_logo.png');
    background-repeat: no-repeat;
    width: 136px;
    height: 65px;
    margin-left: auto;
    margin-right: auto;
    background-color: #fff;
}

.ame-side-nav-partner-logo-container {
    position: absolute;
    width: 100%;
    bottom: 0;
    background-color: #fff;
    margin-left: auto;
    margin-right: auto;
    padding-top: 8px;
    padding-bottom: 8px;
}

.ame-sidebar-overlay {
    position: fixed;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    z-index: 998;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition-property: opacity;
    transition-duration: 0.6s;
    transition-timing-function: cubic-bezier(0.23, 1, 0.32, 1);
}

.ame-sidebar-overlay.ame-sidebar--shown {
    opacity: 1;
    pointer-events: auto;
}

.ame-sidebar {
    background-color: rgb(176, 4, 0);
    position: fixed;
    top: 0px;
    bottom: 0px;
    left: -260px;
    z-index: 999;
    width: 260px;
    border-right: 1px solid rgb(176, 4, 0);
    transition-property: box-shadow, transform;
    transition-duration: 0.6s;
    transition-timing-function: cubic-bezier(0.23, 1, 0.32, 1);
    overflow: auto;
}

.ame-sidebar.ame-sidebar--shown {
    transform: translateX(260px);
}

.ame-sidebar-menu {
}

.ame-sidebar-menu li > .btn {
    padding: .7rem;
    cursor: pointer;
    color: #fff;
    width: 100%;
}

.ame-sidebar-menu li > .btn:hover, .ame-sidebar-menu li > .btn:focus {
    background-color: rgb(223, 91, 87);
    color: #fff;
}

.ame-sidebar-menu li > .btn > i {
    -webkit-transition: -webkit-transform 0.5s; /* Safari */
    transition: transform 0.5s;
}

.ame-sidebar-menu li > .btn > i.active {
    -webkit-transform: rotate(180deg); /* Safari */
    transform: rotate(180deg);
}

.ame-sidebar-menu li.ame-sidebar-sub-options {
    line-height: 0px;
}

.ame-sidebar-menu li.ame-sidebar-sub-options > ul > li, .ame-sidebar-menu li.ame-sidebar-sub-options > ul > li > .btn {
    height: 0px;
    padding: 0;
    -webkit-transition: height 0.5s, padding 0.5s; /* Safari */
    transition: height 0.5s, padding 0.5s;
}

.ame-sidebar-menu li.ame-sidebar-sub-options.active > ul > li {
    height: 40px;
}

.ame-sidebar-menu li.ame-sidebar-sub-options.active > ul > li > .btn {
    padding-left: .7rem;
    padding-right: .7rem;
    padding-top: .2rem;
    padding-bottom: .2rem;
    height: 100%;
}

/*
    CARD
*/
.ame-card-header {
    color: rgb(176, 4, 0);
}

.ame-card-background {
    background-color: rgb(176, 4, 0);
}

.ame-card-background-header{
    color: #fff;
    text-align: center;
}

/*
    LOADING
*/
.ame-loading {
    display: none;
    position: absolute;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    z-index: 1099;
}

.ame-loading-show {
    display: block;
}

.ame-loading-hide {
    display: none;
}

.ame-loading-background {
    position: fixed;
    left: -300px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    background-color: #000000;
    opacity: 0.6;
    z-index: 1100;
}

.ame-loading-ring {
    display: block;
    position: fixed;
    background-size: 120px 120px;
    left: 50%;
    top: 50%;
    margin-left: -60px;
    margin-top: -60px;
    width: 120px;
    height: 120px;
    z-index: 1101;
}

.ame-loading-text {
    color: #aaa;
    font-size: 11px;
    font-style: italic;
}

.ame-form-subheader {
    padding-top: 32px;
    color: rgb(176, 4, 0);
}

.ame-data-table.data-table td {
    padding-top: 0;
    padding-bottom: 0;
}

.ame-data-table.data-table td div.lx-select.lx-select--default-style {
    padding-top: 8px;
}

.ame-data-table.data-table td div.lx-select.lx-select--default-style .lx-select-label {
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    -ms-transform: translateY(0px);
    -o-transform: translateY(0px);
    transform: translateY(0px);
}

.w-5 {
    width: 5%
}

.w-10 {
    width: 10%
}

.w-15 {
    width: 15%
}

.w-20 {
    width: 20%
}

.w-25 {
    width: 25%
}

.w-30 {
    width: 30%
}

.w-40 {
    width: 40%
}

.w-50 {
    width: 50%
}

.w-60 {
    width: 60%
}

.w-65 {
    width: 65%
}

.w-70 {
    width: 70%
}

.w-75 {
    width: 75%
}

/*
    BUTTON OVERRIDES
*/

.btn--raised.btn--primary {
    background-color: rgb(176, 4, 0);
}

.btn--flat.btn--primary {
    color: rgb(176, 4, 0);
}

.btn--flat.btn--primary:hover {
    background-color: rgb(223, 91, 87);
    color: #fff;
}

.btn--flat.btn--primary .ripple{
    background-color: rgb(176, 4, 0);
}

/*
    TEXT FIELD OVERRIDES
*/
.text-field--is-focus:not(.text-field--fixed-label) .text-field__label {
    color: rgb(176, 4, 0);
}

.text-field:not(.text-field--error):not(.text-field--valid):after {
    background-color: rgb(176, 4, 0);
}

.text-field:after {
    background-color: rgb(176, 4, 0);
}

.text-field--error:after {
    background-color: #F44336;
}

/*
    TAB OVERRIES
*/
.tabs--theme-light.tabs--color-primary .tabs__link:not(.tabs__link--is-disabled).tabs__link--is-active, .tabs--theme-light.tabs--color-primary .tabs__link:not(.tabs__link--is-disabled):hover {
    color: rgb(176, 4, 0);
}

.tabs--theme-dark.tabs--color-primary .tabs__links, .tabs--theme-light.tabs--color-primary .tabs__indicator, .tabs--theme-light.tabs--color-primary .tabs__link:not(.tabs__link--is-disabled) .ripple {
    background-color: rgb(176, 4, 0);
}

/*
    CHECKBOX OVERRIDES
*/
.data-table.data-table--thumbnail .data-table__selectable-row--is-selected td:nth-child(2):before, .data-table.data-table--thumbnail .data-table__selectable-row--is-selected th:nth-child(2):before, .data-table:not(.data-table--thumbnail) .data-table__selectable-row--is-selected td:first-child:before, .data-table:not(.data-table--thumbnail) .data-table__selectable-row--is-selected th:first-child:before {
    color: rgb(176, 4, 0);
}

.checkbox--accent .checkbox__input:checked + .checkbox__label:before {
    color: rgb(176, 4, 0);
}

.checkbox__input:checked + .checkbox__label:before {
    content: "\F132";
    color: rgb(176, 4, 0);
}
/*
    DATEPICKER OVERRIDES
*/
.lx-date-picker--primary .lx-date-picker__header {
    background-color: rgb(176, 4, 0);
}

.lx-date-picker--primary .lx-date-picker__day a:hover, .lx-date-picker--primary .lx-date-picker__day--is-selected a {
    background-color: rgb(176, 4, 0);
}

.lx-date-picker--primary .lx-date-picker__day--is-today a {
    color: rgb(176, 4, 0);
}

.lx-date-picker--primary .lx-date-picker__day--is-today a:hover {
    color: #fff;
}

.lx-date-picker--primary .lx-date-picker__year--is-active, .lx-date-picker--primary .lx-date-picker__year:hover {
    color: rgb(176, 4, 0);
}

/*
    FLEX OVERRIDES
*/

@media screen and (max-width: 1023px) {
    [flex-gutter="24"] > [flex-item]{
        margin-bottom: 0;
    }
}

/*
    STEPPER OVERRIDES
*/
.lx-step-nav--is-active .lx-step-nav__indicator.lx-step-nav__indicator--icon, .lx-step-nav--is-active .lx-step-nav__indicator.lx-step-nav__indicator--index, .lx-step-nav--is-valid .lx-step-nav__indicator.lx-step-nav__indicator--icon, .lx-step-nav--is-valid .lx-step-nav__indicator.lx-step-nav__indicator--index {
    background-color: rgb(176, 4, 0);
}

.progress-container--circular.progress-container--primary .progress-circular__path {
    stroke: rgb(176, 4, 0);
}

@media (max-width: 1000px) {
    .ame-content {
        margin-left: 1rem;
        margin-right: 1rem;
        padding-top: 66px;
    }

    .ame-nav-header {
        display: block;
        background-color: rgb(176, 4, 0);
        color: #fff;
    }
}

@media (min-width: 1001px) {
    .ame-sidebar {
        left: 0px;
    }
}