﻿/*  - - - - - - - - - - - - - - - - - - - - - - - - -

 * Имя файла: styles.css
 * Версия: 1.0 (2025, май)
 * Вебсайт: http://reg45.ru/museum
 * Автор: Дмитрий Лагунов
 * Описание: Главная таблица стилей для сайта


- - - - - - - - - - - - - - - - - - - - - - - - - */

@charset "UTF-8";
@font-face {
font-family: 'Stengazeta';   /* Конвертер http://www.font2web.com */
src: url('fonts/Stengazeta.eot');
src: url('fonts/Stengazeta.eot?#iefix') format('embedded-opentype'),
url('fonts/Stengazeta.ttf') format('truetype');
font-style: normal;
font-weight: normal;
}
:root {
    --azure:#007FFF;
    --black: #000;
    --blue: #000099;
    --orange: #e28b00;
    --orange-dark: #C77B00;
    --purple-black: #261C22;
    --purple-dark: #3F2F38;
    --purple-light: #6F574F;
    --yello-light: #E9DBAC;
    --gray-light: #BCB5A2;
    --gray: #CCCCCC;
    --white: #fff;
    --primary-background: #A28E78;

}

.innerShadowYellow { box-shadow: inset 0 0 15px 0 rgba(255, 255, 0, .4) }
.innerShadowGreen { box-shadow: inset 0 0 15px 0 rgba(0, 255, 0, .4) }
.innerShadowRed { box-shadow: inset 0 0 15px 0 rgba(255, 0, 0, .4) }

@media only screen and (orientation : portrait) {
    .media-block { display: block; }

}

 a:active, a:link, a:visited { text-decoration: none; border: none; border-bottom-style: none; color: var(--purple-black); font-weight: bold }


.addshow-wrap .editor { display: none; position: relative; }
    .addshow-wrap .icon30-add { cursor: pointer; }
    .addshow-wrap .icon-editor-img { position: relative; margin-left: 12px; }
    .addshow-wrap input[type=text], .addshow-wrap select { width: 400px; min-height: 20px; max-height: 20px; font-size: 13pt; line-height: 18px; margin: 10px 17px 35px; padding: 7px; border: 2px solid var(--purple-dark); border-radius: 12px; background-color: var(--white); display: inline-block; }
    .addshow-wrap #nameShow { margin-left: 60px; }
    .addshow-wrap select { height: 38px; min-height: 38px; max-height: 38px; }
        .addshow-wrap select option[value="0"] { background: var(--yello-light); }
    .addshow-wrap .hint, .card-wrap .hint { display: inline-block; position: absolute; font-style: normal; padding: 2px; font-size: 80%; width: 200px; bottom: 45px; right: 0; border: 1px solid var(--purple-black); background: var(--gray); box-shadow: 1px 1px 4px 1px #000000; }
        .addshow-wrap .hint span, .card-wrap .hint span { width: 0; height: 0; display: block; position: absolute; bottom: -15px; right: 6px; border-left: 10px solid transparent; border-right: 10px solid transparent; border-top: 15px solid var(--purple-black); filter: drop-shadow: (1px 0 2px 1px #000000); }
    #editor-color-wrap  { width: 640px; }


.block { display: block; }

body { font-size: 1.0em; margin: 0; padding: 0; width: 100%; height: 100%; overflow: auto; background: var(--primary-background) no-repeat top center; font-family: Arial, sans-serif; }

button { width: 115px; min-width: 115px; display: inline-block; padding: 4px; margin: 4px; border-radius: 5px; border: 1px solid var(--purple-dark); background: var(--gray-light); color: var(--purple-dark); line-height: 25px; }
    button:hover { background-color: var(--purple-light); color: var(--yello-light); cursor: pointer; }

/* Цветовое оформление */
.clPurpleDark { color: var(--purple-dark) }
.red-dark { color: #990000; }
.blue { color: var(--blue); }



.caption { text-align: center; color: var(--purple-dark) }  /* Подпись рис. */
.card-wrap { text-align: center; }
    .card-wrap a { position: relative; display: inline-block; }
    .card-wrap .docAdmin { position: absolute; top: 14px; right: 13px; z-index: 10; }
    .card-wrap .tQ { left: 0px !important; }
    .card { width: 200px; height: 200px; display: inline-block; margin: 13px; padding: 5px; position: relative; cursor: pointer; background: linear-gradient(#E0E0E0, #C4C4C4);  }
    .card em { font-style: normal; font-size: 90%; line-height: 10pt; position: absolute; bottom: 0; }
    .card-bg { width: 200px; height: 200px; background-size: 140px 140px !important;  display: inline-block; transform: perspective(300px) rotateX(30deg); filter: drop-shadow(2px 5px 7px #000000); }


.center { text-align: center !important; }
.clear { display: block; float: none; clear: both; padding: 2px 0; margin: 0 !important }


.document-edit { position: relative; }
    .document-edit > div, .document-edit > .sortable-placeholder { width: 100%; border: 1px solid transparent; text-align: justify; position: relative; height: 30px; padding: 6px; margin-bottom: 6px; }
    .document-edit > div .docAdmin { width: 75px; height: 36px; position: absolute; top: 3px; left: -26px; display: none; text-align: right;  }
        .document-edit > div:hover .docAdmin { display: inline-block; }
        .document-edit > div .docAdmin i { margin: 0 -1px; background-color: var(--white); border-radius: 50%; border: 2px solid var(--purple-dark);  }
        .document-edit > div .docAdmin .icon30-confirm {  border: 2px solid var(--white); }
        .document-edit > div .docAdmin .tQ, .card-wrap .tQ { width: 40px; height: 35px; font-size: 50%; display: inline-block; border: none; font-weight: bold; background: none; position: absolute; top: 34px; left: 42px; color: red; }
    .document-edit > div > .docInfo { font-size: 70%; line-height: 16px; color: var(--purple-light); }
        .document-edit > div > .docInfo a { display: none; }
        .document-edit > div:hover > .docInfo a { display: inline; }
        .document-edit > div:hover > .docInfo span { display: none; }
    .document-edit > div .docLink { max-width: 90%; display: block; color: var(--purple-black); overflow: hidden; white-space: nowrap; font-size: 105%; text-overflow: ellipsis }
    .document-edit > div .docLink:hover { color: var(--purple-dark) }
    .document-edit > div [class^="icon30-"] { margin: 0 13px; cursor: pointer; }
    .document-edit .icon30-move { cursor: move !important; }
    .document-edit .sortable-placeholder { border: 3px dotted var(--purple-dark); padding: 0 }
    .document-edit .uploadDocs { width: 740px; height: 35px; position: absolute; right: 0; top: -55px; text-align: right; }
    .document-edit .uploadForm { width: 100%; height: 35px; display: none; float: left; line-height: 35px; vertical-align: middle; }
    .document-edit .uploadForm span { padding: 0px 4px; display: inline-block; text-align: center; width: 130px; height: 20px; font-size: 80%; background-color: var(--white); border-radius: 5px; cursor: pointer; color: #757575; border: 1px solid var(--purple-light); line-height: 22px; vertical-align: middle; }
    .document-edit .uploadForm span:hover { color: var(--purple-dark); }
    .document-edit .uploadForm [id^="uploadUrl-"], .document-edit .uploadForm [id^="uploadName-"] { padding: 0px 3px; width: 230px; height: 20px; border-radius: 5px 0 0 5px; border: 1px solid var(--purple-light); }
    .document-edit .uploadForm [id^="uploadName-"] { border-radius: 0 5px 5px 0; border-left: hidden; }
    .document-edit .uploadForm button { border: none; background: none; display: inline; width: 35px; min-width: 35px; padding: 0; margin: 0; }

.editable { width: 88%; outline: 0; min-height: 48px; max-height: 200px; font-size: 13pt; line-height: 18px; margin: 15px auto; padding: 20px 25px; border: 2px solid var(--purple-dark); border-radius: 12px; background-color: var(--white); overflow-y: auto; overflow-x: hidden; word-wrap: break-word; box-sizing: border-box; }
    .editable img { width: 99%; margin: 5px 0; }
    .editable a { cursor: alias; margin: 0 8px; border-bottom: 2px dotted var(--purple-light) }

em { font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif; color: var(--purple-black); display: block; padding: 2px 25px 12px;  }

.flash { opacity: .4 }
    .flash:hover { opacity: 1 }

.floatRight { float: right !important; }
.floatLeft { float: left !important;}
.floatCenter { margin: 0 auto !important; display: block; }

.fontItalic { font-style: italic !important; }
.fontBold { font-weight: bold !important; }
.fontStengazeta { font-family: Stengazeta, Tahoma, Geneva, sans-serif; }
.fontSize-80 { font-size: 80% !important; }
.fontSize-150 { font-size: 150% !important; }

h2 { color: var(--purple-dark); font-family: Stengazeta, Tahoma, Geneva, sans-serif; padding-left: 12px; font-size: 185%; }

.header {  width: 95%; height: 70px; line-height: 70px; margin: 0 auto 25px; position: relative; }
    .header > .titleBody { color: var(--purple-dark); line-height: 65px;; vertical-align: middle; }
    .header > .titleBody:nth-child(even) { margin-top: -40px; display: inline-block; }

.hide { display: none !important; }


.carousel-item { width: 170px; min-width: 170px; max-width: 170px; height: auto; margin: 0 5px 30px; padding: 5px; display: inline-block !important; cursor: pointer; position: relative !important; }
    .carousel-item img { box-shadow: 1px 1px 7px 0 #000000; width: 170px; min-width: 170px; max-width: 170px; }
    .carousel-item > .icon30-magnify { display: none; }
    .carousel-item:hover > .icon30-magnify { display: inline-block; position: absolute; top: 60%;  left: 50%; transform: translate(-50%, -50%); }
    .carousel-item:hover img { opacity: 0.6; }
    .carousel-item:hover span { display: inline-block; padding-bottom: -7px; background-color: #000000; }
    .tile-wrap { position: relative; height: 1px; width: 100%; }
        .tile-wrap i { position: absolute; right: 0; top: -30px; cursor: pointer; }


[class^="icon-editor-"] { width: 30px; height: 30px; background: url(../images/icons/text-editor-buttons.png) no-repeat; display: inline-block; line-height: 16px; vertical-align: middle; margin: 0 2px; border-radius: 20px; cursor: pointer; }
    .icon-editor-bold  { background-position: 0 0 }
    .icon-editor-italic { background-position: -30px 0 }
    .icon-editor-underline { background-position: -60px 0 }
    .icon-editor-strikeThrough { background-position: -90px 0 }
    .icon-editor-foreColor { background-position: -120px 0 }
    .icon-editor-highlightColor { background-position: -150px 0 }
    .icon-editor-font { background-position: -180px 0 }
    .icon-editor-justifyLeft { background-position: -210px 0 }
    .icon-editor-justifyCenter { background-position: -240px 0 }
    .icon-editor-justifyRight { background-position: -270px 0 }
    .icon-editor-img { background-position: -510px 0 }
    .icon-editor-addfiles { background-position: -540px 0 }
    .icon-editor-removeFormat { background-position: -570px 0 }
    .icon-editor-undo { background-position: -600px 0 }
    .icon-editor-redo { background-position: -630px 0 }
    .icon-editor-moreactions { background-position: -660px 0 }
    .icon-editor-insertUnorderedList { background-position: -360px 0 }
    .icon-editor-insertOrderedList { background-position: -390px 0 }
    .icon-editor-indent { background-position: -420px 0 }
    .icon-editor-outdent { background-position: -450px 0 }
    .icon-editor-url { background-position: -780px 0 }
    .icon-editor-paragraph { background-position: -690px 0 }
    .icon-editor-quotes { background-position: -720px 0 }
    .icon-editor-dash { background-position: -750px 0 }
    .icon-editor-superscript { background-position: -300px 0 }
    .icon-editor-subscript { background-position: -330px 0 }
    .icon-editor-insertHorizontalRule { background-position: -480px 0 }
    .icon-editor-color { width: 22px; height: 22px; border: 1px solid var(--purple-dark); background: none; }


[class^="icon16-"] { width: 16px; height: 16px; background: url(../images/icons/icons-16.png) no-repeat; display: inline-block; line-height: 16px; vertical-align: middle; margin: 0 2px }
    .icon16-magnify  { background-position: -16px 0 }
    .icon16-download  { background-position: -32px 0 }
    .icon16-externalLink  { background-position: -64px 0 }


[class^="icon30-"] { width: 30px; height: 30px; background: url(../images/icons/icons-30.png) no-repeat; display: inline-block; line-height: 16px; vertical-align: middle; margin: 0 2px }
    .icon30-add { background-position: -300px 0 }
    .icon30-arRight { background-position: -540px 0 }
    .icon30-arLeft { background-position: -540px 0; transform: rotate(180deg); }
    .icon30-confirm { background-position: -510px 0 }
    .icon30-del, .icon30-archive:hover { background-position: -450px 0 }
    .icon30-doc, .icon30-docx, .icon30-rtf, .icon30-dotx { background-position: -60px 0 }
    .icon30-eurl { background-position: -570px 0 }
    .icon30-folder { background-position: -210px 0 }
    .icon30-folder-open { background-position: -240px 0 }
    .icon30-jpg, .icon30-jpeg, .icon30-png, .icon30-gif { background-position: -180px 0 }
    .icon30-magnify { background-position: -360px 0 }
    .icon30-move { background-position: -420px 0 }
    .icon30-pdf { background-position: -30px 0 }
    .icon30-ppt, .icon30-pptx { background-position: -120px 0 }
    .icon30-ret { background-position: -390px 0 }
    .icon30-txt { background-position: 0 0 }
    .icon30-turn { background-position: -330px 0 }
    .icon30-ok { background-position: -480px 0 !important; }
    .icon30-xls, .icon30-xlsx, .icon30-xmlx { background-position: -90px 0 }
    .icon30-zip, .icon30-rar { background-position: -150px 0 }
    .icon30-transparent { background-position: -270px 0 }
    .icon30-tile { background-position: -600px 0 }
    .icon30-tile-off { background-position: -630px 0 }


.icons { background: url(../images/icons/icons.png) no-repeat; display: inline-block; }
    .icons-user-key { width: 31px; height: 25px; background-position: 0 0;  }

.icon-top { background: url(../images/icons/icon-top.png) no-repeat; display: inline-block; width: 250px; position: absolute; left: 40px }
    .it-top { height: 60px; background-position: top; top: -57px; }
    .it-bot { height: 100px; background-position: bottom; top: -103px;  }


#img-prewiew { width: 900px; height: 700px; display: none; background-color: var(--purple-black); border: 10px solid var(--purple-black); box-shadow: 3px 3px 10px 3px #373737, -3px -3px 10px 3px #373737; border-radius: 10px; position: fixed; top: 50%;  left: 50%; transform: translate(-50%, -50%); z-index: 5; }
    #img-prewiew i { cursor: pointer; position: absolute; }
    #img-prewiew .icon30-del { top: 0; right: 0; }
    #img-prewiew .icon30-arLeft { top: 50%; left: 0; }
    #img-prewiew .icon30-arRight { top: 50%; right: 0; }
    #img-prewiew .img-wrap  {  width: 825px !important; height: 700px !important; margin: 0 33px !important; text-align: center; background:  url(../images/backgrounds/loader-dark.gif) no-repeat center; }
    #img-prewiew .img-wrap img {  max-width: 100%; max-height: 700px; height: auto; }
    #img-prewiew .qrCode { margin-top: -55px !important; position: relative; z-index: 7 }

.img-wrap { display: inline-block;   }


.main-page { max-width: 1000px; width: 1000px; margin: 0 auto; position: relative; background: url(../images/backgrounds/paper-bg.jpg) repeat }
.main-page-body { min-height: 850px; box-shadow: 1px 0 5px 0 #333; padding: 10px; }
.margin-top-20 { margin-top: 20px !important; }
.margin-right-20 { margin-right: 20px !important; }
.margin-20 { margin: 20px !important; }

.noselected { user-select: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; }

.opasity-20 { opacity: .2; }
.opasity-50 { opacity: .5; }

p { padding: 4px 12px; font-size: 115%; }

.padding-left-50 { padding-left: 50px !important; }
.padding-50 { padding: 50px !important; }

.popUp { padding: 4px 7px; border: 2px solid var(--purple-dark); border-radius: 4px; box-shadow: 0 1px 7px 1px #1A1A1A; background-color: #F7F7F7; display: none; position: absolute; z-index: 10; left: 50%; transform: translateX(-50%); }
    .popUp .popUpRow { display: block; cursor: pointer; padding: 3px 4px; text-align: left; }
    .popUp .popUpRow:hover { background-color: #D2D2D2 }


.space { padding-bottom: 50px !important; }
    .bigSpace { margin-bottom: 195px !important; }
    .largeSpace { padding-bottom: 30px; display: block }
    .minSpace { padding-bottom: 5px; display: block }
    .smallSpace { padding-bottom: 15px; display: block }

.start-button { text-align: center; height: 200px; }
    .start-button div { width: 330px; height: 200px; background-color: #ECEAE4; cursor: pointer; border: 8px solid var(--purple-dark); border-radius: 15px; margin: 120px 30px; display: inline-block; position: relative;  color: var(--purple-dark);  }
    .start-button div > span { position: absolute; font-size: 200%; padding: 10px; display: inline-block; width: 320px; top: 0; left: 0;  }

.sticker { width: 13px; height: 13px; right: -2px; bottom: -2px; font-size: 10px; line-height: 14px; vertical-align: middle; text-align: center; border-radius: 8px;  position: absolute; border: 2px solid var(--orange-dark); background-color: var(--orange); color: var(--purple-black); font-style: normal; font-weight: bold; }

.shadow-img { box-shadow: 0 0 18px #000000; }

 tt { white-space: nowrap; border: 2px solid #191A1A; border-radius: 3px; padding: 5px 10px; box-shadow: 0 0 15px 0 var(--black); position: absolute; display: inline-block !important; z-index: 100; color: var(--black); font-size: 14px; font-weight: normal; font-style: normal; background-color: var(--yello-light); font-family: Arial, Helvetica, sans-serif }


.qrCode { width: 50px; height: 50px; max-width: 50px; max-height: 50px;  margin-left: auto; margin-right: 0; margin-top: 30px; margin-bottom: 20px; cursor: pointer; background: #FFFFFF url(../images/backgrounds/qr-logo.png); position: relative; }
    .qrCode canvas { position: absolute; top: -150px; right: 0; box-shadow:0 0 30px #000000; z-index: 7; }

.videoplayer { width: 854px; height: 480px; margin: 30px auto; border: 10px solid var(--purple-dark); box-shadow: 3px 3px 10px 3px #373737, -3px -3px 10px 3px #373737; border-radius: 10px; display: block; background: var(--purple-black) url(../images/backgrounds/loader-dark.gif) no-repeat center; }
.video-wrap div { padding: 5px 7px; width: 85%; margin: 0 auto; cursor: pointer; opacity: .9; border-top: 1px solid var(--purple-dark); border-left: 1px solid var(--purple-dark); border-right: 1px solid var(--purple-dark); border-bottom: 1px solid var(--gray-light); background: var(--gray-light); color: var(--purple-dark); }
    .video-wrap div:last-child { border-bottom: 1px solid var(--purple-dark); }
    .video-wrap div:not([class="on"]):hover { opacity: 1; border: 1px solid var(--purple-light); box-shadow: 0 0 5px 0 #000000; }
    .video-wrap h2 { padding: 50px 10px 5px; }
    .video-wrap h3 { padding: 0 8px 40px; }
    .video-wrap .on { color: var(--yello-light); background-color: var(--purple-light); opacity: 1; font-weight: bold; cursor: default; }

.width-50 { width: 50%; }

.warning { width: 520px; padding: 12px; color: var(--gray-light); box-shadow: 0 7px 15px 0 var(--black); padding-left: 60px; background: #651401 url(../images/icons/warning.png) no-repeat 15px 10px; position: fixed; z-index: 200; left: 0; right: 0; top: 0  }


#window { width: 800px; height: 90%; max-height: 960px; box-sizing: border-box; position: fixed; top: 13px; left: 0; bottom: 0; right: 0; margin: 13px auto; background-color: #F7F7F7; z-index: 310; border-radius: 12px; box-shadow: 0 0 12px 2px var(--black); display: none; }
    #window .loader { width: 32px; height: 32px; position: absolute; top: 50%; left: 50%; margin-right: -50%; transform: translate(-50%, -50%) }
    #window > .iconDelete { cursor: pointer; margin: 3px; position: absolute; right: 0; }
    #window .windows-content { margin: 30px 20px 20px; }



/* foother */
.community a { width: 50px; height: 50px; display: inline-block; margin: 5px 12px; background: url(../images/icons/community.png); border: none }
    .community .c_rss { background-position: 0 0 }
    .community .c_vk { background-position: -50px 0 }
    .community .c_ytb { background-position: -100px 0 }
    .community .c_twt { background-position: -150px 0 }
    .community .c_fbk { background-position: -200px 0 }
    .community .c_ins { background-position: -250px 0 }
.copyright > span { font-size: 90%; font-weight: bold; color: var(--white); display: block; margin-top: 5px }
.foother { width: 1000px; margin: 30px auto; }
.hoster { height: 31px; width: 88px; display: block !important; padding: 5px 15px }
.rars { background: url(../images/icons/rars.png) no-repeat; width: 50px; height: 50px; margin: 5px 12px; display: inline-block; border: none  }