/*
 * ENERGYPROJECTS Webmail
 * Corporate skin
 */

/* =========================================================
   LOGIN PAGE
   ========================================================= */

body.task-login {
  background: #10233f;
}

.task-login #layout {
  background: transparent;
}

.task-login .energy-login {
  position: fixed !important;
  inset: 0;
  width: 100% !important;
  height: 100vh !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 60px 8% !important;

  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 70px;

  background:
    linear-gradient(
      90deg,
      rgba(8, 38, 70, 0.96) 0%,
      rgba(13, 65, 108, 0.86) 40%,
      rgba(8, 38, 70, 0.35) 100%
    ),
    url("../images/rogun-bg.jpg") center center / cover no-repeat;

  overflow: auto;
}

/* Left branding */

.energy-login-overlay {
  display: none;
}

.energy-login-brand {
  position: relative;
  z-index: 2;
  width: 48%;
  max-width: 610px;
  color: #ffffff;
}

.energy-login-logo {
  display: block;
  width: 125px;
  height: auto;
  margin-bottom: 24px;
}

.energy-brand-title {
  font-size: 30px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #ffffff;
}

.energy-brand-subtitle {
  margin-top: 8px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 5px;
  color: #c7e2f5;
}

.energy-brand-description {
  margin-top: 42px;
  font-size: 25px;
  line-height: 1.4;
  font-weight: 300;
  color: #ffffff;
}

.energy-brand-features {
  margin-top: 38px;
  font-size: 17px;
  line-height: 2.7;
  color: #eef7fc;
}

/* Login card */

.energy-login-card {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 520px;

  padding: 48px 52px 38px;

  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 12px;

  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.22),
    0 2px 8px rgba(0, 0, 0, 0.08);
}

.energy-card-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;

  margin-bottom: 38px;
}

.energy-card-logo {
  width: 76px;
  height: auto;
}

.energy-card-title {
  color: #10233f;
  font-size: 25px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.energy-card-subtitle {
  margin-top: 7px;

  color: #174a7e;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 5px;
}

/* Roundcube login form */

.energy-login-form {
  width: 100%;
  margin: 0 !important;
}

.energy-login-form table {
  width: 100%;
}

.energy-login-form .form-group {
  margin-bottom: 15px;
}

.energy-login-form label {
  color: #53677b;
  font-weight: 500;
}

.energy-login-form input[type="text"],
.energy-login-form input[type="password"],
.energy-login-form select {
  min-height: 52px;

  border: 1px solid #cbd5df;
  border-radius: 5px;

  background: #ffffff;
  color: #10233f;

  font-size: 16px;

  box-shadow: none;
}

.energy-login-form input[type="text"]:focus,
.energy-login-form input[type="password"]:focus,
.energy-login-form select:focus {
  border-color: #174a7e;
  box-shadow: 0 0 0 3px rgba(23, 74, 126, 0.12);
}

.energy-login-form button[type="submit"],
.energy-login-form input[type="submit"] {
  width: 100%;
  min-height: 52px;

  margin-top: 10px;

  border: 0;
  border-radius: 5px;

  background: #174a7e;
  color: #ffffff;

  font-size: 16px;
  font-weight: 600;

  transition:
    background 0.2s ease,
    transform 0.1s ease;
}

.energy-login-form button[type="submit"]:hover,
.energy-login-form input[type="submit"]:hover {
  background: #10385f;
}

.energy-login-form button[type="submit"]:active,
.energy-login-form input[type="submit"]:active {
  transform: translateY(1px);
}

.energy-login-card #login-footer {
  margin-top: 22px;

  color: #66788a;
  font-size: 13px;
  text-align: center;
}

/* Remove the original Elastic login logo if injected */

.task-login #logo {
  display: none !important;
}

/* Responsive */

@media screen and (max-width: 900px) {
  .task-login .energy-login {
    position: fixed !important;

    padding: 35px 24px !important;

    flex-direction: column;
    justify-content: center;

    background:
      linear-gradient(
        rgba(8, 38, 70, 0.82),
        rgba(8, 38, 70, 0.82)
      ),
      url("../images/rogun-bg.jpg") center center / cover no-repeat;
  }

  .energy-login-brand {
    width: 100%;
    text-align: center;
  }

  .energy-login-logo {
    width: 85px;
    margin: 0 auto 15px;
  }

  .energy-brand-title {
    font-size: 21px;
  }

  .energy-brand-subtitle {
    font-size: 12px;
    letter-spacing: 3px;
  }

  .energy-brand-description,
  .energy-brand-features {
    display: none;
  }

  .energy-login-card {
    max-width: 480px;
    padding: 32px 28px;
  }

  .energy-card-logo {
    width: 60px;
  }

  .energy-card-title {
    font-size: 20px;
  }
}

/* =========================================================
   LOGIN LAYOUT FIX
   ========================================================= */

body.task-login {
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.task-login #layout {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.task-login #layout-content.energy-login {
  position: absolute !important;
  inset: 0 !important;

  width: 100% !important;
  height: 100% !important;
  min-height: 100vh !important;
  max-width: none !important;

  margin: 0 !important;
  padding: 50px 8% !important;

  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;

  transform: none !important;
}

/* Left project branding */

.task-login .energy-login-brand {
  position: relative !important;
  top: auto !important;
  left: auto !important;

  display: block !important;

  width: 46% !important;
  max-width: 600px !important;

  margin: 0 !important;
  padding: 0 !important;

  transform: none !important;
}

/* Login card */

.task-login .energy-login-card {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;

  display: block !important;

  width: 440px !important;
  max-width: 440px !important;
  min-height: 0 !important;

  margin: 0 !important;
  padding: 38px 46px 32px !important;

  transform: none !important;
}

/* Remove Elastic positioning from the form */

.task-login #login-form {
  position: static !important;
  top: auto !important;
  left: auto !important;

  width: 100% !important;
  max-width: none !important;

  margin: 0 !important;
  transform: none !important;
}

.task-login .energy-card-header {
  margin-bottom: 30px !important;
}


/* =========================================================
   LOGIN FINAL VISUAL TUNING
   ========================================================= */

.task-login .energy-login-brand {
  padding-left: 30px !important;
}

.task-login .energy-login-logo {
  width: 105px !important;
  margin-bottom: 22px !important;
}

.task-login .energy-brand-title {
  font-size: 29px !important;
}

.task-login .energy-brand-description {
  margin-top: 44px !important;
  font-size: 24px !important;
}

.task-login .energy-login-card {
  width: 420px !important;
  max-width: 420px !important;
  padding: 38px 46px 36px !important;
}

.task-login .energy-card-logo {
  width: 70px !important;
}

.task-login .energy-card-title {
  font-size: 24px !important;
}


/* =========================================================
   OFFICIAL PROJECT BRANDING
   ========================================================= */

.task-login .energy-login-brand {
  width: 52% !important;
  max-width: 680px !important;
}

.task-login .energy-brand-title {
  max-width: 650px;
  font-size: 28px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  color: #ffffff !important;
}

.task-login .energy-project-group {
  max-width: 650px;
  margin-top: 14px !important;

  font-size: 15px !important;
  line-height: 1.45 !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;

  color: rgba(255, 255, 255, 0.88) !important;
}


/* Webmail card header without duplicated emblem */
.task-login .energy-card-header {
  display: block !important;
  text-align: center !important;
  margin-bottom: 34px !important;
}

.task-login .energy-card-title {
  font-size: 27px !important;
  line-height: 1.15 !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px !important;
  color: #10233f !important;
}

.task-login .energy-card-subtitle {
  margin-top: 8px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 6px !important;
  color: #174a7e !important;
}

/* Center official emblem with project title */
.task-login .energy-login-logo {
  margin-left: auto !important;
  margin-right: auto !important;
}

.task-login .energy-login-brand {
  text-align: center !important;
}

/* =========================================================
   ENERGYPROJECTS - MAIN NAVIGATION
   ========================================================= */

/* Main left navigation */
body:not(.task-login) #layout-menu {
  background: #10233f !important;
  border-right: 0 !important;
}

/* Logo area */
body:not(.task-login) #layout-menu .popover-header {
  background: #10233f !important;
  border: 0 !important;
}

/* Official emblem */
body:not(.task-login) #layout-menu .popover-header #logo {
  width: 52px !important;
  height: 52px !important;
  max-width: 52px !important;
  max-height: 52px !important;
  padding: 3px !important;
  object-fit: contain !important;
}

/* Navigation background */
body:not(.task-login) #taskmenu {
  background: #10233f !important;
}

/* Normal menu items */
body:not(.task-login) #taskmenu a {
  color: rgba(255,255,255,.82) !important;
}

/* Icons */
body:not(.task-login) #taskmenu a:before {
  color: rgba(255,255,255,.88) !important;
}

/* Hover */
body:not(.task-login) #taskmenu a:hover {
  background: rgba(255,255,255,.08) !important;
  color: #ffffff !important;
}

/* Selected section */
body:not(.task-login) #taskmenu a.selected {
  background: #174a7e !important;
  color: #ffffff !important;
}

body:not(.task-login) #taskmenu a.selected:before {
  color: #ffffff !important;
}

/* Compose */
body:not(.task-login) #taskmenu a.compose {
  color: #ffffff !important;
}

body:not(.task-login) #taskmenu a.compose:before {
  color: #ffffff !important;
}

/* Bottom utility buttons */
body:not(.task-login) #taskmenu .special-buttons a {
  color: rgba(255,255,255,.72) !important;
}

/* Logout */
body:not(.task-login) #taskmenu .special-buttons a.logout,
body:not(.task-login) #taskmenu .special-buttons a.logout:before {
  color: #ffb4b4 !important;
}


/* ENERGYPROJECTS - navigation bottom section */
body:not(.task-login) #taskmenu .special-buttons {
  background: #10233f !important;
  border-top: 1px solid rgba(255,255,255,.10) !important;
}

body:not(.task-login) #taskmenu .special-buttons a {
  background: transparent !important;
}

body:not(.task-login) #taskmenu .special-buttons a:hover {
  background: rgba(255,255,255,.08) !important;
}


/* =========================================================
   ENERGYPROJECTS - MAIL FOLDERS
   ========================================================= */

/* Folder column */
body.task-mail #layout-sidebar {
  background: #ffffff !important;
  border-right: 1px solid #e3e9ef !important;
}

/* Account header */
body.task-mail #layout-sidebar > .header {
  background: #ffffff !important;
  border-bottom: 1px solid #e3e9ef !important;
}

body.task-mail #layout-sidebar .header-title.username {
  color: #10233f !important;
  font-weight: 600 !important;
}

/* Folder list */
body.task-mail #folderlist-content {
  background: #ffffff !important;
}

body.task-mail #mailboxlist {
  background: #ffffff !important;
}

/* Individual folders */
body.task-mail #mailboxlist li {
  border-bottom: 0 !important;
}

body.task-mail #mailboxlist li > a {
  color: #25384d !important;
  border-left: 3px solid transparent !important;
  transition: background-color .15s ease, color .15s ease !important;
}

/* Folder icons */
body.task-mail #mailboxlist li > a:before {
  color: #174a7e !important;
}

/* Hover */
body.task-mail #mailboxlist li:hover > a {
  background: #f5f8fb !important;
  color: #10233f !important;
}

/* Selected folder */
body.task-mail #mailboxlist li.selected > a {
  background: #edf5fb !important;
  color: #174a7e !important;
  border-left-color: #174a7e !important;
  font-weight: 600 !important;
}

/* Selected folder icon */
body.task-mail #mailboxlist li.selected > a:before {
  color: #174a7e !important;
}

/* Unread counter */
body.task-mail #mailboxlist .unreadcount {
  background: #174a7e !important;
  color: #ffffff !important;
}

/* Sidebar footer / quota */
body.task-mail #layout-sidebar > .footer {
  background: #ffffff !important;
  border-top: 1px solid #e3e9ef !important;
}


/* =========================================================
   ENERGYPROJECTS - MESSAGE LIST
   ========================================================= */

/* Message list column */
body.task-mail #layout-list {
  background: #ffffff !important;
  border-right: 1px solid #e3e9ef !important;
}

/* Top toolbar */
body.task-mail #messagelist-header {
  background: #ffffff !important;
  border-bottom: 1px solid #e3e9ef !important;
}

/* Toolbar icons/text */
body.task-mail #messagelist-header a,
body.task-mail #messagelist-header .button {
  color: #25384d !important;
}

body.task-mail #messagelist-header a:before,
body.task-mail #messagelist-header .button:before {
  color: #174a7e !important;
}

/* Search area */
body.task-mail #mailsearchform {
  background: #f7f9fb !important;
  border-bottom: 1px solid #e3e9ef !important;
}

body.task-mail #mailsearchform input {
  color: #25384d !important;
}

body.task-mail #mailsearchform input::placeholder {
  color: #8795a5 !important;
}

/* Messages area */
body.task-mail #messagelist-content {
  background: #ffffff !important;
}

/* Message rows */
body.task-mail #messagelist tbody td {
  background: #ffffff;
  border-bottom: 1px solid #edf1f5 !important;
}

/* Slightly more breathing room */
body.task-mail #messagelist td.subject {
  padding-top: 4px !important;
  padding-bottom: 4px !important;
}

/* Sender */
body.task-mail #messagelist td.subject span.fromto {
  color: #66788a !important;
  font-weight: 500 !important;
}

/* Date */
body.task-mail #messagelist td.subject span.date {
  color: #8795a5 !important;
}

/* Subject */
body.task-mail #messagelist td.subject span.subject,
body.task-mail #messagelist td.subject span.subject a {
  color: #25384d !important;
}

/* Hover */
body.task-mail #messagelist tbody tr:hover td {
  background: #f7fafc !important;
}

/* Selected message */
body.task-mail #messagelist tbody tr.selected td {
  background: #edf5fb !important;
}

/* Selected message accent */
body.task-mail #messagelist tbody tr.selected td:first-child {
  border-left-color: #174a7e !important;
}

/* Unread message */
body.task-mail #messagelist tbody tr.unread td.subject span.fromto {
  color: #10233f !important;
  font-weight: 600 !important;
}

body.task-mail #messagelist tbody tr.unread td.subject span.subject,
body.task-mail #messagelist tbody tr.unread td.subject span.subject a {
  color: #10233f !important;
  font-weight: 700 !important;
}

/* Status dot / reply status */
body.task-mail #messagelist td.subject span.msgicon.status:before {
  color: #174a7e !important;
}

/* Pagination/footer */
body.task-mail #layout-list > .footer {
  background: #ffffff !important;
  border-top: 1px solid #e3e9ef !important;
}


/* ENERGYPROJECTS - MESSAGE PREVIEW TOOLBAR */
body.task-mail #layout-content > .header {
  background: #ffffff !important;
  border-bottom: 1px solid #e3e9ef !important;
}

/* Toolbar buttons */
body.task-mail #layout-content #mailtoolbar a {
  color: #25384d !important;
  transition: background-color .15s ease, color .15s ease !important;
}

/* Icons */
body.task-mail #layout-content #mailtoolbar a:before {
  color: #174a7e !important;
}

/* Hover */
body.task-mail #layout-content #mailtoolbar a:not(.disabled):hover,
body.task-mail #layout-content #mailtoolbar .dropbutton:not(.disabled):hover {
  background: #edf5fb !important;
  color: #10233f !important;
}

body.task-mail #layout-content #mailtoolbar a:not(.disabled):hover:before {
  color: #10385f !important;
}

/* Dropdown arrow */
body.task-mail #layout-content #mailtoolbar a.dropdown {
  color: #66788a !important;
}

body.task-mail #layout-content #mailtoolbar a.dropdown:before {
  color: #66788a !important;
}

/* Disabled actions */
body.task-mail #layout-content #mailtoolbar a.disabled {
  color: #aeb8c2 !important;
  opacity: .65 !important;
}

body.task-mail #layout-content #mailtoolbar a.disabled:before {
  color: #aeb8c2 !important;
}

/* Delete - subtle warning only when available */
body.task-mail #layout-content #mailtoolbar a.delete:not(.disabled):hover,
body.task-mail #layout-content #mailtoolbar a.delete:not(.disabled):hover:before {
  color: #b33a3a !important;
}

/* More */
body.task-mail #layout-content #mailtoolbar a.more:not(.disabled):before {
  color: #174a7e !important;
}

/* =========================================================
   ENERGYPROJECTS - COMPOSE / REPLY / FORWARD
   ========================================================= */

/* Main compose area */
body.task-mail.action-compose #layout-content {
  background: #ffffff !important;
}

/* Top compose toolbar */
body.task-mail.action-compose #layout-content > .header {
  background: #ffffff !important;
  border-bottom: 1px solid #e3e9ef !important;
}

body.task-mail.action-compose #messagetoolbar a {
  color: #25384d !important;
  transition: background-color .15s ease, color .15s ease !important;
}

body.task-mail.action-compose #messagetoolbar a:before {
  color: #174a7e !important;
}

body.task-mail.action-compose #messagetoolbar a:not(.disabled):hover {
  background: #edf5fb !important;
  color: #10233f !important;
}

body.task-mail.action-compose #messagetoolbar a.disabled,
body.task-mail.action-compose #messagetoolbar a.disabled:before {
  color: #aeb8c2 !important;
}

/* Compose content */
body.task-mail.action-compose #compose-content {
  background: #ffffff !important;
}

/* Header fields */
body.task-mail.action-compose #compose-headers {
  background: #ffffff !important;
}

body.task-mail.action-compose #compose-headers label {
  color: #25384d !important;
  font-weight: 500 !important;
}

body.task-mail.action-compose #compose-headers .form-control,
body.task-mail.action-compose #compose-headers input,
body.task-mail.action-compose #compose-headers select {
  border-color: #d7e0e8 !important;
  color: #25384d !important;
  background-color: #ffffff !important;
}

body.task-mail.action-compose #compose-headers .form-control:focus,
body.task-mail.action-compose #compose-headers input:focus,
body.task-mail.action-compose #compose-headers select:focus {
  border-color: #174a7e !important;
  box-shadow: 0 0 0 .15rem rgba(23,74,126,.12) !important;
}

/* Header action buttons */
body.task-mail.action-compose #compose-headers .input-group-text {
  background: #f7f9fb !important;
  border-color: #d7e0e8 !important;
  color: #174a7e !important;
}

body.task-mail.action-compose #compose-headers .input-group-text:before {
  color: #174a7e !important;
}

body.task-mail.action-compose #compose-headers .input-group-text:hover {
  background: #edf5fb !important;
}

/* Message editor */
body.task-mail.action-compose #composebody {
  border-color: #d7e0e8 !important;
  background: #ffffff !important;
  color: #25384d !important;
}

/* Right options panel */
body.task-mail.action-compose #layout-sidebar {
  background: #ffffff !important;
  border-left: 1px solid #e3e9ef !important;
}

body.task-mail.action-compose #layout-sidebar > .header {
  background: #ffffff !important;
  border-bottom: 1px solid #e3e9ef !important;
  color: #10233f !important;
}

body.task-mail.action-compose #layout-sidebar .header-title {
  color: #10233f !important;
  font-weight: 600 !important;
}

/* Attachments */
body.task-mail.action-compose #compose-attachments {
  background: #ffffff !important;
}

body.task-mail.action-compose #compose-attachments .upload-form {
  border-color: #d7e0e8 !important;
}

body.task-mail.action-compose #compose-attachments .btn-secondary {
  background: #174a7e !important;
  border-color: #174a7e !important;
  color: #ffffff !important;
}

body.task-mail.action-compose #compose-attachments .btn-secondary:hover {
  background: #10385f !important;
  border-color: #10385f !important;
}

/* Compose options */
body.task-mail.action-compose #compose-options {
  color: #25384d !important;
}

/* Send button */
body.task-mail.action-compose .formbuttons .btn-primary.send {
  background: #174a7e !important;
  border-color: #174a7e !important;
  color: #ffffff !important;
}

body.task-mail.action-compose .formbuttons .btn-primary.send:hover {
  background: #10385f !important;
  border-color: #10385f !important;
}

/* =========================================================
   ENERGYPROJECTS - COMPOSE FINAL POLISH
   ========================================================= */

/* Plain-text editor toolbar */
body.task-mail.action-compose .html-editor .editor-toolbar {
  background: #f7f9fb !important;
  border-bottom: 1px solid #e3e9ef !important;
}

body.task-mail.action-compose .html-editor .editor-toolbar .mce-i-html {
  color: #174a7e !important;
}

body.task-mail.action-compose .html-editor .editor-toolbar .mce-i-html:hover,
body.task-mail.action-compose .html-editor .editor-toolbar .mce-i-html:focus {
  background: #edf5fb !important;
  color: #10385f !important;
}

/* Editor frame */
body.task-mail.action-compose .html-editor {
  border-color: #d7e0e8 !important;
}

body.task-mail.action-compose .html-editor textarea {
  background: #ffffff !important;
  color: #25384d !important;
}

/* Attachment drop area */
body.task-mail.action-compose .file-upload {
  border: 1px dashed #c9d5df !important;
  border-radius: 8px !important;
  background: #fbfcfd !important;
}

/* Reduce the large Roundcube drop icon */
body.task-mail.action-compose .file-upload.droptarget:after {
  width: 4.5rem !important;
  margin: 2.5rem auto 0 auto !important;
  opacity: .42 !important;
}

/* Drag-over feedback */
body.task-mail.action-compose .file-upload.droptarget.active,
body.task-mail.action-compose .file-upload.droptarget.hover {
  border-color: #174a7e !important;
  background: #f3f8fc !important;
}

/* Attachment hint */
body.task-mail.action-compose .file-upload .hint {
  color: #66788a !important;
}

/* Attachment filenames */
body.task-mail.action-compose .attachmentslist a.filename {
  color: #174a7e !important;
}

/* Compose footer */
body.task-mail.action-compose .formbuttons {
  background: #ffffff !important;
  border-top-color: #e3e9ef !important;
}

/* =========================================================
   ENERGYPROJECTS - CONTACTS
   ========================================================= */

/* Groups / address books */
body.task-addressbook #layout-sidebar {
  background: #ffffff !important;
  border-right: 1px solid #e3e9ef !important;
}

body.task-addressbook #layout-sidebar > .header {
  background: #ffffff !important;
  border-bottom: 1px solid #e3e9ef !important;
}

body.task-addressbook #layout-sidebar .header-title {
  color: #10233f !important;
  font-weight: 600 !important;
}

body.task-addressbook #directorylist,
body.task-addressbook #savedsearchlist {
  background: #ffffff !important;
}

body.task-addressbook #directorylist li > a,
body.task-addressbook #savedsearchlist li > a {
  color: #25384d !important;
  border-left: 3px solid transparent !important;
}

body.task-addressbook #directorylist li > a:before,
body.task-addressbook #savedsearchlist li > a:before {
  color: #174a7e !important;
}

body.task-addressbook #directorylist li:hover > a,
body.task-addressbook #savedsearchlist li:hover > a {
  background: #f5f8fb !important;
  color: #10233f !important;
}

body.task-addressbook #directorylist li.selected > a,
body.task-addressbook #savedsearchlist li.selected > a {
  background: #edf5fb !important;
  color: #174a7e !important;
  border-left-color: #174a7e !important;
  font-weight: 600 !important;
}

/* Contacts list */
body.task-addressbook #layout-list {
  background: #ffffff !important;
  border-right: 1px solid #e3e9ef !important;
}

body.task-addressbook #layout-list > .header {
  background: #ffffff !important;
  border-bottom: 1px solid #e3e9ef !important;
}

body.task-addressbook #searchform {
  background: #ffffff !important;
  border-bottom: 1px solid #e3e9ef !important;
}

body.task-addressbook #searchform input {
  color: #25384d !important;
}

body.task-addressbook #searchform input::placeholder {
  color: #8795a5 !important;
}

body.task-addressbook #contacts-table {
  background: #ffffff !important;
}

body.task-addressbook #contacts-table tbody td {
  border-bottom: 1px solid #edf1f5 !important;
}

body.task-addressbook #contacts-table tbody tr:hover td {
  background: #f7fafc !important;
}

body.task-addressbook #contacts-table tbody tr.selected td {
  background: #edf5fb !important;
}

/* Empty contacts message */
body.task-addressbook #layout-list .scroller {
  color: #66788a !important;
}

/* Right toolbar */
body.task-addressbook #layout-content > .header {
  background: #ffffff !important;
  border-bottom: 1px solid #e3e9ef !important;
}

body.task-addressbook #addressbooktoolbar a {
  color: #25384d !important;
  transition: background-color .15s ease, color .15s ease !important;
}

body.task-addressbook #addressbooktoolbar a:before {
  color: #174a7e !important;
}

body.task-addressbook #addressbooktoolbar a:not(.disabled):hover {
  background: #edf5fb !important;
  color: #10233f !important;
}

body.task-addressbook #addressbooktoolbar a:not(.disabled):hover:before {
  color: #10385f !important;
}

body.task-addressbook #addressbooktoolbar a.disabled,
body.task-addressbook #addressbooktoolbar a.disabled:before {
  color: #aeb8c2 !important;
  opacity: .65 !important;
}

/* Create contact */
body.task-addressbook #addressbooktoolbar a.create:not(.disabled):before {
  color: #174a7e !important;
}

/* Delete contact warning on hover */
body.task-addressbook #addressbooktoolbar a.delete:not(.disabled):hover,
body.task-addressbook #addressbooktoolbar a.delete:not(.disabled):hover:before {
  color: #b33a3a !important;
}

/* Contacts pagination */
body.task-addressbook #layout-list > .footer {
  background: #ffffff !important;
  border-top: 1px solid #e3e9ef !important;
}

/* =========================================================
   ENERGYPROJECTS - CONTACT CARD
   ========================================================= */

/* Contact details page */
body.task-addressbook #contact-details {
  color: #25384d !important;
}

/* Contact header */
body.task-addressbook .contact-header {
  padding: 16px 18px 8px !important;
  margin-bottom: 8px !important;
}

/* Contact photo */
body.task-addressbook #contactpic {
  background: #f5f8fb !important;
  border: 1px solid #e3e9ef !important;
  border-radius: 8px !important;
}

/* Name/source area */
body.task-addressbook #contacthead {
  color: #25384d !important;
}

body.task-addressbook #contacthead .names span.namefield {
  color: #10233f !important;
  font-weight: 700 !important;
}

body.task-addressbook #contacthead label {
  color: #25384d !important;
  font-weight: 500 !important;
}

/* Inputs */
body.task-addressbook #contact-details input,
body.task-addressbook #contact-details select,
body.task-addressbook #contact-details textarea,
body.task-addressbook #contact-details .form-control,
body.task-addressbook #contact-details .custom-select {
  background-color: #ffffff !important;
  border-color: #d7e0e8 !important;
  color: #25384d !important;
}

body.task-addressbook #contact-details input:focus,
body.task-addressbook #contact-details select:focus,
body.task-addressbook #contact-details textarea:focus,
body.task-addressbook #contact-details .form-control:focus,
body.task-addressbook #contact-details .custom-select:focus {
  border-color: #174a7e !important;
  box-shadow: 0 0 0 .15rem rgba(23,74,126,.12) !important;
}

/* Contact tabs */
body.task-addressbook #contacttabs {
  border-top-color: #e3e9ef !important;
}

body.task-addressbook #contacttabs .nav-tabs {
  border-bottom-color: #e3e9ef !important;
}

body.task-addressbook #contacttabs .nav-tabs a {
  color: #66788a !important;
}

body.task-addressbook #contacttabs .nav-tabs a:hover {
  color: #174a7e !important;
  background: #f7fafc !important;
}

body.task-addressbook #contacttabs .nav-tabs .active,
body.task-addressbook #contacttabs .nav-tabs a.active {
  color: #174a7e !important;
  background: #ffffff !important;
  font-weight: 600 !important;
}

/* Section headings */
body.task-addressbook #contacttabs legend,
body.task-addressbook #contacttabs .legend {
  color: #10233f !important;
  font-weight: 600 !important;
}

/* Input group buttons */
body.task-addressbook #contact-details .input-group-text,
body.task-addressbook #contact-details .input-group-append .btn {
  background: #f7f9fb !important;
  border-color: #d7e0e8 !important;
  color: #174a7e !important;
}

body.task-addressbook #contact-details .input-group-text:hover,
body.task-addressbook #contact-details .input-group-append .btn:hover {
  background: #edf5fb !important;
}

/* Bottom action area */
body.task-addressbook .formbuttons {
  background: #ffffff !important;
  border-top-color: #e3e9ef !important;
}

/* Save / Edit */
body.task-addressbook .formbuttons .btn-primary {
  background: #174a7e !important;
  border-color: #174a7e !important;
  color: #ffffff !important;
}

body.task-addressbook .formbuttons .btn-primary:hover,
body.task-addressbook .formbuttons .btn-primary:focus {
  background: #10385f !important;
  border-color: #10385f !important;
  color: #ffffff !important;
}

/* =========================================================
   ENERGYPROJECTS - SETTINGS NAVIGATION
   ========================================================= */

/* Left settings panel */
body.task-settings #layout-sidebar {
  background: #ffffff !important;
  border-right: 1px solid #e3e9ef !important;
}

body.task-settings #layout-sidebar > .header {
  background: #ffffff !important;
  border-bottom: 1px solid #e3e9ef !important;
}

body.task-settings #layout-sidebar .header-title {
  color: #10233f !important;
  font-weight: 700 !important;
}

body.task-settings #settings-menu {
  background: #ffffff !important;
}

body.task-settings #settings-menu li {
  border-bottom: 1px solid #edf1f5 !important;
}

body.task-settings #settings-menu li > a {
  color: #25384d !important;
  border-left: 3px solid transparent !important;
  transition: background-color .15s ease, color .15s ease !important;
}

body.task-settings #settings-menu li > a:before {
  color: #174a7e !important;
}

body.task-settings #settings-menu li:hover > a {
  background: #f7fafc !important;
  color: #10233f !important;
}

body.task-settings #settings-menu li.selected > a {
  background: #edf5fb !important;
  color: #174a7e !important;
  border-left-color: #174a7e !important;
  font-weight: 600 !important;
}

body.task-settings #settings-menu li.selected > a:before {
  color: #174a7e !important;
}


/* Middle settings sections */
body.task-settings #layout-list {
  background: #ffffff !important;
  border-right: 1px solid #e3e9ef !important;
}

body.task-settings #layout-list > .header {
  background: #ffffff !important;
  border-bottom: 1px solid #e3e9ef !important;
}

body.task-settings #layout-list .header-title {
  color: #10233f !important;
  font-weight: 600 !important;
}

body.task-settings #sections-table {
  background: #ffffff !important;
}

body.task-settings #sections-table tbody td {
  background: #ffffff !important;
  border-bottom: 1px solid #edf1f5 !important;
  color: #25384d !important;
}

body.task-settings #sections-table tbody tr:hover td {
  background: #f7fafc !important;
}

body.task-settings #sections-table tbody tr.selected td {
  background: #edf5fb !important;
  color: #174a7e !important;
  font-weight: 600 !important;
}

body.task-settings #sections-table td.section:before {
  color: #174a7e !important;
}

body.task-settings #sections-table tbody tr.selected td.section:before {
  color: #174a7e !important;
}


/* Empty right panel */
body.task-settings #layout-content {
  background: #ffffff !important;
}

body.task-settings #layout-content > .header {
  background: #ffffff !important;
  border-bottom: 1px solid #e3e9ef !important;
}

/* =========================================================
   ENERGYPROJECTS - SETTINGS FORM / IFRAME
   ========================================================= */

/* Settings form background */
html.iframe body {
  background: #ffffff !important;
}

html.iframe .formcontent {
  background: #ffffff !important;
  color: #25384d !important;
}

/* Section titles */
html.iframe .formcontent .propform legend {
  color: #10233f !important;
  font-weight: 700 !important;
}

/* Labels */
html.iframe .formcontent .propform label {
  color: #25384d !important;
}

/* Inputs and selects */
html.iframe .formcontent .propform input.form-control,
html.iframe .formcontent .propform select,
html.iframe .formcontent .propform textarea,
html.iframe .formcontent .propform .custom-select {
  background-color: #ffffff !important;
  border-color: #d7e0e8 !important;
  color: #25384d !important;
}

/* Focus */
html.iframe .formcontent .propform input.form-control:focus,
html.iframe .formcontent .propform select:focus,
html.iframe .formcontent .propform textarea:focus,
html.iframe .formcontent .propform .custom-select:focus {
  border-color: #174a7e !important;
  box-shadow: 0 0 0 .15rem rgba(23,74,126,.12) !important;
}

/* Switch - ON */
html.iframe .formcontent .custom-switch
.custom-control-input:checked ~ .custom-control-label::before {
  background-color: #174a7e !important;
  border-color: #174a7e !important;
}

/* Switch focus */
html.iframe .formcontent .custom-switch
.custom-control-input:focus ~ .custom-control-label::before {
  box-shadow: 0 0 0 .15rem rgba(23,74,126,.15) !important;
}

/* Hints and secondary information */
html.iframe .formcontent .hint {
  color: #66788a !important;
}

/* Advanced section titles */
html.iframe .formcontent fieldset.advanced > legend {
  color: #10233f !important;
}

/* Bottom action area */
html.iframe .formbuttons {
  background: #ffffff !important;
  border-top: 1px solid #e3e9ef !important;
}

/* Primary Save button */
html.iframe .formbuttons .btn-primary {
  background: #174a7e !important;
  border-color: #174a7e !important;
  color: #ffffff !important;
}

html.iframe .formbuttons .btn-primary:hover,
html.iframe .formbuttons .btn-primary:focus {
  background: #10385f !important;
  border-color: #10385f !important;
  color: #ffffff !important;
}
