html,
body {
    height: 100%;
    font-family: 'Roboto', sans-serif;
}

.navbar-brand {
	float: left;
    height: 50px;
    padding: 0px 15px;
    font-size: 18px;
    line-height: 20px;
}

.navbar-brand > img {
    /*display: block;*/
    width:auto;
    height:50px;
}

.items_button_area {
	min-height:35px;
}

.set_percent_plus i {
	font-size:10px;
}

.set_percent_minus i {
	font-size:10px;
}

table.rates_table th, table.rates_table td {
    padding: 7px 7px 7px; /*Отступы внутри ячеек*/
    line-height: 18px; /*Межстрочный интервал*/
    text-align: left; /*Выравнивание текста по левому краю*/
}

table.rates_table th {
    font-weight:bold;
    padding:10px 10px 10px 10px;
    background: #e8eaeb;
    /*background: -webkit-gradient(linear, left top, left bottom, from(#e8eaeb), to(#e8eaeb));
    background: -moz-linear-gradient(top,  #e8eaeb,  #e8eaeb);*/
    background-image: linear-gradient(to bottom, #0098d2, #0084c5, #0070b6, #005da6, #004995);
    text-align: center;
    /*border-top:1px solid #ddd;*/
    /*border-left:1px solid #ddd;
    border-right:1px solid #ddd;*/
       vertical-align: middle;
    color:#fff;
     font: 500 11px/14px 'Roboto',sans-serif;
}

table.rates_table td {
    vertical-align: top; /*Выравнивание содержимого ячейки по верхнему краю*/
    border-top: 1px solid #ddd; /*Верхняя граница ячейки*/
     font: 500 11px/14px 'Roboto',sans-serif;
}

table.rates_table th+th,table.rates_table td+td,table.rates_table th+td {
    border-left: 0px solid #ddd; /*Стиль для левой границы между двумя ячейками*/
}

table.rates_table thead tr:first-child th:first-child, /*Первая строка первая ячейка в заголовке таблицы*/
table.rates_table tbody tr:first-child td:first-child /*Первая строка первая ячейка в теле таблицы*/{
    -webkit-border-radius: 5px 0 0 0;
    -moz-border-radius: 5px 0 0 0;
    border-radius: 5px 0 0 0;
}

table.rates_table thead tr:first-child th:last-child, /*Первая строка последняя ячейка в заголовке таблицы*/
table.rates_table tbody tr:first-child td:last-child /*Первая строка последняя ячейка в теле таблицы*/ {
    -webkit-border-radius: 0 5px 0 0;
    -moz-border-radius: 0 5px 0 0;
    border-radius: 0 5px 0 0;
}

table.rates_table tbody tr:last-child td:first-child  /*Последняя строка первая ячейка в теле таблицы*/ {
    -webkit-border-radius: 0 0 0 5px;
    -moz-border-radius: 0 0 0 5px;
    border-radius: 0 0 0 5px;
}

table.rates_table tbody tr:last-child td:last-child  /*Последняя строка последняя ячейка в теле таблицы*/{
    -webkit-border-radius: 0 0 5px 0;
    -moz-border-radius: 0 0 5px 0;
    border-radius: 0 0 5px 0;
}


table.rates_table tbody tr td {
	vertical-align:middle;
}

table.rates_table tbody tr td:first-child {
	text-align:center;
	vertical-align:middle;
}

table.rates_table tr:hover {
    background-color: #f2f2f2; /*Цвет строки при наведении курсора мыши*/
}

/*Подсветка нечетных строк в таблице*/
/*table.content_tb tbody tr:nth-child(odd) td  {
    background-color: #f8f8f8;
}
*/

.jgrowl-red-alert {
	background-color: #d32424;
	font-size:16px;
}

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

.wrap > .container {
    padding: 70px 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;
}
