html,
body {
    height: 100%;
    font-size: 16px;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 10px 0 60px;
}

.wrap > .container {
    padding: 80px 15px 20px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: "\e151";
}

a.desc:after {
    content: "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view td {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.vertical-align {
    display: flex;
    align-items: center;
    min-height: 80vh;
}

.navbar-inverse {
    background-color: #065081;
    border-color: #080808;
}

.navbar {
    min-height: 95px;
}

.navbar-inverse .navbar-brand {
    color: #ededed;
}

.navbar-entities {
    background-color: #024C27;
    border-color: #080808;
}

.navbar-inverse .navbar-nav > li > a {
    color: #ededed;
    font-weight: 600;
}

.bi_wrapper {
    text-align: center;
    width: 600px;
}


.big_icon {
    overflow: hidden;
    display: block;
    height: 180px;
}

.big_icon .name {
    float: left;
    background: #065081 repeat 100% 0;
    width: 300px;
    height: 170px;
    font-size: 24px;
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
    padding: 50px 15px 0 30px;
    overflow: hidden;
}

.bi_entities .name {
    background: #024C27 repeat 100% 0;
}

.yur_btn {
    color: #fff;
    background-color: #024C27;
    border-color: #024C27;
}
.yur_btn:focus,
.yur_btn.focus {
    color: #fff;
    background-color: #024222;
    border-color: #024222;
}
.yur_btn:hover {
    color: #fff;
    background-color: #024222;
    border-color: #024222;
}
.yur_btn:active,
.yur_btn.active,
.open > .dropdown-toggle.btn-grey {
    color: #fff;
    background-color: #024222;
    border-color: #024222;
}
.yur_btn:active:hover,
.yur_btn.active:hover,


.big_icon .image {
    display: block;
    width: 300px;
    height: 100%;
    overflow: hidden;
}

#bi_name1 {
    padding-top: 35px;
}

#bi_name2 {
    float: right;
}
#bi_name4 {
    float: right;
}

#bi_name3 {
    font-size: 22px;
}

@media (max-width:767px){
    .bi_wrapper {
        width: auto;
    }
    
    .big_icon {
        height: auto;
        padding-bottom: 2px;
    }
    
    .big_icon .name {
        height: 100px;
        width: 100%;
        width: -moz-available;
        font-size: 20px;
        padding: 20px 15px 0px 10px;
        
    }
    
    .big_icon .image {
        display: none;
    }
    
    #bi_name1 {
        padding-top:10px
    }

    #bi_name2 {
        float: left;
    }
    #bi_name4 {
        float: left;
    }

    #bi_name3 {
        font-size: 20px;
    }
}

.phones {
    color: #ededed;
    padding-top: 10px;
}

.navbar-brand {
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 600;
}

.navbar-slogan {
    font-size: 15px;
    font-style: italic;
    color: #ededed;
    line-height: 2;
}


@media (max-width:767px){
    .navbar-brand {
        font-size: 14px;
    }
    .navbar-slogan {
        font-size: 13px;
        padding-left: 20px;
    }
}

#show_password {
    position:relative;
    top: -342px;
    left: 400px;
    display:inline-block;
    background-color: #F5F5F5;
    padding: 5px;
    margin-top: 10px;
    border:1px solid #4C4C4C;
    border-radius: 0.5em;
}

.dig4,.dig6{max-width:4.3em;margin-right:7px;width:auto;display:inline-block}

.balance-label{font-size:20px}
.balance{font-size:24px}
.balance.negative{color:#e74c3c}
.balance.positive{color:#31a52e}

.btn-grey {
  color: #4C4C4C;
  background-color: #F5F5F5;
  border-color: #4C4C4C;
}
.btn-grey:focus,
.btn-grey.focus {
  color: #555555;
  background-color: #DDDDDD;
  border-color: #555555;
}
.btn-grey:hover {
  color: #555555;
  background-color: #DDDDDD;
  border-color: #555555;
}
.btn-grey:active,
.btn-grey.active,
.open > .dropdown-toggle.btn-grey {
  color: #555555;
  background-color: #DDDDDD;
  border-color: #555555;
}
.btn-grey:active:hover,
.btn-grey.active:hover,
.open > .dropdown-toggle.btn-grey:hover,
.btn-grey:active:focus,
.btn-grey.active:focus,
.open > .dropdown-toggle.btn-grey:focus,
.btn-grey:active.focus,
.btn-grey.active.focus,
.open > .dropdown-toggle.btn-grey.focus {
  color: #4C4C4C;
  background-color: #269abc;
  border-color: #1b6d85;
}
.btn-grey:active,
.btn-grey.active,
.open > .dropdown-toggle.btn-grey {
  background-image: none;
}
.btn-grey.disabled:hover,
.btn-grey[disabled]:hover,
fieldset[disabled] .btn-grey:hover,
.btn-grey.disabled:focus,
.btn-grey[disabled]:focus,
fieldset[disabled] .btn-grey:focus,
.btn-grey.disabled.focus,
.btn-grey[disabled].focus,
fieldset[disabled] .btn-grey.focus {
  background-color: #5bc0de;
  border-color: #46b8da;
}
.btn-grey .badge {
  color: #5bc0de;
  background-color: #fff;
}

.btn-main:focus, .btn-main:hover {
    color: #fff;
    background-color: #065081;
    border-color: #065082;
}

.btn-main:active, .btn-main.active {
    color: #fff;
    background-color: #2172A8;
    border-color: #065082;
}

.btn-main:active:hover,
.btn-main.active:hover {
    color: #fff;
    background-color: #065081;
    border-color: #065082;
}

.btn-entities:focus, .btn-entities:hover {
    color: #fff;
    background-color: #024C27;
    border-color: #002613;
}

.btn-entities:active, .btn-entities.active {
    color: #fff;
    background-color: #007239;
    border-color: #002613;
}

.btn-entities:active:hover,
.btn-entities.active:hover {
    color: #fff;
    background-color: #024C27;
    border-color: #002613;
}

.lgi-noborders {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    border-left: 0;
    border-right: 0;
    text-transform: uppercase;
}

.lgi-noborders:first-child {
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
}
.lgi-noborders:last-child {
  margin-bottom: 0;
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 0px;
}

.list-group-item.active,
.list-group-item.active:hover,
.list-group-item.active:focus {
  z-index: 2;
  color: #555;
  background-color: #f5f5f5;
  border-color: #ddd;
}

h1,h2,h3 {
    color: #065081;
    font-weight: 500;
}

.captcha-input {
    width: 60%;
}

.measrmnts-input {
    width: 100%;
}

@media (max-width:1023px){
    .captcha-input {
        width: 40%;
    }
    
    .measrmnts-input {

    }
}

.submit-pills {
    border-radius: 4px;
    position: relative;
    display: block;
    padding: 10px 15px;
    background-color: transparent;
    color: #337ab7;
    border: none;
    font: inherit;
    font-weight: 800;
}
.submit-pills:hover,
.submit-pills:focus {
  color: #23527c;
  background-color: #eee;
}

.nav-pills > li > a {
    font-weight: 800;
}

.nav-cabpanel {
    padding-top: 5px;
    padding-left: 282px;
}

@media (max-width:1023px){
    .nav-cabpanel {
        padding: inherit;
    }
}

.phone-mask {
    width: 40%;
}

.panel-entities {
    border-color: #024C27;
}

.panel-entities .panel-heading {
    background-color: #024C27;
    border-color: #024C27;
}

.entities {
    color: #024C27;
}

.equal, .equal > div[class*='col-'] {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex:1 0 auto;
}

.row-flex {
    display: flex;
    flex-wrap: wrap;
}


/* vertical spacing between columns */

[class*="col-"] {
    margin-bottom: 30px;
}

.content {
    height: 100%;
    padding: 10px 10px 10px;
}


/* Demo backgrounds and styling*/

.colour-1 {
    background: #483C46;
}

.img-fluid {
    width: 650px;
    height: auto;
}
.rounded {
    border-radius: 0.25rem !important;
}
.mb-3,
.my-3 {
    margin-bottom: 1rem !important;
}
.mb-md-0,
.my-md-0 {
    margin-bottom: 0 !important;
}
.phone-style{
    display: block;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Всплывающее окно */

.parent_popup, .parent_popup_click {
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    position: fixed;
    z-index: 99999;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.popup, .popup_click {
    background: #fff;
    max-width: 600px;
    width: 70%;
    margin: 10% auto;
    padding: 5px 20px 13px 20px;
    border: 10px solid #ddd;
    position: relative;
    /*--CSS3 CSS3 Тени для Блока--*/
    -webkit-box-shadow: 0px 0px 20px #000;
    -moz-box-shadow: 0px 0px 20px #000;
    box-shadow: 0px 0px 20px #000;
}

.parent_popup, .parent_popup_click {
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    position: fixed;
    z-index: 99999;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.popup, .popup_click_width {
    background: #fff;
    width: 80%;
    margin: 5% auto;
    padding: 5px 20px 13px 20px;
    border: 10px solid #ddd;
    position: relative;
    /*--CSS3 CSS3 Тени для Блока--*/
    -webkit-box-shadow: 0px 0px 20px #000;
    -moz-box-shadow: 0px 0px 20px #000;
    box-shadow: 0px 0px 20px #000;
}

/* кнопка закрытия */
.close {
    background-color: rgba(0, 0, 0, 0.8);
    border: 2px solid #ccc;
    height: 24px;
    line-height: 24px;
    position: absolute;
    right: 0px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-family: helvetica, arial;
    text-shadow: 0 -1px rgba(0, 0, 0, 0.9);
    top: 0px;
    width: 24px;
    -moz-box-shadow: 1px 1px 3px #000;
    -webkit-box-shadow: 1px 1px 3px #000;
    box-shadow: 1px 1px 3px #000;
}
.close:hover {
    background-color: #23527c;
}









.b-popup{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}
.b-popup .b-popup-content{
    margin:10% auto auto auto;
    width:820px;
    height:560px;
    padding:10px;
    //background-color: #c5c5c5;
    background-color: #0e5081;
    border-radius:5px;
    box-shadow: 0px 0px 10px #000;
}

@media screen and (max-width:767px) {
    .b-popup{
        top: 8%;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.5);
    }

    .b-popup .b-popup-content{
        margin:10% auto auto auto;
        width: 97%;
        height: auto;
        padding:4px;
        //background-color: #c5c5c5;
        background-color: #0e5081;
        background-size: auto;
        border-radius:5px;
        box-shadow: 0px 0px 10px #000;
    }
}

.tabs .tabs-switch:after,.tabs .tabs-switch:before{content:" ";display:table}
.tabs .tabs-switch:after{clear:both}
.tabs .tabs-switch{

    padding-left: 1%;
    padding-right: 1%;
    display:flex;
    justify-content:space-around;
    *zoom:1
}
.tabs .toggle{
    float:left;
    background:#b3b1b1;
    padding:15px 0px;
    text-align:center;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
    cursor:pointer;
    border-radius: 6px 6px 0 0;
    width: 100%;
}
.tabs .toggle:not(:last-of-type){
    //margin-left:5px;
    margin-right:5px
}
.tabs .toggle.active{background:#c5c5c5}
.tabs .tab{background:#c5c5c5;padding-top:5px;display:none}
.tabs .tab.active{display:block}
.aside-menu .tabs .tab .balance-label,.pokaz-edit-row .last:last-child .tabs .tab .counter,.tabs .tab .aside-menu .balance-label,.tabs .tab .muted,.tabs .tab .pokaz-edit-row .last:last-child .counter,.tabs .tab .tickets-list-ticket .date,.tickets-list-ticket .tabs .tab .date{color:#7e7c76;font-size:14px}
.tabs input[type=submit].btn{width:auto}
.tabs #costcounter{padding:0}
.tabs table{font-size:14px}
.tabs table td,.tabs table th{height:40px!important}
.tabs table th{color:#b3b3b3}
.tabs table input[type=checkbox]{margin-left:0px}
.tabs table tbody tr{background:0 0}
.tabs table tbody tr:not(:last-of-type){border-collapse:collapse}
.tabs table tbody tr:not(:last-of-type) td{border-bottom:1px solid #E1DED4}
.tabs thead .sorting_asc:after,.tabs thead .sorting_desc:after{display:none!important}