﻿
/*文本框前端或后端单位样式*/
    .input-group {
  position: relative;
  display: table;
  border-collapse: separate;
}
    .input-group {
    border-collapse: separate;
}

    .input-group-addon, .input-group-btn {
    width: 1%;
    white-space: nowrap;
    vertical-align: middle;
}
.input-group-addon, .input-group-btn, .input-group .form-control {
    display: table-cell;
}

.input-group-addon:first-child {
    border-right: 0;
}
.input-group-addon:last-child {
    border-left: 0;
}
.input-group .form-control:last-child, .input-group-addon:last-child, .input-group-btn:last-child > .btn, .input-group-btn:last-child > .btn-group > .btn, .input-group-btn:last-child > .dropdown-toggle, .input-group-btn:first-child > .btn:not(:first-child), .input-group-btn:first-child > .btn-group:not(:first-child) > .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.input-group-addon:last-child {
    border-left: 0;
}
.input-group .form-control:last-child, .input-group-addon:last-child, .input-group-btn:first-child > .btn-group:not(:first-child) > .btn, .input-group-btn:first-child > .btn:not(:first-child), .input-group-btn:last-child > .btn, .input-group-btn:last-child > .btn-group > .btn, .input-group-btn:last-child > .dropdown-toggle {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.input-group-addon {
    padding: 6px 12px;
    font-size: 14px;
    font-weight: normal;
    line-height: 1;
    color: #555;
    text-align: center;
    background-color: #eee;
    border: 1px solid #ccc;
        border-left-color: rgb(204, 204, 204);
        border-left-style: solid;
        border-left-width: 1px;
    border-radius: 4px;
        border-top-left-radius: 4px;
        border-bottom-left-radius: 4px;
}

.input-group .form-control:first-child,
.input-group-addon:first-child,
.input-group-btn:first-child > .btn,
.input-group-btn:first-child > .btn-group > .btn,
.input-group-btn:first-child > .dropdown-toggle,
.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle),
.input-group-btn:last-child > .btn-group:not(:last-child) > .btn {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
/*文本框前端或后端单位样式*/

 .linebreak{
        line-height:15px
    }


 .layui-col-sm-2-1{
     width:calc(50% - 80px)!important
 }


  .layui-col-sm-3-1{
     width:calc(33.3% - 80px)!important
 }

    .layui-col-sm-3-2{
     width:calc(66.6% - 80px)!important
 }

    .layui-col-sm-1{
     width:calc(100% - 80px)!important
 }

        .layui-col-sm-4-1{
     width:calc(25% - 80px)!important
 }

               .layui-col-sm-4-2{
     width:calc(50% - 80px)!important
 }

         .layui-col-sm-4-3{
     width:calc(75% - 80px)!important
 }

.required:before {
    content: '*';
    color: red;
}

 .layui-form-select dl dd, .layui-form-select dl dt {
         white-space:pre-line!important;
    }