/* Header custom alignment */
.custom-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
@import url('https://fonts.googleapis.com/css?family=Lato:300,300i,400,400i,700,900|Open+Sans:400,600');

html {
  overflow-x: hidden !important;
  width: 100%;
  height: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

body {
  border: 0;
  margin: 0;
  padding: 0;
  background: #111;
}

.wrapper {
  position: relative;
  overflow: hidden;
}

a:link,
a:hover,
a:visited {
  text-decoration: none;
}

section {
  padding: 60px 0;
  position: relative;
}

.bg-parallax {
  background-size: cover;
  background-attachment: fixed;
}

.gap-20 {
  clear: both;
  height: 20px;
}

a:focus {
  outline: 0;
}

.unstyled {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ts-padding {
  padding: 50px;
}



hr {
  background-color: #e7e7e7;
  border: 0;
  height: 1px;
  margin: 40px 0;
}

.title-head {
  margin: 0;
  font-weight: 800;
  font-size: 45px;
  line-height: 45px;
  margin-top: 0;
  color: #fff;
  padding: 10px 0 20px;
  position: relative;
  text-transform: uppercase;
  margin: 0 15px;
}

.title-head-subtitle p {
  position: relative;
  display: inline-block;
  text-transform: uppercase;
  margin-bottom: 25px;
  font-size: 14px;
}

.title-head-subtitle p:before {
  position: absolute;
  content: "";
  height: 2px;
  right: -50px;
  top: 13px;
  width: 30px;
}

.title-head-subtitle p:after {
  position: absolute;
  content: "";
  height: 2px;
  left: -50px;
  top: 13px;
  width: 30px;
}

.terms-of-services h3 {
  color: #fff;
}

/*** Typography ***/

body, p {
  -webkit-font-smoothing: antialiased !important;
  color: #999;
  line-height: 28px;
  font-weight: 400;
  font-size: 16px;
  font-family: 'Lato', sans-serif;
}

h1, h2, h3, h4 {
  color: #222;
  font-weight: 600;
}

h1 {
  font-size: 36px;
  line-height: 48px;
}

h2 {
  font-size: 28px;
  line-height: 36px;
}

h3 {
  font-size: 24px;
  line-height: 32px;
}

h4 {
  font-size: 18px;
  line-height: 28px;
}

h5 {
  font-size: 14px;
  line-height: 24px;
}

/*** Boxed Body ***/

body.boxed {
  background: url('../images/bg.png');
  background-attachment: fixed;
}

body.boxed .wrapper {
  background: #111;
  margin: 0 auto;
  max-width: 1188px;
  box-shadow: 0 0 27px #999;
}

body.boxed .site-navigation.fixed ul.navbar-nav {
  max-width: 1188px;
  margin: 0 auto;
  right: 0;
}

body.boxed .site-navigation.fixed {
  max-width: 1188px;
}



body.blog .pagination li a:hover {
  background: #333;
}

body.blog .pagination li a {
  color: #999;
  background: transparent;
  border: 1px solid #333;
  border-radius: 0;
  padding: 7px 14px;
}

body.blog .pagination li.active a {
  color: #fff;
}

body.error-page .error {
  height: 100vh;
  background-image: url('../images/backgrounds/404.jpg');
  background-size: cover;
  background-position: center center;
  padding: 0;
}

body.error-page.server-error-page .error {
  background-image: url('../images/backgrounds/503.jpg');
}

body.error-page .error .logo {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

body.error-page .logo img {
  margin: 0 auto;
  padding-top: 30px;
}

body.error-page .error > div {
  display: table;
  position: absolute;
  height: 100vh;
  width: 100%;
  left: 0;
  background: rgba(17,17,17,.9);
}

body.error-page .error > div > div {
  display: table-cell;
  vertical-align: middle;
}

body.error-page .error h3 {
  font-size: 36px;
  line-height: 36px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

body.error-page .error .big-404 {
  font-size: 220px;
  line-height: 220px;
  color: #999;
  font-weight: 300;
  margin-top: 70px;
}

body.error-page .error p {
  color: #999;
  font-size: 15px;
  padding: 20px 0;
  text-transform: uppercase;
  margin: 0 auto;
  max-width: 530px;
}

body.error-page .error a.btn {
  margin-bottom: 25px;
}

body.error-page .error a.refresh {
  text-transform: uppercase;
  padding-bottom: 40px;
  font-weight: 600;
}

body.error-page .error a.refresh:hover {
  opacity: .9;
}

body.error-page.coming-soon .error {
  background-image: url('../images/backgrounds/img.jpeg');
}

body.error-page.coming-soon .coming-soon-title {
	margin-top:70px;
}

/* Chicken peek animation */
/* --- Chicken natural peek animation (image-based) --- */
.chicken {
  position: fixed;
  bottom: -140px; /* hidden start */
  width: 150px;
  height: 160px;
  z-index: 9999;
  background-size: contain;
  background-position: center bottom;
  background-repeat: no-repeat;
  animation: chicken-peek 9s cubic-bezier(.65,.05,.36,1) infinite;
  pointer-events: none;
  will-change: transform, bottom;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,.55));
}

.chicken-left { left: 25px; }
.chicken-right { right: 25px; transform: scaleX(-1); }

/* Fallback emoji if image missing */
.chicken:not(.has-image)::after {
  content: '🐔';
  font-size: 90px;
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 0);
}

@keyframes chicken-peek {
  0% { bottom: -140px; transform: translateY(0) translateX(0) scale(1); }
  8% { bottom: -10px; transform: translateY(0) translateX(2px) scale(1.02); }
  12% { bottom: 0; transform: translateY(0) translateX(-2px) scale(1); }
  18% { bottom: 0; transform: translateY(0) translateX(3px) scale(1); }
  22% { bottom: 0; transform: translateY(0) translateX(-3px) scale(1); }
  26% { bottom: -5px; transform: translateY(2px) translateX(1px) scale(.99); }
  30% { bottom: -140px; transform: translateY(0) translateX(0) scale(1); }
  100% { bottom: -140px; transform: translateY(0) translateX(0) scale(1); }
}

@media (max-width: 600px) {
  .chicken { width: 110px; height: 120px; bottom: -120px; }
  .chicken:not(.has-image)::after { font-size: 70px; }
}
