/*
Theme Name: АСКУЭ РФ
Theme URI: https://про-аскуэ.рф
Description: Тема для сайта об автоматизированных системах коммерческого учета электроэнергии (АСКУЭ). Создана для про-аскуэ.рф.
Author: Игорь Базанов
Author URI: https://про-аскуэ.рф
Version: 1.0
Text Domain: askue
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
    background: #fff;
    color: #444;
    font-family: "Open Sans", sans-serif;
}

a {
    color: #50d8af;
    transition: 0.5s;
}

a:hover, a:active, a:focus {
    color: #51d8af;
    outline: none;
    text-decoration: none;
}

p {
    padding: 0;
    margin: 0 0 30px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    margin: 0 0 20px 0;
    padding: 0;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    display: none;
    background: #50d8af;
    color: #fff;
    padding: 6px 12px 9px 12px;
    font-size: 16px;
    border-radius: 2px;
    right: 15px;
    bottom: 15px;
    transition: background 0.5s;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 15px;
    }
}

.back-to-top:focus {
    background: #50d8af;
    color: #fff;
    outline: none;
}

.back-to-top:hover {
    background: #0c2e8a;
    color: #fff;
}

/*--------------------------------------------------------------
# Top Bar
--------------------------------------------------------------*/
#topbar {
    background: #fff;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

#topbar .contact-info a {
    line-height: 1;
    color: #555;
}

#topbar .contact-info a:hover {
    color: #50d8af;
}

#topbar .contact-info i {
    color: #50d8af;
    padding: 4px;
}

#topbar .contact-info .fa-phone {
    padding-left: 20px;
    margin-left: 20px;
    border-left: 1px solid #e9e9e9;
}

#topbar .social-links a {
    color: #555;
    padding: 4px 12px;
    display: inline-block;
    line-height: 1px;
    border-left: 1px solid #e9e9e9;
}

#topbar .social-links a:hover {
    color: #50d8af;
}

#topbar .social-links a:first-child {
    border-left: 0;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
    padding: 20px 0;
    height: 84px;
    transition: all 0.5s;
    z-index: 997;
    background: #fff;
    box-shadow: 0px 6px 9px 0px rgba(0, 0, 0, 0.06);
}

#header #logo h1 {
    font-size: 42px;
    margin: 0;
    padding: 0;
    line-height: 1;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
}

#header #logo h1 a {
    color: #0c2e8a;
    line-height: 1;
    display: inline-block;
}

#header #logo h1 a span {
    color: #50d8af;
}

#header #logo img {
    padding: 0;
    margin: 0;
}

@media (max-width: 768px) {
    #header {
        padding: 20px 0;
        height: 74px;
    }
    #header #logo h1 {
        font-size: 34px;
    }
    #header #logo img {
        max-height: 40px;
    }
}

/*--------------------------------------------------------------
# Intro Section
--------------------------------------------------------------*/
#intro {
    width: 100%;
    height: 60vh;
    position: relative;
    background: url("./img/intro-carousel/1.jpg") no-repeat;
    background-size: cover;
}

#intro .intro-content {
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

#intro .intro-content h2 {
    color: #0c2e8a;
    margin-bottom: 30px;
    font-size: 64px;
    font-weight: 700;
}

#intro .intro-content h2 span {
    color: #50d8af;
    text-decoration: underline;
}

@media (max-width: 767px) {
    #intro .intro-content h2 {
        font-size: 34px;
    }
}

#intro .intro-content .btn-get-started, #intro .intro-content .btn-projects {
    font-family: "Raleway", sans-serif;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 1px;
    display: inline-block;
    padding: 10px 32px;
    border-radius: 2px;
    transition: 0.5s;
    margin: 10px;
    color: #fff;
}

#intro .intro-content .btn-get-started {
    background: #0c2e8a;
    border: 2px solid #0c2e8a;
}

#intro .intro-content .btn-get-started:hover {
    background: none;
    color: #0c2e8a;
}

#intro .intro-content .btn-projects {
    background: #50d8af;
    border: 2px solid #50d8af;
}

#intro .intro-content .btn-projects:hover {
    background: none;
    color: #50d8af;
}

#intro #intro-carousel {
    z-index: 8;
}

#intro #intro-carousel::before {
    content: '';
    background-color: rgba(255, 255, 255, 0.7);
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 7;
}

#intro #intro-carousel .item {
    width: 100%;
    height: 60vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    -webkit-transition-property: opacity;
    transition-property: opacity;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Nav Menu Essentials */
.nav-menu, .nav-menu * {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-menu ul {
    position: absolute;
    display: none;
    top: 100%;
    left: 0;
    z-index: 99;
}

.nav-menu li {
    position: relative;
    white-space: nowrap;

}

.nav-menu > li {
    float: left;
    font-size: 2rem;
}

.nav-menu li:hover > ul,
.nav-menu li.sfHover > ul {
    display: block;
}

.nav-menu ul ul {
    top: 0;
    left: 100%;
}

.nav-menu ul li {
    min-width: 180px;
}

/* Nav Menu Arrows */
.sf-arrows .sf-with-ul {
    padding-right: 22px;
}

.sf-arrows .sf-with-ul:after {
    content: "\f107";
    position: absolute;
    right: 8px;
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
}

.sf-arrows ul .sf-with-ul:after {
    content: "\f105";
}

/* Nav Meu Container */
#nav-menu-container {
    float: right;
    margin: 0;
}

@media (max-width: 768px) {
    #nav-menu-container {
        display: none;
    }
}

/* Nav Meu Styling */
.nav-menu a {
    padding: 10px 8px;
    text-decoration: none;
    display: inline-block;
    color: #555;
    font-family: "Raleway", sans-serif;
    font-weight: 700;
    font-size: 20px;
    outline: none;
}

.nav-menu li:hover > a, .nav-menu > .menu-active > a {
    color: #50d8af;
}

.nav-menu > li {
    margin-left: 25px;
}

.nav-menu ul {
    margin: 4px 0 0 0;
    padding: 10px;
    box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
    background: #fff;
}

.nav-menu ul li {
    transition: 0.3s;
}

.nav-menu ul li a {
    padding: 10px;
    color: #333;
    transition: 0.3s;
    display: block;
    font-size: 13px;
    text-transform: none;
}

.nav-menu ul li:hover > a {
    color: #50d8af;
}

.nav-menu ul ul {
    margin: 0;
}

/* Mobile Nav Toggle */
#mobile-nav-toggle {
    position: fixed;
    right: 0;
    top: 0;
    z-index: 999;
    margin: 20px 20px 0 0;
    border: 0;
    background: none;
    font-size: 24px;
    display: none;
    transition: all 0.4s;
    outline: none;
    cursor: pointer;
}

#mobile-nav-toggle i {
    color: #555;
}

@media (max-width: 768px) {
    #mobile-nav-toggle {
        display: inline;
    }
}

/* Mobile Nav Styling */
#mobile-nav {
    position: fixed;
    top: 0;
    padding-top: 18px;
    bottom: 0;
    z-index: 998;
    background: rgba(52, 59, 64, 0.9);
    left: -260px;
    width: 260px;
    overflow-y: auto;
    transition: 0.4s;
}

#mobile-nav ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

#mobile-nav ul li {
    position: relative;
}

#mobile-nav ul li a {
    color: #fff;
    font-size: 16px;
    overflow: hidden;
    padding: 10px 22px 10px 15px;
    position: relative;
    text-decoration: none;
    width: 100%;
    display: block;
    outline: none;
}

#mobile-nav ul li a:hover {
    color: #fff;
}

#mobile-nav ul li li {
    padding-left: 30px;
}

#mobile-nav ul .menu-has-children i {
    position: absolute;
    right: 0;
    z-index: 99;
    padding: 15px;
    cursor: pointer;
    color: #fff;
}

#mobile-nav ul .menu-has-children i.fa-chevron-up {
    color: #50d8af;
}

#mobile-nav ul .menu-item-active {
    color: #50d8af;
}

#mobile-body-overly {
    width: 100%;
    height: 100%;
    z-index: 997;
    top: 0;
    left: 0;
    position: fixed;
    background: rgba(52, 59, 64, 0.9);
    display: none;
}

/* Mobile Nav body classes */
body.mobile-nav-active {
    overflow: hidden;
}

body.mobile-nav-active #mobile-nav {
    left: 0;
}

body.mobile-nav-active #mobile-nav-toggle {
    color: #fff;
}

/*--------------------------------------------------------------
# Sections
--------------------------------------------------------------*/
/* Sections Header
--------------------------------*/
.section-header {
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 32px;
    color: #0c2e8a;
    text-transform: uppercase;
    font-weight: 700;
    position: relative;
    padding-bottom: 20px;
}

.section-header h2::before {
    content: '';
    position: absolute;
    display: block;
    width: 50px;
    height: 3px;
    background: #50d8af;
    bottom: 0;
    left: 0;
}

.section-header p {
    padding: 0;
    margin: 0;
}

/* About Section
--------------------------------*/
#about {
    padding: 60px 0 30px 0;
}

#about .about-img {
    overflow: hidden;
}

#about .about-img img {
    margin-left: -15px;
    max-width: 100%;
}

@media (max-width: 768px) {
    #about .about-img {
        height: auto;
    }
    #about .about-img img {
        margin-left: 0;
        padding-bottom: 30px;
    }
}

#about .content h2 {
    color: #0c2e8a;
    font-weight: 700;
    font-size: 36px;
    font-family: "Raleway", sans-serif;
}

#about .content h3 {
    color: #555;
    font-weight: 300;
    font-size: 18px;
    line-height: 26px;
    font-style: italic;
}

#about .content p {
    line-height: 26px;
}

#about .content p:last-child {
    margin-bottom: 0;
}

#about .content i {
    font-size: 20px;
    padding-right: 4px;
    color: #50d8af;
}

#about .content ul {
    list-style: none;
    padding: 0;
}

#about .content ul li {
    padding-bottom: 10px;
}

/* Services Section
--------------------------------*/
#services {
    padding: 30px 0 0 0;
}

#services .box {
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 10px 10px 15px rgba(73, 78, 92, 0.1);
    background: #fff;
    transition: 0.4s;
}

#services .box:hover {
    box-shadow: 0px 0px 30px rgba(73, 78, 92, 0.15);
    transform: translateY(-10px);
    -webkit-transform: translateY(-10px);
    -moz-transform: translateY(-10px);
}

#services .box .icon {
    float: left;
}

#services .box .icon i {
    color: #444;
    font-size: 64px;
    transition: 0.5s;
    line-height: 0;
    margin-top: 34px;
}

#services .box .icon i:before {
    background: #0c2e8a;
    background: linear-gradient(45deg, #50d8af 0%, #a3ebd5 100%);
    background-clip: border-box;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#services .box h4 {
    margin-left: 100px;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 22px;
}

#services .box h4 a {
    color: #444;
}

#services .box p {
    font-size: 14px;
    margin-left: 100px;
    margin-bottom: 0;
    line-height: 24px;
}

@media (max-width: 767px) {
    #services .box .box {
        margin-bottom: 20px;
    }
    #services .box .icon {
        float: none;
        text-align: center;
        padding-bottom: 15px;
    }
    #services .box h4, #services .box p {
        margin-left: 0;
        text-align: center;
    }
}

/* Clients Section
--------------------------------*/
#clients {
    padding: 30px 0;
}

#clients img {
    max-width: 100%;
    opacity: 0.5;
    transition: 0.3s;
    padding: 15px 0;
}

#clients img:hover {
    opacity: 1;
}

#clients .owl-nav, #clients .owl-dots {
    margin-top: 5px;
    text-align: center;
}

#clients .owl-dot {
    display: inline-block;
    margin: 0 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
}

#clients .owl-dot.active {
    background-color: #50d8af;
}

/* Our Portfolio Section
--------------------------------*/
#portfolio {
    background: #fff;
    padding: 30px 0;
}

#portfolio .portfolio-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    -webkit-transition: all ease-in-out 0.4s;
    transition: all ease-in-out 0.4s;
}

#portfolio .portfolio-item {
    overflow: hidden;
    position: relative;
    padding: 0;
    vertical-align: middle;
    text-align: center;
}

#portfolio .portfolio-item h2 {
    color: #ffffff;
    font-size: 24px;
    margin: 0;
    text-transform: capitalize;
    font-weight: 700;
}

#portfolio .portfolio-item img {
    -webkit-transition: all ease-in-out 0.4s;
    transition: all ease-in-out 0.4s;
    width: 100%;
}

#portfolio .portfolio-item:hover img {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

#portfolio .portfolio-item:hover .portfolio-overlay {
    opacity: 1;
    background: rgba(0, 0, 0, 0.7);
}

#portfolio .portfolio-info {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

/* Testimonials Section
--------------------------------*/
#testimonials {
    padding: 30px 0;
}

#testimonials .testimonial-item {
    box-sizing: content-box;
    padding: 30px 30px 0 30px;
    margin: 30px 15px;
    text-align: center;
    min-height: 350px;
    box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.08);
}

@media (max-width: 767px) {
    #testimonials .testimonial-item {
        margin: 30px 10px;
    }
}

#testimonials .testimonial-item .testimonial-img {
    width: 90px;
    border-radius: 50%;
    border: 4px solid #fff;
    margin: 0 auto;
}

#testimonials .testimonial-item h3 {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0 5px 0;
    color: #111;
}

#testimonials .testimonial-item h4 {
    font-size: 14px;
    color: #999;
    margin: 0;
}

#testimonials .testimonial-item .quote-sign-left {
    margin-top: -15px;
    padding-right: 10px;
    display: inline-block;
    width: 37px;
}

#testimonials .testimonial-item .quote-sign-right {
    margin-bottom: -15px;
    padding-left: 10px;
    display: inline-block;
    max-width: 100%;
    width: 37px;
}

#testimonials .testimonial-item p {
    font-style: italic;
    margin: 0 auto 15px auto;
}

#testimonials .owl-nav, #testimonials .owl-dots {
    margin-top: 5px;
    text-align: center;
}

#testimonials .owl-dot {
    display: inline-block;
    margin: 0 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
}

#testimonials .owl-dot.active {
    background-color: #50d8af;
}

/* Call To Action Section
--------------------------------*/
#call-to-action {
    background: #081e5b;
    background-size: cover;
    padding: 40px 0;
}

#call-to-action .cta-title {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
}

#call-to-action .cta-text {
    color: #fff;
}

@media (min-width: 769px) {
    #call-to-action .cta-btn-container {
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }
}

#call-to-action .cta-btn {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 8px 26px;
    border-radius: 3px;
    transition: 0.5s;
    margin: 10px;
    border: 3px solid #fff;
    color: #fff;
}

#call-to-action .cta-btn:hover {
    background: #50d8af;
    border: 3px solid #50d8af;
}

/* Our Team Section
--------------------------------*/
#team {
    background: #fff;
    padding: 30px 0 0 0;
}

#team .member {
    text-align: center;
    margin-bottom: 20px;
}

#team .member .pic {
    overflow: hidden;
    text-align: center;
}

#team .member .pic img {
    max-width: 100%;
}

#team .member .details {
    background: #50d8af;
    color: #fff;
    padding: 15px;
    border-radius: 0 0 3px 3px;
}

#team .member h4 {
    font-weight: 700;
    margin-bottom: 2px;
    font-size: 18px;
}

#team .member span {
    font-style: italic;
    display: block;
    font-size: 13px;
}

#team .member .social {
    margin-top: 5px;
}

#team .member .social a {
    color: #fff;
}

#team .member .social i {
    font-size: 16px;
    margin: 0 2px;
}

/* Contact Section
--------------------------------*/
#contact {
    padding: 30px 0;
}

#contact .contact-info {
    margin-bottom: 20px;
    text-align: center;
}

#contact .contact-info i {
    font-size: 48px;
    display: inline-block;
    margin-bottom: 10px;
    color: #50d8af;
}

#contact .contact-info address, #contact .contact-info p {
    margin-bottom: 0;
    color: #000;
}

#contact .contact-info h3 {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: bold;
    text-transform: uppercase;
    color: #999;
}

#contact .contact-info a {
    color: #000;
}

#contact .contact-info a:hover {
    color: #50d8af;
}

#contact .contact-address, #contact .contact-phone, #contact .contact-email {
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    #contact .contact-address, #contact .contact-phone, #contact .contact-email {
        padding: 20px 0;
    }
}

@media (min-width: 768px) {
    #contact .contact-phone {
        border-left: 1px solid #ddd;
        border-right: 1px solid #ddd;
    }
}

#contact #google-map {
    height: 290px;
    margin-bottom: 20px;
}

@media (max-width: 576px) {
    #contact #google-map {
        margin-top: 20px;
    }
}

#contact .form #sendmessage {
    color: #50d8af;
    border: 1px solid #50d8af;
    display: none;
    text-align: center;
    padding: 15px;
    font-weight: 600;
    margin-bottom: 15px;
}

#contact .form #errormessage {
    color: red;
    display: none;
    border: 1px solid red;
    text-align: center;
    padding: 15px;
    font-weight: 600;
    margin-bottom: 15px;
}

#contact .form #sendmessage.show, #contact .form #errormessage.show, #contact .form .show {
    display: block;
}

#contact .form .validation {
    color: red;
    display: none;
    margin: 0 0 20px;
    font-weight: 400;
    font-size: 13px;
}

#contact .form input, #contact .form textarea {
    padding: 10px 14px;
    border-radius: 0;
    box-shadow: none;
    font-size: 15px;
}

#contact .form button[type="submit"] {
    background: #50d8af;
    border: 0;
    border-radius: 3px;
    padding: 10px 30px;
    color: #fff;
    transition: 0.4s;
    cursor: pointer;
}

#contact .form button[type="submit"]:hover {
    background: #2dc899;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
    background: #f2f5f8;
    padding: 0 0 30px 0;
    font-size: 14px;
}

#footer .copyright {
    text-align: center;
    padding-top: 30px;
}

#footer .credits {
    text-align: center;
    font-size: 13px;
    color: #555;
}

#footer .credits a {
    color: #0c2e8a;
}


/* Дополнительные стили для админ-панели */
.admin-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 250px;
    background: #0c2e8a;
    z-index: 1000;
    padding-top: 60px;
    transition: all 0.3s;
}

.admin-main {
    margin-left: 250px;
    padding: 20px;
    transition: all 0.3s;
}

.admin-content {
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.admin-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.admin-nav li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.admin-nav a {
    color: #fff;
    padding: 15px 20px;
    display: block;
    text-decoration: none;
    transition: 0.3s;
}

.admin-nav a:hover {
    background: #50d8af;
    color: #fff;
}

.admin-nav a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.admin-nav .active {
    background: #50d8af;
}

.admin-header {
    background: #fff;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.stats-box {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.stats-box i {
    font-size: 36px;
    color: #50d8af;
    margin-bottom: 10px;
}

.stats-box h3 {
    font-size: 24px;
    margin: 0;
    color: #0c2e8a;
}

.stats-box p {
    color: #666;
    margin: 5px 0 0;
}

.table th {
    background: #f8f9fa;
    color: #0c2e8a;
}

.btn-admin {
    background: #0c2e8a;
    color: #fff;
    border: none;
}

.btn-admin:hover {
    background: #50d8af;
    color: #fff;
}

@media (max-width: 768px) {
    .admin-sidebar {
        width: 60px;
    }

    .admin-main {
        margin-left: 60px;
    }

    .admin-nav span {
        display: none;
    }

    .admin-nav a i {
        margin-right: 0;
        font-size: 20px;
    }
}


/* Стили для страницы входа */
.login-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #0c2e8a 0%, #50d8af 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-box {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.login-logo {
    margin-bottom: 30px;
}

.login-logo h1 {
    font-size: 36px;
    color: #0c2e8a;
    font-weight: 700;
    margin: 0;
}

.login-logo h1 span {
    color: #50d8af;
}

.login-form .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.login-form label {
    color: #0c2e8a;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.login-form .form-control {
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    transition: all 0.3s;
}

.login-form .form-control:focus {
    border-color: #50d8af;
    box-shadow: 0 0 0 0.2rem rgba(80, 216, 175, 0.25);
}

.btn-login {
    background: #0c2e8a;
    border: none;
    padding: 12px 30px;
    color: #fff;
    border-radius: 5px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s;
    margin-top: 10px;
}

.btn-login:hover {
    background: #50d8af;
    transform: translateY(-2px);
}

.login-links {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.login-links a {
    color: #0c2e8a;
    text-decoration: none;
    font-size: 14px;
}

.login-links a:hover {
    color: #50d8af;
}

.alert {
    padding: 12px 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: none;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.input-group {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.remember-me {
    display: flex;
    align-items: center;
}

.remember-me input {
    margin-right: 5px;
}

/* Дополнительные стили для блога */
.blog-post {
    margin-bottom: 60px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
}

.post-thumbnail {
    position: relative;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-post:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-content {
    padding: 25px;
}

.post-meta {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.post-meta i {
    color: #50d8af;
    margin-right: 5px;
}

.post-meta span {
    margin-right: 20px;
}

.post-title {
    font-size: 24px;
    margin-bottom: 15px;
}

.post-title a {
    color: #0c2e8a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: #50d8af;
}

.post-excerpt {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.read-more {
    color: #50d8af;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.read-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(5px);
}

.post-categories {
    margin-top: 15px;
}

.post-category {
    background: #f8f9fa;
    color: #0c2e8a;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin-right: 8px;
    text-decoration: none;
}

.post-category:hover {
    background: #50d8af;
    color: #fff;
}

.sidebar {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.sidebar-widget {
    margin-bottom: 40px;
}

.sidebar-widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    font-size: 20px;
    color: #0c2e8a;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #50d8af;
}

.recent-posts li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.recent-posts li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.recent-post-title {
    font-weight: 600;
    color: #0c2e8a;
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
}

.recent-post-date {
    font-size: 12px;
    color: #666;
}

.categories-list {
    list-style: none;
    padding: 0;
}

.categories-list li {
    margin-bottom: 10px;
}

.categories-list a {
    color: #666;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.categories-list a:hover {
    color: #50d8af;
}

.categories-list span {
    background: #50d8af;
    color: #fff;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: #f8f9fa;
    color: #0c2e8a;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag:hover {
    background: #50d8af;
    color: #fff;
}

.blog-header {
    text-align: center;
    margin-bottom: 50px;
}

.blog-description {
    color: #666;
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .post-title {
        font-size: 20px;
    }

    .sidebar {
        margin-top: 40px;
    }
}

/* Стили для страницы статьи */
.single-post {
    position: relative;
    background: #fff;
    border-radius: 8px;
    overflow: visible;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.post-header {
    position: relative;
    overflow: hidden;
}

.featured-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.post-header-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
    padding: 40px;
}

.post-title {
    font-size: 36px;
    margin-bottom: 15px;
    color: #fff;
}

.post-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.post-meta span {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.post-meta i {
    margin-right: 8px;
    color: #50d8af;
}

.post-content {
    padding: 40px;
}

.post-content h2 {
    color: #0c2e8a;
    margin: 30px 0 15px;
    font-size: 28px;
}

.post-content h3 {
    color: #0c2e8a;
    margin: 25px 0 12px;
    font-size: 22px;
}

.post-content p {
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
    font-size: 16px;
}

.post-content blockquote {
    border-left: 4px solid #50d8af;
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #666;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 0 5px 5px 0;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 30px 0;
}

.post-tag {
    background: #f8f9fa;
    color: #0c2e8a;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.post-tag:hover {
    background: #50d8af;
    color: #fff;
}

.post-share {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 20px 0;
    margin: 30px 0;
}

.share-buttons {
    display: flex;
    gap: 15px;
}

.share-button {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 5px;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.share-button:hover {
    opacity: 0.9;
    color: rgb(240, 234, 234);
}

.share-button i {
    margin-right: 8px;
}

.telegram { background: #03a8ef; }
.whatsapp { background: #2cb742;; }
.vk { background: #0077FF ; }
.odnoklassniki {background: #ed812b;}

.author-box {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin: 40px 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

.author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    color: #0c2e8a;
    margin-bottom: 10px;
}

.author-bio {
    color: #666;
    line-height: 1.6;
}

.comments-section {
    margin: 40px 0;
}

.comment {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

.comment:last-child {
    border-bottom: none;
}

.comment-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 15px;
}

.comment-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-author {
    font-weight: 600;
    color: #0c2e8a;
}

.comment-date {
    color: #666;
    font-size: 14px;
}

.comment-content {
    color: #444;
    line-height: 1.6;
}

.reply-form {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin-top: 30px;
}

.related-posts {
    margin: 40px 0;
}

.related-post {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.related-post:hover {
    transform: translateY(-5px);
}

.related-post img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.related-post-content {
    padding: 20px;
}

.related-post-title {
    font-size: 18px;
    margin-bottom: 10px;
}

.related-post-title a {
    color: #0c2e8a;
    text-decoration: none;
}

.related-post-title a:hover {
    color: #50d8af;
}

.breadcrumb {
    background: none;
    padding: 0;
    margin-bottom: 30px;
}

.breadcrumb-item a {
    color: #0c2e8a;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #50d8af;
}

@media (max-width: 768px) {
    .post-title {
        font-size: 28px;
    }

    .featured-image {
        height: 300px;
    }

    .post-header-content {
        padding: 20px;
    }

    .post-content {
        padding: 20px;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
    }

    .share-buttons {
        flex-direction: column;
    }
}
/* 404 Page Styles */
.error-404 {
    padding: 60px 0;
}

.error-title {
    font-size: 120px;
    color: #0c2e8a;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1;
}

.error-subtitle {
    color: #0c2e8a;
    margin-bottom: 20px;
    font-size: 32px;
}

.error-description {
    color: #666;
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.error-actions {
    margin-bottom: 50px;
}

.error-actions .btn-get-started,
.error-actions .btn-projects {
    font-family: "Raleway", sans-serif;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 1px;
    display: inline-block;
    padding: 12px 32px;
    border-radius: 2px;
    transition: 0.5s;
    margin: 10px;
    text-decoration: none;
}

.error-actions .btn-get-started {
    background: #0c2e8a;
    border: 2px solid #0c2e8a;
    color: #fff;
}

.error-actions .btn-get-started:hover {
    background: none;
    color: #0c2e8a;
}

.error-actions .btn-projects {
    background: #50d8af;
    border: 2px solid #50d8af;
    color: #fff;
}

.error-actions .btn-projects:hover {
    background: none;
    color: #50d8af;
}

.error-search {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.error-search .search-form {
    display: flex;

    max-width: 500px;
    margin: 0 auto;
}

.error-search .search-field {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 5px 0 0 5px;
    font-size: 16px;
}

.error-search .search-submit {
    background: #0c2e8a;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: 0.3s;
}

.error-search .search-submit:hover {
    background: #50d8af;
}

@media (max-width: 768px) {
    .error-title {
        font-size: 80px;
    }

    .error-subtitle {
        font-size: 24px;
    }

    .error-actions .btn-get-started,
    .error-actions .btn-projects {
        display: block;
        margin: 10px auto;
        width: 200px;
    }
}
/* Archive & Search Pages */
.archive-description {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    font-style: italic;
}

.search-form-again {
    max-width: 500px;
    margin: 0 auto;
}

.search-form-again .search-form {
    display: flex;
}

.search-form-again .search-field {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #0c2e8a;
    border-radius: 5px 0 0 5px;
    font-size: 16px;
}

.search-form-again .search-submit {
    background: #0c2e8a;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: 0.3s;
}

.search-form-again .search-submit:hover {
    background: #50d8af;
}

.search-results-count {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    font-weight: 600;
    color: #0c2e8a;
}

.no-results,
.no-posts {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 8px;
}

.suggestions {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    margin-top: 20px;
}
/* Footer Widgets */
.footer-widget {
    margin-bottom: 20px; 
}
#menu-footer-menu-politics {
    list-style-type: none;

}

.footer-widget .widget-title {
    color: #0c2e8a;
    font-size: 18px;
    margin-bottom: 15px;
    border-bottom: 2px solid #50d8af;
    padding-bottom: 5px;
}



#footer a {
    color: #0c2e8a;
}

#footer a:hover {
    color: #50d8af;
}

#footer .copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-top: 20px;
}
/* Google Maps */
#google-map {
    height: 400px;
    width: 100%;
    background: #f8f9fa;
}

#google-map.loading {
    background: #f8f9fa url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyIDJWNk0xMiAxOFYyMk0xOS4wNzcgMTkuMDc3TDE2Ljk1MSAxNi45NTFNMTkuMDc3IDQuOTIzTDE2Ljk1MSA3LjA0OU00LjkyMyAxOS4wNzdNNy4wNDkgMTYuOTUxTTQuOTIzIDQuOTIzTDcuMDQ5IDcuMDQ5TTYgMTJIMk0yMiAxMkgxOCIgc3Ryb2tlPSIjNTBEODhBRiIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+') center center no-repeat;
}

/* Fallback message */
.map-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
    background: #f8f9fa;
    color: #666;
    text-align: center;
    padding: 20px;
}
/* Contact Form 7 Styles */
.wpcf7-form label {
    font-weight: 600;
    color: #0c2e8a;
    margin-bottom: 8px;
    display: block;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s;
    margin-bottom: 20px;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
    border-color: #50d8af;
    box-shadow: 0 0 0 0.2rem rgba(80, 216, 175, 0.25);
    outline: none;
}

.wpcf7-form .wpcf7-submit {
    background: #0c2e8a;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.wpcf7-form .wpcf7-submit:hover {
    background: #50d8af;
    transform: translateY(-2px);
}

.wpcf7-form .wpcf7-checkbox,
.wpcf7-form .wpcf7-radio {
    margin: 10px 0;
}

.wpcf7-form .wpcf7-checkbox label,
.wpcf7-form .wpcf7-radio label {
    font-weight: normal;
    color: #666;
    margin-left: 8px;
}

.wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
    border-color: #dc3545;
    background: #f8d7da;
    color: #721c24;
}

.wpcf7 form.sent .wpcf7-response-output {
    border-color: #28a745;
    background: #d4edda;
    color: #155724;
}
.grecaptcha-badge { visibility: hidden; }
a{text-decoration: none;}
recent_posts-title{list-style-type: none;}
body > div > div > div > div.map-widget-layout-view > div.map-widget-layout-view__layout > div.map-widget-layout-view__controls > div:nth-child(1) {
    display: none;
}