.shelves { padding: 1em; } .shelves .box { max-width: 40em; padding: 2em; } .shelves .body { max-width: 20em; margin: auto; padding: 0; } .shelves .form-group { padding: 0.4em; } .shelves form label { display: block; margin-bottom: 0.5em; } .shelves input[type=text], .shelves select { margin: 0; width: 100%; } /* Footer */ .shelves .footer { text-align: center; margin-top: 1.5em; } .shelves .footer > button { margin: 0 .2em; }