.self_container { max-width: 1200px; margin: 0 auto; padding: 0 8px; margin-top: 100px; margin-bottom: 5%; } @media (max-width: 800px) { .self_container { margin-top: 60px; } } .self_container img { width: auto; /*reset global*/ max-width: 100%; height: auto; } .self_container ul{ list-style-type: disc; } .self_container .main-tab-group { display: flex; justify-content: space-evenly; } .self_container .main-tab .main-tab-title-en { font-family: sans-serif; font-size: 40px; font-weight: bold; color: #0f80c3; letter-spacing: 2px; } @media (max-width: 800px) { .self_container .main-tab .main-tab-title-en { font-size: 16px; letter-spacing: unset; } } .self_container .main-tab .main-tab-title-cn { font-size: 26px; font-weight: bold; } @media (max-width: 800px) { .self_container .main-tab .main-tab-title-cn { font-size: 16px; } } .self_container .main-tab-active .main-tab-inner { padding-bottom: 1em; border-bottom: 4px solid #0f80c3; display: flex; justify-content: space-between; padding-right: 1em; margin-top:20px; } .self_container .icon-triangle-down { display: none; } .self_container .main-tab-active .icon-triangle-down { display: block; } .icon-triangle-down{ animation: dong 1.5s infinite; position: relative; } @keyframes dong { 0%{ top: 0; } 50%{ top: 10px; } 100%{ top: 0; } } @media (max-width: 800px) { .icon-triangle-down { max-height: 18px; width: auto; } } .self_container .secondary-tab-group { width: 96%; margin: 50px auto; display: flex; } .self_container .secondary-tab { flex: 1; color: #fff; font-size: 20px; font-weight: bold; text-align: center; padding-top: 30px; } .self_container .secondary-tab-active::after { display: block; margin: 20px auto; content: " "; width: 30px; height: 30px; background: url(imgs/arr-bottom.png) no-repeat center; background-size: contain; } .self_container .secondary-tab:nth-of-type(odd) { background-color: #0670c3; } .self_container .secondary-tab:nth-of-type(even) { background-color: #2084ae; } .self_container .company-card { display: flex; box-shadow: -3.355px 4.974px 16px 0px rgba(4, 49, 119, 0.39); } .self_container .company-card:nth-of-type(even) { flex-direction: row-reverse; } .self_container .company-card:not(:first-child) { margin-top: 90px; } .self_container .company-card-content { flex: 0 0 45%; background-color: #2358ab; color: #fff; display: flex; /* align-items: center; */ padding: 5%; /* justify-content: center; */ } .self_container .company-card-image { flex: 0 0 55%; } .self_container .company-card-image img { display: block; max-width: 100%; height: auto; } .self_container .cases { margin-top: 50px; } .self_container .cases > *:not(:first-child) { display: none; } .self_container .secondary-tab-group-wrapper { display: none; } .self_container .main-tab, .secondary-tab { cursor: pointer; } a.company-card-more-button { color: #fff; } @media (max-width: 800px) { .self_container .main-tab-active .main-tab-inner { padding-right: unset; padding-bottom: unset; align-items: center; } .self_container .company-card { flex-direction: column-reverse !important; } .self_container .cases { margin-top: 20px; } .self_container .company-card:not(:first-child) { margin-top: 30px; } .self_container .company-card-content { padding: 8px; font-size: 14px; text-align: right; } .self_container .company-card-content .company-card-name { font-size: 16px; font-weight: bold; text-align: center; } .self_container .company-card-content .company-card-contact-list { text-align: initial; margin: 1em 0; } .self_container .secondary-tab-group { margin-top: 18px; } .self_container .secondary-tab { font-size: 16px; font-weight: normal; padding: 13px; padding-bottom: calc(13px + 14px + 4px); position: relative; } .self_container .secondary-tab-active::after { position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%); width: 14px; height: 14px; margin: 8px auto 0 auto; } }