#tools-main {
    margin: auto;
    border: none;
}





#tools-main > .row {
    display: flex;
    /* flex-wrap: wrap; */
    gap: 20px;
}

#tools-main > .row::before,
#tools-main > .row::after {
    display: none;
}

#tools-main > .row > div {
    position: unset !important;
    padding: 10px 15px;
    height: fit-content;

}


#tools-main h3 {
    margin-bottom: 10px;
    font-weight: normal;
    color: var(--primary-dark);
    font-size: 22px;
}

#tools-main dd {
    display: none;
}

#tools-main dl {
    margin-bottom: 0;
}

#tools-main dt {
    height: 30px;
}


#tools-main dt a {
    font-weight: normal;
    color: black;
    font-size: 14px;
}

#tools-main dt a:hover {
    color: var(--primary-light);
}



#tools_letter #toolbar a.cancel {
    height: 31px
}


#tools_letter #toolbar #submit_form {
    border-radius: 4px 0 0 4px !important;
}

#tools_letter #toolbar #submit_form~button {
    border-radius: 0 4px 4px 0 !important;
}

#tools_letter #add_notice fieldset.rows select,
#tools_letter #add_notice fieldset.rows input[type=text] {
    width: 300px !important;
}


/* #415 */
#pcard_edit-layout fieldset.rows label {
    height: unset;
}

#pcard_edit-layout #field_1_text,
#pcard_edit-layout #field_2_text,
#pcard_edit-layout #field_3_text {
    width: 100%;
}


#pcard_edit-layout input[type=radio] {
    margin-right: 3px;
    margin-left: 10px;
}


/* #416 */
#pcard_edit-batch label[for=bor_num_list] {
    flex-wrap: wrap;
}


/* 417 */
#tools_cleanborrowers main li {
    margin-bottom: 5px;
}




#tools_batch_extend_due_dates label[for=preview_results] {
    height: unset;
}



/* #419 */
#tools_picture-upload input#zipfile,
#tools_picture-upload input#image {
    margin-right: 5px;
}


/* #420 */
#tools_batchMod input#use_default_values {
    margin-right: 5px;
}

#tools_batchMod fieldset.rows label {
    height: unset;
}


/* #421 */
#tools_batch_delete_records fieldset.rows label {
    height: unset;
}


/* #422 */
#tools_inventory fieldset.rows label {
    height: unset;
}



/* #423 */
#rcoll_editCollections fieldset.action p {
    display: flex;
    gap: 5px;
}


/* #425 */
#tools_scheduler fieldset.rows span.label {
    width: unset;
}

#tools_scheduler fieldset.rows label {
    width: 118px;
}

#tools_scheduler fieldset.rows div.hint {
    margin-left: 130px;
}


/* #426 */
#tools_quotes #file_upload {
    display: flex;
    align-items: center;
}




.col-sm-push-4 {
    order: 3;
}




#tools_letter #lettert td.actions:last-child {
    display: flex;
    gap: 5px;
    margin-top: 5px;
}



/* 467 */
#rcoll_editCollections input[name=description] {
    width: 100%;
}



#tools_import_borrowers input[type=radio] {
    margin-right: 5px;
}


#tools_viewlog label[for=interfaceOPAC],
#tools_viewlog label[for=interfaceSIP],
#tools_viewlog label[for=interfaceCOMMANDLINE],
#tools_viewlog label[for=interfaceAPI],
#tools_viewlog label[for=interfaceCRON] {
    margin-left: 117px;
}


/* #519, #520 */
#tools_overduerules #rulestabs table tbody tr,
#labels_label-manage #labels-table tbody tr {
    text-align: center
}
