/*
 * @Author: Uncle-Cao 13503851496@139.com
 * @Date: 2023-07-19 10:02:13
 * @LastEditors: Uncle-Cao 13503851496@139.com
 * @LastEditTime: 2023-07-30 16:10:06
 * @FilePath: \baowei\style_v2.css
 */
/************************CSS变量*************************/
@charset "utf-8";
:root {
    margin: 0;
    padding: 0;
    --bright-blue-1: #3d5af1;
    --bright-blue-2: #0571ecda;
    --bright-blue-3: #008AF7;
    --gray-bule: #165e969a;
    --light-blue-1: #b4daf879;
    --light-blue-2: #a6d5f8ab;
    --light-blue-3: #0571ec21;


    --title-color-dark: #222222;
    --title-color-white: #f4f3f3;
    --primary-text-color: #303133;
    --regular-text-color: #4b4d50;
    --light-text-color: #666666;
    --secondary-text-color: #909399;
    --notice-text-color: #A8ABB2;
    --white-text-color: #e3e3e3;


    --text-hover-color: #91d0f2;

    --menu-1-bgc: var(--bright-blue-1);
    --menu-1-hover-bgc: var(--bright-blue-2);

    --menu-2-bgc: var(--bright-blue-1);
    --menu-2-hover-bgc: var(--bright-blue-2);

    --page-max-width: 1280px;
}

@media screen and (max-width: 1159px) {
     :root {
         --page-max-width: 100%;
     }
}

/****************sudy导航样式类调整*****************************/

.top-navigator .wp_nav{
  width:var(--page-max-width) !important;
  max-width:var(--page-max-width) !important;
  margin:0 auto !important;
  display:flex !important;
  align-items:center;
  justify-content:center;
}


.top-navigator>div{
background-color:#3f5dc2;

}



.top-navigator .nav-item{
     flex:1;
}

.top-navigator .sub-nav{
     width:100% !important;
}

.top-navigator .sub-nav .nav-item a{
display:flex !important;
align-items:center;
justify-content:center;
}

.top-navigator  .item-name{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    
}


.top-navigator .sub-nav:not(:first-child) :before {
    position: absolute;
    content: "";
    display: block;
    top: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background-color: var(--secondary-text-color);
}






.carousel-charts .picbase1-content h2{
border:none !important;
background:transparent !important;
}


.carousel-charts .picbase1-content p{
border:none !important;
background:transparent !important;
}

.carousel-charts .picbase1-credit{
color:var(--white-text-color);
}

.carousel-charts .picbase1-slidenav li{
background:#096dd950;
}



.carousel-charts .picbase1-slidenav li img{
border:#096dd9b3;
}

.carousel-charts .picbase1-slidenav li:hover{
background:#096dd9cc;
}
.carousel-charts .picbase1-slidenav li.active{
background:#ffffff;
}


/*************************公共类**************************/
.section {
    margin: 0 auto;
}

.flex-row-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.flex-row-between-news-title {
    display: flex;
    align-items: center;
}

.flex-col-space-between {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.flex-col-space-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.flex-col-space-around {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}



/**2行文字溢出省略*/
.text-overflow-2 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/***单行文字溢出省略**/
.text-overflow-1 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}


/***************************内容分割栏**************************************/

.custom-divider {
    text-align: center;
    margin: 2rem 0;
}

.custom-divider h3 {
    font-size: 1.75rem;
    color: var(--bright-blue-2);
    line-height: 1.25;
    display: inline-block;
    padding: 0.625rem 3.125rem 0;
    background-color: #fff;
    position: relative;
    z-index: 2;
}

/*文字方框*/
.custom-divider h3::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2.125rem;
    border: 1px solid;
    border-color: var(--bright-blue-1);
    z-index: -1;
}

/*文字方框空缺*/
.custom-divider h3::after {
    content: "";
    position: absolute;
    top: 2rem;
    left: 1.25rem;
    right: 1.25rem;
    height: 5px;
    background: inherit;
    z-index: -1;
}

/*自定义的虚线分割点*/
.custom-dotline {
    transition: all ease .5s;
    width: 100%;
    height: 1px;
    margin: 1rem 0 0.75rem;
    border-top: #206dba72 3px dotted;
}

/*模块*/

.section {
    padding: 15px;
}

.notice-section {
    background-color: #b4daf822;
}




/********************** 轮播图  **************************/


/*自定义图片内容*/
.carousel-item>img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0
}

.carousel-charts {
    width: 100%;
    height: 40vh;
    position: relative;
}

.outside-box {
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.inside-box {
    position: absolute;
    width: 700vw;
    height: 100%;
    transition: all 1s ease;
    left: -100vw;
}

.carousel-item {
    position: relative;
    background-size: cover;
    width: 100vw;
    height: 50vh;
    float: left;
}

.carousel-charts:hover>#left-arrow,
.carousel-charts:hover>#right-arrow {
    visibility: visible;
}


#left-arrow,
#right-arrow {
    cursor: pointer;
    visibility: hidden;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(146, 177, 255, 0.33);
    border-radius: 2px;
}

#left-arrow {
    left: 10px;
}

#right-arrow {
    right: 10px;
}

.carousel-list-pointer {
    position: absolute;
    width: 8em;
    left: 50%;
    transform: translateX(-50%);
    bottom: 1em;

}

.carousel-list-pointer ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.carousel-list-pointer .ptr {
    cursor: pointer;
    text-align: center;
    vertical-align: middle;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    border: 0.5px solid rgba(189, 189, 189, 0.299);
    background-color: #ffffff41;
}

.carousel-list-pointer .current-ptr {
    background-color: rgba(255, 255, 255, 0.826);
}

/*****************************导航栏**********************************/
#nav {
    background: var(--menu-1-bgc);
}

#nav ul {
    display: flex;
    justify-content: center;
    background: #40609682;
}

#nav .inside>ul>li {
    width: 135px;
    height: 60px;
    position: relative;
    transition: all 0.5s ease-in-out;
}

#nav .inside>ul>li:hover {
    border-radius: 5px;
    background-color: var(--menu-1-hover-bgc)
}

#nav .has-child>a::after {
    content: "▾";
    color: #fff;

}

/*导航单元*/
#nav a.menu-link {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 1.4em;
}

#nav a {
height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF !important;
    font-size: 1.4em;
}



/*二级展开菜单*/
#nav .sub-menu {
    position: absolute;
    flex-direction: column;
    justify-content: space-around;
    width: 100%;
    z-index: 100;
    display: flex;
    overflow: hidden;
    border-radius: 0 0 3px 3px;
    transform-origin: top center;
    transform: rotateX(90deg);
    opacity: 0;
    transition: cubic-bezier(0.455, 0.03, 0.515, 0.955) all 0.5s;
}


/*触摸一级菜单项目时展开二级*/
#nav li:hover .sub-menu {
    opacity: 1;
    transform: rotateX(0deg);
}

/*二级展开菜单栏目*/
#nav .sub-menu .sub-item {
    position: relative;
    width: 100%;
    background-color: rgba(63, 63, 154, 0.65);
}

#nav .sub-item:not(:first-child) :before {
    position: absolute;
    content: "";
    display: block;
    top: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background-color: var(--secondary-text-color);
}

#nav .sub-link {
    display: block;
    color: #fff;
    font-size: 1.2em;
    text-align: center;
    padding: 0.75rem 0;
    height: 100%;
}

/******************************快速通道入口*********************************/
.quick-routes-wrapper {

    margin: 0 auto;
    max-width: var(--page-max-width);
    position: relative;
}

/*通道卡片*/
.quick-routes-item {
    padding: 0.75rem 0;
    box-sizing: border-box;
    position: relative;
    width: 350px;
    border-radius: 0 0 10px 10px;
    height: 250px;
    margin: 10px;
    cursor: pointer;
    transition: all ease .5s;
}

/*卡片触摸特效*/
.quick-routes-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.171);
    background: var(--light-blue-2);
    border-top: 5px solid var(--bright-blue-3);
}

/*icon*/
.quick-routes-item .icon {
    user-select: none;
    width: 70px;
    padding: 5px;
    box-sizing: content-box;
    border: 3px solid #b6b6b655;
    background-color: #ffffff7a;
    border-radius: 50%;

}

.quick-routes-item .title-1 {
    margin: 0.5rem;
    font-size: 1.25rem;
    color: var(--light-text-color)
}

.quick-routes-item .title-2 {
    margin: 0.25rem;
    font-size: 1rem;
    color: var(--gray-bule);
}
.header-info {
  position:absolute;
   top:30px;
  right:50px;
  color:white;
  font-size:14px;
  line-height:22px;
}

.header-info-2 {
   top:30px;
  right:50px;
  color:white;
  font-size:14px;
  line-height:22px;
}

.tip-content{
    display: flex;
    flex-direction: row-reverse;
}

.quick-routes-item .phonenumber {
    font-weight: bold;
    color: var(--bright-blue-3);
}



.quick-routes-item .button {
    position: absolute;
    top: 250px;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    background-color: #008cf777;
    color: var(--title-color-white);
    border: #7aacef 1px solid;
    border-radius: 2rem;
}

.quick-routes-item .button a{
color:inherit;
}

/*********************************图片新闻网格*********************************/

.picture-news-wrapper {
    margin: 0 auto;
    max-width: var(--page-max-width);
    overflow: hidden;
}

.picture-news-wrapper {
    display: grid;
    grid-template-columns: repeat(13, 1fr);
    grid-template-rows: 1fr;
    gap: 0em 1em;
    grid-auto-flow: row;
}

.grid-1 {
      grid-area: 1 / 1 / 2 / 10;
}

.grid-1 table{
   height:100%;

}

.grid-4 {
    grid-area: 1 / 10 / 2 / 14;
}



/*网格单元*/
.grid {
    float: none;
    margin: 10px;
}

.grid .card {
    padding:10px;
    position: relative;
    height: 100%;
}



/*图片新闻容器*/
.card-image {
    height: 100%;
    border-radius: 3px;
    display: block;
    min-height: 240px;
    overflow: hidden;
    position: relative;
}



/*图片*/
.card-image>img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
    margin-bottom: 0;
    transition: all 0.25s ease-in-out;
}

.card-image:hover>img {
    transform: scale(1.15);
}


/*文本信息蒙版*/
.card-overlay {
    display: block;
    height: 100%;
    left: 0;
    top: 0;
    position: absolute;
    width: 100%;
    z-index: 1;
}

/*文本信息*/
.card-overlay-content {
    position: absolute;
    bottom: 0;
    padding: 1.5em;
    z-index: 3;
}

/*新闻标题*/
.card-title {
    color: var(--title-color-white);
    display: inline-block;
    font-family: "Montserrat";
    font-size: 1.5em;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.75em;
    text-decoration: none;
    transition: all 0.3s ease-out;
}


.card-title:hover {
    color: var(--text-hover-color);
    text-decoration: none;
}

.card-title a{
color:inherit;
}

.card-title font{
color:inherit !important;
}

/*其他信息*/
.card-meta {
    margin: 0 -1rem 0.75rem 0;
}

.card-meta.card-meta--last {
    margin-bottom: 0;
}

.card-meta li {
    color: #f8f8f8;
    display: inline;
    list-style-type: none;
    margin-bottom: 0;
    padding-right: 1em;
    font-size: 0.85em;
    font-variant: small-caps;
    letter-spacing: 1px;
}

.card-meta li:not(:last-child):after {
    content: "";
    font-style: normal;
    position: relative;
    color: rgba(255, 255, 255, 0.708);
    right: -0.6em;
}

.card-meta li>a {
    color: #f8f8f8;
}



/************************新闻列表*************************/


.news-list {
    height: 100%;
    padding: 0;
    list-style: none;
}

/*单个新闻词条*/
.news-list .news-item {
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    border-bottom: 1px dashed #ddd;
    overflow: hidden;
    padding: 17px 0px;
    transition: all ease 0.5s;
}

.news-list .news-item::before {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    content: "";
    width:6px;
display:block;
    height:6px;
    border-radius:50%;
    background-color:#333;
    font-size: 20px;
    margin-right: 0.5em;
    transition: all ease 0.4s;
}

.news-list .news-item-title {
    width: 280px;
    font-size: 1.5em;
    margin-left: 1em;
    transition: all ease 0.5s;
}

.news-list .news-item-title-2 {
    width:320px;
    font-size: 1.5em;
    margin-left: 1em;
    transition: all ease 0.5s;
}



.news-list .news-item-time {
    width: 3em;
    color: var(--secondary-text-color);
    font-size: 1.2em;
    transition: all ease 0.4s;
}

/*新闻词条触摸效果*/
.news-list .news-item:hover{
    background-color: var(--bright-blue-2);
    border-bottom: 1px dashed #dddddd00;
    color: var(--title-color-white);
}

.news-list .news-item:hover a{
    color: var(--title-color-white);
}


.news-list .news-item:hover::before {
    transform: translate(10px, -50%);
    color: var(--title-color-white);
}


.news-list .news-item:hover .news-item-title {
    transform: translateX(10px);
    color: var(--title-color-white);
}


.news-list .news-item:hover .news-item-time {
    transform: translateX(-10px);
    color: var(--title-color-white);
}




/*******************************通知公告********************************/
.announcement-wrapper {
    max-width: var(--page-max-width);
    margin: 0 auto;
    display: flex;
    font-size: 1rem;
}

.announcement-wrapper div {
    line-height: 1.2em;
}


.announcement-wrapper .right-list-col {
    flex: 1;
    margin: 0 1em;
}

/*新闻标题*/
.announcement-wrapper .notice-title {
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--regular-text-color);

}

/*蓝色高亮标题*/
.announcement-wrapper .notice-title.bright {
    color: #4d4df7;
}

/*黑色普通标题*/
.announcement-wrapper .notice-title.normal {
    color: var(--regular-text-color);
}

/*红色重要标题*/
.announcement-wrapper .notice-title.important {
    color: #e33092;

}


.left-pic-notice .left-pic-notice-image {
    display: block;
    overflow: hidden;
}

.left-pic-notice img {
    cursor: pointer;
    width: 400px;
    height:320px;
    object-fit:contain;
    transition: all 0.5s ease;
}

.left-pic-notice img:hover {
    transform: scale(1.15);

}

.left-pic-notice .left-pic-notice-meta {
    margin: 0.5rem 0 1rem;
    color: var(--gray-bule);
}

.left-pic-notice .left-pic-notice-meta a{
color: var(--gray-bule);
}

.notice-item {
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    cursor: pointer;
    transition: all ease 0.5s;
}

.notice-item:hover {
    background-color: var(--light-blue-3);
    transform: translateX(-5px);
    box-shadow:
        6.7px 6.7px 17.9px rgba(0, 0, 0, 0.042),
        30px 30px 80px rgba(0, 0, 0, 0.07);
}

.notice-item:hover+.custom-dotline {
    border-top: solid var(--bright-blue-3);
}


.notice-item-time {
    border: 2px solid var(--bright-blue-3);
    border-radius: 4px;
    height: 3.5rem;
    font-size: 1rem;
    margin-right: 1rem;
}

.notice-item-time div {
    height: 1.75rem;
    width: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notice-item-time .years {
    background-color: var(--bright-blue-3);
    color: var(--title-color-white);
}

.notice-item-meta .notice-brief {
    margin-top: 0.6em;
    font-size: 0.8em;
    color:#8a8a8a;
    transition: all ease .3s;
}

.notice-item-meta .notice-title {
    font-size: 1.1em;
}

/********************安全教育********************/
.safe-edu {
    max-width: var(--page-max-width);
    margin: 0 auto;
    height: 400px;
}

.safe-edu>div {
    margin: 20px;
}


.safe-edu .safe-news {
    height: 320px;
}


.safe-edu .news-item {
    /**width: 450px;**/
}

.safe-edu .news-item .news-item-title {
     /**width: 350px;**/
}

.news-list-title {
    width: 100%;
    line-height: 20px;
    padding-bottom: -1px;
    border-bottom: 2px solid var(--white-text-color);
    margin-bottom: 20px;
}

.news-title-name {
    display: block;
    font-size: 20px;
    color: var(--bright-blue-3);
    padding-bottom: 9px;
    border-bottom: 3px solid var(--bright-blue-2);
}

.news-title-ename {
    display: block;
    padding-left: 10px;
    margin-left: 8px;
    font-size: 12px;
    color: #b9b9b9 var(--secondary-text-color);
    border-left: 1px solid var(--notice-text-color);
}

.news-list-more {
    display: block;
}


.danger-cases {
    height: 100%;
    overflow: hidden;
}

.danger-cases .video-link {
    position: relative;
    width: 80%;
    height: 150px;
    display: block;
    overflow: hidden;
}

.danger-cases .player-control {
    position: absolute;
    height: 35px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.danger-cases .video-title {
    background-color: #ffffff85;
    padding: 5px 5px 1px 5px;
    font-size: 16px;
    line-height: 16px;
    width: 100%;
    bottom: 0;
    position: absolute;
    color: var(--primary-text-color);
}



.tweets {}

.tweets .tweets-item {
    width: 100%;
    height: 80px;
    object-fit: cover;
}



/*sudy系统发癫了，保存无法正常生效，下面的代码是强制覆盖样式*/
.wp_nav { margin: 0px; padding: 0px; display: block; }
.wp_nav * { margin: 0px; padding: 0px; }
.wp_nav::after { clear: both; content: "."; display: block; height: 0px; visibility: hidden; }
.wp_nav .nav-item { display: inline-block; float: left; position: relative; vertical-align: bottom; }
.wp_nav .on { z-index: 10; }
.wp_nav .nav-item .mark { display: block; width: 100%; height: 100%; position: absolute; left: 0px; top: 0px; z-index: 99; }
.wp_nav .nav-item a { font-family: "Microsoft Yahei"; display: block; text-align: center; position: relative; z-index: 100;font-size:16px; color: rgb(255, 255, 255) !important;}
.wp_nav .nav-item a.parent:hover { background-color: #0d6ee6;}
.wp_nav .nav-item a.parent { color: rgb(255, 255, 255) !important; }
.wp_nav .nav-item a span.item-name { display: inline-block; padding: 15px 10px; line-height: 22px; cursor: pointer; }
.wp_nav .sub-nav { display: block; width: 100%; position: absolute; z-index: 200; visibility: hidden; border-right: 1px solid rgb(204, 204, 204); border-bottom: 1px solid rgb(204, 204, 204); border-left: 1px solid rgb(204, 204, 204); border-image: initial; border: none !important; }
.wp_nav .sub-nav .nav-item { white-space: nowrap; }
.wp_nav .sub-nav .nav-item .mark { background: rgb(255, 255, 255); }
.wp_nav .sub-nav .nav-item a { font-family: "Microsoft Yahei"; font-size: 13px; font-weight: normal; color: rgb(255, 255, 255) !important; text-align: left;
 min-width: 80px;background-color: #3f5dc2;font-size:16px;}
.wp_nav .sub-nav .nav-item a.parent:hover { background-color: #0d6ee6; color: rgb(255, 255, 255); }
.wp_nav .sub-nav .nav-item a.parent {  color: rgb(255, 255, 255); }
.wp_nav .sub-nav .nav-item a span.item-name { padding: 15px 10px; line-height: 22px; }