/* 
    Created on : 2017-3-27, 16:37:16
    Author     : CHEEE, All Rights Reserved.
*/
/*------------------    Reset  --------------------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header,
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline;
}
img{
    vertical-align: middle;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, main, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
        
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

/* Don't kill focus outline for keyboard users: http://24ways.org/2009/dont-lose-your-focus */
a, a:hover, a:active, a:focus {
    outline: none;
    text-decoration: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}
.form-control{
    border-radius: 0;
}

/*------------------   Body    ------------------*/
html,body{
    width: 100%;
    height: 100%;
}
body{
    font-family: 'Montserrat';
    background-color: white;
    overflow: auto;
}
.center{
    text-align: center;
}
.vertical-center{
    margin-right: auto;
    margin-left: auto;
    vertical-align: middle;
}
/*---------------banner1------------------*/
.banner{
    width: 100%;
    height: 633px;
    margin-top: 135px;
}
.banner-logo{
    width: 128px;
    height: 128px;
    position: relative;
    bottom: 95px;
    margin:0 auto;
    box-shadow: 0px -2px 4px 0px rgba(0, 0, 0, 0.5);
}
.banner-logo img{
    width: 128px;
    height: 128px;
}

.after-banner{
    background: black;
    width: 100%;
    font-size: 14px;
    font-weight: 300;
    color: #D7D7D8;
    border-bottom: 5px solid #C30D23;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.5);
}

.after-banner-line{
    position: relative;
    bottom: 57px;
    margin: 0 auto;
    border: 1px solid white;
    width: 250px;
}
.p-box{
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}
.after-banner p{
    position: relative;
    bottom: 33px;
    margin: 0 15px;
    line-height: 18px;
}

.shortcut{
    width: 100%;
    height: 455px;
    background: white;
}

.shortcut-tb{
    margin-top: 72px;
    margin-left: auto;
    margin-right: auto;
}

.shortcut-tb-bg td{
    width: 370px;
    height: 370px;
    text-align: center;
    padding: 0 15px;
    vertical-align: middle;
}
.shortcut-tb-bg td div{
    width: 370px;
    height: 370px;
    font-size: 24px;
    font-weight: bold;
    line-height: 370px;
    color: white;
    transition: all .5s;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    -ms-transition: all .5s;
}
.shortcut-tb-bg td div:hover{
    color: #C30D23;
    background: rgba(0,0,0,0.50);
}
.shortcut-tb-icon td{
    height: 73px;
    z-index: 1;
}
.shortcut-tb-icon td img{
    position: relative;
    bottom: 36px;
    width: 73px;
    height: 73px;
    margin-left: calc(50% - 36px);
    box-shadow: 0px 2px 4px 1px rgba(0, 0, 0, 0.5);
}
.myskill{
    height:750px;
    width: 100%;
    background: white;
    margin-top: 70px;
    margin-bottom: 60px;
}
.myskill p{
    padding-top: 24px;
    color: #686868;
    font-size: 14px;
    line-height: 18px;
    margin: 0 15px;
}
.sub-title{
    font-size: 28px;
    font-weight: bolder;
}

.sub-line{
    margin: 10px auto 0px auto;
    border: 1px solid #C30D23;
    width: 130px;
}

.myskill table{
    width: 100%;
    padding: 0px 15px;
    table-layout: fixed;
    margin-top: 30px;
}
.myskill table td{
    height: 200px;
    padding: 50px 0;
}

.myskill table td div{
    width: 100%;
    height: 90%;
    max-width: 200px;
    margin: 0 auto;
}
.myskill table td p{
    padding-top: 0px;
    color: black;
    font-size: 14px;
    font-weight: bold;
    width: 90%;
    max-width: 190px;
    margin: 10px auto;      
}
@media (max-width: 1199px){
    .banner{
        height: 580px;
    }
    .banner-logo{
        width: 102.4px;
        height: 102.4px;
        bottom: 76px;
    }
    .banner-logo img{
        width: 102.4px;
        height: 102.4px;
    }
    .shortcut{
        height: 336px;
    }

    .shortcut-tb{
        margin-top: 57.6px;
    }

    .shortcut-tb-bg td{
        width: 240px;
        height: 240px;
    }
    .shortcut-tb-bg td div{
        width: 240px;
        height: 240px;
        line-height: 240px;
        font-size: 18px;
    }
    .shortcut-tb-icon td{
        height: 48px;
    }
    .shortcut-tb-icon td img{
        bottom: 23px;
        width: 48px;
        height: 48px;
        margin-left: calc(50% - 24px);
    }

}

@media (max-width: 767px){
    .banner{
        margin-top: 90px;
        height: 460px;
    }
    .banner-logo{
        width: 64px;
        height: 64px;
        bottom: 47.5px;
    }
    .banner-logo img{
        width: 64px;
        height: 64px;
    }
    .after-banner-line{
        bottom: 22px;
        width: 150px;
    }
    .after-banner p{
        bottom: 5px;
        padding-bottom: 10px;
    }
    .shortcut{
        height: 160px;
    }

    .shortcut-tb{
        margin-top: 30px;
    }

    .shortcut-tb-bg td{
        width: 120px;
        height: 120px;
    }

    .shortcut-tb-bg td div{
        width: 120px;
        height: 120px;
        line-height: 120px;
        font-size: 12px;
    }
    .shortcut-tb-icon td{
        height: 20px;
    }
    .shortcut-tb-icon td img{
        bottom: 10px;
        width: 20px;
        height: 20px;
        margin-left: calc(50% - 10px);
    }
    .myskill{
        height: auto;
        margin-top: 35px;
    }
    .sub-title{
        font-size: 20px;
    }
    .sub-line{
        width: 90px;
    }
    .myskill table td{
        height: 160px;
        padding-top:10px;
    }
    .myskill table td p{
        font-size: 8px;
        width: 90%;
        margin: 0 auto;      
    }
}
@media (max-width:414px){
    .banner{
        height: 260px;
    }
    .myskill{
        height: auto;
    }
    .myskill table,
    .myskill tr,
    .myskill td,
    .myskill tbody{
        display: block;
    }
    .myskill table{
        padding: 20px 0 20px 0;
    }
    .myskill table td{
        height: 130px;
        margin: 0 auto;
        padding: 0px 0px;
    }
    .myskill table td div{
        width: 100px;
        height: 100px;
    }
    .shortcut{
        height: 700px;
    }
    .shortcut-tb-bg td {
        display: block;
        margin: 0 auto;
        height: 200px;
        width: 200px;
        padding: 10px 0;
    }
    .shortcut-tb-bg td div{
        width: 200px;
        height: 200px;
        line-height: 200px;
    }
    .shortcut-tb-icon{
        display: none;
    }
    .shortcut-tb{
        width: 280px;
    }
    .shortcut-tb-bg td span{
        line-height: 200px;
    }
}