.events_wall{
    height: 65em;
    /*border: 2px solid #00aeef; /!* Параметры границы *!/*/
    background: white; /* Цвет фона */
    overflow-y: scroll;
    box-shadow: 0 0 10px rgba(0,0,0,0.5); /* Параметры тени */
    padding-top: 10px;
    padding-bottom: 10px;
}

.event{
    border-bottom:1px solid #00aeef;
    cursor: pointer;
    background-repeat:no-repeat;
    background-position:right center;
    background-size: 40px;
}


.event.new{
    background-color: #00aeef;
}

.event.alarm{
    background-color: rgba(249, 96, 96, 0.8);
}
.event.alarm:hover{
    background-color:  indianred;
}

.event.alarm.on-test {
    background-image: url('/static/img/repair-icon.png');
    background-position: right;
}

.event.alarm.on-test:hover {
    background-repeat:no-repeat;
    background-image: url('/static/img/repair-icon.png');
    background-position: right;
     background-size: 40px;
}

.alarm-modal-name {
    font-weight: bolder;
    color: #e66214;
}

.alarm-modal-location {
    color: red;
}

.event_obj_name > h4{
    margin-top: 0px;
}

.event:hover{
    background: whitesmoke;
}
.descr{
    padding: 5%;
}

.link {
    font-weight: bold;
    color: #0f0f0f
}

.link:hover {
    font-weight: bold;
    color: #0f0f0f;
    text-decoration: underline;
}

/*login form*/
.login-form{
    margin-top: 30%;
}
.message.warning  {
    background: rgba(255, 255, 255, 0.33);
    -moz-box-shadow: 0 0 0 3px rgba(56, 41, 32, 0.25);
    -webkit-box-shadow: 0 0 0 3px rgba(56, 41, 32, 0.25);
    box-shadow: 0 0 0 3px rgba(56, 41, 32, 0.25);
    margin:9% auto 0;
    width: 60%;
}

.login-head {
    padding: 2em 0;
    background: #00aeef ;
    position:relative;
}
.login-head h1 {
    color: #fff;
    font-size: 1.5em;
    text-align: left;
    margin: 0 23px;
}
form {
    padding: 3em 2em;
    background: #f2f2f2;
    border: 1px solid #00aeef;
}

form.alarm-confirm {
    padding: 1em 1em;
}

form li{
    border: 2px ridge rgba(187, 185, 189, 0.11);
    border-radius: 0.3em;
    -webkit-border-radius:0.3em;
    -moz-border-radius:0.3em;
    -o-border-radius:0.3em;
    list-style:none;
    margin-bottom:12px;
    background:#F0EEF0;

}
.icon{
    background:url(../img/icons.png)  no-repeat 0px 0px;
    height:30px;
    width:30px;
    display: block;
    float: right;
    margin: 12px 9px 9px 0px;
}
.user{
    background: url(../img/icons.png) no-repeat 7px 1px;

}
.lock{
    background: url(../img/icons.png) no-repeat -22px 1px;
}

.login-form input[type="text"], .login-form input[type="password"] {
    font-family: 'Droid Sans', sans-serif;
    width:80%;
    padding: 0.5em 0.5em 0.5em 1em;
    color: #B8B8B8;
    font-size:20px;
    outline: none;
    background: none;
    border: none;
}
input[type="text"]:hover, input[type="password"]:hover{
    color:#00aeef ;
}
.submit h4 a{
    float:left;
    font-size: 16px;
    color: #999;
    font-weight: 400;
    font-family: 'Droid Sans', sans-serif;
    margin-top: 15px;
    margin-left: 21px;
}
.submit h4 a:hover{
    color:#00aeef;
}
/*************************/

.submit{
    padding-top:3em;
}
input[type="submit"] {
    /*float: left;*/
    color: #fff;
    cursor: pointer;
    font-weight: 900;
    outline: none;
    font-family: 'Raleway', sans-serif;
    padding: 12px;
    width: 7em;
    font-size: 18px;
    background:#00aeef;
    border:2px solid #00aeef;
    border-radius: 0.5em;
    -webkit-border-radius:0.5em;
    -moz-border-radius:0.5em;
    -o-border-radius:0.5em;
}
input[type="submit"]:hover {
    background: #fff;
    color:#00aeef;
    border:2px solid #00aeef;
}
/*----*/
/* footer */
.footer{
    position: absolute;
    bottom: 76px;
    left: 45%;
}
.footer p{
    position:relative;
    font-family: 'Droid Sans', sans-serif;
    color:#fff;
    display: block;
    font-size:1.2em;
    font-weight: 400;
    text-align:center;
    padding-top:2em;
}
.footer p a{
    color:#000;
    transition: all 0.5s ease-out;
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -ms-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
}
.footer p a:hover{
    color:#fff
}

img.ontest{
    margin-top: 20px;
    margin-bottom: 10px;
    height: 3em;
}
.message {
    box-shadow: 0 0 0 1px rgba(0,0,0,0.2) inset, 0 1px 0 rgba(255,255,255,0.1) inset, 0 1px 2px rgba(0,0,0,0.4);
    position: relative;
}
.warning {
    text-align: center;
    margin: 14% auto;
    width: 280px;
    background: rgba(82, 97, 97, 0.68);
    border-radius: 6px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -o-border-radius: 6px;
}
.alert-close {
    background: url('../img/into.png') no-repeat 0px 3px;
    cursor: pointer;
    height: 30px;
    position: absolute;
    right: 12px;
    top: 34px;
    -webkit-transition: color 0.2s ease-in-out;
    -moz-transition: color 0.2s ease-in-out;
    -o-transition: color 0.2s ease-in-out;
    transition: color 0.2s ease-in-out;
    width: 30px;
}


.object_info{
    height: 100%;
    /*border: 2px solid #00aeef; /!* Параметры границы *!/*/
    background: white; /* Цвет фона */
    padding-bottom: 10px;
    /*margin-bottom: 10px;*/

}

.object_info.alarm{
    border: 2px solid red;
    /*background-image:url('/static/img/lock-alarmed.png');*/
}

.object-head {
    background: white;
    position:relative;
    cursor: pointer;
    border: 2px solid #00aeef;
    /*height: 8em;*/
    /*box-shadow: 0 0 10px rgba(0,0,0,0.3); /* Параметры тени */
    border-radius: 5px;
    margin: 0;
    padding: 0.2em;
}

.object-head.opened {
    border: 2px solid #5cb85c;
}

/*.object-head.innactive {
    border: 2px solid #9b9b9b;
}*/

.object-head.closed {
    border: 2px solid #00aeef;
}

.object-head.half-closed {
    border: 2px solid #d3a44a;
}
.object-head.unknown {
    border: 2px solid #ff8a0c;
}

.object-head.alarmed {
    border: 2px solid red;
}
tr.alarmed {
    border: 2px solid red !important;
}

.object-head.innactive{
    filter: grayscale(100%); /* Current draft standard */
    -webkit-filter: grayscale(100%); /* New WebKit */
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%); /* Not yet supported in Gecko, Opera or IE */
    filter: url(resources.svg#desaturate); /* Gecko */
    filter: gray; /* IE */
    -webkit-filter: grayscale(1); /* Old WebKit */
}

.object-head .row h1 {
    /*color: #00aeef;*/
    font-size: 1.2em;
    text-align: left;
    font-weight: bold;
    word-wrap: break-word;
    padding: 0;
    margin: 0;
    margin-left: 0.2em;
    /*text-decoration: underline;*/
}

.object-head span.subheader{
    margin-left: 0.2em;
    margin-right: 2em;
    font-size: 1.0em;
    color: #828282;
}

.object-head .row h2 {
    /*color: #00aeef;*/
    color: #828282;
    font-size: 0.5em;
    text-align: left;
    margin: 0 23px;
    font-weight: bold;
    /*text-decoration: underline;*/
}

.object-head .object-contid {
    font-weight: bold;
    font-size: 1.2em;
}

.object-head .object-description {
    font-size: 1.0em;
    font-weight: bolder;
    color: #e66214;
    word-break: break-word;
}

.object-head .object-address {
    font-size: 0.9em;
    font-style: italic;
    word-break: break-word;
}

.object_info h2{
    text-align: left;
    margin: 0 23px;
    font-size: 1em;
    padding-top: 5px;
}

.circle-block{
    width: 100%;
    display: block;
}
.circle {
    border-radius: 50%;
    width: 15px;
    height: 15px;
    display: inline-block;
     /* padding-left: 10px/* may not need this, but I've found I do */
    /* width and height can be anything, as long as they're equal */
}

.circle.closed{
    background: #00afef;
}

.circle.opened{
    background: #5cb85c;
}

.circle.unknown{
    background: #9b9b9b;
}

.navbar-brand {
    height: 60px;
    padding: 0px 15px;
}

.navbar-brand>img {
    height: 50px;
}

.filter-button{
    width: 50px;
    height: 50px;
    display: inline-block;
    background-repeat:no-repeat;
    background-position:center;
    background-size: 40px;
    border: 1px solid #00aeef;
    margin-left: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    border-radius: 50%;
}

.filter-button.unselected{
    filter: grayscale(100%); /* Current draft standard */
    -webkit-filter: grayscale(100%); /* New WebKit */
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%); /* Not yet supported in Gecko, Opera or IE */
    filter: url(resources.svg#desaturate); /* Gecko */
    filter: gray; /* IE */
    -webkit-filter: grayscale(1); /* Old WebKit */

}

.filter-button.selected{
    border: 3px solid #00aeef;
}

.filter-button:hover{
    background-color: #F2F2F2;
}

.filter-button.opened {
    background-image:url('/static/img/lock-opened2.png');
}

.filter-button.closed {
    background-image:url('/static/img/lock-closed.png');
}

.filter-button.half-closed {
    background-image:url('/static/img/lock-half-closed.png');
}

.filter-button.unknown {
    background-image:url('/static/img/lock-uknown.png');
}

.filter-button.alarm {
    background-image:url('/static/img/alarm.png');
}

.filter-button.inactive {
    background-image:url('/static/img/stopped.png');
}

.filter-button.repair {
    background-image:url('/static/img/repair-icon.png');
}

/*TOOLTIP*/
.message-widget  > a{
    position:relative;
    z-index:24;
    color: #777;
    text-decoration: none;
}
.message-widget  > a:hover{
    color: #333;
}


a.info{
    position:relative;
    z-index:24;
    color: #777;
    outline: 0;
    }

a.info span{display: none}

a.info.visible span{ /*the span will display just on :hover state*/
    display:block;
    position:absolute;
    top:2em; left:-15em; width:30em;
    border:2px solid #0cf;
    text-align: center
}

.bs-callout {
    padding: 20px;
    border: 1px solid;
    border-left-width: 10px;
    border-radius: 3px;
    background-color: white;
}

.bs-callout+.bs-callout {
    margin-top: -5px;
}
.bs-callout-warning {
    border-left-color: #D3A44A;
}

.bs-callout-warning:hover {
     background-color: #F2F2F2;
 }

.delete-message {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex; /* add */
    justify-content: center; /* add to align horizontal */
    align-items: center; /* add to align vertical */
    width: 30px;
    height: 30px;
}

.btn.padded{
    margin-top: 1.5em;
    margin-bottom: 20em;
}

.modal-lg {
    width: 80%;
}

.event_btn {
    margin-bottom: 1em;
}

.no-left-padding{
    padding-left: 0px;
}

.delta-border {
    border: 1px solid #00aeef;
}


/*SWITCHER*/
.onoffswitch {
    position: relative; width: 55px;
    -webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
}
.onoffswitch-checkbox {
    display: none;
}
.onoffswitch-label {
    display: block; overflow: hidden; cursor: pointer;
    height: 20px; padding: 0; line-height: 20px;
    border: 0px solid #FFFFFF; border-radius: 30px;
    background-color: #9E9E9E;
}
.onoffswitch-label:before {
    content: "";
    display: block; width: 30px; margin: -5px;
    background: #FFFFFF;
    position: absolute; top: 0; bottom: 0;
    right: 31px;
    border-radius: 30px;
    box-shadow: 0 6px 12px 0px #757575;
}
.onoffswitch-checkbox:checked + .onoffswitch-label {
    background-color: #337AB7;
}
.onoffswitch-checkbox:checked + .onoffswitch-label, .onoffswitch-checkbox:checked + .onoffswitch-label:before {
    border-color: #337AB7;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}
.onoffswitch-checkbox:checked + .onoffswitch-label:before {
    right: 0px;
    background-color: #00A7EB;
    box-shadow: 3px 6px 18px 0px rgba(0, 0, 0, 0.2);
}

form.sound_form{
    padding: 1em 1em;
    border: 0px;
    background: #FFFFFF;
}

form.sound_form input[type="submit"]{
    color: #fff;
    cursor: pointer;
    font-weight: 500;
    outline: none;
    font-family: 'Raleway', sans-serif;
    padding: 12px 0px;
    width: 35%;
    font-size: 18px;
    background: #00aeef;
    border: 2px solid #00aeef;
    border-radius: 0.5em;
    -webkit-border-radius: 0.5em;
    margin: 1em;
    display: block;
    margin-left: auto;
    margin-right: auto
}

.pagination>li>a, .pagination>li>span {
    color: #6A6A6A;
}

.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover {
    background-color: #00aeef;
    border-color: #00aeef;
}

.nav-pills>li.active>a, .nav-pills>li.active>a:focus, .nav-pills>li.active>a:hover {
    background-color: #00afef;
}

@media (min-width: 768px) {
  .modal-dialog.addaptive {
    width: 750px;
  }
}
@media (min-width: 992px) {
  .modal-dialog.addaptive {
    width: 970px;
  }
}
@media (min-width: 1200px) {
  .modal-dialog.addaptive {
    width: 1170px;
  }
}

.modal-dialog.addaptive .modal-content {
    float: none;
    margin: auto;
}

.nav>li>a {
    padding: 10px 14px;
}

span.glyphicon-pencil:hover {
    cursor: pointer;
}

span.glyphicon-ok:hover {
    cursor: pointer;
}

.customer-category-item {
    margin-bottom: 30px;
}

.customer-category-item .customer-category-item-content {
    border: 1px solid grey;
    border-radius: 4px;
    padding: 5px 5px;
}

.customer-category-item .customer-category-item-content .customer-category-item-icon {
    height: 128px;
}

.customer-category-item .customer-category-item-content h3 {
    margin-top: 10px;
    margin-bottom: 20px;
}

.customer-category-item .customer-category-item-icons {
    font-size: 20px;
    padding: 5px 20px;
}

.help {
    margin-top: 10px;
    display: block;
    font-size: 11px;
    color: #999;
}

.report-form {
    background: none;
    border: none;
}