* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/*
 * -- BASE STYLES --
 * Most of these are inherited from Base, but I want to change a few.
 */
html {
    scroll-padding-top: 60px;  /* 控制a标签锚点距离顶部距离 */
    scroll-behavior: smooth; /* 平滑滚动 */
    overflow: -moz-hidden-unscrollable;
    height: 100%;
}

header {
    background-color: tranparents; /* 初始背景颜色 */
    color: white;
    text-align: center;
    padding: 1em 0;
    width: 100%;
    height: 64px;
    position: fixed;
    z-index: 20;
    top: 0;
    transition: background-color 0.3s ease; /* 平滑过渡效果 */
}

header.scrolled {
    background: rgba(61,146,255,1);
}
.pure-menu.pure-menu-fixed {
    /* Fixed menus normally have a border at the bottom. */
    border-bottom: none;
    /* I need a higher z-index here because of the scroll-over effect. */
    z-index: 20;
}

body {
    line-height: 1.7em;
    color: #7f8c8d;
    font-size: 13px;
    -ms-overflow-style: none;
    overflow: auto;
    height: 100%;
    /* width: calc(100vw + 18px);*/
    width: calc(100vw-6px);
}

 #box::-webkit-scrollbar {
            width: 6px;
            height: 4px;
        }
        
        #box::-webkit-scrollbar-thumb {
            border-radius: 3px;
            -moz-border-radius: 3px;
            -webkit-border-radius: 3px;
            background-color: #666; /*滚动条背景，#f5f5f5;*/
        }
        
        #box::-webkit-scrollbar-track {
            background-color: #eee;
        }
        #box {
            width: calc(100vw - 0px);
            height: 100%;
            overflow-y: scroll;
        }

h1,
h2,
h3,
h4,
h5,
h6,
label {
    color: #34495e;
}

.pure-img-responsive {
    max-width: 100%;
    height: auto;
}

hr {
    height: 4px;
    width: 96px;
    text-align: center;
    position: relative;
    /* background: #F4D03F; */
    background: #28a7e9;
    margin: 0 auto;
    margin-bottom: 30px;
    border: 0;
}

span {
    padding: 0 1em;
}

/* 
body::-webkit-scrollbar {
  display: none;
}
*/

/* 滚动条样式 */
  ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }

  /* 背景 */
  ::-webkit-scrollbar-track {
    /*background: rgb(239, 239, 239);*/
    /*border-radius: 2px;*/
    width: 6px;
    background: rgba(#101F1C, 0.1);
    -webkit-border-radius: 2em;
    -moz-border-radius: 2em;
    border-radius: 2em;
  }

  /* 滑块 */
  ::-webkit-scrollbar-thumb {
    /*background-color: #bfbfbf;*/
    /*border-radius: 10px;*/
    background-color: rgba(144, 147, 153, .5);
    background-clip: padding-box;
    min-height: 28px;
    -webkit-border-radius: 2em;
    -moz-border-radius: 2em;
    border-radius: 2em;
    transition: background-color .3s;
    cursor: pointer;
  }

  ::-webkit-scrollbar-thumb:hover {
    /*background: #bfbfbf;*/
    background-color: rgba(144, 147, 153, .3);
  }

  ::-webkit-scrollbar-corner {
    background: #bfbfbf;
  }
  
/*
 * -- LAYOUT STYLES --
 * These are some useful classes which I will need
 */
.l-box {
    padding: 1em;
}

.l-box-lrg {
    padding: 1em;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.is-center {
    text-align: center;
}

.fa {
    /* background: #28a7e9; */
    /* border: 2px solid rgba(255, 255, 255, .2);*/
    border: 2px solid rgba(0, 0, 0, .2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
}

.image-contain {
    width: 200px;
    height: 160px;
    object-fit: contain;
    background: #FFFFFF;
}

.image-cover {
    width: 560px;
    height: 400px;
    object-fit: cover;
    background: #FFFFFF;
}

/*
 * -- PURE FORM STYLES --
 * Style the form inputs and labels
 */
.pure-form label {
    margin: 1em 0 0;
    font-weight: bold;
    font-size: 100%;
}

.pure-form input[type] {
    border: 2px solid #ddd;
    box-shadow: none;
    font-size: 100%;
    width: 100%;
    margin-bottom: 1em;
}

/*
 * -- PURE BUTTON STYLES --
 */
.pure-button {
    background-color: #1f8dd6;
    color: white;
    padding: 0.5em 2em;
    border-radius: 5px;
}

a.pure-button-primary {
    background: none;
    color: #1f8dd6;
    border: 2px solid rgba(255, 255, 255, .2);
    width: 64px; 
    height: 64px;
    font-size: 100%;
    text-align: center;
    padding:10px 0px;
}

a.pure-button-circle { 
    background: white;
    color: #1f8dd6;
    border: 2px solid rgba(255, 255, 255, .2);
    border-radius: 100% !important;
    width: 64px; 
    height: 64px;
    font-size: 100%;
    text-align: center;
    padding:10px 0px;
}


/*
 * -- MENU STYLES --
 */

.home-menu {
    padding: 0.5em;
    text-align: center;
    /*box-shadow: 0 1px 1px rgba(0,0,0, 0.10);*/
    background: tranparents
}

.home-menu .pure-menu-heading {
    /*color: #6FBEF3;*/
    font-weight: 400;
    font-size: 120%;
}

.home-menu .pure-menu-selected a {
    color: white;
}

.home-menu a {
     color: white;
}
.home-menu li a:hover,
.home-menu li a:focus {
    background: none;
    border-bottom: 2px solid #fff;

}


/*
 * -- SPLASH STYLES --
 * This is the blue top section that appears on the page.
 */

.splash-container {
    background:url(./images/bg.jpg) no-repeat center;
    background-size: cover;
    z-index: 0;
    overflow: hidden;
    /* The following styles are required for the "scroll-over" effect */
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed !important;
    opacity: 0.85;
}
&:before {
	  content: '';
	  display: block;
	  height: 100%;
	  width: 100%;
	  background: rgba(0,0,0,0.15);
	  position: absolute;
	  z-index: 2;
}

.splash {
    /* absolute center .splash within .splash-container */
    width: 80%;
    height: 50%;
    margin: auto;
    position: absolute;
    top: 100px; left: 0; bottom: 0; right: 0;
    text-align: center;
    text-transform: uppercase;
    /* backdrop-filter: blur(10px); */
}

/* This is the main heading that appears on the blue section */
.splash-head {
    font-size: 20px;
    font-weight: bold;
    color: white;
    padding: 1em 1.6em;
    font-weight: 100;
    border-radius: 5px;
    line-height: 1em;
}

/* This is the subheading that appears on the blue section */
.splash-subhead {
    font-size: 18px;
    color: white;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

/*
 * -- CONTENT STYLES --
 * This represents the content area (everything below the blue section)
 */
.content-wrapper {
    /* These styles are required for the "scroll-over" effect */
    position: absolute;
    top: 100%;
    width: 100%;
    min-height: 12%;
    z-index: 10;
    background: white;

}

/* We want to give the content area some more padding */
.content {
    padding: 1em 6em 3em;
}

.content2 {
    padding: 1em 6em 3em;
    background: #fafafa;
}

/* This is the class used for the main content headers (<h2>) */
.content-head {
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 2em 0 1em;
}

/* This is a modifier class used when the content-head is inside a ribbon */
.content-head-ribbon {
    color: white;
}

/* This is the class used for the content sub-headers (<h3>) */
.content-subhead {
    color: #1f8dd6;
}
    .content-subhead i {
        margin-right: 7px;
    }

/* This is the class used for the dark-background areas. */
.ribbon {
    background: #2d3e50;
    color: #aaa;
}

/* This is the class used for the footer */
.footer {
    /* position: fixed; */
    bottom: 0;
    width: 100%;
    background: rgba(61,146,255,1);
    color: white;
}

/*
 * -- TABLET (AND UP) MEDIA QUERIES --
 * On tablets and other medium-sized devices, we want to customize some
 * of the mobile styles.
 */
@media (min-width: 48em) {

    /* We increase the body font size */
    body {
        font-size: 16px;
    }

    /* We can align the menu header to the left, but float the
    menu items to the right. */
    .home-menu {
        text-align: left;
    }
        .home-menu ul {
            float: right;
        }

    /* We increase the height of the splash-container */
/*    .splash-container {
        height: 500px;
    }*/

    /* We decrease the width of the .splash, since we have more width
    to work with */
    .splash {
        width: 50%;
        height: 50%;
    }

    .splash-head {
        font-size: 250%;
    }


    /* We remove the border-separator assigned to .l-box-lrg */
    .l-box-lrg {
        border: none;
    }

}

/*
 * -- DESKTOP (AND UP) MEDIA QUERIES --
 * On desktops and other large devices, we want to over-ride some
 * of the mobile and tablet styles.
 */
@media (min-width: 78em) {
    /* We increase the header font size even more */
    .splash-head {
        font-size: 300%;
    }
}
