@font-face{
    font-family:'dincond';
    src:url('/templates/fonts/dincond/DNC57.eot');
    src:url('/templates/fonts/dincond/DNC57.woff')format('woff'),url('/templates/fonts/dincond/DNC57.ttf')format('truetype');
}
@font-face{
	font-family:'PT Sans Narrow';
	src:url('/templates/fonts/ptsn/ptsn.eot');
	src:url('/templates/fonts/ptsn/ptsn.eot?#iefix')format('embedded-opentype'),url('/templates/fonts/ptsn/ptsn.woff')format('woff'),url('/templates/fonts/ptsn/ptsn.ttf')format('truetype');
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background:#fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 50px;
}

/* Навигация - ограничена 1200px */
nav {
    background: #fff;
    box-shadow: 0 0px 15px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

nav.hidden {
    transform: translateY(-100%);
}

.nav-container {
    max-width: 1200px; /* МЕНЮ ОГРАНИЧЕНО 1200px */
    margin: 0 auto;
    padding: 0 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.logo {
    margin: 2px 0 0 0;
}

/* Десктопное меню */
.desktop-menu {
    display: flex;
    list-style: none;
    gap: 0px;
}

.desktop-menu > li {
    position: relative;
}

.desktop-menu a, .menu-button {
    display: block;
    padding: 20px 20px 18px 20px;
    color:#5F5F5F;
    text-decoration: none;
    transition: background 0.3s ease;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 18px;
    font-family: dincond;
    font-weight:0!important;
    text-transform:uppercase;
    border-radius: 0px;
}

.desktop-menu > li > a:hover,
.desktop-menu > li > .menu-button:hover {
    background: linear-gradient(135deg, #7C7CE0, #8C8CF0);
    color:#FFF;
}

.desktop-menu > li > a.active,
.desktop-menu > li > .menu-button.active {
    background: linear-gradient(135deg, #7C7CE0, #8C8CF0);
    color:#FFF;
}

/* Подменю для десктопа */
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: linear-gradient(135deg, #7C7CE0, #8C8CF0);
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.25);
    border-radius: 0px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
    margin-top: 0px;
}

.desktop-menu > li:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li a {
    color:#FFFFFF;
    padding: 12px 20px;
    display: block;
    transition: background 0.3s ease;
    box-shadow: 0 1px 0px rgba(0,60,120,0.25);
    text-align:left;
}

.submenu li a:hover {
    background: #f0f0f0;
    color:#5F5F5F;
}

.submenu li a.active {
    background: linear-gradient(135deg, #FF3366, #EE2255);
    color: white;
}

/* Гамбургер */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    background: transparent;
    border: none;
    z-index: 1002;
    position: relative;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: white;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Мобильное меню */
.mobile-menu {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #0099DD, #0088CC);
    display: none;
    flex-direction: column;
    padding: 80px 20px 20px;
    overflow-y: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu.active {
    display: flex;
    opacity: 1;
}

.mobile-menu-item {
    margin-bottom: 10px;
}

.mobile-menu-button {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    font-size: 18px;
    text-align: left;
    cursor: pointer;
    border-radius: 0px;
    transition: background 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu-button:hover {
    background: rgba(255,255,255,0.2);
}

.mobile-menu-button.active-page {
    background: linear-gradient(135deg, #FF3366, #EE2255);
}

.mobile-menu-button.has-submenu::after {
    content: '▼';
    transition: transform 0.3s ease;
    font-size: 12px;
}

.mobile-menu-button.active::after {
    transform: rotate(180deg);
}

.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 0px;
}

.mobile-submenu.active {
    max-height: 500px;
}

.mobile-submenu a {
    display: block;
    padding: 12px 20px;
    color: white;
    text-decoration: none;
    background: rgba(255,255,255,0.05);
    margin-top: 5px;
    border-radius: 0px;
    transition: background 0.3s ease;
}

.mobile-submenu a:hover {
    background: rgba(255,255,255,0.15);
}

.mobile-submenu a.active-page {
    background: linear-gradient(135deg, #FF3366, #EE2255);
}

/* КОНТЕНТ - НА ВСЮ ШИРИНУ */
.content {
    flex: 1;
    width: 100%; /* КОНТЕНТ ЗАНИМАЕТ ВСЮ ШИРИНУ */
    padding: 40px 0; /* убрали боковые отступы */
}
h1,h2,h3,h4,h5,h6{font-family:dincond; font-weight:100;}

.content h1 {
    color: #333;
    margin-bottom: 20px;
}

.content p {
    color: #668;
    line-height: 1.3;
    margin-bottom: 15px;
}

/* Футер */
footer {
    background: #2c3e50;
    font-size:11px;
    color: #abc;
    text-align: center;
    padding: 20px 20px;
    margin-top: auto;
}

/* Адаптивность */
@media (max-width: 768px) {
    .desktop-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-container {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border-radius: 0;
    }
}

/* Слайдер - на всю ширину */
.slider-container {
    width: 100%; /* СЛАЙДЕР НА ВСЮ ШИРИНУ */
    margin: 10px auto 0 auto;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.15);
    padding: 10px 10px 10px 10px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.slider-content {
    position: relative;
    min-height: 250px;
}

.slide {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 12px 12px 12px 12px;
    transition: opacity 0.3s, visibility 0.3s;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.slide h2 {
    font-family:dincond;
    font-weight:100;
    font-size: 1.6em;
    color: #0A4D68;
    margin: 12px 0 0 0;
}

.slide p, .slide blockquote {
    font-size: 1em;
    color: #444;
    line-height: 1.7;
}

.slide cite {
    color: #088395;
    padding-left:6px;
}

.slider-controls {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 20px 0px 2px 0px;
    flex-wrap: wrap;
}

.slider-btn {
    font-family: Calibri;
    background: linear-gradient(135deg, #7F7FDD, #8869CC);
    color: #fff;
    border: none;
    border-radius: 3px;
    font-size: 0.9em;
    font-weight: 700;
    padding:12px 16px;
    min-width:100px;
    cursor:pointer;
    transition: background 0.22s;
}

.slider-btn.active {
    background: linear-gradient(135deg, #FF3366, #EE2255);
    box-shadow: 0 1px 6px rgba(8, 131, 149, 0.17) inset;
}

.slider-btn:hover:not(.active) {
    background: linear-gradient(135deg, #44bcf7, #05BFDB);
}

.btn {
    font-family: Calibri;
    background: linear-gradient(135deg, #234578, #004466);
    color: #fff;
    border: none;
    border-radius: 2px;
    font-size: 0.8em;
    font-weight: 700;
    padding:8px 10px;
    min-width:80px;
    cursor:pointer;
    transition: background 0.22s;
}

.btn.active {
    background: linear-gradient(135deg, #FF3366, #EE2255);
    box-shadow: 0 1px 6px rgba(8, 131, 149, 0.17) inset;
}

.btn:hover:not(.active) {
    background: linear-gradient(135deg, #44bcf7, #05BFDB);
}

@media (max-width:600px) {
    .slider-container {
        margin: 10px auto 0 auto;
        background: #fff;
        border-radius: 5px;
        box-shadow: 0 4px 18px rgba(0,0,0,0.15);
        padding: 0px 0px 10px 0px;
        position: relative;
        display: flex;
        flex-direction: column;
    }
}

a {
    text-decoration:none;
    text-align:center;
}


/* Контейнер для сетки колонок */
:root {
    --gap: 10px; /* Отступ между колонками - меняйте здесь */
}

.container {
    width: 100%;
    margin: 50px auto;
    padding: 0 10px;
}

.page {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap);
	padding:10px 0;
}

.col {
    padding: 10px 10px 8px 10px;
    box-sizing: border-box;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 2px;
}

/* Десктоп */
@media (min-width: 1024px) {
    .lg1  { width: calc(8.333% - var(--gap) * 11 / 12); }
    .lg2  { width: calc(16.666% - var(--gap) * 10 / 12); }
    .lg3  { width: calc(25% - var(--gap) * 9 / 12); }
    .lg4  { width: calc(33.333% - var(--gap) * 8 / 12); }
    .lg5  { width: calc(41.666% - var(--gap) * 7 / 12); }
    .lg6  { width: calc(50% - var(--gap) * 6 / 12); }
    .lg7  { width: calc(58.333% - var(--gap) * 5 / 12); }
    .lg8  { width: calc(66.666% - var(--gap) * 4 / 12); }
    .lg9  { width: calc(75% - var(--gap) * 3 / 12); }
    .lg10 { width: calc(83.333% - var(--gap) * 2 / 12); }
    .lg11 { width: calc(91.666% - var(--gap) * 1 / 12); }
    .lg12 { width: 100%; }
}

/* Планшеты */
@media (min-width: 768px) and (max-width: 1023px) {
    .md1  { width: calc(8.333% - var(--gap) * 11 / 12); }
    .md2  { width: calc(16.666% - var(--gap) * 10 / 12); }
    .md3  { width: calc(25% - var(--gap) * 9 / 12); }
    .md4  { width: calc(33.333% - var(--gap) * 8 / 12); }
    .md5  { width: calc(41.666% - var(--gap) * 7 / 12); }
    .md6  { width: calc(50% - var(--gap) * 6 / 12); }
    .md7  { width: calc(58.333% - var(--gap) * 5 / 12); }
    .md8  { width: calc(66.666% - var(--gap) * 4 / 12); }
    .md9  { width: calc(75% - var(--gap) * 3 / 12); }
    .md10 { width: calc(83.333% - var(--gap) * 2 / 12); }
    .md11 { width: calc(91.666% - var(--gap) * 1 / 12); }
    .md12 { width: 100%; }
}

/* Мобильные */
@media (max-width: 767px) {
    .sm1  { width: calc(8.333% - var(--gap) * 11 / 12); }
    .sm2  { width: calc(16.666% - var(--gap) * 10 / 12); }
    .sm3  { width: calc(25% - var(--gap) * 9 / 12); }
    .sm4  { width: calc(33.333% - var(--gap) * 8 / 12); }
    .sm5  { width: calc(41.666% - var(--gap) * 7 / 12); }
    .sm6  { width: calc(50% - var(--gap) * 6 / 12); }
    .sm7  { width: calc(58.333% - var(--gap) * 5 / 12); }
    .sm8  { width: calc(66.666% - var(--gap) * 4 / 12); }
    .sm9  { width: calc(75% - var(--gap) * 3 / 12); }
    .sm10 { width: calc(83.333% - var(--gap) * 2 / 12); }
    .sm11 { width: calc(91.666% - var(--gap) * 1 / 12); }
    .sm12 { width: 100%; }
}

#table.grid tr th:nth-child(3),table.grid.sp tr td:nth-child(3) {text-align: left !important;}
table.grid tr th,table.grid tr td {
	text-align: center !important;
}

.grid{width:100%}
.grid th{padding:5px 10px;background:#498bcf;color:#fff;font-family:dincond;font-size:17px;font-weight:100;text-transform:uppercase;text-shadow:#000 1px 1px 1px}
.grid th:first-child{border-radius:3px 0 0 0}
.grid th:last-child{border-radius:0 3px 0 0}
.grid tr:nth-child(odd){background:#f0f6f9}
.grid tr:nth-child(even){background:#e0efff}
.grid td{font-family:"PT Sans Narrow"; font-size:13px; color:#353637; vertical-align:middle;padding:4px 10px}
.grid td.fr{font-family:"PT Sans Narrow";padding:4px 0;float:right}
.grid th.dark{background:#246!important;}

tr td.navy{height:1px;background:#60a0c0; padding:0;}

textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"] {	
	background: #fcfcfc !important;
    position: relative;
    border: none;
	color:#515151;
    border: 1px solid rgba(222,222,222, 0.35);
    height: 34px;
	top:-1px;
    padding: 6px 10px 8px 8px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    -ms-box-shadow: none;
    -o-box-shadow: none;
    box-shadow: none;
	font-family:'Calibri';
	font-size:18px;
	-webkit-border-radius:1px;
	-moz-border-radius:1px;
	border-radius:1px;
	font-weight:100 !important;
    -webkit-transition: all 0.3s ease-in-out;
	   -moz-transition: all 0.3s ease-in-out;
		-ms-transition: all 0.3s ease-in-out;
		 -o-transition: all 0.3s ease-in-out;
			transition: all 0.3s ease-in-out;
}

input{background:#f3f3f3 !important; border-color:#efefef; font-size:13px; margin:2px 0}

input:focus{background:#ffffff !important; color:#515151; border:#99AABB 1px solid!important; border-radius:1px; outline: none;}

input.btn{margin-top:6px; background:#0099dd !important; border-color:#efefef; font-size:13px; text-transform:uppercase;}
input.btn:hover{background:#dd3377 !important;}
input.btn:focus{background:#dd3377 !important; border:0px!important; color:#fed;}

textarea:-moz-placeholder,
textarea::-moz-placeholder,
textarea::-webkit-input-placeholder,
input:-moz-placeholder,
input::-moz-placeholder,
input::-webkit-input-placeholder,
input:-ms-input-placeholder{color:#113355;opacity:1;}

input:focus::-webkit-input-placeholder {font-size:1px; text-indent: 750px; transition: text-indent 0.3s ease;color:#fff;}
input:focus::-moz-placeholder          {font-size:1px; text-indent: 750px; transition: text-indent 0.3s ease;color:#fff;}
input:focus:-moz-placeholder           {font-size:1px; text-indent: 750px; transition: text-indent 0.3s ease;color:#fff;}
input:focus:-ms-input-placeholder      {font-size:1px; text-indent: 750px; transition: text-indent 0.3s ease;color:#fff;}