html,
body {
    height: 100%;
    font-size: 17px;
    font-family: 'MuseoSansCyrl-500';
    color: black;
}

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

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

@media(min-width:768px) {
    .wrap > .container {
        padding: 150px 15px 20px;
    }
}

.footer {
    height: 260px;
    background-color: #424242;;
    border-top: 1px solid #ddd;
    padding-top: 20px;
    color: white;
}

.footer-bot {
    background-color: #e06618;
    margin-top: 15px;
    padding-top: 30px;
    padding-bottom: 15px;
}

.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;
}
.nav > li > a { /* Чтобы поместились проекты*/
    padding: 10px 5px;
}
/*-----------------------------------------------------------------------------------------------*/
h1 {
    font-size: 42px;
}

.h1-main {
    font-size: 42px;
    text-transform: uppercase;
    margin-top: 0;
}

@media(max-width:768px) {
    h1,
    .h1-main {
        font-size: 32px;
        margin-top: 10px;
    }
}


h2 {
    color: #e06618;
    font-family: 'MuseoSansCyrl-900';

}

a,
a:hover {
    color: #e06618
}
.navbar {
    border-radius: 0;
}

@media(max-width:768px) {
    .navbar-nav {
        margin: 7.5px 10px;
    }
}

/**/
.navbar-nav > .active > a
{
    background-color: #e06618 !important;
}
.navbar-nav > li > a:hover
{
    border-bottom: 6px solid #e06618;
    padding-bottom: 9px;
    border-radius: 0px;
}
/*---------------------------------------------------*/
.navbar-nav > .active > a:hover {
    border-radius: 10px;
    border-bottom: none;
    padding-bottom: 5px;
}

.navbar-nav > li > a {
    margin-top: 10px;
    margin-left: -20px;
    margin-right: 30px;
    padding-top: 5px;
    padding-bottom: 5px;
    border-radius: 10px;
    color: white !important;
    font-family: 'MuseoSansCyrl-300';
    font-weight: normal;
    font-size: 20px;
}

.navbar-inverse .navbar-nav > .open > a,
.navbar-inverse .navbar-nav > .open > a:hover,
.navbar-inverse .navbar-nav > .open > a:focus {
    color: #fff;
    background-color: #222;
}

.nav .open > a,
    /*.nav .open > a:hover,*/
.nav .open > a:focus {
    background-color: #eeeeee;
    border-color: #e06618;
}

.nav .open > a:hover {
    border-bottom: none;
    padding-bottom: 5px;
}

.navbar-nav > li > .dropdown-menu {
    margin-top: 11px;
}
.dropdown-menu {
    font-size: 17px;
    margin-left: -20px;
    min-width: 300px;
}
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
    background-color: #e06618;
}
@media (max-width: 767px) {
    .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a,
    .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover,
    .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus {
        color: #fff;
        background-color: #222;
    }
}
/*---------------------------------------------------*/
.navbar-brand {
    float: left;
    height: 52px;
    padding-top:0px;
    padding-bottom:0px;
    padding-left: 0px;
    padding-right: 30px;
}

@media (max-width: 641px) {
    .navbar-brand {
        height: 85px;
    }
}

@media (max-width: 1101px) { /*641*/
    .wrap {
        margin: 0 auto -80px;
        padding: 0 0 80px;
    }
    .breadcrumb {
        margin-bottom: 0;
    }
    .footer {
        height: 80px;
    }
    .footer-bot {
        padding-top: 10px;
        padding-bottom: 10px;
    }
}
/*
.navbar-nav > li > a:hover
{
    border-bottom: 4px solid #e06618;
    padding-bottom: 5px;
    border-radius: 0px;
}
*/

.navbar-nav > .active > a:hover {
    border-radius: 10px;
}
.navbar-nav > li > a {
    margin-top: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    border-radius: 10px;
    color: white !important;
    font-family: 'MuseoSansCyrl-300';
    font-weight: normal;
    font-size: 20px;
}

@media (min-width: 1100px) {
    .navbar-nav > li > a {
        margin-left: -20px; /*-40px*/
        margin-right: 50px;
        padding-left: 20px;
        padding-right: 20px;
    }
}

/**/
/*
.navbar-nav > .active > a,
.navbar-nav > li > a:hover
{
    background-color: #e06618 !important;
}
.navbar-nav > li > a {
    margin-top: 10px;
    margin-left: -20px;
    margin-right: 30px;
    padding-top: 5px;
    padding-bottom: 5px;
    border-radius: 10px;
    color: white !important;
    font-weight: bold;
    font-size: 18px;
}
*/

.nav-ref {
    color: #444;
    text-decoration: none;
}

.nav-phone {
    font-weight: normal;
    font-size: 22px;
}
.breadcrumb {
    background-color: white;
    border: none;
}

.btn-success {
    background-color: #e06618;
    border-color: #e06618;
    font-family: 'MuseoSansCyrl-300';
    font-size: 18px;
    padding: 10px 30px;
}

.btn-success:focus,
.btn-success.focus,
.btn-success:active,
.btn-success.active,
.btn-success:active:hover,
.btn-success.active:hover,
.btn-success:hover {
    background-color: #e06618;
    border-color: #e06618;
}

@media(min-width:768px) {
    .row-ul h3,
    .row-ul p {
        margin-left: 100px;
    }

    .row-ul img {
        float: left;
        margin: 22px 15px 15px 0;
    }
}

.grid-theme {
    padding: 20px;
    /*margin-right: 20px;*/
}
.grid-theme:hover {
    box-shadow: 0 0 31px -7px rgba(0,0,0,.66);
    border-radius: 4px;
}

.showmore-button {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 250px;
    padding: 15px 0;
    background-color: #e06618;
    border-radius: 3px;
    margin: 20px auto 10px;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
}

.cornered {
    text-align: left;
    padding-bottom: 30px;
}

.cornered  h3 > a {
    color: black;
}
.cornered p,
.cornered ul {
    text-align: left;
}
.cornered ul {
    padding-left: 10px;
}

.cornered p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.more {
    font-size: 17px;
    font-weight: 700;
    color: #e06618;
}

.footer-title {
    padding-bottom: 15px;
}

.footer a {
    /*color: #ffffff;*/
    font-size: 19px;
    font-family: 'MuseoSansCyrl-300';
}
.footer-title a{
    color: white;
    font-size: 21px;
    font-family: 'MuseoSansCyrl-300';
}

.delimiter {
    background-image: url("images/delimiter-down.png");
    background-position-x: center;
    /*background-position-y: bottom;*/
    background-position-y: 10px;
}
/*-----------------------------------------------------------------------------------------------*/
legend,
.heading-info,
.btn-item-toggle,
.zoom { 
    cursor: pointer; 
    cursor: hand; 
}

.gallery-item > img {
    margin-top:10px;
    margin-right:10px;
    height:130px;
    padding:5px;
    border-width: 2px;
    border-style: solid;
    border-color: lightgrey;
}
.gallery-item > img:hover {
    border-color: #e06618;
}
/*-------------layouts/main----------------------------------------------------------------------*/
.modal-dialog-zoom{
    position: relative;
    display: table; /* This is important */
    overflow-y: auto;
    overflow-x: auto;
    width: auto;
    min-width: 300px;
}
.modal-dialog {
    width: auto !important;
    max-width: 90%!important;
}
.menu_hide {
    background-color: white;
}
/*
@media(min-width:767px) {
    .logo-nav {
        display: none !important;
    }
}
*/
#itemMore .dropdown-menu {
    right: 0 !important;
    left: auto !important;
}
/*-----------------------------------------------------------------------------------------------*/
.scheme-popup {
    display: none;
    border: 1px solid #777;
    padding: 20px;
    max-width: 300px;
    position: absolute;
    font-size: 14px;
    line-height: 14px;
    background: #fff;
    z-index: 9999;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    text-align: left;
    cursor: default;;
}
/**/
    .scheme-popup-body::before {
        display: block;
        content: "";
        width: 0;
        height: 0;
        vertical-align: middle;
        border-right: 8px solid #fff;
        border-top: 7px solid transparent;
        border-bottom: 7px solid transparent;
        position: absolute;
        left: -8px;
        top: 0;
        bottom: 0;
        margin-top: auto;
        margin-bottom: auto;
    }
/**/