
* {
    -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.
 */
body {
    color: #7f8c8d;
    font-size: 17px;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
label {
    color: #34495e;
}
.content{
    /* width: 1280px; */
    margin: 0 auto;
}
.header{
    background: url("banner.jpg") no-repeat center center;
    height: 400px;
    background-color: #041a49;
}
.yg2-title {
    font-size: 24px;
    font-weight: 600;
    color: #000000;
    text-align: center;
    padding: 20px;
    margin-bottom: 20px;
    position:relative;
}
.yg2-title:after {
    content:"";
    background: #0d4cb6;
    width: 50px;
    height: 5px;
    position: absolute;
    bottom:0px;
    left:calc(50% - 25px);
}
.headerbox{
    text-align: center;
    font-weight: 600;
    color:#ffffff;
    margin: 0 auto;
    text-align: center;
    width: 1280px;
}
.header-top{
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: nowrap;
    flex-direction: row;
}
.header-top p{
    padding: 0;
    margin: 10px 0;
}
.header-top p a{
    color: #ffffff;
    text-decoration: none;
}
.header-top p a:hover{
    color: #fff700;
    text-decoration: underline;
}
.header-text{
    font-size: 2rem;
    text-shadow: 1px 1px 1px #051745c4;
}
.header-info{
    font-size: 1rem;
    font-weight: normal;
    text-shadow: 1px 1px 1px #05123c;
    color: #ff8d00;
}
.pure-g{
    width:1280px;
    margin:0 auto;
}
.yg2-left {
    padding: 30px;
    line-height: 2em;
    text-align: center;
}

.yg2-right {
    padding: 30px;
    line-height: 2em;
    text-align: center;
}
.section-bg {
    background: rgba(245, 245, 245, 1);
}
.QRimg{    
    text-shadow: 1px 1px 1px #051745c4;
}
.footer{
    background-color: #7f8c8d;
    color: #ffffff;
    text-align: center;
    font-size: 16px;
    padding: 20px;
}
@media screen and (max-width: 1280px) {

    /* We increase the body font size */
    body {
        font-size: 14px;
    }
    
    .content{
        width: 100%;
        margin: 0 auto;
    }
    img{
        width: 100%;
    }
    .header{
        background-size: cover;
        background-position: top;
    }
    .headerbox{
        width: 100%;
        box-sizing: border-box;
    }
    .header-top {
        font-size: 1.1rem;
        display: flex;
        justify-content: space-around;
        align-items: center;
        flex-wrap: nowrap;
        flex-direction: column;
    }
    .QRimg{
        width: 150px;
        margin: 0 auto;
    }    
    .pure-g{
        width:auto;
        margin:0 auto;
    }
    .header-info{
        font-size: .7rem;
    }
}