/* Add by FM */
#div_loading {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 20000;
    opacity: .75;
    text-align: center;
}

#div_loading > img {
    margin-top: 100px;
}

#top .dropdown-menu .right-details div:last-child {
    border-top: 1px solid #ddd;
}

.table.table-invoice tr .name, .table.table-invoice tr .text {
    text-align: left;
}

.table.table-invoice tr .total, .table.table-invoice tr .number {
    text-align: right;
}

.table.table-invoice tr .total, .table.table-invoice tr.invalid {

}

button.removeline {
    padding: 0;
    cursor: pointer;
    background: transparent;
    border: 0;
    -webkit-appearance: none
}

.removeline {
    float: left;
    font-size: 20px;
    font-weight: bold;
    line-height: 16px;
    margin-right: 10px;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .2;
    filter: alpha(opacity=20)
}

.removeline:hover, .removeline:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
    opacity: .4;
    filter: alpha(opacity=40)
}

.quick-thin {
    margin: 0 10px 10px 0;
    list-style-type: none;
}

.quick-thin .button {
    display: inline-block;
    margin: 10px 20px 0 0;
}

.quick-thin .btn {
    display: inline-block;
    margin: 10px 0 0 0;
}

.quick-thin li:last-child {
    margin-right: 0;
}

.quick-thin > li > a {
    font-size: 12px;
    color: #555;
    padding: 8px 18px;
    border: 1px solid #bbb;
    display: block;
    text-align: center;
    text-decoration: none;
    -webkit-box-shadow: #fff 0 1px 0 inset, #fff 0 1px 0;
    -moz-box-shadow: #fff 0 1px 0 inset, #fff 0 1px 0;
    box-shadow: #fff 0 1px 0 inset, #fff 0 1px 0;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #f6f6f6), color-stop(100%, #e6e6e6));
    background: -webkit-linear-gradient(#f6f6f6, #e6e6e6);
    background: -moz-linear-gradient(#f6f6f6, #e6e6e6);
    background: -o-linear-gradient(#f6f6f6, #e6e6e6);
    background: linear-gradient(#f6f6f6, #e6e6e6);
}

.quick-thin > li > a > img {
    width: 32px;
    height: 32px;
    margin: 0 auto;
}

.quick-thin > li > a > span {
    margin-top: 5px;
    display: block;
}

.quick-thin > li > a:hover, .quick-thin > li > input:hover {
    background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffffff), color-stop(100%, #eeeeee));
    background: -webkit-linear-gradient(#ffffff, #eeeeee);
    background: -moz-linear-gradient(#ffffff, #eeeeee);
    background: -o-linear-gradient(#ffffff, #eeeeee);
    background: linear-gradient(#ffffff, #eeeeee);
    -webkit-box-shadow: #f6f6f6 0 1px inset, #fff 0 1px 0;
    -moz-box-shadow: #f6f6f6 0 1px inset, #fff 0 1px 0;
    box-shadow: #f6f6f6 0 1px inset, #fff 0 1px 0;
    border-color: #aaa;
}

.quick-thin .dropdown-menu {
    margin: 5px 0;
}

.quick-thin .dropdown-menu > li {
    margin: 0;
}

.quick-thin .dropdown-menu > li:first-child {
    margin-top: 5px;
}

.quick-thin .dropdown-menu > li:last-child {
    margin-bottom: 5px;
}

.quick-thin .dropdown-menu > li > a {
    border-radius: 0;
    padding: 3px 10px;
    text-align: left;
}

tr.row_selected > td, tr.row_selected > td > a {
    font-weight: bold;
    background: #575757 !important;
    color: #ffffff;
}

td.right, th.right {
    text-align: right !important;
}

td.left, th.left {
    text-align: left !important;
}

td.center, th.center {
    text-align: center !important;
}

div.menu-item {
    display: inline-block;
    margin: 0 20px 20px 0;
    width: 160px;
    height: 180px;
    text-align: center;
    vertical-align: top;

    /*font-size: 12px;*/
    color: #555;
    padding: 8px 18px;
    border: 1px solid #bbb;
    text-align: center;
    text-decoration: none;
    -webkit-box-shadow: #fff 0 1px 0 inset, #fff 0 1px 0;
    -moz-box-shadow: #fff 0 1px 0 inset, #fff 0 1px 0;
    box-shadow: #fff 0 1px 0 inset, #fff 0 1px 0;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #f6f6f6), color-stop(100%, #e6e6e6));
    background: -webkit-linear-gradient(#f6f6f6, #e6e6e6);
    background: -moz-linear-gradient(#f6f6f6, #e6e6e6);
    background: -o-linear-gradient(#f6f6f6, #e6e6e6);
    background: linear-gradient(#f6f6f6, #e6e6e6);
}

div.menu-item:hover {
    background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffffff), color-stop(100%, #eeeeee));
    background: -webkit-linear-gradient(#ffffff, #eeeeee);
    background: -moz-linear-gradient(#ffffff, #eeeeee);
    background: -o-linear-gradient(#ffffff, #eeeeee);
    background: linear-gradient(#ffffff, #eeeeee);
    -webkit-box-shadow: #f6f6f6 0 1px inset, #fff 0 1px 0;
    -moz-box-shadow: #f6f6f6 0 1px inset, #fff 0 1px 0;
    box-shadow: #f6f6f6 0 1px inset, #fff 0 1px 0;
    border-color: #aaa;
}

div.menu-item > a {
    text-decoration: none;
    position: relative;
}

div.menu-item > a > img {
    position: relative;
    top: 20px;
    /*left: -30px;*/
}

div.form {
    min-height: 400px;
}

.dropdown-menu ul li p {
    padding-right: 8px;
}

#footer {
    z-index: 10000;
}

ul.quick li a i, ul.quick-thin a i {
    vertical-align: text-bottom !important;
}

div.popover-content div {
    width: 400px;
}

div.popover-content div.right {
    text-align: right;
}

div.popover-content div label {
    text-align: left;
    font-weight: bold;
    width: 40%;
    display: inline-block;
    border-right: 1px solid #cccccc;
    margin-right: 5px;
    margin-bottom: 0;
}

div.popover-content div span {
    text-align: right;
    width: 50%;
    display: inline-block;
}

.popover {
    max-width: none !important;
}

.cbp-spmenu {
    z-index: 1050;
}

.taxes p {
    margin: 0 0 2px;
}

.dataTables_processing {
    float: left;
    margin: 15px 10px 5px 10px;
}

.dataTables_processing span {
    color: #666;
    font-size: 12px;
    margin-right: 5px;
}

.dataTables_processing input {
    margin: 0;
}

.ui-autocomplete-loading {
    background: white url('../images/loading_24.gif') right center no-repeat;
}

.quick_create {
    color: white;
}

.quick_buttons {
    border-top: 1px solid white;
    text-align: right;
}

.login-body .login-wrap .login .company, .login-body .login-wrap .login .document {
    position: relative;
}

.login-body .login-wrap .login .company:before, .login-body .login-wrap .login .document:before {
    content: "\f015";
    font-family: FontAwesome;
    position: absolute;
    top: 5px;
    left: 10px;
    color: #666;
    font-size: 14px;
}

.login-body .login-wrap .login .company input, .login-body .login-wrap .login .document input {
    padding-left: 30px;
    border: 1px solid #000 !important;
    -webkit-box-shadow: rgba(0, 0, 0, 0.6) 0 1px 2px inset, rgba(0, 0, 0, 0.4) 0 1px 3px;
    -moz-box-shadow: rgba(0, 0, 0, 0.6) 0 1px 2px inset, rgba(0, 0, 0, 0.4) 0 1px 3px;
    box-shadow: rgba(0, 0, 0, 0.6) 0 1px 2px inset, rgba(0, 0, 0, 0.4) 0 1px 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    font-size: 14px;
}

.login-body .login-wrap .login .document:before {
    content: "\f0f6";
    left: 10px;
}

.snippet code {
    display: block;
}

.snippet code.error {
    color: red;
}

.enroll-wrap {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -370px -500px;
    width: 1000px;
    text-align: center;
}

.enroll {
    background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #2c2f36), color-stop(100%, #202328));
    background: -webkit-linear-gradient(#2c2f36, #202328);
    background: -moz-linear-gradient(#2c2f36, #202328);
    background: -o-linear-gradient(#2c2f36, #202328);
    background: linear-gradient(#2c2f36, #202328);
    padding: 20px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    -webkit-box-shadow: rgba(0, 0, 0, 0.3) 0 2px 4px, #444 0 1px 0 inset;
    -moz-box-shadow: rgba(0, 0, 0, 0.3) 0 2px 4px, #444 0 1px 0 inset;
    box-shadow: rgba(0, 0, 0, 0.3) 0 2px 4px, #444 0 1px 0 inset;
}

.enroll-form {
    text-align: left;
}

.enroll .input-icon {
    position: relative;
}

.enroll .input-icon:before {
    font-family: FontAwesome;
    position: absolute;
    top: 5px;
    left: 13px;
    color: #666;
    font-size: 14px;
}

.enroll .username:before {
    content: "\f007";
}

.enroll .password:before {
    content: "\f023";
}

.enroll .email:before {
    content: "\f003";
}

.enroll .company:before {
    content: "\f0f7";
}

.enroll .find:before {
    content: "\f002";
}

.enroll .file:before {
    content: "\f016";
}

.enroll .input-icon input {
    padding-left: 30px;
    border: 1px solid #000 !important;
    -webkit-box-shadow: rgba(0, 0, 0, 0.6) 0 1px 2px inset, rgba(0, 0, 0, 0.4) 0 1px 3px;
    -moz-box-shadow: rgba(0, 0, 0, 0.6) 0 1px 2px inset, rgba(0, 0, 0, 0.4) 0 1px 3px;
    box-shadow: rgba(0, 0, 0, 0.6) 0 1px 2px inset, rgba(0, 0, 0, 0.4) 0 1px 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    font-size: 14px;
}

.enroll button {
    padding: 5px 10px;
    margin: 0;
}

.enroll a {
    color: #ffffff;
    font-size: 9pt;
}

.enroll a:hover {
    color: #ffffff;
}

#fleeting {
    background: #484848;
    border-color: #32353d;
    position: fixed;
    top: 50px;
    left: 50%;
    margin-left: -300px;
    width: 600px;
    min-height: 50px;
    z-index: 100;

    border-radius: 5px;

    box-shadow: rgba(0, 0, 0, 0.6) 10px 10px 5px;

    padding: 5px 10px;
}

#fleeting h4 {
    color: #ffffff;
}

#fleeting p {
    color: #ffffff;
    margin-top: 5px;
}

.ui-datepicker {
    z-index: 100001 !important;
}

.no-selectable {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}