/* Theme Name: Starto - Responsive Landing page template
   Author: Coderthemes
   Author e-mail: coderthemes@gmail.com
   Version: 1.0.0
   Created:Feb 2016
   File Description:Main CSS file of the template
*/

/*========= Custom Font =========*/
body {
    font-family: "PMingLiU","Microsoft Yahei","Tahoma","Arial","Helvetica","sans-serif";
    color: #4c5667;
    font-size: 15px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
/*======= Reset ======== */

::selection{
  background: rgba(151, 160, 175, 0.5);
  color: #ffffff;
}
::-moz-selection {
  background: rgba(151, 160, 175, 0.5);
  color: #ffffff;
}

a{
  text-decoration: none !important;
  color: #4c5667;
  transition: all 0.3s;
}

h1,h2,h3,h4,h5,h6 {
    font-family: "PMingLiU","Microsoft Yahei","Tahoma","Arial","Helvetica","sans-serif";
}

h3 {
    font-family: "Microsoft Yahei","PMingLiU","Tahoma","Arial","Helvetica","sans-serif";
    font-size : 19px !important;
}

img {
  max-width: 100%;
}

.label-default {
  color: #333;
  border:1px solid #666;
  background-color: #fff;
}
.label-default[href]:hover,
.label-default[href]:focus {
  background-color: #fff;
}


/*======= Helper classes ======== */
.section {
  padding-top: 80px;
  padding-bottom: 60px;
}

.bg-gray {
  background-color: #f2f2f2;
  border-bottom: 1px solid #f5f5f5;
  border-top: 1px solid #f5f5f5;
}

.text-muted {
  color: #97a0af;
}

.l-h-24 {
  line-height: 24px;
}

.m-t-10 {
  margin-top: 10px;
}

.m-t-30 {
  margin-top: 30px;
}

.m-t-35 {
  margin-top: 35px;
}

/* TITLE BOX */
.title-box h3{
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 0px;
  margin-bottom: 20px;
}

.title-box p{
  line-height: 30px;
  color: #666;
  font-size: 16px;
}

.title-box .title-line {
  margin: 10px auto 20px auto;
  width: 120px;
  height: 3px;
}

.title-box-left .title-line {
  margin-left: 0px;
}

/*======= Buttons ======= */
.btn {
  border-radius: 2px;
  padding: 8px 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  outline: none !important;
}

.btn-faq {

  bottom: 10px;
  right: 20px;
  text-align: center;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  border-radius: 0px;
  color: #fff !important;
  text-transform: uppercase;
  font-size: 11px;
  background-color: #aa81f3 !important;
  border: 1px solid #aa81f3 !important;
}

/* Back to top */
.back-to-top {

  display: none;
  position: fixed;
  width: 35px;
  height: 35px;
  bottom: 25px;
  right: 20px;
  text-align: center;
  z-index: 10000;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  border-radius: 0px;
  color: #fff !important;
  text-transform: uppercase;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  background-color: #aa81f3 !important;
  border: 1px solid #aa81f3 !important;

/*  width: 37px;
  height: 32px;
  line-height: 22px;*/
}

/*===== Navbar Custom ======*/

.navbar-custom {
  background-color: #ffffff;
  width: 100%;
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
  border-radius: 0px;
  z-index: 999;
  padding: 20px 0px;
  margin-bottom: 0px;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

.navbar-custom .navbar-nav li a {
  /*color: #858585;*/
  color: #fff;
  font-size: 15px;
  margin: 5px 5px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 2px;
  font-family: "PMingLiU","Microsoft Yahei","Tahoma","Arial","Helvetica","STHeiti";
}

.navbar-custom .nav>li>a:focus,.navbar-custom .nav>li>a:hover {
  background-color: transparent;
}

.navbar-btn {
  padding: 4px 15px !important;
  font-size: 14px !important;
  margin-top: 9px !important;
  background-color: transparent !important;
  border: 2px solid #4C5667 !important;
  color: #4C5667 !important;
  border-radius: 5px;
}

.navbar-toggle {
  font-size: 28px;
}

.navbar-custom .btn-custom {
  margin-top: 8px;
  margin-left: 20px;
}

.nav .open>a, .nav .open>a:focus, .nav .open>a:hover {
  background-color: transparent;
  border-color: #337ab7;
}

.sticky-wrapper {
	position: absolute;
	width: 100%;
}

.sticky-wrapper.is-sticky .navbar-custom {
	padding: 10px 0px !important;
}

/*======= Home =======*/

.home {
  position: relative;
  background-color: #ededed;
}

.home-wrapper {
  color: #374760;
  padding: 200px 0px 150px 0px;
}

.home-wrapper p {
  line-height: 24px;
  margin: 30px auto 40px auto;
  font-size: 16px;
  width: 65%;
}

/* Services */
.services-one {
  margin: 30px 0px;
}
.services-one i {
  font-size: 36px;
  margin-bottom: 20px;
  display: block;
}

/* Work */
.thumb {
  background-color: #ffffff;
  border-radius: 3px;
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
  float: left;
  width: 100%;
  padding-top: 10px;
  padding-right: 10px;
  padding-bottom: 10px;
  padding-left: 10px;
}
.thumb-img {
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
}
.thumb-img-circle {
  width: 100%;
  overflow: hidden;
  border-radius: 50%;
  padding: 20px;
  border: 2px solid #eee;
}

.preview-name {
  letter-spacing: 0.03em;
  float: left;
  color: #444444;
  margin-top: 10px;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 30px;
}
.preview-name:hover {
  color: #666666;
  text-decoration: none;
}

/* Contact */
.form-control {
  box-shadow: none;
  -webkit-box-shadow: none;
  border-radius: 3px;
  height: 38px;
  max-width: 100%;
}
.form-control:focus {
  outline: none;
  box-shadow: none;
  -webkit-box-shadow: none;
}
.form-main {
  padding-top: 30px;
  margin-bottom: 50px;
}
.error {
  margin: 8px 0px;
  display: none;
  color: red;
}
#ajaxsuccess {
  font-size: 16px;
  width: 100%;
  display: none;
  clear: both;
  margin: 8px 0px;
}

/* Footer */
.footer ul li a {
  width: 42px;
  height: 42px;
  display: block;
  background-color: #f2f2f2;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  border-radius: 50%;
  -webkit-transition-property: background-color;
  -moz-transition-property: background-color;
  -o-transition-property: background-color;
  transition-property: background-color;
  -webkit-transition-duration: 0.5s;
  -moz-transition-duration: 0.5s;
  -o-transition-duration: 0.5s;
  transition-duration: 0.5s;
  text-decoration: none;
}

.footer ul{
  padding-bottom: 50px;
}

.footer ul li a i {
  line-height: 44px;
  color: #4c5667;
  font-size: 16px;
}



/*======= Responsive ======*/
@media (min-width: 768px) {
	.nav-custom-left {
		margin-left: 5%;
	}
  .navbar-nav>li>a {
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

@media (max-width: 768px) {
  .navbar-custom {
    -moz-box-shadow: 0 2px 2px rgba(0,0,0,.1);
    -webkit-box-shadow: 0 2px 2px rgba(0,0,0,.1);
    box-shadow: 0 2px 2px rgba(0,0,0,.1);
  }
  
}
@media (max-width: 767px) {
  .navbar-custom {
    padding: 0px;
  }
  .sticky-wrapper.is-sticky .navbar-custom {
    padding: 0px !important;
  }
  .logo {
    margin-top: 15px;
  }
}

/* Color Schemes */
.title-box .border,.btn-primary,.back-to-top,.title-box .title-line {
  background-color: #aa81f3 !important;
}
.title-box .title-alt,.text-colored,
.navbar-custom .navbar-nav li a:hover,
.navbar-custom .navbar-nav li a:focus,
.navbar-custom .navbar-nav li a:active,
.navbar-custom .navbar-nav li.active a,a:hover {
  /*color: #aa81f3;*/
  /*color: #fff;*/
}
.btn-primary {
  border: 1px solid #aa81f3 !important;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.btn-primary.focus,
.btn-primary:active,
.btn-primary:focus,
.btn-primary:hover,
.open > .dropdown-toggle.btn-primary,
.btn-primary.active.focus, .btn-primary.active:focus, 
.btn-primary.active:hover, .btn-primary:active.focus, 
.btn-primary:active:focus, .btn-primary:active:hover, 
.open>.dropdown-toggle.btn-primary.focus, 
.open>.dropdown-toggle.btn-primary:focus, 
.open>.dropdown-toggle.btn-primary:hover {
  background-color: #9970E2 !important;
  border: 1px solid #9970E2 !important;
}

.btn-shadow.btn-primary {
  box-shadow: 1px 5px 9px rgba(170, 129, 243, 0.32);
}


/*btn-one*/

.btn-one {
  background-color: #e60012 !important;
  border: 1px solid #e60012 !important;
}

.btn-one:hover,
.btn-one:focus,
.btn-one:active,
.btn-one.active,
.btn-one.focus,
.open > .dropdown-toggle.btn-one,
.btn-one.active.focus, .btn-one.active:focus, 
.btn-one.active:hover, .btn-one:active.focus, 
.btn-one:active:focus, .btn-one:active:hover, 
.open>.dropdown-toggle.btn-one.focus, 
.open>.dropdown-toggle.btn-one:focus, 
.open>.dropdown-toggle.btn-one:hover {
  background-color: #d20314 !important;
  border: 1px solid #d20314 !important;
}

/*btn-two*/

.btn-two {
  background-color: #ea5413 !important;
  border: 1px solid #ea5413 !important;
}

.btn-two:hover,
.btn-two:focus,
.btn-two:active,
.btn-two.active,
.btn-two.focus,
.open > .dropdown-toggle.btn-two,
.btn-two.active.focus, .btn-two.active:focus, 
.btn-two.active:hover, .btn-two:active.focus, 
.btn-two:active:focus, .btn-two:active:hover, 
.open>.dropdown-toggle.btn-two.focus, 
.open>.dropdown-toggle.btn-two:focus, 
.open>.dropdown-toggle.btn-two:hover {
  background-color: #db5216 !important;
  border: 1px solid #db5216 !important;
}

/*btn-three*/

.btn-three {
  background-color: #f39800 !important;
  border: 1px solid #f39800 !important;
}

.btn-three:hover,
.btn-three:focus,
.btn-three:active,
.btn-three.active,
.btn-three.focus,
.open > .dropdown-toggle.btn-three,
.btn-three.active.focus, .btn-three.active:focus, 
.btn-three.active:hover, .btn-three:active.focus, 
.btn-three:active:focus, .btn-three:active:hover, 
.open>.dropdown-toggle.btn-three.focus, 
.open>.dropdown-toggle.btn-three:focus, 
.open>.dropdown-toggle.btn-three:hover {
  background-color: #e69205 !important;
  border: 1px solid #e69205 !important;
}

/*btn-four*/

.btn-four {
  background-color: #f8b62b !important;
  border: 1px solid #f8b62b !important;
}

.btn-four:hover,
.btn-four:focus,
.btn-four:active,
.btn-four.active,
.btn-four.focus,
.open > .dropdown-toggle.btn-four,
.btn-four.active.focus, .btn-four.active:focus, 
.btn-four.active:hover, .btn-four:active.focus, 
.btn-four:active:focus, .btn-four:active:hover, 
.open>.dropdown-toggle.btn-four.focus, 
.open>.dropdown-toggle.btn-four:focus, 
.open>.dropdown-toggle.btn-four:hover {
  background-color: #f5ae19 !important;
  border: 1px solid #f5ae19 !important;
}

/*btn-five*/

.btn-five {
  background-color: #f3d53f !important;
  border: 1px solid #f3d53f !important;
}

.btn-five:hover,
.btn-five:focus,
.btn-five:active,
.btn-five.active,
.btn-five.focus,
.open > .dropdown-toggle.btn-five,
.btn-five.active.focus, .btn-five.active:focus, 
.btn-five.active:hover, .btn-five:active.focus, 
.btn-five:active:focus, .btn-five:active:hover, 
.open>.dropdown-toggle.btn-five.focus, 
.open>.dropdown-toggle.btn-five:focus, 
.open>.dropdown-toggle.btn-five:hover {
  background-color: #f3d128 !important;
  border: 1px solid #f3d128 !important;
}

/*btn-six*/

.btn-six {
  background-color: #ccd552 !important;
  border: 1px solid #ccd552 !important;
}

.btn-six:hover,
.btn-six:focus,
.btn-six:active,
.btn-six.active,
.btn-six.focus,
.open > .dropdown-toggle.btn-six,
.btn-six.active.focus, .btn-six.active:focus, 
.btn-six.active:hover, .btn-six:active.focus, 
.btn-six:active:focus, .btn-six:active:hover, 
.open>.dropdown-toggle.btn-six.focus, 
.open>.dropdown-toggle.btn-six:focus, 
.open>.dropdown-toggle.btn-six:hover {
  background-color: #c8d32d !important;
  border: 1px solid #c8d32d !important;
}

/*btn-seven*/

.btn-seven {
  background-color: #90c31f !important;
  border: 1px solid #90c31f !important;
}

.btn-seven:hover,
.btn-seven:focus,
.btn-seven:active,
.btn-seven.active,
.btn-seven.focus,
.open > .dropdown-toggle.btn-seven,
.btn-seven.active.focus, .btn-seven.active:focus, 
.btn-seven.active:hover, .btn-seven:active.focus, 
.btn-seven:active:focus, .btn-seven:active:hover, 
.open>.dropdown-toggle.btn-seven.focus, 
.open>.dropdown-toggle.btn-seven:focus, 
.open>.dropdown-toggle.btn-seven:hover {
  background-color: #83b612 !important;
  border: 1px solid #83b612 !important;
}

/*btn-eight*/

.btn-eight {
  background-color: #57cb77 !important;
  border: 1px solid #57cb77 !important;
}

.btn-eight:hover,
.btn-eight:focus,
.btn-eight:active,
.btn-eight.active,
.btn-eight.focus,
.open > .dropdown-toggle.btn-eight,
.btn-eight.active.focus, .btn-eight.active:focus, 
.btn-eight.active:hover, .btn-eight:active.focus, 
.btn-eight:active:focus, .btn-eight:active:hover, 
.open>.dropdown-toggle.btn-eight.focus, 
.open>.dropdown-toggle.btn-eight:focus, 
.open>.dropdown-toggle.btn-eight:hover {
  background-color: #1fc34d !important;
  border: 1px solid #1fc34d !important;
}

/*组图控制*/

.gallery img {
    /*height: 100%;*/
}

.gallery a {
    width: 24%;
    display: inline-block;
    overflow: hidden;
    padding: 4px 6px;
}

/*.gallery:after {
    content: '';
    display: block;
    height: 2px;
    margin: .5em 0 1.4em;
    background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0) 0%, rgba(77,77,77,1) 50%, rgba(0, 0, 0, 0) 100%);
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(77,77,77,1) 50%, rgba(0, 0, 0, 0) 100%);
}*/

@media (max-width: 768px) {
  .gallery a {
      width: 49%;
      display: inline-block;
      overflow: hidden;
      padding: 4px 6px;
  }
}