/* admin_layout contains general administrative layout on forms*/ .admin_layout { display: grid; margin: auto; margin-top: 10px; padding: 10px; padding-left: 20px; } .admin_layout input[type=text], .admin_layout input[type=password] { max-width: 300px; } .frm_tail { padding: 15px; } .frm2col { grid-template-columns: 30% 1fr; grid-template-rows: 25px 25px 1fr; column-gap: 5px; row-gap: 5px; } .admin_layout label { align-self: center; justify-self: end; margin-right: 15px; } /*Btn placement on 2nd row*/ .frm2col.frm_lostpwd input[type=submit] { grid-column: 2; grid-row: 2; justify-self: start; padding: 3px; min-width: 80px } /*Btn placement on 3rd row*/ .frm2col.frm_login input[type=submit], .frm2col.frm_tok input[type=submit] { grid-column: 2; grid-row: 3; justify-self: start; padding: 3px; min-width: 80px } /*Btn placement on 4th row*/ .frm2col.frm_register input[type=submit] { grid-column: 2; grid-row: 4; justify-self: start; padding: 3px; min-width: 80px }