﻿/*布局-页面容器*/

.g-container {
    width: 100%;
    min-width: 1200px;
    height: 100%;
}


/*布局-页面居中区域*/

.g-center {
    width: 1200px;
    margin-left: auto;
    margin-right: auto;
}


/*布局-页面居中区域*/

.g-main {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    min-height: 100%;
    padding-bottom: 220px;
    background: #fff;
}


/*布局-页脚*/

.g-foot {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 220px;
    margin-top: -220px;
    background: #333;
}


/*头部*/

.m-head {
    width: 100%;
    height: 80px;
    position: relative;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.m-head .logo {
    float: left;
    margin-top: 15px;
}

.m-head .tel {
    float: right;
    height: 20px;
    margin-top: 30px;
    font-size: 16px;
}

.m-head .tel i {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url("../images/icons.png") no-repeat 0 0;
    vertical-align: middle;
    margin-right: 5px;
    margin-bottom: 2px;
}

.m-head .tel span {
    font-weight: bold;
    font-size: 18px;
}


/*banner*/

.m-banner {
    width: 100%;
    height: 480px;
    background: url("../images/banner.jpg") no-repeat center center;
}


/*培训入口*/

.m-train-enter {
    position: absolute;
    top: 100px;
    right: 0;
    width: 300px;
    height: 300px;
}

.m-train-enter .item {
    height: 120px;
    border-radius: 60px;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-bottom: 40px;
}

.m-train-enter .item .t1 {
    font-size: 24px;
    line-height: 36px;
    font-weight: bold;
    color: #ffe373;
}

.m-train-enter .item .t2 {
    font-size: 16px;
    line-height: 24px;
    color: #ffe373;
}

.m-train-enter .item:hover {
    background: rgba(0, 0, 0, 0.25);
}

.m-train-enter .item-2 .t1,
.m-train-enter .item-2 .t2 {
    color: #04f6ff;
}


/*通用-标题*/

.m-title {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.m-title .arrow-left {
    width: 60px;
    height: 24px;
    background: url("../images/icons.png") no-repeat -25px 0;
}

.m-title .arrow-right {
    width: 60px;
    height: 24px;
    background: url("../images/icons.png") no-repeat -85px 0;
}

.m-title .txt {
    font-size: 30px;
    font-weight: bold;
    margin: 0 20px;
}


/*关于我们*/

.m-about-us .intro {
    width: 650px;
    height: 275px;
    float: left;
    border-radius: 8px;
    background: #f2f4f8;
    box-sizing: border-box;
    padding: 45px;
    font-size: 24px;
    line-height: 2em;
}

.m-about-us .pic {
    width: 520px;
    height: 275px;
    float: right;
    border-radius: 8px;
    overflow: hidden;
}


/*关于我们*/

.m-notice {
    border-radius: 8px;
    background: #f2f4f8;
    box-sizing: border-box;
    padding: 20px 45px;
}

.m-notice .item {
    height: 48px;
    line-height: 48px;
    font-size: 22px;
    position: relative;
}

.m-notice .item i {
    display: block;
    width: 7px;
    height: 7px;
    border-radius: 7px;
    background: #bdc3d1;
    position: absolute;
    top: 20px;
    left: -20px;
}

.m-notice .item .tit {
    float: left;
    width: 920px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.m-notice .item .date {
    float: right;
    text-align: right;
}

.m-notice .item:hover {
    color: #1452cc;
}

.m-notice .item:hover i {
    background: #1452cc;
}


/*底部*/

.m-foot {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.m-foot .con {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
}

.m-foot .con a {
    color: #666;
}

.m-foot .con a:hover {
    color: #999;
}

.m-foot .qrcode {
    text-align: center;
    padding-top: 10px;
    color: #666;
}


/*轮播*/

.box {
    position: relative;
    width: 1200px;
    height: 480px;
    margin: 0 auto;
}

.box .main {
    width: 1200px;
    height: 420px;
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -600px;
    overflow: hidden;
}

.box .item-pic {
    list-style: none;
    width: 600px;
    height: 280px;
    position: absolute;
    left: 0;
    top: 70px;
    transition: all 0.3s ease;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.box .item-pic img {
    opacity: 0.8;
}

.box .p0 {
    transform: translate3d(-600px, 0, 0) scale(1);
    z-index: 1;
}

.box .p0 img {
    opacity: 0.1;
}

.box .p1 {
    transform: translate3d(0px, 0, 0) scale(1);
    z-index: 2;
}

.box .p1 img {
    opacity: 0.6;
}

.box .p2 {
    transform: translate3d(600px, 0, 0) scale(1);
}

.box .p2 img {
    opacity: 0.6;
}

.box .p3 {
    transform: translate3d(300px, 0, 0) scale(1.5);
    z-index: 4;
}

.box .p3 img {
    opacity: 1;
}

.box .p4 {
    transform: translate3d(1200px, 0, 0) scale(1);
    z-index: 3;
}

.box .p4 img {
    opacity: 0.1;
}

.box .newItem {
    position: absolute;
    left: 0;
    top: 0;
}

.box .changeItem {
    position: absolute;
    left: 50%;
    top: 0px;
    margin-left: -202px;
    transform: scale(1.4);
}

.box .item-pic img {
    width: 100%;
    height: 100%;
}

.box .btnMain {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
}

.box .left {
    position: absolute;
    left: 15px;
    top: 50%;
    margin-top: -15px;
    z-index: 10;
    cursor: pointer;
}

.box .right {
    position: absolute;
    right: 15px;
    top: 50%;
    margin-top: -15px;
    z-index: 10;
    cursor: pointer;
}

.box .left img,
.box .right img {
    width: 30px;
    height: 30px;
}

.box .pressMain {
    position: absolute;
    left: 50%;
    bottom: 10px;
    width: 210px;
    height: 24px;
    text-align: center;
    margin-left: -105px;
    z-index: 20;
}

.box .pressMain span {
    display: inline-block;
    margin: 2px 3px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    color: #fff;
    background-color: rgba(255, 255, 255, 0.53);
    text-align: center;
    line-height: 20px;
}

.box .pressMain .active {
    background: #1452cc;
}


/*弹窗*/

.m-dialog-wrap {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.m-dialog {
    width: 1000px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.m-dialog .hd {
    height: 30px;
    line-height: 30px;
    padding: 15px 30px;
    background: #f8f8f8;
}

.m-dialog .hd .tit {
    float: left;
    font-size: 24px;
}

.m-dialog .hd .btn-close {
    float: right;
    width: 30px;
    height: 30px;
    background: url("../images/icons.png") no-repeat 0 -24px;
    cursor: pointer;
}

.m-dialog .hd .btn-close:hover {
    background-position: 0 -54px;
}

.m-dialog .bd {
    padding: 20px;
    line-height: 30px;
    min-height: 200px;
    max-height: 500px;
    overflow: auto;
    margin: 10px;
}


/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/

.m-dialog .bd::-webkit-scrollbar {
    width: 6px;
    height: 6px;
    background-color: transparent;
}


/*定义滚动条轨道 内阴影+圆角*/

.m-dialog .bd::-webkit-scrollbar-track {
    border-radius: 3px;
    background-color: #f0f0f0;
}


/*定义滑块 内阴影+圆角*/

.m-dialog .bd::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #777;
}

.m-dialog .bd .tit {
    font-size: 24px;
    line-height: 1.5;
    margin-bottom: 20px;
    font-weight: bold;
    text-align: center;
}

.m-dialog .bd .con {
    font-size: 18px;
    line-height: 1.8;
}

.m-dialog .bd .con p {
    margin-bottom: 0.2em;
}

.m-dialog .bd .con p:last-child {
    margin-bottom: 0;
}

.m-dialog .bd .con a {
    color: #1452cc;
    text-decoration: underline;
}

.m-dialog .ft {
    min-height: 80px;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
}


/*按钮*/

.u-btn {
    box-sizing: border-box;
    display: inline-block;
    width: auto;
    min-width: 160px;
    height: 48px;
    line-height: 48px;
    text-align: center;
    border-radius: 24px;
    padding: 0 20px;
    font-size: 18px;
    color: #fff;
    background: #1452cc;
    cursor: pointer;
}

.u-btn:focus {
    outline: none;
    color: #fff;
}

.u-btn:hover {
    background: #1657d9;
}