/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}


/* HTML5 display-role reset for older browsers */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
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;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

* {
    box-sizing: border-box;
    font-family: "微软雅黑";
}


/*--如果你的网站已经安装了reset.css请去掉上面的代码段--*/

.nav {
    background: #77c9ff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.nav .mobNav {
    display: none;
}

.nav .dropdown {
    width: 100vw;
}

.nav .menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    align-content: stretch;
    flex-wrap: nowrap;
}

.nav .menu li {
    -webkit-box-flex: 1;
    height: 10vh;
    -ms-flex: 1;
    flex: 1;
    text-align: center;
}

.nav .menu li a {
    height: 10vh;
    width: 98%;
}

.nav .menu li:last-child a {
    border-right: none;
}

.nav .menu a {
    color: #fff;
    border-right: 1px solid #000;
    height: 10vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-size: 1rem;
    text-decoration: none;
}

.nav .menu a:hover {
    background: red;
    -webkit-transition: all 300ms linear;
    transition: all 300ms linear;
}

@media screen and (max-width: 750px) {
    .carousel-inner {
        padding-top: 10vw;
    }
    .nav {
        background: #f2f2f2;
        position: relative;
        padding: 2vw;
        width: 100vw;
    }
    .nav .mobNav {
        display: block;
        -webkit-box-flex: 1;
        -ms-flex: 1;
        flex: 1;
    }
    .nav .mobNav .toolBar {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        height: 8vw;
        overflow: hidden;
    }
    .nav .mobNav .menuBtn {
        padding: 0;
        margin: 0;
        /* height: 8vw;
    width: 8vw;
    background: orange url(../imgs/bar.png) center center no-repeat; */
        width: 0;
        height: 0;
        border-right: 1rem solid transparent;
        border-left: 1rem solid transparent;
        border-top: 1rem solid #515151;
        background-size: 7vw 7vw;
        outline: none;
        border-radius: 1px;
    }
    .nav .mobNav .menuBtn:active {
        opacity: 0.8;
    }
    .nav .mobNav .menuBtn.close {
        background: orange url(../imgs/close.png) center center no-repeat;
        background-size: 5vw 5vw;
    }
    .nav .mobNav a {
        -webkit-box-flex: 1;
        -ms-flex: 1;
        flex: 1;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        align-items: center;
    }
    .nav .mobNav a img {
        height: 100%;
        width: auto;
    }
    .nav .mobNav span {
        width: 8vw;
        height: 8vw;
    }
    .nav .dropdown {
        position: absolute;
        left: 0;
        top: 12vw;
        width: 100vw;
        background: rgba(0, 0, 0, 0.3);
        z-index: 999;
        display: none;
    }
    .nav .dropdown .menu {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    .nav .dropdown .menu li {
        width: 100vw;
    }
    .nav .dropdown .menu li:last-child a {
        border-bottom: 0;
    }
    .nav .dropdown .menu a {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        border-right: none;
        text-indent: 2vw;
        border-bottom: 1px solid #ddd;
    }
    .nav .dropdown.show {
        display: block;
    }
}