/* Redefine/override any CSS variables here */

body {
    /* GROUP VARIABLES -- DECORATION -- COLOURS -- THEME
    =================================================== */
    --color-main: #222;
    --color-main-rgb: 34, 34, 34;
    --color-main-hover: #000;
    --color-text: #333;
    --color-orange: #ffb300;
    --color-blue: #0f76a5;
    --color-black: #141414;
    --color-white: #fefefe;
    /* GROUP VARIABLES -- DECORATION -- TEXT
    =================================================== */
    /*--font-family-main: source-sans-pro, sans-serif;*/
    /*--font-family-textarea: some-font, serif;*/
    /* GROUP VARIABLES -- DECORATION -- TEXT -- WEIGHTS
    =================================================== */
    /*--font-family-main-weight-normal: 400;*/
    /*--font-family-main-weight-strong: 600;*/
}

/* Some theme options - delete these if you don't want to use them */


/* GROUP ATOMS / DECORATION / TEXT / LINK STYLES {/ LINKS} / ACCESSIBILITY / FOCUS
=================================================== */

a:focus {
    background: rgba(var(--colour-main-rgb), 0.3);
    outline: 3px solid rgba(var(--colour-main-rgb), 0.3);
}

/* GROUP ATOMS / BUTTONS / ACCESSIBILITY / FOCUS
=================================================== */

.sidebar-back a:focus,
.button:focus {
    outline: 3px solid var(--color-orange);
}
.main-panel {
    background-color: var(--color-white);
}
.topbar.user_theme_dark,
.sidebar,
.smartbar,
.widget header,
.widget h3 {
    background-color: var(--color-black);
}
.smartbar {
    margin: 12px 24px 12px 24px;
}
body .login-box .hd.topbar,
.login-box .hd {
    background-color: var(--color-blue);
}
.button.button-simple:hover {
    background-color: var(--color-orange);
}
.widget header,
.widget h3,
.topbar.user_theme_dark svg,
.topbar.user_theme_dark a,
.topbar .selected svg,
.topbar a:hover .selected svg,
.sidebar-back a,
.sidebar h2,
.sidebar h3,
.sidebar-back svg,
.smartbar li a,
.smartbar li a svg,
.smartbar li button,
#btnUndo,
#btnUndo svg,
.button.button-simple,
.topbar a:hover,
.topbar a:focus,
.topbar a:focus svg,
.topbar a:hover svg,
.sidebar li a,
.login-box .hd h1 {
    fill: var(--color-white);
    color: var(--color-white);
}
.topbar.user_theme_dark a:hover svg,
.topbar.user_theme_dark a:hover,
.topbar.user_theme_dark a.selected,
.smartbar li a:hover,
.smartbar li a:hover svg,
.smartbar li button:hover,
.smartbar li:hover a,
.smartbar li:hover button,
.topbar.user_theme_dark .selected svg,
.topbar.user_theme_dark .selected:hover svg,
table td a.toggle svg,
#btnUndo:hover,
#btnUndo:hover svg,
.sidebar li a:hover {
    fill: var(--color-orange);
    color: var(--color-orange);
}
.sidebar .subnav li a {
    border-left: 4px solid #666;
}
.sidebar .subnav li a.selected {
    border-left: 4px solid var(--color-orange);
}
.topbar svg,
.topbar a {
    fill: #b1b1b1;
    color: #b1b1b1;
}
.user_theme_dark .utilnav .logout {
    background-color: var(--color-blue);
    color: var(--color-white);
}
.utilnav li:hover .logout {
    background-color: #065C86;
}
.utilnav li:hover {
    background-color: rgba(255, 255, 255, 0.20);
}
.sidebar h2,
.sidebar h3 {
    opacity: 0.7;
}
.sidebar-back a:hover,
.sidebar-back a:focus {
    border-bottom: 1px solid var(--color-orange);
    color: var(--color-orange);
}
.sidebar .selected {
    color: var(--color-orange);
    font-weight: 600;
}
.button.button-simple,
.sidebar .badge {
    background-color: var(--color-blue);
    color: var(--color-white);
}
.smartbar li {
    border-right: 1px solid #e0e0e0;
}
.smartbar .tab-active {
    border-bottom: 1px solid #e0e0e0;
}
.breadcrumb.tab-active {
    background-color: #e0e0e0;
}
.smartbar li a.tab-active,
.smartbar li button.tab-active {
    background-color: #efefef;
    color: var(--color-blue);
    box-shadow: inset 0px 0px 0px 1px var(--color-blue);
    font-weight: bold;
}
.smartbar li a.tab-active svg {
    fill: var(--color-blue);
}
.smartbar li .breadcrumb.tab-active a:last-child {
    background-color: #e0e0e0;
}
.smartbar li .breadcrumb a:last-child,
.smartbar li .breadcrumb a:first-child,
.smartbar svg {
    color: #848585;
    fill: #848585;
}
h2.divider {
    background-color: #b1b1b1;
}
.form-simple label,
.form-simple .fieldset-inner .legend-wrap,
.repeater-heading {
    font-weight: 600;
}
.button,
.submit-bar .button,
.button.action-info,
.button.button-icon.action-info,
.button.button-small.action-info,
.block-wrap .block-add-bar a:hover,
.sidebar-back .back {
    background-color: var(--color-blue);
}
.title-panel .button,
.button.to-the-top,
.title-panel .button.button-icon {
    background-color: var(--color-blue);
    color: var(--color-white);
}
.inline-help {
    text-transform: lowercase;
    margin-left: 1%;
}
.pagination-number.pagination-current {
    background-color: #848585;
    border-radius: 2px;
}
.pagination .disabled {
    background-color: #e0e0e0;
}
table th {
    background-color: #b1b1b1;
    color: var(--color-black);
}
.button.action-info:hover,
.button.action-info.active,
.button.button-icon.action-info:hover,
.button.button-icon.action-info.active,
.button.button-small.action-info:hover,
.button.button-small.action-info.active {
    background-color: var(--color-orange);
}
.widget a:hover,
.widget a:active {
    border-bottom: 1px solid #FF8100;
    color: #FF8100;
}
.button.button-small {
    background: #efefef;
}
table a:hover .primary,
table a.primary:hover,
table a.edit:hover,
.block-add-bar .block-add-prompt svg {
    color: #FF8100;
    fill: #FF8100;
}
.divider-toggle svg {
    fill: var(--color-blue);
}
.divider {
    color: var(--color-white);
}
.block-item .rm svg {
    fill: red;
}
.topbar .custom {
    background-color: none;
}
.sidebar-back .back:hover,
.sidebar-back .back:hover .icon {
    background-color: var(--color-white);
    fill: var(--color-orange);
}
.sidebar li a {
    padding-left: var(--rhythm-m);
}
.sidebar li a:hover {
    background-color: rgba(255, 255, 255, 0.20);
}

/* ===============================
	Side Menu Font Awesome 5 Icons
==================================
	Add the following CSS link to the _config.inc	<link rel="stylesheet" href="<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css">	or	if using the Admin App from Jay George just input the link in the
	settings. **Highly recommend this so NO blinking for styles**	Unicodes used:	
    Pages: "\f0c5"
	Blog: "\f781"
	Forms: "\f1ea"
    Gallery: "\f302"
    TinyImage: "\f066"
    Backup: "\f0a0"
	Categories: "\f02c"
	Assets: "\f51e"
	Logger: "\f022"
	Events: "\f073"
	Admin Style: "\f1fc"
	SEO: "\f201"
	Reviews: "\f086"
*Font Awesome 5 requires the font-weight: 900; for solid icons
*/

.appmenu li a::before {
    margin-right: 15px;
    padding-top: 12px;
    display: inline-block;
    font-family: Font Awesome\ 5 Free;
    font-size: 1em;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    color: #ffffff;
}

/*Pages*/
.appmenu  li a[href*="/content"]::before {
    content: "\f0c5";
    font-weight: 900;
}

/*Blog*/
.appmenu  li a[href*="/perch_blog"]::before {
    content: "\f781";
    font-weight: 900;
}

/*Chirp SEO*/
.appmenu li a[href*="/chirp_seo"]::before {
    content: "\f201";
    font-weight: 900;
}

/*Digital Whale/Cognetif Reviews App*/
.appmenu li a[href*="/dwcog_reviews"]::before {
    content: "\f086";
    font-weight: 900;
}

/*Logger*/
.appmenu li a[href*="/redfinch_logger"]::before {
    content: "\f022";
    font-weight: 900;
}

/*Forms*/
.appmenu li a[href*="/perch_forms"]::before {
    content: "\f1ea";
    font-weight: 900;
}

/*Gallery*/
.appmenu li a[href*="/perch_gallery"]::before {
    content: "\f302";
    font-weight: 900;
}

/*Tinify*/
.appmenu li a[href*="/cognetif_tinyimg"]::before {
    content: "\f066";
    font-weight: 900;
}

/*Backup*/
.appmenu li a[href*="/perch_backup"]::before {
    content: "\f0a0";
    font-weight: 900;
}


/*Members*/
.appmenu li a[href*="/perch_members"]::before {
    content: "\f2f6";
    font-weight: 900;
}


/*MailChimp*/
.appmenu li a[href*="/perch_mailchimp"]::before {
    content: "\f674";
    font-weight: 900;
}


/*Events*/
.appmenu li a[href*="/perch_events"]::before {
    content: "\f073";
    font-weight: 900;
}

/*Categories*/
.utilmenu-container > .appmenu  li a[href*="/categories"]::before {
    content: "\f02c";
    font-weight: 900;
}

/*Assets*/
.utilmenu-container > .appmenu  li a[href*="/assets"]::before {
    content: "\f51e";
    font-weight: 900;
}

.appmenu li a[href*="/jaygeorge_perch_admin_style/"],
.appmenu li a[href*="/jaygeorge_perch_admin_style"]::before {
    display: none;
}
.utilmenu-container .appmenu li:nth-last-child(1)::before,
.utilmenu-container .appmenu li:nth-last-child(1) {
    display: flex;
}
.page-login {
	background: rgba(0,0,0,.85);
}
body .login-box .hd.topbar {
    border: none;
}
.dashnav li:last-child a:before {
    display: inline-block;
    content: '';
    position: absolute;
    background-image: url(../../plugins/ui/client.svg);
    background-repeat: no-repeat;
    width: 50px;
    height: 50px;
    background-position: center center;
    background-size: 32px;
    top: 15px;
}
.dashnav li:last-child a svg {
    display: none;
}
@media (min-width: 900px) {
    .topbar.runway.user_theme_dark.nobrand, .topbar.runway.user_theme_light.nobrand, .topbar.user_theme_dark.nobrand, .topbar.user_theme_light.nobrand {
	background-position: calc(50% + 100px) center;
}
}

/* Style checkboxes as toggles */

.form-simple:not(#listing) .checkbox-single label {
  min-width: 0;
  position: relative;
  padding-left: 0 !important;
  margin-bottom: 0;
  display: flex;
}
.form-simple:not(#listing) .checkbox-single .form-entry {
  padding: 0;
}

.form-simple:not(#listing) .checkbox-single label::before {
  content: "";
  display: inline-block;
  width: 40px;
  height: 20px;
  background-color: #e5e8eb;
  border-radius: 20px;
  margin-right: 8px;
}

.form-simple:not(#listing) .checkbox-single label::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: white;
  top: 1px; // TO GIVE AN EFFECT OF CIRCLE INSIDE SWITCH.
  left: 1px;
  transition: all 0.3s;
}
.form-simple:not(#listing) .checkbox-single.selected label::after {
  left: 21px;
}
.form-simple:not(#listing) .checkbox-single.selected label::before {
  background-color: #47cf73;
}
.form-simple:not(#listing) input[type="checkbox"].check,
input[id="save_as_draft"] {
  display: none;
}
.form-entry input[id="resetPwd"].check,
.form-entry input[id="sendEmail"].check {
    display: block !important;
}
.submit-bar-actions .button.button-simple {
  margin-top: 0;
}
.submit-bar .checkbox-single .save-as-draft {
  margin-bottom: 0;
}
#main .submit-bar .checkbox-single {
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 0;
}
#btnsubmit.button-simple{
    margin-left: 2vw;
}
.field-group.closed .divider-toggle svg {
    width: 15px !important;
    height: 15px !important;
}