body.bodymain {padding:60px 5px 5px 5px;}

@media screen and (max-width: 767px) {
    body.bodymain { padding-top: 120px; }
}
@media screen and (min-width:768px) and (max-width: 991px) {
    body.bodymain { padding-top: 60px; }
}
@media screen and (min-width: 992px) {
    body.bodymain { padding-top: 60px; }
}


body.bodydefault {}
body.bodyprint {}
/*.content-wrapper {margin:5px 5px 5px 5px;} */

/*** custom checkboxes ***/
.checkboxinput { display:none; } /* to hide the checkbox itself */
.checkboxinput + label:before {
  font-family: FontAwesome;
  display: inline-block;
  font-size: 24px;
  padding:0;
}

body {color:#ccc !important;}

.checkboxinput + label:before { content: "\f096"; color:#ccc;} /* unchecked icon */
.checkboxinput + label:before { letter-spacing: 10px; } /* space between checkbox and label */

.checkboxinput:checked + label:before { content: "\f046"; color:#aaa;} /* checked icon */
.checkboxinput:checked + label:before { letter-spacing: 5px; } /* allow space for check mark */

.cardbody {background:#f1f1f1;}
.gridrowextra {margin:0;}
.tdnumrows {color:#888;}


tfoot {
    display: table-footer-group;
    vertical-align: middle;
    background:#757575;
    font-weight:bold;
}

.color3, .color3 td, .color3 a  {background-color:#ccffcc !important;color:#000 !important;} /* + Зелёный */
.color4, .color4 td, .color4 a  {background-color:#ffdb99 !important;color:#000 !important;} /* + Коричневый */
.color5, .color5 td, .color5 a  {background-color:#ffb3b3 !important;color:#000 !important;} /* + Красный */
.color6, .color6 td, .color6 a  {background-color:#ffe699 !important;color:#000 !important;} /* + Оранжевый */
.color7, .color7 td, .color7 a  {background-color:#ffd6cc !important;color:#000 !important;} /* + Розовый */
.color8, .color8 td, .color8 a  {background-color:#b3ffff !important;color:#000 !important;} /* + Синий */
.color9, .color9 td, .color9 a  {background-color:#ffccff !important;color:#000 !important;} /* + Фиолетовый */
.color10, .color10 td, .color10 a {background-color:#000 !important;color:#fff !important;}   /* + Чёрный */
.color1, .color1 td, .color1 a  {background-color:#fff !important;color:#000 !important;}    /* + Белый */
.color2, .color2 td, .color2 a  {background-color:#ffffcc !important;color:#000 !important;} /* + Жёлтый */

.redcolor {color:#ff0000;}
.groupheader {background-color:#666 !important;color:#fff !important;}
.nanorowselected {background-color:#80bfff !important;}
.pbtnwrapper {padding:8px 8px 0 0 !important;}
.formselect {min-width:200px;max-width: 300px;}
.formlabelcell {width: 30%;}
.forminputcell {width: 70%;}
.reqiered {color:#f00;}
.navigatorbody {background-color: #424241;}
.docbody {margin: 10px;}
.dd-option-text {display:block !important;}
a {text-decoration:none !important;}

.centered {
    /*background-color: #fff; */
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    display: inline-block;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 80%;
    height: 200px;
    margin: auto;
    padding: 20px;
}
.bigcentered {
    /*background-color: #fff; */
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    display: inline-block;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 80%;
    height: 50%;
    margin: auto;
    padding: 20px;
}

#mess {display:none;}

.table-objectcard td,
.table-objectcard th {
    border-top: 0 !important;
    border-bottom: 1px solid #737373 !important;
}
.totalstable {min-width:150px;}
.tdtextcenter {
   text-align: center;
}
.tdtextright {
   text-align: right;
}


.document-content-wrapper
{
    position:absolute;
    top: 60px;
    left:0px;
    right:0px;
    bottom:0px;
    overflow-y:scroll;
    padding:20px;
}
/*
.table-objectcard {
    border-left: 1px solid #e1e1e1 !important;
    border-right: 1px solid #e1e1e1 !important;
}
*/
div-fullwidth {width:100% !important;}
.search-form {padding-top:8px !important;}
.text-nowrap .form-control {display:inline-block !important;}


.loadingbar {
    border: 16px solid #3e444c;
    border-top: 16px solid #ff751a;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    background-color: transparent;
    z-index:999;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.pagination {margin:5px 0 !important;}
.input-nano {padding: 4px !important;height: 24px !important;font-size: 12px !important;}

.modal-dialog{
    position: relative;
    display: table; /* This is important */
    overflow-y: auto;
    overflow-x: auto;
    width: auto;
    min-width: 400px;
}

.table-super-condensed td, .table-super-condensed th {padding:2px 2px !important;font-size: 13px !important;}

.list-group-item {
    padding: 5px 5px !important;
}

.searchformli {padding-top:7px !important;}

.btn-group-xs > .btn, .btn-xs {
  padding: .25rem .4rem;
  font-size: .875rem;
  line-height: .5;
  border-radius: .2rem;
}
.modal-dialog{
    position: relative;
    display: table; /* This is important */
    overflow-y: auto;
    overflow-x: auto;
    width: auto !important;
    min-width: 400px !important;
}
.nano-panel-btn {margin-top:8px;}
.inpgraddon
{
    height: calc(1.5em + 0.5rem + 2px);
    padding: 0.25rem 0.5rem;
    font-size: 0.8203125rem;
    line-height: 1.5;
    border-radius: 0.2rem;
}
