html {
    height: 100vh;
    overflow: hidden;
    touch-action: manipulation;
}
body {
    height: 100%;
    margin: 0px; 
    background:#222222;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem; 
    font-weight: 400; 
    color: #CCCCCC; 
    text-align: left;
}
*,
*::before,
*::after {
    box-sizing: border-box;
}
:active, :hover, :focus {
    outline: 0;
    outline-offset: 0;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary { 
    box-sizing: border-box;
}
:root {
    scroll-behavior:smooth;
}

/* Admin Panel */
/* 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');
}

/* CodeMirror Panel */
/* 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;
    grid-template-rows: 1.9rem 1fr;
    grid-template-areas: 
        "header" 
        "main";
}
@media (min-width: 1024px) {
  body {
      grid-template-columns: 14rem 1fr;
      grid-template-areas:
        "header header"
        "aside main"
        "aside main";
  }
}

header {
    display: grid;
    grid-template-columns: 0 1fr;
    grid-template-areas: "contlogo contmenu";
    width: 100%;
    height: 1.9rem;
    background: #191919;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 777;
}
@media (min-width: 1024px) {
    header {
        grid-template-columns: 14rem 1fr;
        grid-template-areas: "contlogo contmenu";
    }
}



/* Logo */
.contlogo {
    display: flex;
    grid-area: contlogo;
    height: 1.9rem;
    justify-content: center;
    align-items: center;
    grid-column-start: none;
}
@media (min-width: 1024px) {
  .contlogo {
      background: none;
      background: #111111;
      grid-column-start: auto;
  }  
}
.contlogo-group {
    display: flex;
    height: 1.9rem;
    justify-content: center;
    align-items: center;
    grid-column-start: none;
    width: 10rem;
    z-index: 777;
}

.logo {
    width: 1.5rem;
    height: 1.5rem;
}
.brand {
    display: none;
    padding: 0 0.5rem 0 0.5rem;
}
@media (min-width: 321px) {
  .brand {
      display: block;
  }
}

/* Top Admin Menu */
.contmenu {
    grid-area: contmenu;
    height: 1.9rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
}
.contmenu-group {
    display: none;
}
.contmenu-group a {
    line-height: 1.9;
    padding: 0 0.7rem 0 0.7rem;
    font-size: 1rem;
    color: #a7a7a7;
    font-weight: 400;
    text-decoration: none;
}
.contmenu-group a:hover {
    background:#333333;
}

.contmenu-group.open {
    display: grid;
    gap: 0.3rem;
    position: absolute;
    background: #191919;
    padding: 33px 0 0 0;
    top: 0.3rem;
    right: 0.8rem;
    box-shadow: 0px 0px 3px 3px rgba(0,0,0,0.37);
    z-index: 7;
}

@media (min-width: 1024px) {
  .contmenu-group {
      display: flex;
  }
}

/* Top Admin MobiMenu */
.mobicontmenu {
    width: 100%;
    height: 1.9rem;
    display: flex;
    position: relative;
    padding: 0 0.7rem;
    justify-content: space-between;
}
@media (min-width: 1024px) {
  .mobicontmenu {
      display: none;
  }
}

.services-button {
    width: 3rem;
    height: 1.9rem;
    z-index: 999;
    cursor: pointer;
}

/* Block Scroll */
.mobile-menu-open {
    overflow-y: hidden;
}


/* Mobile Menu Bottom */
.button-mobimenu-container {
    position:relative;
    width: 1.9rem;
    height: 1.9rem;
    cursor: pointer;
}


.menu-icon {
    width: 1.7rem;
    height: 12px;
    position: absolute;
    left: 50%;
    top: 50%;
    z-index:7;
    transform: translate(-50%, -50%);
}

.menu-icon span {
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    transform: rotate(0);
    transition: transform 0.1s ease;
}
.menu-icon span {
    background:#1a73e8;
}
.menu-icon span.line-1 {
	  top: 0;
}
.menu-icon span.line-2 {
	  bottom: 0;
}

.menu-open .menu-icon span.line-1 {
    top: 5px;
    transform: rotate(45deg);
}
.menu-open .menu-icon span.line-2 {
    top: 5px;
    transform: rotate(-45deg);
}

/*Mobile Menu Reset*/
.bg-reset {
    display:none;
    width: 100%;
    height: 100%;
    visibility: visible;
    position:fixed;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    z-index: 700;
    opacity: 0.7;
    background:#28292d;
}
.bg-reset.openpanel {
    display:block;
}


aside {
    width: 14rem;
    min-height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 770;
    transform: translate3d(-270px, 0, 0);
    transition: opacity 0.25s ease, transform 0.25s ease;
    background: #191919;
}
aside.openpanel {
    transform: translate3d(0, 0, 0);
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 770;
}
@media (min-width: 1024px) {
  aside {
      display: block;
      background: none;
      transform: translate3d(0, 0, 0);
      transition: opacity 0s ease, transform 0s ease;
      z-index: 1;
  }
}

main {
    grid-area: main;
    overflow: hidden; /* For Retro Module - Mobile Version Module Page Scroll Chrome */
}
.module-settings {
    display: grid;
    height: 100%;
    grid-template-rows: auto 1fr auto;
    grid-template-areas:
        "main-header"
        "main-main"
        "main-footer";
    position: relative;
    background:#333333;
    overflow-y: auto; /* For Retro Module */
}
.main-header {
    grid-area: main-header;
}
.main-main {
    grid-area: main-main;
    overflow-y: auto;
    padding: 0.4rem;
}
@media (min-width: 1024px) {
    .main-main {
        padding: 1rem;
    }
}
.main-footer {
    grid-area: main-footer;
}



/* Admin Menu */
.height-corrector {
    padding-top: 2rem;
    padding-bottom: 2rem;
}
.adminmenuwrap {
    position:absolute;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom:0px;
    overflow-y: auto;
    -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 10px 0px;
}
.adminmenubox:not(:last-child) {
    border-bottom:1px solid #333333;
}
.adminmenubox h1 {
    margin:0px;
    padding:5px 5px 5px 20px;
    display:block;
    font-size:0.87rem;
    color:#777777;
    font-weight:400;
}
.adminmenubox a {
    padding:5px 5px 5px 36px;
    text-decoration:none;
    display:block; 
    font-size:0.87rem;
    color:#E7E7E7;
    font-weight:400;
}
.adminmenubox a:hover {
    background:#333333;
}
.active {
    background:#333333;
}

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

.subbox-grid {
    display: 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:4rem;
}
.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 Container */
.style-menu {
    display: grid;
    grid-template-areas:
        "menu-name menu-mobile"
        "menu-button menu-mobile";
    grid-template-columns: 1fr 3rem;
    grid-template-rows: 1fr 1.9rem;
    column-gap: 0.3rem;
    background:#1C1C1C;
}
@media (min-width: 1024px) {
  .style-menu {
    grid-template-columns: 1fr 0;
  }
}
.style-menu:hover {
    background:#191919;
}

.menu-name {
    grid-area: menu-name;
    padding: 0.4rem 0.3rem 0.4rem 0.7rem;
}
.menu-mobile {
    grid-area: menu-mobile;
    display: block;
    background: url(../img/settings.svg) center center no-repeat;
    cursor: pointer;
}
@media (min-width: 1024px) {
  .menu-mobile {
    display: none;
  }
}
.menu-button {
    grid-area: menu-button;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 3;
    display: none;
}
.menu-button.open {
    display: grid;
    background:#222324;
}
@media (min-width: 1024px) {
    .menu-button {
        display: flex;
        justify-content: left;
        align-items: flex-start;
        padding: 0 0 0 0.7rem;
        background: none;
        position: unset;
    }
}

/* + Elements Menu Group */
.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 {
    display: grid;
    grid-template-areas:
        "item-name item-mobile"
        "item-button item-mobile";
    grid-template-columns: 1fr 3rem;
    grid-template-rows: 1fr 1.9rem;
    column-gap: 0.3rem;
    background:#222222;
}
@media (min-width: 1024px) {
  .style-menu-item {
    grid-template-columns: 1fr 0;
  }
}
.style-menu-item:hover {
    background:#191919;
}

.item-name {
    grid-area: item-name;
    padding: 0.4rem 0.3rem 0.4rem 0.7rem;
}
.item-mobile {
    grid-area: item-mobile;
    display: block;
    background: url(../img/settings.svg) center center no-repeat;
    cursor: pointer;
}
@media (min-width: 1024px) {
  .menu-item-mobile {
    display: none;
  }
}

.item-button {
    grid-area: item-button;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 3;
    display: none;
}
.item-button.open {
    display: grid;
    background:#222324
}
@media (min-width: 1024px) {
    .item-button {
        display: flex;
        justify-content: left;
        align-items: flex-start;
        padding: 0 0 0 0.7rem;
        background: none;
        position: unset;
    }
}

/* + Elements Menu Items */
.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 {
    display: grid;
    grid-template-areas:
        "page-name page-data page-mobile page-check"
        "page-buttons page-data page-mobile page-check";
    grid-template-columns: 1fr 0 3rem 0rem;
    grid-template-rows: 1fr 1.9rem;
    column-gap: 0.3rem;
    background:#222222;
}
@media (min-width: 1024px) {
  .style-page {
    grid-template-columns: 1fr 8rem 0 3rem;
  }
}
.style-page:hover {
    background:#191919;
}

.page-name {
    grid-area: page-name;
    padding: 0.4rem 0.3rem 0.4rem 0.7rem;
}
.page-data {
    grid-area: page-data;
    display: flex;
    justify-content: center;
    align-items: center;
}
.page-check {
    grid-area: page-check;
}
.page-mobile {
    grid-area: page-mobile;
    display: block;
    background: url("../img/settings.svg") center center no-repeat;
    cursor: pointer;
}
@media (min-width: 1024px) {
  .page-mobile {
      display: none;
  }
}
.page-buttons {
    grid-area: page-buttons;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 3;
    display: none;
}
.page-buttons.open {
    display: grid;
    background:#222324;
}

@media (min-width: 1024px) {
    .page-buttons {
        display: flex;
        justify-content: left;
        align-items: flex-start;
        padding: 0 0 0 0.7rem;
        background: none;
        position: unset;
    }
}

/* + Elements Style Pages */
.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 {
    display: grid;
    grid-template-areas:
        "admincont-menu-name admincont-menu-mobile admincont-menu-check"
        "admincont-menu-button admincont-menu-mobile admincont-menu-check";
    grid-template-columns: 1fr 3rem 2rem;
    grid-template-rows: 1fr 1.9rem;
    column-gap: 0.3rem;
    background:#171717;
}
@media (min-width: 1024px) {
  .style-admin-container {
    grid-template-columns: 1fr 0 2rem;
  }
}
.admincont-menu-name {
    grid-area: admincont-menu-name;
    padding: 0.4rem 0.3rem 0.4rem 0.7rem;
}
.admincont-menu-mobile {
    grid-area: admincont-menu-mobile;
    display: block;
    background: url(../img/settings.svg) center center no-repeat;
    cursor: pointer;
}
@media (min-width: 1024px) {
  .admincont-menu-mobile {
      display: none;
  }
}
.admincont-menu-check {
    grid-area: admincont-menu-check;
}
.admincont-menu-button {
    grid-area: admincont-menu-button;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 3;
    display: none;
}
.admincont-menu-button.open {
    display: grid;
    background:#222324;
}
@media (min-width: 1024px) {
    .admincont-menu-button {
        display: flex;
        justify-content: left;
        align-items: flex-start;
        padding: 0 0 0 0.7rem;
        background: none;
        position: unset;
    }
}

.style-admin-container:hover {
    background:#191919;
}

/* + Elements Admin Menu */
.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 {
    display: grid;
    grid-template-areas:
        "admin-menu-name admin-menu-mobile admin-menu-check"
        "admin-menu-button admin-menu-mobile admin-menu-check";
    grid-template-columns: 1fr 3rem 2rem;
    grid-template-rows: 1fr 1.9rem;
    column-gap: 0.3rem;
    background:#222222;
}
@media (min-width: 1024px) {
  .style-admin-menu {
    grid-template-columns: 1fr 0 2rem;
  }
}
.admin-menu-name {
    grid-area: admin-menu-name;
    padding: 0.4rem 0.3rem 0.4rem 0.7rem;
}
.admin-menu-check {
    grid-area: admin-menu-check;
}
.admin-menu-mobile {
    grid-area: admin-menu-mobile;
    display: block;
    background: url("../img/settings.svg") center center no-repeat;
    cursor: pointer;
}
@media (min-width: 1024px) {
  .admincont-menu-mobile {
      display: none;
  }
}
.admin-menu-button {
    grid-area: admin-menu-button;
    display: flex;
    justify-content: left;
    align-items: flex-start;
    padding: 0 0 0 0.7rem;
}

.admin-menu-button {
    grid-area: admin-menu-button;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 3;
    display: none;
}
.admin-menu-button.open {
    display: grid;
    background:#222324;
}
@media (min-width: 1024px) {
    .admin-menu-button {
        display: flex;
        justify-content: left;
        align-items: flex-start;
        padding: 0 0 0 0.7rem;
        background: none;
        position: unset;
    }
}

.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 Module */
.style-module {
    display: grid;
    grid-template-areas:
        "module-name module-mobile module-status"
        "module-groupval module-mobile module-status"
        "module-buttons module-mobile module-status";
    grid-template-columns: 1fr 3rem 2rem;
    grid-template-rows: 1fr auto 0;
    column-gap: 0.3rem;
    background:#222222;
}
@media (min-width: 1024px) {
  .style-module {
    grid-template-areas:
        "module-name module-groupval module-mobile module-status"
        "module-buttons module-groupval module-mobile module-status";
    grid-template-columns: 1fr 0.5fr 0 2rem;
    grid-template-rows: 1fr 1.9rem;
  }
}
.style-module:hover {
    background:#191919;
}

.module-name {
    grid-area: module-name;
    padding: 0.4rem 0.3rem 0.4rem 0.7rem;
}
.module-groupval {
    grid-area: module-groupval;
    display: flex; 
    align-items: center;
}
.module-mobile {
    grid-area: module-mobile;
    display: block;
    background: url("../img/settings.svg") center center no-repeat;
    cursor: pointer;
}
.module-status {
    grid-area: module-status;
}

@media (min-width: 1024px) {
  .module-mobile {
      display: none;
  }
}
.module-buttons {
    grid-area: module-buttons;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 3;
    display: none;
}
.module-buttons.open {
    display: grid;
    background:#222324;
}
@media (min-width: 1024px) {
    .module-buttons {
        display: flex;
        justify-content: left;
        align-items: flex-start;
        padding: 0 0 0 0.7rem;
        background: none;
        position: unset;
    }
}

/* + Elements Style Module */

.style-module h1 {
    margin: 0;
    padding: 0;
    display:block;
    font-size:0.97rem;
    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 */
.module-descr {
    margin: 0;
    padding: 0;
    font-size: 0.87rem;
    color: #a1a1a1;
}

.module-val {
    display: inline-grid;
    gap: 3px;
    font-size: 0.83em;
    color: #a1a1a1;
    padding: 5px 7px;
    margin: 0;
}

@media (min-width: 1024px) {
    .module-val {
        padding: 5px 0;
        margin: 0;
    }
}
.module-version, .module-author, .module-site {
    padding: 1px 5px 1px 5px;
    border-radius: 5px 5px 5px 5px;
}
a.module-link {
    color:#8abdd0;
    text-decoration: none;
}
a.module-link:hover {
    color:#95cee2;
}

.module-name-mobile {
    display: grid;
    grid-template-columns: 1fr 3rem;
    grid-template-areas: "title close";
    gap:1rem;
    border-radius: 5px;
    background:#0f0f0f;
    font-size: 1rem;
    color: #ffffff;
}
.title {
    grid-area: title;
    padding: 10px;
}
.close {
    grid-area: close;
    padding: 10px;
    cursor: pointer;
    background: url("../img/close.svg") center center no-repeat;
}
@media (min-width: 1024px) {
    .page-name-mobile {
        display: none;
    }
}


/*-----------------------------------------------*/
/* End */


/* Page Setting */
.admin-pagesetting {
    display: grid;
    position: absolute; 
    left:10px;
    right: 10px;
    top: 37px;
    font-size:1rem;
    color:#777777;
    z-index: 1;
    row-gap: 5px;
}
.admin-pagesetting a {
    display: flex;
    padding: 10px 10px 10px 10px;
    text-decoration:none;
    line-height: 2rem;
    display: block;
    background: #1c1c1c;
    border-radius: 5px;
}
.a-red a {
    color:tomato;
}
.a-red a:hover {
    color:#FF0000;
}


@media (min-width: 1024px) {
    .admin-pagesetting {
        position:absolute; 
        left:10px; 
        bottom:7px;
        top: unset;
        right: unset;
        font-size:0.84rem;
        color:#777777;
        display:none;
        background: none;
        padding: 0;
    }
    .admin-pagesetting a {
        color:#8abdd0; 
        display:inline-block; 
        background: #2e3137;
        padding-left: 5px;
        padding-right: 5px;
        border-radius: 3px;
        margin-right: 5px;
        line-height: 0;
    }
    .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;
    }
}

.page-name-mobile {
    display: grid;
    grid-template-columns: 1fr 3rem;
    grid-template-areas: "title close";
    gap:1rem;
    border-radius: 5px;
    background:#0f1010;
    font-size: 1rem;
    color: #ffffff;
}
.title {
    grid-area: title;
    padding: 10px;
}
.close {
    grid-area: close;
    padding: 10px;
    cursor: pointer;
    background: url("../img/close.svg") center center no-repeat;
}
@media (min-width: 1024px) {
    .page-name-mobile {
        display: none;
    }
}

/* Grid Button */

.grid-buttons {
    display: grid;
    grid-auto-flow: column;
    gap: 5px;
    justify-content: start;
}
.grid-button.media {
    padding: 7px 9px 7px 9px;
    border-radius: 5px;
    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 {
    display: none;
}
@media (min-width: 1024px) {
  .admin-datapublicline {
      font-size:0.8rem;
      color:#a7a7a7;
      display: block;
  }
}
.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;
}

/* Top and Bottom Panell Styling */
.toppanell {
    display: grid;
    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";
    gap: 20px;
    grid-template-columns: 1fr;
    align-items: start;
}
.Sett-LeftGrid { grid-area: Sett-LeftGrid; row-gap: 22px; display: grid; }
.Sett-RightGrid { grid-area: Sett-RightGrid; row-gap: 22px; display: grid; }

@media (min-width: 1024px) {
  .sett-grid-container {
      grid-template-areas: "Sett-LeftGrid Sett-RightGrid";
      grid-template-columns: 1fr 1fr;
  }
}

.sett-attribute {
    display: grid;
    grid-template-columns: 1fr;
    column-gap: 8px;
}
.settinput-text {
    color: #dadada;
    font-size: 14px;
    line-height:27px;
    text-align: left;
}

@media (min-width: 769px) {
    .sett-attribute {
        grid-template-columns: 6em minmax(240px, 100%);
    }
    .settinput-text {
        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;
}

/* Admin Setting Hot Content - SUB */
.settsub-grid-container {
    display: grid;
    grid-template-areas: 
      "settsub-left-grid"
      "settsub-right-grid";
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: baseline;
}
@media (min-width: 1024px) {
  .settsub-grid-container {
      grid-template-areas: 
        "settsub-left-grid settsub-right-grid";
      grid-template-columns: 1fr 1fr;
  }
}

.settsub-left-grid { 
    grid-area: settsub-left-grid;
    display: grid;
    grid-template-columns: 1fr;
}
.settsub-right-grid {
    grid-area: settsub-right-grid;
    display: grid;
    grid-template-columns: 1fr;
}
@media (min-width: 769px) {
  .settsub-left-grid { 
      grid-template-columns: 6em minmax(30px, 100%);
  }
  .settsub-right-grid {
      grid-template-columns: 6em minmax(30px, 100%);
  }
}

.settsub-attribute {
    column-gap: 8px;
    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;
}
.search-wrapper {
    position: relative;
    max-width: 400px;
}
.page-search {
    height: 30px;
    width: 100%;
}
.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%;
    height: 100px;
    font-family: "Source Code Pro", monospace;
    font-weight: normal;
    font-size: 0.97em;
}


.hotbott {
    margin-top:20px;
    margin-bottom: 40px;
    display: flex; 
    justify-content: space-between;
}
/* Совместимость с FireFox */
@media (min-width: 1024px) {
    .hotbott {
        margin-bottom: 0;
    }
}
.hotbott-page-editor {
    width: 100%;
    margin-top:0px;
    display: flex;
    justify-content: space-between;
}

/* Редактирование страниы */
.Bg-Page-Editor-Box {
    position:fixed;
    top: 0rem;
    bottom: 0em;
    left: 0rem;
    right: 0rem;
    z-index: 9;
    background:#2e2e2e;
}

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

.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;
    display: grid;
    grid-template-columns: 1fr max-content;
    gap: 1rem;
}
.Settings-Editor {
    grid-area: Settings-Editor;
    padding:10px;
    position: relative;
}
.Page-Editor {
    grid-area: Page-Editor;
    padding:10px 0 0 0;
}
@media (min-width: 1024px) {
    .Page-Editor {
        padding:10px 1px 1px 1px;
    }
}
.Button-Box-Page {
    grid-area: Button-Box-Page;
    display: flex;
    align-items: center;
    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;
}






.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: 22px 10px 0 10px;
    position: fixed;
    z-index: 7;
    left: 0;
    right: 0;
    top: 30px;
    bottom: 0;
    overflow-y: auto;
}
.noscroll-mobile {
    overflow-y: hidden;
}
@media (min-width: 1024px) {
    .openhot {
        display:block;
        min-height:4em;
        background:#23282d;
        padding: 7px 10px 14px 10px;
        padding:7px 10px 14px 10px;
        box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.2);
        border-radius: 5px 5px 5px 5px;
        position: inherit;
        left: unset;
        right: unset;
        top: unset;
        bottom: unset;
    }
}

/* Кнопка отмены */
a.button-close {
    font-size: 11px;
    color: rgb(255,255,255);
    text-decoration: none;
    padding: 8px 10px;
    outline: none;
    border: 1px solid rgba(126,137,147,.7);
    border-radius: 5px;
    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: 11px;
    color: rgb(255,255,255);
    text-decoration: none;
    padding: 8px 10px;
    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: 11px;
    color:#ffffff;
    text-decoration: none;
    padding: 8px 10px;
    outline: none;
    border: 1px solid rgba(126,137,147,.5);
    border-radius: 5px;
    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;
}

@media (min-width: 361px) {
    a.button-close {
        font-size: 14px;
    }
    .button-save {
        font-size: 14px;
    }
    a.button-delete {
        font-size: 14px;
    }
}

@media (min-width: 786px) {
    a.button-close {
        padding: 8px 20px;
    }
    .button-save {
        padding: 8px 20px;
    }
    a.button-delete {
        padding: 8px 20px;
    }
}

/* Стили для выбора родительской  */
.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;
}



/* Log Info  */
.log-info-box {
    position: fixed;
    left: 10px;
    top:37px;
    right: unset;
    z-index: 77;
}
@media (min-width: 1024px) {
  .log-info-box {
      width: auto;
      right: 10px;
      left: unset;
  }
}

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


/* Авторизация */
.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;
    position: relative;
}
.authorization-settingx-log:focus {
    border:1px solid #cccccc;
    transition: all .300s ease 0s;
    z-index: 1;
}

.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;
    position: relative;
}
.authorization-settingx-pass:focus {
    border:1px solid #cccccc;
    transition: all .300s ease 0s;
    z-index: 1;
}


.button-adminix-avtor {
    position: absolute; 
    top: 0; 
    right: 0;
    cursor: pointer;
    height: 33px; 
    width: 37px;
    z-index: 7;
}

.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; position: relative;
}
.field-name-bd {
    font-size:0.7rem;
    margin-bottom:3px;
    color: #cccccc;
}
@media (min-width: 376px) {
    .field-name-bd {
        font-size:1rem;
    }
}
.sto {
    width: 100%;
}
.db-grid {
    display: grid;
    grid-template-areas: 
        "dbbox"
        "dbmanual";
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    gap: 1rem;
}
@media (min-width: 1024px) {
    .db-grid {
      grid-template-areas: "dbbox dbmanual";
      grid-template-columns: 17rem 1fr;
      grid-template-rows: auto;
    }
}

.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-columns: 1fr;
    grid-template-areas: "xml-wrapper-hidden" "xml-wrapper-link" "xml-static-dynamic" "xml-static-cron";
    gap: 1rem;
    margin-bottom: 1rem;
}
@media (min-width: 1024px) {
    .xml-wrapper-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-areas: "xml-wrapper-hidden xml-wrapper-link" "xml-static-dynamic xml-static-cron";
    }
}

.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: 1rem;
    color: #ffffff;
    font-weight: 400;
}

.style-textarea-xml {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.3;
    resize: vertical;
    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-grid {
    display: grid;
    gap: 1rem;
    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-grid h1 {
    margin: 0px;
    padding: 0px;
    display: block;
    font-size: 1.09em;
    color: #ffffff;
    font-weight: 400;
}
.info-grid p {
    margin: 0;
    padding: 0;
    display:block;
    font-size: 0.97em;
    color:#e7e7e7;
    text-overflow: ellipsis;
    overflow-x: hidden;
}

.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;
    text-overflow: ellipsis;
    overflow-x: hidden;
}
.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;
    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;
    line-height: 1.3;
    resize: vertical;
    width: 100%;
    background: #222222;
    border: 1px solid #424b54;
    border-radius: 4px;
    font-size: 1rem;
    color: #dadada;
    padding: 0 8px;
    min-height: 30px;
    box-shadow: 0 0 0 transparent;
}


/* Rado Input */
.custom-control-input {
    position: absolute;
    display: block;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}
.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;
    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;
    position: fixed;
    z-index: 9;
    background:#171717;
    top: 240px;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px;
}

@media (min-width: 1024px) {
    .options-files-container {
        background: none;
        position: unset;
        top: unset;
        left: unset;
        right: unset;
        bottom: unset;
        padding: 0;
    }
    
}

.files-container-grid {
    display: 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: 8px; overflow: hidden; 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: 5px;*/
    display: block;
}

.options-container {
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: 1fr;
    row-gap:15px;
    grid-template-areas: 
        "add-files"
        "link-file"
        "group-options-files"
        "close-files";
}
@media (min-width: 1024px) {
    .options-container {
        grid-template-columns: auto auto 1fr auto;
        column-gap:15px;
        grid-template-areas: "close-files add-files link-file group-options-files";
    } 
}

.close-files {
    grid-area: close-files;
    display: flex;
    align-items: center;
    min-height: 2.5rem;
    border: 1px solid #297f9c;
    background: #334c4c;
    border-radius: 5px;
    padding-left: 12px;
    padding-right: 12px;
    cursor: pointer;
    color: #92efd5;
    font-size: 16px;
    box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.3);
}
.close-files:hover {
    border: 1px solid #297f9c;
    color: #92efd5;
    background: #3d6161;
}

.add-files {
    grid-area: add-files;
}
.link-file {
    grid-area: link-file;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas: "link-file-tag link-file-copy-btn";
    column-gap:1rem;
    line-height: 2;
    min-height: 2.5rem;
    align-items: center;
    padding-left: 10px;
    padding-right: 3px;
    border: 1px solid #424b54;
    background: #171717;
    border-radius: 5px;
    color:#ffffff;
    font-size: 1rem;
    box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.3);
    word-break: break-all;
}
.link-file a {
    color: #00E3FF;
}
.link-file-tag {
    grid-area: link-file-tag;
    line-height: 1.7;
}
.link-file-copy-btn {
    grid-area: link-file-copy-btn;
    background: #009db1;
    color: #000000;
    cursor: pointer;
    z-index: 1;
    font-size: 0.8rem;
    padding: 0.2rem 0.4rem 0.2rem 0.4rem;
    border-radius: 0.3rem;
}
.link-file-copy-btn:hover {
    background:#00cce7;
}

.group-options-files {
    grid-area: group-options-files;
    display: flex;
    align-items: center;
    min-height: 2.5rem;
    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 {
    min-width: 2.5rem;
    width: 100%;
    height: 2.5rem;
    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);
    background: url(/img/download.svg) center center no-repeat;
    background-color:#009db1;
}
.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, #lbox-window video, #lbox-window audio {
    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 {
    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;
}

section:not(:target) {
    display: none;
}



.bdf {
    border: 0;
}

/* Logins Table */
.grid-table {
    display: grid;
    gap: 5px;
}
.grid-table > div {
    display: block;
    background: #282c2f;
    padding: 5px;
    border-radius: 3px;
}
@media (min-width: 1024px) {
  .grid-table > div {
      display: grid;
      grid-auto-flow: column;
      column-gap: 3px;
      grid-template-columns: 2rem 10rem 8rem auto;
  }
}

[data-settings="login"] .grid-table .current {
    color: #78ca78;
}
[data-settings="login"] .del {
    width: 1.7rem;
    height: 1.7rem;
    justify-self: center;
    background-color: #42444a;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.2);
    float: right;
}
[data-settings="login"] .del:hover {
	  background-color: #ab2727;
}

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

/* Eye On-Off */
.password-eye {
    background: url(/img/eye-on-off.svg) no-repeat;
    background-size: 100%;
    background-position: 0px 0px;
    width: 23px;
    height: 23px;
    position: absolute;
    bottom: 3px;
    right: 4px;
    z-index: 1;
    cursor: pointer;
}

.password-eye.showed {
    background-position-y: 100%;
}

.developers_only {
    display: none;
}

/* Help */
.help {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 0.6rem;
    border-radius: 0.2rem;
    background: #282c39;
}