﻿
/* =================================================== */
/* стили для импорта страниц конструктора в MagicSite дизайны Magic2-Magic8 */
/* =================================================== */

.footer {
    z-index: 10;
}
.main .container {
    margin-bottom: 30px;
}
font, span{
all: unset;
}
span {
    font-weight: unset !important;
}
.fixed-header {
    z-index: 1000000 !important;
}
#wrapper .main-content {
    position: relative;
}
.main .sidebar {
    position: relative;
}
#page_content {
	padding-bottom: 20px;
}

#page_content * {
    overflow-wrap: break-word;
		overflow: unset;
font-family: unset;
}
#page_content ol, #page_content ul, #page_content li {
    overflow: unset;
    margin-left: 15px;
}

#page_content td {
		width: auto !important;
}

#page_content img{
max-width: 100%;
width: auto;
height: auto !important;
    border: 0;
overflow: auto;
}
#page_content td.data {
    max-width: 130px;
    width: 130px !important;
}
#page_content .foto_pic {
    background-color: #fff;
    border: 1px solid #e1e1e1;
    vertical-align: middle;
    padding: 7px;
}

#page_content a {
    color: #da2238;
    text-decoration: underline;
}
#page_content table {
    max-width: 100% !important;
    width: 100% !important; 
    WIDTH: 100% !important; 
  margin: 0 !important;
  background-color: transparent;
}
#page_content marquee {
    max-width: 100% !important;
/*    width: 100% !important;*/
}
#page_content #text {
    vertical-align: top;
}
iframe{
max-width: 100%;
}
#page_content p {
    margin-bottom: 1rem;
}
#page_content td > p:last-child {
    margin-bottom: 0;
}
/*  Общее для слабовидящих  */
.bad-see .regionlogo{
display: none;
}
/* Общее для комментариев */
.form-post {
    border-radius: 5px;
    border: 1px solid #da2238;
    margin: 10px 0;
    padding: 10px;
    background-color: rgba(218, 34, 56, 0.1);
    font-size: 0.85rem;
}
.form-post-ok {
    border-radius: 5px;
    border: 1px solid #38d22a;
    margin: 10px 0;
    padding: 10px;
    background-color: rgba(56,218,34, 0.1);
    font-size: 0.85rem;
} 
/* Общее для значка ОВЗ */
.withovz {
    width: 16px;
    border: 0 !important;
    margin-right: 5px;
}
/** общее для шапки */

#widgetEsirGovSpbRu ~ div#wrapper .fixed-header{
    position: absolute;
}

#widgetEsirGovSpbRu ~  div#wrapper #sv_settings{
    position: absolute;
}
.fixed{
    position: fixed !important;
    margin-top: 0px !important;

}

#code {
    width: 170px !important;
    height: 40px !important;
}
marquee {
    max-width: 100%;
}

.slide_caption {
    box-sizing: border-box !important;
}
.cover {
    box-sizing: border-box !important;
}
.document-desc {
 		position: relative;
    cursor: pointer;
}
.document-desc .filedesc {
    display: none;
		position: absolute;
}
.document-desc:hover .filedesc {
    display: block;
    background-color: rgba(255,255,255,1);
    padding: 10px;
    z-index: 100;
    border: 2px dashed #999;
    left: 0;
color: #333;
}
.document-desc img, #page_content  .document-desc img {
    max-width: 20px !important;
    width: 20px !important;
    border: 0 !important;
    padding: 0 10px;
    box-sizing: content-box !important;
}
.topscripts {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    margin: 10px 0;
}
.topscript {
    flex-grow: 1;
}
/*================== подпись =============*/
.check-file-sign img, #page_content .check-file-sign img {
    max-width: 20px !important;
    width: 20px !important;
    border: 0 !important;
    padding: 0 10px;
    box-sizing: content-box !important;
}
.popup-title {
    text-align: center;
}
.signinfo:before {
    font-weight: bold;
    display: block;
    padding-top: 10px;
}
.popup-link:before {
content: "Адрес: ";
}
.popup-name:before {
content: "Название документа: ";
}
.signingTime:before {
    content: "Дата и время подписи: ";
}
.subjectNameSn:before {
    content: "ФИО и должность пользователя, подписавшего сведения: ";
}
.subjectNameO:before {
    content: "Организация пользователя: ";
}
.subjectNameCN:before {
    content: "Сведения о владельце сертификата ЭП: ";
}
.subjectSign:before {
    content: "Код электронной подписи: ";
}
.subjectSign div {
    display: block;
    max-width: 500px;
    max-height: 300px;
    overflow: scroll;
    padding: 10px;
    border: 1px dashed;
    margin: 10px 0;
    min-height: 100px;
    word-break: break-all;
}
.sign .err {
    color: red;
    font-weight: bold;
    padding: 20px 0;
    text-align: center;
}
span.check-file-sign {
    cursor: pointer;
}

.fancybox-content fieldset.inner-page-block {
    max-width: 800px;
}

.inner-page-block h1 {
    color: #2d2f32;
    font-size: 1.15rem;
    font-weight: 400;
    margin-top: 8px;
    padding: 5px 10px;
    background-color: rgba(230, 230, 230, 60%);
}


.biglink {
    font-size: 1.15rem !important;
    font-weight: 600;
    letter-spacing: 1px;
}
.filesign {
    min-width: 250px;
}
/* ===================карта сайта================== */

ul.sitemap > li > a {
    font-weight: 600;
}

ul.sitemap li.has-child ul {
    margin: 0;
    margin-left: 20px;
    padding: 5px;
}
ul.sitemap li.has-child ul li {
    padding: 3px;
}

/* ==============постраничная навигация============ */

.pages-nav-top {
  margin-bottom: 20px;
}

.pages-nav-bottom {
  margin-top: 20px;
}

/* ============== снежинки ============ */
.snow{
    z-index: 1000000;
    text-shadow: 1px 1px 2px #aaa;
}
/* ============== fansy ============ */
@media  (max-width: 750px){
    .fancybox-slide{
      padding: 44px 5px !important;
    }
}

/* ============== фиксированная шапка сайта ================= */
.fixheader.fixed{
  z-index: 100;
}
.fixheader.fixed .suptext {
    display: none;
}

.fixheader.fixed .school-name-row .school-name {
    font-size: 1.2rem;
    line-height: 1.75rem;
}


.fixheader.fixed .school-contacts-row {
    display: none;
}

.logo.fixheader.fixed {
    min-height: 50px;
    box-shadow: 1px 1px 3px #aaa;
    background-size: 50px !important;
}
@media screen and (max-width: 768px){
.logo.fixheader.fixed {
    padding-left: 0px !important;
    background-image: none !important;
    padding-top: 10px !important;
}
}