﻿body {
    padding-top: 50px;
    padding-bottom: 0;
    /*background-color: #f9f9f9;*/
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}


.navbar-right{
    margin-right: 0;
}

.ui-autocomplete {
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
}

.t-cp-controller{

}

.cp-head{
    margin-bottom: 10px;
}

.t-control-panel {
    border-bottom: 1px solid #cccccc;
    background-color: white;
    padding: 10px 0;
}

.t-control-panel .breadcrumb {
    font-size: 18px;
    padding: 0 0;
    margin-bottom: 0;
    list-style: none;
    background-color: white;
    border-radius: 0;
}

.t-form-sheet {
    background-color: white;
    border: 1px solid #ced4da;
    box-shadow: 0 5px 20px -15px black;
    margin: 12px auto;
    padding: 24px 16px;

}

.t-title-form {
    margin: 0 5px 10px 0;
    font-size: 1.5rem;
    line-height: 1.5;
    font-weight: bold;
    display: inline-block;
    width: 100%;
}

.t-title-form h2{
    margin-top:10px;
}

.t-title-input {
    border-bottom: 2px solid #666666;
    display: inline-block;
    overflow: visible;
    border-top-style: none !important;
    border-right-style: none !important;
    border-left-style: none !important;
    width: 100%;
    outline: none;
    font-weight: 400;
    line-height: 1.2;
    color: #212529;
    max-width: none;
    border-radius: 0 !important;
    box-shadow: none!important;
    height:auto!important;
    padding: 0!important;
}

.t-title-input:focus {
    border-color: #66afe9!important;
}

.t-list-view table {
    background-color: white;
}

.t-list-view table thead {
    background-color: #f9f9f9;
}

.t-list-view table tbody tr:hover {
    cursor: pointer;
}

.sticky-table table tbody tr:hover {
    cursor: pointer;
}

.t-td-label {
    width: 0%;
    padding: 0 15px 0 0;
    min-width: 50px;
}

.t-input {
    margin: 0;
    padding: 0 0 0 2px;
    width: 100%;
    max-width: 100%;
    border: none;
}

.d-input {
    width: 20px;
}

.border-cell {
    border-bottom: 1px solid #ddd;
}

.t-doc .td-sm {
    width: 120px;
    max-width: 120px;
}

.t-doc .td-xm {
    width: 90px;
    max-width: 90px;
}

.t-doc .td-xxm {
    width: 40px;
    max-width: 40px;
}

.unit-of-measure select{
    border:none;
    width: 90%;
}

.delete-row:hover {
    cursor: pointer;
}

.get-all-positions{
    height: 10px;
}

.get-all-positions:hover {
    cursor: pointer;
}

.not-active-row:hover {
    cursor: pointer;
}


.inner-table tbody td {
    padding: 2px!important;
}

.table-autocomplete .ui-menu-item {
    font-size: 12px;
}

.red-border{
    border: 1px solid red!important;
    border-radius: 1px 1px!important;
}

.info:hover {
    cursor: pointer;
}

.red-row {
    color: red;
}

/*Summernote - отключение нижней строки статуса*/
.note-status-output {
    display: none !important;
}

/*for jqpagination*/
.pagination {
    display: inline-block;
    border: 1px solid #CDCDCD;
    border-radius: 3px;
}

    .pagination a {
        display: block;
        float: left;
        width: 20px;
        height: 26px;
        outline: none;
        border-right: 1px solid #CDCDCD;
        border-left: 1px solid #CDCDCD;
        color: #555555;
        vertical-align: middle;
        text-align: center;
        text-decoration: none;
        font-weight: bold;
        font-size: 16px;
        font-family: Times, 'Times New Roman', Georgia, Palatino;
        /* ATTN: need a better font stack */
        background-color: #f3f3f3;
        background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f3f3f3), color-stop(100%, lightgrey));
        background-image: -webkit-linear-gradient(#f3f3f3, lightgrey);
        background-image: linear-gradient(#f3f3f3, lightgrey);
    }

        .pagination a:hover, .pagination a:focus, .pagination a:active {
            background-color: #cecece;
            background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #e4e4e4), color-stop(100%, #cecece));
            background-image: -webkit-linear-gradient(#e4e4e4, #cecece);
            background-image: linear-gradient(#e4e4e4, #cecece);
        }

        .pagination a.disabled, .pagination a.disabled:hover, .pagination a.disabled:focus, .pagination a.disabled:active {
            background-color: #f3f3f3;
            background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f3f3f3), color-stop(100%, lightgrey));
            background-image: -webkit-linear-gradient(#f3f3f3, lightgrey);
            background-image: linear-gradient(#f3f3f3, lightgrey);
            color: #A8A8A8;
            cursor: default;
        }

        .pagination a:first-child {
            border: none;
            border-radius: 2px 0 0 2px;
        }

        .pagination a:last-child {
            border: none;
            border-radius: 0 2px 2px 0;
        }

    .pagination input {
        float: left;
        margin: 0;
        padding: 0;
        width: 90px;
        height: 26px;
        outline: none;
        border: none;
        vertical-align: middle;
        text-align: center;
    }

