/* Imports
----------------------------------------*/
@import url("default.css");

/* Main Elements
----------------------------------------*/
html, body {
    height: 100%;
    font-family: "Inter", sans-serif!important;
}

body {
    position: relative;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    font-size: 12px;
    color: #393939;
    line-height: 160%;
    /*  background: url(../images/bg.jpg);*/
}
.container {
    padding: 0!important;
}
textarea {
    font-family: Arial, sans-serif;
}

a {
    color: #0580a9;
    font-size: 14px;
}

a:hover {
    text-decoration: none
}

h2 {
    font-size: 18px;
    color: #393939;
    font-family: Georgia, sans-serif;
    line-height: 25px;
}

h1 {
    font-size: 24px;
    color: #07769c;
    font-family: Georgia, sans-serif;
    margin-bottom: 15px;
    line-height: 30px
}

h3 {
}
.first_section {
    background-color: rgba(10, 83, 190, 0.7);
}
h4 {
}

h5 {
}

.msg_error {
    color: red
}

p {
}

.lh20 {
    line-height: 20px
}

.p10 {
    padding: 0 10px
}

/* Colors
----------------------------------------*/
.sgray {
    color: #959595
}

/* Content elements
----------------------------------------*/
.simple-content {
    margin-top: 40px;
}

.simple-content a {
}

.simple-content ul {
    margin-bottom: 10px
}

.simple-content ul li {
    list-style-type: circle;
    list-style-position: inside;
    margin-bottom: 5px
}

.simple-content p {
    margin-bottom: 10px
}

.simple-content span {
}

.simple-content b {
    font-weight: bold
}

.simple-content strong {
    font-weight: bold
}

.simple-content i {
    font-style: italic
}

.simple-content em {
    font-style: italic
}

.simple-content ol {
    margin-left: 15px
}

.simple-content ol li {
    margin-bottom: 5px
}

.simple-content table {
    margin-bottom: 10px;
}

.simple-content table td {
    padding: 5px 10px 10px 5px;
    border-bottom: 1px solid #efefef
}

.simple-content table th {
    background: #F7F7F7;
    border-bottom: 2px solid #EEE;
    padding: 5px 10px 10px 5px;
    font-weight: bold
}

.simple-content table tr:hover td {
    background: #f9f9f9
}

/* Site styles
----------------------------------------*/

.gsc-input {
    width: 300px
}

.gsc-branding-user-defined {
    display: none
}

#c {
    margin: 0 auto;
}


#header {
    height: 80px;
    padding: 0 13px;
}

.logo {
    float: left;
    width: 400px;
}

.logo a {
}

.logo .site-name {
    float: right;
    width: 311px;
    color: #3c3c3c;
    font-size: 17px
}

.right-header {
    width: 212px;
    float: right;
}

.search {
    height: 25px;
    background: url(../images/search.png);
    position: relative
}

.search input {
    border: 0;
    margin-left: 15px;
    width: 155px;
    position: absolute;
    left: 0;
    top: 3px
}

.ihint-help {
    left: 15px;
    font-style: italic;
    color: #dad9d9;
    font-family: Georgia, sans-serif;
    top: 3px;
}

.search span.btn {
    position: absolute;
    width: 20px;
    height: 20px;
    right: 15px;
    top: 2px;
    cursor: pointer
}

.header-phone {
    font-family: Georgia, sans-serif;
    font-size: 16px;
    color: #393939;
    margin-top: 15px;
    text-align: center
}

#content {
    margin-top: 25px;
    margin: 15px -10px;
    position: relative;
}

#content .top {
    height: 10px;
    background: url(../images/content.png) top left;
}

#content .bottom {
    height: 12px;
    background: url(../images/content.png) bottom left;
}
.hero_screen_background {
    background-image: url(../images/Archive3_1.png);
    min-height: 344px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero_screen_bottom_background {
    background-image: url(../images/first_screen.png);
    min-height: 400px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom:-24px;
}
.container_hero_screen_bottom_background {
    max-width: 650px!important;
    margin-bottom: -24px;
}
.hero_screen_title {
    color: #FFFFFF;
    font-family: "Literata", serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 36px;
    text-transform:uppercase;
    text-align: center;
}
.p10 .right-box {
    max-width: 1320px;
    margin: 0 auto;
}
.hero_screen_subtitle {
    font-size: 22px;
    line-height: 27px;
    margin-top: 30px;
    margin-bottom: 30px;
}
.hero_sub_container {
    max-width: 1100px;
    margin: 0 auto;
}
.hero_screen_text {
    margin-top: 30px;
    color:#333333;
    font-size: 15px;
    line-height: 18px;
    font-weight: 300;
}
#content .center {/*
    background: url(../images/archive_back_first.jpg) repeat-y;*/
}
/*#content .center::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(56, 56, 56, 0.6);
    z-index: 1;
}*/
.top-content {
    color: black;
    font-size: 30px;
}
.blue {
    color: #0a53be;
}
.container {
    max-width: 100% !important;
}
.red {
    color: red;
}
.panels_first_page {
    min-height: 200px;
    justify-content: center;
    align-items: center;
    display: flex;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 7px;
    transition: 0.3s;
}
.panels_first_page:hover {
    transform: scale(0.98);
    transition: 0.3s;
}
.panels_first_page p,.panels_first_page h5, .panels_first_page a {
    color:white;
    text-decoration: none;
    text-align: center;
    text-transform:uppercase;
}
.panels_first_page h5 {
    font-size: 22px;
    font-weight: bold;
}
.panels_first_page p {
    font-size: 15px;
    font-weight: normal;
}
a {
    text-decoration: none!important;
}
.archive-stats-section {
    background-image: url('/media/images/bg_archive_stats.jpg'); /* заменишь на актуальный путь */
    background-size: cover;
    background-position: center;
}

.stat-box {
    position: relative;
}

.stat-label {
    font-size: 16px;
    margin-bottom: 5px;
    color: #ddd;
}

.stat-value {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #fff;
}

.stat-underline {
    height: 2px;
    width: 100%;
    background-color: #fff;
    opacity: 0.8;
    max-width: 180px;
}
.about {
    opacity: 0;
    transform: translateY(-100px);
    transition: transform 1s, opacity 1s;

}
.top-content .right-box {
}
.main_right_block {
    animation: ani 2.5s forwards;
    background-image: url(../images/library.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}
.left-box {
    float: left;
    width: 282px;
}
.main_title {
    font-size: 75px!important;
    line-height: 80px!important;
    color: #FFFFFF!important;
    font-weight: 300;
    margin-top: 150px;
    margin-left: 50px;
    overflow: hidden; /* Ensures the content is not revealed until the animation */
    border-right: 3px solid orange; /* The typwriter cursor */
    white-space: nowrap; /* Keeps the content on a single line */
    animation:
            typing 3s steps(40, end),
            blink-caret .75s step-end infinite;
}
@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}
@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: black; }
}

.cphoto {
    width: 105px;
    height: 134px;
    border: 3px solid #e1e0e0;
    float: left
}

.cinfo {
    float: left;
    width: 270px;
    margin-left: 27px;
}

.ctext {
    font-size: 14px;
    line-height: 20px;
}

.footer {
    background: linear-gradient(to right, rgba(54, 162, 192, 1), rgba(3, 102, 134, 1));
    padding: 35px 20px;
    color:white;
    margin-top: 24px;
}
.footer a{

    color:white;
}
.footer .left {
    width: 275px;
    text-align: center
}
.footer .left .tac {
    display: none;
}

.footer-menu a {
    margin-right: 30px
}

.news-item {
    padding-bottom: 6px;
    border-bottom: 1px dotted #e1e0e0;
    margin-bottom: 20px
}

.news-item .date {
    width: 89px;
    height: 30px;
    line-height: 26px;
    font-size: 12px;
    color: #646464;
    font-style: italic;
    margin-bottom: 6px;
    text-align: center;
    background: url(../images/date-bg.jpg);
}

.news-item a {
    text-decoration: none;
    font-size: 14px;
    color: #07769c
}
.mt_otr {
    margin-top: -158px!important;
}
.news-item a:hover {
    text-decoration: underline;
}

.left-container {
    top: 0px;
    left: 22px
}
.crambs {
    width: 630px;
    margin-top: -70px;
    margin-bottom: 70px;
    color: white;
    float: none;
}
.crambs a {
    color: white;
    font-size: 13px;
    transition: 0.3s;
}
.crambs a:hover {
    color: rgba(255, 255, 255, 0.2);
    transition: 0.3s;
}

/* Menu
----------------------------------------*/
.menu {
    background: url(../images/menu-top-bg.png) top left no-repeat;
    min-height: 450px;
    padding: 5px 12px 70px 3px;
    position: relative;
}

.menu .bb {
    border-bottom: 1px solid #237590;
}

.menu .bt {
    border-top: 1px solid #5dadc8
}

.menu .item {
    height: 35px;
    line-height: 35px;
    position: relative;
    z-index: 4
}

.menu .item a {
    font-size: 18px;
    padding-left: 15px;
    display: block;
    height: 35px;
    font-family: Georgia, sans-serif;
    color: #fff;
    text-decoration: none
}

.menu .item a:hover, .menu .active a {
    background: #c8e3ec;
    color: #003c51
}

.menu-bottom {
    position: absolute;
    top: 295px;
    bottom: 0;
    left: 0;
    width: 282px;
    z-index: 2;
    background: url(../images/menu-bg-new.png) bottom left;
}

.menu .item-subitems {
    background: url(../images/menu-subitems.png) repeat-y;
    padding: 10px 18px 5px 25px;
    position: relative;
    z-index: 4
}

.menu .item-subitems .item-zas {
    width: 12px;
    height: 9px;
    background: url(../images/menu-active.jpg);
    position: absolute;
    top: -9px;
}

.menu .item-subitems .pos-fonds {
    left: 85px
}

.menu ul {
}

.menu ul li {
    list-style-image: url(../images/li-item.png);
    margin-bottom: 10px;
}

.menu ul li a {
    color: #ffffff;
    font-size: 16px;
    font-family: Georgia, sans-serif;
    text-decoration: none
}

.imenu {
    margin-bottom: 20px
}

.imenu table td {
    vertical-align: middle
}

.imenu table td .icon-1 {
    width: 94px;
    height: 87px;
    background: url(../images/icons.jpg) 0 0;
}

.imenu table td .icon-2 {
    width: 94px;
    height: 87px;
    background: url(../images/icons.jpg) 0 -110px;
}

.imenu table td .icon-3 {
    width: 94px;
    height: 87px;
    background: url(../images/icons.jpg) 0 -220px;
}

.imenu table td.texta {
    width: 170px;
    padding-left: 10px
}

.imenu table td a {
    font-size: 14px;
    font-family: Georgia, sans-serif;
    color: #4d4d4d;
    text-decoration: none
}


.form-item {
    margin-bottom: 12px
}

.form-item label {
    font-size: 12px;
    line-height: 14px;
    display: block;
    margin-bottom: 4px
}

.form-item input.input-text {
    width: 610px;
    padding: 3px 5px;
}

.form-item textarea {
    width: 610px;
    padding: 3px 5px;
}

.form-item .error {
    background: #FFEBED
}

.form-item .slabel {
    display: inline
}

.success {
    color: green;
    font-size: 16px
}

.error-message {
    color: red;
    font-size: 16px;
    margin-bottom: 15px
}

.pub_sections ul {
    margin-left: 15px
}

.q_info {
    margin-bottom: 10px
}

.q_info .info {
    font-style: italic
}

.q_info .question {
    font-weight: bold
}

.q_info .answer {
}


.main-menu {
    background: #FFFFFF;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.main-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.main-menu li {
    position: relative;

}
.logo {
    width: 46px;
}
.main-menu a {
    text-decoration: none;
    font-size: 14px;
    color: #333;
    padding: 10px 9px;
    display: block;
    transition: color 0.3s;
    text-align:center;
}



.main-menu a:hover {
    color: #007bff;
}

/* Выпадающее меню */
.main-menu .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    min-width: 180px;
}

.main-menu li:hover .dropdown {
    display: block;
}

.main-menu .dropdown li {
    margin: 0;
    width: 100%;
}

.main-menu .dropdown a {
    padding: 10px;
    display: block;
}

.imenu {
    display: none;
}
.run_section {
    display: flex;
    overflow-x: hidden;
    background-color: #0a58ca;
    color: white;
    height: 91px;
    margin-top: 30px;
}

.run {
    font-size: 33px;
    line-height: 1.3;
    padding: 24px 0;
    white-space: nowrap;
    display: inline-block;
}

.running_1 {
    animation: marquee1 160s infinite linear;
    animation-delay: -160s;
}

.running_2 {
    animation: marquee2 160s infinite linear;
    animation-delay: -80s;
}
.running_3 {
    animation: marquee3 160s infinite linear;
    animation-delay: -160s;
}

.running_4 {
    animation: marquee4 160s infinite linear;
    animation-delay: -80s;
}


.run:after {
    content: 'Приморский край ◉ Хабаровский край ◉ Камчатский край ◉ Амурский край ◉ Магаданский край ◉ Сахалинский край ◉';
}
.no_wr {
    white-space: nowrap;
    display: flex;
}
.second_block_text {
    font-size: 25px;
    line-height: 38px;
    margin-bottom: 50px;
}
.second_main_block h3 {
    color: #0a53be;
    font-size: 60px!important;
}
.block {
    padding: 20px;
    margin-bottom: 30px;
}
.block h3 {
    font-size: 24px;
    margin-bottom: 10px;
}
.block p {
    font-size: 16px;
    color: #555;
}
.divider {
    border-top: 2px solid #000;
    margin-top: 15px;
    width: 520px;
}
@keyframes marquee1 {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}
@keyframes ani {
    0% {opacity: 0;}
    100% {opacity: 1;}
}
@keyframes marquee2 {
    0% {
        transform: translateX(-200%);
    }
    100% {
        transform: translateX(0%);
    }
}
@keyframes marquee3 {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes marquee4 {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-200%);
    }
}
.footer_text {
    margin-top: 200px;
    text-align: center;
}
@media (max-width: 900px) {
    /* Кнопка бургер */
    .menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 26px;
        cursor: pointer;
        color: #333;
        padding: 8px;
        margin-left: auto;
    }
    .container_hero_screen_bottom_background {
        padding: 10px;
    }
    .footer_text {
        margin-top: 0px;
    }
    /* Лого и кнопка в одну линию */
    .main-menu {
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 10px 15px;
    }

    /* Скрыть меню по умолчанию */
    .main-menu ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #fff;
        border-top: 1px solid #ddd;
    }

    /* Показать при active */
    .main-menu ul.active {
        display: flex;
    }

    /* Пункты меню на всю ширину */
    .main-menu li {
        width: 100%;
    }

    .main-menu a {
        padding: 12px 15px;
        border-bottom: 1px solid #eee;
    }

    /* Подменю — вложенный список */
    .main-menu .dropdown {
        position: static;
        display: none;
        background: #f9f9f9;
        box-shadow: none;
    }

    /* Показать подменю при открытии */
    .main-menu li.open > .dropdown {
        display: block;
    }
}
.menu-toggle {
    display: none;
}
@media (max-width: 900px) {
    .main-menu ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background: white;
    }
    .hero-block h1 {
        text-align: center;
    }
    .menu-toggle {
        display: block;
    }
    .main-menu ul.active {
        display: flex;
    }
    .crambs {
        width: 100%;
        margin-top: -100px;
    }
    .p10 .right-box {
        max-width: 1320px;
        margin: 0 10px;
    }
    #YMapsID-4232 {
        width:100%!important;
    }
    #content {
        margin:0;
    }
    .simple-content img {
        width:100%
    }
    .simple-content {
        overflow-x: auto;
    }
}
.more-menu {
    position: relative;
}

.more-menu .dropdown {
    display: none;
    position: absolute;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    min-width: 180px;
    top: 100%;
    left: auto;
    right: 0;
    z-index: 999;
}

.more-menu:hover .dropdown {
    display: block;
}

.more-menu > a {
    cursor: pointer;
}
.footer-menu {
    display: flex;
    flex-direction: column;
    text-align: end;
}
@media (max-width: 1790px) {
    #content {
        margin: 0px
    }
    .more-menu {
        margin-right: 30px;
    }
    .main-menu {
        justify-content: space-between;
    }
    

}

.main-menu li {
    position: relative;
}

.main-menu li .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: -150px!important;
    background: #fff;
    min-width: 200px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    z-index: 10;
}

@media (min-width: 767px) {
    .main-menu li .dropdown {
        left: 0;!important
    }
    .main-menu .dropdown a {
    white-space: normal;
    }

}

@media (min-width: 901px) {
    .main-menu li:hover > .dropdown {
        display: block;
    }
}

@media (max-width: 900px) {
    .main-menu li.open > .dropdown {
        display: block;
        position: static; /* чтобы выпало вниз и сдвинуло остальные */
        box-shadow: none;
    }
}

.more-menu > a {
    cursor: pointer;
    padding: 10px;
}

.main-menu.active #mainmenu {
    max-height: 80vh; 
    overflow-y: auto; 
}

.main-menu li .dropdown {
    display: none;
}

@media (max-width: 900px) {
    .main-menu li.open > .dropdown {
        display: block;
        position: static; 
        margin-left: 15px; 
        box-shadow: none;
    }
}

















































