﻿body {
}

input {
    box-sizing: unset;
}

.hide {
    display: none;
    width: 0;
    display: none;
    width: 0
}

#loader {
    position: relative;
    left: 50%;
    top: 50%;
    z-index: 2;
    width: 25px;
    height: 25px;
    margin: 3px 3px;
    border: 3px solid #f3f3f3;
    border-radius: 50%;
    border-top: 3px solid #3498db;
    -webkit-animation: spin 1s linear infinite;
    animation: spin 1s linear infinite;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.animate-bottom {
    position: relative;
    -webkit-animation-name: animatebottom;
    -webkit-animation-duration: 1s;
    animation-name: animatebottom;
    animation-duration: 1s
}

@-webkit-keyframes animatebottom {
    from {
        bottom: -100px;
        opacity: 0
    }

    to {
        bottom: 0px;
        opacity: 1
    }
}

@keyframes animatebottom {
    from {
        bottom: -100px;
        opacity: 0
    }

    to {
        bottom: 0;
        opacity: 1
    }
}

th.reload-table {
    border-color: #aaa !important;
    background-color: #eee !important;
    border-style: solid !important;
    border-width: 1px 0 0 !important;
}

fieldset.collapsible {
    padding: 5px !important;
}

fieldset legend {
    -webkit-box-sizing: content-box !important;
    box-sizing: content-box !important;
    padding: 7px 0 7px 9px !important;
}

legend.collapse-processed {
    -webkit-box-sizing: content-box !important;
    box-sizing: content-box !important;
}

.table-decorate-zebra tbody tr:nth-child(2n+1) {
    background: #f7f7f7;
}

.table-decorate-zebra tbody tr {
    background: #ffffff;
}

table.dataTable tbody tr.odd, .odd {
    background: #ffffff;
}

table.dataTable tbody tr.even, .even {
    background: #f7f7f7;
}

.dropdown-menu {
    z-index: 999999;
}

h2 {
    color: #003366;
    margin: 0 0 10px 0;
    font-size: 16.5px;
    font-family: arial,helvetica,sans-serif;
    font-weight: bold;
}

i {
    font-size: 12px;
}

    i.orange {
        color: #ff9d1a;
    }

    i.primary {
        color: #0275d8;
    }

    i.danger {
        color: brown;
    }

    i.glyphicon, i.fa {
        font-size: 14px;
    }

    i.icon-refresh {
        font-size: 14px;
        cursor: pointer;
    }

.table > tbody > tr > td > div > span {
    font-size: 11px;
}

    .table > tbody > tr > td > div > span > i.glyphicon-ok {
        width: 16px;
        height: 16px;
        display: inline-block;
        float: left;
        margin: 0 5px 0 5px;
        color: #8eb950;
        font-size: 14px
    }

    .table > tbody > tr > td > div > span > i.glyphicon-remove {
        width: 16px;
        height: 16px;
        display: inline-block;
        float: left;
        margin: 2px 5px 0 5px;
        color: #d54c4d;
        font-size: 14px
    }

.table > tbody > tr > td > div i.fa-exclamation-triangle {
    width: 16px;
    height: 16px;
    display: inline-block;
    float: right;
    margin: 2px 0px 0 5px;
    color: #eea236;
    font-size: 14px
}

.table-hover > tbody > tr:hover, .table-hover > tbody > tr > :focus {
    background-color: #DFD1D1 !important;
}

.table > tbody > tr > td, .table > tbody > tr > th, .table > tfoot > tr > td, .table > tfoot > tr > th, .table > thead > tr > td, .table > thead > tr > th {
    padding: .25em .6em;
    border-top: none;
    line-height: 1.6em;
}

    .table > thead > tr > th.sorting {
        border-bottom: 1px solid #FF3300;
    }

        .table > thead > tr > th.sorting:hover,
        .table > thead > tr > th.sorting:focus {
            background-color: transparent !important;
            text-decoration: underline;
        }

.table > thead > tr:hover,
.table > thead > tr > :focus {
    background-color: transparent !important;
    /*text-decoration: underline;*/
}

.table > thead > tr > th {
    vertical-align: bottom;
    border-bottom: none;
}

.dataTables_filter input[type="search"] {
    width: 320px;
    background-image: url(images/search_icon.png);
    background-position: 2px center;
    background-repeat: no-repeat;
    border: 1px solid #CCCCCC;
    padding: 4px 2px 4px 18px;
    background-color: #eee;
}

.input-append.date {
    width: 125px;
}

.input-append .add-on, .input-prepend .add-on {
    display: inline-block;
    width: auto;
    height: 20px;
    min-width: 16px;
    padding: 4px 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 20px;
    text-align: center;
    text-shadow: 0 1px 0 #ffffff;
    /* background-color: #eeeeee;
    border: 1px solid #ccc;*/
}

select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {
    display: inline-block;
    padding: 4px 6px;
    margin-bottom: 5px !important;
    line-height: 20px;
    color: #555555;
    vertical-align: middle;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {
    background-color: #ffffff;
    border: 1px solid #cccccc;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
    -moz-transition: border linear 0.2s, box-shadow linear 0.2s;
    -o-transition: border linear 0.2s, box-shadow linear 0.2s;
    transition: border linear 0.2s, box-shadow linear 0.2s;
}

    input[class*="span"], select[class*="span"], textarea[class*="span"], .uneditable-input[class*="span"], .row-fluid input[class*="span"], .row-fluid select[class*="span"], .row-fluid textarea[class*="span"], .row-fluid .uneditable-input[class*="span"] {
        float: none;
        margin-left: 0;
    }


.dataTables_wrapper .dataTables_processing {
    position: absolute;
    top: 40%;
    left: 50%;
    width: 10%;
    height: 30px;
    margin-left: -10%;
    margin-top: 25px;
    padding-top: 6px;
    text-align: center;
    font-size: 1.2em;
    font-weight: 501;
    background: rgba(240, 237, 237,1) !important;
    background: -moz-linear-gradient(top,rgba(240, 237, 237,1) 0,rgba(240, 237, 237,1) 100%) !important;
    background: -webkit-linear-gradient(top,rgba(240, 237, 237,1) 0,rgba(240, 237, 237,1) 100%) !important;
    background: linear-gradient(to bottom,rgb(240, 237, 237,1) 0,rgba(212, 209, 209,1) 100%) !important;
}

table.dataTable {
    width: 100% !important;
}

    table.dataTable.no-footer {
        border-bottom: 1px solid #ACACAC;
    }

.dataTables_wrapper {
    position: relative;
    clear: none;
}

.rptVoucher {
    width: 100% !important;
}

.quote-tab select, select {
    background-color: #eee;
}

input.span2, textarea.span2, .uneditable-input.span2 {
    width: 75px;
}

.form-group {
    display: inline;
    margin: 0 10px 0;
}

table.customerDialog {
    width: 100% !important;
}

#cboxWrapper {
    overflow: unset;
}

    #cboxWrapper .dataTables_wrapper {
        width: 90%;
    }

#rptTable tr td {
    padding-left: 20px;
}

#rptTable tr.group td {
    padding-left: 0;
}

.navbar-fixed-top {
    top: 0;
    border-width: 0 0 1px;
}

.navbar-default .navbar-nav #user-profile {
    height: 50px;
    padding-top: 15px;
    padding-left: 58px;
}

    .navbar-default .navbar-nav #user-profile img {
        height: 45px;
        width: 45px;
        position: absolute;
        top: 2px;
        left: 8px;
        padding: 1px;
    }

td.details-control {
    cursor: pointer;
}

#wrapper {
    padding-top: 50px;
    padding-left: 0;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
}



#sidebar-wrapper {
    border-right: 1px solid #e7e7e7;
}

#sidebar-wrapper {
    z-index: 1000;
    height: 100%;
    background: #f8f8f8;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
}

    #sidebar-wrapper .sidebar-nav {
        font-size: 14px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

        #sidebar-wrapper .sidebar-nav li {
            text-indent: 0;
            line-height: 45px;
        }

            #sidebar-wrapper .sidebar-nav li a {
                display: block;
                text-decoration: none;
                color: #428bca;
            }

.sidebar-nav li:first-child a {
    background: #92bce0 !important;
    color: #fff !important;
}

#sidebar-wrapper .sidebar-nav li a .sidebar-icon {
    width: 45px;
    height: 45px;
    font-size: 14px;
    padding: 0 2px;
    display: inline-block;
    text-indent: 7px;
    margin-right: 10px;
    color: #fff;
    float: left;
}

#sidebar-wrapper .sidebar-nav li a .caret {
    position: absolute;
    right: 23px;
    top: auto;
    margin-top: 20px;
}

#sidebar-wrapper .sidebar-nav li ul.panel-collapse {
    list-style: none;
    -moz-padding-start: 0;
    -webkit-padding-start: 0;
    -khtml-padding-start: 0;
    -o-padding-start: 0;
    padding-start: 0;
    padding: 0;
}

    #sidebar-wrapper .sidebar-nav li ul.panel-collapse li i {
        margin-right: 10px;
    }

    #sidebar-wrapper .sidebar-nav li ul.panel-collapse li {
        text-indent: 15px;
    }

@media (max-width: 992px) {
    #wrapper #sidebar-wrapper {
        width: 45px;
    }

        #wrapper #sidebar-wrapper #sidebar #sidemenu li ul {
            position: fixed;
            left: 45px;
            margin-top: -45px;
            z-index: 1000;
            width: 200px;
            height: 0;
        }
}

.sidebar-nav li:first-child a {
    background: #92bce0 !important;
    color: #fff !important;
}

.sidebar-nav li:nth-child(2) a {
    background: #6aa3d5 !important;
    color: #fff !important;
}

.sidebar-nav li:nth-child(3) a {
    background: #428bca !important;
    color: #fff !important;
}

.sidebar-nav li:nth-child(4) a {
    background: #3071a9 !important;
    color: #fff !important;
}

.sidebar-nav li:nth-child(5) a {
    background: #245682 !important;
    color: #fff !important;
}

#tabs .tab {
    display: inline-block;
    padding: 5px 10px;
    cursor: pointer;
    position: relative;
    z-index: 5;
}

#tabs .whiteborder {
    border: 1px solid #ddd;
    border-bottom: 1px solid #fff;
    border-radius: 1px 1px 0 0;
}

#tabs .tabContent {
    width: 100%;
    position: relative;
    top: -1px;
    z-index: 1;
    padding: 10px;
    border-radius: 0 0 3px 3px
}

#tabs .hide {
    display: none;
}

#tabs .show {
    display: block;
}

.grey_disabled {
    color: #D3D3D3;
}

.grey_disabled {
    color: #D3D3D3;
}

.black {
    color: #000;
}

.percentInput {
    position: relative;
    display: inline-block;
}

    .percentInput span {
        position: absolute;
        top: 8px;
        right: 8px;
        line-height: 100%;
        vertical-align: middle;
        color: #222222;
    }

.num_percent {
    width: 100px;
    text-align: right;
    padding-right: 15px !important;
}

.t-grid td {
    padding: .25em .6em;
}

#details th.t-header {
    padding: 0 5px;
}

tr.strikeout td {
    position: relative;
}

    tr.strikeout td:before {
        content: " ";
        position: absolute;
        top: 45%;
        left: 0;
        border-top: 1px solid red;
        width: 100%;
    }

    tr.strikeout td:after {
        content: " ";
        font-size: 1px;
        left: 0;
        position: absolute;
        width: 100%;
        border-bottom: 1px solid #ddd;
        bottom: 0;
    }

.btn-cancel-detail {
    height: 22px;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 11px;
    font-weight: bold;
    padding: 3px 20px;
}

.btn-cancel, .btn-cancel a, .btn-cancel span {
    background: url(images/bg-nav.png) 0px 0px repeat-x;
    color: #fff;
}

    .btn-cancel:hover {
        color: #fff;
        background: #FF9B82;
        border-color: #FF9B82;
    }

}
