
/*---------------------------------------------------------------------------*/
/*global*/

body,
body label,
body input {
  font-family: 'Monospace', monospace !important;
}
body button {
  font-family: sans-serif !important;
}

/*content*/
main {
  padding-top: 120px;
}

/*misc*/
.hidden {
  display: none;
}
.overflow {
  white-space: nowrap;
  overflow: hidden;
  min-height: 52px;
}

.col-sm-12.m-overflow {
  white-space: nowrap;
  overflow: hidden;
}

.mdc-elevation--z2 {
  box-shadow:
    0 3px 1px -2px rgba(0,0,0,.2),
    0 2px 2px 0 rgba(0,0,0,.14),
    0 1px 5px 0 rgba(0,0,0,.12);
}

/*---------------------------------------------------------------------------*/
/*color modes*/

body.dark {
  filter: invert(100%) hue-rotate(180deg);
  background-color: rgb(25, 25, 25);
}
body.dark .navbar {
  filter: invert(90%) hue-rotate(180deg);
  background-color: transparent;
}
body.dark .m-select {
  background-color: #c5c5c5;
}
body.dark .m-button {
  background-color: #c5c5c5 !important;
}

@media (prefers-color-scheme: dark) {
  body.auto {
    filter: invert(100%) hue-rotate(180deg);
    background-color: rgb(25, 25, 25);
  }
  body.auto .navbar {
    filter: invert(90%) hue-rotate(180deg);
    background-color: transparent;
  }
  body.auto .m-select {
    background-color: #c5c5c5;
  }
  body.auto .m-button {
    background-color: #c5c5c5 !important;
  }
}

/*---------------------------------------------------------------------------*/
/*sticky footer*/

html, body {
  height: 100%;
  padding: 0;
  margin: 0;
}
#wrapper {
  min-height: 100%;
  height: auto !important;
  height: 100%;
  margin: 0 auto -40px;
}
footer, #footer-push {
  height: 40px;
}

/*---------------------------------------------------------------------------*/
/*header menu*/

.nav a,
.nav a:hover,
.nav a:visited,
.nav-underline .nav-link.active {
  color: #fff;
}

/*---------------------------------------------------------------------------*/
/*scrollbar*/

::-webkit-scrollbar,
::-webkit-scrollbar-corner {
  height: 10px;
  width: 10px;
}
::-webkit-scrollbar-track-piece {
  background: #ececec;
  border-radius: 2px;
}
::-webkit-scrollbar-thumb {
  background: #afbdc3;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background-color: #607d8b;
}

/*---------------------------------------------------------------------------*/
/*bootstrap callout*/

.bs-callout {
  border: 1px solid #eee;
  border-left-width: 5px;
  border-left-color: #607d8b;
  border-radius: 3px;
  background: #fcfcfc;
  padding: 20px 20px 10px 20px;
  margin: 0 0 30px 0;
}

/*---------------------------------------------------------------------------*/
/*mdc controls*/

/*button*/
.m-button {
  background-color: #ececec !important;
  color: #000 !important;
}
.m-button:before {
  background-color: rgba(96, 125, 139, 0.56) !important;
}
.m-button:after {
  background-color: rgba(96, 125, 139, 0.56) !important;
}

/*switch*/
.m-switch {
  cursor: pointer;
  /*display: table;*/
  margin: 14px 0;
}
.m-switch .mdc-switch__background {
  display: inline-block;
  bottom: 0px;
  left: 15px;
}
.m-switch .mdc-switch-label {
  font-size: 1rem;
  line-height: 1.5rem;
  padding: 0 0 0 30px;
}

/*textfield*/
.m-textfield {
  font-size: 1rem;
  line-height: 1.5rem;
  width: 100%;
  height: 26px !important;
  margin-left: 10px;
}
.m-textfield input {
  border-bottom: 1px solid #ececec !important;
  padding-top: 3px;
}

/*---------------------------------------------------------------------------*/
/*select*/

.m-select {
  font-size: 14px;
  line-height: 17px;
  color: #000;
  text-transform: uppercase;
  background-color: #ececec;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  padding: 9px 12px;
}

/*---------------------------------------------------------------------------*/
/*misc*/

.navbar-brand {
  font-size: 1.5rem;
}

h4 {
  margin-bottom: 1.5rem;
}

.m-box-add {
  border-left-color: #f1b100;
}

.m-box-refresh {
  border-left-color: #d9534f;
}

.m-origin {
  font-size: 1.3rem;
  padding-left: 10px;
}

.m-btn-file {
  float: right;
  margin-bottom: 12px;
}

.m-btn-all {
  float: right;
  margin-bottom: 12px;
}

.m-btn-add {
  float: right;
}

.m-btn-remove {
  float: right;
  margin-left: 20px;
}

.m-btn-refresh {
  float: right;
}

/*---------------------------------------------------------------------------*/
/*settings*/

.m-settings .m-label {
  display: inline-block;
  font-size: 1rem;
  line-height: 1.5rem;
  padding: 5px 0 5px 0;
}
.m-settings .m-select {
  width: 100%;
  margin-bottom: 20px;
}

.m-content .m-switch,
.m-compiler .m-switch {
  width: 100%;
}

.m-compiler .scroll {
  margin-top: 10px;
  overflow-y: auto;
  overflow-x: hidden;
}
.m-compiler .scroll.max {
  height: 324px;
}

/*---------------------------------------------------------------------------*/
/*custom*/

.m-custom input[type=file] {
  display: none;
}
.m-custom .m-button {
  letter-spacing: 0;
  padding: 0 11px;
  margin-bottom: 20px;
}
.m-custom .m-button:first-of-type {
  margin-right: 10px;
}
.m-custom .m-error {
  color: #dc3545;
  margin-bottom: 10px;
}

/*---------------------------------------------------------------------------*/
/*footer*/

footer {
  text-align: center;
  margin: 0 auto;
}
footer nav {
  font-size: .8rem;
  color: #212529;
}
footer nav a {
  text-decoration: none;
  color: #212529;
}
footer nav a:hover {
  text-decoration: underline;
}
