/* banner */

.top-area .img-pc {
    background: url(https://usfile.jingdiao.com/uswebsite/images/Series/5-axis/5-axis.png);
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
}
@media only screen and (max-width: 1024px) {
    .top-area .img-m {
        background: url(https://usfile.jingdiao.com/uswebsite/images/Series/5-axis/5-axis-m.png);
        background-position: center;
        background-size: 100%;
        background-repeat: no-repeat;
    }
}

.top-container {
  width: 60%;
  left: 6%;
}
.top-title{
	line-height: 1.3;
}
@media only screen and (max-width: 1599px) {
	.top-container {
	  width: 55%;
	  left: 3%;
	}
}
@media only screen and (max-width: 1299px) {
	.top-container {
	  width: 50%;
	}
}
@media only screen and (max-width: 1080px) {
	.top-title{
		line-height: 1.2;
	}
}
@media only screen and (max-width: 1024px) {
	.top-container {
	  width: 100%;
	  left: 0;
	}
	.top-title{
		line-height: 1.3;
	}
}
/* 精密型 */

#precisionContent .machine-item:nth-child(7) figure {
    background: url(https://usfile.jingdiao.com/uswebsite/images/Series/5-axis/GRA50.png);
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
}
#precisionContent .machine-item:nth-child(6) figure {
    background: url(https://usfile.jingdiao.com/uswebsite/images/Series/5-axis/GRA100.png);
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
}
#precisionContent .machine-item:nth-child(5) figure {
    background: url(https://usfile.jingdiao.com/uswebsite/images/Series/5-axis/GRA200.png);
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
}
#precisionContent .machine-item:nth-child(4) figure {
    background: url(https://usfile.jingdiao.com/uswebsite/images/Series/5-axis/GRA300.png);
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
}
#precisionContent .machine-item:nth-child(3) figure {
    background: url(https://usfile.jingdiao.com/uswebsite/images/Series/5-axis/GRA400.png);
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
}
#precisionContent .machine-item:nth-child(2) figure {
    background: url(https://usfile.jingdiao.com/uswebsite/images/Series/5-axis/GRA500.png);
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
}
#precisionContent .machine-item:nth-child(1) figure {
    background: url(https://usfile.jingdiao.com/uswebsite/images/Series/5-axis/MRA600.png);
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
}

/* 复合型 */

#compoundContent .machine-item:nth-child(2) figure {
    background: url(https://usfile.jingdiao.com/uswebsite/images/Series/5-axis/GRP150.png);
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
}
/* #compoundContent .machine-item:nth-child(2) figure {
    background: url(https://usfile.jingdiao.com/uswebsite/images/Series/5-axis/GRP400.png);
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
} */
#compoundContent .machine-item:nth-child(1) figure {
    background: url(https://usfile.jingdiao.com/uswebsite/images/Series/5-axis/MRP600.png);
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
}

/* 磨削型 */

#grindingContent .machine-item:nth-child(1) figure {
    background: url(https://usfile.jingdiao.com/uswebsite/images/Series/5-axis/MGA200.png);
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
}

/* tabs */

.learn-tabs {
    display: flex;
    display: -ms-flexbox;
    display: -webkit-flex;
    border: 0;
    background-color: #f6f6f6;
}
.learn-tabs>li {
    flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    text-align: center;
}
.learn-tabs>li>a {
    font-family: "HarmonyOS_Sans_SC_Bold";
    font-size: 28px;
    line-height: 1;
    padding-top: 50px;
    padding-bottom: 40px;
}
.learn-tabs>li,
.learn-tabs>li>a,
.learn-tabs>li.active>a,
.learn-tabs>li.active>a:hover,
.learn-tabs>li.active>a:focus {
    border: 0;
    margin-right: 0;
    background-color: transparent;
    color: #000000;
}
.learn-tabs>li.active>a:hover,
.learn-tabs>li.active>a:focus {
    color: #004898;
}
.learn-tabs>li>a:hover,
.learn-tabs>li>a:focus {
    background-color: transparent;
    color: #004898;
}
.learn-tabs>li.active {
    border-bottom: 4px solid #004898;
}
.learn-tabs>li.active>a {
    color: #004898;
}
.learn-pane .learn-pane-title {
    color: #21333F;
    font-size: 50px;
    font-weight: 700;
    line-height: 72px;
    text-align: center;
}
.learn-pane .learn-pane-desc {
    text-align: center;
    line-height: 2;
    color: #333;
    padding-left: 19%;
    padding-right: 19%;
}

/*æŠ˜å æ ·å¼ä¿®æ”¹*/

.learn-content .panel-group {
    width: 100%;
    margin-bottom: 0;
}
.learn-content .panel-default {
    border: none;
}
.learn-content .panel-default:last-child {
    margin-bottom: 0;
}
.learn-content .panel-group .panel+.panel {
    border-radius: 0;
    margin-top: 0;
}
.learn-content .panel-default>.panel-heading {
    position: relative;
    display: block;
    text-align: center;
    padding-top: 70px;
    padding-bottom: 70px;
    background-color: #f6f6f6;
    color: #004898;
}
.learn-content .panel-default>.panel-heading .icon--8 {
    position: absolute;
    top: 50%;
    right: 4%;
    transform: translateY(-50%) rotate(90deg);
    -ms-transform: translateY(-50%) rotate(90deg);
    -moz-transform: translateY(-50%) rotate(90deg);
    -webkit-transform: translateY(-50%) rotate(90deg);
    transition: all .4s;
    -ms-transition: all .4s;
    -moz-transition: all .4s;
    -webkit-transition: all .4s;
    font-size: 36px;
    font-weight: bold;
}
.learn-content .panel-default .panel-heading[aria-expanded='true'] .icon--8 {
    transform: translateY(-50%) rotate(-90deg);
    -moz-transform: translateY(-50%) rotate(-90deg);
    -ms-transform: translateY(-50%) rotate(-90deg);
    -webkit-transform: translateY(-50%) rotate(-90deg);
}
.learn-content .panel-default>.panel-heading .icon--8:before {
    color: #004898;
}
.learn-content .panel-default>.panel-heading+.panel-collapse>.panel-body,
.learn-content .panel-default>.panel-heading+.panel-course>.panel-body {
    background-color: #f6f6f6;
    border-top: none;
}
.machine-btn {
    transform: perspective(1);
    -webkit-transform: perspective(1);
}
.machine-btn-active {
    width: 220px;
    height: 54px;
    line-height: 52px;
    color: #004898;
    border: 1px solid #004898;
    box-shadow: 0px 4px 4px rgb(0 0 0 / 25%);
    -webkit-box-shadow: 0px 4px 4px rgb(0 0 0 / 25%);
}
.learn-tabs.fixed {
    position: fixed;
    top: 60px;
    width: 100%;
    z-index: 2;
}
@media only screen and (max-width: 1919px) {
    .learn-content .panel-default>.panel-heading {
        padding-top: calc(70px * 0.83);
        padding-bottom: calc(70px * 0.83);
    }
    .learn-content .panel-default>.panel-heading .icon--8 {
        font-size: 34px;
    }
}
@media only screen and (max-width: 1599px) {
    .learn-pane .learn-pane-title {
        font-size: 40px;
    }
    .learn-tabs>li>a {
        font-size: 24px;
        padding-top: 40px;
        padding-bottom: 30px;
    }
    .learn-content .panel-default>.panel-heading {
        padding-top: calc(70px * 0.75);
        padding-bottom: calc(70px * 0.75);
    }
    .learn-content .panel-default>.panel-heading .icon--8 {
        font-size: 30px;
    }
    .subtitle {
        font-size: 30px;
    }
    .machine-btn-active {
        width: 190px;
        height: 50px;
        line-height: 48px;
    }
}
@media only screen and (max-width: 1299px) {
    .learn-pane .learn-pane-title {
        font-size: 36px;
    }
    .learn-tabs>li>a {
        font-size: 22px;
    }
    .subtitle {
        font-size: 28px;
    }
    .machine-btn-active {
        width: 152px;
        height: 42px;
        line-height: 40px;
    }
}
@media only screen and (max-width: 1199px) {
    .learn-content .panel-default>.panel-heading {
        padding-top: calc(70px * 0.68);
        padding-bottom: calc(70px * 0.68);
    }
    .learn-content .panel-default>.panel-heading .icon--8 {
        font-size: 24px;
    }
}
@media only screen and (max-width: 1024px) {
    .learn-tabs {
        font-size: 18px;
    }
    .learn-tabs>li>a {
        padding: 30px 9px;
        font-size: 20px;
    }
    .learn-tabs>li.active {
        border-bottom: 2px solid #004898;
    }
    .learn-pane .learn-pane-title {
        font-size: 28px;
        line-height: 1.3;
    }
    .learn-pane .learn-pane-desc {
        padding-left: 3.8%;
        padding-right: 3.8%;
    }
    .learn-content .panel-default>.panel-heading {
        padding-top: calc(30px * 1.2);
        padding-bottom: calc(30px * 1.2);
        text-align: left;
    }
    .learn-pane .learn-pane-desc {
        line-height: 28px;
    }
    .subtitle {
        font-size: 22px;
    }
    .machine-btn-active {
        width: 148px;
		height: 38px;
		line-height: 36px;
    }
    .learn-tabs.fixed {
        top: 47px;
        /*width: auto;*/
        max-width: 750px;
    }
}
@media only screen and (max-width: 540px) {
    .learn-content .panel-default>.panel-heading {
        padding-top: 30px;
        padding-bottom: 30px;
        padding-right: 40px;
    }
    .learn-content .panel-default>.panel-heading .icon--8 {
        font-size: 20px;
    }
    .learn-tabs>li>a {
        font-size: 19px;
    }
}
@media only screen and (max-width: 450px) {
    .learn-pane .learn-pane-title {
        font-size: 24px;
    }
    .learn-content .panel-default>.panel-heading h2 {
        line-height: 1.3;
    }
    .learn-tabs>li>a {
        padding: 20px 0;
        font-size: 18px;
    }
    .subtitle {
        font-size: 20px;
    }
    .machine-btn-active {
        width: 138px;
		height: 36px;
		line-height: 34px;
    }
}
@media only screen and (max-width: 412px) {
    .subtitle {
        line-height: 1.3;
    }
}
@media only screen and (max-width: 410px) {
	.flex{
		display: block;
	}
	.machine-btn{
		margin-right: auto;
		margin-left: auto;
		margin-bottom: 10px;
	}
	.machine-btn:last-child{
		margin-bottom: 0;
		margin-right: auto;
	}
    .learn-tabs>li>a {
        font-size: 16px;
        line-height: 1.3;
    }
    .learn-pane .learn-pane-title {
        font-size: 18px;
    }
    h2 {
        font-size: 16px;
    }
    .learn-content .panel-default>.panel-heading .icon--8 {
        font-size: 16px;
    }
    .p-b-24-mobile {
        padding-bottom: calc(24px * 0.83);
    }
    .p-t-24-mobile {
        padding-top: calc(24px * 0.83);
    }
}