@font-face {
    font-family: 'NautilusPompilius';
    src: url('../css/8343.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Trebuchet MS';
    src: url('../css/ff.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ============================================
   ОСНОВНЫЕ СТИЛИ
   ============================================ */
.cont-page {
    background-color: #f1f2f6;
    box-shadow: 0 2px 6px 0 rgba(0,0,0,0.11), 0 0 35px 0 rgba(0,0,0,0.06);
}

/* ============================================
   OWL CAROUSEL
   ============================================ */
#owl-demo .item img {
    display: block;
    border-radius: 8px;
    width: 100%;
    height: auto;
}
#owl-demo .item { margin: 4px; text-align: center; }
#owl-demo1 .item img {
    display: block;
    width: 100%;
    height: 400px;
    object-fit: cover;
}
.customNavigation { text-align: center; }
.customNavigation a {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

/* ============================================
   ЗАГОЛОВКИ
   ============================================ */
.t_title {
    color: #434a54;
    line-height: 1.1;
    font-size: 14px;
    text-align: left;
}
.short-title {
    font-size: 16px;
    margin: -5px 0 5px 0;
}
.short-title a,
.shtitle a {
    color: #434A54;
    text-decoration: none;
    transition: 0.3s;
}
.short-title a:hover,
.shtitle a:hover {
    color: #000;
    text-decoration: none;
}
.full-title {
    font-size: 20px;
    margin: 0 0 15px 0;
}
.hr1 {
    margin-top: 15px;
    margin-bottom: 0;
    border: 0;
    border-top: 1px solid #f3f0ee;
}
.infull { color: #a9a8a8; }
.short-text { color: #656D78; }

/* ============================================
   КАРТОЧКИ (SNIP1253)
   ============================================ */
figure.snip1253 {
    font-family: 'Raleway', Arial, sans-serif;
    position: relative;
    float: left;
    overflow: hidden;
    margin: 10px 1%;
    width: 100%;
    background: #fff;
    color: #000;
    text-align: left;
    font-size: 16px;
}
figure.snip1253 * {
    box-sizing: border-box;
    transition: all 0.3s ease;
}
figure.snip1253 .image {
    max-height: 220px;
    overflow: hidden;
}
figure.snip1253 img {
    max-width: 100%;
    vertical-align: top;
    position: relative;
}
figure.snip1253 figcaption {
    margin: -40px 15px 5px;
    padding: 15px;
    height: 130px;
    position: relative;
    background: #ffdd87;
    border: 1px solid #ffce54;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
figure.snip1253 .date {
    background: #2980b9;
    top: 15px;
    color: #fff;
    left: 15px;
    min-height: 48px;
    min-width: 48px;
    position: absolute;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
}
figure.snip1253 .date span { display: block; line-height: 24px; }
figure.snip1253 .date .month {
    font-size: 14px;
    background: rgba(0,0,0,0.1);
}
figure.snip1253 h3 {
    min-height: 50px;
    margin-bottom: 10px;
    margin-left: 60px;
    display: inline-block;
    font-weight: 600;
    text-transform: uppercase;
}
figure.snip1253 h3,
figure.snip1253 p { margin: 0; padding: 0; }
figure.snip1253 p {
    font-size: 0.8em;
    margin-bottom: 20px;
    line-height: 1.6em;
}
figure.snip1253 footer {
    padding: 0 25px;
    background: #20638f;
    color: #e6e6e6;
    font-size: 0.8em;
    line-height: 30px;
    text-align: right;
}
figure.snip1253 footer > div { display: inline-block; margin-left: 10px; }
figure.snip1253 footer i { color: rgba(255,255,255,0.2); margin-right: 5px; }
figure.snip1253 a {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
}
figure.snip1253:hover img { transform: scale(1.15); }

/* ============================================
   МЕНЮ
   ============================================ */
#main-menu { background: #fff; }
.list-group-item { background: #fff; border: none; }
a.list-group-item { color: #555; }
a.list-group-item:hover,
a.list-group-item:focus { background: #e6e9ed; }
a.list-group-item.active,
a.list-group-item.active:hover,
a.list-group-item.active:focus {
    color: #FFF;
    background: #e6e9ed;
    border: none;
}
.list-group-item:first-child,
.list-group-item:last-child { border-radius: 0; }
.list-group-level1 .list-group-item { padding-left: 30px; }
.list-group-level2 .list-group-item { padding-left: 60px; }

/* ============================================
   ТАБЫ
   ============================================ */
.tab-content { padding: 10px; }
.nav-tabs {
    background: #e6e9ed;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
}

/* ============================================
   ПРОФИЛЬ
   ============================================ */
.profile { min-height: 355px; display: inline-block; }
figcaption.ratings { margin-top: 20px; }
figcaption.ratings a {
    color: #f1c40f;
    font-size: 11px;
}
figcaption.ratings a:hover {
    color: #f39c12;
    text-decoration: none;
}
.divider { border-top: 1px solid rgba(0,0,0,0.1); }
.emphasis { border-top: 4px solid transparent; }
.emphasis:hover { border-top: 4px solid #1abc9c; }
.emphasis h2 { margin-bottom: 0; }
span.tags {
    background: #1abc9c;
    border-radius: 2px;
    color: #f5f5f5;
    font-weight: bold;
    padding: 2px 4px;
}

/* ============================================
   ИЗОБРАЖЕНИЯ
   ============================================ */
.panel-body img,
.card-body img { max-width: 100%; height: auto; }

/* ============================================
   ЦВЕТА
   ============================================ */
.blue {
    background: #7cd1ef;
    border: 1px solid #4fc1e9;
    color: #31708f;
}
.footerh {
    background: #434A54;
    color: #ddd;
    border-radius: 0;
}

/* ============================================
   КОММЕНТАРИИ
   ============================================ */
.comment-list .row { margin-bottom: 0; }
.comment-list .panel .panel-heading {
    padding: 4px 15px;
    position: absolute;
    border: none;
    border-top-right-radius: 0;
    top: 1px;
}
.comment-list .panel .panel-heading.right {
    border-right-width: 0;
    border-top-left-radius: 0;
    right: 16px;
}
.comment-list .panel .panel-heading .panel-body { padding-top: 6px; }
.comment-list figcaption { word-wrap: break-word; }
.comment-list .comment-post { margin-top: 6px; }

/* Стрелки комментариев */
@media (min-width: 768px) {
    .comment-list .arrow:after,
    .comment-list .arrow:before {
        content: "";
        position: absolute;
        width: 0;
        height: 0;
        border-style: solid;
        border-color: transparent;
    }
    .comment-list .panel.arrow.left:after,
    .comment-list .panel.arrow.left:before { border-left: 0; }
    .comment-list .panel.arrow.left:before {
        left: 0;
        top: 30px;
        border-right-color: inherit;
        border-width: 16px;
    }
    .comment-list .panel.arrow.left:after {
        left: 1px;
        top: 31px;
        border-right-color: #FFF;
        border-width: 15px;
    }
    .comment-list .panel.arrow.right:before {
        right: -16px;
        top: 30px;
        border-left-color: inherit;
        border-width: 16px;
    }
    .comment-list .panel.arrow.right:after {
        right: -14px;
        top: 31px;
        border-left-color: #FFF;
        border-width: 15px;
    }
}

/* ============================================
   ОПРОСЫ
   ============================================ */
.vote_title { margin-top: 0; }
.vote_more {
    margin: -0.6em 0 1em 0;
    text-transform: lowercase;
}
.vote_list { margin: -10px 0 10px 0; }
.vote_list .vote,
.vote_list .pollanswer { margin: 0.6em 0 0.2em 0; }
.vote_list .vote > input,
.vote_list .pollanswer > input { display: none; }
.vote_list .vote > input + label:before,
.vote_list .pollanswer > input + label:before {
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid #c3c3c3;
    background: transparent;
    margin: -3px 4px 0 0;
    vertical-align: middle;
    cursor: pointer;
    content: "";
    border-radius: 2px;
}
.vote_list .vote > input[type="radio"] + label:before,
.vote_list .pollanswer > input[type="radio"] + label:before { border-radius: 50%; }
.vote_list .vote > input + label:hover:before,
.vote_list .pollanswer > input + label:hover:before { border-color: #000; }
.vote_list .vote > input:checked + label:before,
.vote_list .pollanswer > input:checked + label:before {
    background: #ffde27;
    width: 8px;
    height: 8px;
    border: 4px solid #000;
}
.vote_votes,
.pollallvotes { font-size: 0.9em; }
#dlevotespopupcontent {
    height: auto !important;
    overflow: visible !important;
}

/* Кнопка результатов */
.vote_result_btn {
    border: 0;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    outline: none;
    margin: 0 0 0 10px;
    padding: 0;
    box-shadow: inset 0 1px 5px 0 rgba(0,0,0,0.14);
    background: #f2f2f2;
}
.vote_result_btn > span {
    display: block;
    width: 18px;
    margin: 2px auto;
}
.vote_result_btn > span > i {
    display: block;
    height: 3px;
    width: 18px;
    border-radius: 2px;
    margin: 1px 0 3px 0;
    background: #1a1a1a;
    transition: width 0.3s ease;
}
.vote_result_btn > span > i.vr_2 { width: 9px; }
.vote_result_btn > span > i.vr_3 { width: 13px; }
.vote_result_btn:hover > span > i.vr_1 { width: 6px; }
.vote_result_btn:hover > span > i.vr_2 { width: 18px; }
.vote_result_btn:hover > span > i.vr_3 { width: 15px; }

/* Опросы в новости */
.poll_block {
    margin: 1.5em 0;
    padding: 1.5em;
    background: #f2f2f2;
    overflow: hidden;
}
.poll_block_in {
    margin: 0 auto;
    background: #fff;
    max-width: 400px;
    padding: 50px;
    box-shadow: 0 1px 3px 0 rgba(0,0,0,0.14);
    border-radius: 4px;
}

/* ============================================
   WP BLOCK
   ============================================ */
.wp-block {
    margin: 0 0 15px 0;
    transition: all 0.3s linear;
    position: relative;
    cursor: default;
    border-radius: 2px;
}
.wp-block.property.list {
    border: 1px solid #e0eded;
    padding: 15px 15px 0 15px;
    margin-bottom: 15px !important;
    font-size: 16px;
    font-weight: 400;
}
.wp-block .wp-block-body { padding: 15px; }
.wp-block.property.list .wp-block-img {
    display: table-cell;
    width: 250px;
}
.wp-block.property.list .wp-block-img img { width: 100%; }
.wp-block.property.list .wp-block-body .wp-block-content {
    display: table-cell;
    vertical-align: top;
    padding-left: 15px;
}
.wp-block.property.list .wp-block-content .content-title {
    font-size: 20px;
    color: #3498db;
    margin-bottom: 5px;
}
.wp-block.property.list .wp-block-content .description {
    padding-bottom: 10px;
    border-bottom: 1px solid #e0eded;
}
.wp-block.property.list .wp-block-footer ul.aux-info {
    width: 100%;
    margin: 0;
    padding: 0;
    display: block;
    background: #fcfcfc;
    border-top: 1px solid #e0eded;
}
.wp-block.property.list .wp-block-footer ul.aux-info li {
    display: table-cell;
    padding: 10px 15px;
    vertical-align: middle;
    border-right: 1px solid #e0eded;
}

/* ============================================
   ЛЕНТОЧКИ
   ============================================ */
.ribbon {
    position: absolute;
    top: 20px;
    right: -5px;
    padding: 15px;
}
.ribbon.base {
    background: #3498db;
    color: #fff;
    border-right: 5px solid #8bc4ea;
}
.ribbon:before,
.ribbon:after {
    content: '';
    position: absolute;
    left: -9px;
    border-left: 10px solid transparent;
}
.ribbon:before { top: 0; }
.ribbon.base:before { border-top: 27px solid #3498db; }
.ribbon.base:after { border-bottom: 27px solid #3498db; }
.ribbon:after { bottom: 0; }
.base { background: #3498db; color: #fff !important; }

/* ============================================
   ПАНЕЛИ
   ============================================ */
.panel-actions {
    margin-top: -20px;
    margin-bottom: 0;
    text-align: right;
}
.panel-actions a { color: #333; }
.panel-fullscreen {
    display: block;
    z-index: 9999;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    overflow: auto;
}
.pn1 {
    background: #434A54;
    border-color: #656D78;
    color: #ddd;
}

/* ============================================
   ПЕРЕКЛЮЧАТЕЛИ
   ============================================ */
.wrapper1 {
    width: 450px;
    margin: 30px auto 0;
    background: #fff;
    box-sizing: border-box;
}
header1 {
    text-align: right;
    padding: 10px;
    margin-bottom: 10px;
    background: #5DBA9D;
}
header1 a {
    font-size: 20px;
    color: #fff;
    width: 40px;
    height: 40px;
    line-height: 40px;
    margin-left: 10px;
    text-align: center;
    display: inline-block;
}
header1 a:hover,
.list-mode header1 a.hide-list:hover { background: #11956c; }
header1 a.hide-list { background: #11956c; }
.list-mode header a.hide-list { background: #5DBA9D; }
.list-mode header a.show-list { background: #11956c; }
.container1:after {
    content: "";
    clear: both;
    display: table;
}
.container1 { padding: 10px 0 10px 10px; }
.wrapper1 .box {
    float: left;
    width: 100px;
    height: 100px;
    margin: 0 10px 10px 0;
    background: #ccc;
    transition: all 1.0s ease;
}
.wrapper1.list-mode .container1 { padding-right: 10px; }
.wrapper1.list-mode .box { width: 100%; }

/* ============================================
   ПРОФИЛЬ ПОЛЬЗОВАТЕЛЯ
   ============================================ */
.user-row { margin-bottom: 14px; }
.user-row:last-child { margin-bottom: 0; }
.dropdown-user {
    margin: 13px 0;
    padding: 5px;
    height: 100%;
}
.dropdown-user:hover { cursor: pointer; }
.table-user-information > tbody > tr { border-top: 1px solid #ddd; }
.table-user-information > tbody > tr:first-child { border-top: 0; }
.table-user-information > tbody > tr > td { border-top: 0; }
.toppad { margin-top: 20px; }
.authorinfo { border-radius: 50%; }

/* ============================================
   ГЕОМЕТРИЧЕСКИЕ ФИГУРЫ
   ============================================ */
.base-shape {
    border: 64px solid;
    border-color: #67B2E4 transparent rgba(105,185,238,0.5) transparent;
    height: 0;
    margin: 20% auto;
    position: relative;
    width: 0;
}
.base-shape:after,
.base-shape:before,
.angle,
.angle:after,
.angle:before,
.shade {
    height: 0;
    position: absolute;
    width: 0;
}
.base-shape:after,
.base-shape:before,
.angle:after,
.angle:before {
    content: "";
    z-index: -1;
}
.base-shape:after {
    border-bottom: 64px solid #3498DB;
    border-left: 64px solid transparent;
    border-right: 64px solid transparent;
    left: -128px;
    bottom: 0;
    width: 128px;
}
.base-shape:before {
    border: 128px solid;
    border-color: #A3D1EF transparent transparent;
    left: -128px;
}
.angle {
    border: 64px solid;
    border-color: transparent transparent rgba(255,255,255,0.4);
    left: -64px;
    top: -128px;
    z-index: 0;
}
.angle:after {
    border: 128px solid;
    border-color: rgba(54,156,224,0.5) transparent transparent;
    left: -128px;
    top: 64px;
    transform: scaleX(0.5);
}
.angle:before {
    background: #000;
    border-radius: 50%;
    filter: blur(12px);
    height: 12px;
    left: -32px;
    top: 192px;
    transform: scaleY(0.5);
    width: 64px;
    z-index: -1;
}

/* ============================================
   ЛОГОТИП
   ============================================ */
.flogo {
    font-family: 'NautilusPompilius', sans-serif;
    font-size: 60px;
    text-shadow: 0 4px 3px rgba(0,0,0,0.4), 0 8px 13px rgba(0,0,0,0.1), 0 18px 23px rgba(0,0,0,0.1);
    color: #F6BB42;
}

/* ============================================
   КНОПКА "НАВЕРХ"
   ============================================ */
.back-to-top {
    cursor: pointer;
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    z-index: 1000;
}


@keyframes loading-bar {
    0% { width: 0; opacity: 1; }
    90% { width: 90%; opacity: 1; }
    100% { width: 100%; opacity: 0; }
}
@keyframes radial-loader {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ============================================
   ФОНОВЫЙ БЛОК
   ============================================ */
.bgmtt {
    background: #048722;
    padding: 5px;
    height: 300px;
    border-radius: 10px;
}
.bgmtt a {
    color: #fdfdfd;
    text-decoration: none;
    transition: 0.3s;
}
.bgmtt a:hover {
    color: #000;
    text-decoration: none;
}
.posted-on {
    color: #000;
    text-decoration: none;
    transition: 0.3s;
}

/* ============================================
   BOOTSTRAP 5 СОВМЕСТИМОСТЬ
   ============================================ */
.card { border-radius: 8px; overflow: hidden; }
.card-header { font-weight: 500; }
.card-footer { background: rgba(0,0,0,0.03); }
.bg-opacity-25 { background: rgba(0,0,0,0.05); }
.rounded-3 { border-radius: 12px; }
.object-fit-cover { object-fit: cover; }

/* ============================================
   АДАПТИВНОСТЬ
   ============================================ */
@media (max-width: 768px) {
    .flogo { font-size: 40px; }
    .wp-block.property.list .wp-block-img {
        display: block;
        width: 100%;
        margin-bottom: 15px;
    }
    .wp-block.property.list .wp-block-body .wp-block-content {
        display: block;
        padding-left: 0;
    }
    .wrapper1 { width: 100%; padding: 0 15px; }
    .container1 { padding: 10px; }
    .bgmtt { height: auto; min-height: 200px; }
    .profile { min-height: auto; }
}

@media (max-width: 576px) {
    .flogo { font-size: 28px; text-align: center; }
    .short-title { font-size: 14px; }
    .full-title { font-size: 18px; }
    .vote_result_btn { height: 32px; width: 32px; }
    .poll_block_in { padding: 20px; }
    .wp-block.property.list .wp-block-footer ul.aux-info li {
        display: block;
        border-right: none;
        border-bottom: 1px solid #e0eded;
    }
    .wp-block.property.list .wp-block-footer ul.aux-info li:last-child {
        border-bottom: none;
    }
    .comment-list .panel .panel-heading { position: static; }
}