body {
    color: #3B4A51 !important;
    font-family: "Roboto", "Helvetica Neue", Helvetica, Arial !important;
    background-color: #ebeff1 !important;
    font-size: 16px !important;
    font-weight: 400 !important;
}

div,
th,
td,
span,
a {
  font-weight: 400 !important;
}


#sortBuilding, #editBuilding md-content {
    background-color: #ebeff1;
}

@keyframes background {
    from {
        background-position: 0 0%;
    }
    to {
        background-position: 0 -200px;
    }
}
.logo-text h1 {
    margin-left: 15px;
    color: #F2F5FE;
    text-align: center;
    font-size: 36px;
    font-family: 'Rajdhani', sans-serif !important;
    background: -webkit-linear-gradient(transparent, transparent), url(http://html5book.ru/wp-content/uploads/2016/08/bubbles.png) repeat;
    background-size: 200px auto;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    animation: background 10s infinite linear;
}

md-content.md-default-theme, md-content {
    color: #3B4A51;
}

md-input-container.md-default-theme label, md-input-container label, md-input-container.md-default-theme ._md-placeholder, md-input-container ._md-placeholder {
    color: #3B4A51;
}

md-input-container.md-default-theme.md-input-has-value:not(.md-input-invalid) label, md-input-container.md-input-has-value:not(.md-input-invalid) label {
    color: #3B4A51;
}

body a {
    color: #1976d2;
}

body i.material-icons {
    color: rgba(76,87,102,0.5) !important;
}

label {
    margin: 0 !important;
    color: rgba(0, 0, 0, 0.38) !important;
    font-weight: 400 !important;
}

.panel_housing th {
    font-weight: 400 !important;
}

.nav-titles th {
    color: rgba(0, 0, 0, 0.38) !important;
}

.nav-date-create {
  min-width: 200px;
}

.md-inline-form md-checkbox {
    margin: 7px 0 !important;
}

body #add-building i.material-icons,
body #edit-matrix i.material-icons,
body #edit-chess i.material-icons,
body #add-plan i.material-icons,
body #save-plan i.material-icons,
body #edit-pavilion i.material-icons,
body #edit-building i.material-icons {
    color: white !important;
}

body a:hover {
    color: #0d47a1;
    text-decoration: none;
}

body a:active {
    color: #0d47a1;
    text-decoration: none;
}

md-input-container.md-default-theme.md-input-focused:not(.md-input-invalid) .md-input, md-input-container.md-input-focused:not(.md-input-invalid) .md-input, md-input-container.md-default-theme.md-input-resized:not(.md-input-invalid) .md-input, md-input-container.md-input-resized:not(.md-input-invalid) .md-input {
    border-color: #1976D2;
}

[draggable] {
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    /* Required to make elements draggable in old WebKit */
    -khtml-user-drag: element;
    -webkit-user-drag: element;
}

.poligon {
    z-index: 999;
}

.del {
    position: absolute;
    float: left;
    top: 5px;
    left: 5px;
    padding: 3px;
    background: #fff;
    width: 30px;
    height: 30px;
}

#col {
    margin: 5px;
    float: left;
    --border: 3px solid silver;
    --padding: 5px;
    --box-shadow: 0 0 10px rgba(100, 100, 100, 0.5);
    width: 190px;
    height: 170px;
    overflow: hidden;
    text-align: center;
    position: relative;
}

.column.over, .column img.over {
    border: 2px dotted #000;
}

.column {
    cursor: move;
    position: absolute;
}

/* Демонстрационное меню */
.container_nav {
    position: relative;
}

.nav_link {
    padding: 5px 0;
}

.nav_link:hover {
    cursor: pointer;
}

.nav_link:hover .nav_ul {
    display: block;
}

.nav_ul {
    position: absolute;
    top: 30px;
    left: 0;
    background: #FFF;
    z-index: 999;
    border: 1px solid #DEDEDE;
    list-style: none;
    padding-left: 0;
    display: none;
}

.nav_ul a {
    display: block;
    padding: 5px 10px;
}

/* END Демонстрационное меню */

a:focus,
button:focus {
    outline: none;
}

.head_logo {
    border: 2px solid #000;
    text-align: center;
    width: 70%;
    margin: 25px 0 0 0;
}

.back {
    margin-top: 25px;
}

.back a {
    display: block;
    color: #000;
    border: 2px solid #000;
    padding: 5px 0;
    text-align: center;
    width: 30%;
    margin: 42px auto 0 auto;
}

.back a:hover,
.add_housing:hover,
.add_stock:hover,
.all_stocks:hover {
    text-decoration: none;
    background: #DEDEDE;
    color: #000;
}

.navbar_left {
    padding-left: 0;
}

.col_search {
    margin-top: 15px;
}

.panel_housing h4 {
    font-weight: bold;
}

.panel_housing a {
    display: block;
}

.housing,
.housing_sub {
    list-style: none;
}

.table_housing a {
    display: block;
}

.delete,
.delete a {
    margin-top: 0 !important;
}

.delete a {
    width: 100%;
}

.add_housing,
.add_stock,
.all_stocks {
    border: 2px solid #000;
    padding: 5px 0;
    text-align: center;
    color: #000;
    margin-top: 15px;
}

.all_housing {
    border: 2px solid #000;
    padding: 5px 0;
    text-align: center;
    color: #000;
    margin-top: 5px;
}

.all_stocks {
    margin-top: 5px !important;
}

.add_stock,
.all_stocks {
    display: block;
}

.row_stock {
    margin-top: 25px;
}

.row_stocks {
    margin-bottom: 100px;
}

.add_page_hous {
    margin-top: 25px;
}

.all_housing {
    display: block;
}

.panel_housing h4 {
    border-bottom: 1px solid #DEDEDE;
    overflow: hidden;
}

.panel_housing span {
    font-weight: normal;
    font-size: 12px;
}

.hous_name {
    overflow: hidden;
    border-bottom: 1px solid #DEDEDE;
}

.housing_sub li {
    overflow: hidden;
    border-bottom: 1px solid #DEDEDE;
    padding: 5px 0;
}

table {
    font-size: 12px !important;
}

.table_striped_gk {
    width: 100%;
}

.table_striped_gk td {
    padding-top: 5px;
    padding-bottom: 5px;
    text-align: center;
}

.table_left {
    text-align: left !important;
}

.table_left_hous {
    padding-left: 25px;
}

.table_left_sect {
    padding-left: 50px;
}

.matrix_title h3 {
    margin-top: 5px;
}

.navbar_navm1 li a:hover {
    background: #E7E7E7 !important;
}

.navbar_navm1_wgt {
    font-weight: bold !important;
}

.col_matrix_control h4 {
    text-align: center;
}

.table_striped {
    margin: 50px auto;
    border-bottom: 1px solid #DDDDDD;
}

.table_striped a {
    color: #333;
    display: block;
}

.table_striped a:hover {
    text-decoration: none;
}

.table_striped th {
    padding: 0 !important;
    vertical-align: middle !important;
}

.table_striped th input[type="text"] {
    /*font-weight: bold;*/
    background: #E7E7E7;
    font-size: 12px;
    width: 40px;
    height: 40px;
    text-align: center;
}

.floor {
    position: relative;
}

.table_striped td:first-child input[type="text"] {
    font-weight: bold;
    background: #E7E7E7;
    padding: 0 !important;
    vertical-align: middle !important;
}

.table_striped td {
    border-right: 1px solid #DDDDDD !important;
    font-size: 12px;
    width: 40px;
    height: 40px;
    padding: 0 !important;
    vertical-align: middle !important;
    text-align: center;
}

.top_floor {
    position: absolute; /*border: 1px solid #DDDDDD;*/
    padding-left: 0;
    list-style: none;
    top: -31px;
    left: -66px;
    font-size: 12px;
    width: 65px;
}

.top_floor_plus:hover,
.top_floor_minus:hover,
.bottom_floor_minus:hover,
.bottom_floor_plus:hover,
.right_stoyak_plus:hover,
.right_stoyak_minus:hover {
    cursor: pointer;
}

.bottom_floor {
    position: absolute;
    padding-left: 0;
    list-style: none;
    top: 9px;
    left: -66px;
}

.right_stoyak {
    position: absolute;
    padding-left: 0;
    list-style: none;
    width: 130px;
    overflow: hidden;
    top: -31px;
    right: -65px;
    font-size: 12px;
}

.apart_td {
    width: 39px;
    height: 39px;
    border: none;
    text-align: center;
    line-height: 39px;
}

.apart_td:focus {
    outline: none;
}

/* MATRIX */
#selectable {
    /*margin: 50px auto; border-bottom: 1px solid #DDDDDD; border-left: 1px solid #DDDDDD;*/
}

#selectable td {
    /*width: 40px; height: 40px; text-align: center; vertical-align: middle; border-right: 1px solid #DDDDDD;*/
}

#selectable .ui-selecting {
    background: #EEE;
}

#selectable .ui-selected {
    background: #EEE;
}

.back_e7 {
    background: #E7E7E7;
    font-weight: bold;
}

.back_e {
    background: #EEEEEE;
}

.wrap_riser {
    position: absolute;
    top: 0;
    left: 0;
}

.wrap_riser li {
    float: left;
    background: #E7E7E7;
    border-top: 1px solid #DDDDDD;
    border-right: 1px solid #DDDDDD;
    border-bottom: 1px solid #DDDDDD;
}

.wrap_riser li:first-child {
    border-left: 1px solid #DDDDDD;
}

.wrap_floor {
    position: absolute;
    top: 40px;
    left: 0;
}

.wrap_floor li {
    background: #E7E7E7;
    border-left: 1px solid #DDDDDD;
    border-right: 1px solid #DDDDDD;
    border-bottom: 1px solid #DDDDDD;
    cursor: pointer;
}

.wrap_floor li:last-child {
    border-bottom: 1px solid #DDDDDD;
}

.wrap_apartament {
    position: relative;
    position: absolute;
    top: 40px;
    left: 40px;
}

.wrap_apartament li {
    float: left;
    border-right: 1px solid #DDDDDD;
    border-bottom: 1px solid #DDDDDD;
    position: absolute;
    overflow: hidden;
}

.wrap_apartament li div p {
    /*overflow: hidden;*/
}

.blind {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    display: none;
}

.disabled {
    background: #F3F3F3;
}

#wrap_modal_autonumering {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .7);
    z-index: 999;
    display: none;
}

.alert_danger {
    display: none;
}

.ul_chess {
    width: 100%;
    padding-left: 0;
    list-style: none;
    overflow: hidden;
}

.ul_chess li {
    width: 210px;
    margin-right: 15px;
}

.ul_chess li div {
    margin-bottom: 10px;
    padding-right: 0 !important;
    padding-left: 0 !important;
    padding-bottom: 0 !important;
}

.ul_chess label {
    margin-top: 0;
    margin-bottom: 0;
}

.error {
    text-align: center;
}

.table_chess td {
    padding: 2px !important;
}

.table_chess td:first-child {
    text-align: left;
}

.table_chess td:last-child {
    text-align: right !important;
}

.inform_apart {
    height: 63px;
    float: left;
}

.inform_apart_left,
.inform_apart_right {
    float: left;
}

.inform_apart_left {
    width: 65px;
}

.inform_apart_right {
    width: 75px;
}

.inform_apart_left li,
.inform_apart_right li {
    position: relative !important;
    height: 21px !important;
    line-height: 21px !important;
    float: none !important;
}

.inform_apart_left li {
    text-align: left !important;
    width: 65px !important;
}

.inform_apart_right li {
    text-align: right !important;
    width: 75px !important;
    border-right: none;
    padding-right: 1px;
}

.list-inline {
    width: 50%;
}

.list-inline > li {
    width: 100%;
}

.list-inline.pull-right {
    text-align: right;
}

th.soldStatus {
    background: #ddd;
}

.navbar {
    border: none;
}

#selectable > tr {
    border-top: 1px solid;
}

.child_row {
    display: none;
}

.disabled {
    background: dimgrey;
}

.num_apart {
    border: none;
    width: 20px;
}

.navbar_navm1 li {
    cursor: pointer;
}

.editind {
    text-decoration: underline;
}

.chess_control .number {
    height: 90px !important;
}

.chess_control .list-inline.pull-left {
    width: 36%;
}

.chess_control .list-inline.pull-right {
    width: 64%;
}

.sort-list > div {
    margin-left: 10px;
    margin-right: 10px;
}

._md-select-menu-container > ._md {
    height: 100% !important;
}

._md-select-menu-container > ._md > ._md {
    height: 100% !important;
}

md-select-menu.md-default-theme md-content md-option[selected]:focus, md-select-menu md-content md-option[selected]:focus {
    color: #1976D2;
}

md-select-menu.md-default-theme md-content md-option[selected], md-select-menu md-content md-option[selected] {
    color: #1976D2;
}

md-select.md-default-theme:focus:not([disabled]) ._md-select-value, md-select:focus:not([disabled]) ._md-select-value {
    border-bottom-color: #1976D2;
}

._md-checkbox-enabled.md-default-theme[selected] ._md-icon, ._md-checkbox-enabled[selected] ._md-icon {
    background-color: #1976D2;
}

.md-input-container.md-default-theme.md-input-focused:not(.md-input-invalid) label, md-input-container.md-input-focused:not(.md-input-invalid) label {
    color: #0D47A1;
}

#sortBuilding {
    padding-bottom: 0;
    padding-top: 0;
}

.inputdemoBasicUsage .md-datepicker-button {
    width: 36px;
}

.selectdemoOptionGroups #popupContainer {
    position: relative;
}

.selectdemoOptionGroups .footer {
    width: 100% !important;
    text-align: center;
    margin-left: 20px;
}

.selectdemoOptionGroups .footer, .dialogdemoBasicUsage .footer > code {
    font-size: 0.8em;
    margin-top: 50px;
}

.selectdemoOptionGroups div#status {
    color: #c60008;
}

.selectdemoOptionGroups .dialog-demo-prerendered md-checkbox {
    margin-bottom: 0;
}

.region md-dialog-content {
    height: 100% !important;
}

.group-checked ._md-container.md-ink-ripple {
    display: none;
}

.group-checked {
    margin-left: -15px !important;
}

.group-checked span {
    font-weight: bold;
}

.md-datepicker-calendar {
    opacity: 1 !important;
}

.mui-panel {
    margin-bottom: 4px !important;
}

#editChess .mui-panel {
    margin-bottom: 0 !important;
}

.btn-form-circle {
    width: 100%;
    text-align: right;
    position: relative;
}

.circle_button {
    float: left;
    position: fixed !important;
    bottom: 25px;
}

.circle_button i {
    padding-top: 15px;
}

.jk-list .material {
    border-radius: 0;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.16), 0 0 2px 0 rgba(0, 0, 0, 0.12);
}

.active_building {
    background-color: #00C853;
    height: 10px;
    width: 10px;
    border-radius: 50%;
    margin-left: 10px;
    /*margin-top: -15px;*/
}

.not_active_building {
    background-color: red;
    height: 10px;
    width: 10px;
    border-radius: 50%;
    margin-left: 10px;
    /*margin-top: -15px;*/
}

.table_striped_gk th {
    background-color: white;
    text-align: center;
    font-size: 16px;
    color: #3B4A51;
    font-weight: normal;
}

.table_striped_gk th.title {
    font-weight: 500;
}

.table_striped_gk th.title-name a {
    font-weight: bold;
}

.table_striped_gk th.section {
    text-align: left;
}

.th-toggle {
    width: 55px;
}

.th-icon {
    width: 135px;
}

.th-status {
    width: 30px;
}

.th-creator {
    width: 130px;
}

.th-name {
    width: 350px;
}

.th-name a {
    display: inline-block;
}

.table_striped_gk th {
    padding: 5px;
}

.div-icon {
    display: inline-block;
    position: relative;
}

.div-icon i {
    position: absolute;
    top: -17px;
    left: -25px;
}

.th-manager {
    text-align: left !important;
}

.th-section {
    text-align: left !important;
    padding-left: 65px !important;
}

.th-pavilion {
    padding-left: 30px !important;
}

.img-circle {
    width: 150px;
    height: 150px;
}

.img-circle-100 {
    width: 100px;
    height: 100px;
    border-radius: 50px;
}

img.img-circle-100.green {
    border: 2px solid #00C853;
}

img.img-circle-100.red {
    border: 2px solid red;
}

.panel_housing tr:first-child .title.section.th-name.th-pavilion {
    border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.nav-button {
    margin-bottom: 0 !important;
}

.nav-button.active {
    border-bottom: 3px solid;
    border-radius: 0;
    margin-bottom: 0 !important;
}

.md-button.md-default-theme.md-primary.md-raised, .md-button.md-primary.md-raised, .md-button.md-default-theme.md-primary.md-fab, .md-button.md-primary.md-fab {
    background-color: #1976D2;
}

.md-button.md-default-theme.md-primary.md-raised, .md-button.md-primary.md-raised, .md-button.md-default-theme.md-primary.md-fab, .md-button.md-primary.md-fab:hover:not([disabled]) {
    background-color: #0D47A1;
}

.glyphicon-remove {
    cursor: pointer;
}

md-progress-circular.md-default-theme path, md-progress-circular path {
    stroke: #1976D2 !important;
}

.tabsdemoDynamicHeight md-content {
    background-color: transparent !important;
}

.tabsdemoDynamicHeight md-content md-tabs {
    background: #f6f6f6;
    border: 1px solid #e1e1e1;
}

.tabsdemoDynamicHeight md-content md-tabs md-tabs-wrapper {
    background: white;
}

.tabsdemoDynamicHeight md-content h1:first-child {
    margin-top: 0;
}

#editBuilding md-content {
    top: 52px !important;
}

.md-button.md-default-theme.md-fab, .md-button.md-fab {
    background-color: #EF5350;
}

.md-button.md-default-theme.md-fab:hover:not([disabled]), .md-button.md-fab:hover:not([disabled]) {
    background-color: #D32F2F;
}

.material-block {
    border-radius: 0;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.16), 0 0 2px 0 rgba(0, 0, 0, 0.12);
    background-color: #ffffff;
    margin-bottom: 20px;
    margin-top: 20px;
}

.building-date.material-block > div {
    margin: 8px;
}

.building-date.material-block > span {
    padding-left: 8px;
}

.md-button.md-default-theme.md-hue-1.md-focused:not([disabled]), .md-button.md-hue-1.md-focused:not([disabled]) {
    background-color: #fff !important;
}

.title-name a {
    font-size: 18px;
}

.ic li {
    margin-top: 15px;
}

.ic {
    margin-top: 15px;
}

.ic_s {
    margin-top: 15px !important;
}

.lists ._md-secondary-container {
    width: 10%;
}

.lists {
    background-color: white;
    border-left: 1px solid rgba(0, 0, 0, 0.12);
    border-right: 1px solid rgba(0, 0, 0, 0.12);
}

md-toast {
    left: 47% !important;
    position: fixed !important;
}

.image-preview-input {
    position: relative;
    overflow: hidden;
    margin: 0px;
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}

.image-preview-input input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    padding: 0;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    filter: alpha(opacity=0);
}

.image-preview-input-title {
    margin-left: 2px;
}

@media (min-width: 992px){
    .left-menu2 {
        position: absolute;
    }
}

@media (max-width: 992px){
    #editBuilding md-content {
        padding: 15px;
    }
    #editPavilion md-content {
        padding: 15px;
    }
}

@media (max-width: 770px){
    #editBuilding md-content {
        top: 80px !important;
    }
}

@media (max-width: 494px){
    #editBuilding md-content {
        top: 120px !important;
    }
}

@media (max-width: 331px){
    #editBuilding md-content {
        top: 165px !important;
    }
}

@media (max-width: 299px){
    #editBuilding md-content {
        top: 205px !important;
    }
}
