.tabs-vertical{ background-color: #f7f7f7; max-width: 1200px; margin:0 auto; text-align: center; border-radius: 2px; margin-top:-70px; } /* The tabs */ .tabs-vertical ul{ width:271px; background:#003d7c; float: left; list-style: none; text-align: left; margin-top:-70px; padding-bottom:30px; } .tabs-vertical ul li{ margin-right: -1px; } .tabs-vertical ul li a{ display: block; text-decoration: none; color: #fff; border: 1px solid transparent; border-right: 0; border-left: 0; font-size:16px; padding: 10px 40px 10px 20px; } .tabs-vertical ul li a.tab-active { background-color: #ffffff; box-shadow: 0px 2px 0px #EFEFEF; color:#003d7c; } /* The content */ .tabs-vertical .tabs-content-placeholder{ width:903px; float:right; margin-top:-70px; overflow: hidden; font-weight: normal; background-color: #fff; padding: 20px 40px 45px; } .tabs-vertical .tabs-content-placeholder div{ display: none; } .tabs-vertical .tabs-content-placeholder div.tab-content-active{ display: block; } .tabs-vertical .tabs-content-placeholder div p{ color: #565a5c; line-height: 1.5; text-align: left; margin: 5px 0 20px; } .tabs-vertical .tabs-content-placeholder div img{ max-width: 100%; } @media (max-width: 600px) { .tabs-vertical ul{ float: none; } .tabs-vertical ul li{ display: inline-block; margin-bottom: -1px; } .tabs-vertical ul li a{ border: 1px solid transparent; border-bottom: 0; border-top: 0; padding: 12px 15px; } .tabs-vertical ul li a.tab-active { border-color: #dddddd; background-color: #ffffff; box-shadow: 2px 0px 0px #EFEFEF; } .tabs-vertical ul li:first-child a{ border-left: 0; } .tabs-vertical .tabs-content-placeholder{ padding: 15px 30px 30px; border-left: 0; border-top: 1px solid #dddddd; box-shadow: 0px -3px 0px #F3F3F3; } }