* {
            margin: 0;
            padding: 0;
        }

body {
  background: #92b3a2 url(/images/bg.jpg) repeat 0 0;
    line-height: 1.5;
    font-family: "webfont" !important;
    font-size: 16px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.2);
}

a, a:hover, a:focus {
    text-decoration: none;
    transition: all .3s;
}
a {
    color: #bd5c42;
    text-decoration: none;
}

ul {
    list-style-type: none;
}

p {
    margin: 1em 0;
}

img {
    vertical-align: middle;
    border-style: none;
}




        .container {
      display: flex;
      flex-direction: column;
      top: 0;
      right: 0;
      left: 0;
      bottom: 0;
      height: 100%;
      height: 100vh;
margin : 0 auto;
            display: -webkit-flex;
            min-height: 100px;
            margin-top: 70px;
        }

header {
    position: fixed; top: 0px; left: 0px; z-index: 990;
        padding: 15px 0px;
        width: 100%;
/*background-color: #fafafa;
    border-bottom: 1px solid #c9c9c9;
    box-shadow: 2px 0 2px rgb(0 0 0 / 25%);

    text-align: center;*/
   background: #92b3a2 url(/images/bg.jpg) repeat 0 0;
}




        @media all and (min-width: 576px) {
        .menu,
        .container {
            max-width: 540px;
        }

        }
                @media all and (min-width: 768px) {
                .menu,
                .container {
                    max-width: 720px;
                }
                }
                        @media all and (min-width: 992px) {
                        .menu,
                        .container {
                            max-width: 960px;
                        }
                        }
                                @media all and  (min-width: 1200px) {
                                .menu,
                                .container {
                                    max-width: 1140px;
                                }
                                }



        footer {
                text-align: center;
                font-size: 13px;
                padding: 10px;
            /* flex: 1;设置为1则顶体尾平分body */
        }

header input,
header input:hover {
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    /*line-height: 1.5;*/
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-top-left-radius: 0.25rem;
        border-bottom-left-radius: 0.25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

[type="search"] {
  outline-offset: -2px; // 2. Correct the outline style in Safari.
  -webkit-appearance: none;
}

header button[type="submit"] {
width: 60px;
    height: 32px;
    border-width: 0px;
        border-top-right-radius: 0.25rem;
            border-bottom-right-radius: 0.25rem;
    background: #cb7a2b;
    cursor: pointer;
    outline: none;
    color: white;
    font-size: 15px;
}

.menu,
.submenu {
    list-style-type: none;
}
.menu .dir {
    font-size: 20px;
    padding: 0px 10px;
}
.menu .logo {
    color : #cb7a2b;
    font-size: 20px;
    padding: 0px 20px;
}
.item:not(.button) a:hover,
.item a:hover::after {
    color: #ccc;
}
.last-item {
margin-left:auto;
}

/* Mobile menu */
.menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
}
.menu li {
    padding: 5px 10px;
}
.menu li a {
    display: block;
}
.menu li .subitem a {
    padding: 5px;
}
.toggle {
    order: 2;
    font-size: 20px;
}
.link {
    order: 1;
}
.link a {
    color: #53565a;
}
.item {
    order: 3;
    width: 100%;
    display: none;
}
.active .item {
    display: block;
}
.button.secondary { /* divider between buttons and menu links */
    border-bottom: 1px #444 solid;
}

/* Submenu up from mobile screens */
.submenu {
    display: none;
}
.submenu-active .submenu {
   display: block;
}
.has-submenu i {
    font-size: 12px;
}
.has-submenu > a::after {
    font-size: 12px;
    line-height: 16px;
    font-weight: 900;
    content: "\f078";
    color: white;
    padding-left: 5px;
}
.subitem a {
    padding: 5px 5px;
}
.submenu-active {
    background-color: #111;
    border-radius: 3px;
}



@media all and (min-width: 700px) {
    .menu {
        justify-content: center;
    }
    .toggle {
        flex: 1;
        text-align: right;
    }
    /* Button up from tablet screen */
    .menu li .button a {
        padding: 5px 5px;
        margin: 0;
    }
    .button a {
        background: #0080ff;
        border: 1px royalblue solid;
    }
    .button.secondary {
        border: 0;
    }
    .button.secondary a {
        background: transparent;
        border: 1px #0080ff solid;
    }
    .button a:hover {
        text-decoration: none;
    }
    .button:not(.secondary) a:hover {
        background: royalblue;
        border-color: darkblue;
    }
        .toggle {
            display: none;
        }
}


/* Desktop menu */
@media all and (min-width: 960px) {
    .menu {
        align-items: flex-start;
        flex-wrap: nowrap;
        background: none;
    }
    .item {
        position: relative;
        display: block;
        width: auto;
    }

    .submenu-active .submenu {
        display: block;
        position: absolute;
        left: 0;
        top: 68px;
        background: #111;
    }
    .toggle {
        display: none;
    }
    .submenu-active {
        border-radius: 0;
    }
}

.InputAddOn {
  display: flex;
  height: auto;
}

.InputAddOn-field {
  flex: 1;
}

        .content {
            display: -webkit-flex;
            display: flex;
            flex: 1;
          /*overflow-y: scroll;*/
          flex-flow: row wrap; /* we'll wrap */
        }

        .blog {
flex: 1 100%;


            padding: 20px 10px;
    height: auto;
    box-shadow: 3px 3px 6px rgb(0 0 0 / 10%);
    background: #e3ded8 url(/images/cnt-top.jpg) repeat-x 0 0;
        }


        .article .title {
            font-size: 24px;
            line-height: 32px;
            border-bottom: 4px double rgba(0,0,0,0.1);
            color: #4d4d4d;
            padding: 10px 0;
        }

        .article .info-title {
            color: #255f8e;
            font-size: 18px;
        }

        .article .info {
            padding: 5px 0px;
        }

        .article .author {
            float: left;
            margin: 5px;
            width: 150px;
        }

        .article p,
        .book p{
            text-indent: 2em;
            line-height: 1.6;
            color: #565656;
        }

        .article .gzmemo {
            font-style: italic;
            color: #5a8e74;
        }

        .book {
            padding: 10px 0px;
        }
        .book h5 {
        color: grey;
        font-size: 14px;
        }

.commentary {
    color: #1B5969;
}

        .search-result {
            padding: 10px 0;
        }
        .article .search-result p {
            text-indent: 0;
        }
        .search-result span {
            color:#B00815;
        }

nav {
    display: flex;
    justify-content: space-between;
}



.chapter {
    display: flex;
flex-wrap: wrap;
justify-content: flex-start;
}

.chapter span {
    flex: 0 50%;
    padding: 5px 0px;
}

/* medium screen */
@media all and (min-width: 600px) {
   .chapter span {
       flex: 0 33.333%;
   }
}

        .Guanzhi-nav, .sidebar {
            /* 两个边栏的宽度不放大也不缩小设为固定2em */
            min-width: 100px;
flex: 1 100%;
padding: 20px 20px 40px 20px;
    margin-top: 26px;
    background: #f2eeec url(/images/aside-bg.jpg) no-repeat 0 0;
    min-height: 500px;
    height: auto;
    box-shadow: 3px 3px 6px rgb(0 0 0 / 10%), 1px 0 4px rgb(0 0 0 / 30%) inset;
        }

.sidebar .contact {
        height: auto;
    padding: 1rem!important;
        border-radius: 5px 5px;
    background-color: #f8f9fa!important;
    text-align: left;

    }

.sidebar .aside-item {
  margin: 20px 0;
}
.Guanzhi-nav {
            /* 导航放到最左边 */
  order: -1;
}
/* medium screen */
@media all and (min-width: 600px) {
    /* if screen > 600px sidebar appears alongside blog getting 1/3rd of space */
  .blog { flex: 2 0px;
      padding: 30px 20px;

  }
  .sidebar { flex: 1 0px; }
}

/* Large screens */
@media all and (min-width: 800px) {
  /* On bigger screens, sidebar now only gets 1/4 of space */
  .blog { flex: 3 0px;
    padding: 30px 30px;
  }
  .sidebar { flex: 1 0px; }
}
.tooltip {
    position: absolute;
    background: #646464;
    border-radius:4px;
    padding: 6px 12px;
    font-size: 12px;
    text-shadow: 0px 1px 1px #000;
    color: #ffc64a;
    max-width: 200px;
    z-index: 991;
}
  .tooltip-cursor {
    content : " ";
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #646464;
    position:absolute;
}
.floating-button{
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: #db4437;
  position: fixed;
  bottom: 30px;
  right: 30px;
  cursor: pointer;
  box-shadow: 0px 2px 5px #666;
}

.floating-button-left{
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: #db4437;
  position: fixed;
  bottom: 30px;
  left: 30px;
  cursor: pointer;
  box-shadow: 0px 2px 5px #666;
}

.plus{
  color: white;
  position: absolute;
  top: 0;
  display: block;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  padding: 0;
  margin: 0;
  line-height: 55px;
  font-size: 25px;
  font-family: 'Roboto';
  font-weight: 300;
  animation: plus-out 0.3s;
  transition: all 0.3s;
}

.container-floating{
  position: fixed;
  width: 70px;
  height: 70px;
  bottom: 30px;
  right: 30px;
  z-index: 50px;
}

.container-floating-left{
  position: fixed;
  width: 70px;
  height: 70px;
  bottom: 30px;
  left: 30px;
  z-index: 50px;
}


.map{
	position: relative;
	width: 100%;		/* desired width */
}
.map:before{
	content: "";
	display: block;
	padding-top: 100%; 	/* initial ratio of 1:1*/
}
.map .content {
	position:  absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
}
/* Other ratios */
.ratio2_1:before{
	padding-top: 50%;
}
.ratio1_2:before{
	padding-top: 200%;
}
.ratio4_3:before{
	padding-top: 75%;
}
.ratio16_9:before{
	padding-top: 56.25%;
}


.overlay {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 998;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}
.overlay.active {
    display: block;
    opacity: 1;
}

.directory {
    width: 250px;
    position: fixed;
    top: 0;
    left: -250px;
    height: 100vh;
    z-index: 999;
    background: #E2DED9;
    transition: all 0.3s;
    overflow-y: scroll;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
    /*display: flex;
    flex-direction: column;*/
}

.directory.active {
    left: 0;
}

#dismiss {
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background: #7386D5;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

#dismiss:hover {
    background: #fff;
    color: #7386D5;
}

.directory .sidebar-header {
    padding: 20px;
    background: #91b4a2;
    color: #cb7a2b;
}

.directory ul.components {
    padding: 20px 0;
    border-bottom: 1px solid #47748b;
}

.directory ul p {
    color: #565656;
    padding: 10px;
}

.directory ul li a {
    padding: 10px;
    font-size: 1.1em;
    display: block;
    border: 1px solid transparent;
}

.directory ul li a:hover {
    color: #FA8072;
    background: #F5DEB3;
    border-radius: 8px 8px;
    border: 1px solid orange;
}

.directory ul li.active>a,
a[aria-expanded="true"] {
    color: #db500c;
    background: #c3b59b;
    border-radius: 8px 8px;
    border: 1px solid #fdfaf9;
}

.directory .collapse li {
display: none;
}

a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background: #E2DED9;
}

ul.CTAs {
    padding: 20px;
}

ul.CTAs a {
    text-align: center;
    font-size: 0.9em !important;
    display: block;
    border-radius: 5px;
    margin-bottom: 5px;
    background: #cb7a2b !important;
    color: #fff !important;
}