/* Base styles */
.freeze-pane::-webkit-scrollbar,.freeze-top::-webkit-scrollbar,.freeze-round::-webkit-scrollbar {
    height: 7px;
    width: 7px;
}

.freeze-pane::-webkit-scrollbar-track,.freeze-top::-webkit-scrollbar-track,.freeze-round::-webkit-scrollbar-track {
    background-color: #f0f0f0;
}

.freeze-pane::-webkit-scrollbar-thumb,.freeze-top::-webkit-scrollbar-thumb,.freeze-round::-webkit-scrollbar-thumb {
    box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.3);
    background-color: #cdcdcd;
}

*,
*:after,
*:before {
    box-sizing: border-box;
}

html {
    font-size: 100%;
    line-height: 1.5;
    height: 100%;
}

input:-webkit-autofill {
    color: #2a2a2a !important;
}

body {
    position: relative;
    margin: 0;
    font-family: 'Work Sans', Arial, Helvetica, sans-serif;
    min-height: 100%;
    background: linear-gradient(to bottom, #d4d9dd 0%, #d9d9d9 100%);
    color: #777;
}

img {
    vertical-align: middle;
    max-width: 100%;
}

button {
    cursor: pointer;
    border: 0;
    padding: 0;
    background-color: transparent;
}

.pointer {
    cursor: pointer;
}

/* innerContainer */
.innerContainer {
    position: absolute;
    background: #fff;
    padding: 10px;
    width: 30em;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* Profile Card */
.profile {
    position: relative;
}

.profile--open {}

.profile--open .profile__form {
    visibility: visible;
    height: auto;
    opacity: 1;
    transform: translateY(-11em);
    padding-top: 11em;
}

.profile--open .profile__fields {
    opacity: 1;
    visibility: visible;
}

.profile--open .profile__avatar {
    transform: translate(-50%, -1.5em);
    font-size: 1.5em;
}

.profile__form {
    position: relative;
    background: white;
    visibility: hidden;
    opacity: 0;
    height: 0;
    padding: 2em;
    border-radius: .25em;
    -webkit-filter: drop-shadow(0 0 2em rgba(0, 0, 0, 0.2));
    transition:
        opacity .4s ease-in-out,
        height .4s ease-in-out,
        transform .4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        padding .4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.profile__fields {
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.profile__avatar {
    position: absolute;
    z-index: 1;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
    width: 8.5em;
    height: 1.5em;
    display: block;
    transition: transform .3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    will-change: transform;
}

.profile__avatar:focus {
    outline: 0;
}


/* Form */
.form-group {
    margin-bottom: 0px;
}

.field {
    position: relative;
    margin-bottom: 2em;
}

.label {
    position: absolute;
    height: 2rem;
    line-height: 2rem;
    bottom: 0;
    color: #999;
    transition: all .3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.input {
    width: 100%;
    font-size: 100%;
    border: 0;
    padding: 0;
    background-color: transparent;
    height: 2rem;
    line-height: 2rem;
    border-bottom: 1px solid #eee;
    color: #777;
    transition: all .2s ease-in;
}

.input:focus {
    outline: 0;
    border-color: #ccc;
}

/* Using required and a faux pattern to see if input has text from http://stackoverflow.com/questions/16952526/detect-if-an-input-has-text-in-it-using-css */
.input:focus+.label,
input:valid+.label {
    transform: translateY(-100%);
    font-size: 0.75rem;
    color: #ccc;
}

/* Button */
.btn {
    border: 0;
    font-size: 0.75rem;
    height: 2.5rem;
    line-height: 2.5rem;
    padding: 0 12px;
    color: white;
    background: #4caf50;
    text-transform: uppercase;
    border-radius: .25rem;
    letter-spacing: .2em;
    transition: background .2s;
}

.btn:focus {
    outline: 0;
}

.parsley-errors-list li {
    position: absolute;
}

/*modal style*/
.modal {
    position: fixed;
    padding-top: 0px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

.modal-header {
    padding: 1px 16px 0px 16px;
    background-color: #172a3a;
    color: white;
    line-height: 40px;
    position: fixed;
    width: 98.9vw;
    z-index: 2;
}

.modal-form-footer {
    position: sticky;
    bottom: 0;
    left: 0px;
    z-index: 2;
    background: white;

}

.modal-header .close {
    margin-top: auto;
    line-height: 2em;
}

.modal-body {
    padding: 2px 16px;
    padding-top: 75px!important;
}

.exception-report-header h5, .exception-report-header .close {
    display: inline-block;
}

exception-report-header .close {
    color: #FFFFFF;
}

/* user actions drop down */
.user-header {
    text-align: center;
    padding: 10px;
}

#userDP {
    max-width: 200px;
    max-height: 150px;
}

/* Sidebar */
.selected-tab {
    background-color: #4c4c4c !important;
    color: #fff !important;
    border-radius: 0em !important;
}

.para-new {
    color: #fff;
}

.panel-title img {
    vertical-align: top;
}

.searchForm .form-control {
    max-width: 250px;
}

.file-loading label {
    background: #c5392a;
    color: #fff;
    border-radius: 4px;
    padding: 0.5rem 0.5rem;
    font-size: 1em;
}

#uploadMISFilesContainer p {
    word-break: break-all;
}

.allocation_table tr td:first-child,
.allocation_table tr th:first-child {
    min-width: 450px;
}

.allocation_table tr td:first-child select, 
.allocation_table tr td:first-child input {
    max-width: 350px
}

.allocation_table tr td:not(first-child),
.allocation_table tr th:not(first-child) {
    max-width: 100px;
}
.allocation_table tr td input[type=text] {
    max-width: 80px;
}

.approxPricingVal {
    color: #c5392a; 
}

.noBorder {
    border: none;
}

.bottomBorder {
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: inherit;
}

.allocationBox {
    margin: 5px;
}

.removeLink {
    padding: 5px;
    color: #c5392a
}

.allocation-warning {
    color: #c5392a;
}

/* Smartphones (portrait and landscape) ----------- */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
    /* innerContainer */
    .innerContainer {
        width: 100%;
    }

    /* Modal Content */
    .modal-content {
        width: 100%;
    }
}

.parsley-errors-list li {
    color: #fd5e60;
    font-size: smaller
}

.datepicker .active {
    font-weight: bold
}

.no-padding {
    padding: 0px;
}

.mt-3 {
    margin-top: 3ex;
}