*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html{
    width: 100%;
    height: 100%;
}
body{
    width: 100%;
    height: 100%;
}
.checkbox,img,.hand-shape{
    cursor: pointer;
}
.header{
    height: 6em;
    padding: 0 17.5%;
}
.header .logo{
    height: 100%;
    width: 30%;
    line-height: 6em;
    float: left;
}
.header .logo img{
    width: 150px;
    margin-left: -7px;
    float: left;
}
.header .logo p{
    float: left;
    margin-left: 0.2em;
    font-weight: bold;
    font-size: 2em;
    color: rgb(60,60,60);
}
.header .search{
    float: right;
    width: 40%;
    border: 2px solid #17b5fe;
    height: 3em;
    margin: 1.5em 0;
}
.header .search .check-type{
    float: left;
    height: 100%;
    width: 20%;
}
.header .search .check-type select{
    height: 100%;
    width: 100%;
    background: rgb(245,245,245);
    border: 1px solid rgb(229,229,229);
    color: rgb(107,107,107);
    text-align: center;
    text-align-last: center;

}
.header .search input{
    float: left;
    height: 100%;
    width: 60%;
    text-indent: 10px;
    font-size: 1.1em;
}
.header .search .button{
    float: left;
    height: 100%;
    line-height: 1.9em;
    background: #17b5fe;
    width: 20%;
    color: #fff;
    font-size: 1.5em;
    text-align: center;
}
.middle{
    width: 65%;
    margin: 0 auto;
}
.middle .cart-header{
    display: flex;
    /*background: rgb(245,245,245);*/
    height: 3em;
    line-height: 3em;
    margin-top: 1em;
}
.middle .null{
    flex:1;
    padding: 1em 0 0 1em;
}
.middle .commodity-info{
    flex:14;
    text-align: center;
    padding: 0 1em;
}

.middle .commodity-attribute{
    flex: 8;
    text-align: center;
    padding: 0 1em;
}
.middle .commodity-price{
    flex: 6;
    text-align: center;
    padding: 0 1em;
}
.middle .commodity-amount{
    flex:5;
    text-align: center;
    padding: 0 1em;
}
.middle .commodity-money{
    flex:5;
    text-align: center;
    padding: 0 1em;
}
.middle .operation{
    flex:10;
    text-align: center;
    padding: 0 1em;
}
.middle .cart-info .info-one{
    margin-top: 1em;
    /*background: rgb(245,245,245);*/
    /*height: 3em;*/
    /*line-height: 3em;*/
    height: 12em;
}
.middle .cart-info .info-one .business-name{
    height: 2em;
}
.middle .cart-info .info-one .one-commodity{
    display: flex;
    border: 1px solid rgb(204,204,204);
    height: 10em;

}
.middle .cart-info .info-one .one-commodity:hover{
    border:1px dashed #17b5fe;
}
.middle .cart-info .info-one .one-commodity .check{
    flex: 1;
    padding: 1em 0 0 1em;
}
.middle .one-commodity .commodity-info{
    flex:14;
    text-align: center;
    padding: 1em;
}
.commodity-info img{
    height: 6rem;
    width: 6rem;
    float: left;
}
.commodity-info .commodity-name{
    float: left;
    width: 10rem;
    margin-left: 1rem;
    text-align: initial;
    color: rgb(60,60,60);
}
.middle .one-commodity .commodity-attribute{
    flex: 8;
    text-align: inherit;
    padding: 1em;
    color: rgb(156,156,156);
}
.middle .one-commodity .commodity-price{
    flex: 6;
    text-align: center;
    padding: 1em;
    font-weight: bold;
}
.middle .one-commodity .commodity-amount{
    flex:5;
    text-align: center;
    padding:1em;
}
.commodity-amount .amount-box{
    width: 5rem;
    display: flex;
    margin: 0 auto;
    height: 2em;
    line-height: 2em;
}
.amount-box .subtraction{
    width: 1rem;
    background: rgb(240,240,240);
    border: 1px solid rgb(240,240,240);
    user-select: none;
}
.amount-box input{
    width: 3rem;

    text-align: center;
}
.amount-box .addition{
    width: 1rem;
    background: rgb(240,240,240);
    border: 1px solid rgb(240,240,240);
    user-select: none;
}
.middle .one-commodity .commodity-money{
    flex:5;
    text-align: center;
    padding: 1em;
    font-weight: bold;
    color: #17b5fe;
}
.middle .one-commodity .operation{
    flex:10;
    text-align: center;
    padding: 1em;
}
.operation p{
    margin-top: 0.2rem;
}
/*.operation p:nth-child(3){
    display: none;
}*/
.arithmetic:hover{
    color: #17b5fe;
    border: 1px solid #17b5fe!important;
}
.frame{
    border: 1px dashed #DBEBFE;
}
.frame:hover{
    border:1px dashed #DBEBFE;
}
.commodity-attribute i{
    display: none;
    float: right;
    margin: -1rem;
}
.commodity-attribute span{
    /*display: none;*/
    float: right;
    margin: -1rem;
    background: #17b5fe;
    color: #fff;
    cursor: pointer;
}

