html {
	background:url(../images/background_loop.jpg) repeat top left;
	padding:0;
	margin:0;
}
/* Полное покрытие фона */
html, body {
	min-width: fit-content;
	width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    height: 100%;
    min-height: 100vh;
}
body {
	margin:0;
	padding:0;
	width:auto;
	height:auto;
	background:url(../images/top_light.avif) no-repeat center top;
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
	font-family: 'Roboto', Arial, sans-serif; /* Подключи Google Fonts */
    color: #333;
    min-height: 100vh;
    flex-direction: column;
}
img {
	border:0;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    flex: 1;
}

/* 1. Глобальный фикс — правильный box-sizing */
*, *::before, *::after {
    box-sizing: border-box; /* Padding/margin не добавляются к ширине */
}

/* 2. Хедер с BMO — убираем пустоту */
header {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header img {
    max-width: 200px; /* Уменьшаем логотип */
    height: auto;
}

/* 3. Навигация — делаем нормальную, адаптивную */
nav {
    padding: 15px 0;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    font-size: 1em;
    transition: color 0.3s;
}

nav a:hover {
    color: #00ffaa; /* Яркий акцент */
}


/* 4. Основной контент (новости) — карточки */
main {
    flex: 1;
    padding: 40px 0;
}

.news-block {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.news-block h2 {
    color: #007bff;
    margin-bottom: 20px;
}

.news-block p, .news-block ul {
    line-height: 1.8;
    word-wrap: break-word;
}

.update-block, .news-item {
    background: #fff;
    padding: 30px;
    margin: 20px 0;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    line-height: 1.8;
    word-wrap: break-word;
}

footer {
    background: #111;
    color: #aaa;
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
}

@media (max-width: 768px) {
    header {
        padding: 20px;
    }
    .container {
        padding: 10px;
    }
    .news-block {
        padding: 20px;
    }
}

/* 7. Тёмная тема */
@media (prefers-color-scheme: dark) {
    body {
        background: #121212;
        color: #e0e0e0;
    }
    .news-block, header {
        background: #1e1e1e;
    }
	.update-block {
        background: #1e1e1e;
    }
    nav {
        background: #0d0d0d;
    }
}
small {
	color:#999;
}
#main_wrapper {
	margin:0 auto;
	width:1200px;
}
#footer_image {
	background:url(../images/footer_bg.avif) no-repeat center bottom;
	padding-bottom:145px;
}
#main_in {
	margin:0px auto;
	width:1200px;
	background:url(../images/wrapper_loop.jpg) repeat top left;
	-moz-box-shadow: 0px 0px 5px #000;
	-webkit-box-shadow: 0px 0px 5px #000;
	box-shadow: 0px 0px 5px #000;
}
.top_shadow {
	width:1200px;
	height:7px;
	background:url(../images/top_shadow_loop.png) repeat-x top left;
	margin-top:15px;
}
.bottom_shadow {
	width:1200px;
	height:12px;
	background:url(../images/bottom_shadow.png) no-repeat top left;
	margin:0px 0px 0px 0px;
	position: relative;
	right: -1px;
}
.clear {
	clear:both;
	height:0px;
	width:0px;
}

.sideBox {
	margin: 20px;
}

.blue_side_button {
    color: white;
    border-radius: 60px;
    font-weight: bold;
    padding: 8px 20px;
    margin-top: 10px;
    text-shadow: 1px 1px 3px #000000;
    font-size: 15px;
    background-color: #3498db;
    display: inline-block;
    min-width: 165px;
    white-space: nowrap;
    text-align: center;
}

.read_more2 {
	display:block;
	background-image: -webkit-linear-gradient(top, #40c5ff, #1c98ff);
	background-image: -moz-linear-gradient(top, #40c5ff, #1c98ff);
	background-image: -ms-linear-gradient(top, #40c5ff, #1c98ff);
	background-image: -o-linear-gradient(top, #40c5ff, #1c98ff);
	background-image: linear-gradient(top, #40c5ff, #1c98ff);
	border: 1px solid #1f96c8;
	border-radius: 5px;
	-webkit-box-shadow:0 1px 3px #000;
	box-shadow:0 1px 3px #000;
	color: #f1f1f1;
	font: bold 20px/1 helvetica, arial, sans-serif;
	padding: 10px 0 10px 0;
	text-align: center;
	text-shadow: 0px -1px 1px rgba(0, 0, 0, 0.25);
	font-size:12px;
	text-decoration:none;
	transition:all 0.35s ease-in-out;
	-moz-transition:all 0.35s ease-in-out;
	-webkit-transition:all 0.35s ease-in-out;
	-o-transition:all 0.35s ease-in-out;
}
.read_more2:hover {
	background-image: -webkit-linear-gradient(top, #1c98ff, #40c5ff);
	background-image: -moz-linear-gradient(top, #1c98ff, #40c5ff);
	background-image: -ms-linear-gradient(top, #1c98ff, #40c5ff);
	background-image: -o-linear-gradient(top, #1c98ff, #40c5ff);
	background-image: linear-gradient(top, #1c98ff, #40c5ff);
	cursor: pointer;
	color:#fff;
	text-decoration:none;
	border-color:#1f96c8;
	transition:all 0.35s ease-in-out;
	-moz-transition:all 0.35s ease-in-out;
	-webkit-transition:all 0.35s ease-in-out;
	-o-transition:all 0.35s ease-in-out;
}
.header a {
	color:#fff;
	text-decoration:none;
	transition: all 0.35s ease-in-out;
	-moz-transition: all 0.35s ease-in-out;
	-webkit-transition: all 0.35s ease-in-out;
	-o-transition: all 0.35s ease-in-out;
}
.header a:hover {
	color:#8CDDFF;
	transition: all 0.35s ease-in-out;
	-moz-transition: all 0.35s ease-in-out;
	-webkit-transition: all 0.35s ease-in-out;
	-o-transition: all 0.35s ease-in-out;
}
#logo {
	margin:0px auto;
	width:1200px;
	text-align:center;
}
#logo img {
	margin-top:70px;
	border:0;
}
#menu_wrapper{
	height:auto;
	width:1200px;
}
#menu_left, #menu_right{
	width:2px;
	height:66px;
	float:left;
}
#menu_left{
	background:url(../images/menu_left.jpg) top left no-repeat;
}
#menu_right{
	background:url(../images/menu_right.jpg) top left no-repeat;
}
ul#menu{
	height:66px;
	width:1196px;
	float:left;
	background:url(../images/menu_loop.jpg) top left repeat;
	padding:0;
	margin:0;
	list-style:none;
}
ul#menu li{
	float:left;
	flex: 0 1 auto; 
	white-space: nowrap;
	display:inline-block;
	height:66px;
	padding:0px 5.28124px 0px 0px;
	background:url(../images/menu_divider.jpg) top right no-repeat;
	
}
ul#menu li a{
	font-family: 'Oswald', Helvetica, Arial, sans-serif;
	font-weight:700;
	font-size:14px;
	text-transform:uppercase;
	text-align: center;
	display:block;
	height:46px;
	color:#fff;
	padding:20px 28.812px 0px 20px;
	text-decoration:none;
	text-shadow: 0px 2px 3px rgba(0, 0, 0, 1);
	background:url(../images/menu_hover.png) top left repeat-x;
}
ul#menu li a:hover{
	text-shadow: 0px 2px 3px rgba(0, 0, 0, 1);
	text-decoration:none;
	color:#ccc;
	background-position:0px -66px;
}
#menu li ul {
	position:absolute;
	z-index:9999;
	visibility:hidden;
	background:url(../images/wrapper_loop.jpg) repeat top left #1c1c1c;
	border:5px solid #212121;
	margin:0;
	padding:5px 0px 5px 0px;
	width:200px;
		-webkit-box-shadow:  0px 2px 5px 2px rgba(0, 0, 0, 75);  
    box-shadow:  0px 2px 5px 2px rgba(0, 0, 0, 75);
}
#main_news_wrapper{
	width:1198px;
	margin:0px 0px 0px 1px;
	background:url(../images/rwrapper_loop.png) repeat-y top right;
	border-right:1px solid #333;
	position:relative;
	display:table;
	vertical-align:top;
}
.row{
	display:table-row;
}
#left_wrapper{
	display:table-cell;
	width:866px;
	padding-right: 20px;
	border-top:1px solid #263946;
	background:url(../images/lwrapper_loop.png) repeat-y top left;
	position:relative;
	-moz-box-shadow: 5px 0px 5px 0px rgba(0, 0, 0, 0.75);
	-webkit-box-shadow: 5px 0px 5px 0px rgba(0, 0, 0, 0.75);
	box-shadow: 5px 0px 5px 0px rgba(0, 0, 0, 0.75);
}
#left_wrapper .header, #full_page_wrapper .header{
	padding:10px 0px 0px 20px;
	height:45px;
	border-bottom:1px solid #23313c;
}
#left_wrapper h2, #full_page_wrapper h2{
	text-shadow: 0px 1px 3px rgba(0, 0, 0, 1);
	font-family:'Oswald', Helvetica,  Arial, sans-serif;
	color:#fff;
	display:block;
	width:580px;
	float:left;
	font-size:14px;
	font-weight:700;
	text-transform:uppercase;
	padding:7px 0px 10px 25px;
	background:url(../images/hbullet.png) left top no-repeat;
	margin:0px 0px 0px 0px;
	position:relative;
}
#left_wrapper h2 span, #full_page_wrapper h2 span{
	color:#2ac0ff;
}
#right_wrapper{
	border-top:1px solid #303030;
	width:332px;
	display:table-cell;
	vertical-align:top;
}

#login-form input[type="text"] {
    border: 1px solid #292829;
    border-radius: 3px 3px 0px 0px;
    -moz-border-radius: 3px 3px 0px 0px;
    -webkit-border-radius: 3px 3px 0px 0px;
    padding: 12px 10px;
    width: 275px;
    -webkit-appearance: none;
}

#login-form input[type="submit"] {
    color: #00BFFF	;
	background-color: transparent;
	border: 2px solid #00BFFF!important;
    cursor: pointer;
    float: none;
    font-weight: bold;
	font-size: 14px;
    margin-top: 20px;
	padding: 15px 40px!important;
    -webkit-appearance: none;
	width: 295px;
}

#login-form input:hover[type="submit"] {
	color: #000000;
    background-color: #00BFFF;
    border: 2px solid #00BFFF	!important;
}

.btnf {
	margin-top: 16px;
    display: inline-block;
    margin-bottom: 0;
    text-align: center;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
	color: #00BFFF;
    background-color: transparent;
    border: 2px solid #00BFFF!important;
    white-space: nowrap;
    padding: 6px 0px;
    font-size: 14px;
	font-weight: bold;
	text-decoration: none !important;
	text-shadow: none;
	font-family: Arial, Helvetica, sans-serif;
    line-height: 1.8;
    -moz-user-select: none;
    -ms-user-select: none;
	-webkit-appearance: none;
    user-select: none;
	width: 291px;
}

.btnf:hover {
	color: #000000;
    background-color: #00BFFF;
    border: 2px solid #00BFFF!important;
}

#login-form input[type="password"] {
    border: 1px solid #292829;
    border-radius: 0px 0px 3px 3px;
    -moz-border-radius: 0px 0px 3px 3px;
    -webkit-border-radius: 0px 0px 3px 3px;
    padding: 12px 10px;
    width: 275px;
	margin-top: 2px;
    -webkit-appearance: none;
}

#right_wrapper .header {
	padding:9px 0px 10px 20px;
	background:url(../images/right_h_bg.png) top left no-repeat;
	height:21px;
	text-transform: uppercase;
}
.review, .categories, .normal, .footer_widget{
	background:url(../images/footer.png) bottom left repeat-x;
	width:330px;
	text-shadow: 0px 2px 3px rgba(0, 0, 0, 1);
	font-family:'Oswald', Helvetica, Arial, sans-serif;
	color:#fff;
	font-size:13px;
	font-weight:700;
	padding:0px 0px 16px 0px;
	margin:0px 0px 10px 1px;
	float:left;
	vertical-align:top;
}
#footer {
	width:1200px;
	border-top:1px solid #2c9ec6;
	background:url(../images/footer.png) bottom left repeat-x #050505;
	margin:30px 0px 0px 0px;
	display:table;
}

#footer .row{
	background:url(../images/box_text_bg.png) top left repeat-x;
}

#cop_text {
	float:left;
	margin:15px 0px 0px 15px;
	color:#C9C9C9;
	text-decoration:none;
	transition:all 0.35s ease-in-out;
	-moz-transition:all 0.35s ease-in-out;
	-webkit-transition:all 0.35s ease-in-out;
	-o-transition:all 0.35s ease-in-out;
}
#cop_text:hover {
	margin:15px 0px 0px 20px;
	color:#fff;
	text-decoration:none;
	transition:all 0.35s ease-in-out;
	-moz-transition:all 0.35s ease-in-out;
	-webkit-transition:all 0.35s ease-in-out;
	-o-transition:all 0.35s ease-in-out;
}

.flagstrap {
    display: inline-block;
    position: relative;
    width: 100%;
}

.flagstrap-icon {
    display: inline-block;
    width: 16px;
    height: 11px;
    background: url(flags.png) no-repeat
}

.flagstrap-placeholder,
.flagstrap-placeholder i {
  display: none
}

.flagstrap-icon.flagstrap-ua {
    background-position: -16px 0
}

.flagstrap-icon.flagstrap-pl {
    background-position: -32px 0
}

.flagstrap-icon.flagstrap-us {
    background-position: -48px 0
}

.flagstrap-icon.flagstrap-ru {
    background-position: -64px 0
}

.flagstrap-icon.flagstrap-bl {
    background-position: -80px 0
}
.btnfine:hover,
.btnfine:focus,
.btnfine.focus{
	  transform: rotate(2deg);
-webkit-transform: rotate(2deg);
-moz-transform: rotate(2deg);
    outline: 2px dashed #3d1f15; 
    outline-offset: -10px;
}

.btn {
  display: inline-block;
  width: 295px;
  padding: 6px 12px;
  margin-bottom: 0;
  margin: 20px;
  font-size: 18px;
  font-weight: normal;
  line-height: 1.42857143;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -ms-touch-action: manipulation;
      touch-action: manipulation;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  background-image: none;
  background-color: transparent;
  border: 2px solid #00BFFF!important;
  border-radius: 4px;
}
.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
  outline: thin dotted;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}
.btn:hover,
.btn:focus,
.btn.focus {
  color: #333;
  text-decoration: none;
  border: 2px solid #000000!important;
}
.btn:active,
.btn.active {
  background-image: none;
  outline: 0;
  -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
          box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
}

.btn-info {
  color: #00BFFF;
  background-color: transparent;
  border-color: #46b8da;
}
.btn-info:hover,
.btn-info:focus,
.btn-info.focus,
.btn-info:active,
.btn-info.active,
.open > .dropdown-toggle.btn-info {
  color: #fff;
  background-color: #31b0d5;
  border-color: #269abc;
}
.btn-info:active,
.btn-info.active,
.open > .dropdown-toggle.btn-info {
  background-image: none;
}
.btn-sm,
.btn-group-sm > .btn {
  padding: 5px 10px;
  font-size: 18px;
  line-height: 1.5;
  border-radius: 3px;
}
.caret {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 2px;
  vertical-align: middle;
  border-top: 4px solid;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
}
.dropdown-toggle:focus {
  outline: 0;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  float: left;
  min-width: 200px;
  padding: 5px 0;
  margin: 2px 0 0;
  font-size: 14px;
  text-align: left;
  list-style: none;
  background-color: #666;
  -webkit-background-clip: padding-box;
          background-clip: padding-box;
  border: 1px solid #ccc;
  border: 1px solid rgba(0, 0, 0, .15);
  border-radius: 4px;
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
          box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
}
.dropdown-menu > li > a {
  display: block;
  padding: 3px 20px;
  clear: both;
  font-weight: normal;
  line-height: 1.42857143;
  color: #fff;
  white-space: nowrap;
}
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
  color: #262626;
  text-decoration: none;
  background-color: #f5f5f5;
}
.open > .dropdown-menu {
  display: block;
}
.btn .caret {
  margin-left: 0;
}

img#btd{
	position:absolute;
	top: 0px;
	left: 290px;
}

.hpn-info {
	-moz-box-shadow:  2px 2px 5px 1px rgba(0, 0, 0, 1);
	-webkit-box-shadow: 2px 2px 5px 1px rgba(0, 0, 0, 1);
	box-shadow: 2px 2px 5px 1px rgba(0, 0, 0, 1);
	background: #303030;
	width: auto;
	color: #fff;
	position:relative;
	/*top:-100px;*/
	float:right;
	z-index: 1;
	background:url(../images/banner_title_bg.jpg) repeat-x top left;
}
.hpn-info a.news-title {
	background:url(../images/banner_title_hl.png) no-repeat top right;
	padding: 14px 64px 0px 0px ;
	font-size: 16px;
	display:block;
	height:51px;
	font-family:'Oswald', Helvetica,  Arial, sans-serif;
	font-weight:700;
	text-transform:uppercase;
	text-align: center;
	min-width:300px;
	text-decoration:none;
	color:#fff;
	transition:color 0.5s ease-in-out;
	/* Firefox 4 */
	-moz-transition:color 0.5s ease-in-out;
	/* Safari and Chrome */
	-webkit-transition:color 0.5s ease-in-out;
	/* Opera */
	-o-transition:color 0.5s ease-in-out;
}

.hpn-info a.news-title:hover {
	text-decoration:none;
	color:#2ac0ff;
	transition:color 0.5s ease-in-out;
	/* Firefox 4 */
	-moz-transition:color 0.5s ease-in-out;
	/* Safari and Chrome */
	-webkit-transition:color 0.5s ease-in-out;
	/* Opera */
	-o-transition:color 0.5s ease-in-out;
}



#menu li a {
    color: #fff;                /* Цвет текста */
    text-decoration: none;
    display: block;             /* Ссылка занимает весь блок */
    font-size: 16px;
    transition: background 0.3s, color 0.3s;
    border-radius: 6px;
}

/* === Адаптивность для мобильных (<768px) === */
@media (max-width: 768px) {
    #menu {
        flex-direction: column; /* Пункты друг под другом */
        gap: 10px;
        padding: 10px;
    }

    #menu li {
        flex: none;             /* Отключаем равное распределение */
        min-width: auto;
    }

    #menu li a {
        padding: 15px;
        font-size: 18px;        /* Больше текст на мобильных */
    }
	
}


.panel-post-news{
	background: #fff;
	border:3px solid #25394a;
	border-radius: 10px;
	margin:0px 0px 30px 0px;
	padding: 10px 20px 5px 20px;
	-webkit-box-shadow:  0px 2px 5px 2px rgba(0, 0, 0, 0.5);  
    box-shadow:  0px 2px 5px 2px rgba(0, 0, 0, 0.5);
	position:relative;
}
.panel-heading{
	color: #0A7CAA;
	font-size: 24px;
	margin-left:20px;
	text-decoration:none;
	transition:all 0.35s ease-in-out;
	-moz-transition:all 0.35s ease-in-out;
	-webkit-transition:all 0.35s ease-in-out;
	-o-transition:all 0.35s ease-in-out;
	display:block;
}
.panel-body{
	padding: 10px 10px;	
}

.panel-post-news a:link {
    color: #0A7CAA;  /* Цвет ссылок */
}
.panel-post-news a, a:visited {
	color: #0A7CAA; 
	text-decoration: none;
	transition: color 0.2s ease;
	-moz-transition: color 0.2s ease;
	-webkit-transition: color 0.2s ease;
}
.panel-post-news a:hover { 
	color: #5FBC00; 
	text-decoration: none;
}