/* GoingRus — общий (shared) слой раскладки, BS3 → 5, Фаза 1 (W1).
 * Файл общий с Joomla /info/: правка селектора отсюда = обновление реестра
 * (docs/ai/bs5-plan/01-contract.md §5) и парный MR в Joomla.
 * Содержимое перенесено из site.css без изменения объявлений; границы — w1-split-map.md.
 */


/*ul:not(.nav):not(.lang-inline) {}*/
.t3-mainbody ul:not(.nav):not(.lang-inline) > li {
    padding-bottom: 5px!important;
}

/*ul.list-unstyled {}*/
ul.list-unstyled > li {
    padding-bottom: 5px!important;
}

.container-footer {
    padding-bottom: 140px;
}

.t3-content {

}

.t3-content h3.page-header{
    margin: 0px;
}

dl.dl-custom{

}
dl.dl-custom dt{
    margin-top: 10px;
}
dl.dl-custom dd{
    padding-left: 25px;
}
.t3-content .article-footer {
    margin-top: 20px;
}
.t3-content .article-footer .article-info {
    border-top: solid #999999 1px;
    padding-top: 10px;
}

.t3-content .street-view {
    padding-top: 50px;
}
.t3-content .street-view iframe{
    width: 100% !important;
    height: 450px !important;
}

@media (max-width: 768px) {
    .t3-content .street-view {

    }
    .t3-content .street-view iframe{
        width: 100% !important;
        height: 300px !important;
    }
}

#social-buttons {
    margin-left: 0;
    padding-left: 0;
}

#social-buttons li{
    list-style-type: none;
    display: inline;
    margin-right: 5px;
}

.readmorecss {
    color: #888888;
}

.gr-h1style {
    font-size: 24px;
    font-weight: bold;
    margin: 0px;
}
.gr-headstyle {
    padding-top: 8px;
    font-size: 36px;
}

.t3-navhelper {
  background: #f5f5f5;
  border-top: 1px solid #eeeeee;
  color: #555555;
  padding: 5px 0;
}
.t3-navhelper .breadcrumb {
  margin-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  border-radius: 0;
}
.t3-navhelper .breadcrumb > li + li:before {
  content: "/\00a0";
}
.t3-navhelper .breadcrumb > .active {
  color: #999999;
}
.t3-navhelper .breadcrumb > .active + li:before {
  content: "";
  padding: 0;
}
.t3-navhelper .breadcrumb > .active .hasTooltip {
  padding-right: 10px;
}
.t3-navhelper .breadcrumb .divider {
  display: none;
}

.t3-content article .pull-left.item-image {
    margin: 0 30px 20px 0;
}

article .article-image-full {
    
}

article .article-image-full img{
    width: 100%
}

.popover{
    max-width: 100%; /* Max Width of the popover (depending on the container!) */
}

/* custom styles */
.goinrus-spotlight {
    margin-top: -20px;
}

.goinrus-spotlight .container{
    padding-bottom: 0px;
    padding-top: 0px;
    text-align: right;
    margin-bottom: -20px;
    z-index: 2;
    position: relative;
}

@media screen and (min-width: 768px) {
    .goinrus-spotlight .container{
        padding-bottom: 0px;
        padding-top: 0px;
    }    
}

.goinrus-spotlight .container .t3-module{
      margin-bottom: 0px;
}

@media screen and (min-width: 768px) {
    .goinrus-spotlight .container .t3-module{
          margin-bottom: 0px;
    }
}

.goinrus-spotlight .container .t3-module li{
    display: inline-block;
    margin-left: 5px;
    margin-right: 5px;
    width: 25px;
    text-align: center;
}

/* J4: mod_languages добавил padding:.5rem на a — ломает центровку флага
   внутри li.width:25px (флаг выталкивался к правому краю чёрной плашки) */
.goinrus-spotlight .container .t3-module .mod-languages a{
    padding: 0;
    display: inline-block;
    line-height: 0;
}

.goinrus-spotlight .container .t3-module li.lang-active {
    /*border-bottom: red medium solid;*/
    background-color: #222;
    border: #080808 1px solid;
    
    -webkit-border-bottom-right-radius: 5px;
    -webkit-border-bottom-left-radius: 5px;
    -moz-border-radius-bottomright: 5px;
    -moz-border-radius-bottomleft: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}

@media (max-width: 992px) {
    .navbar-nav > li > a {
        padding-right: 10px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .cssLoginBtn {
        display: none!important;
    }
    .cssPartnershipBtn {
        display: none!important;
    }
}

#t3-content h4 {
    padding-top: 20px;
}

#t3-content h5 {
    padding-top: 20px;
}

/* === Cookie Banner === */
.cookie {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 20px;
    transform: translateY(100%);
    transition: transform .4s ease;
    z-index: 10000;
    pointer-events: none;
}

.cookie--visible {
    transform: translateY(0);
    pointer-events: auto;
}

.cookie__inner {
    max-width: 754px;
    margin: 0 auto;
    border-radius: 10px;
    background: #FFF;
    box-shadow: 0px 7px 22px 0px rgba(0, 0, 0, 0.11);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #333;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.cookie__top a {
    margin-left: 4px;
    color: var(--gr-accent);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cookie__close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.cookie__top a:hover {
    opacity: 0.7;
    transition: all 0.3s ease;
}

@media (max-width: 767px) {
    .cookie {
        bottom: 0;
    }

    .cookie__inner {
        border-radius: 0px;
        padding: 19px 10px 19px 19px;
        gap: 24px;
    }
}
