/* CSS Variables for reusable colors */
:root {
  --primary-orange: #FF6600;
  --primary-gray: #666;
  --secondary-gray: #727272;
  --white: #FFF;
  --dark-gray: #323B44;
  --darker-gray: #25292C;
  --light-gray: #FAFAFA;
  --border-gray: #DDD;
  --blue: #1889C1;
}

/* Reset and Base Styles */
body {
  color: var(--secondary-gray);
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 24px;
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
}

a:hover, a:focus {
  text-decoration: none;
  color: var(--primary-gray);
  outline: none;
}

p a:hover, p a:focus {
  text-decoration: underline;
  color: #c55300;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: "Oswald", sans-serif;
  color: var(--primary-gray);
  font-weight: 400;
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.01);
  margin: 0 0 25px;
}

h2.title {
  font-size: 26px;
  line-height: 40px;
  margin: 20px 0;
}

h3 {
  font-size: 22px;
  position: relative;
}

h3.subtitle {
  color: var(--primary-orange);
  font-weight: 400;
  line-height: 20px;
  padding: 15px 0 10px;
  margin: 10px 0;
}

h3.title {
  overflow: hidden;
  line-height: 28px;
}

h3.title::after {
  content: "";
  background: url(../img/bg_off.png) repeat;
  height: 5px;
  margin-left: 10px;
  position: absolute;
  top: 12px;
  width: 99%;
}

h5 {
  color: orangered;
}

/* Layout */
.wrap {
  overflow: hidden;
}

.box-bg {
  background: var(--light-gray);
  border: 1px solid var(--border-gray);
  margin-bottom: 25px;
  padding: 10px 15px;
}

/* Header */
header {
  width: 100%;
}

header .main-header {
  min-height: 86px;
  position: relative;
  background: var(--dark-gray);
  box-shadow: 0 3px 3px -3px rgba(0, 0, 0, 0.2);
  z-index: 9999;
}

header .top-bar {
  min-height: 30px;
  background: var(--darker-gray);
  border-bottom: 1px solid #414f5a;
  padding: 7px 0;
  color: var(--white);
}

header .top-bar a {
  color: var(--white);
}

.phone-email {
  padding: 3px 0;
}

.phone-email a {
  margin-right: 20px;
}

.phone-email i {
  margin-right: 7px;
}

.phone-email i.icon-phone {
  font-size: 14px;
}

.logo {
  height: 80px;
}

.logo h1 {
  margin: 13px 0;
}

.navbar-fixed-top {
  position: fixed;
}

.main-header .navbar-collapse {
  padding: 0;
}

.navbar-toggle {
  border: none;
  border-radius: 2px;
  padding: 9px 10px 5px;
}

.topnav .navbar-toggle i {
  line-height: 20px;
}

/* Navigation Menu */
.menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu ul li {
  position: relative;
}

.menu > ul > li {
  float: left;
}

.menu ul a {
  display: block;
  text-decoration: none;
}

.menu ul > li > a {
  color: var(--white);
  font-size: 16px;
  line-height: 18px;
  padding: 10px 15px;
  border-bottom: 3px solid transparent;
  transition: background-color 0.15s ease-in-out, border 0.15s ease-in-out;
}

.menu ul > li > a:hover,
.menu ul > li:hover > a,
#current {
  background-color: var(--darker-gray);
  color: var(--white);
}

.menu ul ul {
  position: absolute;
  display: none;
  top: 100%;
  left: 0;
  width: 175px;
  background-color: var(--darker-gray);
  z-index: 999;
  border-radius: 0 0 3px 3px;
  margin: -3px 0 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.menu ul li:hover > ul {
  display: block;
}

.menu ul ul li {
  width: 100%;
  border-top: 1px solid #414F5A;
}

.menu ul ul li:first-child {
  border: 0;
}

.menu ul ul li a {
  color: var(--white);
  font-size: 16px;
  line-height: 18px;
  padding: 10px 16px;
  border: 0;
  transition: all 0.4s ease-in-out;
}

.menu ul ul li a:hover {
  background-color: #2f3843;
  padding-left: 21px;
}

.menu ul ul ul {
  top: 0;
  left: 100%;
  border-radius: 0 3px 3px 0;
  margin: -1px 0 0;
}

.sf-sub-indicator {
  color: #c6c6c6;
  margin-left: 2px;
  width: 11px;
  display: inline-block;
  font-size: 16px;
  line-height: 0;
}

.menu ul ul .sf-sub-indicator .icon-chevron-down {
  display: none;
}

/* Search Form */
header #search-form {
  line-height: 30px;
}

#search-form input.search-text-box {
  background: var(--white) url(../img/search-icon.png) no-repeat 6px 56%;
  border: 0;
  border-radius: 30px;
  width: 25px;
  height: 25px;
  margin: 0;
  padding: 0;
  color: transparent;
  font-size: 13px;
  line-height: 18px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

#search-form .search-text-box:focus {
  width: 170px;
  height: 25px;
  color: #888;
  cursor: text;
  text-align: left;
  padding: 0 15px 1px 25px;
}

/* Social Media */
.social, .social-share {
  margin-right: 4px;
  line-height: 30px;
}

.social li, .social-share a {
  display: inline-block;
  border-radius: 100%;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.6);
  height: 25px;
  width: 25px;
  text-align: center;
  background: var(--white);
  margin-right: 5px;
  padding: 1px;
  transition: background 0.5s ease-in-out;
}

.social i, .social-share i {
  color: var(--primary-gray);
  transition: color 0.5s ease-in-out;
}

.social li.facebook:hover, .social-share a.facebook:hover {
  background: #4C66A4;
}

.social li.twitter:hover, .social-share a.twitter:hover {
  background: #2C77BA;
}

.social li.linkedin:hover, .social-share a.linkedin:hover {
  background: #069;
}

.social li.pinterest:hover, .social-share a.pinterest:hover {
  background: #C92228;
}

.social li:hover i, .social-share a:hover i {
  color: var(--white);
}

/* Buttons */
.btn-special, .btn-normal, .btn-small, .btn-large {
  border-radius: 3px;
  cursor: pointer;
  display: inline-block;
  transition: all 0.5s ease-in-out;
}

.btn-special {
  padding: 15px 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

.btn-special a {
  color: var(--white);
  text-decoration: none;
}

.btn-normal {
  font-size: 16px;
  padding: 12px 30px;
}

.btn-small {
  font-size: 14px;
  padding: 7px 20px;
}

.btn-large {
  font-size: 20px;
  padding: 17px 50px;
}

.btn-grey {
  color: #515151;
  background: linear-gradient(to bottom, #FFF 2%, #F0F0F0 2%, #DEDEDE 100%);
  border: 1px solid #969696;
  box-shadow: 0 1px 2px rgba(144, 144, 144, 0.4);
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
  transition: all 0.5s ease-in-out;
}

.btn-grey:hover {
  background: linear-gradient(#F8F8F8, #DDD);
}

.btn-color {
  color: var(--white);
  text-shadow: 0 1px 1px #555;
}

.btn-pad {
  margin: 7px;
}

.btn:hover, .btn:focus {
  color: var(--white);
}

/* Main Content */
main {
  background: var(--white);
  padding: 0 0 30px;
}

.main-content, .content {
  padding: 10px 0 0;
  margin: 45px 0 35px;
}

.main-content h3 {
  color: var(--primary-gray);
  line-height: 32px;
  margin: 0 0 5px;
}

.main-content p, .content p {
  text-align: left;
}

/* Breadcrumbs */
.breadcrumb-wrapper {
  background: linear-gradient(to bottom, #F8F8F8, #FAFAFA);
  border: 1px solid var(--border-gray);
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
  margin: 24px 0;
}

.breadcrumbs ul li {
  display: inline-block;
  line-height: 24px;
  font-size: 13px;
  color: #9e9e9e;
  margin: 0 0 0 5px;
}

.breadcrumbs ul li a {
  color: #898989;
  font-weight: 600;
}

.breadcrumbs ul li:first-child {
  margin-left: 2px;
}

.breadcrumbs ul li::before {
  color: #9e9e9e;
  content: "\f105";
  font-family: "FontAwesome";
  font-size: 12px;
  margin: 0 9px 0 0;
}

.breadcrumbs ul li:first-child::before,
.breadcrumbs ul li:nth-child(2)::before {
  content: "";
  margin: 0;
}

/* Slogan */
.slogan {
  min-height: 100px;
  background: var(--light-gray);
  border: 1px solid var(--border-gray);
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
}

.slogan-content {
  padding: 25px 0;
}

.slogan-title {
  display: inline-block;
  margin: 10px 0;
}

.slogan-title a {
  color: red;
  text-decoration: none;
}

.get-started {
  padding-top: 1px;
  vertical-align: middle;
}

/* Content Boxes */
div.content-box {
  clear: both;
}

div.content-box.big {
  padding: 0 7% 30px;
  border-radius: 3px;
  background: var(--white);
  transition: background 0.5s ease-in-out;
}

div.content-box.big:hover {
  background: var(--light-gray);
}

div.content-box.big .ch-info-wrap {
  margin: -42px auto 35px;
  position: relative;
}

div.content-box.big div.content-box-info {
  padding: 25px 0 0;
  text-align: center;
}

div.content-box.big div.content-box-info p {
  text-align: center;
  margin-top: 25px;
}

/* Circle Items */
.ch-item {
  width: 100%;
  height: 100%;
  position: relative;
  cursor: default;
}

.ch-info-wrap {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--primary-gray);
  top: 10px;
  left: 10px;
}

.ch-info-wrap i {
  color: var(--white);
  font-size: 28px;
  line-height: 80px;
  position: relative;
  left: 35%;
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.1);
}

.ch-info {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(0, 0, 0, 0.2);
  transition: all 0.4s ease-in-out;
}

.ch-info > div {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-position: center center;
}

.ch-info .ch-info-front {
  transition: all 0.6s ease-in-out;
}

.ch-info .ch-info-back {
  transform: scale(1.5);
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.6);
  transition: all 0.4s ease-in-out 0.2s;
  opacity: 0;
}

.ch-item:hover .ch-info-front {
  transform: scale(0);
}

.ch-item:hover .ch-info-back {
  transform: scale(1);
  opacity: 1;
}

/* Portfolio */
.portfolio-wrap .item {
  width: 24.99%;
  position: relative;
  overflow: hidden;
}

.item .item-inner, .post-image {
  margin-bottom: 30px;
  overflow: hidden;
  position: relative;
  border-radius: 2px;
}

.post-image, .img-content {
  padding: 4px;
  border: 1px solid var(--border-gray);
  background: url(../img/bg_off.png) repeat;
}

.img-content {
  float: left;
  margin: 5px 20px 20px 0;
}

.post-image a {
  display: block;
  position: relative;
}

.portfolio-item {
  background: url(../img/bg_off.png) repeat;
  border-radius: 3px;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-gray);
  padding: 4px;
  overflow: hidden;
  display: block;
}

.portfolio-item img {
  display: block;
  width: 100%;
}

.portfolio-item-link {
  display: block;
  position: relative;
}

.portfolio-item-link span.portfolio-item-hover,
.post-item-link span.post-item-hover,
.img-hover {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(50, 50, 50, 0.75);
  opacity: 0;
  top: 0;
  left: 0;
  transition: all 0.35s ease-out;
}

.portfolio-item-link span.portfolio-item-hover:hover,
.post-item-link span.post-item-hover:hover,
.img-hover:hover {
  opacity: 1;
}

.portfolio-item-title {
  text-align: center;
  padding: 10px 5px;
  background: var(--white);
}

.portfolio-item-title a {
  font-weight: 600;
  font-size: 14px;
  font-family: "Open Sans", Arial, sans-serif;
  color: var(--primary-gray);
  transition: all 0.25s ease-out;
}

.portfolio-item-title p {
  font-style: italic;
  font-size: 12px;
  margin: 0;
  text-align: center;
}

/* Blog */
.post-content {
  padding-bottom: 10px;
}

.post-content img {
  max-width: 100%;
  height: auto;
}

.post-header h3.content-title {
  text-align: left;
  margin-bottom: 15px;
}

.blog-entry-meta {
  font-size: 0;
}

.blog-entry-meta-date,
.blog-entry-meta-author,
.blog-entry-meta-tags,
.blog-entry-meta-comments {
  display: inline-block;
  margin-right: 25px;
  margin-bottom: 10px;
  font-size: 14px;
  vertical-align: top;
}

.blog-entry-meta i {
  margin-right: 4px;
}

.post-date a.date {
  background: var(--light-gray);
  display: block;
  float: left;
  margin-right: 20px;
  padding: 10px 0 0;
  text-align: center;
  text-decoration: none;
  width: 55px;
  border-radius: 2px;
}

.post-date a.date strong {
  color: var(--blue);
  display: block;
  font-size: 27px;
  font-weight: 400;
  margin-bottom: 10px;
}

.post-date a.date i {
  background: var(--blue);
  border-top: 1px solid #F3F3F3;
  color: var(--white);
  display: block;
  font-size: 11px;
  font-style: normal;
}

/* Sidebar */
.sidebar .widget {
  margin-bottom: 35px;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar ul.slide li {
  padding-left: 0;
  transition: all 0.5s ease-in-out;
}

.sidebar ul.slide li:hover {
  padding-left: 5px;
}

.sidebar p {
  text-align: left;
  margin: 0 0 2px;
}

.search-input {
  height: 38px;
  width: 218px;
}

/* Testimonials */
.testimonial p {
  background: linear-gradient(to bottom, #F8F8F8, #FAFAFA);
  font-weight: 500;
  margin: 0;
  padding: 27px 25px;
  border: 1px solid var(--border-gray);
}

.testimonials-arrow {
  display: block;
  width: 14px;
  height: 14px;
  background: var(--light-gray);
  transform: rotate(45deg);
  margin: -7px 0 10px 45px;
  border-bottom: 1px solid var(--border-gray);
  border-right: 1px solid var(--border-gray);
}

.testimonial-image {
  float: left;
  height: 70px;
  width: 70px;
  position: relative;
}

.testimonial-image img {
  border-radius: 50%;
  height: 70px;
  width: 70px;
  border: 1px solid var(--border-gray);
  padding: 4px;
}

.testimonial-author-info {
  padding: 10px 0 0 90px;
  color: var(--primary-gray);
}

.testimonial-author-info a {
  display: block;
}

/* Comments */
.comments-sec {
  float: left;
  width: 100%;
  margin: -5px 0 25px;
}

ol.commentlist {
  float: left;
  width: 100%;
  margin: 0;
  list-style: none;
  padding: 0;
}

ol.commentlist li {
  float: left;
  padding: 10px 0 15px;
}

ol.commentlist li:first-child {
  margin: 0 0 7px;
  padding: 25px 0 0;
}

ol li ol.childlist {
  float: right;
  width: 86%;
  margin: 0;
}

ol.commentlist li ol.childlist li:first-child {
  padding: 25px 0 0;
}

.avatar img {
  float: left;
  max-width: 70px;
  border-radius: 100%;
  border: 1px solid var(--border-gray);
  padding: 4px;
}

.comment-des {
  float: left;
  background: var(--light-gray);
  border: 1px solid var(--border-gray);
  color: #888;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.06);
  margin: -70px 0 0 100px;
  padding: 19px 22px 22px;
  border-radius: 3px;
}

.comment::before {
  position: absolute;
  content: "";
  margin-left: 93px;
  margin-top: 25px;
  width: 15px;
  height: 15px;
  background: var(--light-gray);
  border: 1px solid var(--border-gray);
  transform: rotate(45deg);
  border-right: none;
  border-top: none;
  z-index: 1;
}

.comment-des p {
  line-height: 23px;
  margin: 0;
}

.comment-des strong {
  float: left;
  padding-right: 5px;
  font-size: 14px;
  color: var(--primary-gray);
}

.comment-des span {
  float: left;
  color: #999;
}

.comment-by {
  float: left;
  width: 100%;
  padding: 5px 0 8px;
}

.comment-by span.reply {
  float: right;
  display: inline;
}

.comment-by span.reply a {
  float: right;
  height: 17px;
  margin-left: 5px;
  font-weight: 400;
  color: #999;
}

.comment-by span.reply a i {
  color: #BBB;
  transition: all 0.1s ease-in-out;
}

.comment-by span.reply a:hover,
.comment-by span.reply a:hover i {
  color: #A0A0A0;
}

.comment-by span.date {
  color: #999;
  float: left;
  font-weight: 300;
  margin: 0 0 0 2px;
  padding: 0 0 0 9px;
}

.reply label {
  margin: 0 0 4px;
}

.reply label span {
  color: #E24747;
}

.reply input {
  margin: 0 0 20px;
}

.reply textarea {
  min-width: 97.5%;
  min-height: 180px;
  resize: vertical;
  margin: 0 0 18px;
}

/* Footer */
footer {
  color: #A1A1A1;
}

.footer-top {
  background: var(--dark-gray);
  border-bottom: 1px solid #414f5a;
  padding: 50px 0;
}

.footer-bottom {
  background: var(--darker-gray);
  color: #888;
  line-height: 30px;
  padding: 15px;
}

.footer-bottom a {
  color: var(--white);
  text-decoration: none;
}

.social-icons-footer-bottom {
  float: right;
  margin: 6px 0 0;
}

.social-icons-footer-bottom li {
  display: inline;
  float: left;
  margin-right: 7px;
  list-style: none;
  transition: all 0.2s ease-in-out;
}

.social-icons-footer-bottom li i {
  font-family: "FontAwesome";
  font-size: 13px;
  line-height: 16px;
  text-align: center;
}

footer .social li:last-child {
  margin-right: 0;
}

.scrollup {
  width: 40px;
  height: 40px;
  opacity: 0.8;
  position: fixed;
  bottom: 100px;
  right: 15px;
  display: none;
  text-align: center;
  color: var(--white);
  font-size: 28px;
  background: #9E9E9E;
  z-index: 9999;
}

.scrollup i {
  line-height: 38px;
}

a.scrollup:hover i, a.scrollup:focus i {
  text-decoration: none;
  color: var(--white);
}

/* Contact Us */
.contact-us {
  margin: 15px 0 0;
  background: url(../img/contact-map.png) no-repeat center bottom;
}

.contact-us li a {
  font-size: 90%;
  color: var(--white);
}

.contact-us .icon-map-marker {
  font-size: 16px;
}

.contact-us li i {
  color: var(--primary-gray);
  float: left;
  margin: 4px 0 0;
}

.contact-us p {
  line-height: 24px;
  margin-left: 20px;
  margin-top: -2px;
}

.contact-us li p strong {
  color: var(--secondary-gray);
  float: left;
  font-weight: 600;
  margin: 0 5px 5px 0;
}

.contact-pad {
  padding-bottom: 20px;
}

.subscribe-btn {
  height: 38px;
  background: none;
  color: var(--white);
  font-size: 14px;
  border: none;
  text-shadow: 0 1px #555;
}

.subscribe {
  height: 38px;
  width: 100%;
}

/* Forms */
input.form-control, textarea.form-control {
  border: 1px solid #CCC;
  background: linear-gradient(to bottom, #FFF, #EEE 4%, #FFF);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

input:hover, textarea:hover,
input:focus, textarea:focus {
  border-color: #C9C9C9;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
}

/* Utility */
.divider {
  margin: 60px 0;
}

.blog-divider {
  margin: 35px 0;
  background: url(../img/bg_off.png) repeat;
  height: 5px;
}

.top-pad {
  margin-top: 25px;
}

.no-divider {
  margin: 0;
}

.bottom-pad {
  margin-bottom: 60px;
}

.bottom-pad-small {
  margin-bottom: 30px;
}

.no-bottom-pad {
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .portfolio-wrap .item {
    width: 100%;
  }

  .blog-small article .post-image,
  .blog-small article .post-content-wrap {
    width: 100%;
    float: none;
    margin: 0 0 15px;
  }

  .menu > ul > li {
    float: none;
  }

  .menu ul ul {
    position: static;
    width: 100%;
  }

  .slogan-content {
    padding: 15px 0;
  }

  .main-content, .content {
    margin: 20px 0;
    padding: 10px 0;
  }
}