html {touch-action: manipulation;}
body {
  height: 100vh; margin: 0px; font-size: 1em; background:#222222;
  font-family: 'Open Sans', sans-serif; font-weight:400; color:#CCCCCC; text-align: left;
}


*,
*::before,
*::after {
  box-sizing:border-box;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
  display:block; box-sizing:border-box;
}

/* open-sans-regular - latin_cyrillic */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans Regular'), local('OpenSans-Regular'),
       url('../fonts/open-sans-400.woff2') format('woff2');
}
/* open-sans-600 - latin_cyrillic */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  src: local('Open Sans SemiBold'), local('OpenSans-SemiBold'),
       url('../fonts/open-sans-600.woff2') format('woff2');
}

/* source-code-pro-regular - latin_cyrillic */
@font-face {
  font-family: 'Source Code Pro';
  font-style: normal;
  font-weight: 400;
  src: local('Source Code Pro Regular'), local('SourceCodePro-Regular'),
       url('../fonts/source-code-pro-400.woff2') format('woff2');
}
/* source-code-pro-600 - latin_cyrillic */
@font-face {
  font-family: 'Source Code Pro';
  font-style: normal;
  font-weight: 600;
  src: local('Source Code Pro SemiBold'), local('SourceCodePro-SemiBold'),
       url('../fonts/source-code-pro-600.woff2') format('woff2');
}

body {
  display: grid;
  min-height: 100vh;
  grid-template-rows: 2em 1fr 2em;
  grid-template-columns: 14em 1fr;
  grid-template-areas: "header header" "aside main" "footer footer";
  overscroll-behavior-y: contain;
}

header { grid-area: header; position:relative; }
aside { position:fixed; width: 14em; min-height: 100%; }
main { grid-area: main; position:relative; background:#333333; padding: 1.7em 1.7em 1.7em 1.7em; }
footer { grid-area: footer; position:relative; }

/*Логотип*/
.logo {
  width: 170px; height: 24px; left: 5px; top: 5px; position: absolute; z-index: 1000;
  background: url("../img/logo.svg") no-repeat center left; padding-left: 30px;
}
.namecms {
  padding: 0px; margin: 0px; font-size: 16px; line-height: 24px;
}
/*Скролл шапки*/
.headscroll {
  width:100%; position:fixed; top:0px; z-index:777; background:#191919;
  box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.3); display: flex; justify-content: flex-end;
}

/*Admin Exit*/
header a {
  line-height:2em; padding: 0em 0.7em 0em 0.7em; font-size:1em; color:#a7a7a7; font-weight:400;
}
header a:hover {
  background:#333333;
}

/*Footer Version*/
footer {
    display: flex; justify-content: flex-end;
}
footer a {
  line-height:2em; padding: 0em 0.7em 0em 0.7em; font-size:1em; color:#a7a7a7; font-weight:400;
}

/*Admin Menu*/
.height-corrector {
  padding-top: 2em; padding-bottom: 2em;
}
.adminmenuwrap {
  position:absolute; left: 0px; right: 0px; top: 0px; bottom:0px;
  overflow-y: auto; overscroll-behavior-y: contain; -webkit-overflow-scrolling: touch; direction: rtl;
}

.adminmenuwrap::-webkit-scrollbar {width: 0px; height: 0px;}
.adminmenuwrap::-webkit-scrollbar-button {width: 7px; height: 0px;}
.adminmenuwrap::-webkit-scrollbar-thumb {background: #b5b8bf; border: 0px none #ffffff;}
.adminmenuwrap::-webkit-scrollbar-track {background: #191919; border: 0px none #ffffff;}
.adminmenuwrap::-webkit-scrollbar-corner {background: transparent;}

.adminmenuwrap {
  scrollbar-width: none;
  scrollbar-color: #b5b8bf #191919;
}

.adminmenubox {
  padding:9px 0px 9px 0px;
}
.adminmenubox:not(:last-child) {
  border-bottom:1px solid #333333;
}
.adminmenubox h1 {
  margin:0px; padding:5px 5px 5px 20px; display:block;
  font-size:0.83em; color:#777777; font-weight:400;
}
.adminmenubox a {
  padding:5px 5px 5px 36px; text-decoration:none; display:block; 
  font-size:0.83em; color:#E7E7E7; font-weight:400;
}
.adminmenubox a:hover {
  background:#333333;
}
.active {
  background:#333333;
}

/*Admin Page Wrapper*/
.wrapper-page-grid {
  display: grid;
  grid-row-gap: 5px;
}
.pages-box {
  min-height:4em;
}

.subbox-grid {
  display: grid;
  grid-row-gap: 5px;
  padding:10px 0px 5px 15px; margin-top: -5px; background:#353b42;
  border-radius: 0px 0px 5px 5px;
  box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.3);
}

.cpline {
  box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.2);
  border-radius: 5px 5px 5px 5px;
  position:relative; min-height:4em;
}
.cpline.last-edited::before {
  content: ""; position: absolute; left: 0; top: 0; z-index: 1;
  border: 5px solid transparent; border-left: 5px solid #5d7d25; border-top: 5px solid #5d7d25;
}

.hotsetting h1 {
  margin:0px; padding:0px 0px 10px 0px; display:block;
  font-size:0.9em; color:#cccccc; font-weight:400;
}

/*-----------------------------------------------*/
/*Style Menu*/
.style-menu {
  background:#222222;
  padding:7px 37px 30px 10px;
}
.style-menu:hover {
  background:#191919;
}
/*+Elements*/
.style-menu h1 {
  margin:0px 0px 0px 0px; padding:0px 0px 0px 0px; display:block;
  font-size:0.95em; color:#dedede; font-weight:600;
}
.style-menu a {
  color:#9ec2d0; text-decoration:none;
}
.style-menu a:hover {
  color:#c4e3ef; text-decoration:none;
}

/*Style Menu Items*/
.style-menu-item {
  background:#222222;
  padding:7px 37px 30px 10px;
}
.style-menu-item:hover {
  background:#191919;
}
/*+Elements*/
.style-menu-item h1 {
  margin:0px 0px 0px 0px; padding:0px 0px 0px 0px; display:block;
  font-size:0.95em; color:#ffffff; font-weight:400;
}
.style-menu-item a {
  color:#9ec2d0; text-decoration:none;
}
.style-menu-item a:hover {
  color:#c4e3ef; text-decoration:none;
}
/*-----------------------------------------------*/

/*Style Pages*/
.style-page {
  background:#222222;
  padding:7px 210px 30px 10px;
}
.style-page:hover {
  background:#191919;
}
/*+Elements*/
.style-page h1 {
  margin:0px 0px 0px 0px; padding:0px 0px 0px 0px; display:block;
  font-size:0.95em; color:#ffffff; font-weight:400;
}
.style-page a {
  color:#9ec2d0; text-decoration:none;
}
.style-page a:hover {
  color:#c4e3ef; text-decoration:none;
}

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

/*Style Admin Menu Container*/
.style-admin-container {
  background:#222222;
  padding:7px 37px 30px 10px;
}
.style-admin-container:hover {
  background:#191919;
}
/*+Elements*/
.style-admin-container h1 {
  margin:0px 0px 0px 0px; padding:0px 0px 0px 0px; display:block;
  font-size:0.95em; color:#dedede; font-weight:600;
}
.style-admin-container a {
  color:#9ec2d0; text-decoration:none;
}
.style-admin-container a:hover {
  color:#c4e3ef; text-decoration:none;
}

/*Style Admin Menu*/
.style-admin-menu {
  background:#222222;
  padding:7px 37px 30px 10px;
}
.style-admin-menu:hover {
  background:#191919;
}
/*+Elements*/
.style-admin-menu h1 {
  margin:0px 0px 0px 0px; padding:0px 0px 0px 0px; display:block;
  font-size:0.95em; color:#ffffff; font-weight:400;
}
.style-admin-menu a {
  color:#9ec2d0; text-decoration:none;
}
.style-admin-menu a:hover {
  color:#c4e3ef; text-decoration:none;
}

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

/*Style Modules*/
.style-module {
  background:#222222;
  padding:7px 37px 30px 10px;
}
.style-module:hover {
  background:#191919;
}
/*+Elements*/
.style-module h1 {
  margin:0px 0px 0px 0px; padding:0px 0px 0px 0px; display:block;
  font-size:0.95em; color:#ffffff; font-weight:400;
}
.style-module a {
  color:#9ec2d0; text-decoration:none;
}
.style-module a:hover {
  color:#c4e3ef; text-decoration:none;
}

/*Version Autor Site*/
.style-module p {
  margin:0px 0px 0px 0px; padding:0px 0px 0px 0px; display:block;
  font-size:0.83em; color:#a1a1a1; font-weight:400;
}
.style-module p.module-descr {
  margin-bottom: 7px;
  color:#fff9f2;
  font-size:0.89em;
}
.module-version, .module-author, .module-site {
  display: inline-block;
  padding: 1px 5px 1px 5px;
  margin-right: 5px;
  background: #2e3137;
  border-radius: 5px 5px 5px 5px;
}
a.module-link {
  color:#8abdd0; text-decoration: none;
}
a.module-link:hover {
  color:#95cee2;
}
/*-----------------------------------------------*/
/*End*/


/* Page Setting */
.admin-pagesetting {
  position:absolute; left:10px; bottom:7px;
  font-size:0.84em; color:#777777; display:none;
}

.admin-pagesetting a {
  color:#8abdd0; display:inline-block; text-decoration:none;
  background: #2e3137;
  padding-left: 5px;
  padding-right: 5px;
  border-radius: 3px;
  margin-right: 5px;
}
.admin-pagesetting a:hover {
  color:#ffffff;
}
.admin-pagesetting a:focus {
  box-shadow: 0 0 0 0.2em #4f6073;
}

.cpline:hover .admin-pagesetting {
  display:block;
}
.a-red a {
  color:tomato;
}
.a-red a:hover {
  color:#FF0000;
}

/* Grid Button */

.grid-buttons {
  display: grid;
  grid-auto-flow: column;
  grid-gap: 5px;
  justify-content: start;
}
.grid-button.media {
  padding: 7px 9px 7px 9px;
  border-radius: 3px;
  border: 1px solid #297f9c;
  color: #92efd5;
  background: #334c4c;
  cursor: pointer;
}
.grid-button.media:hover {
  border: 1px solid #297f9c;
  color: #92efd5;
  background: #3d6161;
}

/* Data and Status Public */
.admin-datapublicline {
  width:150px; position:absolute; right:37px; top:12px; z-index:1;
  font-size:0.8em; color:#a7a7a7;
}
.planned {
  color:bisque;
}


/* ChekBox Styling and Group Check Position */
.groupmaster-check {
  position:absolute; right:7px; top:12px; z-index:1;
}
.admin-checkpageline {
  position:absolute; right:7px; top:7px; z-index:1;
}
input[type="checkbox"] {
  display: none;
}
label {
  cursor:pointer;
}
label.checkbox::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  vertical-align: top;
  border-radius: 0.3em;
  border: 2px solid #6b6275;
  background:#222222;
}
input[type="checkbox"]:checked + label.checkbox::before {
  content: '';
  background-size: 100%;
  background:#9999FF;
}
/* Input Styling Admin Menu */
.admin-checkpageline.hidden, .admin-checkpageline.disabled {
  content: '';
  width: 30px;
  height: 22px;
  display: inline-block;
  background: url("../img/eye-off.svg") center center no-repeat;
}

/* Input Styling */
:active, :hover, :focus {
  outline: 0;
  outline-offset: 0;
}

/* Top and Bottom Panell Styling */
.toppanell {
  padding:7px; background:#353b42; margin-bottom:0.5em; position:relative;
  box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.2);
  border-radius: 5px 5px 5px 5px;
}
.bottompanell {
  margin-top:1em; position:relative;
}

/*Admin Bottom Add Bottom*/
.add-button {
  display:block; padding:8px 7px 8px 7px; background-color:#222222; width:170px; 
  text-align:center; text-decoration:none; font-size:14px; color:#dadada;
  border:2px solid #6b6275;
  border-radius: 7px 7px 7px 7px;
  cursor: pointer;
  transition: background-color .25s ease-out,color .25s ease-out;
}
.add-button:hover {
  background-color:#191919;
}

/*Admin Setting Hot Content*/
.sett-grid-container {
  display: grid;
  grid-template-areas: "Sett-LeftGrid Sett-RightGrid";
  grid-column-gap: 20px;
  grid-template-columns: 1fr 1fr;
  align-items: baseline;
}
.Sett-LeftGrid { grid-area: Sett-LeftGrid; grid-row-gap: 22px; display: grid; }
.Sett-RightGrid { grid-area: Sett-RightGrid; grid-row-gap: 22px; display: grid; }

.sett-attribute {
  display: grid;
  grid-template-columns: 6em minmax(240px, 100%);
  grid-column-gap: 8px;
  grid-row-gap: 5px;
}

.settinput-text {
  color: #dadada;
  font-size: 14px;
  line-height:27px;
  text-align:right;
}


.settingx {
  width:100%; font-family: 'Open Sans', sans-serif;
}
textarea.settingx {
  font-family: 'Open Sans', sans-serif; font-size: 14px; line-height: 1.3em; 
  resize: vertical; overscroll-behavior-y: contain;
}

/*Admin Setting Hot Content - SUB*/
.settsub-grid-container {
  display: grid;
  grid-template-areas: "settsub-left-grid settsub-right-grid";
  grid-column-gap: 20px;
  align-items: baseline;
}

.settsub-left-grid { grid-area: settsub-left-grid; display: grid; grid-template-columns: 6em minmax(30px, 100%);}
.settsub-right-grid { grid-area: settsub-right-grid; display: grid; grid-template-columns: 6em minmax(30px, 100%);}

.settsub-attribute {
  grid-column-gap: 8px;
  grid-row-gap: 5px;
}

/*Блокировка URL*/
input[disabled].settingx {
	color: #607D8B;
  background-color: #2c3545;
  border: 1px solid #23282d;
}

.settingx-right {
  width:100%;
}
.settingx-right-order {
  width:100%;
}
.settingx-date {
  margin-right: 10px;
}
::-webkit-inner-spin-button {
  display: none;
}
.settingx-time {
  width:auto;
}
.page-search {
	height: 30px; width: 400px;
}
.page-search-button {
	position: absolute; top: 0; right: 0;
  cursor: pointer; border: none; outline: none;
  background: transparent;
	height: 30px; width: 42px;
}
.page-search-button:before {
	content:"";
	position: absolute; top: 7px; right: 0px;
	height: 17px; width: 42px;
	background: url("../img/icon-search.svg") no-repeat center center;
}
.settingx-right, .settingx-time, .settingx-date, .settingx-right-order, .settingx, .settingx-text, .page-search {
  background-color: #222222; border: 1px solid #424b54; border-radius: 4px; font-size: 14px; color: #dadada; padding: 0 8px; line-height: 2; min-height: 30px; box-shadow: 0 0 0 transparent;
}
.settingx-right:focus, .settingx-time:focus, .settingx-date:focus, .settingx-right-order:focus, .settingx:focus, .settingx-text:focus, .page-search:focus {
  border:1px solid #cccccc; transition: all .700s ease 0s;
}


.cm-s-dark .CodeMirror-vscrollbar::-webkit-scrollbar {width: 7px; height: 0px;}
.cm-s-dark .CodeMirror-vscrollbar::-webkit-scrollbar-button {width: 7px; height: 0px;}
.cm-s-dark .CodeMirror-vscrollbar::-webkit-scrollbar-thumb {background: #ffffff; border: 0px none #ffffff;}
.cm-s-dark .CodeMirror-vscrollbar::-webkit-scrollbar-track {background: #333333; border: 0px none #ffffff;}
.cm-s-dark .CodeMirror-vscrollbar::-webkit-scrollbar-corner {background: transparent;}

nav {
  scrollbar-width: thin;
  scrollbar-color: #e1e1e1 #ffd9f9;
}

.cm-s-dark .CodeMirror-vscrollbar {
  scrollbar-color: #ffffff #333333;
  scrollbar-width: thin;
}

.CodeMirror {
	min-height: 100%;
  max-height: 100%;
  font-family: "Source Code Pro", monospace;
  font-weight: normal;
  font-size: 0.97em;
}


.hotbott {
  margin-top:20px; display: flex; justify-content: space-between;
}
.hotbott-page-editor {
  margin-top:0px; display: flex; justify-content: space-between;
}

/*Редактирование страниы*/
.Bg-Page-Editor-Box {
  position:fixed;
  top:0em; bottom:0em; left:0em; right:0em; z-index:9;
  background: rgba(93,78,61,.1);
}

.Page-Editor-Box {
  position:fixed;
  top:2.7em; bottom:0.7em; left:0.7em; right:0.7em; z-index:10;
  background:#171717;
  border-radius: 5px;
  box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.2);
}

.page-editor-grid {
  display: grid; height:100%;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto 1fr 4em;
  grid-template-areas: "Header-Page" "Settings-Editor" "Page-Editor" "Button-Box-Page";
}

.Header-Page { grid-area: Header-Page;  padding:10px; }
.Settings-Editor { grid-area: Settings-Editor; padding:10px; position: relative;}
.Page-Editor { grid-area: Page-Editor; padding:10px; }
.Button-Box-Page { grid-area: Button-Box-Page; padding:10px; }


.coffee-editor-area {
  width: 100%;
  margin: 0;
  box-shadow: none;
  font-size: 14px;
  padding: 8px;
  line-height: 100%;
  border: 0;
  outline: 0;
  display: block;
  resize: vertical;
  box-sizing: border-box;
  height:60px;
  background:#333333;
  color:#CCCCCC;
  resize: none;
  font-family:'Open Sans', sans-serif;
}


.Header-Page h1 {
  margin:0px; padding:0px 0px 0px 0px; display:block;
  font-size:1em; color:#ffffff; font-weight:400;
}
.Header-Page h1 a {
  color:#9ec2d0; text-decoration:none;
}
.Header-Page h1 a:hover {
  color:#c4e3ef; text-decoration:none;
}





.noscroll {
    overflow: hidden;
}

.settingx-options {
  width:100%;
  padding: 0 8px;
  line-height: 2;
  min-height: 30px;
  box-shadow: 0 0 0 transparent;
  border-radius: 4px;
  border: 1px solid #7e8993;
  background-color: #222222;
  color: #dadada;
  font-size: 14px;
}



/*Обёртка кнопок в списке страниц*/
.hotsetting {
  display:none;
}
.openhot {
  display:block; min-height:4em; background:#23282d; padding:7px 10px 14px 10px;
  box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.2);
  border-radius: 5px 5px 5px 5px;
}

/*Кнопка отмены*/
a.button-close {
  font-size: 14px;
  color: rgb(255,255,255);
  text-decoration: none;
  padding: 8px 20px;
  outline: none;
  border: 1px solid rgba(126,137,147,.7);
  border-radius: 4px;
  background: rgb(35,40,45) linear-gradient(#2e343b, #23282d);
  transition: all .218s ease 0s;
  line-height: 100%;
  user-select: none;
}
a.button-close:hover {
  color: rgb(255,255,255);
  border: 1px solid rgba(126,137,147,.9);
  background: rgb(35,40,45) linear-gradient(#2e343b, #23282d);
  box-shadow: 0px 1px 2px 0px rgba(76,150,199,0.3);
}
a.button-close:active {
  color: rgb(255,255,255);
  border: 1px solid rgb(126,137,147);
  background: rgb(30,30,30);
  box-shadow: 0 1px 2px rgba(76,150,199,0.1) inset;
}

/*Кнопка удаления*/
a.button-delete {
  font-size: 14px;
  color: rgb(255,255,255);
  text-decoration: none;
  padding: 8px 20px;
  outline: none;
  border: 1px solid rgba(97, 59, 59, 0.7);
  border-radius: 4px;
  background: rgb(35,40,45) linear-gradient(#2e343b, #23282d);
  transition: all .218s ease 0s;
  line-height: 100%;
  user-select: none;
}
a.button-delete:hover {
  color: rgb(255,255,255);
  border: 1px solid rgba(126,137,147, 0.9);
  background: rgb(35,40,45) linear-gradient(#2e343b, #23282d);
  box-shadow: 0px 1px 2px 0px rgba(76,150,199,0.3);
}

    
/*Кнопка сохранения*/
.button-save {
  display: inline-block;
  font-size: 14px;
  color:#ffffff;
  text-decoration: none;
  padding: 8px 20px;
  outline: none;
  border: 1px solid rgba(126,137,147,.5);
  border-radius: 4px;
  background: rgb(59,70,93) linear-gradient(#3b465d, #2b3342);
  transition: all .218s ease 0s;
  line-height: 100%;
  user-select: none;
  cursor: pointer
}
.button-save:hover {
  border: 1px solid rgba(126,137,147,1);
  box-shadow: 0px 1px 2px 0px rgba(76,150,199,0.3);
}
.button-save:active {
  color:#ffffff;
  border: 1px solid rgb(126,137,147);
  background: rgb(0,0,0);
  box-shadow: 0 1px 2px rgba(76,150,199,0.1) inset;
}

/* Стили для выбора родительской  */
.select2-container--default .select2-selection--single {
  background-color: #222222;
  border: 1px solid #aaa;
  border-radius: 4px;
  color: #dadada; 
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  background: #222222;
  color: #dadada;
}


.select2-wrapper > span {
	width: 100% !important;
}
.select2-container--default .select2-selection--single {
  border: 1px solid #424b54;
  min-height: 30px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #dadada;
  line-height: 28px;
  font-size: 14px;
}
.select2-dropdown {
  background-color: #23282d;
}

.select2-results__option {
  color: #dadada; font-size: 14px;
}
.select2-results__option[aria-selected] {
  cursor: pointer;
  font-size: 14px;
  color: #dadada;
}
.select2-results__option:hover[aria-selected] {
  background: #1f2327;
}


/*
#1f2327 - пункт выделен
#23282d - фоновый цвет
--highlighted - добавляет скрипт и обозначает наведение мышки */
.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #23282d;
}
.select2-container--default .select2-results__option[aria-selected=true] {
  background-color: #1f2327;
}
.select2-container--default .select2-results__option--highlighted:hover[aria-selected] {
  background-color: #1f2327;
}
.select2-container--default .select2-results__option--highlighted:hover[aria-selected="true"] {
  background-color: #1f2327;
}


.select2-container--default .select2-results>.select2-results__options {
  overscroll-behavior-y: contain;
}



/* Логирование Инфо  */
.log-info-box {
  position: fixed; right: 10px; top:37px; z-index: 999;
}
.info-success {
  padding: 15px; background: rgba(194,255,151,0.77); font-size: 14px; color:#222222; margin-bottom: 10px;
  border-radius: 10px 0px 10px 10px; border: 0px solid #000000;
  box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.2);
}
.info-success a {
  color:#ffffff;
}
.info-error {
  padding: 15px; background: rgba(148,0,2,0.77); font-size: 14px; color:#ffffff; margin-bottom: 10px;
  border-radius: 10px 0px 10px 10px; border: 0px solid #000000;
  box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.2);
}
.info-error a {
  color:#ffffff;
}


/* Авторизация */

.authorization-logo {
  height: 100px; width: 100%; margin-bottom: 15px;
  background: url("../img/logo.svg") no-repeat center center;
}

.setup-auth {
  text-align: center; padding: 5px; font-size: 16px;
}

.authorization-box {
  height: auto; width: 100%; max-width: 300px; position: fixed;
  top: 30%; left: 50%; z-index: 10;
  transform: translate(-50%, -50%);
}
.authorization {
  padding: 10px 10px 10px 10px; background:#353b42;
  box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.2);
  border-radius: 4px 4px 4px 4px;
  border: 0px solid #000000;
}
.authorization-input-log {
  padding: 0px; position: relative;
}
.authorization-input-pass {
  padding: 0px; position: relative;
}
.authorization-settingx-log {
  width: 100%; background-color: #222222; border: 1px solid #7e8993; font-size: 16px; color: #dadada; padding: 0 8px; line-height: 2; min-height: 30px; 
  box-shadow: 0 0 0 transparent; border-radius: 4px 4px 0px 0px;
}
.authorization-settingx-log:focus {
  border:1px solid #cccccc; transition: all .300s ease 0s;
}

.authorization-settingx-pass {
  width: 100%; background-color: #222222; border: 1px solid #7e8993; font-size: 16px; color: #dadada; padding: 0 8px; line-height: 2; min-height: 30px; 
  box-shadow: 0 0 0 transparent; border-radius: 0px 0px 4px 4px; margin-top: -1px;
}
.authorization-settingx-pass:focus {
  border:1px solid #cccccc; border-top:1px solid #7e8993; transition: all .300s ease 0s;
}


.button-adminix-avtor {
  position: absolute; top: 0; right: 0;
  cursor: pointer;
  height: 33px; width: 37px;
}
.button-adminix-avtor:before {
  content:"";
  position: absolute; top: 4px; right: 0px;
  height: 24px; width: 38px;
  background: url("../img/icon-enter.svg") no-repeat center center;
}

/* БД */
.field {
  margin: 0 0 1em 0;
}
.field-name-bd {
  font-size:1em; margin-bottom:3px; color: cccccc;
}
.sto {
  width: 100%;
}
.db-grid {
	display: grid;
	grid-template-columns: 17em 1fr;
	grid-template-rows: 1fr auto;
	grid-column-gap: 1em;
	grid-template-areas: "dbbox dbmanual";
}

.dbbox { 
  grid-area: dbbox;
  display: inline-block; background: #23282d;
  min-width: 17em; margin: 0px; padding: 15px; vertical-align: top;
  box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.2);
  border-radius: 5px 5px 5px 5px;
}
.dbmanual { grid-area: dbmanual; }
/* БД Конец */



.subbox-grid.closed > div {
  display: none;
}

.adminmenubox a.red {
  background:#9f2624!important;
}

/* Новая вкладка */
.target-blank {
	position: relative;
}
.target-blank-position {
  position:absolute; right:5px; top:53%; z-index:1;
	transform: translate(0%, -53%);
}
/* Новая вкладка - конец. */


/* CodeMirror Перенос текста */
.CodeMirror-wrap pre.CodeMirror-line, .CodeMirror-wrap pre.CodeMirror-line-like {
  word-wrap: break-word;
  white-space: pre-wrap;
  word-break: break-all;
}
/* CodeMirror Перенос текста конец */

h1.hidden,
h1.disabled
{
  color: #777;
}
.dark .admin-pagesetting a[data-am-show][data-am-status="showed"],
.dark .admin-pagesetting a[data-am-show][data-am-status="showed"]:hover,
.dark .admin-pagesetting a[data-am-hide][data-am-status="hidden"],
.dark .admin-pagesetting a[data-am-hide][data-am-status="hidden"]:hover
{
	cursor: default;
  color: #777;
  text-decoration: none;
}
.dark .admin-pagesetting a[data-module-enable][data-module-status=enabled],
.dark .admin-pagesetting a[data-module-enable][data-module-status=enabled]:hover,
.dark .admin-pagesetting a[data-module-disable][data-module-status=disabled],
.dark .admin-pagesetting a[data-module-disable][data-module-status=disabled]:hover
{
	cursor: default;
  color: #777;
  text-decoration: none;
}

/* CodeMirror Перенос текста конец */



/*
  Name:       dark
  Author:     Mattia Astorino (http://github.com/equinusocio)
  Website:    https://dark-theme.site/
*/

.cm-s-dark.CodeMirror {
  background-color: #333;
  color: #EEFFFF;
}

.cm-s-dark .CodeMirror-gutters {
  background: #333;
  color: #546E7A;
  border: none;
}

.cm-s-dark .CodeMirror-guttermarker,
.cm-s-dark .CodeMirror-guttermarker-subtle,
.cm-s-dark .CodeMirror-linenumber {
  color: #546E7A;
}

.cm-s-dark .CodeMirror-cursor {
  border-left: 1px solid #FFCC00;
}

.cm-s-dark div.CodeMirror-selected {
  background: rgba(128, 203, 196, 0.2);
}

.cm-s-dark.CodeMirror-focused div.CodeMirror-selected {
  background: rgba(128, 203, 196, 0.2);
}

.cm-s-dark .CodeMirror-line::selection,
.cm-s-dark .CodeMirror-line>span::selection,
.cm-s-dark .CodeMirror-line>span>span::selection {
  background: rgba(128, 203, 196, 0.2);
}

.cm-s-dark .CodeMirror-line::-moz-selection,
.cm-s-dark .CodeMirror-line>span::-moz-selection,
.cm-s-dark .CodeMirror-line>span>span::-moz-selection {
  background: rgba(128, 203, 196, 0.2);
}

.cm-s-dark .CodeMirror-activeline-background {
  background: rgba(0, 0, 0, 0.5);
}

.cm-s-dark .cm-keyword {
  color: #C792EA;
}

.cm-s-dark .cm-operator {
  color: #89DDFF;
}

.cm-s-dark .cm-variable-2 {
  color: #EEFFFF;
}

.cm-s-dark .cm-variable-3,
.cm-s-dark .cm-type {
  color: #f07178;
}

.cm-s-dark .cm-builtin {
  color: #FFCB6B;
}

.cm-s-dark .cm-atom {
  color: #F78C6C;
}

.cm-s-dark .cm-number {
  color: #FF5370;
}

.cm-s-dark .cm-def {
  color: #82AAFF;
}

.cm-s-dark .cm-string {
  color: #C3E88D;
}

.cm-s-dark .cm-string-2 {
  color: #f07178;
}

.cm-s-dark .cm-comment {
  color: #546E7A;
}

.cm-s-dark .cm-variable {
  color: #f07178;
}

.cm-s-dark .cm-tag {
  color: #FF5370;
}

.cm-s-dark .cm-meta {
  color: #FFCB6B;
}

.cm-s-dark .cm-attribute {
  color: #C792EA;
}

.cm-s-dark .cm-property {
  color: #C792EA;
}

.cm-s-dark .cm-qualifier {
  color: #DECB6B;
}

.cm-s-dark .cm-variable-3,
.cm-s-dark .cm-type {
  color: #DECB6B;
}


.cm-s-dark .cm-error {
  color: rgba(255, 255, 255, 1.0);
  background-color: #FF5370;
}

.cm-s-dark .CodeMirror-matchingbracket {
  text-decoration: underline;
  color: white !important;
}


/* XML Module */

.xml-wrapper-grid {
	display: grid;
	grid-template-rows: auto auto auto;
	grid-template-columns: 1fr 1fr;
	grid-template-areas: "xml-wrapper-hidden xml-wrapper-link" "xml-static-dynamic xml-static-cron";
	grid-gap: 15px;
	overscroll-behavior-y: contain;
}
.xml-wrapper-hidden { grid-area: xml-wrapper-hidden; }
.xml-wrapper-link { grid-area: xml-wrapper-link; }
.xml-static-dynamic { grid-area: xml-static-dynamic; }
.xml-static-cron { grid-area: xml-static-cron; }

.xml-wrapper-hidden, .xml-wrapper-link, .xml-static-dynamic, .xml-static-cron {
  box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.2);
  border-radius: 5px 5px 5px 5px;
  background:#23282d; padding: 15px;
}
.xml-wrapper-grid h1 {
	margin: 0px 0px 12px 0px;
  padding: 0px 0px 0px 0px;
  display: block;
  font-size: 1em;
  color: #ffffff;
  font-weight: 400;
}

.style-textarea-xml {
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
	line-height: 1.3;
	resize: vertical;
	overscroll-behavior-y: contain;
	
	width: 100%;
	background: #222222;
  border: 1px solid #424b54;
  border-radius: 4px;
  font-size: 1em;
  color: #dadada;
  padding: 0 8px;
  min-height: 30px;
  box-shadow: 0 0 0 transparent;
}
.xml-static-dynamic p {
	color:#ffffff; font-size:14px; font-weight:400; margin: 0px 0px 12px 0px;
}
.checkbox, .radio {
  cursor: pointer;
  position: relative;
	color:#59b8e9;
}
.info {
	box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.2);
	border-radius: 5px 5px 5px 5px;
	padding: 15px; background: #424242; margin-bottom: 15px;
}
.info:last-child {
	margin-bottom: 0px;
}
.info h1 {
	margin: 0px 0px 12px 0px;
  padding: 0px 0px 0px 0px;
  display: block;
  font-size: 1.09em;
  color: #ffffff;
  font-weight: 400;
}
.info p {
	margin: 0px 0px 12px 0px;
  padding: 0px 0px 0px 0px;
  display:block;
  font-size: 0.93em;
  color:#e7e7e7;
  font-weight: 400;
}
.info p a {
  color:#a8d5ff;
}
.info p a:hover {
  color:#8bc7ff;
}
.cron {
  width: 70px; text-align: center;
  border-radius: 4px;
  padding: 0 8px;
  line-height: 2;
  min-height: 30px;
  background-color: #222222;
  border: 1px solid #424b54;
}
.xml-static-cron p {
	color: #dadada; font-size:14px; font-weight:400; margin: 0px 0px 12px 0px;
}





/* Template Module */
.db-grid h1 {
  margin: 0px 0px 12px 0px;
  padding: 0px 0px 0px 0px;
  display: block;
  font-size: 1em;
  color: #ffffff;
  font-weight: 400;
}

/* Custom Code Module Style */
.customcode { 
  background:#23282d;
  min-width: 17em; margin: 0px; padding: 15px; vertical-align: top;
  box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.2);
  border-radius: 5px 5px 5px 5px;
}
.customcode h1 {
  margin: 0px 0px 12px 0px;
  padding: 0px 0px 0px 0px;
  display: block;
  font-size: 1em;
  color: #ffffff;
  font-weight: 400;
}

.style-textarea-customcode {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  line-height: 1.3;
  resize: vertical;
  overscroll-behavior-y: contain;
  width: 100%;
  background: #222222;
  border: 1px solid #424b54;
  border-radius: 4px;
  font-size: 1em;
  color: #dadada;
  padding: 0 8px;
  min-height: 30px;
  box-shadow: 0 0 0 transparent;
}


/* Rado Input */

.custom-control-input {
  position: absolute;
  display: none;
}
.radio-design {
  position: absolute;
  width: 1.3em;
  height: 1.3em;
  border: 5px solid #777777;
  background:#333333;
  border-radius: 50%;
  margin-left: -1.3em;
  left: 18px;
  top: 1px;
}

.radio {
  padding-left: 1.7em;
}

/* Rado Dinanic */

.custom-control-input:checked + .radio-design {
  background:#7bff00;
  border: 5px solid #777777;
}

.custom-control-input:focus + .radio-design {
  transition: all .30s ease 0s;
  box-shadow: 0 0 0 0.2em #48ff00c5;
}





/* Gallery Page */
.files-options-container {
	display: grid;
	grid-template-rows: auto auto;
	grid-template-columns: 1fr;
  grid-row-gap: 5px;
	grid-template-areas:
		"files-container"
    "options-files-container";
}
.files-container {
  grid-area: files-container; overflow-x: auto; overflow-y: hidden;
  padding-bottom:4px;
}
.options-files-container {
  grid-area: options-files-container;
}

.files-container-grid {
	display: grid;
	grid-column-gap: 5px;
	grid-auto-columns: 130px;
  grid-auto-flow: column;
}
.filesblocks {
	height: 130px; background: #111111; box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.3);
	border: 2px solid #304046; border-radius: 5px; position: relative;
}
	
.filesblocks:hover {
	border: 2px solid #009db1;
}
.filesblocks.active-file {
  border: 2px solid #09ccd3;
  transition: all .30s ease 0s;
}

.filesblocks img {
	object-fit: contain; width: 100%; height: 100%; border-radius: 4px; display: block;
}

.options-container {
	display: grid;
	grid-template-rows: auto;
	grid-template-columns: auto auto 1fr auto;
	grid-column-gap:15px;
	grid-template-areas: "close-files add-files link-file group-options-files";
}

.close-files {
  grid-area: close-files;
  border: 1px solid #424b54;
  background: #404a56;
  border-radius: 3px;
  line-height: 38px;
  padding-left: 12px;
  padding-right: 12px;
  cursor: pointer;
  color: white;
  font-size: 16px;
  box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.3);
}
.close-files:hover {
  background: #4e5f74;
}

.add-files {
  grid-area: add-files;
}
.link-file {
  grid-area: link-file;
  line-height: 38px;
  padding-left: 10px;
  padding-right: 10px;
  border: 1px solid #424b54;
  background: #171717;
  border-radius: 5px;
  color:#ffffff;
  font-size: 16px;
  box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.3);
  word-break: break-all;
}
.link-file a {
  color: #00E3FF;
}

.group-options-files {
  grid-area: group-options-files;
  line-height: 38px;
  padding-left: 10px;
  padding-right: 10px;
  border: 1px solid #6b2929;
  background: #540b0b;
  border-radius: 5px;
  color: #eaeaea;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.3);
}
.group-options-files:hover {
  background: #8c2222;
  border: 1px solid #eaeaea;
}

.group-options-files.disabled {
  border: 1px solid #424b54;
  background: #171717;
  color: #424b54;
  cursor: context-menu;
}


.inputfile {
	width: 0.1px;
	height: 0.1px;
	opacity: 0;
	overflow: hidden;
	position: absolute;
  z-index: -1;
}
.inputfile + label {
  font-size: 1.25em;
  color: white;
  background-color:#009db1;
  display: block;
  padding: 0.3em 0.7em 0.4em 0.7em;
  white-space: nowrap;
  cursor: pointer;
  border-radius: 5px;
  box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.3);
}
.inputfile:focus + label, .inputfile + label:hover {
  background-color:#349000;
}



/* Check Files */

.filesblocks label.check {
  position:absolute; right:3px; top:5px; z-index:1;
	padding:0; width: 20px; height: 20px; cursor:pointer;
}
.check {
	padding:0;
}
.option {
  display: block;
  margin:0;
}
.check__input {
  position: absolute;
  appearance: none;
}

.check__box {
  position: absolute;
  margin:0;
  width: 1.1em;
  height: 1.1em;
  overflow: hidden;
  border-radius: 0.05em;
  background-color: #171717;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  box-shadow: 0 0 0 0.1em #4A90E2;
  z-index: 777;
  display: none;
}
.filesblocks:hover .check__box {
  display: block;
}

.check__input:checked + .check__box {
  background-color: #4A90E2;
  background-image: url(/img/check.svg);
  display: block;
}

/* Focused */

.check__input:focus + .check__box {
	box-shadow:
		0 0 0 0.1em #4A90E2,
		0 0 0 0.2em #7ED321;
}



/* Progress Bar */
.progress {
  height: auto;
  width: 100%;
  position: absolute;
  top: 2px;
  left: 0px;
}
.bar {
  width: 0%;
  height: 3px;
  background: tomato;
}

/* Light Box */
#lbox-window {
  position: fixed;
  padding: 2em;
  z-index: 999;
  cursor: pointer;
  background-color:#000000dd;
  display: grid;
  height: 100vh;
  width: 100vw;
  grid-template-areas: "lightbox";
}
#lbox-window img {
  max-width: 100%;
  max-height: 100%;
  box-shadow: 0px 3px 7px 0px rgba(0,0,0,0.3);
  grid-area: lightbox;
  align-self: center;
  justify-self: center;
  overflow: hidden;
}

#lbox-window audio, #lbox-window video {
  margin: auto;
}
#lbox-window audio {
  width: 80%;
  height: 54px;
}

/* ... */
.files-container .ext {
  position: absolute; z-index: 12;  bottom: 3px; left: 3px;
  font-size: 14px; color: white; 
  padding: 1px 5px 1px 3px;
  border-radius: 3px; background: #47ccff54;
  cursor: default;
}


/* Hidden */
.hidden {
  display: none;
}



.bdf {
  border: 0;
}

/* Logins Table */
.grid-table {
	display: grid; grid-gap: 5px;
}
.grid-table > div {
	display: grid;
  grid-auto-flow: column;
  grid-column-gap: 3px;
  grid-template-columns: 2rem 10rem 8rem auto;
  background: #282c2f;
  padding: 5px;
  border-radius: 3px;
}
[data-settings="login"] .grid-table .current {
  color: #78ca78;
}
[data-settings="login"] .del {
  width: 1.7rem;
  height: 1.7rem;
	text-align: center;
	background-color: #42444a;
	cursor: pointer;
	border-radius: 50%;
	box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.2);
}
[data-settings="login"] .del:hover {
	background-color: #ab2727;
}

.grid-table > div > div {
  padding: 2px; font-size: 14px; align-self: center;
}