@tailwind base;
@tailwind components;
@tailwind utilities;

* {
    padding: 0;
    margin: 0;
}

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
textarea,
p,
blockquote,
th,
td {
    margin: 0;
    padding: 0
}


#app {
    background-color: #f5f5f5;
    width: 100vw;
    min-height: 100vh;
    color: black;
}

*::-webkit-scrollbar {
    /*隐藏滚动条*/
    display: none;
}

@media screen and (min-width: 320px) and (max-width: 768px) {
    html {
        font-size: 12px
    }
}

html::-webkit-scrollbar {
    width: 0 !important
}

.noScroll::-webkit-scrollbar {
    width: 0 !important;
}


html {
    /* font-size: calc(100vw / 100); */
    font-size: calc(1vw);
}

body {
    font-size: 1rem;
}

.divmargin {
    margin: 0px auto;
    padding: 0px;
    overflow: hidden;
}

/* .nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    padding: 3rem 0;
} */

/* .swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
} */

/* .swiper-button-next {
    color: #ff9126 !important;
    right: 2rem;
}

.swiper-button-prev {
    color: #ff9126 !important;
    left: 2rem;
} */

.buttonNext {
    right: 5rem !important;
}

.buttonPrev {
    left: 5rem !important;
}

/* .swiper-pagination-bullet {
    background: #d6d6d6;
}*/

/* .swiper-pagination-bullet-active {
    background: #ff9126; 
} */

.max-w {
    width: 80%;
    margin: 0 auto;
}


.white-box {
    background-color: white;
    width: 32%;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

.gh {
    height: 5rem;
}

.mian-1 {
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    word-break: break-all;
}

.mian-2 {
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    word-break: break-all;
}

.mian-3 {
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    word-break: break-all;
}

.mian-4 {
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    word-break: break-all;
}

.mian-9 {
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 9;
    word-break: break-all;
}

a {
    text-decoration: none;
}

.overdd {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.text-indent-2 {
    text-indent: 2em;
}

.fontS-24 {
    font-size: 1.5rem;
}

.fontS-22 {
    font-size: 1.375rem;
}

.color-white {
    color: white;
}

.relative {
    position: relative;
}

.flex {
    display: flex;
}

.flex-1 {
    flex: 1;
}

.flex-wrap {
    flex-wrap: wrap;
}

.item-center {
    align-items: center;
}

.justify-start {
    justify-content: flex-start;
}

.justify-between {
    justify-content: space-between;
}

.justify-around {
    justify-content: space-around;
}


.font-bold {
    font-weight: 700;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.pt-3 {
    padding-top: 3rem;
}

.pt-1 {
    padding-top: 1rem;
}

.mt-10 {
    margin-top: 10rem;
}

.color-O {
    color: #ff9126 !important;
}

/* 小标题 */
.subtitle {
    font-weight: 700;
    text-align: center;
    color: #353535;
    padding: 4rem 0;
    font-size: 2.25rem;
}

/* 头部
.nav-left {
    color: #ff9126;
    font-size: 3rem;
    text-decoration: none !important;
}

.nav-left:hover {
    color: #ff9126;
    text-decoration: none !important;
}

.nav-right {
    font-size: 1.2rem;
}

.nav-right a {
    padding: 0 1rem;
    text-decoration: none !important;
    color: black;
}

.login {
    color: #bfbebe !important;
    padding-left: 3rem;
}

.login>a:nth-child(1) {
    color: #ff9126;
}

.login>a:nth-child(2) {
    color: #bfbebe !important;
    padding: 0 0.25rem;
}

.login>a:nth-child(1):hover {
    color: #ff9126;
} */

/* 底部 */
/* .footer {
    background-color: #101113;
    width: 100vw;
    color: white;
    text-align: center;
}

.footer-title {
    font-weight: 700;
    font-size: 3.25rem;
    padding-top: 2rem;
}

.footer-subtitle {
    font-size: 1rem;
    font-weight: 700;

}

.footer-content {
    margin-top: 2rem;
    display: flex;
    justify-content: space-around;
} */

dt {
    font-size: 1.45rem;
    padding: 0.45rem 0;
}

dl {
    width: 30%;
    text-align: left;
}

dd a {
    color: white !important;
    text-decoration: none !important;
}

/* 搜索框 */
/* .serach {
    position: relative;
    margin: 3rem 0;
}

.serach>input {
    width: 100%;
    height: 3rem;
    line-height: 2rem;
    border-radius: 10rem !important;
}

input:focus {
    outline: none;
    border: none !important;
    box-shadow: 0 0 0 0 #00000000 !important;
}

.serach>div {
    position: absolute;
    right: 1rem;
    top: .25rem;
    font-size: 1.6rem;
    color: #999999;


} */

a {
    text-decoration: none;
    color: #000;
}

a:hover {
    text-decoration: none;
    color: #000;
}


.left {
    position: absolute;
    top: 45%;
    left: 5%;
    font-size: 2rem;
    z-index: 9999;
}

.right {
    position: absolute;
    top: 45%;
    right: 5%;
    font-size: 2rem;
    z-index: 9999;
}


/* 轮播图 */
ul,
ol,
li {
    list-style: none;
}

.page-link {
    color: #000 !important;
    margin-left: .625rem !important;
}

.page-link:active,
.page-link:focus {
    outline: none;
    box-shadow: none;
}

.page-input {
    padding: 0.5rem 0.75rem;
    width: 3rem;
    border: none;
}
.page-active{
    background-color: #ec080a;
    color: white !important;
}
.pagination{
    font-size: .85rem !important;
}
.headimgsbox .swiper-pagination-bullet{
	width:2em;
	height:0.2em;
	border-radius:0.2em!important;
}
.headimgsbox .swiper-pagination-bullet-active{
	background: #fff;
}
.newsleft .swiper-pagination-bullet-active{
	background: #fff;
}

