/* Global style */

html {
  font-size: 100%;
  height: 100%;
}

body {
  background: #fff;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  color: #2b303a;
}

a,
a:focus {
  color: #7cb518;
  text-decoration: none;
  outline: 0;
}

a.grey,
.grey a {
  color: #8e8b82;
}

a.grey-light,
.grey-light a {
  color: #b4ada1;
}

a:hover {
  color: #5c8001;
  text-decoration: none;
}

h1 {
  font-size: 2rem;
  margin: 0;
}

h2 {
  font-size: 1.75rem;
  font-weight: bold;
  text-transform: uppercase;
}

h3 {
  font-size: 1.5rem;
  font-weight: 300;
  text-transform: uppercase;
}

h4 {
  font-size: 1.25rem;
  text-transform: uppercase;
  line-height: 150%;
}

h5 {
  font-size: 1rem;
  font-weight: bold;
  color: #2b303a;
}

h6 {
  font-size: 0.875rem;
}

/* Wordpress content style */

iframe {
  max-width: 100%;
}

.alignleft {
  float: left;
  margin: 0 15px 30px 0;
}

.aligncenter {
  display: block;
  margin: 0 auto 30px auto;
}

.alignright {
  float: right;
  margin: 0 0 30px 15px;
}

.size-full {
  width: 100%;
  height: auto;
  margin: 0 0 30px 0;
}

p .alignleft {
  float: left;
  margin: 5px 15px 30px 0;
}

p .aligncenter {
  display: block;
  margin: 5px auto 30px auto;
}

p .alignright {
  float: right;
  margin: 5px 0 30px 15px;
}

p .alignnone {
  float: none;
  display: block;
  margin: 5px 0 30px 0;
}

p .size-full {
  width: 100%;
  height: auto;
  margin: 5px 0 30px 0;
}

.post-inner {
  line-height: 2rem;
}

.post-inner p:last-child {
  margin-bottom: 0;
}

.post-inner h1,
.post-inner h2,
.post-inner h3,
.post-inner h4,
.post-inner h5,
.post-inner h6 {
  font-weight: normal;
  margin: 0;
  margin-bottom: 30px;
}

.post-inner h1 {
  text-transform: uppercase;
}

.post-inner h2 {
  text-transform: none;
}

.post-inner h3 {
  text-transform: none;
}

.post-inner h4 {
  text-transform: none;
}

.post-inner h5 {
  text-transform: none;
}

.post-inner h6 {
  text-transform: uppercase;
}

.post-inner ol ol {
  margin-bottom: 0;
}

.post-inner iframe {
  max-width: 100%;
}

.post-inner img {
  height: auto;
  max-width: 100%;
}

.post-inner-media,
.post-inner-media p {
  margin: 0;
  line-height: 0;
  font-size: 0;
}

.post-media-small iframe {
  height: auto;
  min-height: 168px;
}

article {
  overflow: hidden;
}

table {
  width: 100%;
  border: 1px solid #ccc;
  margin-bottom: 30px;
}

table th {
  padding: 10px 15px;
  background: #fafafa !important;
  border: 1px solid #999;
  font-weight: normal;
  text-transform: uppercase;
  white-space: nowrap;
}

table td {
  border: 1px solid #999;
  padding: 10px 15px;
  background: #fff;
  vertical-align: top;
}

blockquote {
  border-left: 4px solid #bc6c25;
  padding-left: 2rem;
}

.wp-caption {
  max-width: 100%;
  padding: 5px;
}

.wp-caption-text {
  text-align: center;
}

.post-inner ol,
.post-inner ul {
  margin-bottom: 30px;
}

/* Other global styles */

.table {
  display: table;
  width: 100%;
}

.table-row {
  display: table-row;
  width: 100%;
}

.table-cell {
  display: table-cell;
  width: 50%;
}

.group::after,
.columns::after {
  content: "";
  display: block;
  clear: both;
}
.group > * {
  float: left;
}
.columns > * {
  float: left;
}
.columns > :last-child {
  float: right;
}

.enable-javascript {
  position: relative;
  z-index: 888888900;
  background-color: #283618;
  color: #fff;
  font-weight: bold;
  padding: 10px;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 2px 2px -2px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  cursor: default;
}

.remove-shadow {
  box-shadow: none !important;
}

.remove-padding {
  padding: 0 !important;
}

.btn-danger {
  border: 0;
  background-color: #e15454;
  color: #fff;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 0.875rem;
  padding: 14px 20px;
}

.btn-danger i {
  margin-right: 12px;
}

.btn-white {
  border: 0;
  background-color: rgba(0, 0, 0, 0.03);
  color: #fff;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 0.875rem;
  padding: 12px 20px;
  border: 2px solid #fff;
}

.btn-white i {
  margin-right: 12px;
}

.btn-white:hover {
  background-color: rgba(0, 0, 0, 0.1);
  color: #fff;
}

.btn-default {
  border: 0;
  background-color: transparent;
  border: 1px solid #8e8b82;
  color: #fff;
  text-transform: uppercase;
  font-size: 0.875rem;
  padding: 9px 20px;
  color: #5d5e5e;
  margin: 0 auto;
  display: table;
  margin-top: 50px;
}

.btn-default i {
  margin-right: 8px;
}

.btn-default:hover,
.btn-default:focus {
  background: rgba(0, 0, 0, 0.05);
  box-shadow: none;
}

#wrapper .page-section .btn-default {
  margin-top: 40px !important;
}

.no-results {
  margin-right: 20px;
}

.admin-edit {
  font-size: 12px;
  text-transform: lowercase;
  font-weight: normal;
  background: #fff;
  padding: 0px 8px;
  text-shadow: none;
  line-height: 24px;
  display: inline-block;
  border-radius: 3px;
  top: -5px;
  position: relative;
}

.admin-edit .fas {
  font-size: 13px !important;
}

.blog-top .admin-edit,
.service-column-right .admin-edit {
  line-height: auto;
  top: 0;
}

input {
  outline: none;
}

/* Header */

header {
  height: auto !important;
}

header.top {
  background-color: #2b303a;
  height: 72px !important;
}

/* Header sticky */

header.sticky nav {
  position: fixed;
  width: 100%;
  border-radius: 0;
  top: 0;
}

body.admin-bar header.sticky nav {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar header.sticky nav {
    top: 46px;
  }
}

@media screen and (max-width: 782px) {
  body.admin-bar header.sticky nav {
    top: 0;
  }
}

/* Header primary */

.navbar-brand {
  background-color: transparent !important;
  background-image: url("../img/logo.svg");
  background-repeat: no-repeat;
  color: #fefae0 !important;
  font-size: 1.5rem !important;
  height: 48px !important;
  max-height: 48px !important;
  line-height: 48px !important;
  padding: 0 0 0 72px !important;
  margin: 12px 0;
}

.navbar-brand .title-space {
  letter-spacing: -0.2rem;
}

nav.navbar-default {
  background-color: #283618;
  border: 0;
  border-radius: 0px;
  margin-bottom: 0;
  -webkit-animation-duration: 0.6s !important;
  animation-duration: 0.6s !important;
  z-index: 55555;
  box-shadow: 0 2px 2px -2px rgba(0, 0, 0, 0.08);
}

.navbar-nav .menu-item a {
  position: relative;
  font-family: Raleway;
  color: #b4ada1 !important;
  text-transform: uppercase;
  line-height: 60px;
  padding: 0 16px 0 72px;
  font-size: 1.5rem;
}

.navbar-nav .menu-item a:hover {
  color: #bc6c25 !important;
}

header .navbar-nav .current-menu-item a,
header .navbar-nav .current_page_parent a {
  color: #fbb02d !important;
}

header .navbar-nav .current-menu-item a::before,
header .navbar-nav .current_page_parent a::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 15px solid #fbb02d;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 15px solid transparent;
}

@media (min-width: 768px) {
  .navbar-nav .menu-item a {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: none;
    bottom: -1px;
    margin: 0 1rem;
  }

  .navbar-nav .menu-item:last-child a {
    margin-right: 0;
  }

  header .navbar-nav .current-menu-item a,
  header .navbar-nav .current_page_parent a {
    border-bottom-color: #fbb02d !important;
    border-top-color: transparent !important;
  }

  header .navbar-nav .current-menu-item a::before,
  header .navbar-nav .current_page_parent a::before {
    display: none;
  }
}

@media (min-width: 992px) {
  header.top {
    height: 96px !important;
  }

  .navbar-brand {
    font-size: 3rem !important;
    height: 64px !important;
    max-height: 64px !important;
    line-height: 64px !important;
    margin: 16px 0;
    padding-left: 96px !important;
  }

  .navbar-brand .title-space {
    letter-spacing: -0.4rem;
  }

  .navbar-nav .menu-item a {
    line-height: 84px;
  }

  button.navbar-toggle {
    padding: 0 !important;
    background-color: transparent !important;
    margin: 0 16px 0 0 !important;
    height: 64px;
  }
  .navbar-toggle i.fas {
    color: #fefae0 !important;
    font-size: 28px;
  }
}

.section-button {
  margin-top: 30px !important;
}

.section-button-light {
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
}

/* Blog thumb */

.blog-list {
  min-height: 141px;
}

.blog-large-thumb {
  height: 280px;
  background-color: #8e8b82;
  background-size: cover;
  background-position: 50% 50%;
}

.blog-large-thumb .container {
  height: 100%;
  display: table;
}

/* Blog category */

.page-category {
  border-bottom: 2px solid #283618;
}

.page-category .category-item {
  display: inline-block;
  margin: 0 auto;
  text-transform: uppercase;
  padding: 8px;
  color: #8e8b82;
  font-family: Raleway;
  font-size: 1.125rem;
  line-height: 24px;
}

.page-category .category-item:hover,
.page-category .category-item:focus {
  background-color: #5c8001;
  color: #fefae0;
  text-decoration: none;
}

.category-show-all {
  display: inline-block !important;
  font-style: italic;
  color: #8e8b82;
}

.page-category .active-category {
  font-weight: bold;
  color: #7cb518 !important;
}

.page-category .active-category:hover {
  color: #fefae0 !important;
}

.page-category-no-limit .category-item {
  display: inline-block !important;
}

@media (min-width: 768px) {
  .page-category .category-item {
    line-height: 32px;
  }
}

@media (min-width: 992px) {
  .page-category .category-item {
    padding: 16px;
  }
}

/* Blog main page */

.widget-area .page-section {
  display: none;
  width: 0px;
  height: 0px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  position: relative;
}

/* Post page */

.page-blog {
  background-color: #fefae0;
  padding: 22px 0 !important;
}

.blog-post {
  background: #fff;
}

.blog-bottom-large {
  padding: 25px;
  padding-bottom: 30px;
}

/* Post navigation */

.post-navigation {
  border-top: 1px solid #e1e1e1;
  border-bottom: 1px solid #e1e1e1;
  text-transform: uppercase;
  padding: 0;
  margin: 0 25px;
  margin-bottom: 12px;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
  flex: 1 1 50%;
}

.post-navigation .nav-previous a,
.post-navigation .nav-next a {
  white-space: nowrap;
}

.post-navigation .nav-next {
  align-self: flex-end;
}

.post-navigation .nav-previous i {
  padding-right: 10px;
}

.post-navigation .nav-next i {
  padding-left: 10px;
}

.post-navigation div {
  padding: 0;
}

.post-navigation a {
  display: inline-block;
  font-size: 0.875rem;
  line-height: 50px;
  padding: 0 10px;
}

.post-navigation a:hover {
  background-color: #5c8001;
  color: #f7f3e3;
  text-decoration: none;
}

/* Page page */

.page-section {
  padding: 70px 0;
  background-size: cover;
  background-position: 50% 50%;
  overflow: hidden;
}

.page-single-page {
  background-size: cover;
  background-position: 50% 50%;
  padding: 70px 0;
}

.section-title h3 {
  margin-bottom: 30px;
}

.section-title .subtitle {
  color: #8e8b82;
  position: relative;
  top: -16px;
  padding-bottom: 6px;
}

.section-title .section-title-line {
  display: table;
  height: 2px;
  width: 54px;
  background-color: #e15454;
  margin: 0 auto;
  margin-bottom: 50px;
}

.section-content {
  line-height: 2rem;
  margin: 0 auto;
  margin-bottom: 30px;
}

.section-content p {
  line-height: 2rem;
}

.section-title-large .title {
  position: relative;
  font-size: 3rem;
  font-weight: bold;
  border: 0px;
  border-top: 2px;
  border-bottom: 2px;
  border-style: solid;
  display: table;
  margin: 0 auto;
  line-height: 100%;
  text-transform: uppercase;
}

.section-content-large {
  line-height: 2rem;
  max-width: 880px;
  margin: 0 auto;
  margin-top: 40px;
  font-size: 1rem;
  text-shadow: 1px 1px rgba(0, 0, 0, 0.3);
}

.section-content-large p {
  line-height: 2rem;
}

.panel-grid {
  margin: 0 !important;
}

.panel-grid-cell {
  padding: 0 !important;
}

.page-list h3,
.page-list h4 {
  margin-top: 0;
}

.page-list .page-node:last-child {
  margin-bottom: 0;
}

.page-list .page-node:only-child {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Post mini */

.blog-item .blog-item-container {
  background: #fff;
  position: relative;
  overflow: hidden;
}

.blog-top {
  padding-top: 20px;
  padding-left: 25px;
  padding-right: 25px;
}

.blog-bottom {
  padding: 25px;
  padding-top: 15px;
}

.blog-title {
  font-size: 1.125rem;
  font-weight: bold;
  line-height: 1.625rem;
  color: #5d5e5e;
}

.blog-details {
  font-size: 0.75rem;
  color: #8e8b82;
  margin-top: 7px;
}

.blog-content {
  line-height: 2rem;
  margin-bottom: 20px;
  border-top: 1px solid #e1e1e1;
  padding-top: 10px;
}

.blog-bottom .col-md-6 {
  padding: 0;
}

.blog-more {
  text-transform: uppercase;
  font-size: 0.75rem;
  color: #8e8b82;
  margin-top: 20px;
}

.blog-more i {
  padding-right: 5px;
  font-size: 0.9375rem;
}

.blog-media {
  margin-top: 0;
}

.blog-media img {
  max-width: 100%;
  height: auto;
}

.blog-media-thumbnail {
  background-color: #2b303a;
  cursor: pointer;
  display: block;
}

.blog-media-thumbnail img {
  display: block;
  width: 100%;
  transition: opacity 0.6s ease-in-out;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0) scale(1, 1);
  transform: translateZ(0) scale(1, 1);
}

.blog-media-thumbnail img:hover {
  opacity: 0.9;
}

.blog-category {
  background-color: #dda15e !important;
  color: #fff;
  padding: 0 16px;
  display: table;
  margin-left: 0;
  position: relative;
  margin-top: -32px;
  font-size: 0.875rem;
  line-height: 32px;
  border-top-right-radius: 2px;
}

.blog-category:hover {
  color: #fff;
}

.blog-category.blog-category-left {
  margin: 0;
}

.blog-category.blog-category-right {
  margin: 0;
  float: right;
  margin-right: -20px;
  margin-left: 10px;
  margin-bottom: 10px;
}

/* Small widgets area */

aside {
  background: #fff;
  border-radius: 4px;
  border-bottom: 2px solid #e1e1e1;
  padding: 20px;
  margin-bottom: 15px;
  overflow: hidden;
  position: relative;
}

aside ul {
  margin: 0;
  padding: 0;
}

aside li {
  list-style: none;
  padding-bottom: 10px;
}

aside li:last-child {
  padding-bottom: 0px;
}

.widget-title {
  text-transform: uppercase;
  position: relative;
  margin: 0 -20px;
  margin-top: -20px;
  margin-bottom: 20px;
  padding: 20px;
  border-bottom: 1px solid #e1e1e1;
}

/* Blog navigation */

.blog-navigation .page-numbers {
  padding: 0 15px;
}

.blog-navigation .current {
  color: #5c8001;
}

/* 404 page */

.page-404 {
  color: #fefae0;
  background-color: #bc6c25;
  height: 100%;
}

.page-404 .img-404 {
  width: 100%; /* Make the container responsive */
  max-width: 554px; /* Maximum width of the container */
  height: auto; /* Allow height to auto adjust based on content */
  background-image: url(../img/404.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  aspect-ratio: 554/211;
}

/* Back to top button */

.back-top {
  position: fixed;
  right: 0;
  bottom: 0;
  margin: 16px;
  padding: 10px 0px;
  border-radius: 4px;
  width: 40px;
  height: 40px;
  text-align: center;
  background-color: #2b303a;
  cursor: pointer;
  display: none;
  transition: all 0.6s;
  z-index: 22222;
}

.back-top i {
  font-size: 18px;
  color: #fefae0;
}

.back-top:hover {
  background-color: #fbb02d !important;
}

.back-top:hover i {
  color: #2b303a;
}

/* Footer */

footer.bottom {
  background: #2b303a;
  min-height: 72px;
}

footer.bottom .col-12 {
  min-height: 56px;
}

footer.bottom .copyright {
  display: inline-block;
  color: #b4ada1;
  font-size: 14px;
  background-image: url("../img/logo.svg");
  background-repeat: no-repeat;
  height: 36px !important;
  max-height: 36px !important;
  line-height: 36px !important;
  padding-left: 54px !important;
}

.footer-menu-left,
.footer-menu-right {
  font-size: 0.875rem;
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 0;
}

.footer-menu-left li,
.footer-menu-right li {
  display: inline-block;
}

.footer-menu-left li::after,
.footer-menu-right li::after {
  content: "•";
  color: #b4ada1;
  padding-inline-start: 8px;
  padding-inline-end: 4px;
}

.footer-menu-left li:last-child::after,
.footer-menu-right li:last-child::after {
  content: "";
}

footer .menu-item a {
  color: #b4ada1;
}

@media (min-width: 576px) {
  footer.bottom .col-12 {
    min-height: 72px;
  }
}

@media (min-width: 992px) {
  footer.bottom {
    min-height: 96px;
  }

  footer.bottom .col-12 {
    min-height: 96px;
  }

  footer.bottom .copyright {
    height: 48px !important;
    max-height: 48px !important;
    line-height: 48px !important;
    padding-left: 72px !important;
  }

  .footer-menu-right li {
    display: block;
  }

  .footer-menu-right li::after {
    content: "";
  }
}

/* Tags */

.post-tags-header {
  line-height: 2rem;
}

.post-tag a {
  display: block;
  line-height: 32px;
  padding: 0px 16px;
  background-color: #dda15e;
  color: #fefae0;
  font-size: 0.75rem;
  white-space: nowrap;
  border-radius: 2px;
}

.post-tag a:hover {
  background-color: #bc6c25;
  color: #fefae0;
  text-decoration: none;
}

.post-copyright {
  text-align: right;
}

.parallax-simple {
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
}

/* Loading animation */

.loading-animation {
  position: fixed;
  overflow: hidden;
  height: 100%;
  width: 100%;
  z-index: 888888889;
  background-color: #fff;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
