@media print {
    .no-print {
        display: none;
    }
}

.pseudolink {
    color: #08C;
    border-bottom: 1px dashed #08C;
    cursor: pointer;
}

.pseudolink:hover {
    color: #2a6496;
    border-bottom: 1px dashed #2a6496;
    text-decoration: none;
}

.toggle-data {
    display:none;
}
.none {
    display: none;
}

.no-margin {
    margin: 0;
}

.fa {
    font-size: 14px;
}

label.to-pdf {
    background-color: #dfdfdf;
    padding-top: 6px ;
    padding-bottom: 6px ;
    padding-left: 10px ;
}
.modal-header {
    padding: 10px 20px;
}

.modal-footer {
    padding: 15px 20px;
    margin-top: 0;
}

.dropdown-menu>li>a, .dropdown-menu>li>button {
    display: block;
    /*padding: 3px 10px;*/
    padding-left: 10px;
    padding-top: 3px;
    padding-bottom: 3px;
    clear: both;
    font-weight: normal;
    color: #333;
    white-space: nowrap;
}

.dropdown-menu>li>a:hover, .dropdown-menu>li>button:hover {
    background-color: #428bca;
    color: #fff;
    border-radius: 0;
}

.btn-glyph {
    border: none;
    background: none;
    padding: 0;
    margin: 0;
}

.btn-glyph:focus, .btn-glyph:active {
    outline: none;
}

.btn-popover, .btn-popover:focus, .btn-popover:active {
    color: #428bca;
}

.btn-popover:hover {
    color: #3276b1;
}

.popover-error-title {
    color: red;
    font-weight: bold ;
}

.popover-alert {
    margin: 0;
    overflow: auto;
    max-height: 300px;
}

.popover {
    max-width: 900px;
}

.table-auto {
    width: auto;
}

.form-control {
    padding: 5px;
}

.form-inline .form-group {
    margin-bottom: 10px;
}
.form-inline .form-group label {
    /*width: 100px;*/
}
.input-currency {
    width: auto;
    display: inline;
    margin-left: 3px;
}

.input-price {
    width: 100px;
    display: inline;
}

.multiselect .caret {
    margin-left: 5px;
}

.multiselect-container {
    min-height: 0;
    padding: 5px 0;
}

.multiselect-container li a{
    /* padding: 2px 10px; */
    padding-left: 10px;
    padding-top: 2px;
    padding-bottom: 2px;
}

.multiselect-container li a label {
    padding-top: 0;
    padding-left: 5px;
    padding-right: 15px;
}

.multiselect-container li a label input[type="checkbox"] {
    margin: 0 3px 0 0;
    padding: 0;
}

.multiselect-container li a label input[type="radio"] {
    display: none;
}

.multiselect-container li a label.radio {
    padding: 0;
    min-height: 10px;
}

.panel-group .panel-no-border .panel-body{
    padding: 0;
}

/* Paging */
.paging {
    padding: 0;
}

.paging-top ul {
    margin: 0 0 10px 0;
}

.paging-bottom ul {
    margin: 10px 0 0 0;
}

.paging li a {
    padding: 4px 8px;
}

.paging li a:hover {
    background-color: #ddd;
}

.paging li.active a:hover {
    background-color: #428bca;
}
/* end Paging */

/* Header */
#header {
    padding: 10px 20px;
}

#header .btn {
    background-image: linear-gradient(to bottom,#fff,#e6e6e6);
}

#header #projects {
    margin-right: 100px;
}
#header .navbar-right {
    margin-top: 6px;
    text-align: right;
}

#header .navbar-right .fa {
    color: #08C;
}

#header .navbar-right span.divider {
    color: #ddd;
    margin: 0 5px;
}
#header .search-text {
    margin: -10px 5px 0 0;
    padding: 0;
    font-weight: bold;
    display: inline-block;
}
#header .search-id {
    margin: -10px 5px 0 0;
    padding: 0;
    width: 60px;
    text-align: left;
    display: inline-block;
}
#header .search-phone {
    margin: -10px 10px 0 0;
    padding: 0;
    width: 110px;
    text-align: left;
    display: inline-block;
}
#header .search-id .dropdown-menu {
    width: 350px !important;
}
#header .search-phone .dropdown-menu {
    width: 250px !important;
}
.search-by-id-msg,
.search-by-phone-msg {
    position: absolute;
    display: none;
    width: 250px;
    color: red;
}

#ChangePassBody .alert {
    margin: 0;
}
/* end Header */

/* Страница авторизации */
.login {
    width:300px;
    height:200px;
    position:absolute;
    left:50%;
    top:50%;
    margin:-100px 0 0 -150px;
}

#form-login {
    padding: 30px;
}

#form-login h3 {
    border-bottom: 1px solid #e3e3e3;
    padding-bottom: 5px;
    margin: 0 0 30px 0;
}

#form-login .input-group, #form-login button {
    margin-top: 20px;
}

#form-login .alert {
    padding: 7px;
    margin-top: 20px;
}
/* end Страница авторизации */


/* Фильтр таблицы  */
#page-content-grid #action-filter {
    margin-bottom: 10px;
}

#page-content-grid #action-filter #filter-nav {
    background: url("/img/ico/filter-action.png") left no-repeat;
    padding-left: 20px;
}

#page-content-grid #action-filter #filter-block {
    margin-top: 5px;
    margin-bottom: 15px;
    padding: 15px;
}

#page-content-grid #action-filter #filter-block .form-group {
    margin-right: 15px;
    margin-bottom: 10px;
}

#page-content-grid #action-filter #filter-block label.top {
    margin: 0;
}

#page-content-grid #action-filter #filter-block .clearfix {
    /*margin-bottom: 10px;*/
}

#page-content-grid #action-filter #filter-block .datepicker {
    width: 90px;
}

#page-content-grid #action-filter #filter-block .datetimepicker {
    width: 120px;
}

#page-content-grid #action-filter #filter-block .form-checkbox {
    height: 20px;
}
/* end Фильтр таблицы */

.page-content {
    margin: 20px;
}

/* Грид  */
#page-content-grid {
    margin: 20px;
}

#page-content-grid .grid-table {
    width: auto;
    margin-bottom: 0;
}

#page-content-grid .grid-table thead>tr>th {
    background-image: linear-gradient(to bottom,#e6e6e6,#fff);
    vertical-align: top;
}


#page-content-grid .table-striped>tbody>tr:nth-child(odd)>td {
    background-color: #f8f2ec;
}

#page-content-grid .table-hover>tbody>tr:hover>td {
    background-color: #DEFFDB !important;
}

#page-content-grid .grid-table tr th.sort {
    padding:0;
}

#page-content-grid .grid-table tr th.sort .btn {
    padding: 4px;
    width: 100%;
    border-radius: 0;
    text-align: inherit;
    font-weight: bold;
}

#page-content-grid .grid-table tr th.sort .sorted, #page-content-grid .grid-table tr th.sort .btn:hover {
    color: #ec971f;
}

#page-content-grid .grid-table tr th.sort .sorted .fa {
    font-size: 12px;
}

#page-content-grid .grid-table td hr {
    margin: 5px 0;
    border-top: 1px solid #ddd;
}

#page-content-grid .grid-table caption #action-add {
    text-align: left;
    padding-left: 0;
    margin-bottom: 15px;
}

#page-content-grid .grid-table caption #action-settings {
    text-align: right;
    padding-right: 0;
    margin-bottom: 15px;
}

#page-content-grid .grid-table caption #action-settings span.caret {
    margin-left: 10px;
}

#page-content-grid .grid-table caption #action-settings li {
    text-align: left;
}

#page-content-grid .grid-table caption #action-settings li span {
    margin-right: 10px;
}

#page-content-grid .grid-table caption #action-settings #ModalGridSettings {
    text-align: left;
}

#page-content-grid .grid-table td.row-actions {
    white-space: nowrap;
}

#page-content-grid .grid-table td.row-actions span {
    padding: 0 2px;
}

#page-content-grid .grid-table td.row-actions .action-pdf {
    color: #FE1618;
    width: 16px;
}

#page-content-grid .grid-table td.row-actions .action-show {
    color: #2a6496;
    width: 16px;
}

#page-content-grid .grid-table td.row-actions .action-edit {
    color: #ff8105;
    width: 16px;
}

#page-content-grid .grid-table td.row-actions .action-log {
    color: #666666;
    width: 16px;
}

#page-content-grid .grid-table td.row-actions .action-copy {
    color: #3300ff;
    width: 16px;
}

#page-content-grid .grid-table td.row-actions .action-archive-set {
    color: #cc6633;
}

#page-content-grid .grid-table td.row-actions .action-archive-get {
    color: #5cb85c;
}

#page-content-grid .grid-table td.row-actions .action-delete {
    color: red;
}

#page-content-grid .grid-table .action-actual {
    color: #7fba00;
}

#page-content-grid .grid-table .action-to_delete {
    color: red;
}
#page-content-grid .grid-table .action-check {
}

#page-content-grid .grid-footer {
    padding: 10px 0 0 0;
}

#page-content-grid #ModalGridActionError {
    margin: 10px 0 0 0;
}
/* end Грид  */

/* end Форма редактирования  */
#page-form-edit {
    margin: 20px;
    margin-bottom: 60px;
}

#page-form-edit .form-group {
    margin: 0 0 10px 0;
}

#page-form-edit .section {
    margin: 0 0 10px 0;
}

#page-form-edit .section div {
    padding: 8px 25px 8px 5px;
    font-weight: bold;
    text-align: right;
}

#page-form-edit .tab-content, #action-show .tab-content {
    margin-top: 20px;
}

#page-form-edit .panel-group {
    margin-bottom: 0;
}

#page-form-edit .panel-group .panel {
    overflow: initial;
}

#page-form-edit .panel-group .group-control-label {
    margin-right: 10px;
    font-weight: normal;
    vertical-align: top;
    margin-top: 6px;
}

#page-form-edit .panel-group .group-control {
    margin-right: 10px;
    display: inline-block;
    margin-bottom: 5px;
}

#page-form-edit .radio-inline input[type="radio"] {
    margin-top: 0;
}

#page-form-edit .panel-group .panel-heading {
    border-bottom: 1px solid #ddd;
}

#page-form-edit .panel-group .panel-body .group-row {
}

#page-form-edit-fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    margin: 0;
    padding: 10px 20px;
    width: 100%;
    /*
    background: #f5f5f5;
    border-top: 1px solid #CCCCCC;*/
}

#form-btn-cancel {
    margin-left: 10px;
}

#page-form-edit .control-validation {
    margin-top: 5px;
    display: none;
}

.validation-error {
    background-color: #f2dede;
    color: #a94442;
    padding: 3px 10px;
    border: 1px solid #ebccd1;
    border-radius: 4px;
}
/* end Форма редактирования  */

/* Модальное окно  */
#modal-loading .arcticmodal-loading {
    display: inline-block;
}

#modal-loading .content {
    width: 400px;
}

#modal-loading .content .alert {
    margin-bottom: 0;
}
/* end Модальное окно  */

/* Детальный просмотр */
#action-show .header {
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 10px;
    margin: 10px 0 0 0;
}

#action-show .header .nav > li > a {
    padding: 10px;
}

#action-show .dates {
    text-align: right;
    padding-top: 5px;
    height: 20px;
}

#action-show .dates span {
    font-weight: bold;
    margin-left: 20px;
}

#action-show .header ul {
    float: right;
    margin-top: -8px;
}

#action-show .footer {
    border-top: 1px solid #e5e5e5;
    margin-top: 20px;
    padding: 10px 0;
}

#action-show .footer .dropdown-menu img {
    margin-right: 5px;
}

#action-show .footer #comments p {
    margin-top: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e5e5e5;
}

#action-show .footer #comments p .label {
    font-size: 100%;
    font-weight: normal;
    padding: 8px 10px;
}

#action-show .footer #comments p .badge {
    margin-left: 15px;
}

#action-show .footer #comments #comments-add {
    margin-top: 15px;
}

#action-show .footer #comments #comments-text .date{
    font-style: italic;
}

#action-show .footer #comments #comments-text .user{
    font-weight: bold;
    margin: 0 15px;
}

#action-show .footer #comments input {
    width: 400px;
}

#action-show .footer #comments button {
    width: 200px;
    margin-left: 15px;
    display: inline;
}

#action-show .panel-group {
    margin-bottom: 5px;
}

#action-show .panel-group .group-control-label {
    margin-right: 10px;
    vertical-align: top;
}

#action-show .panel-group .group-control {
    margin-right: 10px;
    display: inline-block;
}

#action-show .section {
    margin: 0 0 10px 0;
}

#action-show .section div {
    padding: 4px 25px 4px 5px;
    font-weight: bold;
    text-align: right;
}

#action-show .show-file {
    margin-bottom: 5px;
}

#action-show .thumbnail {
    margin: 0 10px 10px 0;
}

#action-show .thumbnail>img {
    width: auto;
    height: 100px;
}

/* end Детальный просмотр */


/* Uploader */
.uploader .panel {
    margin-bottom: 0px;
    margin-left: 130px;
    padding: 0;
    background-color: #ededed;
    padding: 5px 10px;
}

.uploader .loading {
    margin-top: 5px;
}

.upload-error {
    margin-left: 10px;
    color: red;
    font-weight: bold;
}

.uploader .files li {
    margin: 0 20px 20px 0;
    background-color: #ededed;
    width: 200px;
    height: 150px;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.05);
    box-shadow: 0 1px 1px rgba(0,0,0,0.05);
}

.uploader .files li div.file-info {
    width: 170px;
    margin-right: 5px;
}

.uploader .files li div.file-info .err {
    color: red;
}
.uploader .files li.one-file {
    height: auto;
}

.uploader .files .bottom {
    margin-top: 110px;
}

.uploader .files li.placeholder {
}

.uploader-delete {
    margin: 0 !important;
    color: red;
}

.uploader-delete span {
    color: red;
}

.uploader .thumbnail {
    margin: 0 5px 5px 0;
}

.uploader .original i {
    margin: 5px 0 0 5px;
    font-size: 1.5em;
}

.uploader .thumbnail>img {
    max-width: 100px;
    max-height: 95px;
}
.uploader .file-title {
    width: 145px;
}
.uploader .file-check {
    width: 15px;
    padding-top: 4px;
}

.uploader .file-drad {
    cursor: pointer;
    padding: 3px 0;
}

.uploader .file-drad i {
    color: #666;
    font-size: 1.7em;
}
/* end Uploader */

/* Перетаскивание */
/*
body.dragging, body.dragging * {
    cursor: move !important;
}
ul.sortable li {
    cursor: move;
}
*/

.dragged {
    position: absolute;
    opacity: 0.5;
    z-index: 2000;
}
/* end Перетаскивание */

/* Инлайн таблица */
.inline-tbl-add {
    margin-bottom: 20px;
}

.inline-tbl-edit {
    color: #ff8105;
    width: 16px;
}
.inline-tbl-delete {
    color: red;
    width: 16px;
    margin-left: 5px;
}
/* end инлайн таблица */

.map-finder {
    margin-top: 10px;
}

.map-finder i {
    font-size: 2em;
}

#favorites  i {
    color: #ff8105 !important;
}

.btn-favorites i {
    color: #ff8105;
}

.for-manager:visited {
    color: #38556D;
}

#back-top {
    width: 30px;
    height: 30px;
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
}

#back-top a:hover {
    opacity: 1;
}

#back-top a {
    width: 100%;
    height: 100%;
    display: block;
    background: url(../../img/ico/top.png) no-repeat;
    opacity: 0.5;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

#calendar {
    margin: 20px auto;
    max-width: 900px;
    text-align: center;
    font-size: 14px;
}

/* Код увеличителя начинается здесь */
.ienlarger {
    float: left;
    clear: none; /* Можно установить left или right по необходимости */
    padding-bottom: 5px; /* Расстояние между миниатюрами. Лучше не трогать данное поле */
    padding-right: 5px; /* Расстояние между миниатюрами и окружающим текстом */
}

.ienlarger a {
    display:block;
    text-decoration: none;
    /* Если добавить правило cursor:default;, то отключится курсор в виде руки */
}

.ienlarger a:hover{ /* Не надо изменять тип позиционирования */
    position:relative;
}

.ienlarger span img {
    border: 1px solid #FFFFFF; /* Добавляем рамку вокруг изображения */
    margin-bottom: 8px; /* /Сдвигаем текст вниз от изображения */
    max-height: 300px;
}

.ienlarger span {  /* Для большого изображения и названия */
    position: absolute;
    display:none;
    background-color: gray;
    padding: 10px;
}

.ienlarger img { /* Для IE, чтобы не было рамки вокруг ссылки */
    border-width: 0;
}

.ienlarger a:hover span {
    display:block;
    top: -125px; /* Большое изображение выскакивает вверх на 50px от миниатюры */
    left: 75px; /* Большое изображение выскакивает влево на 90px от миниатюры */
    z-index: 100;
    /* Если добавить правило cursor:default;, то отключится курсор в виде руки на большом изображении */
}

.resize_thumb {
    width: auto;
    height : 30px;
}
.resize_thumb_50 {
    width: auto;
    height : 50px;
}
/* Код увеличителя закончен */

#reminders i {
    font-size: 16px;
}
#reminders_count {
    background-color: #ea3d36;
    color: #fff;
    position: relative;
    display: inline-block;
    padding: 2px;
    font-size: 16px;
    line-height: 16px;
    top: -7px;
    left: -7px;
    border-radius: 7px;
    text-align: center;
    min-width: 20px;
    text-decoration: none;
}

#reminders_list {
    text-align: left;
    width: 300px;
    position: absolute;
    top: 40px;
    right: 340px;
    display: inline-block;
    border-radius: 3px;
    border: 1px solid #dfdfdf;
    background-color: #ffffff;
    z-index: 10;
}

#reminders_list .reminders_messages {
    max-height: 200px;
    overflow: auto;
}

#reminders_list .reminders_messages ul {
    margin: 0;
    padding: 10px 0;
}

#reminders_list .reminders_messages li {
    list-style: none;
}

#reminders_list .reminders_messages li a {
    padding: 5px 20px;
    display: block;
    text-decoration: none;
}

#reminders_list .reminders_messages li a:hover {
    background-color: #428bca;
    color: #fff;
    border-radius: 0;
}

.action-send_pdf, .action-send_pdf:hover {
    color: #ffaa00;
    float: left;
}

.action-survey {
    color: #faa803;
    float: left;
}
.survey-sent {
    color: green;
}

.action-add-row, .action-add-row:hover {
    color: #5cb85c;
}
.action-delete-row, .action-delete-row:hover {
    color: red;
}
.table-dynamic {
    margin-top: 5px;
}
.table-dynamic td {
    padding: 2px;
}
.table-dynamic thead {
    display: none;
}
.table-dynamic thead td {
    font-weight: bold;
}
.table-dynamic .form-control {
    display: inline-block;
}

.table-invoice td {
    font-size: 14px;
    padding: 10px 0 !important;
}
.table-invoice td.sum {
    vertical-align: bottom;
    font-weight: bold;
    padding-left: 100px !important;
}
.table-invoice tr.noborder td {
    border: none !important;
    padding-top: 0 !important;
}
.table-invoice label {
    min-width: 150px;
}
.table-invoice-stage td {
    font-size: 14px;
}
.table-invoice-stage td .ttl{
    font-weight: bold;
    padding-right: 10px;
}

@media (max-width: 1000px) {
    #header #projects {
        margin-right: 10px;
    }
}

@media (max-width: 1280px) {
    #header span.lg {
        display: none;
    }
}

#modalRequestOffers .modal-body {
    overflow-y: auto;
    margin: 1px;
}

#modalRequestOffers .modal-body .nav-tabs {
    margin-bottom: 10px;
}