.photoContainer { max-width: 420px; margin: 0 auto; } .photoContainer img { height: auto !important; } /* Necessary for when tables are stacked, or a table comes after a .photoContainer */ .page-articles-show__content table { clear: both; margin-bottom: 20px; display: flex; margin-bottom: 1rem; justify-content: center; align-items: center; } .page-articles-show__content table td{ max-width: 420px; } img.client-border { border: 1px solid #bbb; } .client-listitems UL { list-style-type: none; margin: 0 auto; text-align: center; margin-left: -40px; } .client-listitems li { display: inline-block; text-align: center; vertical-align: top; width: 300px; } .client-cta-button { padding: 14px 19px; padding: 14px 19px; font-family: "PT Serif", serif; font-weight: 400; background-color: #B5A66B; border-radius: 4px; color: #FFF; display: flex; justify-content: center; line-height: 1.25; text-align: center; transition: 250ms ease-in-out; } a.client-cta-link:link { font-family: "PT Serif", serif; font-weight: 400; color: #ffffff; } a.client-cta-link:visited { font-family: "PT Serif", serif; font-weight: 400; color: #ffffff; } a.client-cta-link:hover { font-family: "PT Serif", serif; font-weight: 400; color: #999999; } a.client-cta-link:active { font-family: "PT Serif", serif; font-weight: 400; color: #ffffff; } ul.client-listitems { margin-left: -30px; } .client-listitems li { display: inline-block; vertical-align: top; width: 300px; margin-right: 30px; } .page-articles-show__content table { margin-left: auto; margin-right: auto; }