@charset "UTF-8";

.page-content {
    padding: 0;
    /* min-height: 800px; */
    background: #f5f5f5;
}

.content {
    display: flex;
    width: 1170px;
    margin: 0 auto;
    min-height: 600px;
    align-items: stretch;
    justify-content: space-between;
    font-size: 15px;
}

.test-item {
    width: 380px;
    padding: 20px 30px 20px;
    border: 1px solid #dbdbdb;
    border-radius: 3px;
    background: #fff;
    /* border-top: 2px solid #004ea2; */
}

.test-name {
    display: block;
    width: 100%;
    font-size: 22px;
    text-align: center;
}

.test-enn-name {
    display: block;
    width: 100%;
    margin: 5px 0;
    text-align: center;
    color: #3cb448;
}

.test-btn {
    display: block;
    width: 100%;
    text-align: center;
    color: #3481d1;
    cursor: pointer;
    margin-bottom: 20px;
    font-size: 16px;
}

.test-intro {
    font-size: 15px;
    color: #333;
}

.test-intro p {
    margin-bottom: 10px;
}


.page-box {
	display: flex;
	width: 1170px;
	/* min-height: 614px; */
	margin: 0 auto;
	padding: 125px 0 100px;
	align-items: flex-start;
	flex-wrap: wrap;
}

.card-box {
    position: relative;
    width: 1170px;
}


.mbti-type-box {
	display: flex;
	/* flex: 1; */
	width: 860px;
	margin: 0 auto;
	justify-content: space-between;
}


.mbti-type-item {
	display: flex;
	flex-direction: column;
	width: 240px;
	height: 300px;
	align-items: center;
	justify-content: center;
	background: #fff;
	color: #333;
	border-radius: 20px;
	/* background: linear-gradient(to right, #7483d2, #8275d3); */
	border: 1px solid #e7e7e7;
	margin: 0;
	box-shadow: 0 0 10px #ddd;
}

.mbti-type-box .mbti-type-item:first-child {
	/* width: 225px; */
}

.mbti-type-box .mbti-type-item.selected, .mbti-type-box .mbti-type-item:hover {
	background: linear-gradient(to top right, #3481d1, #6960d6);
	color: #fff;
	box-shadow: 0 0 20px #aaa;
	border: none;
}

.mbti-type-box .mbti-type-item.selected .iconfont, .mbti-type-box .mbti-type-item:hover .iconfont {
	color: #fff;
	-webkit-text-stroke: transparent;
}

.mbti-type-icon .iconfont {
	font-size: 80px;
	height: 80px;
	line-height: 80px;
	color: #4352a5;
	-webkit-text-stroke: 1px #fff;
	/* text-shadow: 0 0 3px #4352a5; */
}

.mbti-type-count {
	font-size: 28px;
	margin: 10px 0 50px;
	/* line-height: 1; */
}

.mbti-type-name {
	font-size: 18px;
	margin: 20px 0 10px;
	letter-spacing: 2px;
}

.mbti-type-item:hover {
	box-shadow: 0 0 20px #ddd;
}

.test-type-box {
	display: flex;
	/* margin-bottom: 60px; */
}

.test-type-item {
	display: flex;
	width: 70px;
	height: 30px;
	margin: 0 5px;
	border-radius: 15px;
	/* border: 1px solid #7483d2; */
	color: #188373;
	justify-content: center;
	align-items: center;
	font-size: 16px;
	/* box-shadow: 0 0 12px #ddd; */
	cursor: pointer;
}

.mbti-type-box .mbti-type-item.selected .test-type-item, .mbti-type-box .mbti-type-item:hover .test-type-item {
    color: #fff;
}


.banner-box {
	display: flex;
	width: 100%;
	padding: 40px 0;
	background: #f5f5f5;
	justify-content: center;
}

.banner-box .banner-img {
	width: 1170px;
}

.subtype-container {
    display: block;
    width: 1170px;
    margin: 0 auto;
    border-radius: 20px;
    padding: 30px 40px 10px 40px;
    border: 1px solid #999;
    background: #fff;
    /* box-shadow: 0 5px 5px #e7e7e7; */
    box-sizing: border-box;
    align-items: center;
}

.subtype-title {
    display: flex;
    margin-bottom: 20px;
    align-items: center;
    font-size: 28px;
    /* letter-spacing: 5px; */
}

.subtype-title-tip {
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.subtype-content-p {
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 2;
    text-align: justify;
    color: #333;
}

.enn-dynamic-title, .subtype-title {
    margin-bottom: 0;
}