﻿.w-container {
  margin-left: auto;
  margin-right: auto;
}

.w-container:before, .w-container:after {
  content: " ";
  display: table;
}
.w-container:after {
  clear: both;
}

.w-inline-block {
  max-width: 100%;
  display: inline-block;
}

.top-right {
  float: right;
}

.top-left {
  float: left;
}

.top-logo{
	width: 70%;
}

.li-top {
  display: inline-block;
  margin-right: 7px;
}

.top-link {
  border-radius: 4px;
  -webkit-transition: all 200ms ease;
  transition: all 200ms ease;
  color: #919191;
}

.top-ico {
  display: inline-block;
  margin-right: 7px;
  color: #919191;
}

.txt-top {
  display: inline-block;
  color: #919191;
  font-size: 13px;
}

.txt-top img{
	width: 60%;
  min-width: 300px;
}

.header-v1 {
  color: #808080;
  position: relative;
  z-index: 9999;
  display: block;
  background-color: white;
}

.bottom-header {
  position: relative;
  background-color: white;
  border-bottom: 1px solid #efefef;
}

.bottom-header.scrolling {
	box-shadow: 0 1px 3px rgba(0,0,0,.12);
}

.top-header {
  display: block;
  padding-top: 5px;
  padding-bottom: 5px;
  border-bottom: 1px solid #efefef;
}
.hamburger {
  position: relative;
  top: 3px;
  right: 10px;
  display: none;
  width: 45px;
  height: 45px;
  float: right;
  background-color: #ececec;
  background-image: url(../images/res.png);
  background-position: 50% 50%;
  background-size: 25px;
  background-repeat: no-repeat;
}

.navigation {
  float: left;
}

.w-list-unstyled {
  padding-left: 0;
  list-style: none;
}

.li-menu {
  position: relative;
  z-index: 10;
  display: inline-block;
  box-shadow: transparent 0px 1px 0px 0px;
}

:link, :visited, ins {
  text-decoration: none;
}
.link-menu {
  padding: 20px 15px;
  color: #282828;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
}

.dropdown-menu {
  position: absolute;
  display: none;
  width: 120px;
  background-color: #2e7bad;
}
.w-list-unstyled {
  padding-left: 0;
  list-style: none;
}
.li-drop {
  border-bottom: 1px solid rgba(255,255,255,0.2);
  -webkit-transition: all 300ms ease-in-out;
  transition: all 300ms ease-in-out;
}

.li-drop a {
  color: white!important;
}

.dd-link {
  width: 100%;
  height: 100%;
  padding: 15px;
  -webkit-transition: all 300ms ease-in-out;
  transition: all 300ms ease-in-out;
  color: white;
  font-size: 14px;
  font-weight: 500;
}

.dd-txt {
  display: inline-block;
}

@media (max-width: 768px) {
  .hamburger {
		display: block;
  }
  .navigation {
    position: relative;
    overflow-x: hidden;
    overflow-y: hidden;
    width: 100%;
    height: 0px;
    margin-top: 5px;
    float: left;
  }
  .li-menu {
    display: block;
    margin-right: 0px;
  }
  .link-menu {
    display: block;
    padding: 10px 0px;
  }
  .dropdown-menu {
    position: relative;
    display: none;
    width: 100%;
    background-color: white;
  }
  .li-drop {
    border-bottom-width: 1px;
    border-bottom-color: #e1e1e1;
  }
  .li-drop a {
    color: orange!important;
  }
}

@media (min-width: 768px) {
  #slideshow li {
    width: 100%!important;
    /*height: 182px;*/
  }
  .navigation {
    height: 65px!important;
    width: 870px;    
  }
  .li-menu:hover {
    box-shadow: #1b7cc1 0px -2px 0px 0px;
  }
  .li-menu:hover .link-menu {
    color: #2e7bad;
    text-decoration: none;  
  }
  .li-drop:hover {
    background-color: rgb(247, 164, 56);
  }
}

@media (max-width: 768px) {
  #slideshow li {
    width: 100%!important;
    /*height: 100px;*/
  }
}

/* news-downloads */
.news-downloads {
  display: flex;
  flex-wrap: wrap;
}
.news-downloads>div:first-child {
  flex: 1 1 100%;
}

.news-downloads>div:last-child li {
  font-size: 13px;
  line-height: 1.3em;
  border-bottom: dashed 1px #e8e8e8;
  padding: 5px;
  background-color: rgb(249, 249, 249);
}

@media (max-width: 768px) {
  .news-downloads {
    flex-wrap: wrap;
  }
  .news-downloads>div:last-child {
    flex: 1 1 100%;
  }
}
@media (min-width: 768px) {
  .news-downloads {
    flex-wrap: nowrap;
  }
  .news-downloads>div:last-child {
    flex: 0 0 300px;
    margin-left: 10px;
  }
}

/* download-list */
.download-list {
  font-size: 15px;
  color: gray;
}
.download-list li {
  padding: 5px;
  border-bottom: dashed 1px lightgray;
  background-color: rgb(249, 249, 249);  
  margin-bottom: 4px;
}
.download-list-content {
  line-height: 0;
}

/* mynews-layout */
.mynews-layout {
  display: flex;
  flex-wrap: wrap;
  padding: 10px;
  border: 1px solid #e8e8e8;  
}

.mynews-layout>div:first-child {
  flex: 0 0 auto;
}
.mynews-layout>div:last-child {
  flex: 1 1 auto;
  padding: 10px 10px 10px 15px;    
}

.mynews-layout>div:last-child li {
  padding: 5px;
  line-height: 1.4em;
}

.mynews-layout>div:last-child li a {
  display: block;
}

.mynews-layout>div:last-child ul>li:nth-child(2n+1) {
  background-color: rgb(249, 249, 249);
}
.mynews-layout>div:last-child ul>li {
  border-bottom: dashed 1px #e8e8e8;
  font-size: 13px;
}

/* inner */
@media (min-width: 768px) {
  .inner {
    width: 90%;
  }
}
@media (max-width: 768px) {
  .inner {
    width: 98%;
  }
}

/* mycontainer */
.mycontainer {
  display: flex;
}

@media (min-width: 768px) {
  .mycontainer {
    flex-wrap: nowrap;    
  }
  .mycontainer>div:first-child {
    flex: 0 0 200px;
    width: 200px;
  }
  
  .mycontainer>div:last-child {
    flex: 1 1 auto;
    padding: 0 15px;
  }
}

@media (max-width: 768px) {
  .mycontainer {
    flex-wrap: wrap;
  }
  .mycontainer>div:first-child {
    flex: 1 1 100%;
  }
  
  .mycontainer>div:last-child {
    flex: 1 1 100%;
  }
}

/* our-items */
.our-items-wraper {
  background-color: #F4F4F4;
  padding: 10px 0;
}

.our-items {
  display: flex;
}

.our-items li {
  background-color: white;
  margin: 10px;
  transition: all 0.5s;
  cursor: pointer;
}

.our-items li:hover {
  box-shadow: 0 5px 8px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

.our-items i {
  display: inline-block;
  font-size: 80px;  
  padding: 8px;
  margin: 20px 0 5px;
  color: #777;
}
.our-items li:hover i {
  color: white;
  border-radius: 50px;
  background-color: #2e7bad;
  border: solid 1px rgb(249, 249, 249);
}
.our-items li p:first-child {
  text-align: center;
  line-height: 80px;
}

.our-items li p:first-child+p {
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: #333;
}

.our-items li p:last-child {
  font-size: 13px;
  line-height: 1.4em;
  padding: 10px 20px 20px;
  text-indent: 2em;
  color: #777;
}

@media (min-width: 768px) {
  .our-items li {
    flex: 1 1 33.3%;
  }
}
@media (max-width: 768px) {
  .our-items {
    flex-wrap: wrap;
  }
  .our-items li {
    flex: 1 1 100%;
  }
}

 /* 重写 */
 a:hover {
   color: #2e7bad;
   text-decoration: none;
 }

 /* footer */
 .footer {
   background-color: #333;
   color: rgb(223, 223, 223);
 }

 .friendlink ul li {
   margin-bottom: 5px;
 }

 .friendlink ul li a {
   line-height: 0;
   display: block;
  border:solid 1px gray;
 }

 .footer>div:last-child {
   background-color:  #252525;
 }

 /* sidebar */
 .sidebar a {
  display: block;
  font-size: 14px;
  padding: 5px 10px;
  margin-left: -5px;
 }
 .sidebar a:hover {
   background-color: lightgoldenrodyellow;
 }
 .category_active a {
   background-color: #2e7bad!important;
   color: white;
 }


