/*test*/
/*navbar*/
.test {
    display: block;
    text-align: center;
}

.empty-messages {
    margin-top: 13px;
    color: #9c9c9c;
    font-size: 11px;
}

.btn-shadow-reworked {
    box-shadow: 0px 0px 1px 1px #bfc5cb;
}

.btn-shadow-reworked:active, .btn-shadow-reworked.active, .open > .btn-shadow-reworked.dropdown-toggle {
    box-shadow: 0px 0px 1px 1px #bfc5cb;
    background-color: #6185a8;
    border-color: #6185a8;
    color: #fff;
}

.btn-color-reworked:hover {
    background-color: #6185a8;
}
.btn-color-reworked {
    background-color: #fff;
}

.link-delete {
    color: #e74c3c;
}
.link-delete:hover {
    color: #e74c3c;
}

.link-gray {
    color: #9c9c9c;
}
.link-gray:hover {
    color: #9c9c9c;
}

/*end test*/

/*camera model id*/

/*.protocol-card .md-form-group {*/
    /*padding: 3px;*/
/*}*/
/*.protocol-card .md-form-group {*/
    /*margin-bottom: 3px;  !important;*/
/*}*/

/*.protocol-card .form-group {*/
    /*margin-bottom: 6px;*/
/*!important;*/
/*}*/

.protocol-card .md-form-group {
    padding: 3px;
}

.protocol-card .md-control-label::after {
    bottom:3px;
}

.protocol-card .md-form-group input::-moz-placeholder {
    color: #d4d4d4;
}

.protocol-card .md-form-group input::-webkit-input-placeholder {
    color: #d4d4d4;
}

.protocol-card .card-footer {
    padding: 0; border: none;
}

.protocol-card .p-0-b-0 {
    padding: 0; border: none;
}

/*end cam mod id*/

/*profile*/

.profile-cover {
    /*background-color:#2c3e50;*/
    background-image: url("../img/smolniy.jpg");
!important;
    /*margin-left: 4%;*/
}

/*color:#7b99b7}.text-primary{color:#2c3e50}a.text-primary:focus,a.text-primary:hover{color:#1a252f}.text-success{color:#35cf76}a.text-success:focus,a.text-success:hover{color:#28a95e}.text-info{color:#3498db}a.text-info:focus,*/

/*reports-new*/

.qr-upload-btn {
    width: 50%;
    padding: 7%;
}

.w-100 {
    width: 100%;
}

.o-0 {
    opacity: 0;
}

.m-b-25 {
    margin-bottom: 25px;
}

.file-upload-input-o {
    opacity: 0;
    position: absolute;
}

/*reports-edit*/

.reports-edit-page .file-delete-btn-1 {
    background-color: rgba(0, 0, 0, .4);
    background-image: none;
    border: none;
    border-radius: 0;
    color: #fff;
    cursor: pointer;
    display: block;
    font-size: 14px;
    height: 24px;
    line-height: 18px;
    padding: 0;
    position: absolute;
    right: 0;
    text-align: center;
    top: 0;
    width: 24px;
}

.reports-edit-page .file-delete-btn-1:hover {
    background-color: #2c3e50;
}

.reports-edit-page .photo-button {
    position: relative;
    width: 100%; /* desired width */
}

.reports-edit-page .photo-button img {
    cursor: pointer;
    fill: #32475C;
    color: #32475C;
}

.reports-edit-page .photo-button img:hover {
    fill: #2C3E50;
    color: #2C3E50;
    width: 41%;
    height: 41%;
}

.reports-edit-page .photo-button:before {
    content: "";
    display: block;
    padding-top: 100%;
}

.reports-edit-page .photo-button-content {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
}

.reports-edit-page .photos::after {
    clear: both;
}

.reports-edit-page .photos::after, .store-page .photos::before {
    content: " ";
    display: table;
}

.reports-edit-page .photo {
    float: left;
    margin-bottom: 30px;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
    position: relative;
    width: 50%;
}

.reports-edit-page .photos {
    list-style: none;
    margin: 0 -15px;
    padding-left: 0;
}

.reports-edit-page .overlay-top {
    /*padding: 3%;!important;*/
}

.reports-edit-page .photo-delete {
    color: #e74c3c;
    cursor: pointer;
    float: right;
}

.reports-edit-page .photo-delete:hover {
    color: #d62c1a;
}

.reports-edit-page .photo-details {
    padding: 10px;
    text-align: center;
}

.reports-edit-page .photo-date {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    margin-bottom: 5px;
    margin-top: 0;
}

.reports-edit-page .right-40 {
    right: 40%;
!important;
    top: -2px;
!important;
}

@media (max-width: 991px) {
    .reports-edit-page .layout-content-body {
        -webkit-animation-duration: 0;
        -o-animation-duration: 0;
        animation-duration: 0;
        -webkit-animation-fill-mode: none;
        -o-animation-fill-mode: none;
        animation-fill-mode: none;
        -webkit-animation-name: none;
        -o-animation-name: none;
        animation-name: none;
    }

    .reports-edit-page .photo:nth-child(2n+1) {
        clear: both;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .reports-edit-page .photo {
        width: 33.33333333%;
    }

    .reports-edit-page .photo:nth-child(3n+1) {
        clear: both;
    }
}

@media (min-width: 1200px) {
    .reports-edit-page .photo {
        width: 25%;
    }

    .report-edit .photo:nth-child(4n+1) {
        clear: both;
    }
}

/*org*/

.org-page .popover-content {
    padding: 0;
!important;
}

/*sidebar*/

.custom-scrollbar .test {
    color: #cad6e2;
    display: block;
    font-size: 13px;
    line-height: 18px;
    padding: 10px 15px;
    position: relative;
    text-decoration: none;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.switch-track {
    background-color: #D5DBE1;
}

.switch-thumb {
    border-color: #D5DBE1;
}

.form-group {
    margin-bottom: 6px;
!important;
}

.layout-sidebar-body .switch-track {
    /*background-color: #6185a8;*/
    background-color: #2c3e50;
}

.layout-sidebar-body .switch-thumb {
    /*border-color: #6185a8;*/
    border-color: #2c3e50;
}

/*todo remove */

.sidenav > li.hover > a, .sidenav > li:hover > a.bg-test:hover.switch {
    /*background-color: #32475C;!important;*/
    background-color: #32475C;
!important;
}

/*users*/

.user-form .form-group {
    margin-bottom: 6px;
!important;
}

.users-page .form-horizontal .control-label {
    text-align: right;
    margin-bottom: 0;
    padding-top: 7px;
}

.users-page .table > tbody + tbody {
    border-top: 0px solid #cad6e2;
}

/*reports*/

    /*.reports-page .btn-default {*/
    /*background-color: #fff;*/
    /*border-color: #6185a8;*/
    /*color: #2c3e50;*/
    /*overflow: hidden;*/
}

/*report*/

.report-page .photo-button {
    position: relative;
    width: 100%;
}

.report-page .photo-button:before {
    content: "";
    display: block;
    padding-top: 100%;
}

.report-page .photo-button-content {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
}

.report-page .photos::after {
    clear: both;
}

.report-page .photos::after, .store-page .photos::before {
    content: " ";
    display: table;
}

.report-page .photo {
    float: left;
    margin-bottom: 30px;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
    position: relative;
    width: 50%;
}

.report-page .photos {
    list-style: none;
    margin: 0 -15px;
    padding-left: 0;
}

.report-page .photo-details {
    padding: 10px;
    text-align: center;
}

.report-page .photo-date {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    margin-bottom: 5px;
    margin-top: 0;
}

.report-page .border-1 {
    border: 1px solid #e67e22;
    opacity: 0.9;
    padding: 10%;
}

@media (max-width: 991px) {
    .report-page .layout-content-body {
        -webkit-animation-duration: 0;
        -o-animation-duration: 0;
        animation-duration: 0;
        -webkit-animation-fill-mode: none;
        -o-animation-fill-mode: none;
        animation-fill-mode: none;
        -webkit-animation-name: none;
        -o-animation-name: none;
        animation-name: none;
    }

    .report-page .photo:nth-child(2n+1) {
        clear: both;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .report-page .photo {
        width: 33.33333333%;
    }

    .report-page .photo:nth-child(3n+1) {
        clear: both;
    }
}

@media (min-width: 1200px) {
    .report-page .photo {
        width: 25%;
    }

    .report-edit .photo:nth-child(4n+1) {
        clear: both;
    }
}

/*objects*/

.map-wrapper {
    display: inline-block;
    position: relative;
    width: 100%;
}
.map-dummy {
    margin-top: 75%; /* 4:3 aspect ratio */
}
.map-container {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
#ymap {
    width: 100%; height: 100%; padding: 0; margin: 0;;
}

.object-form .form-group {
    margin-bottom: 6px;
!important;
}

.objects-page .role-icon {
    font-size: 22px;
!important;
    margin: 5px auto 4px;
!important;
}

.objects-page .form-horizontal .control-label {
    text-align: right;
    margin-bottom: 0;
    padding-top: 7px;
}

.qr-loading {
    width: 100%;
    min-height: 100px;
    height: 100%;
    text-align: center;
}

/*all*/
.h4-16 {
    font-size: 16px;
}

.bg-grey {
    background-color: #f2f5f8;
!important;
}

.bg-darkgray {
    background-color: #9c9c9c;
!important;

}

.bg-lightgray {
    background-color: lightgray;
!important;
}

.color-lightgray {
    color: lightgray;
!important;
}

.color-white {
    color: #ffffff;
}

.icon-grey {
    color: #9c9c9c;
}

.icon-darkgray {
    color: darkgray;
}

.color-grey {
    color: #9c9c9c;
}

.icon-red {
    color: #b60205;
}

.icon-button {
    color: #6185A8;
    cursor: pointer;
}

.icon-button:hover {
    color: #32475C;
}

.icon-warning {
    color: #E67E22;
}

.icon-inactive {
    color: #d4d4d4;
}

.icon-child-no-shadow {
    padding: 1px 3px 3px 3px;
    -webkit-box-shadow: 0px 0px 0px 0px #fff;
    box-shadow: 0px 0px 0px 0px #fff;
}

.icon-default {
    color: #6185a8;
}

.icon-danger {
    color: #e74c3c;
}

.icon-yellow {
    color: #e6e600;
}

.icon-success {
    color: #35cf76;
}

.icon-info-color {
    color: #217dbb;
}

.icon-64 {
    font-size: 64px;
}

.icon-40 {
    font-size: 40px;
}

.icon-14 {
    font-size: 14px;
}

.color-telegram {
    color: #179cde;
}

.color-viber {
    color: #59267c;
}

.color-red {
    color: #b60205;
}

.scroll-table {
    overflow-x: auto;
}

.spinner-middle {
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
}

.loading-spinner {
    margin-left: 8px;
}

.c-p {
    cursor: pointer;
}

.color-grey {
    color: #7b99b7;
}

.bg-white {
    background-color: #fff;
}

.bg-viber {
    background-color: #59267c;
}

.f-l {
    float: left;
    display: block;
}

.f-r {
    float: right;
    display: block;
}

.p-15 {
    padding-left: 15px;
    padding-right: 15px;
}

.p-0 {
    padding-left: 0;
    padding-right: 0;
}

.border-sides-grey {
    border-right: 1px solid #f6f6f6;
    border-left: 1px solid #f6f6f6
}

.border-top-grey {
    border-top: 1px solid #f6f6f6;
}

.select-reworked .btn-default {
    background-color: #fff;
!important;
    border-color: #6185a8;
!important;
    color: #2c3e50;
!important;
    overflow: hidden;
!important;
}

.select-reworked .btn-default:active {
    background-color: #fff;
!important;
    border-color: #6185a8;
!important;
    color: #2c3e50;
!important;
    overflow: hidden;
!important;
}

@font-face {
    font-family: 'icon-viber';
    src: url('../fonts/fa-viber.eot?-3dwksg');
    src: url('../fonts/fa-viber.eot?#iefix-3dwksg') format('embedded-opentype'),
    url('../fonts/fa-viber.ttf?-3dwksg') format('truetype'),
    url('../fonts/fa-viber.woff?-3dwksg') format('woff'),
    url('../fonts/fa-viber.svg?-3dwksg#fa-viber') format('svg');
    font-weight: normal;
    font-style: normal;
}

.icon-viber:before {
    font-family: 'icon-viber';
    content: "\e666";
}

.dashboard .card span small {
    color: #ffffff !important;
    opacity: 0.6;
    font-size: small;
}

.objects-key {
    font-size: 86%;
    color: darkgray;
}

/*! user/id */

.page-object-img {
    background-color: #fff;
    border: 3px solid #fff;
}

.page-avatar-img {
    background-color: #fff;
    border: 3px solid #fff;
    border-radius: 50%;
}

.page-avatar-img-min {
    background-color: #fff;
    border: 1px solid #fff;
    border-radius: 50%;
}

.contacts-page {
    background-color: #fff;
    border-color: #fff;
    color: #2c3e50;
}

.contacts {
    background-color: #fff;
    border-color: #fff;
    color: #2c3e50;
    height: 100%;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.contacts-sidebar {
    -webkit-animation-duration: 1s;
    -o-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    -o-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-name: fadeInRight;
    -o-animation-name: fadeInRight;
    animation-name: fadeInRight;
    display: none;
    padding: 15px;
}

.contacts-sidebar.active {
    display: block;
}

.contacts-list {
    list-style: none;
    margin: 0 -5px;
    padding-left: 0;
}

.contacts-list-item {
    display: block;
    padding: 5px;
    position: relative;
}

.contacts-list-link {
    border-radius: 0;
    color: #2c3e50;
    cursor: pointer;
    display: block;
    padding: 10px;
    position: relative;
}

.contacts-list-link:hover,
.contacts-list-link:focus {
    background-color: #e5ebf1;
    color: #3a5269;
    text-decoration: none;
}

.contacts-list-link.active,
.contacts-list-link.active:hover,
.contacts-list-link.active:focus {
    background-color: #2c3e50;
    color: #fff;
}

.contacts-list-heading {
    font-weight: 700;
}

.contacts-list-divider {
    clear: both;
    display: block;
    padding: 5px;
    position: relative;
}

.contacts-list-divider:before {
    background-color: #cad6e2;
    content: "";
    display: block;
    height: 1px;
    left: 15px;
    position: absolute;
    right: 0;
    top: 50%;
}

.contacts-list-avatar {
    float: left;
    margin-right: 10px;
}

.contacts-list-details {
    min-height: 40px;
    overflow: hidden;
}

.contacts-list-name {
    color: inherit;
    line-height: 20px;
    margin-bottom: 0;
    margin-top: 0;
}

.contacts-content {
    -webkit-animation-duration: 1s;
    -o-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    -o-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-name: fadeInRight;
    -o-animation-name: fadeInRight;
    animation-name: fadeInRight;
    display: none;
}

.contacts-content.active {
    display: block;
}

.contacts-toolbar {
    background-color: #fff;
    -webkit-box-shadow: 0 2px 2px -2px rgba(0, 0, 0, 0.5);
    box-shadow: 0 2px 2px -2px rgba(0, 0, 0, 0.5);
}

.contacts-toolbar:before,
.contacts-toolbar:after {
    content: " ";
    display: table;
}

.contacts-toolbar:after {
    clear: both;
}

.contacts-toolbar-tools {
    float: right;
}

.contacts-content-body {
    max-width: 1000px;
    padding: 30px;
    text-align: center;
}

.contacts-avatar {
    margin: 15px auto;
    position: relative;
    width: 128px;
}

.object-avatar {
    margin: 15px auto;
    position: relative;
    width: 192px;
}

.contacts-avatar-btn {
    background-color: rgba(0, 0, 0, 0.5);
    background-image: none;
    border: none;
    border-radius: 0 0;
    bottom: 0;
    color: #fff;
    cursor: pointer;
    display: block;
    font-size: 13px;
    height: 30px;
    line-height: 30px;
    margin: 0;
    overflow: hidden;
    padding: 0;
    position: absolute;
    right: 0;
    text-align: center;
    width: 30px;
}

.contacts-avatar-btn:hover,
.contacts-avatar-btn:focus {
    background-color: #2c3e50;
    color: #fff;
}

.contacts-name {
    font-weight: 300;
    margin-bottom: 0;
    margin-top: 0;
}

.contacts-settings {
    -webkit-animation-duration: 1s;
    -o-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    -o-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-name: fadeInRight;
    -o-animation-name: fadeInRight;
    animation-name: fadeInRight;
    display: none;
}

.contacts-settings-body {
    display: table;
    height: 100%;
    table-layout: fixed;
    width: 100%;
}

.contacts-settings-inner {
    display: table-cell;
    height: 100%;
    padding-bottom: 45px;
    padding-top: 45px;
    vertical-align: middle;
    width: 100%;
}

.contacts-page .title-bar {
    margin-bottom: 10px;
}

.contacts-page .dropdown-menu {
    margin: 0;
}

.contacts-page .sidenav > li.active > a:after {
    border-right-color: #fff;
}

.contacts-page .form-groups {
    padding-bottom: 15px;
    padding-top: 15px;
    text-align: left;
}

.contacts-page .media-heading {
    font-weight: 300;
}

@media (min-width: 480px) {
    .contacts-list-item {
        float: left;
        width: 50%;
    }
}

@media (min-width: 992px) {
    .contacts-sidebar {
        border-right: 1px solid #cad6e2;
        bottom: 0;
        display: block;
        position: absolute;
        top: 0;
        width: 280px;
    }

    .contacts-sidebar-body {
        bottom: 0;
        left: 0;
        overflow: hidden;
        position: absolute;
        right: 0;
        top: 60px;
    }

    .contacts-list {
        margin-left: 0;
        margin-right: 0;
    }

    .contacts-list-divider {
        margin-left: 15px;
        margin-right: 15px;
        padding-left: 0;
        padding-right: 0;
    }

    .contacts-list-item {
        padding: 0;
        width: 100%;
    }

    .contacts-list-link {
        border-radius: 0;
        padding-left: 15px;
        padding-right: 15px;
    }

    .contacts-content {
        bottom: 0;
        display: block;
        left: 280px;
        overflow-x: hidden;
        overflow-y: auto;
        position: absolute;
        right: 0;
        top: 0;
    }

    .contacts-toolbar {
        border-bottom: 1px solid #cad6e2;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

    .contacts-settings {
        bottom: 0;
        display: block;
        left: 280px;
        overflow-x: hidden;
        overflow-y: auto;
        position: absolute;
        right: 0;
        top: 0;
    }

    .contacts-page .layout-content {
        bottom: 0;
        left: 0;
        overflow-x: hidden;
        overflow-y: auto;
        position: absolute;
        right: 0;
        top: 50px;
        z-index: 1000;
    }

    .contacts-page .title-bar {
        display: none;
    }
}

/*.user_color_0, .user_color_0:hover {*/
    /*color: #c07844*/
/*}*/

/*.user_color_1, .user_color_1:hover {*/
    /*color: #8365ab*/
/*}*/

/*.user_color_2, .user_color_2:hover {*/
    /*color: #539e4f*/
/*}*/

/*.user_color_3, .user_color_3:hover {*/
    /*color: #ae9661*/
/*}*/

/*.user_color_4, .user_color_4:hover {*/
    /*color: #4979a3*/
/*}*/

/*.user_color_5, .user_color_5:hover {*/
    /*color: #b7635d*/
/*}*/

/*.user_color_6, .user_color_6:hover {*/
    /*color: #b3577a*/
/*}*/

/*.user_color_7, .user_color_7:hover {*/
    /*color: #5397b4*/
/*}*/

.user_bgcolor_0 {
    background: #fba76f
}

.user_bgcolor_1 {
    background: #cc90e2
}

.user_bgcolor_2 {
    background: #80d066
}

.user_bgcolor_3 {
    background: #ecd074
}

.user_bgcolor_4 {
    background: #6fb1e4
}

.user_bgcolor_5 {
    background: #e57979
}

.user_bgcolor_6 {
    background: #f98bae
}

.user_bgcolor_7 {
    background: #73cdd0
}

.peer_initials::before {
    content: attr(data-content)
}

.peer_initials {
    display: block;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    line-height: 32px;
    font-size: 13px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    /*border: 1px solid #cad6e2;*/
}

.peer_initials_big {
    width: 128px;
    height: 128px;
    line-height: 128px;
    font-size: 28px;
}


/*button gray*/



.btn-gray {
    background-color: #fff;
    border-color: #dae0e6;
    color: #32475c;
    /*color: #a9a9a9;*/

}

.btn-gray:focus, .btn-gray.focus {
    background-color: #dae0e6;
    border-color: #dae0e6;
    color: #32475c;
}

.btn-gray:hover {
    background-color: #dae0e6;
    border-color: #dae0e6;
    /*border-color: #9c9c9c;*/
    color: #32475c;
    /*color: #d5dbe1;*/
    /*color: ;*/
    /*color: #dae0e6;*/
    /*color: #d4d4d4;*/
    /*color: #bfc5cb;*/
    /*color: #aeaeae;*/
}

.btn-gray:active, .btn-gray.active,
.open > .btn-gray.dropdown-toggle {
    background-color: #f2f5f8;

    /*background-color: #d5dbe1;*/
    border-color: #d5dbe1;
    color: #32475c;
}
.btn-gray:active:hover, .btn-gray:active:focus, .btn-gray:active.focus, .btn-gray.active:hover, .btn-gray.active:focus, .btn-gray.active.focus,
.open > .btn-gray.dropdown-toggle:hover,
.open > .btn-gray.dropdown-toggle:focus,
.open > .btn-gray.dropdown-toggle.focus {
    background-color: #d5dbe1;
    border-color: #d5dbe1;
    color: #32475c;
}

.btn-gray.disabled:hover, .btn-gray.disabled:focus, .btn-gray.disabled.focus, .btn-gray[disabled]:hover, .btn-gray[disabled]:focus, .btn-gray[disabled].focus,
fieldset[disabled] .btn-gray:hover,
fieldset[disabled] .btn-gray:focus,
fieldset[disabled] .btn-gray.focus {
    background-color: #d5dbe1;
    border-color: #d5dbe1;
    color: #32475c;

}

.btn-gray .badge {
    background-color: #fff;
    color: #32475c;
}

.btn-gray:active:hover, .btn-gray:active:focus, .btn-gray:active.focus, .btn-gray.active:hover, .btn-gray.active:focus, .btn-gray.active.focus .icon-success {
    color: #32475c;
}

.icon-link-gray {
    color: #9c9c9c;
}

.icon-link-gray:hover {
    color: #6185a8;
    /*color: #32475c;*/
}