/* Base styles */


*,
*: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: 45%;
}

/*removeProfilePic*/
#removeProfilePic{
    background-color: #1e8864;
    color: #fff;
    padding: 5px 8px;
    margin-top:3vh;
    margin-left:1vh;

}

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%);
}
/*collopse font*/
.fa-2x {
    font-size: 1.5em;
}

 

.nav-pills > li > a {
    border-radius: 0;
 }
 
 #wrapper {
    padding-left: 0;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    overflow: hidden;
 }
 
 #wrapper.toggled {
    padding-left: 250px;
    overflow: hidden;
 }
 
 #sidebar-wrapper {
    z-index: 1000;
    position: absolute;
    left: 250px;
    width: 0;
    height: 100%;
    margin-left: -250px;
    overflow-y: auto;
    background: #000;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
 }
 
 #wrapper.toggled #sidebar-wrapper {
    width: 250px;
 }
 
 #page-content-wrapper {
    position: absolute;
    padding: 15px;
    width: 100%;
    overflow-x: hidden;
 }
 
 .xyz {
    min-width: 360px;
 }
 
 #wrapper.toggled #page-content-wrapper {
    position: relative;
    margin-right: 0px;
 }
 
 .fixed-brand {
    width: auto;
 }
 /* Sidebar Styles */
 
 .sidebar-nav {
    position: absolute;
    top: 0;
    width: 250px;
    margin: 0;
    padding: 0;
    list-style: none;
    margin-top: 2px;
 }
 
 .sidebar-nav li {
    text-indent: 15px;
    line-height: 40px;
 }
 
 .sidebar-nav li a {
    display: block;
    text-decoration: none;
    color: #999999;
 }
 
 .sidebar-nav li a:hover {
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    border-left: red 2px solid;
 }
 
 .sidebar-nav li a:active,
 .sidebar-nav li a:focus {
    text-decoration: none;
 }
 
 .sidebar-nav > .sidebar-brand {
    height: 65px;
    font-size: 18px;
    line-height: 60px;
 }
 
 .sidebar-nav > .sidebar-brand a {
    color: #999999;
 }
 
 .sidebar-nav > .sidebar-brand a:hover {
    color: #fff;
    background: none;
 }
 
 .no-margin {
    margin: 0;
 }
 
 @media (min-width: 768px) {
    #wrapper {
       padding-left: 250px;
    }
    .fixed-brand {
       width: 250px;
    }
    #wrapper.toggled {
       padding-left: 0;
    }
    #sidebar-wrapper {
       width: 250px;
    }
    #wrapper.toggled #sidebar-wrapper {
       width: 250px;
    }
    #wrapper.toggled-2 #sidebar-wrapper {
       width: 50px;
    }
    #wrapper.toggled-2 #sidebar-wrapper:hover {
       width: 250px;
    }
    #page-content-wrapper {
       padding: 20px;
       position: relative;
       -webkit-transition: all 0.5s ease;
       -moz-transition: all 0.5s ease;
       -o-transition: all 0.5s ease;
       transition: all 0.5s ease;
    }
    #wrapper.toggled #page-content-wrapper {
       position: relative;
       margin-right: 0;
       padding-left: 250px;
    }
    #wrapper.toggled-2 #page-content-wrapper {
       position: relative;
       margin-right: 0;
       margin-left: -200px;
       -webkit-transition: all 0.5s ease;
       -moz-transition: all 0.5s ease;
       -o-transition: all 0.5s ease;
       transition: all 0.5s ease;
       width: auto;
    }
 }
 
/* 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: 30px;
}

.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 1.5rem;
    color: white;
    background: #1e8864;
    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: 100px;
    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;
    width: 70%;
    border-radius: 10px;
    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: #1e8864;
    color: white;
    line-height: 40px;
    border-radius: 10px 10px 0 0px;
}

.modal-header .close {
    margin-top: auto;
    line-height: 2em;
}

.modal-body {
    padding: 2px 16px;
}

/* 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: #1e8864;
    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: 400px;
}

.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%;
    }
}