﻿body {
    /*padding-top: 55px; */ /*original 50px*/
    padding-bottom: 0px;
    /*color:black;*/
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 0px;
    padding-right: 3px;
    width: 100%;
}

/* Set width on the form input elements since they're 100% wide by default */
/*input,
select,
textarea {
    max-width: 280px;
}*/

/* styles for validation helpers */
.field-validation-error {
    color: #b94a48;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #b94a48;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #b94a48;
}

.validation-summary-valid {
    display: none;
}



.product-view {
    float: left;
    width: 25%;
    height: 160px;
    box-sizing: border-box;
    border-top: 0;
    position: relative;
}

    .product-view:nth-child(even) {
        border-left-width: 0;
    }

    .product-view dl {
        margin: 10px 10px 0;
        padding: 0;
        overflow: hidden;
    }

    .product-view dt, dd {
        margin: 0;
        padding: 0;
        width: 100%;
        line-height: 18px;
        font-size: 14px;
        /*border:1px solid yellow;*/
    }

    .product-view dt {
        /*border:1px solid red;*/
        font-size: 11px;
        height: 16px;
        line-height: 16px;
        text-transform: uppercase;
        opacity: 0.5;
    }

    .product-view dd {
        /*border:1px solid blue;*/
        height: 16px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

        .product-view dd .k-widget,
        .product-view dd .k-textbox {
            font-size: 14px;
        }

#example .k-listview {
    border-width: 1px 0 0;
    padding: 0;
    overflow: hidden;
    min-height: 298px;
}

.edit-buttons {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: right;
    padding: 5px;
    background-color: rgba(0,0,0,0.1);
}

.k-pager-wrap {
    border-top: 0;
}

span.k-invalid-msg {
    position: absolute;
    margin-left: 6px;
}

.k-add-button {
    margin-bottom: 2em;
}


@media only screen and (max-width : 620px) {
    .product-view
    {
        width: 100%;
    }
    .product-view:nth-child(even) {
        border-left-width: 1px;
    }
}