/* Reset and base styles */
* {
    box-sizing: border-box;
}

body {
    font-family: "PT Sans Narrow", "Oswald", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    background: #f5f5f5;
    margin: 0;
    padding: 0;
}

/* Layout containers */
.top-bg {
    background: #fff;
}

.main-bg {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
}

.main {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

.inner {
    position: relative;
}

/* Header */
header {
    padding-bottom: 20px;
}

/* Scroller */
#scroller_container {
    width: 100%;
    height: 32px;
    background: #e8e8e8;
    overflow: hidden;
    margin-bottom: 20px;
}

#scroller_container a {
    color: #1a5490;
    text-decoration: none;
    font-size: 14px;
    margin-left: 30px;
}

/* Logo area */
header img {
    display: block;
}

/* Top service buttons */
.top-service-buttons {
    text-align: right;
    margin-bottom: 15px;
    padding-top: 10px;
}

.top-button-1,
.top-button-2 {
    display: inline-block;
    padding: 8px 16px;
    margin-left: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.top-button-1 {
    background: #c41e3a;
    color: #fff;
}

.top-button-1:hover {
    background: #a01830;
}

.top-button-2 {
    background: #1a5490;
    color: #fff;
}

.top-button-2:hover {
    background: #143d6b;
}

/* Search form */
#search-form {
    text-align: right;
    margin-bottom: 15px;
}

#search-form img {
    cursor: pointer;
    width: 24px;
    height: 24px;
}

/* Navigation */
nav {
    background: #1a5490;
    border-radius: 4px;
    margin-top: 15px;
}

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

.sf-menu li {
    position: relative;
}

.sf-menu a {
    display: block;
    padding: 14px 20px;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: background-color 0.2s;
}

.sf-menu a:hover,
.sf-menu a.active {
    background: #143d6b;
}

.sf-sub-indicator {
    font-size: 12px;
    margin-left: 4px;
}

/* Content section */
#content {
    padding: 30px 0;
    background: #fff;
}

.container_24 {
    width: 100%;
}

/* Petition tabs */
.parentss {
    text-align: center;
    padding: 15px;
    background: #e8e8e8;
    border-radius: 4px 4px 0 0;
    margin-bottom: 0;
    cursor: pointer;
    transition: background-color 0.2s;
}

.parentss:hover {
    background: #d0d0d0;
}

.men-active {
    background: #1a5490 !important;
}

.men-active .txt-razd-pet {
    color: #fff !important;
}

.txt-razd-pet {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
}

/* Grid system for petition tabs */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.col-lg-2, .col-lg-3, .col-lg-4 {
    padding: 0 10px;
    flex: 1;
}

.col-lg-2 {
    flex: 0 0 16.666%;
}

.col-lg-3 {
    flex: 0 0 25%;
}

.col-lg-4 {
    flex: 0 0 33.333%;
}

/* Petition container */
#petContainer {
    min-height: 200px;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 0 0 4px 4px;
}

.ajax_loader {
    text-align: center;
    padding: 40px;
}

/* Aside / Footer info section */
aside.grayy {
    background: #a1a1a1;
    padding: 40px 0;
}

.grgr {
    background: #a1a1a1 !important;
}

.grgr li a {
    color: #1a5490;
}

.border-col-1,
.border-col-2,
.border-col-3,
.border-col-4 {
    width: 100%;
}

aside article {
    display: inline-block;
    vertical-align: top;
    width: 18%;
    margin-right: 2%;
    margin-bottom: 20px;
}

aside article:last-child {
    margin-right: 0;
}

aside h3 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

aside .list-2 {
    list-style: none;
    padding: 0;
    margin: 0;
}

aside .list-2 li {
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 1.4;
}

aside .list-2 a {
    color: #333;
    text-decoration: none;
}

aside .list-2 a:hover {
    color: #1a5490;
    text-decoration: underline;
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    padding: 30px 0;
}

footer .inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

footer .fleft {
    font-size: 13px;
}

footer .fleft a {
    color: #6ab0de;
    text-decoration: none;
}

footer .fleft a:hover {
    text-decoration: underline;
}

footer strong {
    color: #fff;
}

.social-links {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: right;
}

.social-links li {
    color: #ccc;
    font-size: 13px;
    margin-bottom: 5px;
}

.social-links b {
    color: #fff;
    font-size: 14px;
}

/* Utility classes */
.clear {
    clear: both;
}

.clearfix {
    clear: both;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .sf-menu {
        flex-direction: column;
    }
    
    .top-service-buttons {
        text-align: center;
    }
    
    .top-button-1,
    .top-button-2 {
        margin: 4px;
    }
    
    aside article {
        width: 100%;
        margin-right: 0;
    }
    
    footer .inner {
        flex-direction: column;
    }
    
    .social-links {
        text-align: left;
        margin-top: 20px;
    }
    
    .col-lg-2, .col-lg-3, .col-lg-4 {
        flex: 0 0 50%;
        margin-bottom: 10px;
    }
}

/* Bootstrap compatibility */
.container_24 {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
}

.grid_5 {
    width: 18%;
    display: inline-block;
    vertical-align: top;
}

.suffix_1 {
    margin-right: 2%;
}

/* Add petition button spacing */
.add_pet_but {
    margin-bottom: 20px !important;
}

/* Loader image centering */
.ajax_loader img {
    display: block;
    margin: 0 auto;
}