/**
 * @Author: Nissanka Perera
 * @Date:   2023-12-13 20:57:34
 * @Last Modified by:   Nissanka Perera
 * @Last Modified time: 2024-01-07 16:23:29
 */

:root {
  --font-family: "Wotfard", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  --font-family-code: "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Monaco,
    Consolas, Liberation Mono, Courier New, monospace;

  --logo-height: 40px;
  --logo-width: 90px;
  --logo-url: url(/public/app/assets/logo.png);

  --footer-height: 1.25rem;

  --menu-toggle-top: 45px;

  --header-bg-color: #190482;
  --header-border-color: #7752fe;
  --header-color: white;

  --footer-bg-color: #04364a;
  --footer-border-color: #7752fe;
  --footer-color: white;

  --primary-bg-color: #cdf5fd;
  --primary-color: #0f0f0f;
}

html,
body {
  height: 100%;
}

body {
  display: block;
  background-color: var(--primary-bg-color);
}

body {
  font-family: var(--font-family);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--primary-color);
}

* {
  margin: 0;
}

.nopadding {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin: 0 !important;
}

.site {
  display: grid;
  grid-template-areas:
    "header header header"
    "banner main sidebar";
  grid-template-columns: 100px 1fr 100px;
}

.page-footer {
  display: grid;
  grid-template-areas: "footer footer footer";
  grid-template-columns: 100px 1fr 100px;
}

/* Header Section Styling */
.site-header {
  background-color: var(--header-bg-color);
  border-bottom: 1px solid var(--border-color);
  color: var(--header-color);
  top: 0;
  position: sticky;
  z-index: 2;
  height: 45px;
  align-items: center;
}

.site-header {
  grid-area: header;
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
}

.header-wrapper p {
  font-weight: 300;
  font-size: 0.95em;
  margin-bottom: 0;
}

.site-branding {
  flex-shrink: 0;
  flex-grow: 0;
  display: flex;
  flex-direction: row;
}

.site-branding a {
  padding: 0;
}

.menu-toggle {
  justify-content: center;
  align-items: center;
}

.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: var(--logo-url);
  background-size: cover;
  background-repeat: no-repeat;
  height: var(--logo-height);
  width: var(--logo-width);
  margin: 2px 0;
}

/* EoF Header Section Styling */

/*Footer Section Styling */
.site-footer {
  background: var(--footer-bg-color);
  color: var(--footer-color);
}

.site-footer {
  grid-area: footer;
}

.footer-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
}

.footer-wrapper {
  height: var(--footer-height);
  left: 0;
  bottom: 0;
  position: fixed;
  border-top: 1px solid var(--footer-border-color);
  background: var(--footer-bg-color);
  width: -webkit-fill-available;
}

.footer-wrapper p {
  font-weight: 300;
  font-size: 0.65em;
  margin-bottom: 0;
}

/* EoF Footer Section Styling*/

/* Site Main Content */
.site-main {
  background-color: var(--prinary-bg-color);
  color: var(--primary-color);
  overflow: hidden;
  max-width: 100%;
  padding: 0 1rem;
}
.site-main {
  grid-area: main;
}

.main-wrapper {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  align-items: center;
  padding: 0 1rem;
  position: relative;
}

/* EoF Site Main Content*/

/* BoF Toggle Menu */
/* Important styles */
#toggle {
  display: flex;
  padding-left: 1rem;
  padding-right: 0.5rem;
}

#toggle span:after,
#toggle span:before {
  content: "";
  position: absolute;
  left: 0;
  top: -9px;
}

#toggle span:after,
#toggle span:before {
  box-sizing: content-box;
}

#toggle span:after {
  top: 9px;
}

#toggle span {
  position: relative;
  display: block;
}

#toggle span,
#toggle span:after,
#toggle span:before {
  width: 1.2rem;
  height: 0.25rem;
  background-color: #888;
  transition: all 0.3s;
  backface-visibility: hidden;
  border-radius: 2px;
}

/* on activation */
#toggle.on span {
  background-color: transparent;
}

#toggle.on span:before {
  transform: rotate(45deg) translate(5px, 5px);
}
#toggle.on span:after {
  transform: rotate(-45deg) translate(7px, -8px);
}

#toggle.on + #menu {
  opacity: 1;
  visibility: visible;
}

/* menu appearance*/
#menu {
  display: block;
  position: fixed;
  top: var(--menu-toggle-top);
  color: #999;
  width: max-content;
  padding: 0.25rem;
  margin: auto;
  text-align: left;
  border-radius: 4px;
  background: white;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.05);
  /* just for this demo */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s;
}

ul,
li,
li a {
  list-style: none;
  display: block;
  margin: 0;
  padding: 0;
}
#menu li a {
  padding: 0.25rem;
  color: #888;
  text-decoration: none;
  transition: all 0.2s;
}

#menu li a:hover,
#m3nu li a:focus {
  background: #1abc9c;
  color: #fff;
}
/* EoF Menu Toggle*/

/* BoF Menu Title */
.menu-title {
  display: flex;
  padding-left: 1rem;
  padding-right: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* EoF Menu Title*/

/* -------------------------------------------------
*	04. MODAL Settings
*  ---------------------------------------------- */

@media only screen and (max-width: 575px) {
  .modal-dialog {
    max-width: 90%;
  }
}

@media only screen and (min-width: 576px) and (max-width: 767px) {
  .modal-dialog {
    max-width: 90%;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .modal-dialog {
    max-width: 90%;
  }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .modal-dialog {
    max-width: 85%;
  }
}

@media only screen and (min-width: 1200px) and (max-width: 1399px) {
  .modal-dialog {
    max-width: 85%;
  }
}

@media only screen and (min-width: 1400px) and (max-width: 1899px) {
  .modal-dialog {
    max-width: 80%;
  }
}

@media only screen and (min-width: 1900px) {
  .modal-dialog {
    max-width: 70%;
  }
}

.app-btn-start {
  align-self: flex-start;
}

/* -------------------------------------------------
*	05. FORM Settings
*  ---------------------------------------------- */

.content-overflow {
  overflow-y: auto;
}

.app-form_width100per {
  max-width: 100%;
}
.app-form_width95per {
  max-width: 95%;
}
.app-form_width90per {
  max-width: 90%;
}
.app-form_width85per {
  max-width: 85%;
}
.app-form_width80per {
  max-width: 80%;
}
.app-form_width75per {
  max-width: 75%;
}
.app-form_width70per {
  max-width: 70%;
}
.app-form_width65per {
  max-width: 65%;
}
.app-form_width60per {
  max-width: 60%;
}
.app-form_width55per {
  max-width: 55%;
}
.app-form_width50per {
  max-width: 50%;
}

/* -------------------------------------------------
* CLEARK Settings
* All setting are in-line settings
*  ---------------------------------------------- */
.pvs-cl-user-btn {
  display: flex;
}

/* -------------------------------------------------
* Display CPU Serial Number
* All setting are in-line settings
*  ---------------------------------------------- */
.cpu-serial {
  border-top: 0.25rem #7752fe;
  border-bottom: 0.25rem #7752fe;
  background-color: var(--primary-bg-color);
}
