.shelves { padding: 1em; } .shelves .box { max-width: 30em; padding: 2em; } .shelves .form { max-width: 25em; margin: auto; } .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; }