html,
body {
    height: 100%;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
    /*background: linear-gradient(#ffffff, #aeaeae);*/
    background: #f6f5f5;
}

.breadcrumb {
    background-color: #ffffff;
    -webkit-box-shadow: 0 8px 24px rgba(149, 157, 165, 0.2);
    box-shadow: rgba(149, 157, 165, 0.2) 0 8px 24px;
}

.parent {
    padding: 10px;
}

.parent img {
    position: relative;
    top: 80px;
    left: 70%;
    height: 182px;
    width: 150px;
}

.wrap > .container {
    padding: 90px 15px 20px;
}

.carousel {
    position: relative;
    top: 0;
}

.content-container {
    background: #fff;
}

.footer {
    height: 60px;
    padding-top: 20px;
    background-color: #e6e5e5;
    font-size: .9em;
    border-top: 2px solid #ffffff;
}

.footer > .container, .footer > .container-fluid {
    padding-right: 15px;
    padding-left: 15px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c00;
    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', serif;
    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 */
/*.navbar {
    min-height: 90px;
}*/

.nav > li > form {
    padding: 8px;
}

@media (max-width: 768px) {
    .nav li > form {
        padding: 3px;
    }
}

.nav > li > form > button:hover {
    text-decoration: none;
}

div.required label:after {
    content: " *";
    color: red;
}

.tab-content {
    /*border: 1px solid red;*/
    border-left: 1px solid #d2d6de;
    border-right: 1px solid #d2d6de;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    background: #fff none repeat scroll 0 0;
}

.nav-tabs-custom > .tab-content {
    background: #fff none repeat scroll 0 0;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    padding: 10px;
}

.nav-tabs > .tab-content {
    padding: 10px;
}

.profile-user-img {
    border: 3px solid #d2d6de;
    margin: 0 auto;
    padding: 3px;
    width: 100px;
}

.yii-logo {
    width: auto;
    height: 32px;
    float: left;
    padding-right: 10px;
}

.site-logo {
    width: auto;
    height: 90px;
    float: left;
    padding-right: 10px;
    position: relative;
    top: -15px;
}

/* логотип 50px до 1200px */
@media screen and (max-width: 1200px) {
    .site-logo {
        height: 80px;
        top: -15px;
    }

    .wrap > .container {
        padding: 80px 15px 20px;
    }
}

/* логотип 50px до 992px ширины экрана */
@media screen and (max-width: 992px) {
    .site-logo {
        height: 50px;
        top: -15px;
    }

    .wrap > .container {
        padding: 60px 15px 20px;
    }
}

.badge {
    padding: 5px 8px;
    /*margin: 1px 0;*/
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
    color: #ffffff;
    background-color: #50a6b1;
    -webkit-border-radius: 9px;
    -moz-border-radius: 9px;
    border-radius: 9px;
}

.badge:hover {
    color: #ffffff;
    text-decoration: none;
    background-color: #2a595c;
    cursor: pointer;
}

.badge-white {
    background-color: #ffffff;
    border: 1px solid #000000;
    color: #000000;
}

.badge-white:hover {
    background-color: #e6e6e6;
    border: 1px solid #050505;
    color: #000000;
}

.badge-black {
    background-color: #000000;
    border: 1px solid #8a8a8a;
    color: #FFFFFF;
}

.badge-black:hover {
    background-color: #3c3b3b;
    border: 1px solid #8a8a8a;
    color: #FFFFFF;
}

.badge-grey {
    background-color: #979797;
    border: 1px solid #FFFFFF;
}

.badge-grey:hover {
    background-color: #707070;
    border: 1px solid #FFFFFF;
}

.badge-yellow {
    background-color: #fbc700;
    border: 1px solid #FFFFFF;
}

.badge-yellow:hover {
    background-color: #b18b00;
    border: 1px solid #FFFFFF;
}

.badge-burgundy {
    background-color: #771412;
    border: 1px solid #FFFFFF;
}

.badge-burgundy:hover {
    background-color: #51100e;
    border: 1px solid #FFFFFF;
}

.badge-error {
    background-color: #b94a48;
    border: 1px solid #FFFFFF;
}

.badge-error:hover {
    background-color: #953b39;
    border: 1px solid #FFFFFF;
}

.badge-pink {
    background-color: #e49391;
    border: 1px solid #FFFFFF;
}

.badge-pink:hover {
    background-color: #b57776;
    border: 1px solid #FFFFFF;
}

.badge-warning {
    background-color: #f89406;
}

.badge-warning:hover {
    background-color: #c67605;
}

.badge-light-green {
    background-color: #94d896;
}

.badge-light-green:hover {
    background-color: #72a172;
}

.badge-success {
    background-color: #5cc45e;
}

.badge-success:hover {
    background-color: #356635;
}

.badge-info {
    background-color: #3a87ad;
}

.badge-info:hover {
    background-color: #2d6987;
}

.badge-inverse {
    background-color: #333333;
}

.badge-inverse:hover {
    background-color: #1a1a1a;
}

.icon-link {
}

.icon-link-hover:focus,
.icon-link-hover:hover {
    position: relative;
    margin-right: 3px;
}

.box-panels {
    margin-top: 20px;
}

.panel-shadow-1 {
    -webkit-box-shadow: 0 8px 24px rgba(149, 157, 165, 0.2);
    box-shadow: rgba(149, 157, 165, 0.2) 0 8px 24px;
}

.input-page-size {
    width: auto;
}

.box-title {
    font-size: 14pt;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
    max-height: 300px;
    min-height: 100px;
}

.carousel .carousel-inner,
.carousel .left,
.carousel .right {
    border-radius: 10px 10px 4px 4px;
}
