.nav>li>a {
    padding: 15px 11px;
    max-width: 240px;
    text-align: center;
}
.modal.fade .modal-dialog {
	z-index: 1050;
}

.wp-caption {max-width: 100%;}
.full-content img {
	max-width: 100%;
	display: inherit;
}

.panel-group .panel {
    margin-bottom: 20px;
    border-radius: 4px;
}

.panel-default>.panel-heading {
    color: #ffffff;
    background-color: #005eb9;
    border-color: #dddddd;   
}

.header-logo {
	padding: 10px 0 0 0;
    background: url(/uploads/head3.jpg) center center;
    background-repeat: no-repeat;
    min-height: 60px;
    background-size: cover;
}

/* Подвал */
.bg-grey {
	background-color: #033c73;
	color: #eaeaeb;
}
.bg-grey a {
	color: #fff;
	text-decoration: none;
}
.bg-grey a:hover {
	color: #eaeaeb;
	text-decoration: underline;
}
.ratebox2 {
  float: right;
}

.ratebox3 {
  float: right;
}

.ratebox ul, .ratebox ul li {
  float: left;
  list-style-type: none;
}

.ratebox2 ul, .ratebox2 ul li {
  float: left;
  list-style-type: none;
}

.ratebox3 ul, .ratebox3 ul li {
  float: left;
  list-style-type: none;
}

/* Правки для разной ширины экрана */
@media (max-width:  640px) {
	.header-logo {
		text-align: center;
	}
	.full-content img {
		max-width: 100%;
		display: block;
	}
}

@media (min-width: 1200px) {

	.short-news .panel {
		border: 0px solid transparent; 
	}

}

.vers_special {
    background: url(/uploads/ico_special.gif) no-repeat left top;
    width: 163px;
    height: 90px;
    line-height: 24px;
    font-size: 15px;
    text-transform: uppercase;
    padding: 24px 0px 0px 22px;
}
.vers_special a {
    font-size: 15px;
}
#gotop {
    position: fixed;
    width: 41px;
    height: 41px;
    right: 30px;
    bottom: 20px;
    display: block;
    background: url(/uploads/gotop.png) no-repeat;
    z-index: 9998;
    display: none;
}

.bnt-menu {
 	font-size: 16px;   
}

.card-header:first-child {
    border-radius: calc(.25rem - 1px) calc(.25rem - 1px) 0 0;
}
.card-header {
    padding: .75rem 1.25rem;
    margin-bottom: 0;
    background-color: rgba(0,0,0,.03);
    border-bottom: 1px solid rgba(0,0,0,.125);
} 
.card-body {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1.25rem;
}

/*версия для слабовидящих*/
#hpvgd,.h-mdiv,.h-mdiv2,.h-ldiv,.h-rdiv {background:#EAEAEA; color:#6D6D6D;}
#hpvgd {width:100%; z-index:100; width:100%; border-bottom:2px solid rgb(230,230,230);}
.h-mdiv {display:none; position:relative; margin:auto; text-alegn:center;}
.h-mdiv2 {display:none; position:fixed; margin:auto; text-alegn:center; width:400px; height:200px;}
.h-ldiv {float:left; padding:7px 10px 7px 0px;}
.h-rdiv {position:absolute; top:7px; right:0px; text-align:right;}
.h-ni {display:none !important;}
a.hcmaf {color:red; margin-left:5px; font-size:20px; font-weight:bold;}
a.h-anl {color:#2a72cc;}
a.h-al {color:#ED664B;}
.h-fi {font-weight:bold; border-radius:50%; padding:0px 8px; margin-right:5px; font-size:19px;}
.h-background-1 {color:#fff !important; background:#000 !important;}
.h-background-2 {color:#000 !important; background:#fff !important;}
/* конец версия для слабовидящих