
:root {
  --bgcolor: #F5F6FA;
  --context: #fff;
  --white: #fff;
  --whitelight: rgba(255, 255, 255, 0.8);
  --primary: #00c1f1;
  --secondary: #686cbb;
  --dark: #434885;
  --light: #868ac2;
  --lightbg: rgba(11,105,227,.2);
  --lighthover: rgba(84, 90, 167, 0.1);
  --verylight: #a8abd3;
  --additon: #2ea295;
  --header: #D8DCEB /*#e7ebee*/;
  --title: #522761;
  --label: #707077;
  --link: #428bca;
  --line: #C0C6DF;
  --lineselect: #0176C3;
  --select: #D4D8E9;
  --selected: #ff7913;
  --success: #28a745;
  --info: #17a2b8;
  --warning: #f5df9c;
  --danger: #eb9fa6;
  --error: #efc3c7;
  --font-primary: iransans;
  --loading: url('/themes/base/images/loading.gif');
  --sending: url('/themes/base/images/indicator.gif');
}


*, ::after, ::before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
}

img {
  border: none;
}

a {
  text-decoration: none;
  outline: none;
}
/*font*/
.sp-font-large {
  font-size: 16px !important;
}

.sp-font-normal {
  font-size: 14px !important;
}

.sp-font-small {
  font-size: 12px !important;
}

.sp-font-primary {
  font-family: var(--font-primary);
}

.sp-font-bold {
  font-weight: bold;
}

.sp-font-italic {
  font-style: italic;
}
/*color*/
.sp-primary {
  color: var(--primary) !important;
}

.sp-portal {
  color: #703293 !important;
}

.sp-white {
  color: var(--white) !important;
}

.sp-black {
  color: var(--dark) !important;
}

.sp-orange {
  color: #ff5947 !important;
}

.sp-blue {
  color: #00a1e6 !important;
}

.sp-green {
  color: #20e43a !important;
}

.sp-red {
  color: #e43d20 !important;
}

.sp-yellow {
  color: #ffd800 !important;
}

.sp-bg-white {
  background-color: var(--white) !important;
  color: var(--dark);
}

.sp-bg-select {
  background-color: var(--select) !important;
}

.sp-bg-selected {
  background-color: var(--selected) !important;
}

.sp-bg-primary {
  background-color: var(--primary);
  color: var(--white);
}

.sp-bg-success {
  background-color: var(--success) !important;
  color: var(--white);
}

.sp-bg-info {
  background-color: var(--info) !important;
  color: var(--white);
}

.sp-bg-warning {
  background-color: var(--warning) !important;
  color: var(--white);
}

.sp-bg-danger {
  background-color: var(--danger) !important;
  color: #721c24;
  border-color: #f5c6cb;
}

.sp-bg-error {
  background-color: var(--error) !important;
  color: var(--white);
}

.sp-bg-black {
  background-color: var(--dark) !important;
}


.sp-bg-header {
  background-color: var(--header) !important;
}

.sp-bg-orange {
  background-color: #ff5947 !important;
}

.sp-bg-blue {
  background-color: #20a8d8 !important
}

.sp-bg-green {
  background-color: #4dbd74 !important;
}

.sp-bg-red {
  background-color: #f86c6b !important;
}

.sp-bg-yellow {
  background-color: #ffc107 !important;
}

.sp-bg-grey {
  color: #000 !important;
  background-color: #f1f1f1 !important;
}
.sp-bg-verylight
{
  background-color: var(--verylight);
}

.sp-hidden {
  opacity: 0 !important;
  visibility: hidden !important;
}

.sp-visible {
  opacity: 1;
  visibility: visible !important;
}

.sp-none {
  display: none !important;
}

.sp-block {
  display: block !important;
}

.sp-background {
  background-color: var(--bgcolor) !important;
}

.sp-nobackground {
  background: none !important;
  color: var(--title);
}

.sp-disabled, .sp-disabled:focus, .sp-disabled:hover {
  color: #777;
  cursor: not-allowed !important;
  background-color: #eee;
}
/*direction & align*/
.sp-rtl {
  direction: rtl !important;
}

.sp-ltr {
  direction: ltr !important;
}

.sp-right {
  text-align: right;
  padding: 5px;
  vertical-align: middle;
}

.sp-left {
  text-align: left;
  vertical-align: middle;
  padding: 5px;
}

.sp-justify {
  text-align: justify;
  vertical-align: middle;
  padding: 5px;
}

.sp-center {
  text-align: center !important;
  vertical-align: middle;
  justify-content: center;
  align-items: center;
}

.sp-float-right {
  float: right;
}

.sp-float-left {
  float: left;
}

.sp-float-none {
  float: none;
}
/*text*/
.sp-upper {
  text-transform: uppercase;
}

.sp-lower {
  text-transform: lowercase;
}

.sp-capitalize {
  text-transform: capitalize;
}
/*display*/
.sp-d-none {
  display: none !important;
}

.sp-d-inline {
  display: inline !important;
}

.sp-d-inline-block {
  display: inline-block !important;
}

.sp-d-block {
  display: block !important;
}

.sp-d-table {
  display: table !important;
}

.sp-d-table-cell {
  display: table-cell !important;
}

.sp-d-table-row {
  display: table-row !important;
}

.sp-d-flex {
  display: flex !important;
}

.sp-d-inline-flex {
  display: inline-flex !important;
}
/*print*/
@media print {
  .sp-d-print, .sp-d-print-block {
    display: block !important;
  }

  .sp-d-print-none {
    display: none !important;
  }
}
/*align*/
.sp-a-top, .sp-at {
  vertical-align: top;
}

.sp-a-bottom, .sp-ab {
  vertical-align: bottom;
}

.sp-a-middle, .sp-am {
  vertical-align: middle;
}

.sp-a-stretch, .sp-as {
  align-items: stretch;
}

/*border*/
.sp-border, .sp-b {
  border: 1px solid var(--line);
}

.sp-b-dashed, sp-b-d {
  border-style: dashed;
}

.sp-b-top, .sp-bt {
  border-top: 1px solid var(--line);
}

.sp-b-right, .sp-br {
  border-right: 1px solid var(--line);
}

.sp-b-bottom, .sp-bb {
  border-bottom: 1px solid var(--line);
}

.sp-b-left, .sp-bl {
  border-left: 1px solid var(--line);
}

.sp-b-primary {
  border-color: var(--primary);
}

.sp-b-secondary {
  border-color: var(--secondary);
}

.sp-b-light {
  border-color: var(--light);
}

/*Border size*/
.sp-b-1 {
  border-width: 1px;
}

.sp-b-2 {
  border-width: 2px;
}

.sp-b-3 {
  border-width: 3px;
}

.sp-b-4 {
  border-width: 4px;
}

.sp-b-5 {
  border-width: 5px;
}

.sp-b-6 {
  border-width: 6px;
}
/*round*/
.sp-r-0 {
  border-radius: 0;
}

.sp-r-1 {
  border-radius: 8.33333%;
}

.sp-r-2 {
  border-radius: 16.66667%;
}

.sp-r-3 {
  border-radius: 25%
}

.sp-r-4 {
  border-radius: 33.33333%;
}

.sp-r-5 {
  border-radius: 41.66667%;
}

.sp-r-6 {
  border-radius: 50%;
}

.sp-rp-1 {
  border-radius: .25rem !important;
}

.sp-rp-2 {
  border-radius: .5rem !important;
}

.sp-rp-3 {
  border-radius: 1rem !important;
}

.sp-rp-4 {
  border-radius: 1.5rem !important;
}

.sp-rp-5 {
  border-radius: 3rem !important;
}

.sp-rp-6 {
  border-radius: 5rem !important;
}
/*shadow*/
.sp-s-none {
  box-shadow: none;
}

.sp-s {
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
}

.sp-s-small, .sp-ss {
  box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important;
}

.sp-s-large, .sp-sl {
  box-shadow: 0 1rem 3rem rgba(0,0,0,.175) !important;
}

/*line-height*/
.sp-lh-1 {
  line-height: .25rem !important;
}

.sp-lh-2 {
  line-height: .5rem !important;
}

.sp-lh-3 {
  line-height: 1rem !important;
}

.sp-lh-4 {
  line-height: 1.25rem !important;
}

.sp-lh-5 {
  line-height: 1.5rem !important;
}

.sp-lh-6 {
  line-height: 2rem !important;
}
/*margin*/
.sp-m-auto {
  margin: auto !important;
}

.sp-m-0 {
  margin: 0 !important;
}

.sp-m-1 {
  margin: .25rem !important;
}

.sp-m-2 {
  margin: .5rem !important;
}

.sp-m-3 {
  margin: 1rem !important;
}

.sp-m-4 {
  margin: 1.5rem !important;
}

.sp-m-5 {
  margin: 3rem !important;
}

.sp-m-6 {
  margin: 5rem !important;
}

.sp-mb-0 {
  margin-bottom: 0 !important;
}

.sp-mb-1 {
  margin-bottom: .25rem !important;
}

.sp-mb-2 {
  margin-bottom: .5rem !important;
}

.sp-mb-3 {
  margin-bottom: 1rem !important;
}

.sp-mb-4 {
  margin-bottom: 1.5rem !important;
}

.sp-mb-5 {
  margin-bottom: 3rem !important;
}

.sp-mt-0 {
  margin-top: 0 !important;
}

.sp-mt-1 {
  margin-top: .25rem !important;
}

.sp-mt-2 {
  margin-top: .5rem !important;
}

.sp-mt-3 {
  margin-top: 1rem !important;
}

.sp-mt-4 {
  margin-top: 1.5rem !important;
}

.sp-mt-5 {
  margin-top: 3rem !important;
}

.sp-ml-0 {
  margin-left: 0 !important;
}

.sp-ml-1 {
  margin-left: .25rem !important;
}

.sp-ml-2 {
  margin-left: .5rem !important;
}

.sp-ml-3 {
  margin-left: 1rem !important;
}

.sp-ml-4 {
  margin-left: 1.5rem !important;
}

.sp-ml-5 {
  margin-left: 3rem !important;
}

.sp-mr-0 {
  margin-right: 0 !important;
}

.sp-mr-1 {
  margin-right: .25rem !important;
}

.sp-mr-2 {
  margin-right: .5rem !important;
}

.sp-mr-3 {
  margin-right: 1rem !important;
}

.sp-mr-4 {
  margin-right: 1.5rem !important;
}

.sp-mr-5 {
  margin-right: 3rem !important;
}
/*padding*/
.sp-p-0 {
  padding: 0 !important;
}

.sp-p-1 {
  padding: .25rem !important;
}

.sp-p-2 {
  padding: .5rem !important;
}

.sp-p-3 {
  padding: 1rem !important;
}

.sp-p-4 {
  padding: 1.5rem !important;
}

.sp-p-5 {
  padding: 3rem !important;
}

.sp-pb-0 {
  padding-bottom: 0 !important;
}

.sp-pb-1 {
  padding-bottom: .25rem !important;
}

.sp-pb-2 {
  padding-bottom: .5rem !important;
}

.sp-pb-3 {
  padding-bottom: 1rem !important;
}

.sp-pb-4 {
  padding-bottom: 1.5rem !important;
}

.sp-pb-5 {
  padding-bottom: 3rem !important;
}

.sp-pt-0 {
  padding-top: 0 !important;
}

.sp-pt-1 {
  padding-top: .25rem !important;
}

.sp-pt-2 {
  padding-top: .5rem !important;
}

.sp-pt-3 {
  padding-top: 1rem !important;
}

.sp-pt-4 {
  padding-top: 1.5rem !important;
}

.sp-pt-5 {
  padding-top: 3rem !important;
}

.sp-pl-0 {
  padding-left: 0 !important;
}

.sp-pl-1 {
  padding-left: .25rem !important;
}

.sp-pl-2 {
  padding-left: .5rem !important;
}

.sp-pl-3 {
  padding-left: 1rem !important;
}

.sp-pl-4 {
  padding-left: 1.5rem !important;
}

.sp-pl-5 {
  padding-left: 3rem !important;
}

.sp-pr-0 {
  padding-right: 0 !important;
}

.sp-pr-1 {
  padding-right: .25rem !important;
}

.sp-pr-2 {
  padding-right: .5rem !important;
}

.sp-pr-3 {
  padding-right: 1rem !important;
}

.sp-pr-4 {
  padding-right: 1.5rem !important;
}

.sp-pr-5 {
  padding-right: 3rem !important;
}
/*width*/
.sp-w {
  width: 100% !important;
}

.sp-w-1 {
  width: 8.33333% !important;
  max-width: 8.33333%;
}

.sp-w-2 {
  width: 16.66667% !important;
  max-width: 16.66667%;
}

.sp-w-3 {
  width: 25% !important;
  max-width: 25%
}

.sp-w-4 {
  width: 33.33333% !important;
  max-width: 33.33333%;
}

.sp-w-5 {
  width: 41.66667% !important;
  max-width: 41.66667%;
}

.sp-w-6 {
  width: 50% !important;
  max-width: 50%;
}

.sp-w-7 {
  width: 58.33333% !important;
  max-width: 58.33333%
}

.sp-w-8 {
  width: 66.66667% !important;
  max-width: 66.66667%
}

.sp-w-9 {
  width: 75% !important;
  max-width: 75%
}

.sp-w-10 {
  width: 83.33333% !important;
  max-width: 83.33333%
}

.sp-w-11 {
  width: 91.66667% !important;
  max-width: 91.66667%
}

.sp-w-12 {
  width: 100% !important;
  max-width: 100%
}

.sp-wp-1 {
  width: 80px !important;
  max-width: 80px;
}

.sp-wp-2 {
  width: 160px !important;
  max-width: 160px;
}

.sp-wp-3 {
  width: 240px !important;
  max-width: 240px;
}

.sp-wp-4 {
  width: 320px !important;
  max-width: 320px;
}

.sp-wp-5 {
  width: 400px !important;
  max-width: 400px;
}

.sp-wp-6 {
  width: 480px !important;
  max-width: 480px;
}

.sp-wp-7 {
  width: 560px !important;
  max-width: 560px;
}

.sp-wp-8 {
  width: 640px !important;
  max-width: 640px;
}

.sp-wp-9 {
  width: 720px !important;
  max-width: 720px;
}

.sp-wp-10 {
  width: 800px !important;
  max-width: 800px;
}

.sp-wp-11 {
  width: 900px !important;
  max-width: 900px;
}

.sp-wp-12 {
  width: 1000px !important;
  max-width: 1000px;
}

.sp-wm-1 {
  max-width: 80px !important;
}

.sp-wm-2 {
  max-width: 160px !important;
}

.sp-wm-3 {
  max-width: 240px !important;
}

.sp-wm-4 {
  max-width: 320px !important;
}

.sp-wm-5 {
  max-width: 400px !important;
}

.sp-wm-6 {
  max-width: 480px !important;
}

.sp-wm-7 {
  max-width: 560px !important;
}

.sp-wm-8 {
  max-width: 640px !important;
}

.sp-wm-9 {
  max-width: 720px !important;
}

.sp-wm-10 {
  max-width: 800px !important;
}

.sp-wm-11 {
  max-width: 900px !important;
}

.sp-wm-12 {
  max-width: 1000px !important;
}

.sp-wn-1 {
  min-width: 80px !important;
}

.sp-wn-2 {
  min-width: 160px !important;
}

.sp-wn-3 {
  min-width: 240px !important;
}

.sp-wn-4 {
  min-width: 320px !important;
}

.sp-wn-5 {
  min-width: 400px !important;
}

.sp-wn-6 {
  min-width: 480px !important;
}

.sp-wn-7 {
  min-width: 560px !important;
}

.sp-wn-8 {
  min-width: 640px !important;
}

.sp-wn-9 {
  min-width: 720px !important;
}

.sp-wn-10 {
  min-width: 800px !important;
}

.sp-wn-11 {
  min-width: 900px !important;
}

.sp-wn-12 {
  min-width: 1000px !important;
}

/*height*/
.sp-h-auto {
  height: fit-content;
}

.sp-h {
  height: 100% !important;
}

.sp-h-1 {
  height: 8.33333% !important;
}

.sp-h-2 {
  height: 16.66667% !important;
}

.sp-h-3 {
  height: 25% !important;
}

.sp-h-4 {
  height: 33.33333% !important;
}

.sp-h-5 {
  height: 41.66667% !important;
}

.sp-h-6 {
  height: 50% !important;
}

.sp-h-7 {
  height: 58.33333% !important;
}

.sp-h-8 {
  height: 66.66667% !important;
}

.sp-h-9 {
  height: 75% !important;
}

.sp-h-10 {
  height: 83.33333% !important;
}

.sp-h-11 {
  height: 91.66667% !important;
}

.sp-h-12 {
  height: 100% !important;
  max-height: 100%
}

.sp-hp-1 {
  height: 40px !important;
  max-height: 40px !important;
}

.sp-hp-2 {
  height: 80px !important;
  max-height: 80px !important;
}

.sp-hp-3 {
  height: 120px !important;
  max-height: 120px !important;
}

.sp-hp-4 {
  height: 160px !important;
  max-height: 160px !important;
}

.sp-hp-5 {
  height: 200px !important;
  max-height: 200px !important;
}

.sp-hp-6 {
  height: 240px !important;
  max-height: 240px !important;
}

.sp-hp-7 {
  height: 260px !important;
  max-height: 260px !important;
}

.sp-hp-8 {
  height: 320px !important;
  max-height: 320px !important;
}

.sp-hp-9 {
  height: 350px !important;
  max-height: 350px !important;
}

.sp-hp-10 {
  height: 400px !important;
  max-height: 400px !important;
}

.sp-hp-11 {
  height: 500px !important;
  max-height: 500px !important;
}

.sp-hp-12 {
  height: 600px !important;
  max-height: 600px !important;
}
/*Max Height*/
.sp-hm-1 {
  max-height: 40px !important;
}

.sp-hm-2 {
  max-height: 80px !important;
}

.sp-hm-3 {
  max-height: 120px !important;
}

.sp-hm-4 {
  max-height: 160px !important;
}

.sp-hm-5 {
  max-height: 200px !important;
}

.sp-hm-6 {
  max-height: 240px !important;
}

.sp-hm-7 {
  max-height: 260px !important;
}

.sp-hm-8 {
  max-height: 320px !important;
}

.sp-hm-9 {
  max-height: 350px !important;
}

.sp-hm-10 {
  max-height: 400px !important;
}

.sp-hm-11 {
  max-height: 500px !important;
}

.sp-hm-12 {
  max-height: 600px !important;
}
/*Min Height*/
.sp-hn-1 {
  min-height: 40px !important;
}

.sp-hn-2 {
  min-height: 80px !important;
}

.sp-hn-3 {
  min-height: 120px !important;
}

.sp-hn-4 {
  min-height: 160px !important;
}

.sp-hn-5 {
  min-height: 200px !important;
}

.sp-hn-6 {
  min-height: 240px !important;
}

.sp-hn-7 {
  min-height: 260px !important;
}

.sp-hn-8 {
  min-height: 320px !important;
}

.sp-hn-9 {
  min-height: 350px !important;
}

.sp-hn-10 {
  min-height: 400px !important;
}

.sp-hn-11 {
  min-height: 500px !important;
}

.sp-hn-12 {
  min-height: 600px !important;
}

.sp-pointer {
  cursor: pointer !important;
}
/*Layout*/
.sp-panel {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-basis: 100%;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 0.25rem;
  margin-bottom: 0.5rem;
}

.sp-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-basis: 100%;
  flex-direction: column;
}

.sp-header {
  background-color: var(--header);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
  padding: 5px;
  border-radius: 3px;
  text-align: center;
}

.sp-line {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-flex-basis: 100px;
  flex-basis: 100%;
  margin-right: -5px;
  margin-left: -5px;
  margin-bottom: 10px;
}

.sp-title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  vertical-align: top;
  flex-direction: column;
  /*flex: 0 0 20%;*/
  min-width: 20%;
  font-weight: bold;
  text-align: left;
  padding: 3px
}

.sp-value {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  vertical-align: top;
  flex-direction: column;
  /*flex: 0 0 80%;*/
  max-width: 80%;
  text-align: left;
  padding: 3px
}

.sp-alert {
  position: relative;
  margin: 1rem;
  padding: 1rem;
  border: 1px solid rgba(10, 10, 10, 0.25);
  border-radius: 0;
  background-color: white;
  color: #0a0a0a;
  border-radius: 3px;
}

/*Row-col*/
.sp-row, .sp-r {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-flex-basis: 100px;
  flex-basis: 100%;
  margin-right: -5px;
  margin-left: -5px;
}

.sp-col, .sp-col-1, .sp-col-2, .sp-col-3, .sp-col-4, .sp-col-5, .sp-col-6,
.sp-col-7, .sp-col-8, .sp-col-9, .sp-col-10, .sp-col-11, .sp-col-12,
.sp-c, .sp-c-1, .sp-c-2, .sp-c-3, .sp-c-4, .sp-c-5, .sp-c-6,
.sp-c-7, .sp-c-8, .sp-c-9, .sp-c-10, .sp-c-11, .sp-c-12 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  vertical-align: top;
  position: relative;
  width: 100%;
  padding-right: 5px;
  padding-left: 5px;
}

.sp-col, .sp-col-1, .sp-c, .sp-c-1 {
  -webkit-flex: 0 0 8.33333%;
  -ms-flex: 0 0 8.33333%;
  flex: 0 0 8.33333%;
  max-width: 8.33333%;
}

.sp-col-2, .sp-c-2 {
  -webkit-flex: 0 0 16.66667%;
  -ms-flex: 0 0 16.66667%;
  flex: 0 0 16.66667%;
  max-width: 16.66667%;
}

.sp-col-3, .sp-c-3 {
  -webkit-flex: 0 0 25%;
  -ms-flex: 0 0 25%;
  flex: 0 0 25%;
  max-width: 25%
}

.sp-col-4, .sp-c-4 {
  -webkit-flex: 0 0 33.33333%;
  -ms-flex: 0 0 33.33333%;
  flex: 0 0 33.33333%;
  max-width: 33.33333%;
}

.sp-col-5, .sp-c-5 {
  -webkit-flex: 0 0 41.66667%;
  -ms-flex: 0 0 41.66667%;
  flex: 0 0 41.66667%;
  max-width: 41.66667%;
}

.sp-col-6, .sp-c-6 {
  -webkit-flex: 0 0 50%;
  -ms-flex: 0 0 50%;
  flex: 0 0 50%;
  max-width: 50%;
}

.sp-col-7, .sp-c-7 {
  -webkit-flex: 0 0 58.33333%;
  -ms-flex: 0 0 58.33333%;
  flex: 1 158.33333%;
  max-width: 58.33333%
}

.sp-col-8, .sp-c-8 {
  -webkit-flex: 0 0 66.66667%;
  -ms-flex: 0 0 66.66667%;
  flex: 0 0 66.66667%;
  max-width: 66.66667%
}

.sp-col-9, .sp-c-9 {
  -webkit-flex: 0 0 75%;
  -ms-flex: 0 0 75%;
  flex: 0 0 75%;
  max-width: 75%
}

.sp-col-10, .sp-c-10 {
  -webkit-flex: 0 0 83.33333%;
  -ms-flex: 0 0 83.33333%;
  flex: 0 0 83.33333%;
  max-width: 83.33333%
}

.sp-col-11, .sp-c-11 {
  -webkit-flex: 0 0 91.66667%;
  -ms-flex: 0 0 91.66667%;
  flex: 0 0 91.66667%;
  max-width: 91.66667%
}

.sp-col-12, .sp-c-12 {
  -webkit-flex: 0 0 100%;
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  max-width: 100%
}

/*medium*/
@media screen and (max-width: 64em) {
  .sp-col, .sp-col-1, .sp-col-2, .sp-col-3, .sp-col-4, .sp-col-5, .sp-col-6,
  .sp-c, .sp-c-2, .sp-c-3, .sp-c-4, .sp-c-5, .sp-c-6 {
    flex: 0 0 50%;
    max-width: 50%
  }

  .sp-col-7, .sp-col-8, .sp-col-9, .sp-col-10, .sp-col-11, .sp-col-12, .sp-c-7, .sp-c-8, .sp-c-9, .sp-c-10, .sp-c-11, .sp-c-12 {
    flex: 0 0 100%;
    max-width: 100%
  }

  .sp-cm-1, .sp-cm {
    flex: 0 0 8.33333%;
    max-width: 8.33333%;
  }

  .sp-cm-2 {
    flex: 0 0 16.66667%;
    max-width: 16.66667%;
  }

  .sp-cm-3 {
    flex: 0 0 25%;
    max-width: 25%
  }

  .sp-cm-4 {
    -ms-flex: 0 0 33.33333%;
    flex: 0 0 33.33333%;
    max-width: 33.33333%;
  }

  .sp-cm-5 {
    -ms-flex: 0 0 41.66667%;
    flex: 0 0 41.66667%;
    max-width: 41.66667%;
  }

  .sp-cm-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }

  .sp-cm-7 {
    flex: 0 0 58.33333%;
    max-width: 58.33333%
  }

  .sp-cm-8 {
    flex: 0 0 66.66667%;
    max-width: 66.66667%
  }

  .sp-cm-9 {
    flex: 0 0 75%;
    max-width: 75%
  }

  .sp-cm-10 {
    flex: 0 0 83.33333%;
    max-width: 83.33333%
  }

  .sp-cm-11 {
    flex: 0 0 91.66667%;
    max-width: 91.66667%
  }

  .sp-cm-12 {
    flex: 0 0 100%;
    max-width: 100%
  }
}


/*small*/
@media screen and (max-width: 40em) {
  .sp-col, .sp-col-1, .sp-col-2, .sp-col-3, .sp-col-4, .sp-col-5, .sp-col-6,
  .sp-col-7, .sp-col-8, .sp-col-9, .sp-col-10, .sp-col-11, .sp-col-12,
  .sp-c, .sp-c-2, .sp-c-3, .sp-c-4, .sp-c-5, .sp-c-6,
  .sp-c-7, .sp-c-8, .sp-c-9, .sp-c-10, .sp-c-11, .sp-c-12 {
    flex: 0 0 100%;
    max-width: 100%
  }

  .sp-cs-1, .sp-cs {
    flex: 0 0 8.33333%;
    max-width: 8.33333%;
  }

  .sp-cs-2 {
    flex: 0 0 16.66667%;
    max-width: 16.66667%;
  }

  .sp-cs-3 {
    flex: 0 0 25%;
    max-width: 25%
  }

  .sp-cs-4 {
    -ms-flex: 0 0 33.33333%;
    flex: 0 0 33.33333%;
    max-width: 33.33333%;
  }

  .sp-cs-5 {
    -ms-flex: 0 0 41.66667%;
    flex: 0 0 41.66667%;
    max-width: 41.66667%;
  }

  .sp-cs-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }

  .sp-cs-7 {
    flex: 0 0 58.33333%;
    max-width: 58.33333%
  }

  .sp-cs-8 {
    flex: 0 0 66.66667%;
    max-width: 66.66667%
  }

  .sp-cs-9 {
    flex: 0 0 75%;
    max-width: 75%
  }

  .sp-cs-10 {
    flex: 0 0 83.33333%;
    max-width: 83.33333%
  }

  .sp-cs-11 {
    flex: 0 0 91.66667%;
    max-width: 91.66667%
  }

  .sp-cs-12 {
    flex: 0 0 100%;
    max-width: 100%
  }
}



.sp-html {
  text-align: left !important;
  font-family: inherit;
  font-size: 14px;
  direction: ltr !important;
}



/*Table*/
.sp-table {
  width: auto;
  border-spacing: 5px;
  border-width: 0;
  direction: ltr;
  border-radius: 6px;
  border: 1px solid var(--line);
  box-sizing: border-box;
  overflow: hidden;
  background-color: var(--bgcolor);
  display: block;
}

.sp-table-row {
  width: 100%;
  display: block;
}

.sp-table-cell {
  display: inline-block;
}

.sp-wait-page {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: black;
  text-align: center;
  height: 100%;
  z-index: 90000;
  opacity: 0.6;
  filter: alpha(opacity=60);
  color: var(--white);
}

/*tab*/
.sp-tab {
  padding-top: 5px;
  width: 100%;
  border-bottom: 4px solid var(--light);
  overflow: hidden;
  transition: border 250ms ease;
}

.sp-tab-item {
  display: inline-block;
  padding: 10px 24px 8px;
  background-color: #FFF;
  z-index: 2;
  position: relative;
  cursor: pointer;
  color: #777;
  text-transform: uppercase;
  transition: all 250ms ease;
  background-color: var(--bgcolor);
  margin-left: 46px;
}

.sp-tab-item a {
  color: #777;
}

.sp-tab-item:before, .sp-tab-item:after {
  display: block;
  content: " ";
  position: absolute;
  top: 0;
  height: 100%;
  width: 44px;
  background-color: var(--bgcolor);
  transition: all 250ms ease;
  z-index: 2;
}

.sp-tab-item:before {
  right: -24px;
  transform: skew(30deg, 0deg);
  box-shadow: rgba(0,0,0,.1) 3px 2px 5px, inset rgba(255,255,255,.09) -1px 0;
  border-radius: 0 8px 0 0;
}

.sp-tab-item:after {
  left: -24px;
  transform: skew(-30deg, 0deg);
  box-shadow: rgba(0,0,0,.1) -3px 2px 5px, inset rgba(255,255,255,.09) 1px 0;
  border-radius: 8px 8px 0 0;
}

.sp-tab-item:hover, .sp-tab-item:hover::after, .sp-tab-item:hover::before {
  background-color: var(--verylight);
}

.sp-tab-item-small, .sp-tab-small {
  margin-right: 5px;
  margin-left: 15px;
  padding: 10px 12px 8px;
}


.sp-tab-item-small:before, .sp-tab-item-small:after,
.sp-tab-small:before, .sp-tab-small:after {
  width: 22px;
}

.sp-tab-item-small:before, .sp-tab-small:before {
  right: -12px;
  transform: skew(14deg, 0deg);
}

.sp-tab-item-small:after, .sp-tab-small:after {
  left: -12px;
  transform: skew(-14deg, 0deg);
}


.sp-tab-active, .sp-tab-active a {
  background-color: var(--light);
  color: var(--white);
  z-index: 3;
}

.sp-tab-active:after, .sp-tab-active:before {
  background-color: var(--light);
  z-index: 3;
}

.sp-tab-active:hover, .sp-tab-active:hover::after, .sp-tab-active:hover::before {
  background-color: var(--light);
}

.sp-tab-image {
  display: inline-block;
}

.sp-tab-text {
  display: inline-block;
}

.sp-tab-item img {
  width: 20px;
}

.sp-tab-header {
  height: 45px;
  border-bottom: 1px solid var(--line);
  background-color: var( --whitelight);
}

.sp-tab-header li {
  text-align: center;
}

.sp-tab-header a {
  height: 29px;
  padding-top: 15px;
  display: block;
}

.sp-tab-header .active {
  border-bottom: 2px solid var(--light);
}

.sp-tab-body {
  padding-top: 10px;
}

.sp-image-large {
  text-align: center;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(100,100,100, 0.5);
}
/*Ultra*/
*[ultra-action] {
  color: var(--verylight);
}

*[ultra-action] img {
  filter: opacity(20%) grayscale(70%);
}

.sp-ultra-active {
  cursor: pointer !important;
  color: inherit;
}

.sp-ultra-active img {
  filter: inherit;
}

input[type=button].sp-ultra-active, input[type=submit].sp-ultra-active, button.sp-ultra-active {
  background-color: var(--dark) !important;
}

.sp-ultra-active.sp-ultra-wait img {
  content: url(/themes/Base/images/bgloading.gif) !important;
}

.sp-ultra-help {
  cursor: help !important;
}

.sp-ultra-deactive {
  cursor: no-drop !important;
}

.sp-ultra-wait {
  cursor: wait !important;
}

input[type=button].sp-ultra-wait, input[type=submit].sp-ultra-wait, button.sp-ultra-wait {
  background-image: url(/themes/Base/images/white/loading.gif) !important;
}

/*Grid*/
.sp-grid, .sp-g {
  clear: both;
  cursor: pointer;
  border: 1px solid var(--line);
  white-space: normal;
  border-radius: 3px;
  margin: 0.25%;
}

.sp-grid-header, .sp-g-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-direction: row;
  flex: 0 1 auto;
  flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-basis: 100%;
  border-bottom: 1px solid var(--line);
  cursor: default;
  color: var(--white);
  text-align: center;
  min-height: 46px;
  background-color: var(--primary);
  border-radius: 3px 3px 0 0;
  justify-content: center;
}

.sp-grid-header .sp-grid-cell, .sp-g-header .sp-g-cell {
  border-right: 1px solid var(--line);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-direction: column;
  text-align: center;
  vertical-align: top;
  box-sizing: border-box;
  padding: .75rem .15rem;
  background-repeat: no-repeat;
  background-position: center right;
  overflow: hidden;
}

.sp-grid-header .sp-grid-sorting, .sp-g-header .sp-g-sorting {
  background-image: url(/themes/base/images/sort_both.png);
}

.sp-grid-header .sp-grid-sorting-asc, .sp-g-header .sp-g-sorting-asc {
  background-image: url(/themes/base/images/sort_asc.png)
}

.sp-grid-header .sp-grid-sorting-desc, .sp-g-header .sp-g-sorting-desc {
  background-image: url(/themes/base/images/sort_desc.png)
}

.sp-grid-header .sp-grid-cell:last-child, .sp-g-header .sp-g-cell:last-child {
  border-right: none;
}

.sp-grid-footer, .sp-g-footer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-direction: row;
  flex: 0 1 auto;
  flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-basis: 100%;
  cursor: default;
  background-color: var(--header);
  color: var(--label);
  font-weight: bold;
  min-height: 40px;
  padding-left: 10px;
  border-top: 1px solid var(--line);
  border-radius: 0 0 3px 3px;
  justify-content: center;
}


.sp-grid-footer .sp-grid-cell, .sp-g-footer .sp-g-cell {
  margin-top: 3px;
  height: 35px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: .4rem .15rem 0.1rem;
  vertical-align: top;
  min-width: 4%;
}

.sp-grid-footer .sp-grid-cell a, .sp-g-footer .sp-g-cell a {
  border: 1px solid;
  padding: 2px 10px;
}

.sp-grid-footer .sp-grid-select, .sp-g-footer .sp-g-select {
  background-color: #537291;
}

.sp-grid-row, .sp-g-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-direction: row;
  flex: 0 1 auto;
  flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-basis: 100%;
  background-color: var(--context);
  border-top: none;
  cursor: pointer;
  color: var(--label);
  text-align: center;
  justify-content: center;
  min-height: 35px;
}

.sp-grid-row:hover, .sp-g-row:hover {
  background-color: var(--select);
  border-top: none;
  cursor: pointer;
  color: black;
  text-align: center;
  transition: all 0.5s ease-in-out;
}

.sp-grid-row:hover .sp-g-cell img, .sp-g-row:hover .sp-g-cell img,
.sp-g-row:hover .sp-g-cell i, .sp-grid-row:hover .sp-grid-cell i {
  filter: none;
  transition: all 0.5s ease-in-out;
}

.sp-grid-row:nth-child(odd), .sp-g-row:nth-child(odd) {
  background-color: var(--bgcolor);
  border-top: none;
}

.sp-grid-row .sp-grid-cell, .sp-g-row .sp-g-cell {
  margin-top: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  vertical-align: top;
  box-sizing: border-box;
  padding: .5rem .15rem;
}

.sp-grid-row .sp-grid-cell:last-child, .sp-g-row .sp-g-cell:last-child {
  border-right: none;
}

.sp-grid-cell img, .sp-g-cell img {
  width: 25px;
  height: 25px;
  filter: opacity(20%) grayscale(70%);
  margin: auto;
}

.sp-g-cell i, .sp-grid-cell i {
  filter: opacity(20%) grayscale(70%)
}


.sp-grid-cell a, .sp-g-cell a {
  display: block;
}

.sp-grid-row .sp-grid-cell, .sp-g-row .sp-g-cell {
  white-space: nowrap;
  overflow: hidden; /* "overflow" value must be different from "visible" */
  text-overflow: ellipsis;
}

.sp-grid-multi .sp-grid-cell, .sp-g-multi .sp-g-cell {
  white-space: pre-wrap;
  overflow: hidden; /* "overflow" value must be different from "visible" */
  text-overflow: ellipsis;
}

/*dialog*/
.sp-dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.75);
  z-index: 69999;
  display: none;
}

.sp-dialog {
  position: absolute;
  background-color: var(--bgcolor);
  width: 450px;
  top: 2%;
  left: 1%;
  display: none;
  z-index: 70000;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  box-shadow: 0 0 16px 0 black;
  max-width: 95%;
}

.sp-dialog-base {
  height: 100%;
  max-width: 100%;
  overflow: auto;
  vertical-align: top;
}

.sp-dialog-main {
  padding-top: 15px;
  background-color: var(--bgcolor);
  color: #343434;
  font-weight: normal;
  border-radius: 10px 10px 0 0;
  margin: 5px;
  padding: 5px;
  vertical-align: top;
  overflow: auto;
}

.sp-dialog-button {
  position: absolute;
  right: -15px;
  top: -15px;
}

.sp-dialog-button img {
  width: 30px;
  height: 30px;
}

.sp-auto {
  max-width: none;
  flex-direction: column;
  flex: auto;
}

.sp-content {
  max-width: none;
  flex-direction: column;
  flex-basis: 0;
  padding-right: 5px;
  padding-left: 5px;
}


.sp-bar {
  width: 100%;
  overflow: hidden;
}

.sp-bar .sp-bar-item {
  padding: 8px 16px;
  float: left;
  width: auto;
  border: none;
  display: block;
  outline: 0;
}

.sp-bar-panel {
  display: none;
}

/*Buttons*/
.sp-btn {
  display: inline-block;
  padding: 8px 4px;
  vertical-align: middle;
  overflow: hidden;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
  color: var(--white);
  background-color: var(--light);
  border: 1px solid var(--secondary);
  margin: 0 2px;
  font-family: var(--font-primary);
  padding-right: 34px !important;
  background: url(/themes/Base/images/white/button.png) no-repeat var(--verylight) 90% !important;
  background-size: 20px 20px !important;
  width: fit-content;
  border-radius: 3px;
}

.sp-btn span, .sp-btn span {
  color: var(--white);
  float: left;
  margin: 4px;
  padding-right: 10px;
}

.sp-btn-small {
  font-size: 0;
  min-width: 33px;
  background-position-x: 50% !important
}

.sp-btn-save {
  height: 35px !important;
  min-width: 100px;
  padding-right: 34px !important;
  border-color: green !important;
  background: url(/themes/Base/images/white/save.png) no-repeat var(--verylight) 90% !important;
  background-size: 20px 20px !important;
  border-radius: 3px;
}

.sp-btn-save:hover {
  border-color: #168a73;
  -webkit-transition: background .3s ease;
  transition: background .3s ease;
}

.sp-btn-delete {
  height: 35px !important;
  min-width: 100px;
  padding-right: 34px !important;
  border-color: red !important;
  background: url(/themes/Base/images/white/delete.png) no-repeat var(--dark) 90% !important;
  background-size: 20px 20px !important;
  border-radius: 3px;
}

.sp-btn-delete:hover {
  border-color: #168a73;
  -webkit-transition: background .3s ease;
  transition: background .3s ease;
}

.sp-btn-new {
  height: 35px !important;
  min-width: 100px;
  padding-right: 34px !important;
  background: url(/themes/Base/images/white/new.png) no-repeat var(--dark) 90% !important;
  background-size: 20px 20px !important;
  border-radius: 3px;
}

.sp-btn-new:hover {
  border-color: #168a73;
  -webkit-transition: background .3s ease;
  transition: background .3s ease;
}

.sp-btn-edit {
  height: 35px !important;
  min-width: 100px;
  padding-right: 34px !important;
  border-color: green !important;
  background: url(/themes/Base/images/white/edit.png) no-repeat var(--dark) 90% !important;
  background-size: 20px 20px !important;
  border-radius: 3px;
}

.sp-btn-edit:hover {
  border-color: #168a73;
  -webkit-transition: background .3s ease;
  transition: background .3s ease;
}

.sp-btn-cancel {
  height: 35px !important;
  min-width: 100px;
  padding-right: 34px !important;
  background: url(/themes/Base/images/white/cancel.png) no-repeat #D8DCEB 90% !important;
  background-size: 20px 20px !important;
  color: #707077 !important;
  border: 1px solid var(--line) !important;
  font-weight: 100;
  border-radius: 3px;
}


.sp-btn-print {
  height: 35px !important;
  min-width: 100px;
  padding-right: 34px !important;
  background: url(/themes/Base/images/white/print.png) no-repeat var(--dark) 90% !important;
  background-size: 20px 20px !important;
  font-weight: 100;
  border-radius: 3px;
}

.sp-btn-search {
  height: 35px !important;
  min-width: 100px;
  padding-right: 34px !important;
  background: url(/themes/Base/images/white/search.png) no-repeat var(--dark) 90% !important;
  background-size: 20px 20px !important;
  font-weight: 100;
  border-radius: 3px;
}

.sp-btn-export {
  height: 35px !important;
  min-width: 100px;
  padding-right: 34px !important;
  border-color: green !important;
  background: url(/themes/Base/images/white/export.png) no-repeat var(--dark) 90% !important;
  background-size: 20px 20px !important;
  border-radius: 3px;
}

.sp-btn-preview {
  height: 35px !important;
  min-width: 100px;
  padding-right: 34px !important;
  border-color: green !important;
  background: url(/themes/Base/images/white/preview.png) no-repeat var(--dark) 90% !important;
  background-size: 20px 20px !important;
  border-radius: 3px;
}

.sp-btn-filter {
  height: 35px !important;
  min-width: 100px;
  padding-right: 34px !important;
  border-color: green !important;
  background: url(/themes/Base/images/white/Filter.png) no-repeat var(--verylight) 90% !important;
  background-size: 20px 20px !important;
  border-radius: 3px;
}

.sp-btn-star {
  height: 35px !important;
  min-width: 100px;
  padding-right: 34px !important;
  border-color: green !important;
  background: url(/themes/Base/images/white/favorite.png) no-repeat var(--verylight) 90% !important;
  background-size: 20px 20px !important;
  border-radius: 3px;
}

.sp-btn-class {
  height: 35px !important;
  min-width: 100px;
  padding-right: 34px !important;
  border-color: green !important;
  background: url(/themes/Base/images/white/class.png) no-repeat var(--verylight) 90% !important;
  background-size: 20px 20px !important;
  border-radius: 3px;
}

.sp-btn-chart {
  height: 35px !important;
  min-width: 100px;
  padding-right: 34px !important;
  border-color: green !important;
  background: url(/themes/Base/images/white/chart.png) no-repeat var(--verylight) 90% !important;
  background-size: 20px 20px !important;
  border-radius: 3px;
}

.sp-btn-visible {
  height: 35px !important;
  min-width: 100px;
  padding-right: 34px !important;
  border-color: green !important;
  background: url(/themes/Base/images/white/visible.png) no-repeat var(--verylight) 90% !important;
  background-size: 20px 20px !important;
  border-radius: 3px;
}

.sp-btn-hidden {
  height: 35px !important;
  min-width: 100px;
  padding-right: 34px !important;
  border-color: green !important;
  background: url(/themes/Base/images/white/hidden.png) no-repeat var(--verylight) 90% !important;
  background-size: 20px 20px !important;
  border-radius: 3px;
}
/*alignment*/
.sp-direction {
  direction: ltr
}

.sp-align {
  text-align: left;
}


/*form*/
.sp-form, .sp-f {
  clear: both;
  display: block;
  background-color: var(--context);
  border-spacing: 0;
  margin: 0.25%;
  border-radius: 3px;
}

.sp-form-row::before, .sp-f-row::before {
  margin: 0;
  padding: 0;
  display: none;
}

.sp-form-row, .sp-f-row {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--line);
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  direction: ltr;
  flex-wrap: wrap;
  -ms-flex-wrap: wrap;
}

.sp-form-row::after, .sp-f-row::after {
  margin: 0;
  padding: 0;
  display: none;
}

.sp-form-row:last-child, .sp-f-row:last-child {
  border: none;
}

.sp-form-title, .sp-f-title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  flex-direction: column;
  text-align: left;
  width: 150px;
  padding: 0;
  padding-bottom: 2px;
  padding-top: 10px;
  margin-top: 0;
  padding-right: 1%;
  font-size: 0.9em;
  border: none;
  color: var(--label);
  vertical-align: top;
  box-sizing: border-box;
  font-weight: bold;
}

.sp-form-editor, .sp-f-editor {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-direction: column;
  width: calc(100% - 150px);
  padding-top: 5px;
  padding-bottom: 5px;
  text-align: left;
  color: var(--label);
  box-sizing: border-box;
  vertical-align: top;
}

.sp-form-detail, .sp-f-detail {
  float: left;
}

.sp-form-row2, .sp-f-row2 {
  width: 50%;
  white-space: normal;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  min-width: 250px;
  min-height: 45px;
  box-sizing: border-box;
  vertical-align: top;
  flex-wrap: wrap;
  -ms-flex-wrap: wrap;
}

.sp-form-row2 .sp-form-title, .sp-f-row2 .sp-f-title {
  width: 150px;
  padding-left: 1%;
}

.sp-form-row2 .sp-form-editor, .sp-f-row2 .sp-f-editor {
  width: calc(100% - 150px);
}

.sp-form-row3, .sp-f-row3 {
  width: 33.333%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  -ms-flex-wrap: wrap;
}

.sp-form-row3 .sp-form-title, .sp-f-row3 .sp-f-title {
  width: 150px;
}

.sp-form-row3 .sp-form-editor, .sp-f-row3 .sp-f-editor {
  width: calc(100% - 150px);
}

.sp-form-editor label, .sp-f-editor label {
  color: var(--label);
  display: block;
  padding: 0;
  font-size: 11px;
  direction: ltr;
  margin-top: 5px;
}


.sp-form input, .sp-form select, .sp-form textarea, .sp-form button,
.sp-f input, .sp-f select, .sp-f textarea, .sp-f button {
  Font: normal 13px;
  font-family: var(--font-primary);
  resize: none;
  direction: ltr;
  vertical-align: top;
  border-radius: 3px;
  border: 1px solid silver;
  padding: 3px;
  margin: 3px;
}

.sp-form textarea, .sp-f textarea {
  resize: both;
  vertical-align: top;
}

.sp-form input[type=checkbox], .sp-f input[type=checkbox] {
  -ms-transform: scale(1.7);
  -moz-transform: scale(1.7);
  -webkit-transform: scale(1.7);
  -o-transform: scale(1.7);
  margin: 10px 0;
}

.sp-form input:disabled, sp-form select:disabled, .sp-form textarea:disabled, .sp-form button:disabled,
.sp-f input:disabled, sp-f select:disabled, .sp-f textarea:disabled, .sp-f button:disabled {
  background-color: #ccc;
}

.sp-form input:read-only, sp-form select:read-only, .sp-form textarea:read-only,
.sp-f input:read-only, sp-f select:read-only, .sp-f textarea:read-only {
  background-color: #faeea7;
}

.sp-form input:focus, .sp-f input:focus {
  border: 1px solid var(--lineselect);
}

.sp-form input[type=button], .sp-form input[type=submit], .sp-form button,
.sp-f input[type=button], .sp-f input[type=submit], .sp-f button {
  height: 30px;
  min-height: 30px;
  display: inline-block;
  font-weight: bold;
  outline: none;
  cursor: pointer;
  margin: 2px;
  background-color: var(--verylight);
  border-radius: 3px;
  color: var(--white);
  text-align: center;
  padding: 0 5px;
  border: 1px solid var(--primary);
  width: fit-content;
}

.sp-form input[type=text]:hover, .sp-form input[type=password]:hover,
.sp-form input[type=number]:hover, .sp-form textarea:hover,
.sp-f input[type=text]:hover, .sp-f input[type=password]:hover,
.sp-f input[type=number]:hover, .sp-f textarea:hover {
  -webkit-transition: background .3s ease;
  transition: background .3s ease;
  box-shadow: 1px 1px 1px #ccc;
}

.sp-form input[type=text]:focus, .sp-form input[type=password]:focus,
.sp-form input[type=number]:focus, .sp-form textarea:focus {
  background-color: #ccecf3;
  border: 1px solid #0176C3;
  box-shadow: 1px 1px 1px #ccc;
  color: black;
}

.sp-form input[type=text], .sp-form input[type=password], .sp-form input[type=number], .sp-form textarea,
.sp-f input[type=text], .sp-f input[type=password], .sp-f input[type=number], .sp-f textarea {
  width: 97%;
  min-height: 30px;
  margin: 2px;
  padding: 2px 3px;
  line-height: 1.2;
  color: #6f849a;
  background-color: var(--white);
  background-image: none;
  border: 1px solid var(--line);
  border-radius: 2px;
  -webkit-transition: border-color ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  -webkit-user-select: text;
  user-select: text;
}

.sp-form input[data-type="date"],
.sp-f input[data-type="date"] {
  position: relative;
}

.sp-form input[data-type="date"] :before,
.sp-f input[data-type="date"] :before {
  background: none;
  display: block;
  font-family: 'FontAwesome';
  content: '\f073';
  /* This is the calendar icon in FontAwesome */
  width: 15px;
  height: 20px;
  position: absolute;
  top: 12px;
  right: 6px;
  color: #999;
}

.sp-form select, .sp-f select {
  width: 97%;
  height: 30px;
  padding: 2px 3px;
  line-height: 1.2;
  color: #6f849a;
  background-color: var(--context);
  border: 1px solid var(--line);
  border-radius: 3px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
  box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
  -webkit-transition: border-color ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

.sp-form select:hover, .sp-f select:focus {
  box-shadow: 1px 1px 1px #ccc;
  background-color: #ccecf3;
  -webkit-transition: background .3s ease;
  transition: background .3s ease;
}

.sp-form .sp-validated, .sp-form .sp-valid,
.sp-f .sp-validated, .sp-f .sp-valid {
  border-color: #34a853 !important;
  padding-right: 2.966971rem !important;
  background-repeat: no-repeat;
  background-position: center right calc(2.966971rem / 4) !important;
  background-size: calc(2.966971rem / 2) calc(2.966971rem / 2) !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2334a853' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e") !important;
}

.sp-form .sp-invalidated, .sp-form .sp-invalid,
.sp-f .sp-invalidated, .sp-f .sp-invalid {
  border-color: #ea4335 !important;
  padding-right: 2.966971rem !important;
  background-repeat: no-repeat;
  background-position: center right calc(2.966971rem / 4) !important;
  background-size: calc(2.966971rem / 2) calc(2.966971rem / 2) !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23ea4335' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23d9534f' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E") !important;
}

.sp-form .detail, .sp-f .detail {
  float: left;
}

.sp-form .box, .sp-f .box {
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  -webkit-box-shadow: 0 0 10px #DCDCDC inset;
  -moz-box-shadow: 0 0 10px #DCDCDC inset;
  box-shadow: 0 0 10px #DCDCDC inset;
}

.sp-form .important, .sp-f .important {
  color: #fc5f5f;
  padding-right: 2px;
  padding-left: 2px;
  position: absolute;
  top: 0;
  left: 0;
}

/*switch*/
.sp-form-switch, .sp-f-switch,
.sp-form .switch, .sp-f .switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 28px;
}

.sp-form-switch input, .sp-f-switch input,
.sp-form .switch input, .sp-f .switch input {
  display: none;
}

.sp-form-switch .slider, .sp-f-switch .slider,
.sp-form .switch .slider, .sp-f .switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background-color: var(--lightbg);
  -webkit-transition: .4s;
  transition: .4s;
}

.sp-form-switch .slider:before, .sp-f-switch .slider:before,
.sp-form .switch .slider:before, .sp-f .switch .slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: var(--white);
  -webkit-transition: .4s;
  transition: .4s;
}

.sp-form-switch input:checked + .slider, .sp-f-switch input:checked + .slider,
.sp-form .switch input:checked + .slider, .sp-f .switch input:checked + .slider {
  background-color: var(--light);
}

.sp-form-switch input:focus + .slider .sp-f-switch input:focus + .slider,
.sp-form .switch input:focus + .slider .sp-f .switch input:focus + .slider {
  box-shadow: 0 0 1px var(--light);
}

.sp-form-switch input:checked + .slider:before, .sp-f-switch input:checked + .slider:before,
.sp-form .switch input:checked + .slider:before, .sp-f .switch input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

.sp-form-switch .slider.round, .sp-f-switch .slider.round,
.sp-form .switch .slider.round, .sp-f .switch .slider.round {
  border-radius: 34px;
  height: 28px;
}

.sp-form-switch .slider.round:before, .sp-f-switch .slider.round:before,
.sp-form .switch .slider.round:before, .sp-f .switch .slider.round:before {
  border-radius: 50%;
}

.sp-form-fixed, .sp-f-fixed {
  position: fixed;
  bottom: 100px;
  left: 0;
  min-width: 20px !important;
  border: 1px solid var(--dark);
  box-shadow: 0 1px 2px #6e7a84;
  border-left: none;
  box-sizing: border-box;
  background-color: var(--primary);
  z-index: 10000;
  border-radius: 0;
  border-radius: 0 10px 10px 0;
  padding-top: 5px;
  padding-bottom: 5px;
}

.sp-form-fixed img, .sp-f-fixed img {
  width: 30px;
  padding: 2px;
  display: block;
}

.sp-ltr .sp-form-row, .sp-ltr .sp-f-row {
  direction: ltr !important;
}

.sp-ltr .sp-form-row2, .sp-ltr .sp-f-row2 {
  direction: ltr !important;
}

.sp-ltr .sp-form-row3, .sp-ltr .sp-f-row3 {
  direction: ltr !important;
}

.sp-ltr .sp-form-title, .sp-ltr .sp-f-title {
  text-align: right;
  padding-right: 1%;
  padding-left: 0;
}

.sp-ltr .sp-form-editor, .sp-ltr .sp-f-editor {
  text-align: left;
}
/*Flat Form*/
.sp-form-flat, .sp-f-f {
  padding: 0 3%;
}

.sp-form-flat .sp-form-row, .sp-f-flat .sp-f-row,
.sp-f-f .sp-form-row, .sp-f-f .sp-f-row {
  border: none;
}

.sp-form-flat .sp-form-title, .sp-f-flat .sp-f-title,
.sp-f-f .sp-form-title, .sp-f-f .sp-f-title {
  padding: 0;
  width: 100%;
}

.sp-form-flat .sp-form-editor, .sp-f-flat .sp-f-editor,
.sp-f-f .sp-form-editor, .sp-f-f .sp-f-editor {
  width: 99%;
  padding-top: 0;
  padding-bottom: 10px;
}

.sp-form-flat .sp-form-row2 .sp-form-editor, .sp-f-flat .sp-f-row2 .sp-f-editor,
.sp-f-f .sp-form-row2 .sp-from-editor, .sp-f-f .sp-f-row2 .sp-f-editor {
  width: 95%;
}

/*Matrial Form*/
.sp-form-material, .sp-f-m {
  padding: 0 3%;
}

.sp-form-material .sp-form-row, .sp-f-mateial .sp-f-row,
.sp-f-m .sp-form-row, .sp-f-m .sp-f-row {
  border: none;
}

.sp-form-material .sp-form-title, .sp-f-mateial .sp-f-title,
.sp-f-m .sp-form-title, .sp-f-m .sp-f-title {
  padding: 0;
  width: 100%;
}

.sp-form-material .sp-form-editor, .sp-f-mateial .sp-f-editor,
.sp-f-m .sp-form-editor, .sp-f-m .sp-f-editor {
  border: none;
  width: 99%;
  padding-top: 0;
  padding-bottom: 10px;
}

.sp-f-m input, .sp-f-m select, .sp-f-m textarea {
  border: none !important;
  border-bottom: 1px solid var(--verylight) !important;
  border-radius: 0 !important;
  box-shadow: none;
}

.sp-f-m input:hover, .sp-f-m select:hover, .sp-f-m textarea:hover,
.sp-f-m input:focus, .sp-f-m select:focus, .sp-f-m textarea:focus {
  border-bottom: 1px solid var(--primary) !important;
  box-shadow: none;
}

.sp-form-material .sp-form-row2 .sp-form-editor, .sp-f-mateial .sp-f-row2 .sp-f-editor,
.sp-f-m .sp-form-row2 .sp-from-editor, .sp-f-m .sp-f-row2 .sp-f-editor {
  width: 95%;
}

/*Board*/
.sp-board {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  flex-basis: 100%;
  margin-right: -5px;
  margin-left: -5px;
}

.sp-card {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  border: 1px solid var(--lightbg);
  border-radius: .286rem;
  vertical-align: top;
  overflow: hidden;
  -webkit-box-shadow: 0 1px 15px 1px rgba(69,65,78,.08);
  -moz-box-shadow: 0 1px 15px 1px rgba(69,65,78,.08);
  box-shadow: 0 1px 15px 1px rgba(69,65,78,.08);
  min-width: 0;
  word-wrap: break-word;
  margin: 0.5% 0.5% 10px 0.5%;
  height: 100%;
  align-items: stretch;
  background-color: var(--context);
}

.sp-card li {
  display: block;
  text-align: left;
  padding-left: 15px;
  margin-top: 7px;
}

.sp-card-disabled label {
  color: silver;
}

.sp-card-disabled img {
  filter: alpha(opacity=50);
}

.sp-card-selected {
  background-color: var(--select);
  /*border: 2px solid #c1c1f3;*/
}

.sp-card-finished {
  background-color: var(--success);
}

.sp-card-header {
  position: relative;
  font-size: 16px;
  font-weight: 400;
  padding: .75rem 1.25rem;
  text-align: left;
  border-radius: 3px 3px 0 0;
  margin-bottom: 0;
  background-color: var(--lighthover);
  border-bottom: 1px solid var(--lightbg);
}

.sp-card-body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex: 1 1 auto;
  -webkit-flex: 1 1 auto;
  flex: 1 1 auto;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  padding: 1rem;
  min-height: 30px;
  display: block;
}

.sp-card-image {
  text-align: center;
  padding: 1rem;
  align-items: stretch;
  height: 100%;
}

.sp-card-image img {
  width: 100%;
  max-width: 100px;
  max-height: 100px;
}

.sp-card-footer {
  position: relative;
  font-size: 17px;
  text-align: center;
  font-weight: 600;
  padding: .75rem 1.25rem;
  background-color: var(--lighthover);
  border-radius: 0 0 3px 3px;
  border-top: 1px solid var(--lightbg);
}

.sp-card-hover img {
  max-width: 35px;
  max-height: 35px;
}

.sp-card-hover {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(0,0,0,0.2);
  width: 100%;
  padding: 0.2em;
  text-align: center;
  transition: visibility 0s, opacity 0.5s linear;
  z-index: 100;
}

.sp-card:hover .sp-card-hover {
  opacity: 1;
  visibility: visible;
}

.sp-card-hover-left {
  bottom: 0;
  width: 42px;
}

.sp-card-hover-right {
  right: 0;
  left: auto;
  bottom: 0;
  width: 42px;
}

.sp-card-hover-bottom {
  bottom: 0;
  top: auto;
}

.sp-card-option {
  float: right;
}

.sp-card-item {
  text-align: left;
}

.sp-card-item-title {
  text-align: left;
}

.sp-card-summary {
  text-align: left;
  box-sizing: border-box;
}

.sp-card-summary2 {
  float: right;
  width: 50%;
  box-sizing: border-box;
}

.sp-card-summary-label {
  font-size: 41px;
  text-align: center
}


.sp-error {
  margin: 10px;
  border: 1px dashed var(--light);
  border-radius: 15px;
  min-height: 400px;
  background-color: var(--bgcolor);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 50px;
}

.sp-error-row {
  display: block;
  min-height: 25px;
}

.sp-error-cell {
  text-align: center;
  width: 99%;
  margin: auto;
  color: silver;
  font-weight: bold;
  background-color: var(--bgcolor);
  z-index: 2;
  position: relative;
}

.sp-error-title {
  color: var(--light);
  font-weight: bold;
  text-transform: uppercase;
  font-size: 2.5em;
  line-height: 120%;
  margin-bottom: 10px;
}

.sp-error-offer {
  padding: 10px;
}

.sp-error-offer a {
  border: 1px solid var(--light);
  border-radius: 50px;
  display: inline-block;
  width: 150px;
  color: var(--primary);
  padding: 5px;
}

.sp-error-detail {
  position: relative;
}

.sp-error-detail img {
  width: 27px;
}

.sp-error-detail:before {
  content: '';
  border-bottom: 2px solid var(--light);
  display: inline-block;
  position: absolute;
  top: 12px;
  left: 5px;
  right: 5px;
}

.sp-error-image {
  width: 100%;
  height: 100%;
  max-width: 350px;
  max-height: 200px;
}

.sp-icon {
  max-width: 30px !important;
  max-height: 30px;
  user-select: none;
}

.sp-icon-small, .sp-i-small, .sp-is {
  max-width: 20px !important;
  max-height: 20px;
  user-select: none;
}

.sp-icon-medium, .sp-i-medium, .sp-im {
  max-width: 25px !important;
  max-height: 25px;
  user-select: none;
}

.sp-icon-large, .sp-i-large, .sp-il {
  max-width: 35px !important;
  max-height: 35px;
  user-select: none;
}

.sp-icon:hover,
.sp-icon-small:hover, .sp-i-small:hover, .sp-is:hover,
.sp-icon-medium:hover, .sp-i-medium:hover, .sp-im:hover,
.sp-icon-large:hover, .sp-i-large:hover, .sp-il:hover {
  -webkit-transform: scale(1.1,1.1);
  -ms-transform: scale(1.1,1.1);
  -o-transform: scale(1.1,1.1);
  transform: scale(1.1,1.1);
}

.sp-notice {
  position: fixed;
  min-width: 300px;
  z-index: 80000;
}


.sp-notice-item {
  display: block;
  padding: 2px 11px 8px 11px;
  font-family: var(--font-primary);
  font-size: 14px;
  padding: 10px;
  margin-top: 4px;
  background-color: #fff;
  color: #333;
  box-shadow: 0 3px 10px rgba(0,0,0,.2);
  -webkit-box-shadow: 0 3px 10px rgba(0,0,0,.2);
  border-radius: 4px;
  -webkit-border-radius: 4px;
}

.sp-notice-title {
  text-align: center;
}

.sp-notice-text {
  width: 220px;
  min-height: 70px;
  text-align: left;
}

.sp-notice-image {
  width: 70px;
  float: left;
}

.sp-notice-image img {
  max-width: 48px;
  max-height: 48px;
}

.sp-notice:hover .sp-notice-close {
  display: block;
}

.sp-notice-info {
  color: #31708f;
  background-color: rgba(217, 237, 247, 0.95);
}

.sp-notice-toast {
  color: #fff;
  background-color: rgba(0,0,0,0.75);
}

.sp-notice-error {
  color: #a94442;
  background-color: rgba(242, 222, 222, 0.95);
}

.sp-notice-warning {
  color: #8a6d3b;
  background-color: rgba(252, 248, 227, 0.95);
}

.sp-notice-success {
  color: #3c763d;
  background-color: rgba(223, 240, 216, 0.95);
}

/** position **/
.sp-notice-top {
  top: 20px;
}

.sp-notice-middle {
  top: 50%;
}

.sp-notice-bottom {
  bottom: 20px;
}

.sp-notice-left {
  left: 20px;
}

.sp-notice-center {
  left: 50%;
  margin-left: -200px;
}

.sp-notice-right {
  right: 20px;
}

.sp-animate-drop {
  -webkit-transform: translateY(-120%);
  -moz-transform: translateY(-120%);
  -o-transform: translateY(-120%);
  transform: translateY(-120%);
  opacity: 0;
}

.sp-group-board {
  width: 98%;
  display: block;
  background-color: var(--bgcoolor);
  border-spacing: 0;
  margin: 1%;
}

.sp-group-item {
  display: inline-block;
  position: relative;
}

.sp-popup-menu {
  position: absolute;
  left: 0;
  top: 35px;
  min-height: 100px;
  min-width: 150px;
  display: none;
  background-color: var(--context);
  border: 1px solid var(--line);
  box-shadow: 1px 1px 2px silver;
  z-index: 10;
  padding: 5px;
  margin: 0;
}

.sp-popup-menu li {
  border-bottom: 1px solid var(--line);
  padding: 5px;
}

.sp-popup-menu li:hover {
  background-color: var(--bgcoolor);
  -webkit-transition: background .3s ease;
  transition: background .3s ease;
}

.sp-display-block {
  display: block;
}


.sp-smart-menu {
  list-style: none;
  margin-top: 50px;
  text-align: center;
}

.sp-smart-menu-item {
  position: relative;
  width: 140px;
  height: 140px;
  display: inline-block;
  text-align: center;
  list-style: none;
  padding-top: 20px;
  vertical-align: top;
}

.sp-smart-menu-item img {
  width: 50px;
  height: 50px;
  z-index: 1;
}

.sp-smart-menu-item:after {
  content: '';
  width: 130px;
  height: 130px;
  padding: 5px;
  left: 0;
  top: 0;
  border-radius: 0 20% 0 20%;
  position: absolute;
  border: 2px solid var(--light);
  background-color: var(--context);
  box-shadow: 2px 2px 2px var(--secondary);
}

.sp-smart-menu-item:hover:after {
  border: 3px solid var(--secondary);
  background-color: rgba(11,105,227,.09);
  -webkit-transition: background .3s ease;
  transition: background .3s ease;
}

.sp-smart-menu-detail {
  position: relative;
  z-index: 2;
}

.sp-business-logo {
  border-radius: 50%;
}
/**LOGIN ***/
.sp-login {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-basis: 100%;
  flex-direction: column;
  min-height: 250px;
  width: 800px;
  margin: 30px auto;
  margin-top: 100px;
  /*border: 1px solid var(--primary);*/
  border-spacing: 5px;
  -webkit-border-radius: 5px 20px 5px 20px;
  border-radius: 5px 20px 5px 20px;
  -moz-border-radius: 5px 20px 5px 20px;
  box-shadow: 0 0 30px rgba(34,80,127,0.4);
  -moz-box-shadow: 0 0 30px rgba(34,80,127,0.4);
  background-color: rgba(255,255,255,0.75);
  color: var(--title);
}

.sp-login-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-basis: 100%;
  flex-direction: row;
}

.sp-login-header {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-basis: 40%;
  flex-direction: column;
  background: var(--primary) url(/themes/Base/Images/loginbg.png) no-repeat;
  background-size: cover;
  background-position: center;
  padding-top: 14%;
  -webkit-border-radius: 5px 0 0 20px;
  border-radius: 5px 0 0 20px;
  -moz-border-radius: 5px 0 0 20px;
}

.sp-login-logo {
  position: absolute;
  right: -37px;
  border: 5px solid white;
  border-radius: 50%;
  overflow: hidden;
  width: 75px;
  height: 75px;
  background: white;
  box-shadow: 0px 0px 8px var(--primary);
  top: calc(50% - 37px);
  text-align: center;
}

.sp-login-logo img {
  max-height: 75px;
  max-width: 75px;
  width: 100%;
  height: 100%;
  position: relative;
}

.sp-login-body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-basis: 60%;
  flex-direction: column;
  padding: 10%;
  -webkit-border-radius: 5px 20px 5px 5px;
  border-radius: 5px 20px 5px 5px;
  -moz-border-radius: 5px 20px 5px 5px;
}

.sp-login-row {
  width: auto;
  padding: 1px 2px;
  margin-top: 15px;
}

.sp-login label {
  color: var(--link);
  font-size: 14px;
  padding: 5px 2px;
}

.sp-login a {
  color: var(--link);
  font-size: 14px;
}

.sp-login input[type=text], .sp-login input[type=password], .sp-login select {
  color: #002541;
  border: none;
  box-shadow: none;
  background-color: rgb(232,240,254);
  width: 97%;
  height: 30px;
  text-align: left;
  direction: ltr;
  padding-left: 3%;
  outline: none;
}

.sp-login input[type=text]:focus, .sp-login input[type=password]:focus, .sp-login select:focus {
  background-color: #fafafa;
}

.sp-login .sp-input {
  position: relative;
  padding: 0;
  padding-left: 30px;
  border-bottom: 1px solid var(--primary);
  outline: none;
  box-sizing: border-box;
  background-color: rgb(232,240,254);
  border-radius: 3px;
}

.sp-login .sp-input i {
  position: absolute;
  left: 0;
  top: -1px;
  bottom: 0;
  color: white;
  background-color: var(--secondary);
  width: 30px;
  text-align: center;
  padding-top: 10px;
  border-radius: 3px 0 0 3px;
}

.sp-login button {
  width: 100%;
  background-color: var(--secondary);
}

.sp-login h1, .sp-login h2 {
  margin: 0;
  color: var(--white);
  text-shadow: 0px 0px 5px black;
}

@media screen and (max-width: 40em) {
  .sp-login {
    width: 100%;
    min-width: 350px;
  }

  .sp-login-header {
    display: none;
  }

  .sp-login-body {
    flex-basis: 100%;
    padding: 5%;
  }
}
/**/
.sp-progress {
  float: left;
  width: 0%;
  height: 100%;
  font-size: 12px;
  line-height: 20px;
  color: #fff;
  text-align: center;
  background-color: #337ab7;
  -webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,.15);
  box-shadow: inset 0 -1px 0 rgba(0,0,0,.15);
  -webkit-transition: width .6s ease;
  -o-transition: width .6s ease;
  transition: width .6s ease;
}
/*list*/
.sp-list, .sp-l {
  padding-left: 0;
  margin-bottom: 20px;
}

.sp-list-item, .sp-l-item {
  position: relative;
  display: block;
  padding: 10px 15px;
  margin-bottom: -1px;
  background-color: #fff;
  border: 1px solid #ddd;
}

.sp-list-item:first-child, .sp-l-item:first-child {
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}

.sp-list-item:last-child, .sp-l-item:last-child {
  margin-bottom: 0;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
}

.sp-list-item:focus, .sp-list-item:hover, .sp-l-item:focus, .sp-l-item:hover {
  color: #555;
  text-decoration: none;
  background-color: #f5f5f5;
}
/*tree*/
.sp-tree, .sp-tree ul, .sp-tree li {
  position: relative;
}

.sp-tree ul {
  list-style: none;
  margin-left: 20px;
}

.sp-tree li {
  list-style-type: none;
  margin: 10px;
}

.sp-tree li::before, .sp-tree li::after {
  content: "";
  position: absolute;
  left: -20px;
}

.sp-tree li::before {
  top: -7px;
  border-left: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  border-radius: 0 0 0 0px;
  width: 20px;
  height: 15px;
}

.sp-tree li::after {
  top: 8px;
  border-left: 1px solid #ccc;
  border-top: 1px solid #ccc;
  border-radius: 0px 0 0 0;
  width: 20px;
  height: 100%;
}

.sp-tree li:last-child::after {
  display: none;
}

.sp-tree li:last-child:before {
  border-radius: 0 0 0 5px;
}

.sp-tree ul > li:first-child::before {
  /*display: none;*/
}

.sp-tree ul > li:first-child::after {
  /*border-radius: 5px 0 0 0;*/
}

.sp-tree-nested {
  display: none;
}

.sp-tree-icon {
  position: absolute;
  top: 50%;
  margin-top: -8px;
  background-repeat: no-repeat;
  left: 0;
}

.sp-tree-icon img {
  width: 20px;
}

.sp-spinner {
  display: inline-block;
  margin: var(--universal-margin);
  border: .25rem solid var(--spinner-back-color);
  border-left: .25rem solid var(--spinner-fore-color);
  border-radius: 50%;
  width: 1.25rem;
  height: 1.25rem;
  animation: spinner-donut-anim 1.2s linear infinite
}
/*Loading*/
.sp-sending {
  text-align: center;
  margin: 0 auto;
}

.sp-sending img {
  content: var(--sending);
}

.sp-loading {
  vertical-align: middle;
  text-align: center;
  margin: 0 auto
}

.sp-loading img {
  content: var(--loading);
}

.sp-main-loading {
}

.sp-main-loading:before {
  content: "";
  position: absolute;
  z-index: 9;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: radial-gradient(rgba(255, 255, 255, 0.82), rgba(104, 108, 187, 0.28));
  transition: all .2s ease-in-out;
}

.sp-main-loading:after {
  content: "";
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: var(--loading) 50% 50% no-repeat
}
/*quick*/
.sp-quick {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  min-width: 250px;
  max-width: 30%;
  z-index: 2000;
  background-color: var(--context);
  -webkit-transform: translate(-100%, 0);
  -ms-transform: translate(-100%, 0);
  -o-transform: translate(-100%, 0);
  transform: translate(-100%,0);
  transition: top 1s,height 1s,-webkit-transform 1s;
  transition: transform 1s,top 1s,height 1s;
  transition: transform 1s,top 1s,height 1s,-webkit-transform 1s;
}

.sp-quick-main {
  z-index: 2000;
  position: relative;
  padding: 5px;
  background-color: var(--context);
  height: 100%;
  overflow-y: auto;
}

.sp-quick-flow {
  content: '';
  width: 50px;
  height: 50px;
  position: absolute;
  background-color: var(--context);
  top: 39px;
  right: -44px;
  border-radius: 50%;
  z-index: 1999;
  display: none;
  padding: 7px;
  box-shadow: 2px 3px 13px grey;
}

.sp-quick-button {
  border-radius: 50%;
  height: 35px;
  width: 35px;
  margin: 0;
  border: none;
  padding: 0;
}

.sp-quick-button:focus {
  border: none;
  border-radius: 50%;
  outline: none;
}

.sp-quick-button img {
  width: 35px;
  height: 35px;
}

.sp-quick-active {
  -webkit-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  -o-transform: translate(0, 0);
  transform: translate(0,0);
  box-shadow: 2px 3px 13px grey;
}

.sp-quick-active .sp-quick-flow {
  display: block;
}
/*scroll*/
.sp-scroll {
  overflow-y: scroll;
  flex-wrap: nowrap;
}

.sp-scroll-y {
  overflow-y: scroll;
  flex-wrap: nowrap;
  overflow-x: hidden;
}

.sp-scroll-x {
  overflow-y: scroll;
  flex-wrap: nowrap;
  overflow-y: hidden;
}
/* Popover */
.sp-popover {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1060;
  display: block;
  max-width: 276px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  text-align: start;
  text-decoration: none;
  text-shadow: none;
  text-transform: none;
  letter-spacing: normal;
  word-break: normal;
  word-spacing: normal;
  white-space: normal;
  line-break: auto;
  font-size: .875rem;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0,0,0,.2);
  border-radius: .3rem;
}

.sp-popover-title {
  padding: .5rem .75rem;
  margin-bottom: 0;
  font-size: 1rem;
  color: inherit;
  background-color: #f7f7f7;
  border-bottom: 1px solid #ebebeb;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.sp-popover-content {
  padding: .5rem .75rem;
  color: #212529;
}

.sp-arrow {
  position: absolute;
  left: calc((.5rem + 1px) * -1);
  width: .5rem;
  height: 1rem;
  margin: .3rem 0;
}

.sp-arrow::before, .sp-arrow::after {
  position: absolute;
  display: block;
  content: "";
  border-color: transparent;
  border-style: solid;
  border-width: .5rem .5rem .5rem 0;
}

.sp-arrow::before, .sp-arrow::after {
  left: 0;
  border-right-color: #f7f7f7;
}

/*note*/
.sp-note {
}

.sp-note-content {
  max-width: 500px;
  margin: auto;
  text-align: center;
  background-repeat: no-repeat;
  min-height: 500px;
  padding-top: 200px;
}

.sp-note-title {
  font-size: 3rem;
  font-weight: bold;
  color: var(--primary);
}

.sp-note-text {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--secondary);
}
