@import url('https://fonts.googleapis.com/css2?family=Arial:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: Arial, sans-serif;
    color: #2c3e50;
    display: flex;
    flex-direction: column;
    position: relative;
    max-width: 100%;
}

/* Header */
.header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-container {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 5px;
}

.logo-img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.1);
}

.logo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-text {
    font-size: 16px;
    font-weight: 700;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.logo-text a {
    color: white;
    text-decoration: none;
}

.menu ul {
    display: flex;
    list-style: none;
    gap: 5px;
}

.menu a {
    display: flex;
    align-items: center;
    gap: 3px;
    text-decoration: none;
    color: white;
    padding: 3px 6px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.menu a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.menu img {
    width: 16px;
    height: 16px;
}

/* Main Content */
.main {
    flex: 1 0 auto;
    padding: 0;
    background: #ffffff;
    width: 100%;
}

.main-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 10px 0;
    min-height: 100%;
}

/* Битва */
.bitva {
    background: white;
    padding: 20px 0;
}

.bitva-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #e74c3c;
    padding-bottom: 10px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.variants-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* Анимации */
@keyframes showVariantLeft {
    0%, 30% {
        transform: translateY(0);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        border-color: rgba(0, 0, 0, 0.05);
    }
    35%, 65% {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        border-color: #667eea;
    }
    70%, 100% {
        transform: translateY(0);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        border-color: rgba(0, 0, 0, 0.05);
    }
}

@keyframes showVariantRight {
    0%, 50% {
        transform: translateY(0);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        border-color: rgba(0, 0, 0, 0.05);
    }
    55%, 85% {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        border-color: #667eea;
    }
    90%, 100% {
        transform: translateY(0);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        border-color: rgba(0, 0, 0, 0.05);
    }
}

@keyframes lightning {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4);
    }
    20% {
        box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4), 0 0 20px rgba(39, 174, 96, 0.6);
    }
    25% {
        box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4), 0 0 30px rgba(39, 174, 96, 0.8), 0 0 40px rgba(39, 174, 96, 0.6);
    }
    30% {
        box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4);
    }
    60% {
        box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4), 0 0 15px rgba(39, 174, 96, 0.5);
    }
    65% {
        box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4), 0 0 25px rgba(39, 174, 96, 0.7), 0 0 35px rgba(39, 174, 96, 0.5);
    }
    70% {
        box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4);
    }
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 1;
    }
    50% { 
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* Варианты */
.varian-left,
.variant-right {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-height: 300px;
    justify-content: space-between;
}

.varian-left {
    animation: showVariantLeft 6s ease-in-out 1s infinite;
}

.variant-right {
    animation: showVariantRight 6s ease-in-out 1.5s infinite;
}

.varian-left:hover,
.variant-right:hover {
    animation: none;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.variant-left-img,
.variant-right-img {
    width: auto;
    height: auto;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.variant-left-img img,
.variant-right-img img {
    width: auto;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    transition: filter 0.3s ease;
}

.variant-left-text-title,
.variant-right-text-title {
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    color: #2c3e50;
    transition: color 0.3s ease;
    margin-bottom: 10px;
}

.varian-left:hover .variant-left-text-title,
.variant-right:hover .variant-right-text-title {
    color: #667eea;
}

.golosovanie-button {
    text-align: center;
    width: 100%;
    margin-top: auto;
}

.golosovanie-button a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4);
    animation: lightning 3s ease-in-out infinite;
    width: 100%;
    min-height: 55px;
}

.golosovanie-button a:hover {
    animation: none;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.6);
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
}

/* Footer */
.footer {
    flex-shrink: 0;
    background: #ecf0f1;
    border-top: 1px solid #bdc3c7;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.footer-container {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-text {
    color: #2c3e50;
    font-size: 16px;
}

/* BitvaCMS классы */
.brand_rows {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.brand {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    padding: 15px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-height: 300px;
    justify-content: space-between;
}

.brand:nth-child(1) {
    animation: showVariantLeft 6s ease-in-out 1s infinite;
}

.brand:nth-child(2) {
    animation: showVariantRight 6s ease-in-out 1.5s infinite;
}

.brand:hover {
    animation: none;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.brand h2 {
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    color: #2c3e50;
    transition: color 0.3s ease;
    margin-bottom: 15px;
    cursor: pointer;
    line-height: 1.3;
}

.brand:hover h2 {
    color: #667eea;
}

.brand img {
    width: auto;
    height: auto;
    max-width: none;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: filter 0.3s ease;
}

.brand:hover img {
    filter: brightness(1.1) contrast(1.1);
}

.votes {
    text-align: center;
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.2;
}

.votes p {
    margin: 5px 0;
    font-size: 16px;
    color: #7f8c8d;
    font-weight: 600;
}

.votes .vote-count {
    display: block;
    font-size: 28px;
    font-weight: 900;
    color: #e74c3c;
    margin-bottom: 5px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.left-time,
.left_time {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

.vote {
    text-align: center;
    margin-top: auto;
    padding-top: 10px;
}

.vote-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4);
    animation: lightning 3s ease-in-out infinite;
    width: 100%;
    text-align: center;
    min-height: 55px;
}

.vote-button:hover {
    animation: none;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.6);
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
}

/* Navigation */
.brand_comm {
    text-align: center;
    margin: 30px 0;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.brand_comm a {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #4285f4, #1976d2);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin: 0;
    white-space: nowrap;
    font-size: 16px;
}

.brand_comm a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(66, 133, 244, 0.4);
}

.navigation .current {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    font-weight: 700;
}

/* Lists */
.related, .popular, .latest {
    margin: 20px 0;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(220, 223, 230, 0.4);
    overflow: hidden;
    position: relative;
    transition: all 0.4s ease;
    padding: 0;
    width: 100%;
}

.related h3, .popular h3, .latest h3 {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #2c3e50;
    margin: 0;
    padding: 22px 30px;
    font-size: 18px;
    font-weight: 700;
    border-bottom: 1px solid rgba(220, 223, 230, 0.3);
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.related ul, .popular ul, .latest ul {
    list-style: none;
    margin: 0;
    padding: 12px 0;
    background: transparent;
}

.related li, .popular li, .latest li {
    border-bottom: 1px solid rgba(233, 236, 239, 0.3);
    transition: all 0.3s ease;
}

.related a, .popular a, .latest a {
    display: block;
    padding: 16px 30px;
    margin: 0;
    background: transparent;
    border: none;
    text-decoration: none;
    color: #495057;
    transition: all 0.3s ease;
    font-size: 15px;
    line-height: 1.6;
    font-weight: 500;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    width: 100%;
    box-sizing: border-box;
}

.related a:hover, .popular a:hover, .latest a:hover {
    color: #2c3e50;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08), rgba(118, 75, 162, 0.08));
    transform: translateX(8px);
}

/* SimpleModal */
#simplemodal-overlay.simplemodal-overlay {
    background: rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

#simplemodal-container.simplemodal-container {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    width: 90% !important;
    max-width: 900px !important;
    box-sizing: border-box !important;
    background: white !important;
    border-radius: 12px !important;
    padding: 20px !important;
}

#simplemodal-container .simplemodal-data {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

#simplemodal-container h2,
#simplemodal-container p {
    width: 100% !important;
    text-align: center !important;
    margin: 10px 0 !important;
}

#simplemodal-container img {
    max-width: 100% !important;
    height: auto !important;
}

.form-variants {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

input[type="text"], 
input[type="file"] {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

#simplemodal-container.simplemodal-container .simplemodal-data {
    padding: 0;
    overflow: visible;
}

#simplemodal-container.simplemodal-container .modalCloseImg,
#simplemodal-container.simplemodal-container a.modalCloseImg {
    background: #e74c3c;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    top: -15px;
    right: -15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
    text-decoration: none;
    position: absolute;
    z-index: 10003;
}

#simplemodal-container.simplemodal-container .modalCloseImg:before,
#simplemodal-container.simplemodal-container a.modalCloseImg:before {
    content: "×";
}

#simplemodal-container.simplemodal-container .modalCloseImg:hover,
#simplemodal-container.simplemodal-container a.modalCloseImg:hover {
    background: #c0392b;
    transform: scale(1.1);
}

/* Utilities */
.clear {
    clear: both;
}

#addload {
    display: none;
}

.widget_comments,
.widget_comments *,
.widget_comments iframe,
.widget_comments div,
.widget_comments table,
.widget_comments td {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    word-wrap: break-word;
    box-sizing: border-box;
}

#soc_list p {
    padding: 6px;
}

#simplemodal-container.simplemodal-container {
    height: fit-content !important;
}

/* Mobile */
@media (max-width: 768px) {
    .header-container {
        padding: 8px 10px;
    }
    
    .main-container {
        padding: 10px;
    }
    
    .add_button {
        padding: 12px 20px;
        font-size: 16px;
        margin: 6px;
        width: auto;
        min-width: 130px;
    }

    #simplemodal-overlay.simplemodal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 10001;
        background: rgba(0, 0, 0, 0.7);
    }
    
    #simplemodal-container.simplemodal-container {
        width: 92% !important;
        padding: 15px !important;
    }
    
    .form-variants {
        padding: 0 10px !important;
    }

    .variants-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }

    .brand img,
    .variant-left-img img,
    .variant-right-img img {
        width: 100%;
        height: auto;
        max-width: 100%;
        object-fit: contain;
    }

    .brand, 
    .varian-left,
    .variant-right {
        width: 100%;
        min-height: auto;
        padding: 10px;
    }

    .related a, .popular a, .latest a {
        padding: 12px 15px;
        font-size: 14px;
    }

    .main {
        margin-bottom: 50px;
    }

    .footer-container {
        padding: 15px;
    }

    .brand_comm {
        padding: 0 10px;
    }

    .brand_comm a {
        padding: 10px 20px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .brand img,
    .brand-image img {
        width: 100%;
        height: auto; 
        max-width: 100%;
    }
    
    .soderjanie-golosovania {
        border-radius: 0;
    }
    
    #soderjanie-formi-golosovania {
        padding: 12px;
    }
    
    #soderjanie-formi-golosovania h2 {
        font-size: 18px;
    }
    
    .fon-kartinki {
        width: 140px;
        height: 90px;
    }
    
    .add_button {
        width: calc(50% - 8px);
        margin: 4px;
        padding: 10px 12px;
        font-size: 14px;
    }

    #simplemodal-container.simplemodal-container {
        width: 90% !important;
        padding: 10px !important;
    }

    .form-variants {
        padding: 0 5px !important;
    }

    .variants-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        width: 100%;
        padding: 0 5px;
        box-sizing: border-box;
    }

    .brand img,
    .variant-left-img img,
    .variant-right-img img {
        width: 100%;
        height: auto;
        max-width: 100%;
        object-fit: contain;
    }

    .brand, 
    .varian-left,
    .variant-right {
        width: 100%;
        min-height: auto;
        padding: 8px;
    }

    .related a, .popular a, .latest a {
        padding: 10px;
        font-size: 13px;
    }

    .main-container {
        padding: 5px;
    }
    
    .footer-container {
        padding: 10px;
    }

    .brand_comm {
        padding: 0 5px;
    }

    .brand_comm a {
        padding: 10px 15px;
        font-size: 14px;
        width: calc(50% - 5px);
        text-align: center;
        box-sizing: border-box;
    }
}


/* Базовые стили для десктопа */
.content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.comments-section {
    flex: 1;
    min-width: 300px;
}

.sidebar {
    flex: 0 0 300px;
    min-width: 280px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.sidebar h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.sidebar img {
    border-radius: 8px;
    margin-bottom: 15px;
    max-width: 100%;
}

.relatelinks {
    color: #2c3e50;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 500;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.relatelinks:hover {
    color: #007bff;
    text-decoration: underline;
}

/* Стили для голосований */
.voting-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    padding: 15px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.voting-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.voting-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.voting-option img {
    width: 60px;
    height: 75px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid #e9ecef;
    transition: border-color 0.2s ease;
}

.voting-option img:hover {
    border-color: #007bff;
}

.voting-option-label {
    font-size: 11px;
    color: #666;
    text-align: center;
    font-weight: 500;
}

.voting-text {
    flex: 1;
    padding: 0 10px;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.voting-container {
    margin-top: 15px;
}

/* Медиа-запрос для мобильных устройств */
@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
        gap: 15px;
        margin-top: 20px;
    }

    .sidebar {
        flex: none;
        width: 100%;
        min-width: unset;
        padding: 15px;
        order: 2; /* Сайдбар будет снизу */
    }

    .comments-section {
        min-width: unset;
        width: 100%;
        order: 1;
    }

    .voting-item {
        padding: 12px;
    }

    .voting-option img {
        width: 55px;
        height: 68px;
    }

    .voting-text {
        padding: 0 8px;
    }
}

/* Дополнительные стили для очень маленьких экранов */
@media (max-width: 480px) {
    .sidebar {
        padding: 10px;
    }
    
    .content-wrapper {
        gap: 10px;
        margin-top: 15px;
    }

    .voting-item {
        flex-direction: column;
        text-align: center;
        padding: 15px;
        gap: 15px;
        align-items: center;
    }

    .voting-text {
        order: -1;
        padding: 0;
        margin-bottom: 15px;
        width: 100%;
    }

    .voting-text .relatelinks {
        font-size: 20px;
        font-weight: bold;
        line-height: 1.3;
        display: block;
        padding: 10px;
        background: #f8f9fa;
        border-radius: 6px;
        border: 1px solid #e9ecef;
    }

    .voting-options-container {
        display: flex;
        justify-content: space-around;
        width: 100%;
        gap: 20px;
    }

    .voting-option {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .voting-option img {
        width: 253px;
        height: 305px;
    }
}

/* Стили для VK комментариев (если нужны дополнительные настройки) */
#vk_comments {
    width: 100%;
    background: none;
}

#vk_comments iframe {
    width: 100%;
    border: none;
    overflow: hidden;
}

.dobavlenie-golosovania {
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    z-index: 10000;
    overflow: visible
}

.soderjanie-golosovania {
    width: 900px
}

#soderjanie-formi-golosovania {
    display: none;
    margin-left: 60px;
    padding-top: 5px;
    width: 630px;
    background: #fff;
    border: 1px solid #000
}

#soderjanie-formi-golosovania h2 {
    margin: 0 5px 0 5px;
    padding-left: 10px
}

#soderjanie-formi-golosovania h3 {
    margin: 0 5px 0 5px
}

.fon-kartinki {
    width: 200px;
    height: 83px;
    background-color: #e6edfd;
    padding-top: 57px
}

.text-vnutri-kartinki {
    color: #CCC;
    font-size: 24px;
    text-align: center
}

span.nameofvariant {
}

.add_button {
    font-size: 16px
}

@media (min-width: 769px) {
  #simplemodal-container.simplemodal-container {
    width: auto !important;
    min-width: 400px !important;
    max-width: 90vw !important;
  }
}
