.item-box {
    margin-bottom: 30px;
    display: block;
}

.item-title {
    width: 100%;
}
.input {
    font-size: 0.8rem;
    font-weight: normal;
    box-shadow: none;
    border-radius: 4px;
    width: calc(100% - 5px);
    height: 2rem;
    padding-left: 5px;
    border: 1px solid #ccc;
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}
span.label-important._right {
    background: #f75957;
    color: #fff;
    font-size: 0.7rem;
    line-height: 1rem;
    margin-top: 0.5rem;
    margin-right: 10px;
    padding: 3px 10px;
    border-radius: 4px;
}

label.item-title-label {
    line-height: 2rem;
}

.note {
    font-size: 0.7rem;
    color: #b8b7b7;
    padding-left: 10px;
    display: none;
}
p.note._default {
    display: block;
}
p.note._error {
    display: block;
    color: #f44336;
}
.input._disable {
    pointer-events: none;
    color: #a5a5a5;
}
.portlet-frame {
    width: 100%;
}
.portlet {
    clear: both;
    margin-top: 0px;
    margin-bottom: 25px;
    padding: 0px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
}
.portlet-title {
    background-color: #eee;
    border-radius: 4px 4px 0 0;
    padding: 15px 5px 2px 15px;
    min-height: 2rem;
}

.portlet-content {
    clear: both;
    background-color: #fff;
    border-radius: 0px 0px 4px 4px;
}

.portlet-box-full .notify {
    margin-left: 1em;
    margin-bottom: 1em;
}

.portlet-action {
    padding: 1em .5em;
    margin: 0;
    background-color: #f5f5f5;
    border-top: 1px solid #e5e5e5;
    text-align: right;
}
.portlet-action .form-button {
    margin-right: .3em; 
}
.portlet-action .form-button:last-child {
    margin-right: 0; 
}
.portlet-box {
    padding: 15px;
    max-width: 900px;
    margin: 0 auto;
}
/*sub page*/
h1 {
    margin: 0px;
    line-height: 2em;
    padding: 1.9em 1em;
    font-size: 0.8rem;
    font-weight: 300;
    color: #666;
}

.page-bar {
    background: #e9e9e9;
}
.page-bar:before, .page-bar:after {
    content: " ";
    display: table;
}
.page-link li {
    display: inline-block;
    list-style: none;
}

h1 span {
    font-size: 1.5rem!important;
    padding-right: 5px;
    font-weight: 300!important;
    letter-spacing: 0rem!important;
    color: #f95b55;
}
.page-link a {
    font-size: 0.8rem;
    line-height: 2rem;
    padding-left: 30px;
}
#home-link:before {
    content: '\f015';
}
.page-link a:before {
    content: '\f105';
}
.content {
    padding: 20px 10px;
    font-size: 0.8rem;
    min-height: 100%;
}
.content._gray {
    background-color: #eee;
}

ul.nav-tabs {
    border: none;
}
ul.nav-tabs li{
    margin-bottom: -1px;
    position: relative;
    display: inline-block;
}
ul.nav-tabs li>a{
    color: #6f6f6f;
    margin-right: 2px;
    line-height: 1.42857143;
    border: 1px solid transparent;
    border-radius: 4px 4px 0 0;
    position: relative;
    display: block;
    padding: 10px 15px;
}
.tab-content {
    background-color: #fff;
    border: 1px solid #ddd;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 2px;
    padding: 10px;
    width: calc(100% - 30px);
}
.sub-tab-content {
    border-bottom: none;
    border-left: none;
    border-right: none;
    padding: 0px;
}
a.selected {
    cursor: default;
    background-color: #fff;
    border: 1px solid #ddd!important;
    border-bottom-color: transparent!important;
    color: #2196F3!important;
}
.tab-pane._hide {
    display: none;
}
.tab-pane {
    display: flex;
    flex-wrap: wrap;
}
.portlet-title .caption, .custom-title .caption, .custom-element-title .caption {
    color: #404040;
    /* float: left; */
    display: inline-block;
    font-size: 1.2em;
    line-height: 1.5rem;
    font-weight: 400;
    margin: 0;
    padding: 0;
    margin-top: 1px;
}

.portlet-title .caption i{
    padding-right: 10px;
}
.tools {
    display: inline-block;
    padding: 0;
    margin: 0;
    float: right;
}
.sub-portlet-title {
    width: 100%;
}
.sub-portlet-content {
    width: 100%;
}
.sub-tools .icon-button {
    color: #00BCD4;
    font-size: 1.2rem;
}
/* virtual portlet */
.virtual-portlet-frame .portlet-title {
    border-radius: 0;
    background: transparent;
    border-bottom: 1px dashed #ddd;
    font-weight: bold;
    margin-bottom: 5px;
}
.virtual-portlet-frame .portlet-title p{
    font-weight: 600;
}
.virtual-portlet-frame .portlet {
    border-radius: 0px;
}
.virtual-portlet-frame .portlet-action {
    padding: 10px 10px;
    margin: 0;
    background-color: transparent;
    border: none;
    text-align: right;
}
@media screen and (min-width: 640px){
    .large-portlet .item-box {
        display: -webkit-box;
    }
    .large-portlet .label-important._right{
        float: right;
        margin-right: 10px;
        font-size: 0.7rem;
    }
    .large-portlet .item-title {
        width: 50%;
        max-width: 350px;
    }
    .large-portlet .item-input {
        width: calc(100% - 380px);
    }
    .small-portlet-frame {
        width: calc(50% - 8px);
    }
    .small-portlet-frame:last-child {
        margin-left: 10px;
    }
    .custom-content {
        display: flex;
    }
}
/* custom pane */
.custom-title{
    padding: 10px 5px 2px 10px;
    height: 2rem;
    border-bottom: 1px solid #ddd;
}
.left-custom {
    flex: 2;
}
.center-custom {
    flex: 4;
}
.right-custom {
    background: #fff;
    z-index: 20;
    flex: 2;
}
/*border tab navigation*/
ul.nav-tabs.border-tabs {
    display: flex;
}

.border-tabs .nav-tab {
    flex: 1;
}
.tab-content.border-tab-content {
    width: auto;
    padding: 0;
}
ul.nav-tabs.border-tabs li a, ul.nav-tabs.border-tabs li a.selected{
    margin: 0px;
    border-top: none!important;
    border-bottom: 1px solid #ddd!important;
    border-right: 1px solid #ddd;
    border-left: none!important;
    border-radius: 0px;
    background: #fff;
    text-align: center;
}
ul.nav-tabs.border-tabs li:first-child a{
    border-left: 1px solid #ddd!important;
}
.custom-element-box {
    width: 100%;
    font-size: .6rem;
}
.custom-element-title {
    height: 1.5rem;
    background: #f2f2f2;
    padding: 2px 5px;
    border-bottom: 1px solid #fff;
}
.custom-element-title .caption{
    font-size: .6rem;
    font-weight: bold;
}

