﻿


/*网站基本定义*/

* {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-normal);
    color: var(--font-color);
    line-height: var(--line-height-normal);
    min-width: 1200px;
}

img {
    border: 0px;
}

ul, li {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-size: 16px;
}

a {
    text-decoration: none;
    cursor: pointer;
    color: var(--font-color-normal);
}

a:hover {
    color: var(--font-color-bold);
}


.clear {
    clear: both;
}

.left {
    float: left;
}

.right {
    float: right;
}

/*清除浮动代码*/
.clearfloat:after {
    display: block;
    clear: both;
    content: "";
    visibility: hidden;
    height: 0
}

.clearfloat {
    zoom: 1
}

.clearfix {
    *zoom: 1
}

.clearfix:after {
    visibility: hidden;
    clear: both;
    display: block;
    content: ".";
    height: 0
}

.shadow {
    box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.2);
    transform: translateY(1px);
}

/* 默认宽度为1200px */
.container {
    width: 1200px;
    margin: 0 auto;
}

/* 当屏幕宽度大于1500px且小于等于1700px时，宽度为1400px */
@media (min-width: 1501px) and (max-width: 1700px) {
    .container {
        width: 1400px;
    }
}

/* 当屏幕宽度大于1700px时，宽度为1600px */
@media (min-width: 1701px) {
    .container {
        width: 1600px;
    }
}




/*** effect zoom in ***/

.img-zoom-in img {
    transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
}

.img-zoom-in:hover img {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1)
}

.video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video iframe,
.video object,
.video embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.videoplay {
    position: relative;
}

.videoplay::before {
    content: '';
    background: rgba(0,0,0,0.6);
    width: 40px;
    height: 40px;
    position: absolute;
    left: 0;
    right: 0;
    top: 0px;
    bottom: 0;
    cursor: pointer;
    margin: auto;
    z-index: 2;
    overflow: hidden;
    border-radius: 20px;
}

.videoplay:hover:before {
    background: #ff0000;
}

.videoplay::after {
    content: '';
    left: 20px;
    right: 0;
    border-width: 8px 15px;
    border-color: transparent transparent transparent #fff;
    width: 0px;
    height: 0px;
    overflow: hidden;
    position: absolute;
    top: 0px;
    bottom: 0;
    cursor: pointer;
    border-style: solid;
    margin: auto;
    z-index: 3;
}


.btn-gold {
    background: var(--nav-bg);
    color: var(--nav-color);
    padding: 9px 22px;
    border-radius: 4px;    
    border: none;
    cursor: pointer;
    transition: 0.3s;
}
.btn-gold a {
    color:var(--nav-color);
}

.btn-gold:hover {
    background:var(--nav-hover);
    opacity: 0.85;
    color:var(--nav-color);
}

.btn-white {
    border: 1px solid var(--white);
    color: var(--white);
    padding: 9px 22px;
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    transition: 0.3s;
}

.btn-white:hover {
    background: rgba(255,255,255,0.1);
}
