/* Table sortable */
.table-sortable tbody tr {
    cursor: move;
}


/* Create Invoice page */
@media (min-width: 992px) {
    .invoice-details {
        margin-right: 33px;
    }

    .pull-right-md {
        float: right;
    }
}

.company-site {
    background: /*#fff09c*/ #f5f5f5;
    border-radius: 4px;
    padding: 5px;
    min-height: 130px;
    margin-bottom: 30px;
}

    .company-site span {
        display: block;
        font-size: smaller;
    }

.shadow {
    box-shadow: 10px #888888;
}

.panel-body {
    box-shadow: 0 0 10px #ccc;
}

.checkbox-inline input[type=checkbox] {
    margin-left: -20px;
}

#DiscountedTotalRow td:not(:nth-child(3)) {
    background: #fff09c;
}

#DiscountedVatRow td:not(:nth-child(3)) {
    background: #fff09c;
}

#TblItems {
    border-collapse: collapse;
    font-size: smaller;
}

    #TblItems select {
        min-width: 20px;
    }

    /* Chrome, Safari, Edge, Opera */
    #TblItems input::-webkit-outer-spin-button,
    #TblItems input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    #TblItems input {
        border: none;
        box-shadow: none;
    }

        #TblItems input[type="number"] {
            text-align: right;
            -moz-appearance: textfield;
            padding: 0;
        }


    #TblItems th:first-child, #TblItems td:first-child {
        display: none;
    }

    #TblItems tbody tr td:nth-child(6) select {
        border: none;
        box-shadow: none;
    }

    #TblItems tbody tr td:nth-child(3) select {
        background: rgba(217, 83, 79,1);
        color: #fff;
    }

    #TblItems textarea {
        border: none;
        box-shadow: none;
        resize: vertical;
        padding: 0;
        margin: 0 0 10px 0;
    }

        #TblItems textarea:focus {
            outline: none;
        }

    #TblItems thead tr th:not(:nth-child(2)):not(:nth-child(3)) {
        text-align: right;
    }

    #TblItems tbody tr td:nth-last-child(2) {
        background: #eee;
    }

    #TblItems tbody tr td:last-child {
        border: 1px solid transparent !important;
        vertical-align: middle;
    }

    #TblItems button {
        border: none;
        background-color: transparent;
    }

        #TblItems button:focus {
            outline: none;
        }

        #TblItems button:hover {
            color: #FF3C00;
        }


#TblSummary td:first-child {
    text-align: right;
}

#TblSummary td {
    border-left: none;
    border-right: none;
}


#TblSummary button {
    display: none;
}

#TblSummary tfoot tr td:not(:nth-child(3)) {
    background: #eee;
}

#TblSummary tr td:last-child {
    width: 33px;
    border: 1px solid transparent !important;
    border-left: 1px solid #ccc !important;
}

.draft-label {
    padding: 10px;
    border: 2px solid #0066ff;
    text-align: center;
    color: #0066ff;
    font-size: 2em;
    font-weight: bolder;
}

#TxtareaAdditionalNotes, #TxtareaPaymentTerms {
    resize: none;
    font-size: small;
}
/* EO Create Invoice page */

/* View invoice page */
.invoice-panel-body {
    box-shadow: 10px 10px 5px #aaaaaa;
    min-height: 100vh;
    padding: 50px 50px;
}

.template-watermark {
    color: rgba(30, 30, 30, 0.1);
    font-size: x-large;
    font-weight: bold;
}

    .template-watermark:hover {
        cursor: default;
        user-select: none;
    }

.dropdown-menu {
    padding: 0;
}

.btn .caret {
    float: left;
    margin: 7px 5px 0 0;
}

.btn i, a i {
    margin-right: 5px;
}

.drop-more-options > li {
    padding: 2px 0;
}

    .drop-more-options > li:last-child {
        border-bottom-left-radius: 4px;
        border-bottom-right-radius: 4px;
    }

.img-company {
    max-width: 100%;
}

.invoice-from {
    font-size: smaller;
}

    .invoice-from span {
        display: block;
    }

    .invoice-from label {
        text-decoration: underline;
    }

.invoice-to {
    margin-top: 30px;
    font-size: smaller;
    margin-bottom: 20px;
}

    .invoice-to span {
        display: block;
    }

    .invoice-to label {
        text-decoration: underline;
    }

#TblInvoiceDetails {
    font-size: smaller;
}

    #TblInvoiceDetails td {
        text-align: right;
        padding: 2px 4px;
    }

        #TblInvoiceDetails td label {
            margin-bottom: 0;
        }

/* Below here: make rows have no vertical columns and align text */
#main_GvItems {
    border-collapse: collapse;
}

    #main_GvItems thead tr th {
        border: none;
    }

    #main_GvItems tbody tr td:not(:last-child) {
        border-right: 1px solid #fff;
    }

    #main_GvItems thead tr th:not(:first-child),
    #main_GvItems tbody tr td:not(:first-child) {
        text-align: right;
    }

    #main_GvItems thead tr th:first-child {
        width: 60%;
    }

#main_TblRecurringSummary {
    font-size: smaller;
}

    #main_TblRecurringSummary td:first-child {
        text-align: right;
        width: 70%;
    }

    #main_TblRecurringSummary tr:last-child {
        font-weight: bold;
    }

        #main_TblRecurringSummary tr:last-child td {
            padding: 10px;
        }

.smaller {
    font-size: smaller;
}

#RecentEventsDivider {
    margin: 0 auto;
}

#main_GvRecentEvents td {
    border: none;
    cursor: default;
}

    #main_GvRecentEvents td:nth-child(2) {
        width: 25%;
    }

#main_GvRecentEvents td:first-child {
    width: 15%;
    text-align: center;
}

#main_GvRecentEvents tr:not(:last-child):hover {
    background: #d9d9d9;
}
/* EO View invoice page */

/* Css for widgets on view tickets page */
.panel-primary:hover {
    box-shadow: 0 0 20px rgba(51, 122, 183,1);
}

.panel-green:hover {
    box-shadow: 0 0 20px rgba(92, 184, 92,1);
}

.panel-yellow:hover {
    box-shadow: 0 0 20px rgba(240, 173, 78,1);
}

.panel-red:hover {
    box-shadow: 0 0 20px rgba(217, 83, 79,1);
}
/* END Css for widgets on view tickets page */

#main_ImgLockScreen, #main_ImgDesktopWallpaper {
    display: block;
}

.hardware-btn-filter {
    overflow-x: auto;
    display: flex;
}

.hardware-companies-overflow {
    overflow-y: auto;
    height: calc(100vh - 142px);
    height: -moz-calc(100vh - 142px);
    height: -webkit-calc(100vh - 142px);
    height: -o-calc(100vh - 142px);
}

/*View Survey page*/
.Grid td {
    /*background-color: white;*/
    /*color: orangered;*/
    font-size: 10pt;
    line-height: 200%;
}

.Grid th {
    /*color: dimgrey;*/
    font-size: 10pt;
    line-height: 200%;
}

.ChildGrid td {
    /*background-color: orangered;
    color: White;*/
    font-size: 10pt;
    line-height: 200%;
    /*border-color: black;*/
    padding: 5px;
}

.ChildGrid th {
    /*background-color: grey;*/
    /*color: white;*/
    font-size: 10pt;
    line-height: 200%;
    /*border-color: black;*/
    padding: 5px;
    text-align: center;
}


/* Radio buttons styling */
.radio-toolbar input[type="radio"] {
    opacity: 0;
    position: fixed;
    width: 0;
}

.radio-toolbar label {
    display: inline-block;
    padding: 5px 15px;
    font-family: sans-serif, Arial;
    font-size: 14px;
    border-radius: 4px;
}

    .radio-toolbar label:hover {
        cursor: pointer;
    }

a {
    cursor: pointer;
}

/* Set images to render to height and width of their containers */
.img-fill {
    width: 100%;
    height: 100%;
}

/* NAV HEADER */
.nav-client {
    margin-bottom: 0;
    border-bottom: 1px solid #FF3C00;
}

.navbar {
    height: 100%;
}

/*from sb-admin2.css*/
@media (min-width: 768px) {
    .sidebar {
        z-index: 1;
        position: absolute;
        width: 250px;
        margin-top: 62px;
    }

    .navbar-top-links .dropdown-messages,
    .navbar-top-links .dropdown-tasks,
    .navbar-top-links .dropdown-alerts {
        margin-left: auto;
    }
}

.navbar-top-links-client {
    margin-right: 0;
}

    .navbar-top-links-client li i.fa-fw {
        font-size: 20px;
    }

    .navbar-top-links-client li {
        display: inline-block;
    }

        .navbar-top-links-client li:last-child {
            margin-right: 15px;
        }

        .navbar-top-links-client li a {
            padding: 15px;
            min-height: 50px;
            /*color: #FF3C00;*/
        }

    .navbar-top-links-client .dropdown-menu li {
        display: block;
    }

        .navbar-top-links-client .dropdown-menu li:last-child {
            margin-right: 0;
        }

        .navbar-top-links-client .dropdown-menu li a {
            padding: 3px 20px;
            min-height: 0;
        }

            .navbar-top-links-client .dropdown-menu li a div {
                white-space: normal;
            }

    .navbar-top-links-client .dropdown-messages,
    .navbar-top-links-client .dropdown-tasks,
    .navbar-top-links-client .dropdown-alerts {
        width: 310px;
        min-width: 0;
    }

    .navbar-top-links-client .dropdown-messages {
        margin-left: 5px;
    }

    .navbar-top-links-client .dropdown-tasks {
        margin-left: -59px;
    }

    .navbar-top-links-client .dropdown-alerts {
        margin-left: -123px;
    }

    .navbar-top-links-client .dropdown-user {
        right: 0;
        left: auto;
    }
/* End of nav-header */



/* SIDE NAVBAR */
.nav label {
    position: relative;
    display: block;
    padding: 10px 15px;
}

#side-menu li {
    border-bottom: none;
}
/* End of SIDE NAVBAR*/

/*NEW TICKET */
#main_sourceBtnOptions {
    display: block;
}
/*END OF NEW TICKET*/


/*TICKET NOTES DETAILS TABLE*/
#main_TicketNoteGrid {
    font-size: smaller;
}

    #main_TicketNoteGrid > tbody > tr > td > .table > tbody > tr > td:nth-child(3) {
        width: 30%;
    }

    #main_TicketNoteGrid > tbody > tr > td > .table > tbody > tr > td:nth-child(2) {
        width: 30%;
    }

    #main_TicketNoteGrid > tbody > tr > td > .table > tbody > tr > td:last-child {
        width: 20%;
    }

    #main_TicketNoteGrid > tbody > tr > td > .table > tbody > tr:first-child > td:first-child {
        width: 20%;
    }

    #main_TicketNoteGrid > tbody > tr > td > .table > tbody > tr:first-child > td:last-child {
        width: 80%;
    }

    #main_TicketNoteGrid > tbody > tr > td > .table > tbody > tr:nth-child(2) > td:last-child {
        width: 80%;
        word-break: break-all;
    }

/*MERGED TICKET NOTES DETAILS TABLE*/
#main_MergedTicketNotesGrid {
    font-size: smaller;
}

    #main_MergedTicketNotesGrid > tbody > tr > td > .table > tbody > tr > td:nth-child(3) {
        width: 30%;
    }

    #main_MergedTicketNotesGrid > tbody > tr > td > .table > tbody > tr > td:nth-child(2) {
        width: 30%;
    }

    #main_MergedTicketNotesGrid > tbody > tr > td > .table > tbody > tr > td:last-child {
        width: 20%;
    }

    #main_MergedTicketNotesGrid > tbody > tr > td > .table > tbody > tr:first-child > td:first-child {
        width: 20%;
    }

    #main_MergedTicketNotesGrid > tbody > tr > td > .table > tbody > tr:first-child > td:last-child {
        width: 80%;
    }

    #main_MergedTicketNotesGrid > tbody > tr > td > .table > tbody > tr:nth-child(2) > td:last-child {
        width: 80%;
        word-break: break-all;
    }

/* open ticket tab wrapper for notes */
.tab-content-wrapper {
    max-height: 460px;
    overflow-x: hidden;
    overflow-y: auto;
}

.update-ticket-tabs {
    height: 654px !important;
}

/* OPEN TICKET USER DETAILS TABLE */
.user-details-table {
    table-layout: fixed;
}

    .user-details-table > tbody > tr > td:nth-child(odd) {
        width: 15%;
    }

    .user-details-table > tbody > tr > td:nth-child(even) {
        width: 35%;
    }

    .user-details-table > tbody > tr > td > #main_HyprLnkContactEmail {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .user-details-table > tbody > tr > td > div {
        word-break: break-word;
    }
/* EO OPEN TICKET USER DETAILS TABLE */

/*Open ticket total units summary*/
#main_PanelTicketUnitSummary {
    padding: 10px;
    border-radius: 4px;
}

/* Manage companies table */
#main_GridCompanies {
    table-layout: fixed;
}

    #main_GridCompanies > tbody > tr > td {
        overflow: hidden;
        text-overflow: ellipsis;
    }
/* EO Manage companies table */

/* Table excel filter */
.dropdown-filter-dropdown {
    float: right;
    color: black;
    font-size: smaller;
}

i.arrow-down {
    display: none;
}

.glyphicon-arrow-down {
    border: none;
}
/* End of Table excel filter */




/* css for pagination on gridviews */
.pagination-ys {
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
}

    .pagination-ys table > tbody > tr > td {
        display: inline;
    }

        .pagination-ys table > tbody > tr > td > a,
        .pagination-ys table > tbody > tr > td > span {
            position: relative;
            float: left;
            padding: 8px 12px;
            line-height: 1.42857143;
            text-decoration: none;
            /*color: #dd4814;*/
            background-color: #ffffff;
            border: 1px solid #dddddd;
            margin-left: -1px;
        }

        .pagination-ys table > tbody > tr > td > span {
            position: relative;
            float: left;
            padding: 8px 12px;
            line-height: 1.42857143;
            text-decoration: none;
            margin-left: -1px;
            z-index: 2;
            color: #aea79f;
            background-color: #f5f5f5;
            border-color: #dddddd;
            cursor: default;
        }

        .pagination-ys table > tbody > tr > td:first-child > a,
        .pagination-ys table > tbody > tr > td:first-child > span {
            margin-left: 0;
            border-bottom-left-radius: 4px;
            border-top-left-radius: 4px;
        }

        .pagination-ys table > tbody > tr > td:last-child > a,
        .pagination-ys table > tbody > tr > td:last-child > span {
            border-bottom-right-radius: 4px;
            border-top-right-radius: 4px;
        }

        .pagination-ys table > tbody > tr > td > a:hover,
        .pagination-ys table > tbody > tr > td > span:hover,
        .pagination-ys table > tbody > tr > td > a:focus,
        .pagination-ys table > tbody > tr > td > span:focus {
            /*color: #97310e;*/
            background-color: #eeeeee;
            border-color: #dddddd;
        }
/* End of css for pagination on gridviews */



/* Margin/Padding classes */

.padding-20 {
    padding: 20px;
}

.margin-20 {
    margin: 20px;
}

.padding-top-20 {
    padding-top: 20px;
}

.padding-top-25 {
    padding-top: 25px;
}

.margin-top-20 {
    margin-top: 20px;
}

.margin-top-0 {
    margin-top: 0px !important;
}

.margin-top-10 {
    margin-top: 10px;
}

.no-margin {
    margin: 0px;
}

.no-padding {
    padding: 0px;
}

.margin-bottom-none {
    margin-bottom: 0px;
}

.padding-bottom-none {
    padding-bottom: 0px;
}

.margin-bottom-30 {
    margin-bottom: 30px;
}

.margin-bottom-20 {
    margin-bottom: 20px;
}

.margin-bottom-15 {
    margin-bottom: 15px;
}

.margin-bottom-5 {
    margin-bottom: 5px;
}

.margin-top-15 {
    margin-top: 15px;
}

.margin-top-25 {
    margin-top: 25px;
}

.paddingBottom30 {
    padding-bottom: 30px;
}

.padding-bottom-15 {
    padding-bottom: 15px;
}

.margin-right-15 {
    margin-right: 15px;
}

@media only screen (max-width: 767px) {
    xs-margin-bottom-20 {
        margin-bottom: 20px;
    }
}

/* End of Margin/Padding classes */

/* Checkboxes */

/*.checkbox > label {
    margin-right: 5px;
    font-weight: bold;
}*/

/**/

/* Survey Feedback for tickets */
#main_Lbquestion1 {
    display: block;
}

#main_Lbquestion4 {
    display: block;
}

#main_Q5txt {
    width: 100%;
}

.Q1-wrapper {
    margin: 15px 0px 25px 0px;
}

.Q2-wrapper {
    display: inline-block;
    margin-top: 15px;
}

.Q4-wrapper {
    margin: 15px 0px 25px 0px;
}
/* End of Survey Feedback for tickets */



/*Fancy Check box - Start */
.form-group .fancy-checkbox input[type="checkbox"] {
    display: none;
}

.form-group input[type="checkbox"] + .btn-group > label span {
    width: 20px;
}

    .form-group input[type="checkbox"] + .btn-group > label span:first-child {
        display: none;
    }

    .form-group input[type="checkbox"] + .btn-group > label span:last-child {
        display: inline-block;
        font-size: 40px;
    }

.form-group input[type="checkbox"]:checked + .btn-group > label span:first-child {
    display: inline-block;
}

.form-group input[type="checkbox"]:checked + .btn-group > label span:last-child {
    display: none;
}

span.glyphicon-ok {
    font-size: 1.1em;
}
/* Fancy Check box - END */



/* positional classes */
.block {
    display: block !important;
}

.inline {
    display: inline !important;
}

.vertical-center {
    display: flex;
    align-items: center;
}

.TextLeft {
    text-align: left !important;
}

.viewheight-100 {
    height: 100vh;
}

.maxheight700 {
    max-height: 700px;
}

.radiobuttonlist input[type="radio"] + label {
    margin-right: 10px;
}

.btn-group span.fa {
    padding-right: 5px;
}
/* end of positional classes */

/*Mouse Cursor options */
.alias {
    cursor: alias;
}

.all-scroll {
    cursor: all-scroll;
}

.auto {
    cursor: auto;
}

.cell {
    cursor: cell;
}

.context-menu {
    cursor: context-menu;
}

.col-resize {
    cursor: col-resize;
}

.copy {
    cursor: copy;
}

.crosshair {
    cursor: crosshair;
}

.default {
    cursor: default;
}

.e-resize {
    cursor: e-resize;
}

.ew-resize {
    cursor: ew-resize;
}

.grab {
    cursor: grab;
}

.grabbing {
    cursor: grabbing;
}

.help {
    cursor: help;
}

.move {
    cursor: move;
}

.n-resize {
    cursor: n-resize;
}

.ne-resize {
    cursor: ne-resize;
}

.nesw-resize {
    cursor: nesw-resize;
}

.ns-resize {
    cursor: ns-resize;
}

.nw-resize {
    cursor: nw-resize;
}

.nwse-resize {
    cursor: nwse-resize;
}

.no-drop {
    cursor: no-drop;
}

.none {
    cursor: none;
}

.not-allowed {
    cursor: not-allowed;
}

.pointer {
    cursor: pointer;
}

.progress {
    cursor: progress;
}

.row-resize {
    cursor: row-resize;
}

.s-resize {
    cursor: s-resize;
}

.se-resize {
    cursor: se-resize;
}

.sw-resize {
    cursor: sw-resize;
}

.text {
    cursor: text;
}

.url {
    cursor: url(myBall.cur),auto;
}

.w-resize {
    cursor: w-resize;
}

.wait {
    cursor: wait;
}

.zoom-in {
    cursor: zoom-in;
}

.zoom-out {
    cursor: zoom-out;
}
/*End of Mouse Cursor options */

/* Dropdown table search Excel view */
th.Excel-left-Align > div.dropdown-filter-dropdown > div {
    left: auto !important;
    right: 0;
}
/* end Dropdown table search Excel view */