/* Custom CSS */


/**
 * @file
 * Custom CSS - add your own styles here.
 */

label.ctct-form-listname {
    padding-left: 25px !important;
}

/***** 1238 & 1239 *****/

.field-name-body,
.field-item {
    display: inline-block;
    width: 100%;
}
@media(max-width: 768px) {
    nav {
        line-height: 20px;
        /*line-height: normal;*/
    }
    #user-menu {
        display: block !important;
        float: none !important;
        left: 50% !important;
        transform: translateX(-50%);
        text-align: center;
    }
}

@media(max-width: 600px) {    
    /*RM-1473- preorder badge alignment*/
    .page-search .search-results .search-result .abaproduct-image, .page-browse .search-results .search-result .abaproduct-image {
        margin-top: 2em;
        left: 50%;
        transform: translateX(-50%);
        margin-left: 0;
    }
    .search-result [class*=abaproduct-preorder-] {
        margin-top: 2em;
        left: 50%;
        transform: translateX(-50%);
        margin-left: 0;
        width: 100px;
        text-align: left;
    }
    .page-search .search-results, .page-browse .search-results {
        -webkit-padding-start: 0;
        padding: 15px;
    }
    .page-book .abaproduct-content .abaproduct-preorder-large {
        left: 50%;
        transform: translateX(-50%);
        width: 263px;
    }
    .page-book .abaproduct-content .abaproduct-large-image {
        max-width: 263px;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        text-align: left;
    }
}

/*RM-1473- preorder badge alignment*/
.search-result [class*=abaproduct-preorder-] {
    margin-top: 2em;
}

/*RM-1477- Browse book page alignment*/
.page-browse .views-field-ss-cover-image-small {
    display: flex;
    justify-content: center;
}
