@import url('https://fonts.googleapis.com/css?family=Roboto:400,400i,500,500i,700,700i&subset=cyrillic,cyrillic-ext');
html,
body {
    height: 100%;
    font-family: 'Roboto', sans-serif;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -180px;
    padding: 0 0 260px;
}

h1,h2,h3{
    color:#900606;
}
/********** LINK ***********/
a, a:visited, a:hover, a:active{
    color:#DB0102;
}

a.btn-danger,a:hover.btn-danger {
    color:#fff;
    text-decoration: none;
}

a.btn-facebook,a:hover.btn-facebook,a:active.btn-facebook,a:visited.btn-facebook{color: #fff;background-color: #3b5998;}
a.btn-twitter,a:hover.btn-twitter,a:active.btn-twitter,a:visited.btn-twitter{color: #fff;background-color: #2795e9;}
a.btn-google,a:hover.btn-google,a:active.btn-google,a:visited.btn-google{color: #fff;background-color: #c23321;}
/*********************************/
.top-logo {
    height: 80px;
}
@media only screen and (max-width: 990px){
    .top-logo {
        width: 150px;
        height: auto;
        margin-top: 20px;
    }
}
@media only screen and (max-width: 767px){
    .top-logo {
        height: 80px;
        width: auto;
        margin-top: 0;
    }
}
/*********************************/
.footer {
    color: #fff;
    height: 260px;
    background: #666 url("/img/footer_bg.jpg") 50% -300px no-repeat;
    border-top: 10px solid #DB0102;
    padding-top: 20px;
}

@media only screen and (max-width: 991px){
    .footer {
        height: 444px;
    }
}
@media only screen and (max-width: 767px){
    .footer {
        height: 814px;
    }
}

.footer-block {
    height: 180px;
    margin:2px;
    padding: 10px;
    overflow: hidden;
    border-radius: 5px;
    background: #000000;
    opacity: 0.7; /* Полупрозрачный фон */
    filter: alpha(Opacity=70); /* Прозрачность в IE */
}

.footer-bottom{
    margin-top: 15px;
    height: 32px;
    background: #000000;
    opacity: 0.8; /* Полупрозрачный фон */
    filter: alpha(Opacity=80); /* Прозрачность в IE */
    text-align: center;
    font-size: 12px;
    color: #999;
    padding-top: 8px;
}

.footer-block h4 {
    margin-top: 0;
    font-weight: 400;
}

.footer-block a{
    color: #fff;
}

.footer-img {
    margin-top: -295px;
    position: absolute;
    z-index: 10;
}
@media(max-width:1199px){
    .footer-img {
        margin: -255px auto;
        width: 250px;
    }
}
@media(max-width:991px){
    .footer-img {
        margin: -260px 0 0 50px;
        width: 250px;
    }
}
@media(max-width:767px){
    .footer-img {
        margin: -260px 0 0 33%;
    }
}
@media(max-width:580px){
    .footer-img {
        margin: -260px 0 0 20%;
    }
}
.btn-social-icon{
    font-size: 32px;
}
/***************************************************/
#toTop {
    width:50px;
    height:50px;
    border: 2px solid #DB0102;
    border-radius: 7px;
    background:#ccc;
    opacity: 0.2;
    text-align:center;
    padding:3px;
    position:fixed;
    z-index: 10;
    bottom:50px; /* отступ кнопки от нижнего края страницы*/
    right:30px;
    cursor:pointer;
    display:none;
    color:#333;
    font-size:32px;
}

#toTop:hover {
    opacity: 1;
    color: #fff;
    background:#DB0102;
}
/************************************************************/
.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;
}

blockquote.bc {
    padding: 5px 20px;
    margin: 0 0 20px;
    border-left: 5px solid #eee;
}

blockquote.bc>h1 {
    margin-top: 5px;margin-bottom: 0;
}

.owl-theme .owl-dots{ margin-top: 0; }
.owl-theme .owl-dots .owl-dot span{
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #999;
    opacity: 0.8;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.45);
    transition: all 0.3s ease 0s;
}
.owl-theme .owl-dots .owl-dot.active span{ background: #DB0102; }
@media only screen and (max-width: 479px){
    .testimonial{ padding: 20px 15px 40px; }
    .testimonial .description{ padding: 0 5px 20px; }
}

#header-carousel{
    margin-top: -20px;
}

/*************************************************************************/
.dl-horizontal-footer dt {
    float: left;
    width: 70px;
    clear: left;
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.dl-horizontal-footer dd {
    margin-left: 80px;
}
@media (max-width: 768px) {
    .dl-horizontal dt {
        float: left;
        width: 80px;
        overflow: hidden;
        clear: left;
        text-align: right;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .dl-horizontal dd {
        margin-left: 90px;
    }
}
/**************************************************************************/
.btn-danger {
    background: #DB0102;
    color: #ffffff;
}

.btn-danger:hover, .btn-danger:focus, .btn-danger:active, .btn-danger.active, .open > .dropdown-toggle.btn-danger {
    background: #900606;
}