﻿/*
    LIVE 'BLUE' - #0c2f80; HOVER - #3D5A9E
    SANDBOX 'ORANGE' - #fca800; HOVER - #FFCB63
*/

html, body{
    width: 100%;
    height: 100%;
}

body{
    font-family: "Segoe UI",Arial,Helvetica,sans-serif;
}

label{
    font-weight: normal;
}

td {
    overflow-wrap: break-word;
}

.disabled {
    cursor: not-allowed;
}

.ace-small-text{
    font-size: 0.7rem;
}

.ace-nav-logo{
    font-size:1.5rem;
    color: white;
    padding-right: 1rem;
}

.ace-content{
    padding-top: 1rem;
    left: 0px;
    right: 0px;
    width: 100%;
}

.ace-loading{
    background: url('../img/icons/loading.gif') no-repeat center left;
    height: 16px;
    width: 16px;
    vertical-align: bottom;
    display: inline-block;
}

.ace-menu-item{
    cursor: pointer;
}

.ace-error-message{
    color: red;
}

.ace-heading{
    font-size: 1.1rem;
    padding-bottom: 1.5rem;
}

.ace-centre{
    text-align: center;
}

.allow-scroll{
    overflow: visible !important;
}

.ace-padding-bottom{
    padding-bottom: 1rem;
}

.ace-input-height {
    min-height: 2.4rem;
    margin-bottom: 1rem;
}

.ace-bold{
    font-weight: bold !important;
}

.ace-white-space-wrap{
    white-space: pre-wrap;
}

.ace-uppercase {
    text-transform: uppercase;
}

.photo-upload-file-label {
    cursor: pointer;
    background-color: #0c2f80;
    color: #fff;
    text-align: center;
    font-size: 0.9rem;
    line-height: 1;
    margin-bottom: 1rem;
    vertical-align: middle;
    padding: 0.85em 1em;
}

.photo-upload-file-input {
    visibility: hidden;
    display: none;
}

/*
    LOADING
*/
.loading {
    display: none;
    position: absolute;
    left: 0px;
    top: 0px;
    z-index: 999;
}

.loading-background {
    position: fixed;
    left: -300px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    background-color: #000000;
    opacity: 0.6;
    z-index: 1000;
}

.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: 1001;
}

.ace-icon {
    padding-left: 1rem;
    font-size: 16px;
    color: #F04124;
}

.ace-icon:hover, .ace-icon:focus {
    color: #dc2c0f;
}

/*
    OVERRIDES
*/
 .grid-content p{
     height: 2.4rem;
 }

a {
    color: #396FEC;
}

.button{
    background-color: #0c2f80;
}

.button:hover, .button:focus{
    background-color: #3D5A9E;
}

.btn-today {
    color: #0c2f80 !important;
    background-color: #fff !important;
    border: 2px solid #0c2f80 !important;
}

.btn-today:hover {
    color: #0c2f80 !important;
    background-color: #0c2f80 !important;
    border: 2px solid #0c2f80 !important;
}

.btn-primary {
    color: #fff !important;
    background-color: #0c2f80 !important;
    border: 2px solid #0c2f80 !important;
}

.btn-muted{
    display: none;
}

.button.hollow:hover, .button.hollow:focus {
    border-color: #3D5A9E;
    background-color: #3D5A9E;
    color: #fff;
}

.accordion-title {
    background-color: #0c2f80;
    color: #fff;
}

.accordion-title:hover, .accordion-title:focus{
    background-color: #3D5A9E;
}

.is-active > .accordion-title {
    background-color: #0c2f80;
    color: #fff; 
}

.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
    background-color: #0c2f80;
    color: #fff;
}

.nav > li > a:hover, .nav > li > a:focus{
    background-color: #3D5A9E;
    color: #fff;
}

.dropdown-btn{
    color: #0c2f80;
}

.dropdown-btn:hover, .dropdown-btn:focus{
    background-color: #0c2f80;
    color: #fff;
}

.datepicker-labels{
    color: #0c2f80;
}

.datepicker {
    z-index: 100000!important;
}

button[disabled], html input[disabled] {
    cursor: not-allowed;
}

.small-up-1 > li, .small-up-1 > div, .small-up-1 > section {
    padding: 0 0 0 1rem !important;
}

/*
    MENU CLASSES
*/
.ace-mobile-menu {
    background-color: #0c2f80;
    position: fixed;
    top: 0;
    width: 100%;
    height: 58px;
    padding-top: 15px;
    padding-left: 10px;
    z-index: 1000;
}
.ace-mobile-menu .ace-menu-logo img {
    height: 28px;
    display: block;
}
.ace-menu {
    background-color: #0c2f80;
    position: fixed;
    width: 100vw;
    z-index: 999;
    top: 58px;
    left: -100vw;
    transition-property: box-shadow, transform;
    transition-duration: 0.6s;
    transition-timing-function: cubic-bezier(0.23, 1, 0.32, 1);
    overflow: auto;
}
.ace-menu--shown {
    transform: translateX(100vw);
}
.ace-menu ul{
    display: block;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    list-style: none;
    width: 100%;
}
.ace-menu .ace-menu-logo img {
    height: 28px;
    display: none;
}
.ace-menu li{
    display: block;
    width: 100%;
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.ace-menu a{
    color: #ffffff;
}
.ace-menu span{
    font-size: 40px;
}
.ace-menu li.ace-menu-new-window-icon {
    display: none;
}
.ace-content {
    margin-top: 4rem;
}
.ace-menu li hr{
    margin: 0;
}
.ace-menu li.ace-menu-item-no-padding{
    padding: 0;
}
.ace-menu span.ace-small-glyphicon{
    font-size: 10px;
}

@media only screen and (min-width: 640px) and (max-height: 800px) {
    .ace-menu {
        width: 260px;
    }

    .fa-2x {
        font-size: 1.3em !important;
    }
}

@media only screen and (min-width: 640px) {
    .ace-mobile-menu {
        display: none;
    }

    .ace-menu {
        background-color: #0c2f80;
        width: 4rem;
        position: fixed;
        height: 100%;
        left: 0;
        display: block;
        top: 0px;
    }

    .ace-menu .ace-menu-logo img {
        display: initial;
    }

    .ace-menu ul {
        display: list-item;
        margin-left: 0.5rem;
        margin-right: 0.5rem;
        list-style: none;
        width: auto;
    }

    .ace-menu li {
        display: list-item;
        padding-top: 1rem;
        padding-bottom: 0;
    }

    .ace-content {
        margin-top: 0rem;
        margin-left: 4rem;
        width: auto;
    }

    .ace-menu li.ace-menu-new-window-icon {
        display: block;
    }
}

/*
    TAB CLASSES
*/
.ace-tabs:nth-child(2){
    border-left: 1px solid white;
}

.ace-tab{
    border-right: 1px solid white;
}

/*
    GRID CLASSES
*/
.ace-grid-container{
    padding-left: 1rem;
    padding-right: 1rem;
}

.ace-grid-modal-container{
    max-height: 400px;
    overflow-y: scroll;
}

.ace-grid{
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 5px;
}

.ace-grid-border{
    border: 1px solid black;
}

.ace-grid-small-text{
    font-size: 13px;
}

.ace-grid th {
    background-color: #0c2f80;
    color: #fff;
    text-align: left;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border-left: 1px solid black;
    border-right: 1px solid black;
    max-width: 150px;
}

.ace-grid td {
    border-left: 0px;
    border-right: 0px;
    text-align: left;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    max-width: 150px;
}

.ace-grid-td-width-150 {
    width: 150px;
    min-width: 150px;
}

.ace-grid-td-width-300 {
    max-width: 300px !important;
    width: 300px !important;
}

.ace-grid td input[type=checkbox]{
    height: 1rem;
    margin-bottom: 0;
}

.ace-grid-button-column-header{
    width: 70px;
    text-align: center !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.ace-grid-button-column{
    padding: 0;
    min-width: 50px;
    max-width: 50px;
    text-align: center;
}

.ace-grid-button-column a{
    display: table;
    padding: 0;
    width: 100%;
    text-align: center;
}

.ace-grid tr:nth-child(odd){
    background-color: #ffffff;
}

.ace-grid tr:nth-child(even){
    background-color: #f3f3f3;
}

.ace-grid th a{
    color: inherit;
    text-decoration: underline;
}

.ace-grid-content-right{
    text-align: right;
}

.ace-grid tbody tr td a i{
    font-size: 24px;
    color: #222;
}

.ace-grid-text-with-button {
    line-height: 1 !important;
    padding-top: 0.85em !important;
    padding-bottom: 0.85em !important;
}

.ace-photo-grid {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 5px;
}

.ace-photo-grid tbody tr td a i {
    font-size: 24px;
    color: #222;
}

.ace-photo-grid td{
    border: 1px solid #dddddd;
    padding: 20px;
}

.ace-button-no-margin {
    margin: 0 !important;
}
/*
    CONTENT NAVIGATION LINKS
*/
.ace-content-navigation-links {
    padding-bottom: 1rem;
}

/*
    FORM CLASSES
*/
@media only screen and (min-width: 1000px) {
    .ace-form-container {
        max-width: 800px;
        margin-left: calc(50% - 400px);
        margin-left: -moz-calc:calc(50% - 400px);
        margin-left: -webkit-calc:calc(50% - 400px);
    }
}

@media only screen and (min-width: 1800px) {
    .ace-consignment-form-container {
        max-width: 1750px;
        margin-left: calc(50% - 875px);
        margin-left: -moz-calc:calc(50% - 875px);
        margin-left: -webkit-calc:calc(50% - 875px);
    }
}

.did-floating-label-content > input + label,
.did-floating-label-content > input + label,
.did-floating-label-content > select + label,
.did-floating-label-content > select + label {
    color: #1e4c82;
    position: absolute;
    pointer-events: none;
    left: 18px;
    top: 8px;
    width: 80%;
    padding: 0 5px;
    background: #fff;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
    z-index: 100;
}
.did-floating-label-content > input, .did-floating-label-content > select, did-floating-label-content > textarea {
    display: block;
    background: #fff;
    color: #323840;
}

.did-floating-label-content > input:focus + label, 
.did-floating-label-content > input:active + label, 
.did-floating-label-content > select:focus + label, 
.did-floating-label-content > select:active + label {
    top: -4px;
    width: auto;
    font-size: 10px;
}

.ace-form-container{
    
}

.ace-form{
    width: 100%;
}

.ace-readonly-input{
    cursor: not-allowed;
}

.ace-form input[type="checkbox"]{
    height: 2.4rem;
    margin-bottom: 1rem;
}

.ace-form-checkbox {
    height: 2.4rem !important;
    margin-bottom: 1rem;
}

.ace-form textarea{
    resize: vertical;
}

.ace-form-has-error label{
    color: #ff0000;
}

.ace-form-has-error input, .ace-form-has-error select {
    border-color: #ff0000;
}

.ace-form-has-error input:focus, .ace-form-has-error select:focus{
    border-color: #ff0000;
}

.ace-form-has-error input:hover, ace-form-has-error select:hover{
    border-color: #ff0000;
}

.ace-form-has-error-message{
    color: #ff0000;
    padding-bottom: 1rem;
}

.ace-form-readonly{
    display: block;
    height: 2.4rem;
    margin: 0 0 1rem;
}

.ace-button-block{
    padding-top: 1rem;
}

.ace-padding-right{
    padding-right: 1rem;
}

.ace-form-input-no-height {
    height: 1rem !important;
}

.ace-form-ip-address{
    margin: 0 2px 0 2px !important;
    display: inline !important;
    width: 80px !important;
}

/*@media only screen and (min-width: 321px){
    .ace-form input[type="text"], 
    .ace-form input[type="password"], 
    .ace-form input[type="date"], 
    .ace-form input[type="datetime"], 
    .ace-form input[type="datetime-local"], 
    .ace-form input[type="month"], 
    .ace-form input[type="week"], 
    .ace-form input[type="email"], 
    .ace-form input[type="number"], 
    .ace-form input[type="search"], 
    .ace-form input[type="tel"], 
    .ace-form input[type="time"], 
    .ace-form input[type="url"], 
    .ace-form input[type="color"], 
    .ace-form input[type="range"], 
    .ace-form textarea, 
    .ace-form select{
        min-width: 20rem;
    }

}*/

.ace-form-consignment-address-list-datetime{
    width: 40px !important;
}

.ace-inline-radio-button-container{
    margin-right: 1rem;
}

.ace-inline-radio-button-container > input[type="radio"]{
    margin-right: 1rem;
}

.ace-form-money-input{
    min-width: 5rem !important;
}

.ace-form-money-currency-input {
    display: inline-block !important;
    width: calc(100% - 60px) !important;
    margin-left: 0px;
}

.ace-form-money-currency-select{
    display: inline-block;
    width: 60px;
    margin-right: 0px;
    vertical-align: middle;
}

/*
    NG-STRAP SELECT
*/
.ace-select {
    width: 100%;
    border-radius: 0;
    font-size: 1rem;
    height: 2.4rem;
}

.ace-select-menu{
    width: 100%;
}

/*
    MAP CLASSES
*/
.ace-map-canvas{
    height: 500px;
    margin: 0;
    padding: 0;
}

.ace-max-height{
    height: 100%;
}

/*
    MODAL CLASSES
*/
ace\.shared\.modal {
    /* modals are hidden by default */
    display: none;
}

.ace-modal-small {
    width: 200px !important;
    max-width: 200px !important;
}
.ace-modal-large {
    width: 1100px !important;
    max-width: 1100px !important;
}
.ace-modal-xlarge {
    width: 1400px !important;
    max-width: 1400px !important;
}
.ace-modal-xxlarge {
    width: 90vw !important;
    max-width: 90vw !important;
}
.ace-modal-container {
    /* modal container fixed across whole screen */
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    /* z-index must be higher than .modal-background */
    z-index: 99999;
    /* enables scrolling for tall modals */
    overflow: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.ace-modal-background {
    /* modal background fixed across whole screen */
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    /* semi-transparent black  */
    background-color: #000;
    opacity: 0.75;
    /* z-index must be below .modal and above everything else  */
    z-index: 99990;
}
.ace-modal-body {
    padding: 20px;
    background: #fff;
    /*max-width: 600px;*/
    border-radius: 0px;
    /* margin exposes part of the modal background */
    -webkit-flex: 0 0 auto;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: 100%;
    height: 100vh;
    max-height: 100%;
    overflow: hidden;
    padding: 1rem;
    margin: auto;
}

@media only screen and (min-width: 40em) {
    .ace-modal-body {
        height: auto;
        max-width: 600px;
    }
}

.modal {
    position: relative;
    z-index: 1001;
    background: #fff;
    -webkit-flex: 0 0 auto;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: 100%;
    /*height: 100vh;*/
    max-height: 100%;
    overflow: hidden;
    padding: 1rem;
}

.ace-close-button {
    /*display: inherit;*/
    color: #999;
    top: 1rem;
    right: 1rem;
    font-size: 2em;
    line-height: 0.5;
    cursor: pointer;
    text-align: right;
    float: right;
}

body.modal-open {
    /* body overflow is hidden to hide main scrollbar when modal window is open */
    overflow: hidden;
}

/*
    REPORT IFRAME CLASSES
*/
.report-iframe {
    width: 100%;
    height: 650px;
    border: 0px;
}