@import url('https://fonts.googleapis.com/css?family=Noto+Sans+JP&display=swap');
@import url('https://fonts.googleapis.com/css?family=Varela+Round&display=swap');
* {font-family: 'Noto Sans', sans-serif;}
html {height: 100%;}
html,body,tr,td,select,input,textarea,.input-group-addon {font-size: 14px}
body {position: relative; padding: 6em 1em 3em 1em!important; background-color: #fff;margin: 0; min-height: 100%}
body,.textcolor {color: #111!important;}
.btn,.nav-text,.navbar {font-family: 'Varela Round'!important;font-weight: 250%}
#footer {position: absolute; bottom: 3em!important; left: 0; width: 100%;  height: 3em;background-color: #f5f5f5;}
#footer>address {text-align: center; padding: 1em 0!important}
fieldset {border: 1px solid #000!important; border-radius: 8px!important; padding: 0 0.5em!important;}
legend {font-size: 1em; font-weight: bold; text-decoration: none!important; padding: 0!important; margin: 0!important; border-bottom: none!important;width: auto!important}
code {word-wrap: break-word;}
.logoImage {width: 12em}
.navbar {background-color: #fff}
.navbar-nav>li>a {padding:.5em}
.navbar-fixed-top {z-index: 3!important}
.navbar-brand {margin: 0; padding: .5em .8em}
.navbar-link,.context-menu-icon--fa5 i {color: #004f39!important}
.nav-button {text-align: center; width: 6.4em}
.nav-button .label {position: absolute; top: 1em; right: 2em;}
.nav-icon:hover {font-weight: 600!important}
.dropdown-menu.activa.a
.navbar-default .navbar-nav>.active>a,.dropdown-menu>.active>a { background-color: rgba(0, 79, 57, .1)!important}
a {color: #004f39!important;}
.table-header {color: #fff!important; background-color: #004f39!important}
.nav-text,.nobr {white-space: nowrap}
.nav-icon {font-size: 2.6em; font-weight: 300; display: block; color: inherit}
.label-secondary {background-color: #ccc}
.badge {position: absolute; top: .4em; right: .4em; font-size: 1em; background-color: #d9534f}
.page-header {margin: 0 0 1.5em 0}
.no-sort::after {display: none!important; }
.no-sort {cursor: default!important; }
.text-small {font-size: .8em}
.reldiv {float: left; margin-right: .4em;line-height: .8em}
.table-sortable th {vertical-align: top!important;}
.table thead tr,.table-sortable thead tr,.btn-submit,.btn-primary {background-color: rgb(0,79,57,1); color: #fff!important; border: 1px solid transparent}
.btn-submit:hover,.btn-primary:hover {background-color: rgb(0,79,57)!important; color: #fff; border: 1px inset black; text-shadow: 2px 2px #000!important; -webkit-transition: all 0.2s; -moz-transition: all 0.2s; -o-transition: all 0.2s; transition: all 0.2s;}
.bbtn-submit:hover,.bbtn-primary:hover {background-color: rgba(0,79,57,.5); color: #fff; -webkit-transition: all 0.5s; -moz-transition: all 0.5s; -o-transition: all 0.5s; transition: all 0.5s;}
tfoot tr td,tfoot tr th {border-top: 2px double #444!important; padding: .5em .6em!important}

.table-bordered thead:first-child {background-color: #ddd}
.table-bordered .normal {background-color: transparent}
.help-block {font-size: .9em; font-style: italic}
.dataTables_wrapper input,.dataTables_wrapper select {padding: .2em!important; border-radius: 4px!important; border: 1px solid #ccc; line-height: 1!important;}
.dataTables_length label,.dataTables_filter label {font-weight: normal!important}
.text-bold {font-weight: bold!important}
.table-form tr>td,.table-middle tr>td {vertical-align: middle!important;}
.table-form tr>td:first-child {width: 30%; vertical-align: top!important; padding:.5em!important; background-color: rgba(0,79,57,.01)}
.table-form tr>td .static {padding: .5em; font-weight: normal!important}
.table-form input[type='text'],.table-form input[type='password'],.table-form input[type='email'],.table-form textarea,.table-form input[type='url'],.table-form select {display: block; padding: 2px .5em !important; margin: 0 !important; border: 0 !important; width: 100%; border-radius: 0 !important; line-height: 1 !important;}
.table-form textarea {padding-top: .8em!important}
.table-form .datepicker,.table-form .datepicker input {padding: 0 0 0 .5em; border: none; box-shadow: none; border-radius: 0!important;}
.table-form .datepicker .input-group-addon {border: none; border-radius: none}
.table-form .bootstrap-select .btn {border: none!important; padding-left:.5em!important}
.table-form input[type='checkbox'] {display: block; float: left; margin:.2em!important; width: auto!important; }
.table-form tr>td {height: 2.4em!important; margin: 0!important; padding: 0!important;}
.table-form label {display: block; float: left; font-weight: normal; margin: .35em 1em .35em .35em!important}
.table-form tr>td>div {font-weight: bold!important}
.table-form tr>td>div.input-group {font-weight: normal!important}
.table-form tr>td.text-static {padding-left: .5em!important}
.table-form .form-control-static,.table-form .help-block {margin-left: .5em}
.table-form-large tr>td:first-child {width: 60%!important}
.table-reorder tbody>tr>td:first-child {background-color: #eee!important; cursor: move!important;width: 4em!important}
.table-sortable th.no-sort {text-indent: -.22em!important;}
.nopadding {padding: 0 !important;  margin: 0 !important;}
.nopadding:first-child {padding-left: 1.1em!important}
.nopadding:last-child {padding-right: 1.1em!important}
.mcheckbox label {font-weight: normal}
.tab-content{border: 1px solid #ccc; border-top: none; padding:1em}
.sub-header {margin:0; padding: 0; width: 100%}
.summary {width: 300px!important}
.counter {width: 40px!important; text-align: right}
.btn-submit {margin-top: 1em;}
.modal .btn-submit {margin:0!important}
.modal-title {color: #337ab7}
.modal-body {max-height:90%; overflow:auto;}
.panel-heading a,.panel-heading a:hover {text-decoration: none}
.panel-heading a:after {font-family:'FontAwesome'; content:"\f13a"; float: right; color: grey;}
.panel-heading a.collapsed:after {content:"\f139"}
.trash:before {color: rgba(255,0,0,.8)!important}
.explain {margin: 1em 0;}
.columns-4 { columns: 25% 4; -webkit-columns: 25% 4; -moz-columns: 25% 4;}
.mr {margin-right: 0.5em}
.mt {margin-top: 1em}
.mb {margin-bottom: 2em}
hr {clear: both}
.off {display: none}
.bt {border-top: 1px solid #ccc}
.menu {margin-bottom: 2em}
.mmenu>a  {display: block; float: left; text-align: center; background-color: #fff; color: #000; border: 1px solid #000; text-decoration: none; font-size: 1.2em;line-height: 20px; margin: 0 0.5em;}
.menu>a:first-child {margin: 0}
.clickable,.pointer {cursor: pointer!important}
.ml-10 {margin-left: 1em}
.bgcolor-success {background-color: #41d060!important; color: #fff!important}
.bgcolor-info {background-color: #47b8e7!important; color: #fff!important}
.bgcolor-warning {background-color: #fcf8e3!important; color: #8a6d3b!important}
.bgcolor-danger {background-color: #ff3333!important; color: #fff!important}
.color-success,.icon-success:before {color: #41d060!important;}
.color-info {color: #47b8e7}
.color-warning {color: #8a6d3b!important;}
.color-danger,.icon-danger:before {color: #ff3333}
.amount,.currency,.minute,.hour {text-align: right}
td.currency,td.amount,th.currency,th.amount,th.minute,th.hour  {width: 1em; white-space: nowrap}
td.currency:before {content: '€ '}
.form-inline label {display: inline-block; height: 2.2em; line-height: 2.2em; margin: 0;}
.form-inline .form-group {margin:0;}
.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control {background-color: #fcfcfc!important;}
.form-control.alert-danger {background-repeat: no-repeat; background-position: right 10px center; background-image: url(../images/warning.png)!important}
.alert-info {color: rgb(0,79,57); border-color: rgb(0,79,57); background-color: rgba(0,79,57,.1)}
.alert-comment {position: relative; z-index: 9999; top: -2.2em; margin-right: 3em; font-size: .8em; font-weight: bold}
.legend-summary {font-weight: bold}
.text-primary,a.external-link {color: #004f39!important;}
#breadcrumbs {overflow: hidden; width: 100%; margin: 0; padding: 0; list-style: none;}
#breadcrumbs li {float: left; margin: 0 .5em 0 1em;}
#breadcrumbs li>a,#breadcrumbs li>span {background: #ddd; color: #444; position: relative;}
#breadcrumbs li>a {padding: .7em 1em; float: left; text-decoration: none; text-shadow: 0 1px 0 rgba(255,255,255,.5);}
#breadcrumbs li>span {padding: .1em 1em .2em 1em; float: left;}
#breadcrumbs li>a:hover,#breadcrumbs li>span:hover, #breadcrumbs li>span select:hover {background: #2cb249; color: #fff}
#breadcrumbs li>a::before,#breadcrumbs li>span::before {content: ""; position: absolute; top: 50%; padding-left: 1px; margin-top: -1.5em; border-width: 1.5em 0 1.5em 1em; border-style: solid; border-color: #ddd #ddd #ddd transparent; left: -1em;}
#breadcrumbs li>a::after,#breadcrumbs li>span::after {content: ""; position: absolute; top: 50%; padding-left: 1px; margin-top: -1.5em; border-top: 1.5em solid transparent; border-bottom: 1.5em solid transparent; border-left: 1em solid #ddd; right: -1em;}
#breadcrumbs li>a:hover::before,#breadcrumbs li>span:hover::before {border-color: #2cb249 #2cb249 #2cb249 transparent;}
#breadcrumbs li>a:hover::after,#breadcrumbs li>span:hover::after {border-left-color:  #2cb249;}
#breadcrumbs .current {margin: 0.2em .2em 0 1em; font-size: 1.6em; background: none; color: inherit; }
#breadcrumbs .current::after,#breadcrumbs .current::before {content: normal;}
#breadcrumbs li>span select {padding:0!important; margin:.1em 0 0 0; border: none!important; border-radius: none!important; box-shadow: none!important; background: inherit!important; color: inherit;}
.selectize-input {background-color: inherit!important}
.selectize-input {vertical-align: middle; padding:0!important; margin:0 0 0 0; border: none!important; border-radius: none!important; box-shadow: none!important; background: inherit!important; color: inherit;}
.selectize-dropdown,.selectize-input,.selectize-input input {line-height: 2.6em!important}
#breadcrumbs li>span .selectize-input input::-webkit-input-placeholder {color: #222;}
#breadcrumbs li>span .selectize-input input:-moz-placeholder {color: #222; opacity:  1;}
#breadcrumbs li>span .selectize-input input::-moz-placeholder {color: #222; opacity:  1;}
#breadcrumbs li>span .selectize-input input:-ms-input-placeholder {color: #222;}
h1 {color: #004f39; font-size: 1.2em; font-weight: bold}
h2 {color: #004f39; border-bottom: 1px solid #004f39}
h2>button {position: relative; top: -.4em;}
.bgblue {background-color: #1da5de;}
.green {color: #2db24a}
.tooltip > .tooltip-inner {background-color: #2cb349}
.tooltip.top > .tooltip-arrow {border-top: 5px solid #2cb349;}
.tooltip-error + .tooltip > .tooltip-arrow {border-top-color: #a94442}
.tooltip-error + .tooltip > .tooltip-inner {background-color: #a94442!important;}
.label {font-style: italic}
.external-link:hover {text-decoration: none}
.external-link:after {font-family: 'Font Awesome 5 Pro'!important; content: ' \f08e'!important; font-size: .8em; vertical-align: super;}
.bs-callout {margin: 20px 0; padding: 15px 30px 15px 15px; border-left: 5px solid #eee;}
.bs-callout h4 {margin-top: 0; }
.bs-callout p:last-child { margin-bottom: 0;}
.bs-callout code,.bs-callout .highlight {background-color: #fff;}
.bs-callout-danger { background-color: #fcf2f2; border-color: #d9534f;}
.bs-callout-warning {background-color: #fefbed; border-color: #f0ad4e;}
.bs-callout-info {background-color: #f0f7fd; border-color: #5bc0de; }
.modal-backdrop {z-index: 100}
.searchbar {margin-top: .5em; width: 240px}
.inactive {opacity: .6}

.modal.in {
    -webkit-perspective: 2000px;
    -moz-perspective: 2000px;
    -ms-perspective: 2000px;
    -o-perspective: 2000px;
    perspective: 2000px;
  }
  .modal.in .modal-dialog.aside {
    -webkit-transform: -340px;
    -moz-transform: -340px;
    -ms-transform: -340px;
    -o-transform: -340px;
    transform: -340px;
    -webkit-transform: scale(0.8) rotateY(45deg) translateZ(-340px);
    -ms-transform: scale(0.8) rotateY(45deg) translateZ(-340px);
    -o-transform: scale(0.8) rotateY(45deg) translateZ(-340px);
    transform: scale(0.8) rotateY(45deg) translateZ(-340px);
    -webkit-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    transform-style: preserve-3d;
  }
  .modal.in .modal-dialog.aside.aside-1 {
    -webkit-transform: calc(-340px + 40px);
    -moz-transform: calc(-340px + 40px);
    -ms-transform: calc(-340px + 40px);
    -o-transform: calc(-340px + 40px);
    transform: calc(-340px + 40px);
    -webkit-transform: scale(0.8) rotateY(45deg) translateZ(calc(-340px + 40px));
    -ms-transform: scale(0.8) rotateY(45deg) translateZ(calc(-340px + 40px));
    -o-transform: scale(0.8) rotateY(45deg) translateZ(calc(-340px + 40px));
    transform: scale(0.8) rotateY(45deg) translateZ(calc(-340px + 40px));
  }
  .modal.in .modal-dialog.aside.aside-2 {
    -webkit-transform: calc(-340px + (40px * 2));
    -moz-transform: calc(-340px + (40px * 2));
    -ms-transform: calc(-340px + (40px * 2));
    -o-transform: calc(-340px + (40px * 2));
    transform: calc(-340px + (40px * 2));
    -webkit-transform: scale(0.8) rotateY(45deg) translateZ(calc(-340px + (40px * 2)));
    -ms-transform: scale(0.8) rotateY(45deg) translateZ(calc(-340px + (40px * 2)));
    -o-transform: scale(0.8) rotateY(45deg) translateZ(calc(-340px + (40px * 2)));
    transform: scale(0.8) rotateY(45deg) translateZ(calc(-340px + (40px * 2)));
  }

@media (max-width: 768px) {
    body{font-size: 16px;}
}
@media (min-width: 768px) and (max-width: 1250px) {
    .big-only {display: none}
}
@media (max-width: 1250px) {
    .nav-button {text-align: center; width: auto}
    .nav-icon {font-size: 1.2em;margin-right: .5em;}
    .navbar-brand img {width: 170px}
}
