/* Template created by tcse-cms.com | Author: Vitaly V. Chuyakov | URL: http://tcse-cms.com */
body {
    background-color: var(--gray);
    background-repeat: no-repeat;
    background-position: top center;
    background-attachment: fixed;
    background-size: cover;
    letter-spacing: normal;
}
.wrapper {
    background-color: var(--white);
    border: 0 1px solid var(--gray);
    /*box-shadow: 0 0 16px var(--gray);*/
    margin: 0 auto;
    max-width: 1360px;
}
a {color: var(--black);}
a:hover {color: var(--danger)}
.a-text-secondary {font-size: 0.9em;}
.a-text-secondary a {color: var(--secondary);}
.text-lightgrey a {color: var(--gray);}
.text-lightgrey {color: var(--gray); font-size: 1.1em;}
#dofullsearch {display: none;}
/* ============================================================== */
/* Переназначение стилей DLE */
/* ============================================================== */
.ui-dialog-buttonset button {
    display: inline-block;
    margin-bottom: 0;
    margin-left: 5px;
    font-weight: normal;
    text-align: center;
    border: 1px solid transparent;
    white-space: nowrap;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    border-radius: 4px;
    color: var(--gray-dark);
    background-color: var(--white);
    border-color: rgba(0, 0, 0, 0.1);
}
.bbcodes, .btn-border {
    border: 0 none;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    height: 36px;
    border-radius: 0px;
    line-height: 22px;
    outline: none;
    background-color: transparent;
    border-color: #fe0d01;
    color: #fe0d01;
    border: 1px solid #fe0d01;
    padding: 7px 22px;
    text-decoration: none !important;
    box-shadow: none;
    transition: all ease .1s;
}
.btn:hover, .bbcodes:hover, .ui-button:hover {
    background-color: #343a40;
    color: var(--white);
}
.page-link:hover {
    background-color: transparent; 
}


/* ============================================================== */
/* основной шаблон main.tpl */
/* ============================================================== */

/*логотип сайта*/
.header-logo {
    margin: 10px 0;
}
.header-logo a:hover {
    text-decoration: none;
    color: var(--dark);
}
/*подвал сайта */
.bg-footer a {
    color: var(--white);
}
.bg-footer {
    background-color: #1f2124;
}

/* ============================================================== */
/* краткая новость, шаблон shortstory.tpl */
/* ============================================================== */
.short-news-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

/* ============================================================== */
/* полная новость, шаблон fullstory.tpl */
/* ============================================================== */
.full-content img {
    max-width: 100%;
    margin-right: 10px;
    margin-bottom: 10px;
}
.full-content a {
    color: var(--secondary);
    border-bottom: 1px dashed;
}
.block-rating {
    padding: 10px 0;
}

/* ============================================================== */
/* похожие новости, шаблон relatednews.tpl */
/* ============================================================== */
.related-card>.card-columns {
    column-count: 2;
}

/* ============================================================== */
/* комментарии, шаблон comments.tpl */
/* ============================================================== */
.smartcomments img {
    max-width: 100%;
}

/* ============================================================== */
/* облако тегов*/
/* ============================================================== */
.tagcloud a {
    line-height: 36px;
    position: relative;
    font-size: 12px;
    margin: 0 5px 5px 5px;
    padding: 8px 7px;
    color: #7a7a7a;
    border: 1px solid var(--gray);
    border-radius: 5px;
    text-decoration: none;
}

.tagcloud a:hover {
    color: var(--white);
    background-color: #287ae9;
}

.clouds_xsmall {
    display: inline-block;
}

.tags-line span {
    display: inline-block;
    padding: 0 10px 10px 0;
}

.tags-line span.clouds_xlarge {
    font-weight: 800;
}

.tags-line span.clouds_large {
    font-weight: 700;
}

.tags-line span.clouds_medium {
    font-weight: 600;
}

.tags-line span.clouds_small {
    font-weight: 300;
}

.tags-line span.clouds_xsmall {
    font-weight: 200;
}

.tags-line .tags_more {
    font-weight: 600;
    padding-top: 20px;
}

@media (min-width: 320px) and (max-width: 640px) {

    /* если ширина экрана от 320px до 640px */
    .tagcloud2 a {
        line-height: 36px;
        position: relative;
        font-size: 12px;
        margin: 0 5px 5px 5px;
        padding: 8px 7px;
        color: #7a7a7a;
        border: 0px solid var(--gray);
        background-color: var(--gray);
        color: var(--dark);
        border-radius: 5px;
        text-decoration: none;
    }

    .tagcloud2 a:hover {
        color: var(--white);
        background-color: #287ae9;
    }

    .tagcloud2 {
        color: var(--white);
    }

    h1, .h1 {
        font-size: 1.5rem;
    }
}

/* ============================================================== */
/* Градиент на фото https://mdbootstrap.com/docs/jquery/css/gradients/#image */
/* ============================================================== */
.img-gradient{
    position:relative;
    display:inline-block;
}
.img-gradient:after {
    content:'';
    position:absolute;
    left:0; top:0;
    width:100%; height:100%;
    background: rgb(0,0,0);
    background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(4,4,4,0) 70%, rgba(255,255,255,0) 100%);
    }
.img-gradient img{
  display:block;
}
/* ============================================================== */
/* текст наложения на картинку */
/* ============================================================== */
.card-img-overlay-bottom {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 1.25rem;
}
.card-img-overlay-top {
    position: absolute;
    right: 0;
    top: 0;
    left: 0;
    padding: 1.25rem;
}

#my-footer a {color: var(--white);}
#my-footer a:hover {color: var(--gray);}

/* ============================================================== */
/* Кадрирование изображений https://tpverstak.ru/cropping-images-css-svg/ */
/* ============================================================== */
.crop-box-h150 {
    position: relative;
    overflow:hidden;
    min-height: 150px;
}
.crop-box-h150 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.crop-box-h195 {
    position: relative;
    overflow:hidden;
    min-height: 195px;
}
.crop-box-h195 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.crop-box-h390 {
    position: relative;
    overflow:hidden;
    min-height: 390px;
}
.crop-box-h390 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}
/* ============================================================== */
/* Фиксированные блоки для ленты новостей */
/* ============================================================== */
.box-h195 {
    height: 195px; 
    overflow:hidden;
}
.box-h390 {
    height: 390px; 
    overflow:hidden;
}
.box-h780 {
    height: 780px; 
    overflow:hidden;
}
.box-h800 {
    height: 800px; 
    overflow:hidden;
}

#my-footer  .a-text-footer-icon a,
#my-footer  .a-text-footer-icon {
    color: #636466; font-size: 0.9em;
}
.border-footer-icon {
    border-color: #636466!important;
}

/* ============================================================== */
/* Стилизуем картинки ролика */
/* ============================================================== */
/* вывод текстовой подсказки у ссылок запуска ютубролика */
.full-content > a.bla-2::after { 
    content: '(смотреть)'; 
    display: inline;
    text-align: center;
    margin-bottom: 20px;
    margin-left:  20px;
}

#header-title h1 {
    font-family: 'Abel',sans-serif;
    text-transform: lowercase;
    word-spacing: -10px;
    margin: 20px 0 10px 0;
    font-size: 3.8em;
    color: #fff;
}

#header-title h1 span {
    color: #ffc000;
}
#header-title p {
    font-size: 1.8em;
}
@media (min-width: 240px) and (max-width: 640px)
{
    #header-title h1 {
        font-size: 1em;
    } 
    #header-title p {
        font-size: 1em;
    }     
}
.mind-features-item{background-color:#eee;border:solid 1px #ccc;position:relative;overflow:hidden;height:240px;margin:0 auto;margin-bottom:20px;width:90%}
.mind-features-item .item-icon{text-align:center;padding:20px}
.mind-features-item i{color:#00708c;font-size:9em}
.hover{-webkit-user-select:none;-webkit-touch-callout:none}
.mind-features-item .item-content{background-color:#00708c;color:#fff;padding:20px;height:240px;position:absolute;z-index:10;top:175px;left:0;-webkit-transition:all .4s linear;-moz-transition:all .4s linear;-ms-transition:all .4s linear;-o-transition:all .4s linear;transition:all .4s linear}
.mind-features-item:hover .item-content,.mind-features-item.cs-hover .item-content{top:0}
.mind-features-item .item-content h3{font-size:1.3em;text-align:center;font-weight:400;margin:5px 0 15px 0;color:#fff}
@media (min-width:768px){.mind-features-item{width:100%}
}
@media (min-width:768px) and (max-width:991px){.mind-features-item .item-content h3{font-size:1.4em;margin:0 0 15px 0}
}
@media (min-width:992px){.mind-features-item .item-content{font-size:.9em;line-height:1.6em}
.mind-features-item i{font-size:9em}
.mind-features-item .item-content h3{font-size:1.3em;margin:5px 0 20px 0}
}
@media (min-width:1200px){.mind-features-item .item-content{line-height:1.7em}
.mind-features-item i{font-size:9em}
}
.mind-features-item .item-content-1{
    background-color: rgb(255, 192, 0); /* Ð Â¦Ð Ð†Ð ÂµÐ¡â€š Ð¡â€šÐ ÂµÐ Ñ”Ð¡ÐƒÐ¡â€šÐ Â° */
    color:#fff;
    text-align: center;
    font-size: 18px;
    padding:20px;
    height:240px;
    width: 100%;
    position:absolute;
    z-index:10;
    top:175px;
    left:0;
    -webkit-transition:all .4s linear;
    -moz-transition:all .4s linear;
    -ms-transition:all .4s linear;
    -o-transition:all .4s linear;transition:all .4s linear
}

.mind-features-item .item-content-2{
    background-color: rgb(110, 131, 40); /* Ð Â¦Ð Ð†Ð ÂµÐ¡â€š Ð¡â€šÐ ÂµÐ Ñ”Ð¡ÐƒÐ¡â€šÐ Â° */
    color:#fff;
    text-align: center;
    font-size: 18px;
    padding:20px;
    height:240px;
    width: 100%;
    position:absolute;
    z-index:10;
    top:175px;
    left:0;
    -webkit-transition:all .4s linear;
    -moz-transition:all .4s linear;
    -ms-transition:all .4s linear;
    -o-transition:all .4s linear;transition:all .4s linear
}

.mind-features-item .item-content-3{
    background-color: rgb(182, 49, 43); /* Ð Â¦Ð Ð†Ð ÂµÐ¡â€š Ð¡â€šÐ ÂµÐ Ñ”Ð¡ÐƒÐ¡â€šÐ Â° */
    color:#fff;
    text-align: center;
    font-size: 18px;
    padding:20px;
    height:240px;
    width: 100%;
    position:absolute;
    z-index:10;
    top:175px;
    left:0;
    -webkit-transition:all .4s linear;
    -moz-transition:all .4s linear;
    -ms-transition:all .4s linear;
    -o-transition:all .4s linear;transition:all .4s linear
}

.mind-features-item .item-content-4{
    background-color: rgb(104, 174, 252); /* Ð Â¦Ð Ð†Ð ÂµÐ¡â€š Ð¡â€šÐ ÂµÐ Ñ”Ð¡ÐƒÐ¡â€šÐ Â° */
    color:#fff;
    text-align: center;
    font-size: 18px;
    padding:20px;
    height:240px;
    width: 100%;
    position:absolute;
    z-index:10;
    top:175px;
    left:0;
    -webkit-transition:all .4s linear;
    -moz-transition:all .4s linear;
    -ms-transition:all .4s linear;
    -o-transition:all .4s linear;transition:all .4s linear
}

.filter-hover:hover {
    filter: saturate(50%);
}

.mst-logo:hover {
    text-decoration: none;
    color: #fff;
    text-shadow: 1px 1px 2px black, 0 0 1em red; /* Параметры тени */
}
.social-icons-mst {
    color: #fff;
}
.social-icons-mst a {
    color: #fff;
}
.social-icons-mst a:hover {
    color: #fff;
    text-shadow: 1px 1px 2px black, 0 0 1em red;
}

main.container img {filter: sepia(35%);}
main.container img:hover {
    filter: sepia(1%);
    transition: 1s;
}