@font-face {
    font-family: OpenSans;
    src: url(../fonts/OpenSans-Regular.ttf);
}

@font-face {
    font-family: MetaPro;
    src: url(../fonts/MetaPro-Normal.ttf);
}

html {
    position: relative;
    min-height: 100%;
}

body {
    font-family: 'OpenSans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 101px;
}

.center-block {
    margin: 0 auto;
}

a:link {
    font-weight: 500;
}

a:hover {
    font-weight: 500;
}

a:visited {
    font-weight: 500;
}

.red {
    font-weight: bold;
}

.blue {

}

/*Хеадер*/

.header {
    min-height: 141px;
    background-image: url(/images/header_background.png);
    background-size: cover;
}

.logo {
    margin-top: 20px;
    margin-left: 30px;
    position: absolute;
    width: 120px;
}

.city-logo {
    margin-top: 20px;
    position: absolute;
}

/*Футер*/

.footer {
    font-family: 'OpenSans', sans-serif;
    border-top: solid 3px;
    border-color: #000000;
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px;
}

.black .footer {
    font-family: 'OpenSans', sans-serif;
    font-size: 16px;
    border-top: solid 3px;
    border-color: #ffffff;
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px;
}


    /*Контент*/
.main_head {
    margin: 0 0 20px 0;
    padding: 10px;
    width: 100%;
    border-bottom: solid 3px;
    border-color: #000000;
    font-weight: 300;
}

.black .main_head {
    margin: 0 0 20px 0;
    padding: 10px;
    width: 100%;
    border-bottom: solid 3px;
    border-color: #ffffff;
    font-weight: 300;
}

.box {
    /*margin: 10px;*/
    padding: 5px;
}

.box-border {
    /*margin: 10px;*/
    padding: 5px;
    border-radius: 5px;
    border: 3px solid #000000;
}

.black .box-border {
    /*margin: 10px;*/
    padding: 5px;
    border-radius: 5px;
    border: 3px solid #ffffff;
}

.box-name {
    padding: 5px;
    border-bottom: solid 3px;
    border-color: #000000;
}

.black .box-name {
    padding: 5px;
    border-bottom: solid 3px;
    border-color: #ffffff;
}

.main_all {
    font-family: 'MetaPro', sans-serif;;
}

.more {
    font-family: 'MetaPro', sans-serif;;
}

.box-title {
    font-family: 'MetaPro', sans-serif;
    font-weight: 300;
}

.box-element {
    padding: 5px 10px 10px 10px;
}

.box-element-date {
    font-family: 'MetaPro', sans-serif;;
    font-size: 16px;
    font-weight: bold;
}

.box-element-title {
    font-family: 'MetaPro', sans-serif;;
    font-weight: bold;
}

.box-element-preview {
    font-family: 'MetaPro', sans-serif;;
}

.content-name {
    font-weight: bold;
    margin-left: 20px;
}

/* Главное меню */
.menu {
    width: 100%;
    margin: 0 auto;
    padding: 3px 0 3px 10px;
    list-style: none;
    background: #2177C9;
    border-radius: 5px;
}

.menu li {
    float: left;
    margin: 0;
    position: relative;
}

.menu a {
    float: left;
    margin: 0;
    padding: 7px 19px;
    font-family: 'MetaPro', sans-serif;;
    color: #ffffff;
    font-size: 20px;
    font-weight: 300;
    text-decoration: none;
}

.menu li:hover > a {
    color: #2177C9;
    background-color: #ffffff;
}

* html .menu li a:hover /* IE6 */
{
    color: #fafafa;
}

.menu li:hover > ul {
    display: block;
}

/* Подменю */

.menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: none;
    position: absolute;
    top: 41px;
    left: 0;
    z-index: 99999;
    background: #ffffff;
    border-radius: 10px;
    border: 3px solid #2177C9;
}

.menu ul li {
    float: none;
    margin: 0;
    padding: 0;
    display: block;
    color: #2177C9;
}

.menu ul li:last-child {
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.menu ul a {
    padding: 10px;
    height: auto;
    line-height: 1;
    display: block;
    white-space: nowrap;
    float: none;
    text-transform: none;
    color: #2177C9;
}

* html .menu ul a /* IE6 */
{
    height: 10px;
    width: 150px;
}

*:first-child + html #menu ul a /* IE7 */
{
    height: 10px;
    width: 150px;
}

.menu ul a:hover {
    background: #2177C9;
    color: #fff;
}

.menu ul li:first-child a {
    -moz-border-radius: 5px 5px 0 0;
    border-radius: 5px 5px 0 0;
}

.menu ul li:first-child a:after {
    content: '';
    position: absolute;
    left: 30px;
    top: -8px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 8px solid #2177C9;
}

.menu ul li:first-child a:hover:after {
    border-bottom-color: #2177C9;
}

.menu ul li:last-child a {
    -moz-border-radius: 0 0 5px 5px;
    border-radius: 0 0 5px 5px;
}

.menu:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

* html .menu {
    zoom: 1;
}

/* IE6 */
*:first-child + html .menu {
    zoom: 1;
}

/* IE7 */

.menu_center {
    margin: 0 auto;
}

/*Таблицы*/

table {
    border-spacing: 0;
    width: 100%;

}

.table-border {
    border: 1px solid #000000;
}

.black .table-border {
    border: 1px solid #ffffff;
}

.table-border tbody tr td {
    border: 1px solid #000000;
    padding: 5px;
}

.black .table-border tbody tr td {
    border: 1px solid #ffffff;
    padding: 5px;
}

th {
    border: 1px solid #ffffff;
    background-color: #000000;
    color: #ffffff;
    padding: 5px;
    text-align: center;
    vertical-align: middle;
    font-weight: bold;
}

.black th {
    border: 1px solid #000000;
    background-color: #ffffff;
    color: #000000;
    padding: 5px;
    text-align: center;
    vertical-align: middle;
    font-weight: bold;
}

.head td {
    border-collapse: collapse;
    border: 1px solid #ffffff;
    background-color: #000000;
    padding: 5px;
    text-align: center;
    vertical-align: middle;
}

.black .head td {
    border-collapse: collapse;
    border: 1px solid #000000;
    background-color: #ffffff;
    padding: 5px;
    text-align: center;
    vertical-align: middle;
}

td {
    vertical-align: top;
}

.black .table-hover > tbody > tr:hover > td,
.table-hover > tbody > tr:hover > th {
    background-color: #ffffff;
    color: #000000;
}

.black .table-hover > tbody > tr:hover > td a,
.table-hover > tbody > tr:hover > th a{
    color: #000000;
}

.info {
    padding-left: 20px;
    padding-right: 20px;
}

.info-padding {
    width: 50%;
    padding-right: 40px;
}

.table-name {
    /*color: #FF2C2F;*/
    /*font-size: 16px;*/
    font-weight: bold;
    padding-left: 25px;
    margin-top: 10px;
    /*margin-bottom: 5px;*/
}

.content-center td {
    vertical-align: middle;
    text-align: center;
    font-weight: bold;
}

.content th {
    text-align: center;
    vertical-align: middle;
    font-weight: bold;
    border-color: #FFFFFF;
    background-color: #2177C9;
    padding: 5px;
}

.center {
    text-align: center;
    vertical-align: middle;
}

.center-bold {
    text-align: center;
    vertical-align: middle;
    font-weight: bold;
}

.head {
    border-collapse: collapse;
    border: 1px solid #FFFFFF;
    background-color: #2177C9;
    padding: 5px;
    text-align: center;
    vertical-align: middle;
    font-weight: bold;
}

.border td {
    /*border-collapse:collapse;*/
    border: 1px solid #2177C9;
    padding: 5px;
}

.zf-green {
    color: #68b604;
}

.flex-container {
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-success {
    background-color: #57a900;
    background-image: -moz-linear-gradient(top, #70d900, #57a900);
    background-image: -ms-linear-gradient(top, #70d900, #57a900);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#70d900), to(#57a900));
    background-image: -webkit-linear-gradient(top, #70d900, #57a900);
    background-image: -o-linear-gradient(top, #70d900, #57a900);
    background-image: linear-gradient(top, #70d900, #57a900);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#70d900', endColorstr='#57a900', GradientType=0);
}

.btn-success:hover,
.btn-success:active,
.btn-success.active,
.btn-success.disabled,
.btn-success[disabled] {
    background-color: #57a900;
}

.btn-success:active, .btn-success.active {
    background-color: #57a900;
}

div.container a.brand {
    background: url("../img/zf2-logo.png") no-repeat scroll 0 10px transparent;
    margin-left: 0;
    padding: 8px 20px 12px 40px;
}
