.logo img {
    max-width: 100px;
    margin: 30px 20px 10px 20px;
    float: left;
}

.moduletablepos {
    margin-top: 20px;
    margin-bottom: 30px;
}

.logo span {
    font-size: 18px;
    padding-top: 29px;
    line-height: 30px;
    display: block;
    letter-spacing: 2px;
    font-family: arial;
    font-weight: 600;
    color: #093b70;
    /*text-shadow: 1px 1px #732372, 1px -1px #732372, -1px 1px #732372, -1px -1px #732372, 3px 3px 6px rgba(0,0,0,.5);*/
}

#sp-top-bar {
    background-color: inherit !important;
}

.body-innerwrapper {
    background-image: url(../images/fon10.jpg) !important;
    background-attachment: fixed;
    background-size: contain;
}

.glav #sp-title {
    padding: 0;
}

.vers img {
    float: right;
    max-width: 127px;
    margin: 10px 0 0 0;
    border-radius: 10px;
}

.sp-megamenu-parent {
    float: left;
}

#sp-menu #sp-menu {
    border-top: 2px solid #22b8f0;
    height: 70px;
    border-bottom: 2px solid #22b8f0;
    height: 70px;
    box-shadow: none;
}

#sp-menu.menu-fixed {
    position: fixed;
    z-index: 9999;
}

#sp-menu.menu-fixed #sp-menu {
    border-bottom: none;
}

#sp-menu {
    height: 70px;
    left: 0;
    position: relative;
    top: 0;
    width: 100%;
    z-index: 99;
}

#sp-menu #sp-menu {
    background-size: cover;
    background-image: url(../images/fon7.jpg);
    background-position-y: 160px;
}

.glav .post-format {
    display: none;
}

.glav #sp-main-body .container {
    padding: 30px 10px 60px 10px;
}

.glav article.item {
    margin-top: -20px;
}

.slide-desc-text-default {
    padding: 6px 6px 1px !important;
}

.slide-desc-text-default a {
    font-size: 14px;
    line-height: 14px;
}

.org a:before {
    display: none;
}

.org {
    margin-bottom: 20px;
}

.adv_rt {
    float: left;
}

.leomod {
    border: 1px solid #ebebeb;
    padding: 0px 6px 10px 6px;
}

.leomod h3 {
    background-image: url(../images/fon7.jpg);
    padding: 20px 10px;
    margin: 0px -6px 10px -6px !important;
    font-size: 16px !important;
    color: #f9f8f8;
    font-weight: 600;
}

.inf img {
    margin: 0 auto;
    border-radius: 10px;
    border: 1px solid #ebebeb;
}

ul.accordion-menu {
    border: none !important;
    margin: 0 -6px 0 -6px !important;
}

ul.accordion-menu li {
    border-top: none !important;
}

.leomenu h3 {
    margin: 0px -6px 0px -6px !important;
}

.leomenu {
    padding: 0px 6px 0px 6px !important;
}

.leomenu li.current>.item-wrapper a {
    color: #ec3237 !important;
}

.breadcrumb {
    padding: 8px 14px;
    margin: 0px -14px;
    background-color: inherit;
}

#sp-org {
    padding-top: 10px;
}

#sp-main-body {
    padding: 0px !important;
}

#sp-main-body .container {
    background: #fff;
    padding: 10px 10px 40px 10px;
    box-shadow: 0px 5px 20px #000;
}

section#sp-logo .container {
    background-image: url(../images/fon92.png);
    background-color: #fff;
    height: 180px;
    background-size: cover;
    box-shadow: 0px 5px 20px #000;
}

section#sp-menu .container {
    background: #fff;
    box-shadow: 0px 5px 20px #000;
}

#sp-page-title .container {
    background: #fff;
    box-shadow: 0px 5px 20px #000;
}

#sp-main-body .container {
    background: #fff;
    box-shadow: 0px 5px 20px #000;
}

#sp-sliderorg .container {
    background: #fff;
    box-shadow: 0px 5px 20px #000;
}

#sp-bottom {
    padding: 0 !important;
    background-color: inherit !important;
}

#sp-bottom .container {
    background-image: url(../images/fon11.jpg);
    background-size: cover;
    background-position-x: center;
    padding: 50px 0 190px 0;
    box-shadow: 0px 5px 20px #000
}

#sp-bottom .container .sp-module {
    text-align: center;
    color: #fff;
    text-shadow: 1px 1px #732372, 1px -1px #732372, -1px 1px #732372, -1px -1px #732372, 3px 3px 6px rgba(0, 0, 0, .5);
    font-size: 20px;
}

.blog .page-header,
.item-page .page-header {
    margin: -20px 0 20px !important;
    padding-bottom: 8px !important;
}

.q1 h3:before {
    content: "\f12a";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    padding: 0px 10px 0px 0px;
}

.q2 h3:before {
    content: "\f1ea";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    padding: 0px 10px 0px 0px;
}

.q3 h3:before {
    content: "\f0c6";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    padding: 0px 10px 0px 0px;
}

.q4 h3:before {
    content: "\f0a2";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    padding: 0px 10px 0px 0px;
}

.sp-megamenu-parent>li.active>a,
.sp-megamenu-parent>li:hover>a {
    color: #ffffff !important;
}

.jn-head h4 {
    margin-top: 0px;
}

.gnovosti img {
    float: left;
}

.junewsultra .jn .jn-right {
    float: inherit;
    width: 100%;
}

.junewsultra .jn .jn-right .jn-info {
    padding: 0 0 0 0;
}

.gnovosti .jn-head {
    border-top: 7px solid #e5f1ff;
    margin-bottom: -10px;
    padding-top: 20px;
    border-radius: 6px;
}

.pg-csv-name {
    margin-top: 3px;
    background: url(../../../media/com_phocagallery/images/icon-folder-small.png) 0 3px no-repeat;
}

.pg-csv-name span {
    font-size: 12px;
}

.gmenu {
    display: none;
}

.informer {
    position: absolute;
    bottom: 0;
    padding: 18px 0px;
    display: flex;
}

.informer span {
    padding-left: 10px;
}



/* Таблица документов */
.tdocs {
    width: 100%;
}

.tdocs th {
    font-weight: bold;
    text-align: center;
    background: #428dc9;
    padding: 10px;
    border: 1px solid #CCCCCC;
    border-collapse: collapse;
    color: #eaeaea;
}

.tdocs td {
    padding: 4px 10px;
    border: 1px solid #CCCCCC;
    border-collapse: collapse;
}

.tdocs .nomer {
    white-space: nowrap;
}

div.catItemAttachmentsBlock {
    padding: 0px;
    border-bottom: none;
}

div.itemListCategory {
    display: none;
}

.tdocs p {
    margin: 0px;
}

/* Конец Таблица документов */


/* Вложения */
#main div.attachmentsList table,
div.attachmentsList table {
    border: none;
    color: #428dc9;
}

#main div.attachmentsList table tbody tr.even td,
div.attachmentsList table tbody tr.even td {
    background-color: white;
}

#main div.attachmentsList table,
div.attachmentsList table {
    font-size: inherit;
}

.catItemAttachments img {
    width: 30px;
    float: left;
}

div.attachmentsList table tbody tr.odd td {
    line-height: 0px;
}

div.attachmentsList table tbody tr.odd td a {
    line-height: 18px;
}

div.attachmentsList table {
    line-height: 0px !important;
}

/* Конец Вложений */


/* ГАЛЕРЕЯ */
#phocagallery .page-header {
    margin-top: -20px;
}

#phocagallery .pagination-centered {
    display: none;
}

/* КОНЕЦ ГАЛЕРЕИ */

div.k2Pagination ul li.active a {
    background: #59b3fe;
}




/* меньше 1200 */
@media (max-width: 1200px) {

    .sp-megamenu-parent>li>a,
    .sp-megamenu-parent>li>span {
        padding: 0 8px !important;
        font-size: 11px !important;
    }

    #sp-menu #sp-menu {
        background-position-y: 101px;
    }

    .leomod h3 {
        font-size: 14px !important;
    }
}

/* меньше 992 */
@media (max-width: 992px) {
    #sp-menu #sp-menu {
        background-position-y: -26px;
    }
}

/* меньше 768 */
@media (max-width: 768px) {
    #sp-top-bar {
        display: none;
    }

    .logo span {
        display: block;
        clear: both;
    }

    .logo img {
        float: inherit;
        text-align: center;
        margin: 0 auto;
        padding-top: 10px;
        max-width: 80px;
    }

    .logo span {
        font-size: 16px;
        padding-top: 0px;
        text-align: center;
        line-height: 22px;
    }

    #sp-vers {
        display: none;
    }

    .leomenu {
        margin-bottom: 50px;
    }

    #newscalendar114 {
        margin: 0 auto;
    }

    .gmenu {
        display: initial;
        float: left;
        padding-right: 21px;
    }

    .informer {
        position: inherit;
        bottom: inherit;
        padding: 0 0 5px 0px;
        display: inline-block;
    }

    .informer span {
        float: right;
    }

    .informer a {
        float: left;
    }
}

/* ЭЦП */
.tooltip {
    display: inline;
    position: relative;
    z-index: 99;
    opacity: 1;
    margin-left: 10px;
}

.tooltip:hover {
    z-index: 999;
}

.tooltip::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 20px;
    bottom: 100%;
    left: 50%;
    pointer-events: none;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}

.tooltip:hover::after {
    pointer-events: auto;
}

.tooltip-content {
    position: absolute;
    z-index: 9999;
    width: 300px;
    left: 50%;
    bottom: 100%;
    font-size: 20px;
    line-height: 1.4;
    text-align: center;
    font-weight: 400;
    color: #fffaf0;
    background: transparent;
    opacity: 0;
    margin: 0 0 20px -150px;
    cursor: default;
    pointer-events: none;
    font-family: 'Satisfy', cursive;
    -webkit-font-smoothing: antialiased;
    -webkit-transition: opacity 0.3s 0.3s;
    transition: opacity 0.3s 0.3s;
}

.tooltip:hover .tooltip-content {
    opacity: 1;
    pointer-events: auto;
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
}

.tooltip-content span {
    display: block;
    font-size: 11px;
    line-height: 1.5;
    padding: 5px 0 5px 0px;
}

.tooltip-text {
    border-bottom: 10px solid #76b6cf;
    overflow: hidden;
    -webkit-transform: scale3d(0, 1, 1);
    transform: scale3d(0, 1, 1);
    -webkit-transition: -webkit-transform 0.3s 0.3s;
    transition: transform 0.3s 0.3s;
}

.tooltip-text p {
    margin-bottom: 10px;
    font-size: 11px;
    font-family: monospace, sans-serif;
}

.tooltip:hover .tooltip-text {
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
}

.tooltip-inner {
    background: rgb(255 255 255 / 95%);
    padding: 8px 20px 1px 20px !important;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
    webkit-transition: -webkit-transform 0.3s;
    transition: transform 0.3s;
    color: #000 !important;
    font-weight: normal;
    max-width: 100%;
}

.tooltip:hover .tooltip-inner {
    -webkit-transition-delay: 0.3s;
    transition-delay: 0.3s;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    max-width: 100%;
    border-radius: 0px;
    text-align: left;
}

.tooltip-content::after {
    content: '';
    bottom: -20px;
    left: 50%;
    border: solid transparent;
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: transparent;
    border-top-color: #76b6cf;
    border-width: 10px;
    margin-left: -10px;
}

.itemListCategoriesBlock {
    display: none;
}

div.catItemAttachmentsBlock {
    border-bottom: none;
}

#k2Container div.itemAttachmentsBlock {
    border-top: none !important;
}

div.catItemView {
    margin-bottom: 0px;
}

.vlo td {
    vertical-align: super;
}

.ecp {
    background: url(/images/raznoe/ecp.png);
    width: 20px;
    height: 29px;
    display: inline-block;
    vertical-align: middle;
}

.ecp:hover {
    background: url('/images/raznoe/ecp_green.png');
}

.blog div[itemprop=blogPost] {
    margin-bottom: 30px;
}

.at_icon {
    vertical-align: middle;
}

div.attachmentsList table {
    border: none;
}

#main div.attachmentsList table a,
div.attachmentsList table a {
    font-weight: normal;
}

#main div.attachmentsList table,
div.attachmentsList table {
    font-size: inherit;
}

.blog .ecp,
.item-page .ecp {
    width: 20px;
}

div.attachmentsList a.at_url:hover {
    color: inherit;
}

#main div.attachmentsList table tbody td,
div.attachmentsList table tbody td {
    padding: 1px 3px 1px 0px;
}

#main div.attachmentsList a.at_icon,
div.attachmentsList a.at_icon {
    padding-right: 0px;
}

#main div.attachmentsList table img,
div.attachmentsList table img {
    margin-right: 0px;
}

#main div.attachmentsList tbody tr.even,
#main div.attachmentsList tbody tr.even td,
div.attachmentsList tbody tr.even td,
div.attachmentsList tbody tr.even {
    background-color: transparent;
}

#main div.attachmentsList table tbody tr.even td,
div.attachmentsList table tbody tr.even td {
    background-color: transparent;
}

.wf_file .attr {
    font-weight: 600;
}

.wf_file .icon {
    margin-right: -3px;
}

a.wf_file {
    text-decoration: none;
}

div.attachmentsList a.at_url:hover {
    text-decoration: none;
    color: #005580;
}

.pagination ul>li:last-child>a,
.pagination ul>li:last-child>span {
    -webkit-border-top-right-radius: 0;
    border-top-right-radius: 0;
    -webkit-border-bottom-right-radius: 0;
    border-bottom-right-radius: 0;
    -moz-border-radius-topright: 0;
    -moz-border-radius-bottomright: 0;
}

.blog .pagination {
    text-align: center;
}

.blog .pagination .jsn-pagination {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.blog .pagination ul.jsn-pagination li a {
    margin: 0px;
}

#k2Container div.k2Pagination ul li {
    display: inline-block;
    margin: 0px -1px;
    padding: 0px 0px;
    line-height: 20px;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
}

#k2Container div.k2Pagination ul li a {
    margin: 0;
    border-radius: 0px;
}

div.k2Pagination ul li a {
    padding: 5px 9px;
    vertical-align: inherit;
    text-transform: none;
}

.pagination ul>li:first-child>span {
    -webkit-border-bottom-left-radius: 0;
    border-bottom-left-radius: 0;
    -webkit-border-top-left-radius: 0;
    border-top-left-radius: 0;
    -moz-border-radius-bottomleft: 0;
    -moz-border-radius-topleft: 0;
}

.pagination ul>li:first-child>a,
.pagination ul>li:first-child>span {
    border-left-width: 1px;
    -webkit-border-bottom-left-radius: 0;
    border-bottom-left-radius: 0;
    -webkit-border-top-left-radius: 0;
    border-top-left-radius: 0;
    -moz-border-radius-bottomleft: 0;
    -moz-border-radius-topleft: 0;
}

ul.jsn-pagination li a,
ul.jsn-pagination li span {
    border: none;
    text-transform: none;
}

div.k2Pagination ul li a {
    border: none;
}

div.pagination ul li {
    font-size: 1em;
    border: 1px solid #CCC;
    margin: 0 -1px;
}

.pagination ul {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

ul.jsn-pagination li.navigation-page span {
    padding: 5px 10px;
    text-transform: none;
}

.at_filename .at_icon img {
    display: inherit;
    margin-right: 7px;
}

.wf_file {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
}

.wf_file .icon {
    margin-right: 6px;
}

ul.accordion-menu li>.item-wrapper>.menu-link {
    overflow: hidden;
}

/* Конец ЭЦП */

/* Галерея в материале */
.galleryblog .item {
    width: 48%;
    margin-top: 10px;
    margin-bottom: 10px;
}

.galleryblog .item:nth-child(2n) {
    margin-left: 2%;
}

.galleryblog h2 {
    text-align: left;
    color: #fff;
    background-image: url(../images/fon7.jpg);
    padding: 10px 15px 10px 15px;
    margin: 0;
    border-radius: 5px 5px 0 0;
    display: block;
    border-bottom: 2px solid #d5e5f1;
}

.galleryblog .items-leading {
    display: flex;
    flex-wrap: wrap;
}

.galleryblog .item-image img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 280px;
}

.galleryblog .item-image {
    overflow: hidden;
    width: 100%;
}

.gallery-title {
    margin-top: 1px;
}

.galleryblog h2 a {
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    line-height: 1.4;
    display: block;
}

.tile-primary-content img {
    width: 100%;
    -moz-transform: scale3d(1, 1, 1);
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
    -moz-transition: -moz-transform 200ms ease-out;
    -o-transition: -o-transform 200ms ease-out;
    -webkit-transition: -webkit-transform 200ms ease-out;
    transition: transform 200ms ease-out;
}

.tile-case .tile-secondary-content:hover,
.tile-client .tile-secondary-content:hover,
.tile-person .tile-secondary-content:hover {
    -moz-transition: opacity 100ms ease-out;
    -o-transition: opacity 100ms ease-out;
    -webkit-transition: opacity 100ms ease-out;
    transition: opacity 100ms ease-out;
}

.tile-case:focus .tile-primary-content img,
.tile-case:hover .tile-primary-content img {
    -moz-transform: scale3d(1.2, 1.2, 0);
    -webkit-transform: scale3d(1.2, 1.2, 0);
    transform: scale3d(1.2, 1.2, 0);
    -moz-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -moz-transition: -moz-transform 15000ms cubic-bezier(0, 0, 0.8, 0.9);
    -o-transition: -o-transform 15000ms cubic-bezier(0, 0, 0.8, 0.9);
    -webkit-transition: -webkit-transform 15000ms cubic-bezier(0, 0, 0.8, 0.9);
    transition: transform 15000ms cubic-bezier(0, 0, 0.8, 0.9);
}

.galleryblog .intro-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.galleryblog .intro-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.galleryblog .item {
    position: relative;
}

.galleryblog .tile-primary-content .article-info {
    position: absolute;
    z-index: 1;
    margin: 0 0 10px 10px;
    bottom: 20px;
    background: #22b8f090;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    color: white;
}

.galleryblog .article-info>dd {
    color: #fff;
}

.galleryblog .page-header {
    margin: -20px 0 20px !important;
    padding-bottom: 8px !important;
}

/* Конец блока галереи в материале */

a.modal {
    display: inherit;
    position: inherit;
}

.sigProCaption,
.sigProPseudoCaption {
    line-height: 1.2;
}


.three {
    height: 400px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 20px;
    background: #daf0fe;
}

.three .left {
    width: 25%;
    height: 400px;
    padding-top: 20px;
    padding-left: 20px;
}

.three .left img {
    width: 100%;
    height: 360px;
    padding: 0;
}

.three img {
    width: 100%;
    height: auto;
}

.three .right {
    width: 25%;
    height: 400px;
    padding-top: 20px;
    padding-right: 0px;
}

.three .right img {
    width: 100%;
    height: 360px;
    object-fit: cover;
}

.three .center {
    width: 50%;
    height: 400px;
    padding-top: 20px;
}

.three .center img {
    width: 100%;
    height: 360px;
    object-fit: cover;
}

.flexslider .slides img {
    height: 370px;
    object-fit: cover;
}

.flexslider .slides>li .title {
    border: 1px solid #ebebeb;
    border-top: none;
    padding: 12px 12px 12px 12px;
}

.news-date-time {
    margin-bottom: 14px;
    color: #747474;
}

.news-date-time i {
    margin-right: 7px;
}

.flex-control-nav {
    display: none;
}

.newsflash-title {
    font-size: 22px;
    margin-top: 0;
}

#sp-banners .sp-module-content {
    padding: 20px 0px;
}

#sp-banners {
    margin-bottom: 20px;
}

#sp-banners .container {
    padding-top: 0;
    background: #fff;
}

.customleomod table {
    width: 100%;
}

.customleomod table td {
    width: 20%;
}

.customleomod table td img {
    height: 100px;
}

@media(max-width: 991px) {

    .three .left,
    .three .right {
        display: none;
    }

    .three .center {
        width: 100%;
        height: 400px;
        padding-top: 20px;
        padding-left: 20px;
    }

    .customleomod table td {
        width: 50%;
    }

    .customleomod table td {
        width: 33%;
        display: inline-block;
    }
}