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;
}

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);
}

/*Admin Exit*/
header a {
   float:right; 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 a {
  float:right; 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:#ffffff; font-weight:400;
}
.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:#ffffff; font-weight:400;
}
.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;
}
.cpline:hover .admin-pagesetting {
    display:block;
}
.a-red a {
    color:tomato;
}
.a-red a:hover {
    color:#FF0000;
}

/* 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;
    -webkit-appearance: none;
    -webkit-transition: background-color .25s ease-out,color .25s ease-out;
    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: 4em 3em 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;}
.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;
}




.hidden {
    display: 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;
  -ms-user-select: none; 
  -moz-user-select: none; 
  -webkit-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;
  -ms-user-select: none; 
  -moz-user-select: none; 
  -webkit-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;
  -ms-user-select: none; 
  -moz-user-select: none; 
  -webkit-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;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  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; border: none; outline: none;
  background: transparent;
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;
	-webkit-transform: translate(0%, -53%);
	-moz-transform: translate(0%, -53%);
	-ms-transform: translate(0%, -53%);
	-o-transform: translate(0%, -53%);
	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;
}
.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;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: 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;
}
