body{  background: linear-gradient(111deg, #fcfcfc 0%,#A2D5AB 40%,#2C3E50 69%,#000000 100%); min-height: 100vh; padding: 0; margin: 0;font-family: Verdana, sans-serif; font-size: 11pt;
line-height: 1.6;}
h1, h2, h3, h4, h5, h6 {
    font-family: "Times New Roman", serif;
}


	   /* --- 3. Шапка (Header) --- */
.head {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.head a { color: #374151; margin-right: 8px; text-decoration: none; font-size: 14pt; }
.head a:hover { color: var(--color-accent-red); text-decoration: none; fill: var(--color-accent-red); }
.lefttopmenu { order: 1; padding: 20px 0 20px 20px; flex-basis: 40%; }
.logo { order: 2; text-align: center; padding-top: 10px; }
.logo img { max-height: 50px; }
.righttopmenu { order: 3; padding: 20px 20px 20px 0; flex-basis: 40%; text-align: right; }
.icon { width: 1em; height: 1em; vertical-align: -0.2em; margin-right: 5px; }
    .container {
         display: flex;  justify-content: center;   padding: 40px 0 40px 0; min-height: 69vh;
        
    }
        .rightblok {
         max-width: 60%;  flex-grow: 1; background-color: rgba(242, 242, 242, 0.74); border-radius: 8px; box-shadow: 0 4px 8px rgba(0,0,0,0.1); position:relative; height: 100%;
    }
    .rightblok h1 {padding-left: 20px; color: #27AE60; text-align: center;  }
    .rightblok h2 {padding-left: 20px; color: #2C3E50;}
    .rightblok h2 a{color: #2C3E50;}
     .rightblok h2 a:hover {color: #27AE60; text-decoration: none; }

  	/* Общие стили для формы */
.usermenu {
    margin: 20px auto;
    padding:1px;
   
}


.usermenu h4 {
    color: #495057;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
    font-size: 16px;
    text-transform: uppercase;
}

.usermenu ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.usermenu li {
    margin-bottom: 5px;
}

.usermenu a {
    text-decoration: none;
    color: #4A90E2;
    padding: 8px 12px;
    display: block;
    border-radius: 4px 0 0 4px;
     
    transition: background-color 0.3s, color 0.3s;
}

.usermenu a:hover {
    background-color: #4A90E2;
    color: #ffffff;
}

.usermenu a:active , .usermenu a.active{
    background-color: #2C3E50;
    color: #ffffff;
}

form {
    margin: 0 auto;
    padding: 20px;
    border-top: 1px solid #F2F2F2;
 
 
}

.registration-form {  background-color: #fff; border-radius:10px;}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #2C3E50; /* Темно-синий цвет для текста */
}

/* Стили для текстового поля input */
input[type="text"], input[type="email"], input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #F2F2F2; /* Светло-серый цвет для границ */
    border-radius: 5px;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus {
    border-color: #4A90E2; /* Голубой цвет для фокуса */
    box-shadow: 0 0 5px rgba(74, 144, 226, 0.5); /* Полупрозрачный голубой цвет для тени */
}

/* Стили для textarea */
textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #F2F2F2; /* Светло-серый цвет для границ */
    border-radius: 5px;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
    resize: vertical; /* Позволяет пользователю изменять размер textarea по вертикали */
}

textarea:focus {
    border-color: #4A90E2; /* Голубой цвет для фокуса */
    box-shadow: 0 0 5px rgba(74, 144, 226, 0.5); /* Полупрозрачный голубой цвет для тени */
}

/* Стили для чекбокса */
input[type="checkbox"] {
    margin-right: 10px;
    vertical-align: middle;
}

/* Стили для кнопки */ 
button {
    display: block;
    width: 100%; /* Кнопка на всю ширину формы */
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #27AE60; /* Темно-зеленый цвет */
    color: #FFFFFF;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
    text-align: center;
}

button:hover { 
    background-color: #2ECC71; /* Более яркий зеленый цвет при наведении */
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.5); /* Полупрозрачный зеленый цвет для тени */
}


.form-links {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.form-links a, .links a {
    color: #4A90E2; /* Голубой цвет */
    text-decoration: none;
    transition: color 0.3s;
}

.form-links a:hover,.links a:hover {
    color: #2C3E50; /* Темно-синий цвет при наведении */
}



.form-group {
    margin-bottom: 20px;
}

.checkboxes input[type="checkbox"] { margin-right: 10px; accent-color: #4A90E2; }
.checkboxes {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.form-group-radio {
    display: block;
    margin-bottom: 1rem; /* Отступ между опциями */
}

/* Скрываем стандартный радио-баттон */
.form-group-radio input[type="radio"] {
    display: none;
}

/* Стилизуем label, который станет нашей новой кнопкой */
.form-group-radio label {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 2px solid #e5e7eb; /* Нейтральная рамка по умолчанию */
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    font-weight: 500;
    color: #374151;
}

/* Эффект при наведении курсора */
.form-group-radio label:hover {
    border-color: #d1d5db;
    background-color: #f9fafb;
}

/* Создаем кастомный кружок для радио-кнопки */
.form-group-radio label::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    flex-shrink: 0; /* Чтобы кружок не сжимался */
    margin-right: 12px;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    transition: all 0.2s ease-in-out;
}

/* Стили, когда опция ВЫБРАНА */
.form-group-radio input[type="radio"]:checked + label {
    border-color: #2563eb; /* Цвет акцента */
    background-color: #eff6ff; /* Слегка голубой фон */
    font-weight: 600;
    color: #1e40af;
}

/* Изменяем вид кружка, когда опция выбрана */
.form-group-radio input[type="radio"]:checked + label::before {
    border-color: #2563eb;
    /* Внутренняя точка */
    box-shadow: inset 0 0 0 4px #2563eb;
    background-color: #ffffff;
}


label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

 
textarea {
    resize: vertical;
}

.photo-section {
    display: flex;
    align-items: center;
}

input[type="file"] {
    margin-right: 20px;
    width: 180px;
}

.photo-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.photo-preview img {
    max-width: 100px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 10px;
}

.photo-preview a {
    color: red;
    text-decoration: none;
    font-size: 12px;
}

.photo-preview a:hover {
    text-decoration: underline;
}

.form-buttons {
    display: flex;
    justify-content: space-between;
}

 

button.save-button {
    background-color: rgba(39, 174, 96, 0.9);
    color: white;
    margin: 10px;
}

button.delete-button {
    background-color: #ccc;
    color: white;
    margin: 10px;
}




footer {
    background-color: rgba(44, 62, 80, 0.6);
    color: white;
    padding: 10px 0;
}
.footer-bottom {
    text-align: center; background-color:rgba(0, 0, 0, 0.5);
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #111;
}

.footer-bottom p {
    margin: 0;   color: #27AE60;
    padding: 5px 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
     
}

.footer-links li {
    margin: 15px;
}

.footer-links a {
    color: #A2D5AB;
    text-decoration: none;
}

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




.articl {display: flex;   flex-wrap: wrap; }
.articl .art {flex-grow: 1;  border-left: 1px solid #ccc; border-top: 1px solid #ccc;   display: flex;
    flex-direction: column;
      box-sizing: border-box; padding-bottom: 10px; line-height: 120%; background-color: rgba(255, 255, 255, 0.74);}
.articl .art p {padding: 10px; display: flex; justify-content: space-between; margin: 0; color:#2C3E50;}
.articl .art p.center{             display: flex; align-items: flex-end; justify-content: center; text-align: center;height: 100%; }
.articl .art span {color: #888;}
.articl .art .spacer { flex-grow: 1; }  
.articl .art .cvs { display: flex; justify-content: space-between; color: #2C3E50; } 
.articl .art .cv {display: flex; justify-content: space-between;   padding: 0 20px;}
.articl .art .cv a{color:#27AE60; text-decoration: none; padding: 3px 6px;}
.articl .art .cv a span {color:#A2D5AB;}
.articl .art .cv a:hover {color:#2C3E50; background-color: #fff;  border-radius: 3px;}

.articl .art p a{font-size: 1.2em; font-weight: bold; color:#4A90E2;}
.articl .art p a:hover {color:#2C3E50; text-decoration: none;}
.articl .art p.center a{font-size: 1em; font-weight: normal; color:#2C3E50; }
.articl .art p.center a:hover {color:#27AE60; text-decoration: none;}

.articl .art  .view {
   background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512" aria-hidden="true" focusable="false"><path d="M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64c-7.1 0-13.9-1.2-20.3-3.3c-5.5-1.8-11.9 1.6-11.7 7.4c.3 6.9 1.3 13.8 3.2 20.7c13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3z"/></svg>');
    background-repeat: no-repeat;
    background-size: contain; 
 width: 1em;
    height: 1em;
       
    margin-right: 5px; margin-top: 3px;}
    .articl .art  .com {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512" aria-hidden="true" focusable="false"><path d="M208 352c114.9 0 208-78.8 208-176S322.9 0 208 0S0 78.8 0 176c0 38.6 14.7 74.3 39.6 103.4c-3.5 9.4-8.7 17.7-14.2 24.7c-4.8 6.2-9.7 11-13.3 14.3c-1.8 1.6-3.3 2.9-4.3 3.7c-.5 .4-.9 .7-1.1 .8l-.2 .2 0 0 0 0C1 327.2-1.4 334.4 .8 340.9S9.1 352 16 352c21.8 0 43.8-5.6 62.1-12.5c9.2-3.5 17.8-7.4 25.3-11.4C134.1 343.3 169.8 352 208 352zM448 176c0 112.3-99.1 196.9-216.5 207C255.8 457.4 336.4 512 432 512c38.2 0 73.9-8.7 104.7-23.9c7.5 4 16 7.9 25.2 11.4c18.3 6.9 40.3 12.5 62.1 12.5c6.9 0 13.1-4.5 15.2-11.1c2.1-6.6-.2-13.8-5.8-17.9l0 0 0 0-.2-.2c-.2-.2-.6-.4-1.1-.8c-1-.8-2.5-2-4.3-3.7c-3.6-3.3-8.5-8.1-13.3-14.3c-5.5-7-10.7-15.4-14.2-24.7c24.9-29 39.6-64.7 39.6-103.4c0-92.8-84.9-168.9-192.6-175.5c.4 5.1 .6 10.3 .6 15.5z"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
 width: 1em;
    height: 1em;
     
    margin-right: 10px; margin-top: 3px; }
.userprofil h1 {margin-top: 10px; color: #2C3E50; letter-spacing: 0.5px; text-transform: uppercase;}
.userprofil h5{ position:absolute;top: 6px;line-height: 1;padding: 0;margin: 0;right:10px; color: #2C3E50; }
.userprofil h5 a {color: #4A90E2;}
.userprofil {background-color: rgba(255, 255, 255, 0.74); border-radius: 8px; padding: 20px; -webkit-box-shadow: 0px 4px 4px -1px rgba(0, 0, 0, 0.34);
 
box-shadow: 0px 4px 4px -1px rgba(0, 0, 0, 0.14);  color: #A2D5AB; }
.userprofil center { text-align: center!important;}
h1 a {text-decoration: none; position:absolute;top: -7px;line-height: 1;left:0px;}
h1 a span small {font-size: 10pt; font-weight: 100; text-transform: none;}
h1 a span {
    font-size: 10pt;
    color: #fff;
    background-color: rgba(39, 174, 96, 0.9);
    margin: 0;
    padding: 4px 10px;
    border-radius: 8px 0  5px 0;
    vertical-align: middle;  
}

h1 a span:hover {
    background-color: rgba(39, 174, 96, 1);
}

/* Стилевые правила для личных сообщений */
.msg {   display: flex;     width: 100%;       height: 100%; max-height: 45vh;}


.sidebar {
    width: 25%;
    background-color: #f4f4f4;
    border-right: 1px solid #ddd;
    overflow-y: auto;    
}
.sidebar a {text-decoration: none; color: #4A90E2;}
.sidebar a:hover .conversation  {background-color: #eee;}

.conversation {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar .act {background-color: #fff;}

.conversation .user-name {
    font-weight: bold;
}

.conversation .unread-count {
    background-color: #ff0000;
    color: #fff;
    border-radius: 50%;
    padding: 5px 10px;
    font-size: 12px;
}

.conversation .last-message-date {
    font-size: 12px;
    color: #888;
    padding-left: 5px;
}

.chat {
    width: 75%;
    padding: 20px;
 
display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.message {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.message .message-info {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 5px;
}
.message-info {background-color: rgba(255, 255, 255, 0.3); padding: 3px;}
.message.sender .message-content {
    background-color: #e0ffe0;
    align-self: flex-end;
}

.message.receiver .message-content {
    background-color: #e0e0ff;
    align-self: flex-start;
}

.message-content {
    padding: 10px;
    border-radius: 10px;
    max-width: 60%;
}

.message-form {
    display: flex;
    margin: 0;
 
}
.message-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-right: 10px;
    resize: none;
    height: auto;
    min-height: 40px; /* Высота одной строки */
    max-height: 120px; /* Высота шести строк */
    overflow-y: auto;
}

.send-button {
    padding: 10px 20px;
    width: auto;
    height: 52px;
}


.sect1 {background-color: rgba(0, 0, 0, 0.1); padding: 10px 10px 0 10px;}

/* Стилевые правила для всплывающего окна */
a.open-popup {
    display: inline-block;
  
}

 
.popup, .popup2 {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.popup-content, .popup-content2  {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.close, .close2 {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover, .close:focus, .close2:hover, .close2:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.infopage { padding: 20px; font-size: 1.4em; font-weight: 100; text-align: center; background-color: rgba(255, 255, 255, 0.74); border-radius:  0 0 8px 8px;}
.infopage ul { list-style-type: upper-roman; text-align: justify; margin: 0 40px;}
.infopage ul li {  font-size: 0.8em; padding-bottom: 15px;}
.infopage p a {color: #4A90E2; }
.infopage p a:hover {color: #2C3E50; }
.infopage .proact {display: flex; justify-content: space-around;  align-items: baseline; }
.infopage a {text-decoration: none; max-width: 24%; }
.infopage a button {   }


/* --- Стили для редактора и фото (Версия с повышенной специфичностью) --- */

/* Контейнер для кнопок редактора */
.editor-toolbar {
    display: flex !important; /* Важное правило, чтобы точно выстроить в ряд */
    flex-wrap: wrap;
    gap: 6px;
    background-color: #f5f5f5;
    padding: 8px;
    border: 1px solid #d1d1d1;
    border-bottom: none;
    border-radius: 6px 6px 0 0;
}

/* Стили для самих кнопок с повышенной специфичностью */
.editor-toolbar button.editor-btn {
    /* Сбрасываем возможные внешние стили */
    display: inline-block !important; /* Важное правило */
    width: auto !important;           /* Ширина по содержимому, а не 100% */
    margin: 0 !important;             /* Убираем внешние отступы */
    float: none !important;           /* Убираем обтекание */
    
    /* Основные стили */
    background-color: #ffffff;
    color: #333;
    border: 1px solid #b0b0b0;
    border-radius: 4px;
    padding: 5px 10px;
    cursor: pointer;
    font-family: sans-serif;
    font-size: 14px;
    line-height: 1.5;
    min-width: 36px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

/* Эффект при наведении курсора */
.editor-toolbar button.editor-btn:hover {
    background-color: #e9e9e9;
    border-color: #999;
}

/* Эффект при нажатии на кнопку */
.editor-toolbar button.editor-btn:active {
    background-color: #d5d5d5;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
    transform: translateY(1px);
}

/* Остальные стили для фото (без изменений) */
textarea#content {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    resize: vertical;
}
.photos-preview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}
.photo-preview-item {
    position: relative;
    border: 1px solid #ccc;
    padding: 5px;
    border-radius: 4px;
    text-align: center;
}
.photo-preview-item img {
    max-width: 150px;
    height: auto;
    display: block;
    margin-bottom: 5px;
}
.photo-preview-item label {
    font-size: 12px;
    cursor: pointer;
}


.password-wrapper {
    position: relative;
}
.password-wrapper input {
    padding-right: 40px; /* чтобы глаз не перекрывал текст */
}
.toggle-password {
    position: absolute;
    top: 35%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #888;
    font-size: 1.1em;
    line-height: 1em;
}

/* --- Стили для фотогалереи в кабинете --- */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); /* Адаптивная сетка */
    gap: 1rem;
    padding: 1.5rem 0;
    border-top: 1px solid #e5e7eb;
}
.gallery-container  p { margin-left:20px;  }
.gallery-item {
    position: relative;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.gallery-item img {
    display: block;
    width: 100%;
    height: 140px;
    object-fit: cover;
}
.gallery-item .delete-form {
    position: absolute;
    top: 8px;
    right: 8px;
}
.gallery-item .delete-form button {
    background-color: rgba(220, 38, 38, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 16px;
    line-height: 30px;
    text-align: center;
    padding: 0;
    backdrop-filter: blur(2px);
    transition: background-color 0.2s ease;
}
.gallery-item .delete-form button:hover {
    background-color: rgba(220, 38, 38, 1);
}

.upload-form {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}
.upload-form label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}
.upload-form input[type="file"] {
    width: 100%;
}
.upload-form button {
    margin-top: 1rem;
    width: auto;
    padding: 10px 20px;
}


.error-message {
  padding: 12px 16px;
  margin: 1rem 0;
  border-radius: 4px;

  background-color: #FFEBEE; /* Очень светлый красный */
  color: #B71C1C;            /* Темно-красный текст */
  border: 1px solid #E57373; /* Светло-красная рамка */
  
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
}
.success-message   {
  padding: 12px 16px;
  margin: 1rem 0;
  border-radius: 4px;

  background-color: #edffeb;  
  color: #0f9510;             
  border: 1px solid #90e573;  
  
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
}

.accdel {
    padding: 20px;
}
.accdel a {color: #d91e07; text-decoration: none;}
.accdel a:hover {color: #520e05; text-decoration: underline; } 
/* Стилевые правила для экранов с шириной от 0 до 460px */
@media (max-width: 480px) {
    .lefttopmenu a span {display: none;}
    .container { display: flex;  justify-content: center; flex-direction: column; padding: 0 0 40px 0;}
        .rightblok { max-width: 100%;    margin: 10px;}
.leftblok {min-width: 90%;  padding-left: 20px; padding-right: 20px;} 
   .articl .art {max-width: 100%;}
    .usermenu ul  {float: left; width: 46%; padding: 20px 0 0 2%;}
   .usermenu li {     margin-bottom: 1px;}
   .usermenu a {       border-radius: 4px;}
   .usermenu h4 { display: none; }
    .usermenu { margin: 0 auto;}
    .chat {width: 90%;}
    .sidebar { width: 100%; border: 0; min-height: 150px;}
    .msg {   flex-direction: column; }
    .checkboxes label { width: 100%; }

}

/* Стилевые правила для экранов с шириной от 460px до 960px */
@media (min-width: 481px) and (max-width: 960px) {
    .lefttopmenu a span {display: none;}

    .container { display: flex;  justify-content: center;}
.leftblok {min-width: 28%;  padding-left: 20px; }
.rightblok { max-width: 65%;   }
.articl .art {max-width: 49.9%; }
.checkboxes label { width: 100%; }
 

}

/* Стилевые правила для экранов с шириной от 960px до 1200px */
@media (min-width: 961px) and (max-width: 1200px) {
    .lefttopmenu a span {display: none;}
 .leftblok {min-width: 20%; }
  .articl .art {max-width: 33.26%;}
  .checkboxes label { width: 50%; }
 
}

/* Стилевые правила для экранов с шириной от 1200px и выше */
@media (min-width: 1201px) {
 .leftblok {min-width: 15%; }
   .articl .art {max-width: 24.96%;}
     .checkboxes label { width: 30%; }
 
}