﻿html, body, #applicationHost, #applicationHost > div {
    height: 100%;
    overflow: hidden;
}

h1 {
    font-size: 20px;
    margin: 0 0 20px 0;
}

.clickable {
    cursor: pointer;
}

.toast-top-center {
    top: 12px;
    left: 12px;
    /*right:12px;*/
    margin: auto;
}

input[type=text].completeInput, input[type=text].completeInput:focus {
    color: rgb(150, 150, 150);
}

    .rigthInput, input[type=text].completeInput.rigthInput {
        color: black;
    }

.clickable:hover {
    color: rgb(20, 18, 63);
}

#content {
    height: calc(100% - 110px);
    overflow: auto;
}

.scrollDiv {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

    .scrollDiv.scrollBoth {
        overflow-y: auto;
        overflow-x: auto;
    }

li {
    list-style-type: none;
    padding: 3px;
    margin: 5px;
}

.pagination li {
    width: 200px;
    height: 60px;
    float: left;
    cursor: pointer;
}

    .pagination li:hover {
        background-color: lightgray;
        border-radius: 3px;
        border: 1px solid #ccc;
        margin: 4px;
    }

    .pagination li.active {
        background-color: lightblue;
    }

.ui-autocomplete li {
    height: auto;
}

.ui-autocomplete {
    max-height: 300px;
    max-width: 300px;
    overflow-x: hidden;
    overflow-y: auto;
}

.filterColumn {
    text-decoration: underline;
    cursor: pointer;
}

    .filterColumn:hover {
        color: rgb(89, 89, 89);
    }

.repeatInfo, .repeatNumberInfo {
    color: rgb(223, 32, 55);
    margin-top: -14px;
    font-size: 11px;
    line-height: 14px;
    display: block;
    position: relative;
    z-index: 2;
    font-weight: bold;
}

.repeatNumberInfo {
    display: none;
}

    .repeatNumberInfo.active {
        display: block;
    }

#mainTables tbody .editingItem td .repeatNumberInfo.active + input[type="text"] {
    background: rgb(255, 214, 192);
}
/*.showMoreTable tbody td{
    cursor:pointer;
}
.showMoreTable thead  th,.showMoreTable .Documents  tbody td{
    cursor:initial;
}*/
.pagination li {
    width: auto;
    height: auto;
}

    .pagination li:hover {
        border: 0;
    }

#globals * {
    display: inline-block;
    margin-bottom: 10px;
    vertical-align: middle;
}

.dashboardPanel input {
    background: rgb(245, 245, 245);
    border: none;
    text-align: center;
    width: 250px;
}

#installmentsTable input, #installmentsTable select, #installmentsTable select option {
    background: rgb(240, 240, 240);
    border: none;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    height: 30px;
    border-radius: 1px;
    margin-bottom: 10px;
}

#installmentsTable .editing input {
    background: rgb(208, 180, 226);
}

table {
    width: 100%;
    text-align: center;
}

    table tr {
        vertical-align: middle;
    }

    table th {
        color: rgb(109, 109, 109);
    }

.resizable_columns {
    table-layout: fixed;
}

.columnsToShow {
    background: rgb(250, 255, 255);
}

    .columnsToShow th {
        width: 120px;
        font-weight: normal;
        background-color: transparent;
        text-align: center;
    }

    .columnsToShow td {
        text-align: center;
    }

        .columnsToShow td input {
            margin: 10px auto;
        }

.ui-resizable-e {
    right: 0;
}

.table-rows tr {
    height: 42px;
}

input[type="text"].Value, .Value {
    font-weight: bold;
}

input[type="text"].negativeValue, .negativeValue {
    color: red;
}

input[type="text"].positiveValue, .positiveValue {
    color: green;
}

#installmentsTable input[type="text"].negativeValue, .negativeValue {
    text-align: right;
    padding-right: 18%;
}

#installmentsTable input[type="text"].positiveValue, .positiveValue {
    text-align: left;
    padding-left: 18%;
}

.InputContainer * {
    display: inline-block;
}

    .InputContainer *:first-child {
        width: 200px;
        text-align: right;
    }

#sum, #sumBalance {
    font-size: 2em;
    text-align: right;
}

.loadingNextRowsTd {
    border-top: 1px solid #D7F4E2;
    position: relative;
    height: 140px;
}

.ProgressTemplate.loadingNextRows {
    background-size: auto 300%;
    background-color: transparent;
}

.ProgressTemplate, .ProgressTemplateOnEverything {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    position: absolute;
    background-color: rgba(0,0,0,0.1);
}

    .ProgressTemplate.withBackground, .ProgressTemplateOnEverything.withBackground {
        background-image: url('default/images/loading.gif');
        background-position: center;
        background-repeat: no-repeat;
        background-size: auto 100%;
    }

.ProgressTemplateOnEverything {
    position: fixed;
}

    .ProgressTemplate::before, .ProgressTemplateOnEverything::before {
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        opacity: 0.6;
        z-index: 99;
        position: absolute;
        background-position: center;
        background-repeat: no-repeat;
        background-color: black;
    }
/* Styles for loader
-----------------------------------------------------------*/

.loader .page-progress-bar {
    margin: 10px 0 0 0;
}

.loader {
    visibility: hidden;
}

    .loader.active {
        visibility: visible;
    }

/*----------------------------------------------------------home- TanksTable*/
#TanksTable {
    table-layout: fixed;
}

    #TanksTable td, #TanksTable th {
        overflow: hidden;
    }

        #TanksTable td.metro, #TanksTable td.captionOnHoverContainer {
            overflow: visible;
        }

.table-filters td {
    background-color: white;
}

.scrollStableTr td {
    background-color: white;
}
/*----------------------------------------------------------search*/
input.search-button {
    /*background-image: url(images/icons-png/search-black.png);*/
    width: 30px;
    height: 30px;
    background-repeat: no-repeat;
    background-position: center;
    background: url("/Content/images/icons-png/search-black.png");
    width: 35px;
    height: 35px;
    background-size: auto 80%;
    background-position: 5px center;
    box-sizing: content-box;
    border: none;
    padding: 0;
    background-repeat: no-repeat;
    border: 1px solid #cccccc;
    border-radius: 4px;
}

.filterContainer > div {
    padding: 3px;
    border-right: 1px solid rgb(224, 224, 224);
}
/*----------------------------------------------------------print*/
@media print {
    tr {
        page-break-inside: avoid;
    }

    input {
        page-break-inside: avoid;
    }

    html {
        background: white !important;
    }

        html * {
            background: white !important;
            height: auto !important;
            overflow: visible !important;
            overflow-x: visible !important;
            overflow-y: visible !important;
            font-size: 12px !important;
        }

    input {
        border: 1px solid white !important;
        box-shadow: 1px 1px 2px white !important;
        border-style: none !important;
        display: inline !important;
    }

    .container-fluid {
        margin-top: 0px !important;
    }

    #installmentsTable td:last-of-type, #installmentsTable th:last-of-type, header, footer, button, .toast, #LogoutButton {
        display: none !important;
    }


    /*#installmentsTable tr {
        border-bottom: 1px solid rgb(230, 230, 230) !important;
    }*/
}
/*----------------------------------------------------------calendar*/
.table-rows .calendar tr {
    height: 18px;
}

.metro .calendar a {
   /* padding: 0px;*/
}

.metro .calendar .day-of-week {
    padding: 0px;
}

/*---------------------------------------------cookies*/
#cookies-message-container {
    background-color: #9EC19E;
    padding: 10px;
    text-align: center;
    position: fixed;
    bottom: 0;
    margin: auto;
    max-width: 700px;
    left: 0;
    right: 0;
    color: #474747;
    border-radius: 2px;
    z-index: 1040;
}

    #cookies-message-container a {
        color: #ECE9E9;
    }

#accept-cookies-checkbox {
    font-size: 1.1em;
    vertical-align: middle;
    padding: 5px;
    border: 1px solid #87A68C;
    border-radius: 5px;
    background-color: #97B097;
    color: white;
    margin: 15px;
    display: inline-block;
}
/*-----------------------------------------*/

.metro tr{
    cursor: pointer;
}

.CreationDateFromDay, .CreationDateFromMonth, .CreationDateToDay, .CreationDateToMonth, .AdditionalDateDay, .AdditionalDateMonth{
    width: 22px !important;
}

.forceWidth22{
    width: 24px !important;
}