@charset "utf-8";

* {
  box-sizing: border-box;
}

li a:hover,
li a:hover h5 {
  color: rgb(66, 107, 188) !important;
}

.img img {
  transition: all .3s;
}

li:hover .img img {
  transform: scale(1.03);
}

body {
  background-color: rgb(247, 250, 253);
  position: relative;
}

/* 头部 */
.newyjs-header {
  width: 100%;
}

.newyjs-header .header-bg {
  width: 100%;
}

.newyjs-header .header-bg img {
  width: 100%;
  display: block;
}

.newyjs-header .logo {
  position: absolute;
  top: 18px;
  width: 100%;
}

.newyjs-header .logo a {
  width: 256px;
  display: inline-block;
}

.newyjs-header .logo a img {
  width: 100%;
}

/* logo */
@media (max-width:992px) {
  .newyjs-header .logo a img {
    width: 50%;
  }
}

@media (max-width:431px) {
  .newyjs-header .logo {
    top: 5px;
  }

  .newyjs-header .logo a img {
    width: 35%;
  }
}

/* 主要内容 */
.newyjs-main {
  position: relative;
  z-index: 2;
  margin-top: -220px;
  width: 100%;
}

/* 导航 */
.newyjs-nav ul {
  display: flex;
  justify-content: space-between;
}

.newyjs-nav ul li {
  width: 31.78%;
  height: 61px;
}

.newyjs-nav ul li a {
  display: inline-block;
  width: 100%;
  height: 100%;
}

.newyjs-nav ul li a h3 {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  background-color: rgba(52, 92, 175, 1);
  border-radius: 9px;
  font-size: 24px;
  font-weight: 400;
  color: rgba(255, 255, 255, 1);
}

.newyjs-nav ul li:hover h3 {
  background-color: rgb(255, 255, 255);
  font-weight: 400;
  color: rgba(52, 92, 175, 1);
}

.newyjs-nav ul li.on h3 {
  background-color: rgb(255, 255, 255);
  font-weight: 400;
  color: rgba(52, 92, 175, 1);
}

/* 预决算内容 */
.newyjs-content {
  margin-top: 49px;
  background-color: rgba(247, 250, 253, 1);
  /* height: 500px; */
}

.newyjs-content .content-header {
  padding: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.newyjs-content .content-header h3 {
  width: 27.28%;
  height: 48px;
  background: linear-gradient(90deg, rgba(58, 144, 228, 1) 0%, rgba(52, 92, 175, 1) 82.87%);
  font-size: 20px;
  font-weight: 700;
  color: rgba(255, 255, 255, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.newyjs-content .content-header .right-form {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  user-select: none;
}

.newyjs-content .content-header .right-form .yjs-select {
  width: 264px;
}

.newyjs-content .content-header .right-form .year-select {
  width: 146px;
}

.newyjs-content .content-header .right-form .layui-input {
  height: 44px;
  border-radius: 999px;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 26.4px;
  color: rgba(52, 92, 175, 1);
  padding: 0 22px;
  border: 1px solid rgba(52, 92, 175, 1);
  user-select: none;
}

.newyjs-content .content-header .right-form .layui-input:hover {
  border: 1px solid rgb(40, 98, 213) !important;
  box-shadow: 0 0 4px 1px rgba(40, 98, 213, 0.5);
}

.layui-input:focus,
.layui-textarea:focus {
  border-color: rgb(40, 98, 213) !important;
  box-shadow: 0 0 4px 1px rgba(40, 98, 213, 0.5);
}

.layui-form-select dl dd.layui-this {
  color: rgb(40, 98, 213);
}

.newyjs-content .content-header .right-form .layui-btn {
  width: 86px;
  height: 44px;
  border-radius: 999px;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 26.4px;
  color: rgba(255, 255, 255, 1);
  background-color: rgba(52, 92, 175, 1);
}

.layui-form-select dl {
  bottom: auto;
  top: 48px;
}

.layui-form-selectup dl {
  top: auto;
  bottom: 48px
}

.layui-form-select .layui-edge {
  right: 22px;
}

/* 整体自适应 */
@media (max-width:1480px) {
  .newyjs-main {
    margin-top: -180px;
  }

  .newyjs-nav ul li a h3 {
    font-size: 20px;
  }

  .newyjs-content .content-header h3 {
    font-size: 20px;
  }
}

@media (max-width:1280px) {
  .newyjs-main {
    margin-top: -120px;
  }

  .newyjs-nav ul li a h3 {
    font-size: 16px;
  }

  .newyjs-content .content-header h3 {
    font-size: 16px;
  }

  .newyjs-content .content-header .right-form .layui-input {
    font-size: 14px;
    height: 34px;
  }

  .newyjs-content .content-header .right-form .layui-btn {
    font-size: 14px;
  }
}

@media (max-width:1200px) {}

@media (max-width:992px) {
  .newyjs-main {
    margin-top: -100px;
  }

  .newyjs-nav ul li {
    width: 32.5%;
  }

  .newyjs-content .content-header h3 {
    width: 42%;
  }

  .newyjs-content .content-header .right-form {
    gap: 5px;
  }

  .newyjs-content .content-header .right-form .yjs-select {
    width: 184px;
  }

  .newyjs-content .content-header .right-form .year-select {
    width: 96px;
  }

  .newyjs-content .content-header .right-form .layui-btn {
    width: 76px;
  }

  .newyjs-content .content-header .right-form .layui-input {
    padding: 0 10px;
  }

  .layui-form-select .layui-edge {
    right: 10px;
  }
}

@media (max-width:768px) {
  .newyjs-content .content-header {
    padding: 0;
    margin-bottom: 20px;
  }

  .newyjs-content .content-header h3 {
    width: 100%;
    margin-bottom: 20px;
  }

  .newyjs-content .content-header .right-form {
    width: 100%;
  }

  .newyjs-content .content-header .right-form .yjs-select {
    width: 300px;
    flex-grow: 1;
  }

  .newyjs-content .content-header .right-form .year-select {
    width: 200px;
    flex-grow: 1;
  }

  .newyjs-content .content-header .right-form .layui-btn {
    width: 100px;
    flex-grow: 1;
  }

  .newyjs-content .content-header .right-form .layui-input {
    padding: 0 22px;
  }

  .layui-form-select .layui-edge {
    right: 22px;
  }
}

@media (max-width:431px) {
  .newyjs-main {
    margin-top: -39px;
  }

  .newyjs-nav ul li {
    width: 32.5%;
  }

  .newyjs-content .content-header .right-form .yjs-select {
    width: 400px;
    flex-grow: 1;
  }
  .newyjs-header .header-bg{
    overflow:hidden;
    /* height: 160px; */
    padding-top: 25px;
  }
  .newyjs-header .header-bg img{
    transform:scale(1.5);
  }
  .newyjs-content .content-header .right-form .year-select {
    width: 230px;
    flex-grow: 1;
  }

  .newyjs-content .content-header .right-form .layui-btn {
    width: 100px;
    flex-grow: 1;
    height: 34px;
  }

  .newyjs-content .content-header .right-form .layui-input {
    padding: 0 10px;
  }
  .layui-form-select .layui-edge {
    right: 10px;
  }
}

/* 导航栏 */
/* 手机端时将导航放于顶部 */
@media (max-width: 768px) {
  .mobile-sidebar {
    width: 100%;
    position: fixed;
    left: 0;
    right: 0;
    top: -183px;
    z-index: 99;
    background: rgba(0, 0, 0, 0.6) !important;
    /* width: 100% !important; */
    height: 183px !important;

    transition: all .3s;
    -webkit-transition: all .3s;
    margin-bottom: 0;
  }

  .newyjs-nav ul {
    position: relative;
    z-index: 15;
  }

  .newyjs-nav ul li {
    width: 100%;
  }

  .newyjs-nav ul li a h3 {
    border-radius: 0;
  }

  .mobile-sidebar.active {
    top: 0;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
  }

  .mobile-sidebar-mark {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 10;
    display: none;
  }

  .mobile-sidebar-icon {
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 13;
    width: 40px;
    height: 40px;
    background: url(/gasrmzfw/ztzl/newyjs/images/site_tree_ico.gif) no-repeat center center;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 0 4px 0 0;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    transform: rotate(90deg);
  }

  .mobile-sidebar-icon-open {
    transform: rotate(270deg);
    border-radius: 0 0 0 4px;
  }

  .mobile-sidebar .sideMenu {
    flex-direction: column;
  }

}