.container h2{ margin:0 0 36px 0; font-size: 20px; font-family: Adobe Heiti Std; font-weight: bold; color: #333333; text-align: center; } .container .contentNav { display: flex; justify-content: center; flex-wrap: wrap; margin:34px 0 ; } .container .contentNav .menuBtn { position: relative; margin: 0 62px 24px; height: 36px; font-size: 18px; font-family: Adobe Heiti Std; font-weight: normal; color: #999999; cursor: pointer; } .container .contentNav .menuBtn.active { color: #004080; } .container .contentNav .menuBtn.active::after { content: ''; position: absolute; bottom: 0; left: 50%; width: 42px; height: 1px; background: #004080; transform: translateX(-50%); } .formContainer { display: flex; justify-content: space-between; flex-wrap: wrap; margin: 60px auto 0; width: 1200px; font-size: 16px; font-family: PingFang; font-weight: 500; color: #333333; line-height: 17px; } .formContainer input{ margin: 14px 0 68px; width: 562px; height: 48px; background: #F9F9F9; border: 1px solid #E4E4E4; box-sizing: border-box; } .formContainer textarea{ margin-top: 14px; width: 100%; height: 198px; background: #F9F9F9; border: 1px solid #E4E4E4; border-radius: 2px; box-sizing: border-box; resize: none; } .formContainer .fileUp{ width: 100%; height: auto; border: 0; background: #fff; } .formContainer input:focus,.formContainer textarea:focus{ outline: none; } .forms .sendBtn{ margin: 56px auto 72px; width: 181px; height: 58px; background: #004080; border-radius: 2px; font-size: 18px; font-family: PingFang; font-weight: bold; color: #FFFFFF; line-height: 58px; text-align: center; cursor: pointer; } @media only screen and (max-width:1200px ){ .formContainer{ width: auto; } .formContainer input{ margin-bottom: 10px; min-width: 300px; width: 100%; } .formContainer div{ margin-left: 20px; margin-right: 20px; width: 100%; } .container .contentNav{ margin: 18px 0; } .container .contentNav .menuBtn{ margin-left: 10px; margin-right: 10px; margin-bottom: 0; font-size: 12px; height: auto; line-height: 30px; } .container .contentNav .menuBtn.active::after{ width: 22px; } .container h2{ display: none; } }