:root {
  --timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  --animation-duration: 250ms;
}

@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: url('/media/templates/site/cassiopeia/fonts/Lato-Regular.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: url('/media/templates/site/cassiopeia/fonts/Lato-Bold.woff2') format('woff2');
  font-display: swap;
}

.back-to-top-link {
    padding: 0.3em;
}

.blog-item .item-image:hover {
    opacity: 0.7;
}


.text-muted {
    font-size: 1rem;
}

.back-to-top-link:hover, .back-to-top-link:focus {
  background-color: #1b4f84;
}

.icon-user::before {
color: rgb(27 79 133);
      font-size: 0.9rem;
}

.icon-calendar-alt:before, .icon-calendar:before {
    color: rgb(27 79 133);
      font-size: 0.9rem;
}


body {
  font-family: 'Lato', Arial, serif;
  font-size: 18px;
  color: #333;
}

.footer {
  color: #ffffffd6;
  font-size: 1.05rem;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Lato', Arial, serif;
  font-weight: 600;
}

h1, .h1 {
    font-size: 1.5rem;
}

@media (width >= 1200px) {
    .com-contact__container {
        display: flex;
        flex-direction: row;
        align-content: center;
        justify-content: center;
        align-items: center;
    }
    h1, .h1 {
        font-size: 1.5rem!important;
    }
  dl.dl-horizontal dt {
        display: none;
    }
  dl.dl-horizontal dd {
        padding: 0;
    }
}


.blog h1    {
  font-size: 1.5rem;
}

.blog h2 {
    font-size: 1.2rem;
}


@supports (display:grid) {
    .blog-items {
        grid-gap: 3em;
        grid-template-columns: 1fr;
        grid-auto-flow: row;
        margin: 1em 0 1em;
        display: grid;
    }
}

.pagination {
    margin: 2rem 0;
      display: flex;
    align-content: center;
    flex-wrap: nowrap;
    align-items: baseline;
    justify-content: center;
}

.blog-item .item-image {
    margin-top: 3px;
    margin-bottom: 15px;
    overflow: hidden;
    max-height: 350px;
    border: 1px solid #7f7f7f;
}

.container-header .container-nav {
    padding-bottom: 0em;
}

.container-header .grid-child {
    padding: 0em;
}

.card {
  --card-spacer-y: 1rem;
  --card-spacer-x: 2rem;
}

.footer {
    color: #ffffffd6;
}


.mod-list li {
    padding: 0.2em 0;
    font-size: 16px;
}

.container-header .mod-list li a:hover {
    font-weight: 500;
}

.container-header .container-nav {
    background: rgb(27 79 133);
}

.container-header {
    background-color: rgb(27 79 133) !important;
    background-image:none !important;
    padding: 0px 0;
}

.mod-custom {
    position: relative;
    width: 100%;
}

@media (min-width: 500px){
    .site-grid {
    grid-template-columns: [full-start] minmax(0,1fr) [main-start] repeat(3,minmax(0,11.83rem)) 332px [main-end] minmax(0,1fr) [full-end] !important;}
}

p{
    line-height:1.8;
}

li {
    line-height:1.8;
}


h1,h2,h3{
    margin-bottom: 15px;
    margin-top: 20px;
    line-height: 1.4;
    font-weight: 600;
    color: #333;
    padding: 5px 5px 8px 5px;
}

@media (min-width: 1200px) {
    .grid-child {
        width: 947px;
    }
}

/* ————— Центр меню ————— */
.header .container-nav {
    justify-content: center;
}

.card {
    border: none !important;
}



.container-header .mod-menu>li:after {
    opacity: 100% !important; 
}

.breadcrumb li {
    font-size: 1rem;
}

.row-fluid.ccomment-menu {
    background: rgba(0,0,0,.03);
}

.ccomment .pull-left {
    float: left;
    padding-left: 10px;
    margin-top: 9px;
}

h4.pull-left:before {
    color: #7cc045;
    content: "\f05a";
    display: inline-block;
    font-family: FontAwesome;
    font-size: 23px;
    margin-right: 2px;
}

button.ccomment-add-new.btn.btn-mini {
    margin-top: 3px;
    padding: 10px;
    font-size: 18px;
}

.h4, h4 {
    font-size: 1.2rem !important;
    font-weight: normal !important;
}

@media all and (max-width:957px) {
  
    .header .container-nav {
    justify-content: space-between;
}
}


a {
    text-decoration: none !important;
    color: rgb(236 115 31);
}

a.but {
    box-shadow: 0 11px 12px rgba(0, 0, 0, 0.38);
    padding: 10px !important;
    margin-bottom: 10px;
    font-weight: bold;
    margin-right: 15px;  
    background: #fff;
}

.but-block {
    margin-bottom: 40px;
    margin-top: 40px;
}

.page-header h2 {
    margin-top: 0px;
}

.page-header a {
    color: #333;
}

footer.container-footer.footer.full-width {
    background: rgb(27 79 133);
}


blockquote p {
    font-size: 1.1rem;
    background: #ffffff;
    padding: 10px 20px 10px 20px;
    border: 1px dashed #333;
    margin-bottom: 15px;
    margin-top: 15px;
}

span.mobi:before {
    content: '\f095';
    display: inline-block;
    font-family: FontAwesome;
    font-size: 17px;
    margin-right: 5px;
    color: #06a406;
}

span.num, span.mobi, span.clock {
    padding: 0px 10px;
    margin: 5px 5px;
    border-radius: 5px;
    border: 1px solid #e8e8e8;
    color: #333;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    display: inline-block;
    background-color: #f8f8f8;
    font-size: 18px;
    line-height: 1.4;
}

.com-content-category-blog__item.blog-item img {
    margin-bottom: 0px;
}

.arrow::after {
    color: #9aa0a6;
    content: "\f054";
    display: inline-block;
    font-family: FontAwesome;
    font-size: 18px;
    margin-left: 0px;
    position: relative;
}

.uplink::after {
    color: #000;
    content: "\f08e";
    display: inline-block;
    font-family: FontAwesome;
    font-size: 15px;
    margin-left: 5px;
    position: relative;
}

a.uplink{
    color: #960202;
    border-bottom: 1.5px solid #960202;
}
a.uplink:hover{
    color: #006bc7;
    /* border-bottom: 1.5px solid #084aae; */
    border: none;
    font-weight: 500;
}

.page-link {
    color: #333 !important;
}

.page-item.active .page-link {  
    color: #fff !important;
    background: #364151;
}

.ccomment-captcha img {
    margin-top: 0px;
}


@media (max-width: 890px){
.container-header .grid-child {
    padding: 2px !important;
  }}

.mostread li:before {
    margin-right: 7px;
    color: #f92f2e;
    content: "\f4ad";
    font-family: 'Font Awesome\ 5 Free';
}

ul.mostread.mod-list {
    display: block;
    background: #f7f7f7;
    border-radius: 5px;
    padding: 17px 11px 17px 12px;
    margin: 10px 10px 10px 0;
    border: 1px solid #e6e6e6;
    list-style: none;
}
ul.mostread.mod-list li a {
    font-weight: normal !important;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    font-size: 15px !important;
    color: #333;
}

ul.mostread.mod-list li a:hover {
    border-bottom-style: none;
}


.h3, h3 {
    font-size: 1.4rem !important;
    padding: 15px 0px 5px 0px;
}

.grid-child.container-sidebar-right {
    /*margin-left: 1em;*/
    margin-left:0;
}

a.but-ad {
    box-shadow: 0 11px 12px rgba(0, 0, 0, 0.38);
    padding: 10px !important;
    margin-bottom: 10px;
    font-weight: bold;
    margin-right: 15px;
    background: #c00;
    color: #fff;
}

.btn.btn-secondary {
    background-color: #004988;
    color: #fff;
    font-weight: 600;
    font-size: 18px;
}

.blog .btn.btn-secondary {
    font-size: calc(0.9rem + .25vw) !important;
}

.com-content-category-blog__items.blog-items.columns-2 {
    grid-template-columns: 1fr 1fr;
}

h2 {
    font-size: 1.4rem;
}

.com-content-article__body a.extlink {
    text-decoration: underline !important;
}

.gallery {
    display: grid;
    max-width: 1140px;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); 
    grid-gap: 12px;
    justify-content: center;
    padding: 0;
    list-style: none;
    margin-left: auto;
    margin-right: auto;
}

.gallery__item {
    position: relative;
    box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.2),
    0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 2px 1px -1px rgba(0, 0, 0, 0.12);
}

.gallery__image:hover {
    transform: scale(0.97);
}

.gallery__image {
    width: 100%;
    object-fit: cover;
    transition: transform var(--animation-duration) var(--timing-function);
}

.gallery__link {
    display: block;
    text-decoration: none;
    height: 100%;
}

.gallery__link:hover {
    cursor: zoom-in;
}

.telefon {
    background: #ececec;
    padding: 1px 3px;
    font-size: 14px;
    margin: 0 1px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border: 1px double #8c8a8a;
    color: #000;
}

.num666 {
    background: #1cc834;
    padding: 3px 5px;
    margin: 0 1px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    border: 1px solid #2ca02f;
    color: #fff;
}
.fa-phone: before {
    content: "\f095";
}

.fa.fa-phone: before {
    content: "\f360";
    color: rgb(236 115 31);
    font-size: 20px;
}

.fa.fa-external-link-square:before {
    content: "\f360";
    color: rgb(236 115 31);
    font-size: 20px;
}
.fa-circle-info:before, .fa-info-circle:before {
    content: "\f05a";
    color: rgb(236 115 31);
    font-size: 20px;
}

.fa.fa-calendar:before {
    content: "\f073";
    color: rgb(236 115 31);
}

.fa-exclamation-triangle:before, .fa-triangle-exclamation:before, .fa-warning:before {
    content: "\f071";
    color: rgb(236 115 31);
}

.navi {
    color: #000!important;
}

.metismenu.mod-menu .metismenu-item {
    line-height: 1.4;
    margin: 5px 0px 5px 0px;
    padding: 10px 13px 10px;
    border-radius: 2px;
    height: 100%;
    background-position: 50%;
    background-color: #ffffff;
    border: 1px solid #7f7f7f;
    display: inline-block;
    font-size: 1.1rem;
    color: #5d4141!important;
    font-weight: 400;
    float: none;
    width: 100%;
}

.footer .grid-child {
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    align-items: center;
    justify-content: center;
    padding: 1rem 1rem 0rem 1rem;
    font-size:1rem;
}

.card-header {
    font-size: 1.4rem;
    margin: 20px 15px 5px 15px;
    line-height: 1.4;
    font-weight: 600;
    color: #555;
    padding: 5px 5px 8px 5px;
    border-bottom: #555 1px groove;
    background-color: #fff;
}

.breadcrumb {
    background-color: rgba(0,0,0,.03);
    margin-bottom: 0;
    margin-top: 20px;
}

.breadcrumb-item+.breadcrumb-item:before {
    color: var(--breadcrumb-divider-color);
    content: var(--breadcrumb-divider,"➠");
    float: left;
    padding-right: var(--breadcrumb-item-padding-x);
}

.mystyle{
    margin-right:5px;
}

.mystyle a:hover{
    color:#000;
}

.sidebar-right .metismenu .metismenu-item>a {
    white-space: inherit;
    color: #3c4043;
}
.metismenu.mod-menu .metismenu-item a:hover {
    color:#000;
    font-weight:500;
}
.anylink {
    text-decoration: underline;
    font-style: italic;
}
tbody, td, tfoot, th, thead, tr {
    border: 1px solid #bdb8b8f3;
    padding: 10px;
    text-align: center;
}

table {
    border-collapse: collapse;
    caption-side: bottom;
    width: 100%;
    margin-bottom: 20px;
    margin-top: 20px; 
}

.mystyle {
    line-height: 1.4;
    margin: 0px 0px 0px 0px;
    padding: 14px 13px 14px;
    border-radius: 2px;
    height: 100%;
    background-position: 50%;
    background-color: #ffffff;
    border: 1.2px solid #dadce0;
    display: inline-block;
    font-size: 18px;
    color: #000!important;
    font-weight: 400;
    float: none;
    width: 100%;
}

.mystyle a {
  color: #3c4043;
}

.mystyle a:hover {
  font-weight: 500; 
  border-bottom: 1px solid #000;
}

.sticky-module {
    position: sticky;
    top: 10px; /* Расстояние от верха */
    z-index: 100; /* Убедитесь, что модуль остается поверх других элементов */
}

*.metismenu.mod-menu .metismenu-item a:after{
    content: '\f04b';
    font-family: FontAwesome;
    font-weight: 300;
    background: transparent;
    border: none;
    text-decoration: none;
    float: right;
    font-size: 15px;
    color: #7e7474;
    margin-right: 20px;
}

@media (max-width: 500px){
.com-content-category-blog__items.blog-items.columns-2 {
    grid-template-columns: 1fr;
}
}

@media (max-width: 576px) {
  .pagination {
    flex-wrap: wrap;
    justify-content: center;
  }

  .pagination li a,
  .pagination li span {
    padding: 4px 8px;
    font-size: 13px;
    min-width: auto;
  }
}