
﻿div#igGridOverviewServices_select_all_overlay {
    font-size: 22px;
    background: #d73d32;
    opacity: 1;
}
div#igGridOverviewServices_deselect_all_overlay {
    font-size: 22px;
    background: #d73d32;
    opacity: 1;
}
#igGridOverviewServices_deselect_all_overlay > div > a {
    text-decoration: underline;
}

#igGridOverviewServices_select_all_overlay > div > a {
    text-decoration: underline;
}
tr.rowExpired {
    background-color: #ffb3b3 !important;
}
th.iggrid-filtered-header {
    background-color: #ffb368 !important;
}

td.iggrid-filtered-cell {
    background-color: #ffdebd !important;
    border-bottom-color: #ffb368 !important;
}

th.iggrid-filtered-header.ui-iggrid-sortableheaderactive {
    background-color: #4DBD6F !important;
}

td.ui-iggrid-coldesc.ui-state-highlight.iggrid-filtered-cell,
td.ui-iggrid-colasc.ui-state-highlight.iggrid-filtered-cell {
    background-color: #c1d8c8 !important;
    border-bottom-color: #4DBD6F !important;
}


/* Sorting direction icon */
th:not(.ui-iggrid-sortableheaderactive) .ui-iggrid-colindicator {
    display: none;
}

th.ui-iggrid-sortableheaderactive .ui-iggrid-colindicator.ui-iggrid-colindicator-desc, 
th.ui-iggrid-sortableheaderactive .ui-iggrid-colindicator.ui-iggrid-colindicator-asc {
    display: block;
}


/* Invoice Service Grid*/
.invoiceServicesGrid table {
    border-collapse: collapse;
}

.invoiceServicesGrid .ui-iggrid tbody td {
    border-left: none !important;
    border-right: none !important;
}

.invoiceServicesGrid tr.delivery-date-seperator th,
.invoiceServicesGrid tr.delivery-date-seperator td {
    border-bottom: 2px solid !important;
}

.invoiceServicesGrid .ui-iggrid-fixedcontainer tr.delivery-date-seperator th {
    border-left: 2px solid !important;
}

.invoiceServicesGrid .ui-iggrid-scrolldiv tr.delivery-date-seperator td:last-of-type {
    border-right: 2px solid !important;
}

.invoiceServicesGrid tr.delivery-date-service:is(:first-child) th,
.invoiceServicesGrid tr.delivery-date-service:is(:first-child) td {
    border-top: 2px solid !important;
}

.invoiceServicesGrid .ui-iggrid-fixedcontainer tr.delivery-date-service th {
    border-left: 2px solid !important;
}

.invoiceServicesGrid .ui-iggrid-scrolldiv tr.delivery-date-service td:last-of-type {
    border-right: 2px solid !important;
}

/* Validate message style*/
.help-inline {
    color: red;
}

.modal-dialog-100 {
    margin: 0;
    width: 100vw;
    height: 100vh;
}

/* Datatable footer */
.DTTTFooter {
    border: none !important;
}

/* Dropdown checkbox */
.dropdown-check-list {
    display: inline-block;
}

    .dropdown-check-list .anchor {
        position: relative;
        cursor: pointer;
        display: inline-block;
        padding: 5px 50px 5px 10px;
        border: 1px solid #ccc;
    }

        .dropdown-check-list .anchor:after {
            position: absolute;
            content: "";
            border-left: 2px solid black;
            border-top: 2px solid black;
            padding: 5px;
            right: 10px;
            top: 20%;
            -moz-transform: rotate(-135deg);
            -ms-transform: rotate(-135deg);
            -o-transform: rotate(-135deg);
            -webkit-transform: rotate(-135deg);
            transform: rotate(-135deg);
        }

        .dropdown-check-list .anchor:active:after {
            right: 8px;
            top: 21%;
        }

    .dropdown-check-list ul.items {
        padding: 2px;
        margin: 0;
        border: 1px solid #ccc;
        border-top: none;
    }

        .dropdown-check-list ul.items li {
            list-style: none;
        }

th, td {
    white-space: nowrap;
}

div.container {
    width: 80%;
}

.form-control, select {
    padding: 0px !important;
}

.fixtab td {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.navbar .navbar-inner {
    background-color: #fff !important;
    border-bottom: 1px solid #dddddd !important;
}

.navbar .sidebar-collapse .collapse-icon {
    color: gray !important;
}

.login-container .loginbox {
    width: 440px !important;
}

.login-container {
    max-width: 440px !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: 5px;
}

.table-bordered > thead > tr {
    background-color: #eee;
    background-image: linear-gradient(to bottom, #f1f1f1 0px, #fafafa 100%);
}

.pagination > li > a, .pagination > li > span {
    padding: 4px 8px;
}

.table-bordered > tbody > tr {
    min-height: 30px;
}

.widget.no-margin {
    margin: 0px;
}

.td-text-long {
    text-overflow: ellipsis;
    overflow: hidden;
}

.disabled.btn.load, [disabled].btn.load {
    cursor: pointer;
}

.control-label {
    font-weight: 600;
}

.modal-dialog.auto-size {
    position: relative;
    display: table;
    overflow-y: auto;
    overflow-x: auto;
    width: auto;
    min-width: 300px;
}

.highlight {
    color: blue !important;
    border-color: blue !important;
}

/*hilight for checkbox*/
input[type=checkbox]:checked.highlight ~ .text::before {
    color: blue !important;
    border-color: blue !important;
}

/*hilight for checkbox text*/
input[type=checkbox]:checked.highlight ~ .text {
    color: blue !important;
    border-color: blue !important;
}

select {
    border-radius: 0 !important;
}

.menu-text {
    white-space: nowrap;
}

.outer-load {
    position: relative;
}

    .outer-load.load-data .loading {
        opacity: 0;
    }

    .outer-load .loading {
        opacity: 1;
    }

    .outer-load.load-data .inner-load {
        opacity: 1;
    }

    .outer-load .inner-load {
        opacity: 0;
    }

.inner-load {
    position: absolute;
    top: 50%;
    left: 50%;
}

/* Important part */
.modal-dialog {
    overflow-y: initial !important;
}

.btn-file {
    position: relative;
    overflow: hidden;
}

    .btn-file input[type=file] {
        position: absolute;
        top: 0;
        right: 0;
        min-width: 100%;
        min-height: 100%;
        font-size: 100px;
        text-align: right;
        filter: alpha(opacity=0);
        opacity: 0;
        background: red;
        cursor: inherit;
        display: block;
    }

input[readonly] {
    background-color: white !important;
    cursor: text !important;
}

.form-group {
    margin-bottom: 10px !important;
}

textarea {
    resize: none;
}

.page-sidebar .sidebar-menu > li > .submenu > li.active:last-child a {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

td > .btn {
    margin: 0px 1px;
}

/*-----------------------------------------------------------------------------------
     BODY
 */

.page-body {
    padding-top: 0 !important;
    padding-bottom: 5 !important;
}


/*-----------------------------------------------------------------------------------
     INFRAGISTICS
 */
.ui-iggrid .ui-iggrid-footer,
.ui-iggrid .ui-iggrid-toolbar {
    background-color: #FBFBFB !important;
    border-bottom: none !important;
}

.ui-icon.ui-icon-check.ui-igcheckbox-normal-on {
    position: relative;
    left: -2px;
    top: -3px;
}

.ui-dialog-content.ui-widget-content {
    max-height: 60vh;
}
/*-----------------------------------------------------------------------------------
     BOOTSTRAP
 */
.btn {
    margin-bottom: 3px;
}


/*-----------------------------------------------------------------------------------
     DASHBOARD
 */

.widget-header.header-large {
    min-height: 34px;
}

    .widget-header.header-large .widget-caption {
        font-size: 22px;
    }

.btn.btn-labeled .btn-label {
    margin: -9px 12px -9px -2px;
    padding: 10px 10px 11px 11px;
}

.btn.large {
    width: calc(50% - 2px);
    font-size: 16px;
    min-width: 140px;
    height: 65px;
    padding-left: 75px;
}

@media (min-width: 1610px) {
    .btn.large {
        width: calc(25% - 4px);
    }
}

@media (max-width: 1609px) {
    .btn.large {
        width: calc(33% - 3px);
    }
}

@media (max-width: 1160px) {
    .btn.large {
        width: calc(50% - 2px);
    }
}

.btn.large > span:first-child {
    position: absolute;
    display: block;
    width: 65px;
    height: 65px;
    top: -1px;
    border-radius: 4px 0 0 4px;
    left: -1px;
    background: rgba(0,0,0,0.25);
}

    .btn.large > span:first-child > i {
        position: relative;
        top: 50%;
        transform: translateY(-50%);
        font-size: 28px;
    }

.btn.large > span:nth-child(2) {
    display: block;
    width: 100%;
    position: relative;
    white-space: normal;
    top: 50%;
    transform: translateY(-50%);
}

.btn.large > i {
    position: absolute;
    right: 5px;
    margin-top: 1px;
    top: 50%;
    transform: translateY(-50%);
}

.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
    border-top: 2px solid #cc324b;
}

h1 .row-title, h2.row-title, h3.row-title, h4.row-title, h5.row-title, h6.row-title {
    padding-right: 50px;
}

.navbar, .navbar .navbar-inner {
    height: 50px;
    min-height: 50px;
}

    .navbar .navbar-inner .navbar-container {
        padding-top: 2px;
    }

ul.account-area {
    padding-top: 3px;
}

.navbar a.standard-link {
    display: block;
    font-size: 14px;
    color: #333;
    padding-top: 11px;
}

.tooltip2 {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
}

.tooltip2 .tooltiptext2 {
    visibility: hidden;
    width: 120px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
}

    .tooltip2 .tooltiptext2::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 50%;
        margin-left: -5px;
        border-width: 5px;
        border-style: solid;
        border-color: #555 transparent transparent transparent;
    }

.tooltip2:hover .tooltiptext2 {
    visibility: visible;
    opacity: 1;
}

.autotruncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pad-0 {
    padding: 0;
}

.pad-r-0 {
    padding-right: 0;
}

.pad-l-0 {
    padding-left: 0;
}

.pad-b-0 {
    padding-bottom: 0;
}

.mg-0 {
    margin:0
}

.btn-not-invoiced {
    background-color: #a3a9af !important;
    border-color: #a3a9af !important;
    color: #fff;
}

    .btn-not-invoiced:hover, .btn-not-invoiced:focus, .btn-not-invoiced:active {
        color: #fff;
        background-color: #bac1c9 !important;
        border-color: #bac1c9 !important;
    }

.btn-invoiced {
    color: #fff;
    background-color: #53a93f !important;
    border-color: #53a93f !important;
}

    .btn-invoiced:hover, .btn-invoiced:focus, .btn-invoiced:active {
        color: #fff;
        background-color: #65b951 !important;
        border-color: #65b951 !important;
    }

.overflow-ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/*-----------------------------------------------------------------------------------
     YACHT HEADER
 */
.yacht-notes {
    overflow: hidden;
    max-width: 340px;
    display: table-cell;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/*-----------------------------------------------------------------------------------
     LOGIN
 */
body:before {
    background-color: white !important;
}

.login-widget {
    border-radius: 10px;
    padding: 12px 25px;
    border: 1px solid lightgray;
    box-shadow: none;
}

.login-btn {
    min-width: 100px;
    margin-top: 40px;
    margin-bottom: 20px;
    background-color: #e2571c !important;
    border-color: #e2571c !important;
    border-radius: 20px;
    color: #fff;
    width: 165px;
    font-size: 1.5rem;
}

.login-input.form-control {
    background-color: #ebebeb !important;
    border-color: #e9e9e9 !important;
}

.login-logo-image {
    overflow: hidden;
    min-height: 100vh;
    padding: 0;
    background-image: url(/Content/img/login-image.png);
    /*background-attachment: fixed;*/
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.login-switch-btn {
    color: black;
    background-color: #ebebeb;
    font-weight: 600;
    border-color: #ebebeb
}

.login-switch-btn.switch-left {
    border-radius: 18px 0px 0px 18px !important;
    border-right: none !important;
}

.login-switch-btn.switch-right {
    border-radius: 0px 18px 18px 0px !important;
    border-left: none !important;
}

.login-switch-btn.switch-active {
    background-color: #e2571c;
    border-color: #e2571c;
    color: white;
    border-color: #ebebeb
}

@media (max-width: 991px) {
    .login-logo-image {
        display: none;
    }
}

label.error {
    color: red;
}

.login-modal-header {
    color: white !important;
    background-color: #223846 !important;
    border: 0;
    min-height: 50px;
    padding-top: 7px;
    border-top-right-radius: 3px;
    border-top-left-radius: 3px;
}


.login-modal-content {
    padding-right: 25px;
    padding-left: 25px;
    background: white;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
}

.login-alert-modal-header {
    color: white !important;
    background-color: #223846 !important;
    border: 0;
    min-height: 50px;
    padding-top: 7px;
    border-top-right-radius: 3px;
    border-top-left-radius: 3px;
}

.login-alert-modal-header span {
    font-size: 17px !important;
}

.btn-orange {
    color: white;
    background-color: #f35715 !important;
    border-color: #f35715 !important;
    margin-bottom: 5px;
}

/* ----------Product invoice line header------------------ */
.table.table-bordered.table-striped.table-condensed.supplier-grid thead {
    position: sticky;
    top: -1px;
    z-index: 2;
}

.table.table-bordered.table-striped.table-condensed.supplier-grid thead:nth-child(2) {
    position: sticky;
    top: 28px;
    z-index: 2;
}
