html,
body {
  padding: 0px;
  margin: 0px;
}
body {
  font-family: 'Cabin', sans-serif;
  color: #666;
}
.container {
  width: 900px;
  margin: auto;
}
header {
  height: 440px;
  width: 100%;
  background: linear-gradient(to bottom, #99bbff 0%, #6699ff 100%);
  border-bottom: 3px solid #99bbff;
}
header .titles img {
  float: left;
  margin-bottom: 10px;
}
header .titles .headers {
  float: left;
}
header .titles .headers h1 {
  margin-bottom: 0px;
  color: #ffffff;
}
header .titles .headers h2 {
  margin-top: 10px;
  color: #ffa41d;
}
header .titles .social {
  float: right;
}
header .titles .social .icons {
  margin-top: 10px;
}
header .titles .social .icons a {
  display: block;
  width: 30px;
  height: 30px;
  margin: 5px;
  text-align: center;
  line-height: 30px;
  color: #fff;
  float: left;
}
header .titles .social p {
  text-align: center;
}
header .titles .social p a {
  color: #ffffff;
  font-size: 20px;
  text-decoration: none;
}
header .nav {
  clear: both;
  border-bottom: 2px solid #99bbff;
  background-color: #6699ff;
  box-sizing: border-box;
  height: 42px;
}
header .nav ul {
  margin: 0px;
  padding: 0px;
  list-style: none;
}
header .nav ul li {
  margin: 0px;
  padding: 0px;
  float: left;
  position: relative;
}
header .nav ul li a {
  display: block;
  padding: 0 20px;
  color: #ffffff;
  text-decoration: none;
  border-right: 1px solid #99bbff;
  transition: background-color 0.2s;
  font-size: 14px;
  text-transform: uppercase;
  line-height: 40px;
  font-weight: 400;
  box-sizing: border-box;
}
header .nav ul li a:hover {
  background-color: #99bbff;
}
header .nav ul li:last-of-type a {
  border-right: none;
}
header .nav ul li ul {
  display: none;
}
header .nav ul li:hover ul {
  display: block;
  position: absolute;
  z-index: 10000;
  top: 40px;
  left: -1px;
  font-size: 10px;
  width: 250px;
  border-top: rgba(0, 0, 0, 0) solid 2px;
}
header .nav ul li:hover ul li {
  width: 100%;
}
header .nav ul li:hover ul li a {
  display: block;
  width: 100%;
  border-left: #666666 solid 1px;
  background-color: #f2f2f2;
  color: #666;
  border-right: none;
}
header .nav ul li:hover ul li a:hover {
  background-color: #e5e5e5;
}
header .slider {
  clear: both;
  height: 400px;
}
header .slider .header-image {
  width: 100%;
  height: 200px;
}
header .slider .slick-track {
  height: 400px;
  overflow: hidden;
}
header .slider .slide {
  height: 400px;
  display: block;
  padding-top: 300px;
  padding-left: 20px;
  transition: background-image 0.5s;
}
header .slider .slide p {
  margin-top: 0px;
  background-color: rgba(255, 255, 255, 0.6);
  width: 250px;
  padding: 10px;
  box-sizing: border-box;
}
header .slider .slide p strong {
  color: #99bbff;
}
header .slider .slide:nth-of-type(n+2) {
  display: none;
}
.main-body {
  background-color: #fff;
  box-sizing: border-box;
  padding: 0px;
  overflow: auto;
}
.main-body .content {
  margin: 0px 10px;
  overflow: auto;
  clear: both;
}
.main-body .content .half {
  width: 48%;
  float: left;
}
.main-body .content .half:nth-of-type(odd) {
  margin-right: 2%;
  clear: left;
}
.main-body .content .half:nth-of-type(even) {
  margin-left: 2%;
  clear: right;
}
.main-body h1,
.main-body h2,
.main-body h3,
.main-body h4,
.main-body h5,
.main-body h6 {
  color: #99bbff;
}
.main-body footer {
  border-top: 1px solid #99bbff;
  padding-top: 10px;
  font-size: 11px;
  overflow: auto;
  height: 50px;
  line-height: 40px;
  padding-left: 10px;
}
.main-body footer .designed-by {
  float: right;
  vertical-align: middle;
  position: relative;
}
.main-body footer .designed-by a {
  color: #99bbff;
  text-decoration: none;
  display: block;
  padding-right: 80px;
}
.main-body footer .designed-by a img {
  position: absolute;
  top: 10px;
  left: 67px;
  width: 60px;
}
.header-banner .main-body {
  margin-top: -40px;
}
.header-none .main-body {
  margin-top: -240px;
}
.header-slider .main-body {
  margin-top: 160px;
}
.page-template-home .main-body {
  padding: 0px;
}
.page-template-home .main-body footer {
  padding: 10px 0px;
}
.page-template-home .featured-page {
  width: 200px;
  height: 150px;
  margin: 0px 16.5px;
  float: left;
  color: #fff;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 15px;
  display: block;
  text-decoration: none;
}
.page-template-home .featured-page p {
  margin-top: 110px;
  box-sizing: border-box;
  text-align: center;
  line-height: 40px;
}
.page-template-home .featured-page:nth-of-type(4n-3) {
  margin-left: 0px;
}
.page-template-home .featured-page:nth-of-type(4n) {
  margin-right: 0px;
  float: right;
}
@media (max-width: 940px) {
  .container {
    width: 700px;
  }
  .page-template-home .featured-page {
    width: 150px;
  }
}
@media (max-width: 740px) {
  .container {
    width: 95%;
  }
  .page-template-home .featured-page {
    width: 200px;
    clear: both;
    margin: auto !important;
    float: left !important;
  }
  .content .half {
    margin: 0px !important;
    width: 100% !important;
  }
}
